Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-04 23:59:03.354520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/32/image_02122025_10_32_44_9815.jpg', '/home/pi/Desktop/images/02122025/10/32/image_02122025_10_32_54_9742.jpg', '/home/pi/Desktop/images/02122025/10/32/image_02122025_10_33_05_10655.jpg', '/home/pi/Desktop/images/02122025/10/33/image_02122025_10_33_15_9794.jpg', '/home/pi/Desktop/images/02122025/10/33/image_02122025_10_33_24_9716.jpg', '/home/pi/Desktop/images/02122025/10/33/image_02122025_10_33_34_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/32/image_02122025_10_32_44_9815.jpg
/home/pi/Desktop/images/02122025/10/32/image_02122025_10_32_54_9742.jpg
/home/pi/Desktop/images/02122025/10/32/image_02122025_10_33_05_10655.jpg
/home/pi/Desktop/images/02122025/10/33/image_02122025_10_33_15_9794.jpg
/home/pi/Desktop/images/02122025/10/33/image_02122025_10_33_24_9716.jpg
/home/pi/Desktop/images/02122025/10/33/image_02122025_10_33_34_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":["1397959484","1397959384","1397959276","1397959272","1397959269","1397959280"],"photo_ids_order":["1397959269","1397959272","1397959276","1397959280","1397959384","1397959484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc4841548ae48fa7bfaa659b9bbe2009.jpg","text":"TemporaryFile(/tmp/multipartBody5377738348612195111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889207155,"filename":"image_02122025_10_33_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/5/e44cae6a2d30f2e978b204b62411d069.jpg","text":"TemporaryFile(/tmp/multipartBody2770832362729656077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889207155,"filename":"image_02122025_10_33_24_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d1a0140a4c8b20491c4bea896b4c7824.jpg","text":"TemporaryFile(/tmp/multipartBody8944324978815491976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889207155,"filename":"image_02122025_10_33_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e5ea50a4dfb7638f173610208a2b6879.jpg","text":"TemporaryFile(/tmp/multipartBody3398810815812951301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889207155,"filename":"image_02122025_10_32_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/5/0dd07172eb5dfc484513a76da8b9283b.jpg","text":"TemporaryFile(/tmp/multipartBody2903035881895742638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889207155,"filename":"image_02122025_10_32_44_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/5/19c2c664d54e93158d1062ed784dcc38.jpg","text":"TemporaryFile(/tmp/multipartBody2140881251850445624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889207155,"filename":"image_02122025_10_33_15_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397959276","file1":"1397959272","file0":"1397959269","file4":"1397959384","file5":"1397959484","file3":"1397959280"},"map_files_photo_id_array":[{"photo_id":"1397959484","filename":"file5"},{"photo_id":"1397959276","filename":"file2"},{"photo_id":"1397959384","filename":"file4"},{"photo_id":"1397959272","filename":"file1"},{"photo_id":"1397959269","filename":"file0"},{"photo_id":"1397959280","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397959484":["hashtag1","hashtag2"]},{"1397959384":["hashtag1","hashtag2"]},{"1397959276":["hashtag1","hashtag2"]},{"1397959272":["hashtag1","hashtag2"]},{"1397959269":["hashtag1","hashtag2"]},{"1397959280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397959484, 1397959384, 1397959276, 1397959272, 1397959269, 1397959280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.01917219161987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:00:02.744933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/33/image_02122025_10_33_44_10285.jpg', '/home/pi/Desktop/images/02122025/10/33/image_02122025_10_33_54_9778.jpg', '/home/pi/Desktop/images/02122025/10/34/image_02122025_10_34_15_9785.jpg', '/home/pi/Desktop/images/02122025/10/34/image_02122025_10_34_24_9780.jpg', '/home/pi/Desktop/images/02122025/10/34/image_02122025_10_34_34_9619.jpg', '/home/pi/Desktop/images/02122025/10/34/image_02122025_10_34_45_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/33/image_02122025_10_33_44_10285.jpg
/home/pi/Desktop/images/02122025/10/33/image_02122025_10_33_54_9778.jpg
/home/pi/Desktop/images/02122025/10/34/image_02122025_10_34_15_9785.jpg
/home/pi/Desktop/images/02122025/10/34/image_02122025_10_34_24_9780.jpg
/home/pi/Desktop/images/02122025/10/34/image_02122025_10_34_34_9619.jpg
/home/pi/Desktop/images/02122025/10/34/image_02122025_10_34_45_10688.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":["1397960145","1397959940","1397959996","1397959825","1397960077","1397959899"],"photo_ids_order":["1397959825","1397959899","1397959940","1397959996","1397960077","1397960145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a0f433dacc0fa6d49f56ac10ee5a22eb.jpg","text":"TemporaryFile(/tmp/multipartBody3965351981599344525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889264452,"filename":"image_02122025_10_34_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/5/29ad25f54b4cc9f7812f85d5764e8f91.jpg","text":"TemporaryFile(/tmp/multipartBody5098925091107756786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889264452,"filename":"image_02122025_10_34_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/5/040ab7d298fe1cd08d338de533d59dee.jpg","text":"TemporaryFile(/tmp/multipartBody4649427947876321396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889264452,"filename":"image_02122025_10_34_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/5/6c759a14927c5fb0ab4a2b1e02b11ac5.jpg","text":"TemporaryFile(/tmp/multipartBody4589432429467861831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889264452,"filename":"image_02122025_10_33_44_10285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6cafcc766d695c21cec9123e2e5b79d7.jpg","text":"TemporaryFile(/tmp/multipartBody3680577402363077112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889264452,"filename":"image_02122025_10_34_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/5/c068eb92039fef86bab2b183ba3ada98.jpg","text":"TemporaryFile(/tmp/multipartBody2119418304978487878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889264452,"filename":"image_02122025_10_33_54_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397959940","file1":"1397959899","file0":"1397959825","file4":"1397960077","file5":"1397960145","file3":"1397959996"},"map_files_photo_id_array":[{"photo_id":"1397960145","filename":"file5"},{"photo_id":"1397959940","filename":"file2"},{"photo_id":"1397960077","filename":"file4"},{"photo_id":"1397959899","filename":"file1"},{"photo_id":"1397959825","filename":"file0"},{"photo_id":"1397959996","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397960145":["hashtag1","hashtag2"]},{"1397959940":["hashtag1","hashtag2"]},{"1397959996":["hashtag1","hashtag2"]},{"1397959825":["hashtag1","hashtag2"]},{"1397960077":["hashtag1","hashtag2"]},{"1397959899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397960145, 1397959940, 1397959996, 1397959825, 1397960077, 1397959899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88652038574219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:01:03.060176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/34/image_02122025_10_34_54_9571.jpg', '/home/pi/Desktop/images/02122025/10/35/image_02122025_10_35_14_10055.jpg', '/home/pi/Desktop/images/02122025/10/35/image_02122025_10_35_29_15553.jpg', '/home/pi/Desktop/images/02122025/10/35/image_02122025_10_35_34_4614.jpg', '/home/pi/Desktop/images/02122025/10/35/image_02122025_10_35_45_10767.jpg', '/home/pi/Desktop/images/02122025/10/35/image_02122025_10_35_55_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/34/image_02122025_10_34_54_9571.jpg
/home/pi/Desktop/images/02122025/10/35/image_02122025_10_35_14_10055.jpg
/home/pi/Desktop/images/02122025/10/35/image_02122025_10_35_29_15553.jpg
/home/pi/Desktop/images/02122025/10/35/image_02122025_10_35_34_4614.jpg
/home/pi/Desktop/images/02122025/10/35/image_02122025_10_35_45_10767.jpg
/home/pi/Desktop/images/02122025/10/35/image_02122025_10_35_55_9898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397960570","1397960531","1397960650","1397960455","1397960608","1397960493"],"photo_ids_order":["1397960455","1397960493","1397960531","1397960570","1397960608","1397960650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5bb03f8ec84d1bfc81fabff3b1013484.jpg","text":"TemporaryFile(/tmp/multipartBody306467119027281649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889324829,"filename":"image_02122025_10_35_34_4614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/70d4beaaa6aa632f3ebd3d673e552937.jpg","text":"TemporaryFile(/tmp/multipartBody7481681418290348979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889324829,"filename":"image_02122025_10_35_29_15553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74b6b2b4bb08062520be81bfe3c84b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8131265148226183819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889324829,"filename":"image_02122025_10_35_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/5/4a39cc4618689979f18cb209e3c9602d.jpg","text":"TemporaryFile(/tmp/multipartBody7814452559048493078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889324829,"filename":"image_02122025_10_34_54_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad6d810b632c62144633875544a00d69.jpg","text":"TemporaryFile(/tmp/multipartBody8578530441210702947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889324829,"filename":"image_02122025_10_35_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/5/a6ecb03cf5c679b167a38e7620f94fd0.jpg","text":"TemporaryFile(/tmp/multipartBody8781106261986006474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889324829,"filename":"image_02122025_10_35_14_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397960531","file1":"1397960493","file0":"1397960455","file4":"1397960608","file5":"1397960650","file3":"1397960570"},"map_files_photo_id_array":[{"photo_id":"1397960650","filename":"file5"},{"photo_id":"1397960531","filename":"file2"},{"photo_id":"1397960608","filename":"file4"},{"photo_id":"1397960493","filename":"file1"},{"photo_id":"1397960455","filename":"file0"},{"photo_id":"1397960570","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397960570":["hashtag1","hashtag2"]},{"1397960531":["hashtag1","hashtag2"]},{"1397960650":["hashtag1","hashtag2"]},{"1397960455":["hashtag1","hashtag2"]},{"1397960608":["hashtag1","hashtag2"]},{"1397960493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397960570, 1397960531, 1397960650, 1397960455, 1397960608, 1397960493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.881693601608276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:01:42.586080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_16_3581.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_18_2579.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_22_3639.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_25_2682.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_27_2517.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_31_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_16_3581.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_18_2579.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_22_3639.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_25_2682.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_27_2517.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_31_3689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397960703","1397960861","1397961008","1397960936","1397961090","1397960778"],"photo_ids_order":["1397960703","1397960778","1397960861","1397960936","1397961008","1397961090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d17364beb5a8553111fc78d1f273b4b.jpg","text":"TemporaryFile(/tmp/multipartBody6040946101193142575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889364199,"filename":"image_31102025_17_49_16_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/5/ec4cf03a7d718abb5d9c118bff790f03.jpg","text":"TemporaryFile(/tmp/multipartBody6250853709139712228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889364199,"filename":"image_31102025_17_49_22_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa64835ccfa43c4d98155edbe6a5ec30.jpg","text":"TemporaryFile(/tmp/multipartBody772486132103577255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889364199,"filename":"image_31102025_17_49_27_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/63b6fd097aa300ca00cefb86db707aa4.jpg","text":"TemporaryFile(/tmp/multipartBody3151208976898038469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889364199,"filename":"image_31102025_17_49_25_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/5/a1b5403085f87c1b4a6be54e83593c09.jpg","text":"TemporaryFile(/tmp/multipartBody1470747841970437495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889364199,"filename":"image_31102025_17_49_31_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/5/4147ec2857c69bf326ae1723566cee76.jpg","text":"TemporaryFile(/tmp/multipartBody9087508450671210478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889364199,"filename":"image_31102025_17_49_18_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397960861","file1":"1397960778","file0":"1397960703","file4":"1397961008","file5":"1397961090","file3":"1397960936"},"map_files_photo_id_array":[{"photo_id":"1397961090","filename":"file5"},{"photo_id":"1397960861","filename":"file2"},{"photo_id":"1397961008","filename":"file4"},{"photo_id":"1397960778","filename":"file1"},{"photo_id":"1397960703","filename":"file0"},{"photo_id":"1397960936","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397960703":["hashtag1","hashtag2"]},{"1397960861":["hashtag1","hashtag2"]},{"1397961008":["hashtag1","hashtag2"]},{"1397960936":["hashtag1","hashtag2"]},{"1397961090":["hashtag1","hashtag2"]},{"1397960778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397960703, 1397960861, 1397961008, 1397960936, 1397961090, 1397960778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22647976875305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:02:22.820866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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_05122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29203341, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1764889403000}
4219
4187732
4219
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/00/image_05122025_00_00_34_10820.jpg', '/home/pi/Desktop/images/05122025/00/01/image_05122025_00_01_23_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/00/image_05122025_00_00_34_10820.jpg
/home/pi/Desktop/images/05122025/00/01/image_05122025_00_01_23_9625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397961440","1397961367"],"photo_ids_order":["1397961367","1397961440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c15c8f905e19b0a851db711937fc80a2.jpg","text":"TemporaryFile(/tmp/multipartBody4095673464150200663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889404282,"filename":"image_05122025_00_01_23_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/5/786d755a29bf567427d1b218f447ffa9.jpg","text":"TemporaryFile(/tmp/multipartBody8917846785872961538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889404282,"filename":"image_05122025_00_00_34_10820.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397961440","file0":"1397961367"},"map_files_photo_id_array":[{"photo_id":"1397961440","filename":"file1"},{"photo_id":"1397961367","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397961440":["hashtag1","hashtag2"]},{"1397961367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397961440, 1397961367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.201816082000732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:02:42.757227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_33_2626.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_36_2722.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_40_3539.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_42_2676.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_45_2829.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_49_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_33_2626.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_36_2722.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_40_3539.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_42_2676.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_45_2829.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_49_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":["1397962045","1397961716","1397962125","1397961963","1397961887","1397961794"],"photo_ids_order":["1397961716","1397961794","1397961887","1397961963","1397962045","1397962125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/65d429d1911dd580292f9ce09b5dc821.jpg","text":"TemporaryFile(/tmp/multipartBody7482846830195249277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889424373,"filename":"image_31102025_17_49_45_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/5/2682e0cf2972c1fd841e1ff7b2339af4.jpg","text":"TemporaryFile(/tmp/multipartBody5480402545691669747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889424373,"filename":"image_31102025_17_49_33_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af766ee390e4a6c986e1b810569ccb88.jpg","text":"TemporaryFile(/tmp/multipartBody7333475330364880698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889424373,"filename":"image_31102025_17_49_49_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2dbe6c0bfc87675cb460eeaead92f255.jpg","text":"TemporaryFile(/tmp/multipartBody5064786509826534081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889424373,"filename":"image_31102025_17_49_42_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/5/13bff341dec27aae202bb46b84b78755.jpg","text":"TemporaryFile(/tmp/multipartBody7605675891278859389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889424373,"filename":"image_31102025_17_49_40_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/5/008c4bed48ffc5431af4de1e9a26bf8f.jpg","text":"TemporaryFile(/tmp/multipartBody4080024792601878999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889424373,"filename":"image_31102025_17_49_36_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397961887","file1":"1397961794","file0":"1397961716","file4":"1397962045","file5":"1397962125","file3":"1397961963"},"map_files_photo_id_array":[{"photo_id":"1397962125","filename":"file5"},{"photo_id":"1397961887","filename":"file2"},{"photo_id":"1397962045","filename":"file4"},{"photo_id":"1397961794","filename":"file1"},{"photo_id":"1397961716","filename":"file0"},{"photo_id":"1397961963","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397962045":["hashtag1","hashtag2"]},{"1397961716":["hashtag1","hashtag2"]},{"1397962125":["hashtag1","hashtag2"]},{"1397961963":["hashtag1","hashtag2"]},{"1397961887":["hashtag1","hashtag2"]},{"1397961794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397962045, 1397961716, 1397962125, 1397961963, 1397961887, 1397961794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01130127906799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:03:31.867235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/35/image_02122025_10_36_04_9738.jpg', '/home/pi/Desktop/images/02122025/10/36/image_02122025_10_36_14_9642.jpg', '/home/pi/Desktop/images/02122025/10/36/image_02122025_10_36_24_9741.jpg', '/home/pi/Desktop/images/02122025/10/36/image_02122025_10_36_35_10716.jpg', '/home/pi/Desktop/images/02122025/10/36/image_02122025_10_36_44_9654.jpg', '/home/pi/Desktop/images/02122025/10/36/image_02122025_10_36_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/35/image_02122025_10_36_04_9738.jpg
/home/pi/Desktop/images/02122025/10/36/image_02122025_10_36_14_9642.jpg
/home/pi/Desktop/images/02122025/10/36/image_02122025_10_36_24_9741.jpg
/home/pi/Desktop/images/02122025/10/36/image_02122025_10_36_35_10716.jpg
/home/pi/Desktop/images/02122025/10/36/image_02122025_10_36_44_9654.jpg
/home/pi/Desktop/images/02122025/10/36/image_02122025_10_36_54_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397962910","1397963647","1397962726","1397963277","1397963085","1397963453"],"photo_ids_order":["1397962726","1397962910","1397963085","1397963277","1397963453","1397963647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/70db92f3e620ee3861d6cbfbab99b25b.jpg","text":"TemporaryFile(/tmp/multipartBody7621162818581628190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889474028,"filename":"image_02122025_10_36_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/5/758a244017e1940436fe7101a1a4e8dd.jpg","text":"TemporaryFile(/tmp/multipartBody6364609599871448831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889474028,"filename":"image_02122025_10_36_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b61a0842fc9d0d4aa3765e4b63329392.jpg","text":"TemporaryFile(/tmp/multipartBody1067916585840356384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889474028,"filename":"image_02122025_10_36_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/5/b974ae16005771192f39dd02fd008ed6.jpg","text":"TemporaryFile(/tmp/multipartBody2441241586134811156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889474028,"filename":"image_02122025_10_36_35_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/5/2cb05d5d188f311cc443d55bcb717dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8721516164112321718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889474028,"filename":"image_02122025_10_36_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fe790439785b360143a461145cd9ca60.jpg","text":"TemporaryFile(/tmp/multipartBody7572963401837288255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889474028,"filename":"image_02122025_10_36_44_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397963085","file1":"1397962910","file0":"1397962726","file4":"1397963453","file5":"1397963647","file3":"1397963277"},"map_files_photo_id_array":[{"photo_id":"1397963647","filename":"file5"},{"photo_id":"1397963085","filename":"file2"},{"photo_id":"1397963453","filename":"file4"},{"photo_id":"1397962910","filename":"file1"},{"photo_id":"1397962726","filename":"file0"},{"photo_id":"1397963277","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397962910":["hashtag1","hashtag2"]},{"1397963647":["hashtag1","hashtag2"]},{"1397962726":["hashtag1","hashtag2"]},{"1397963277":["hashtag1","hashtag2"]},{"1397963085":["hashtag1","hashtag2"]},{"1397963453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397962910, 1397963647, 1397962726, 1397963277, 1397963085, 1397963453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4274582862854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:04:12.114281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/36/image_02122025_10_37_04_10677.jpg', '/home/pi/Desktop/images/02122025/10/37/image_02122025_10_37_14_9806.jpg', '/home/pi/Desktop/images/02122025/10/37/image_02122025_10_37_24_9737.jpg', '/home/pi/Desktop/images/02122025/10/37/image_02122025_10_37_35_10746.jpg', '/home/pi/Desktop/images/02122025/10/37/image_02122025_10_37_44_9699.jpg', '/home/pi/Desktop/images/02122025/10/37/image_02122025_10_37_54_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/36/image_02122025_10_37_04_10677.jpg
/home/pi/Desktop/images/02122025/10/37/image_02122025_10_37_14_9806.jpg
/home/pi/Desktop/images/02122025/10/37/image_02122025_10_37_24_9737.jpg
/home/pi/Desktop/images/02122025/10/37/image_02122025_10_37_35_10746.jpg
/home/pi/Desktop/images/02122025/10/37/image_02122025_10_37_44_9699.jpg
/home/pi/Desktop/images/02122025/10/37/image_02122025_10_37_54_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397964438","1397964299","1397964201","1397964102","1397964496","1397964379"],"photo_ids_order":["1397964102","1397964201","1397964299","1397964379","1397964438","1397964496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ec112040a3c3562bf22e1295a0630c1f.jpg","text":"TemporaryFile(/tmp/multipartBody4068650190762191662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889514154,"filename":"image_02122025_10_37_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/5/9138e703e8007c0422b9c4e1474f8624.jpg","text":"TemporaryFile(/tmp/multipartBody3503983714477054869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889514154,"filename":"image_02122025_10_37_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f3b88bb847df7faaacfc76fdb6e178fc.jpg","text":"TemporaryFile(/tmp/multipartBody2638045994335026655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889514154,"filename":"image_02122025_10_37_14_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91b0302d26e05f79606ee2f9ca120639.jpg","text":"TemporaryFile(/tmp/multipartBody1345944209529909051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889514154,"filename":"image_02122025_10_37_04_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/5/9c8c1f90884cf8d6839d15b5594ac0aa.jpg","text":"TemporaryFile(/tmp/multipartBody2683830944938661530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889514154,"filename":"image_02122025_10_37_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/5/4adf6634252c628d3a1dba1583a2ef97.jpg","text":"TemporaryFile(/tmp/multipartBody5627749390559449884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889514154,"filename":"image_02122025_10_37_35_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397964299","file1":"1397964201","file0":"1397964102","file4":"1397964438","file5":"1397964496","file3":"1397964379"},"map_files_photo_id_array":[{"photo_id":"1397964496","filename":"file5"},{"photo_id":"1397964299","filename":"file2"},{"photo_id":"1397964438","filename":"file4"},{"photo_id":"1397964201","filename":"file1"},{"photo_id":"1397964102","filename":"file0"},{"photo_id":"1397964379","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397964438":["hashtag1","hashtag2"]},{"1397964299":["hashtag1","hashtag2"]},{"1397964201":["hashtag1","hashtag2"]},{"1397964102":["hashtag1","hashtag2"]},{"1397964496":["hashtag1","hashtag2"]},{"1397964379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397964438, 1397964299, 1397964201, 1397964102, 1397964496, 1397964379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80691981315613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:05:02.984964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/01/image_05122025_00_01_34_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/01/image_05122025_00_01_34_10571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397964743"],"photo_id":"1397964743","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9a372d2925613f0f94bfb2669044d926.jpg","text":"TemporaryFile(/tmp/multipartBody4127229595329412297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889563527,"filename":"image_05122025_00_01_34_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397964743"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397964743"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.433168649673462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:05:22.279537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/03/image_05122025_00_03_54_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/03/image_05122025_00_03_54_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397965001"],"photo_id":"1397965001","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/026a9b964aea949be6e3dc2a2f883135.jpg","text":"TemporaryFile(/tmp/multipartBody8212358044502160738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889582776,"filename":"image_05122025_00_03_54_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397965001"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397965001"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.958147287368774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:05:42.366240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_51_2548.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_54_2590.jpg', '/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_58_3678.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_07_3011.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_11_3706.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_13_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_51_2548.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_54_2590.jpg
/home/pi/Desktop/images/31102025/17/49/image_31102025_17_49_58_3678.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_07_3011.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_11_3706.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_13_2538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397965725","1397965865","1397966017","1397965942","1397965627","1397965528"],"photo_ids_order":["1397965528","1397965627","1397965725","1397965865","1397965942","1397966017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9ad479078b14b8bccdf7e5889863c33.jpg","text":"TemporaryFile(/tmp/multipartBody1348603553072261189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889603987,"filename":"image_31102025_17_49_58_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/5/41091b270234e410b58dbc7768021f34.jpg","text":"TemporaryFile(/tmp/multipartBody1257023200934796994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889603987,"filename":"image_31102025_17_50_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8cb34f553936379c8d7d439e4a2562af.jpg","text":"TemporaryFile(/tmp/multipartBody6379934964117393063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889603987,"filename":"image_31102025_17_50_13_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac2ffd5d50d95fcc61d77055b86781f8.jpg","text":"TemporaryFile(/tmp/multipartBody8139049860093871713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889603987,"filename":"image_31102025_17_50_11_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/5/f67f59a753bb1661c8e895bdb1b6bc83.jpg","text":"TemporaryFile(/tmp/multipartBody9017766912861794281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889603987,"filename":"image_31102025_17_49_54_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/5/fc832319a7db8b22f965ea0ba17497c4.jpg","text":"TemporaryFile(/tmp/multipartBody2850839136100945505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889603987,"filename":"image_31102025_17_49_51_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397965725","file1":"1397965627","file0":"1397965528","file4":"1397965942","file5":"1397966017","file3":"1397965865"},"map_files_photo_id_array":[{"photo_id":"1397966017","filename":"file5"},{"photo_id":"1397965725","filename":"file2"},{"photo_id":"1397965942","filename":"file4"},{"photo_id":"1397965627","filename":"file1"},{"photo_id":"1397965528","filename":"file0"},{"photo_id":"1397965865","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397965725":["hashtag1","hashtag2"]},{"1397965865":["hashtag1","hashtag2"]},{"1397966017":["hashtag1","hashtag2"]},{"1397965942":["hashtag1","hashtag2"]},{"1397965627":["hashtag1","hashtag2"]},{"1397965528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397965725, 1397965865, 1397966017, 1397965942, 1397965627, 1397965528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24278473854065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:06:22.593606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_17_3574.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_19_2759.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_22_2624.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_26_3605.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_28_2647.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_31_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_17_3574.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_19_2759.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_22_2624.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_26_3605.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_28_2647.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_31_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":["1397966383","1397966344","1397966506","1397966422","1397966305","1397966580"],"photo_ids_order":["1397966305","1397966344","1397966383","1397966422","1397966506","1397966580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad0a9edcb6afc90a8e1b926f10721b75.jpg","text":"TemporaryFile(/tmp/multipartBody870989188491180542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889644211,"filename":"image_31102025_17_50_22_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/5/5f01b97cb86ad38446d6388839001307.jpg","text":"TemporaryFile(/tmp/multipartBody7041537148534616680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889644211,"filename":"image_31102025_17_50_19_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/5/e3cae6822d9c226890c50a53ade930a6.jpg","text":"TemporaryFile(/tmp/multipartBody2977880486639147803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889644211,"filename":"image_31102025_17_50_28_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/5/e97cbe28b8e27dc61822cab5519b5a84.jpg","text":"TemporaryFile(/tmp/multipartBody6769794562090486349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889644211,"filename":"image_31102025_17_50_26_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/5/05d692b610d3f7ff7d9504662fc4aafd.jpg","text":"TemporaryFile(/tmp/multipartBody6265008227697835914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889644211,"filename":"image_31102025_17_50_17_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dcccb11855f357adb147100af80c8918.jpg","text":"TemporaryFile(/tmp/multipartBody5840453242703707239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889644211,"filename":"image_31102025_17_50_31_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397966383","file1":"1397966344","file0":"1397966305","file4":"1397966506","file5":"1397966580","file3":"1397966422"},"map_files_photo_id_array":[{"photo_id":"1397966580","filename":"file5"},{"photo_id":"1397966383","filename":"file2"},{"photo_id":"1397966506","filename":"file4"},{"photo_id":"1397966344","filename":"file1"},{"photo_id":"1397966305","filename":"file0"},{"photo_id":"1397966422","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397966383":["hashtag1","hashtag2"]},{"1397966344":["hashtag1","hashtag2"]},{"1397966506":["hashtag1","hashtag2"]},{"1397966422":["hashtag1","hashtag2"]},{"1397966305":["hashtag1","hashtag2"]},{"1397966580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397966383, 1397966344, 1397966506, 1397966422, 1397966305, 1397966580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.666149616241455 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-05 00:07:12.691705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/37/image_02122025_10_38_04_9760.jpg', '/home/pi/Desktop/images/02122025/10/38/image_02122025_10_38_15_10735.jpg', '/home/pi/Desktop/images/02122025/10/38/image_02122025_10_38_24_9661.jpg', '/home/pi/Desktop/images/02122025/10/38/image_02122025_10_38_34_9620.jpg', '/home/pi/Desktop/images/02122025/10/38/image_02122025_10_38_45_10578.jpg', '/home/pi/Desktop/images/02122025/10/38/image_02122025_10_38_55_9997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/37/image_02122025_10_38_04_9760.jpg
/home/pi/Desktop/images/02122025/10/38/image_02122025_10_38_15_10735.jpg
/home/pi/Desktop/images/02122025/10/38/image_02122025_10_38_24_9661.jpg
/home/pi/Desktop/images/02122025/10/38/image_02122025_10_38_34_9620.jpg
/home/pi/Desktop/images/02122025/10/38/image_02122025_10_38_45_10578.jpg
/home/pi/Desktop/images/02122025/10/38/image_02122025_10_38_55_9997.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397967146","1397967269","1397967056","1397967311","1397967184","1397967228"],"photo_ids_order":["1397967056","1397967146","1397967184","1397967228","1397967269","1397967311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43ce17b02508446423c4c0851b8de56a.jpg","text":"TemporaryFile(/tmp/multipartBody8438619287753502784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889694739,"filename":"image_02122025_10_38_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/5/f9922123af4f80c1eaccae9163ba9bfb.jpg","text":"TemporaryFile(/tmp/multipartBody8601023734256483272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889694739,"filename":"image_02122025_10_38_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/5/f8dc13c151e026c3560267f2c0a50282.jpg","text":"TemporaryFile(/tmp/multipartBody1606080299028863570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889694739,"filename":"image_02122025_10_38_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/5/5501a89a458b50dc63225153eedeecf7.jpg","text":"TemporaryFile(/tmp/multipartBody2382793480872770495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889694739,"filename":"image_02122025_10_38_55_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ecf0ce9874433d6595fe07cfd193cc77.jpg","text":"TemporaryFile(/tmp/multipartBody2540587137852076772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889694739,"filename":"image_02122025_10_38_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/5/993d9d02159462589dd8ed580cd0386d.jpg","text":"TemporaryFile(/tmp/multipartBody819800993440447441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889694739,"filename":"image_02122025_10_38_34_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397967184","file1":"1397967146","file0":"1397967056","file4":"1397967269","file5":"1397967311","file3":"1397967228"},"map_files_photo_id_array":[{"photo_id":"1397967311","filename":"file5"},{"photo_id":"1397967184","filename":"file2"},{"photo_id":"1397967269","filename":"file4"},{"photo_id":"1397967146","filename":"file1"},{"photo_id":"1397967056","filename":"file0"},{"photo_id":"1397967228","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397967146":["hashtag1","hashtag2"]},{"1397967269":["hashtag1","hashtag2"]},{"1397967056":["hashtag1","hashtag2"]},{"1397967311":["hashtag1","hashtag2"]},{"1397967184":["hashtag1","hashtag2"]},{"1397967228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397967146, 1397967269, 1397967056, 1397967311, 1397967184, 1397967228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.950714349746704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:08:02.477907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/38/image_02122025_10_39_04_9778.jpg', '/home/pi/Desktop/images/02122025/10/39/image_02122025_10_39_14_9755.jpg', '/home/pi/Desktop/images/02122025/10/39/image_02122025_10_39_25_10701.jpg', '/home/pi/Desktop/images/02122025/10/39/image_02122025_10_39_34_9650.jpg', '/home/pi/Desktop/images/02122025/10/39/image_02122025_10_39_44_9774.jpg', '/home/pi/Desktop/images/02122025/10/39/image_02122025_10_39_54_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/38/image_02122025_10_39_04_9778.jpg
/home/pi/Desktop/images/02122025/10/39/image_02122025_10_39_14_9755.jpg
/home/pi/Desktop/images/02122025/10/39/image_02122025_10_39_25_10701.jpg
/home/pi/Desktop/images/02122025/10/39/image_02122025_10_39_34_9650.jpg
/home/pi/Desktop/images/02122025/10/39/image_02122025_10_39_44_9774.jpg
/home/pi/Desktop/images/02122025/10/39/image_02122025_10_39_54_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":["1397967518","1397967601","1397967681","1397967555","1397967642","1397967705"],"photo_ids_order":["1397967518","1397967555","1397967601","1397967642","1397967681","1397967705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/62ca6849ebb954a226ba831403fe1be7.jpg","text":"TemporaryFile(/tmp/multipartBody5619755119200733656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889744128,"filename":"image_02122025_10_39_04_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/5/3b497f65d1946de9b637e1177c6dcbcf.jpg","text":"TemporaryFile(/tmp/multipartBody5389825244234470913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889744128,"filename":"image_02122025_10_39_25_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/5/40b5bea9f386c4796b82bb40e230e810.jpg","text":"TemporaryFile(/tmp/multipartBody9157734093078562518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889744128,"filename":"image_02122025_10_39_44_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/34eb10808822ed48e721f909a2a8c917.jpg","text":"TemporaryFile(/tmp/multipartBody879037974675283094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889744128,"filename":"image_02122025_10_39_14_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/473984dbe58f66cfd3e986223a4d6dbd.jpg","text":"TemporaryFile(/tmp/multipartBody8536833933845262731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889744128,"filename":"image_02122025_10_39_34_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/5/af5c81bde1ea5cdd7c5fbc4880542590.jpg","text":"TemporaryFile(/tmp/multipartBody6609108518928899347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889744128,"filename":"image_02122025_10_39_54_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397967601","file1":"1397967555","file0":"1397967518","file4":"1397967681","file5":"1397967705","file3":"1397967642"},"map_files_photo_id_array":[{"photo_id":"1397967705","filename":"file5"},{"photo_id":"1397967601","filename":"file2"},{"photo_id":"1397967681","filename":"file4"},{"photo_id":"1397967555","filename":"file1"},{"photo_id":"1397967518","filename":"file0"},{"photo_id":"1397967642","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397967518":["hashtag1","hashtag2"]},{"1397967601":["hashtag1","hashtag2"]},{"1397967681":["hashtag1","hashtag2"]},{"1397967555":["hashtag1","hashtag2"]},{"1397967642":["hashtag1","hashtag2"]},{"1397967705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397967518, 1397967601, 1397967681, 1397967555, 1397967642, 1397967705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16902256011963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:08:41.936267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_34_3525.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_37_2906.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_40_2571.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_44_3636.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_46_2723.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_49_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_34_3525.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_37_2906.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_40_2571.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_44_3636.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_46_2723.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_49_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":["1397967863","1397967902","1397967733","1397967811","1397967723","1397967773"],"photo_ids_order":["1397967723","1397967733","1397967773","1397967811","1397967863","1397967902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e19557ebda2e4becc67b14b58b0ddfda.jpg","text":"TemporaryFile(/tmp/multipartBody1993573931001705958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889783602,"filename":"image_31102025_17_50_46_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/5/e93e9c1a927b1a206c1383544e7bd89b.jpg","text":"TemporaryFile(/tmp/multipartBody6283607317567745700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889783602,"filename":"image_31102025_17_50_49_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/5/4fd8182be51819494ec4162137589e60.jpg","text":"TemporaryFile(/tmp/multipartBody5447000196488999676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889783602,"filename":"image_31102025_17_50_37_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/5/52faf65f3cfe75c51758d8f8ceedba40.jpg","text":"TemporaryFile(/tmp/multipartBody1531426773854606800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889783602,"filename":"image_31102025_17_50_44_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/5/ea56f8ddb6bc05e19ce1ec105b6781a4.jpg","text":"TemporaryFile(/tmp/multipartBody7269713521206307405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889783602,"filename":"image_31102025_17_50_34_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2789b51e5b610d90eec3552950f2f2db.jpg","text":"TemporaryFile(/tmp/multipartBody3094708712549146229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889783602,"filename":"image_31102025_17_50_40_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397967773","file1":"1397967733","file0":"1397967723","file4":"1397967863","file5":"1397967902","file3":"1397967811"},"map_files_photo_id_array":[{"photo_id":"1397967902","filename":"file5"},{"photo_id":"1397967773","filename":"file2"},{"photo_id":"1397967863","filename":"file4"},{"photo_id":"1397967733","filename":"file1"},{"photo_id":"1397967723","filename":"file0"},{"photo_id":"1397967811","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397967863":["hashtag1","hashtag2"]},{"1397967902":["hashtag1","hashtag2"]},{"1397967733":["hashtag1","hashtag2"]},{"1397967811":["hashtag1","hashtag2"]},{"1397967723":["hashtag1","hashtag2"]},{"1397967773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397967863, 1397967902, 1397967733, 1397967811, 1397967723, 1397967773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1251163482666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:09:22.124662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/05/image_05122025_00_05_14_9818.jpg', '/home/pi/Desktop/images/05122025/00/08/image_05122025_00_08_24_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/05/image_05122025_00_05_14_9818.jpg
/home/pi/Desktop/images/05122025/00/08/image_05122025_00_08_24_10726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397968076","1397968031"],"photo_ids_order":["1397968031","1397968076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf95e6e9ef783745efd8bbc70f03f6ee.jpg","text":"TemporaryFile(/tmp/multipartBody5641403510992062665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889822674,"filename":"image_05122025_00_08_24_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/5/eb8942f92b3f87ff6cb57a6ced152b72.jpg","text":"TemporaryFile(/tmp/multipartBody806959296744374710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889822674,"filename":"image_05122025_00_05_14_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397968076","file0":"1397968031"},"map_files_photo_id_array":[{"photo_id":"1397968076","filename":"file1"},{"photo_id":"1397968031","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397968076":["hashtag1","hashtag2"]},{"1397968031":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397968076, 1397968031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.56742548942566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:09:42.131409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_53_3771.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_55_2635.jpg', '/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_58_2744.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_02_3658.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_04_2685.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_07_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_53_3771.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_55_2635.jpg
/home/pi/Desktop/images/31102025/17/50/image_31102025_17_50_58_2744.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_02_3658.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_04_2685.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_07_2543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397968474","1397968318","1397968434","1397968356","1397968277","1397968523"],"photo_ids_order":["1397968277","1397968318","1397968356","1397968434","1397968474","1397968523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c01137f92c3dfe67e95c74ccbebafc31.jpg","text":"TemporaryFile(/tmp/multipartBody5996638912743680681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889843730,"filename":"image_31102025_17_51_04_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/5/4d5fd0d147ae2e0f6f0443e115878be2.jpg","text":"TemporaryFile(/tmp/multipartBody2955291608643155096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889843730,"filename":"image_31102025_17_50_55_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d5dd08a0c8e949c66bfd8534b888bb91.jpg","text":"TemporaryFile(/tmp/multipartBody8783085235029059806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889843730,"filename":"image_31102025_17_51_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/5/199bb1ba90d0d21c871b6b2f769f57f5.jpg","text":"TemporaryFile(/tmp/multipartBody5939736495832036359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889843730,"filename":"image_31102025_17_50_58_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/5/ab75fb9504f2fa63afc45f2e8a6c7bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4517263014321152933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889843730,"filename":"image_31102025_17_50_53_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f4e38ca7ff7ef812cfdf723d622a834.jpg","text":"TemporaryFile(/tmp/multipartBody2228315060920681025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889843730,"filename":"image_31102025_17_51_07_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397968356","file1":"1397968318","file0":"1397968277","file4":"1397968474","file5":"1397968523","file3":"1397968434"},"map_files_photo_id_array":[{"photo_id":"1397968523","filename":"file5"},{"photo_id":"1397968356","filename":"file2"},{"photo_id":"1397968474","filename":"file4"},{"photo_id":"1397968318","filename":"file1"},{"photo_id":"1397968277","filename":"file0"},{"photo_id":"1397968434","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397968474":["hashtag1","hashtag2"]},{"1397968318":["hashtag1","hashtag2"]},{"1397968434":["hashtag1","hashtag2"]},{"1397968356":["hashtag1","hashtag2"]},{"1397968277":["hashtag1","hashtag2"]},{"1397968523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397968474, 1397968318, 1397968434, 1397968356, 1397968277, 1397968523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8890061378479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:10:22.299901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/08/image_05122025_00_08_54_9952.jpg', '/home/pi/Desktop/images/05122025/00/09/image_05122025_00_10_04_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/08/image_05122025_00_08_54_9952.jpg
/home/pi/Desktop/images/05122025/00/09/image_05122025_00_10_04_10688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397968619","1397968668"],"photo_ids_order":["1397968619","1397968668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c3a48f13f3f5bb7efeba95dd306d6a21.jpg","text":"TemporaryFile(/tmp/multipartBody6892131315554692229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889882857,"filename":"image_05122025_00_08_54_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/5/7b077bb887ec9f61eac8c040aa016462.jpg","text":"TemporaryFile(/tmp/multipartBody3609336032792939009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889882857,"filename":"image_05122025_00_10_04_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397968668","file0":"1397968619"},"map_files_photo_id_array":[{"photo_id":"1397968668","filename":"file1"},{"photo_id":"1397968619","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397968619":["hashtag1","hashtag2"]},{"1397968668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397968619, 1397968668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.82625436782837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:10:42.290794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_11_3721.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_14_2867.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_16_2559.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_19_2668.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_22_3608.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_25_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_11_3721.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_14_2867.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_16_2559.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_19_2668.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_22_3608.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_25_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":["1397968771","1397968764","1397968746","1397968707","1397968772","1397968769"],"photo_ids_order":["1397968707","1397968746","1397968764","1397968769","1397968771","1397968772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dfba4dcd219a2f46e0d2a94a0a1e1c0e.jpg","text":"TemporaryFile(/tmp/multipartBody1524005640185741045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889903903,"filename":"image_31102025_17_51_22_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/5/a899813193a239a143f37e73f10716d2.jpg","text":"TemporaryFile(/tmp/multipartBody5889050003035193749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889903903,"filename":"image_31102025_17_51_16_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/5/c748591e3ee6790f91b24b1e4f566e35.jpg","text":"TemporaryFile(/tmp/multipartBody8018707761126801992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889903903,"filename":"image_31102025_17_51_14_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/5/1691e0e0ecc00c3c3ca14eb3b2bcef63.jpg","text":"TemporaryFile(/tmp/multipartBody8934197311427531147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889903903,"filename":"image_31102025_17_51_11_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/5/526bc5671b66cdf894f4080d3d1fcd15.jpg","text":"TemporaryFile(/tmp/multipartBody2266026029884559567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889903903,"filename":"image_31102025_17_51_25_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/5/03ef0e520b96a61f4d6bc7bf3bb37fe2.jpg","text":"TemporaryFile(/tmp/multipartBody6084710589287578227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889903903,"filename":"image_31102025_17_51_19_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397968764","file1":"1397968746","file0":"1397968707","file4":"1397968771","file5":"1397968772","file3":"1397968769"},"map_files_photo_id_array":[{"photo_id":"1397968772","filename":"file5"},{"photo_id":"1397968764","filename":"file2"},{"photo_id":"1397968771","filename":"file4"},{"photo_id":"1397968746","filename":"file1"},{"photo_id":"1397968707","filename":"file0"},{"photo_id":"1397968769","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397968771":["hashtag1","hashtag2"]},{"1397968764":["hashtag1","hashtag2"]},{"1397968746":["hashtag1","hashtag2"]},{"1397968707":["hashtag1","hashtag2"]},{"1397968772":["hashtag1","hashtag2"]},{"1397968769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397968771, 1397968764, 1397968746, 1397968707, 1397968772, 1397968769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.908961057662964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:11:22.480496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_28_2720.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_31_3646.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_34_2577.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_37_3516.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_40_2599.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_44_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_28_2720.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_31_3646.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_34_2577.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_37_3516.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_40_2599.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_44_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397969020","1397968894","1397969061","1397968982","1397968844","1397968940"],"photo_ids_order":["1397968844","1397968894","1397968940","1397968982","1397969020","1397969061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5890a7e06d4919bcc13891a460a503fa.jpg","text":"TemporaryFile(/tmp/multipartBody8486719292433625275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889945772,"filename":"image_31102025_17_51_40_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/5/98d21c98bb8d4626ae850b08cbe2404f.jpg","text":"TemporaryFile(/tmp/multipartBody5234554121536186467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889945772,"filename":"image_31102025_17_51_31_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/5/56ee9538e5633dc21bebee4b0437e840.jpg","text":"TemporaryFile(/tmp/multipartBody5637547171103523892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889945772,"filename":"image_31102025_17_51_44_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/5/7e22832166fd9da9d662f2955424536c.jpg","text":"TemporaryFile(/tmp/multipartBody1313295347375701509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889945772,"filename":"image_31102025_17_51_37_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/5/27b78ba467c95ba1045b092004f6a11b.jpg","text":"TemporaryFile(/tmp/multipartBody7594037616744238728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889945772,"filename":"image_31102025_17_51_28_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/5/8532924045c06a353e7a11ae22134970.jpg","text":"TemporaryFile(/tmp/multipartBody8150471531433663094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889945772,"filename":"image_31102025_17_51_34_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397968940","file1":"1397968894","file0":"1397968844","file4":"1397969020","file5":"1397969061","file3":"1397968982"},"map_files_photo_id_array":[{"photo_id":"1397969061","filename":"file5"},{"photo_id":"1397968940","filename":"file2"},{"photo_id":"1397969020","filename":"file4"},{"photo_id":"1397968894","filename":"file1"},{"photo_id":"1397968844","filename":"file0"},{"photo_id":"1397968982","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397969020":["hashtag1","hashtag2"]},{"1397968894":["hashtag1","hashtag2"]},{"1397969061":["hashtag1","hashtag2"]},{"1397968982":["hashtag1","hashtag2"]},{"1397968844":["hashtag1","hashtag2"]},{"1397968940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397969020, 1397968894, 1397969061, 1397968982, 1397968844, 1397968940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.052462577819824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:12:12.814617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/40/image_02122025_10_40_14_10052.jpg', '/home/pi/Desktop/images/02122025/10/40/image_02122025_10_40_35_9765.jpg', '/home/pi/Desktop/images/02122025/10/40/image_02122025_10_40_44_9746.jpg', '/home/pi/Desktop/images/02122025/10/40/image_02122025_10_40_55_10586.jpg', '/home/pi/Desktop/images/02122025/10/40/image_02122025_10_41_05_9678.jpg', '/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_15_10024.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/40/image_02122025_10_40_14_10052.jpg
/home/pi/Desktop/images/02122025/10/40/image_02122025_10_40_35_9765.jpg
/home/pi/Desktop/images/02122025/10/40/image_02122025_10_40_44_9746.jpg
/home/pi/Desktop/images/02122025/10/40/image_02122025_10_40_55_10586.jpg
/home/pi/Desktop/images/02122025/10/40/image_02122025_10_41_05_9678.jpg
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_15_10024.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397969266","1397969394","1397969349","1397969445","1397969307","1397969488"],"photo_ids_order":["1397969266","1397969307","1397969349","1397969394","1397969445","1397969488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5397c2eb15114ee0a10929b8a6d25021.jpg","text":"TemporaryFile(/tmp/multipartBody5501361624757527101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889996006,"filename":"image_02122025_10_40_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/5/6f14bcb5c7ace25988d9071f8cff0d6f.jpg","text":"TemporaryFile(/tmp/multipartBody3553581214768060602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889996006,"filename":"image_02122025_10_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/5/be148769c6ced53f23c18783dde7083f.jpg","text":"TemporaryFile(/tmp/multipartBody8591455703521206610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889996006,"filename":"image_02122025_10_40_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0985c933418feb39150f579a0f247ca.jpg","text":"TemporaryFile(/tmp/multipartBody6174474146975539444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889996006,"filename":"image_02122025_10_41_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/5/ae079af6c3fe497fba3cac440a0149e2.jpg","text":"TemporaryFile(/tmp/multipartBody1115490279227234023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889996006,"filename":"image_02122025_10_40_35_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8bc94d476b60d00cea61c2248737d8f2.jpg","text":"TemporaryFile(/tmp/multipartBody3553657160979300519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764889996006,"filename":"image_02122025_10_41_15_10024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397969349","file1":"1397969307","file0":"1397969266","file4":"1397969445","file5":"1397969488","file3":"1397969394"},"map_files_photo_id_array":[{"photo_id":"1397969488","filename":"file5"},{"photo_id":"1397969349","filename":"file2"},{"photo_id":"1397969445","filename":"file4"},{"photo_id":"1397969307","filename":"file1"},{"photo_id":"1397969266","filename":"file0"},{"photo_id":"1397969394","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397969266":["hashtag1","hashtag2"]},{"1397969394":["hashtag1","hashtag2"]},{"1397969349":["hashtag1","hashtag2"]},{"1397969445":["hashtag1","hashtag2"]},{"1397969307":["hashtag1","hashtag2"]},{"1397969488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397969266, 1397969394, 1397969349, 1397969445, 1397969307, 1397969488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.460469245910645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:13:02.674471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_24_9657.jpg', '/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_35_10817.jpg', '/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_45_9620.jpg', '/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_54_9773.jpg', '/home/pi/Desktop/images/02122025/10/41/image_02122025_10_42_04_9755.jpg', '/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_15_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_24_9657.jpg
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_35_10817.jpg
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_45_9620.jpg
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_54_9773.jpg
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_42_04_9755.jpg
/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_15_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: 1.6219308376312256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:13:11.917335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_24_9657.jpg', '/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_35_10817.jpg', '/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_45_9620.jpg', '/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_54_9773.jpg', '/home/pi/Desktop/images/02122025/10/41/image_02122025_10_42_04_9755.jpg', '/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_15_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_24_9657.jpg
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_35_10817.jpg
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_45_9620.jpg
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_41_54_9773.jpg
/home/pi/Desktop/images/02122025/10/41/image_02122025_10_42_04_9755.jpg
/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_15_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397969845","1397969961","1397970001","1397969783","1397969921","1397970044"],"photo_ids_order":["1397969783","1397969845","1397969921","1397969961","1397970001","1397970044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c519c16d1b66feb265120deb2a974cf.jpg","text":"TemporaryFile(/tmp/multipartBody7003046184263816585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890056165,"filename":"image_02122025_10_41_35_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/5/0b488cc58bf8611222df8bb43897ee65.jpg","text":"TemporaryFile(/tmp/multipartBody3657288222481008890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890056165,"filename":"image_02122025_10_41_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/5/d6577c6648ae86bb77d5a4bbc38f7286.jpg","text":"TemporaryFile(/tmp/multipartBody3323124568468039826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890056165,"filename":"image_02122025_10_42_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c2d44f7bd5ec1a32f8a77db58ba5c310.jpg","text":"TemporaryFile(/tmp/multipartBody5338514251643751574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890056165,"filename":"image_02122025_10_41_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/5/d64dcd6fe8002da7abf76798af8cfa0a.jpg","text":"TemporaryFile(/tmp/multipartBody5486151062337908576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890056165,"filename":"image_02122025_10_41_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/5/be2bdc9bed65ae379bea374d933f7f15.jpg","text":"TemporaryFile(/tmp/multipartBody6160792426324382149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890056165,"filename":"image_02122025_10_42_15_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397969921","file1":"1397969845","file0":"1397969783","file4":"1397970001","file5":"1397970044","file3":"1397969961"},"map_files_photo_id_array":[{"photo_id":"1397970044","filename":"file5"},{"photo_id":"1397969921","filename":"file2"},{"photo_id":"1397970001","filename":"file4"},{"photo_id":"1397969845","filename":"file1"},{"photo_id":"1397969783","filename":"file0"},{"photo_id":"1397969961","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397969845":["hashtag1","hashtag2"]},{"1397969961":["hashtag1","hashtag2"]},{"1397970001":["hashtag1","hashtag2"]},{"1397969783":["hashtag1","hashtag2"]},{"1397969921":["hashtag1","hashtag2"]},{"1397970044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397969845, 1397969961, 1397970001, 1397969783, 1397969921, 1397970044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.485538482666016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:14:03.002792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/10/image_05122025_00_10_24_9911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/10/image_05122025_00_10_24_9911.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397970231"],"photo_id":"1397970231","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/76cf3836a27e3affd65377af16f44c07.jpg","text":"TemporaryFile(/tmp/multipartBody5208697564982973351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890103568,"filename":"image_05122025_00_10_24_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397970231"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397970231"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.127455472946167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:14:22.234538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/13/image_05122025_00_13_24_10725.jpg', '/home/pi/Desktop/images/05122025/00/14/image_05122025_00_14_33_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/13/image_05122025_00_13_24_10725.jpg
/home/pi/Desktop/images/05122025/00/14/image_05122025_00_14_33_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397970388","1397970433"],"photo_ids_order":["1397970388","1397970433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fbebb98498a35c20715cb303001176e0.jpg","text":"TemporaryFile(/tmp/multipartBody8173556474064705607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890122820,"filename":"image_05122025_00_13_24_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/5/e4fe7fad73578e6304f7d7cc7fd5d5d6.jpg","text":"TemporaryFile(/tmp/multipartBody6886501366945969585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890122820,"filename":"image_05122025_00_14_33_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397970433","file0":"1397970388"},"map_files_photo_id_array":[{"photo_id":"1397970433","filename":"file1"},{"photo_id":"1397970388","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397970388":["hashtag1","hashtag2"]},{"1397970433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397970388, 1397970433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.550765991210938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:14:42.209836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_46_2704.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_49_2777.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_52_2735.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_55_3555.jpg', '/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_58_2702.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_01_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_46_2704.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_49_2777.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_52_2735.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_55_3555.jpg
/home/pi/Desktop/images/31102025/17/51/image_31102025_17_51_58_2702.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_01_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397970697","1397970778","1397970613","1397970573","1397970737","1397970659"],"photo_ids_order":["1397970573","1397970613","1397970659","1397970697","1397970737","1397970778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a21eaac6fa2613dc6e22367a2b12e61.jpg","text":"TemporaryFile(/tmp/multipartBody5820230700397506810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890143848,"filename":"image_31102025_17_51_55_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/5/bc937579b8de739024b646d19a93f26a.jpg","text":"TemporaryFile(/tmp/multipartBody2827060849900467376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890143848,"filename":"image_31102025_17_52_01_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/5/50215df69ab50ba48ee0872a0dad10fd.jpg","text":"TemporaryFile(/tmp/multipartBody3382321987826732067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890143848,"filename":"image_31102025_17_51_49_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/5/431a4fe3ff733468a1d6a3c52936a4b7.jpg","text":"TemporaryFile(/tmp/multipartBody3154349504702237094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890143848,"filename":"image_31102025_17_51_46_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f1de2457b6d6ee6683970aafe67f45c7.jpg","text":"TemporaryFile(/tmp/multipartBody2499347612366979272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890143848,"filename":"image_31102025_17_51_58_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/5/60d5b2a6cda5366e3c31b514878ecd55.jpg","text":"TemporaryFile(/tmp/multipartBody6374794217318436295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890143848,"filename":"image_31102025_17_51_52_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397970659","file1":"1397970613","file0":"1397970573","file4":"1397970737","file5":"1397970778","file3":"1397970697"},"map_files_photo_id_array":[{"photo_id":"1397970778","filename":"file5"},{"photo_id":"1397970659","filename":"file2"},{"photo_id":"1397970737","filename":"file4"},{"photo_id":"1397970613","filename":"file1"},{"photo_id":"1397970573","filename":"file0"},{"photo_id":"1397970697","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397970697":["hashtag1","hashtag2"]},{"1397970778":["hashtag1","hashtag2"]},{"1397970613":["hashtag1","hashtag2"]},{"1397970573":["hashtag1","hashtag2"]},{"1397970737":["hashtag1","hashtag2"]},{"1397970659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397970697, 1397970778, 1397970613, 1397970573, 1397970737, 1397970659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.127052307128906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:15:32.589560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_24_9548.jpg', '/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_35_10678.jpg', '/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_45_9740.jpg', '/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_55_9758.jpg', '/home/pi/Desktop/images/02122025/10/42/image_02122025_10_43_04_9772.jpg', '/home/pi/Desktop/images/02122025/10/43/image_02122025_10_43_14_9974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_24_9548.jpg
/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_35_10678.jpg
/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_45_9740.jpg
/home/pi/Desktop/images/02122025/10/42/image_02122025_10_42_55_9758.jpg
/home/pi/Desktop/images/02122025/10/42/image_02122025_10_43_04_9772.jpg
/home/pi/Desktop/images/02122025/10/43/image_02122025_10_43_14_9974.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397971159","1397971077","1397971035","1397970996","1397971199","1397971121"],"photo_ids_order":["1397970996","1397971035","1397971077","1397971121","1397971159","1397971199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b9afdb528ba00fe5af18741e6438f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4645442255903609026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890194726,"filename":"image_02122025_10_43_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/5/49f22633a68322d3c79f26b2e92689a6.jpg","text":"TemporaryFile(/tmp/multipartBody6779025246735561809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890194726,"filename":"image_02122025_10_42_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/5/ada2fd27e30c978a6777992044466d9b.jpg","text":"TemporaryFile(/tmp/multipartBody4820471172568298299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890194726,"filename":"image_02122025_10_42_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/5/86b328dddd3fe3375d1cd7a0e3ebe591.jpg","text":"TemporaryFile(/tmp/multipartBody1284440847053047409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890194726,"filename":"image_02122025_10_42_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/5/b1a24ec4ccc11cb2227a9f4a1c1b0eb8.jpg","text":"TemporaryFile(/tmp/multipartBody2779646580681023417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890194726,"filename":"image_02122025_10_43_14_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/5/9641e25b8a81f91df4fad4f6fcf73d5b.jpg","text":"TemporaryFile(/tmp/multipartBody7906482447406425065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890194726,"filename":"image_02122025_10_42_55_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397971077","file1":"1397971035","file0":"1397970996","file4":"1397971159","file5":"1397971199","file3":"1397971121"},"map_files_photo_id_array":[{"photo_id":"1397971199","filename":"file5"},{"photo_id":"1397971077","filename":"file2"},{"photo_id":"1397971159","filename":"file4"},{"photo_id":"1397971035","filename":"file1"},{"photo_id":"1397970996","filename":"file0"},{"photo_id":"1397971121","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397971159":["hashtag1","hashtag2"]},{"1397971077":["hashtag1","hashtag2"]},{"1397971035":["hashtag1","hashtag2"]},{"1397970996":["hashtag1","hashtag2"]},{"1397971199":["hashtag1","hashtag2"]},{"1397971121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397971159, 1397971077, 1397971035, 1397970996, 1397971199, 1397971121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64988398551941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:16:22.793491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_04_3610.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_07_2705.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_10_2574.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_14_3857.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_16_2759.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_19_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_04_3610.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_07_2705.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_10_2574.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_14_3857.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_16_2759.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_19_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397971510","1397971584","1397971638","1397971446","1397971404","1397971337"],"photo_ids_order":["1397971337","1397971404","1397971446","1397971510","1397971584","1397971638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a918298ee5f22e9b6de173e96fc70a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1152545488042724259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890245218,"filename":"image_31102025_17_52_14_3857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9bc57b4b1e0cc9fab1c4e586c366e9c.jpg","text":"TemporaryFile(/tmp/multipartBody6170444076813668574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890245218,"filename":"image_31102025_17_52_16_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/5/99cf3934ee7f050541c243d20643fea9.jpg","text":"TemporaryFile(/tmp/multipartBody151882233137364055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890245218,"filename":"image_31102025_17_52_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/5/99be81c00e24b0e746f33891777991ba.jpg","text":"TemporaryFile(/tmp/multipartBody3778183300394428954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890245218,"filename":"image_31102025_17_52_10_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/5/3eee92e5dd2b62c63cd0876a05f73748.jpg","text":"TemporaryFile(/tmp/multipartBody3124248324138609031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890245218,"filename":"image_31102025_17_52_07_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/5/490a05487093ee9f931585336f4b4742.jpg","text":"TemporaryFile(/tmp/multipartBody5104203642354055155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890245218,"filename":"image_31102025_17_52_04_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397971446","file1":"1397971404","file0":"1397971337","file4":"1397971584","file5":"1397971638","file3":"1397971510"},"map_files_photo_id_array":[{"photo_id":"1397971638","filename":"file5"},{"photo_id":"1397971446","filename":"file2"},{"photo_id":"1397971584","filename":"file4"},{"photo_id":"1397971404","filename":"file1"},{"photo_id":"1397971337","filename":"file0"},{"photo_id":"1397971510","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397971510":["hashtag1","hashtag2"]},{"1397971584":["hashtag1","hashtag2"]},{"1397971638":["hashtag1","hashtag2"]},{"1397971446":["hashtag1","hashtag2"]},{"1397971404":["hashtag1","hashtag2"]},{"1397971337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397971510, 1397971584, 1397971638, 1397971446, 1397971404, 1397971337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.22549271583557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:17:11.875897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/43/image_02122025_10_43_24_9882.jpg', '/home/pi/Desktop/images/02122025/10/43/image_02122025_10_43_35_10751.jpg', '/home/pi/Desktop/images/02122025/10/43/image_02122025_10_43_45_9815.jpg', '/home/pi/Desktop/images/02122025/10/43/image_02122025_10_43_54_9605.jpg', '/home/pi/Desktop/images/02122025/10/43/image_02122025_10_44_05_10714.jpg', '/home/pi/Desktop/images/02122025/10/44/image_02122025_10_44_15_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/43/image_02122025_10_43_24_9882.jpg
/home/pi/Desktop/images/02122025/10/43/image_02122025_10_43_35_10751.jpg
/home/pi/Desktop/images/02122025/10/43/image_02122025_10_43_45_9815.jpg
/home/pi/Desktop/images/02122025/10/43/image_02122025_10_43_54_9605.jpg
/home/pi/Desktop/images/02122025/10/43/image_02122025_10_44_05_10714.jpg
/home/pi/Desktop/images/02122025/10/44/image_02122025_10_44_15_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":["1397972060","1397971905","1397972216","1397972339","1397972473","1397971780"],"photo_ids_order":["1397971780","1397971905","1397972060","1397972216","1397972339","1397972473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0256664f286d0e6cb5e5caf450869e7f.jpg","text":"TemporaryFile(/tmp/multipartBody106530217540101599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890293928,"filename":"image_02122025_10_43_45_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c84210ab023d1c6e44041920c1bfeb8.jpg","text":"TemporaryFile(/tmp/multipartBody4751633651654422044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890293928,"filename":"image_02122025_10_43_35_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/5/0682c06dbc33ba7d3ef07284488a9225.jpg","text":"TemporaryFile(/tmp/multipartBody8956266483423379049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890293928,"filename":"image_02122025_10_43_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/5/6d26f4ecdc270be41c59760d2199e62d.jpg","text":"TemporaryFile(/tmp/multipartBody5149999994125712457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890293928,"filename":"image_02122025_10_44_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/5/6337280b537fc1d3b0c9cd4afc0e1503.jpg","text":"TemporaryFile(/tmp/multipartBody1801176089622005034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890293928,"filename":"image_02122025_10_44_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/57757f5edbbbbf98816cf21e877e6f5d.jpg","text":"TemporaryFile(/tmp/multipartBody3418956089529882994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890293928,"filename":"image_02122025_10_43_24_9882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397972060","file1":"1397971905","file0":"1397971780","file4":"1397972339","file5":"1397972473","file3":"1397972216"},"map_files_photo_id_array":[{"photo_id":"1397972473","filename":"file5"},{"photo_id":"1397972060","filename":"file2"},{"photo_id":"1397972339","filename":"file4"},{"photo_id":"1397971905","filename":"file1"},{"photo_id":"1397971780","filename":"file0"},{"photo_id":"1397972216","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397972060":["hashtag1","hashtag2"]},{"1397971905":["hashtag1","hashtag2"]},{"1397972216":["hashtag1","hashtag2"]},{"1397972339":["hashtag1","hashtag2"]},{"1397972473":["hashtag1","hashtag2"]},{"1397971780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397972060, 1397971905, 1397972216, 1397972339, 1397972473, 1397971780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48641276359558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:18:02.546334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/44/image_02122025_10_44_24_9553.jpg', '/home/pi/Desktop/images/02122025/10/44/image_02122025_10_44_34_9779.jpg', '/home/pi/Desktop/images/02122025/10/44/image_02122025_10_44_45_10770.jpg', '/home/pi/Desktop/images/02122025/10/44/image_02122025_10_44_55_9688.jpg', '/home/pi/Desktop/images/02122025/10/45/image_02122025_10_45_14_10058.jpg', '/home/pi/Desktop/images/02122025/10/45/image_02122025_10_45_25_10795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/44/image_02122025_10_44_24_9553.jpg
/home/pi/Desktop/images/02122025/10/44/image_02122025_10_44_34_9779.jpg
/home/pi/Desktop/images/02122025/10/44/image_02122025_10_44_45_10770.jpg
/home/pi/Desktop/images/02122025/10/44/image_02122025_10_44_55_9688.jpg
/home/pi/Desktop/images/02122025/10/45/image_02122025_10_45_14_10058.jpg
/home/pi/Desktop/images/02122025/10/45/image_02122025_10_45_25_10795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397972856","1397972850","1397972849","1397972858","1397972852","1397972854"],"photo_ids_order":["1397972849","1397972850","1397972852","1397972854","1397972856","1397972858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6c01eb48cbc5ce2fb1ed20d86b9c71d3.jpg","text":"TemporaryFile(/tmp/multipartBody1534389792525319522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890344211,"filename":"image_02122025_10_45_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/5/2c67cec7b6e9c59f6cb033dd65246984.jpg","text":"TemporaryFile(/tmp/multipartBody9175857368983423429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890344211,"filename":"image_02122025_10_44_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/5/200222bca088081288b92381dcc9aca4.jpg","text":"TemporaryFile(/tmp/multipartBody9091736830737568561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890344211,"filename":"image_02122025_10_44_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/5/a3c4bb5fc4cf2194fa4153975d2c0e1d.jpg","text":"TemporaryFile(/tmp/multipartBody2469114512046825962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890344211,"filename":"image_02122025_10_45_25_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/238bc1af74f247328275a0092afcc22e.jpg","text":"TemporaryFile(/tmp/multipartBody4736670032035255245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890344211,"filename":"image_02122025_10_44_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/5/5a6ff361f111c33be4c3beb712528c68.jpg","text":"TemporaryFile(/tmp/multipartBody3404209698338856165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890344211,"filename":"image_02122025_10_44_55_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397972852","file1":"1397972850","file0":"1397972849","file4":"1397972856","file5":"1397972858","file3":"1397972854"},"map_files_photo_id_array":[{"photo_id":"1397972858","filename":"file5"},{"photo_id":"1397972852","filename":"file2"},{"photo_id":"1397972856","filename":"file4"},{"photo_id":"1397972850","filename":"file1"},{"photo_id":"1397972849","filename":"file0"},{"photo_id":"1397972854","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397972856":["hashtag1","hashtag2"]},{"1397972850":["hashtag1","hashtag2"]},{"1397972849":["hashtag1","hashtag2"]},{"1397972858":["hashtag1","hashtag2"]},{"1397972852":["hashtag1","hashtag2"]},{"1397972854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397972856, 1397972850, 1397972849, 1397972858, 1397972852, 1397972854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.981470584869385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:18:42.108118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_22_3546.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_25_2746.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_28_2509.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_31_3580.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_34_2702.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_38_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_22_3546.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_25_2746.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_28_2509.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_31_3580.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_34_2702.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_38_3550.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":["1397973181","1397973175","1397973178","1397973079","1397973166","1397973069"],"photo_ids_order":["1397973069","1397973079","1397973166","1397973175","1397973178","1397973181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/339335db5e206ac11737f9f276df96c5.jpg","text":"TemporaryFile(/tmp/multipartBody6857499228218098122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890383764,"filename":"image_31102025_17_52_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/5/e25206c121de03f4e3c826285e2c4572.jpg","text":"TemporaryFile(/tmp/multipartBody6458876652003610578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890383764,"filename":"image_31102025_17_52_31_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/5/606b9305c621396b7ec0a845ea781406.jpg","text":"TemporaryFile(/tmp/multipartBody3848597917918939010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890383764,"filename":"image_31102025_17_52_34_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/5/2a9bce97b77f8be337d40c46d5c76363.jpg","text":"TemporaryFile(/tmp/multipartBody5912248155128757243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890383764,"filename":"image_31102025_17_52_25_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/5/bc45bf1705aac55076563c86d8430edc.jpg","text":"TemporaryFile(/tmp/multipartBody862777275912613330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890383764,"filename":"image_31102025_17_52_28_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/5/c63d58b2fa62e658a6c22c2c5ee33f32.jpg","text":"TemporaryFile(/tmp/multipartBody1346931232741303500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890383764,"filename":"image_31102025_17_52_22_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397973166","file1":"1397973079","file0":"1397973069","file4":"1397973178","file5":"1397973181","file3":"1397973175"},"map_files_photo_id_array":[{"photo_id":"1397973181","filename":"file5"},{"photo_id":"1397973166","filename":"file2"},{"photo_id":"1397973178","filename":"file4"},{"photo_id":"1397973079","filename":"file1"},{"photo_id":"1397973069","filename":"file0"},{"photo_id":"1397973175","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397973181":["hashtag1","hashtag2"]},{"1397973175":["hashtag1","hashtag2"]},{"1397973178":["hashtag1","hashtag2"]},{"1397973079":["hashtag1","hashtag2"]},{"1397973166":["hashtag1","hashtag2"]},{"1397973069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397973181, 1397973175, 1397973178, 1397973079, 1397973166, 1397973069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.113845348358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:19:42.294840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_40_2602.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_43_2542.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_46_3568.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_49_2829.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_52_2506.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_55_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_40_2602.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_43_2542.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_46_3568.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_49_2829.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_52_2506.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_55_3650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397973402","1397973374","1397973408","1397973440","1397973376","1397973451"],"photo_ids_order":["1397973374","1397973376","1397973402","1397973408","1397973440","1397973451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78ad12cd2533644a965135732de9ff63.jpg","text":"TemporaryFile(/tmp/multipartBody8812511227583663244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890443890,"filename":"image_31102025_17_52_46_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/5/23b702dc92ccd2b25319cbd904697837.jpg","text":"TemporaryFile(/tmp/multipartBody3443919276658014073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890443890,"filename":"image_31102025_17_52_40_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/5/56c53f640a6b97ad14267741f75cd8fc.jpg","text":"TemporaryFile(/tmp/multipartBody4213423316067363884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890443890,"filename":"image_31102025_17_52_49_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/5/f23546bbec20a68e9872d32a3b939338.jpg","text":"TemporaryFile(/tmp/multipartBody8699600695673849158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890443890,"filename":"image_31102025_17_52_52_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f67db98c981324ad591cf81e57f7d045.jpg","text":"TemporaryFile(/tmp/multipartBody5514022861960200599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890443890,"filename":"image_31102025_17_52_43_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/5/aa85ecfb0a52fca737c53e1de0b46300.jpg","text":"TemporaryFile(/tmp/multipartBody3197668126266805546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890443890,"filename":"image_31102025_17_52_55_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397973402","file1":"1397973376","file0":"1397973374","file4":"1397973440","file5":"1397973451","file3":"1397973408"},"map_files_photo_id_array":[{"photo_id":"1397973451","filename":"file5"},{"photo_id":"1397973402","filename":"file2"},{"photo_id":"1397973440","filename":"file4"},{"photo_id":"1397973376","filename":"file1"},{"photo_id":"1397973374","filename":"file0"},{"photo_id":"1397973408","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397973402":["hashtag1","hashtag2"]},{"1397973374":["hashtag1","hashtag2"]},{"1397973408":["hashtag1","hashtag2"]},{"1397973440":["hashtag1","hashtag2"]},{"1397973376":["hashtag1","hashtag2"]},{"1397973451":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397973402, 1397973374, 1397973408, 1397973440, 1397973376, 1397973451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00619459152222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:20:32.448512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/45/image_02122025_10_45_34_9660.jpg', '/home/pi/Desktop/images/02122025/10/45/image_02122025_10_45_44_10014.jpg', '/home/pi/Desktop/images/02122025/10/45/image_02122025_10_45_54_9762.jpg', '/home/pi/Desktop/images/02122025/10/45/image_02122025_10_46_04_9750.jpg', '/home/pi/Desktop/images/02122025/10/46/image_02122025_10_46_15_10668.jpg', '/home/pi/Desktop/images/02122025/10/46/image_02122025_10_46_24_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/45/image_02122025_10_45_34_9660.jpg
/home/pi/Desktop/images/02122025/10/45/image_02122025_10_45_44_10014.jpg
/home/pi/Desktop/images/02122025/10/45/image_02122025_10_45_54_9762.jpg
/home/pi/Desktop/images/02122025/10/45/image_02122025_10_46_04_9750.jpg
/home/pi/Desktop/images/02122025/10/46/image_02122025_10_46_15_10668.jpg
/home/pi/Desktop/images/02122025/10/46/image_02122025_10_46_24_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397974265","1397974112","1397974019","1397974276","1397974231","1397974281"],"photo_ids_order":["1397974019","1397974112","1397974231","1397974265","1397974276","1397974281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/030dc0506925c0a9ca9217fa39e82de9.jpg","text":"TemporaryFile(/tmp/multipartBody4990858791530486670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890494602,"filename":"image_02122025_10_46_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/5/a1176f44795e9efdb10c2f894454658f.jpg","text":"TemporaryFile(/tmp/multipartBody6817962550164378084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890494602,"filename":"image_02122025_10_45_44_10014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/942a6844d0445feeab3706d622b3a099.jpg","text":"TemporaryFile(/tmp/multipartBody2577775818708362781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890494602,"filename":"image_02122025_10_45_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/5/5ac27b6cd69546ad9207194f444c29bc.jpg","text":"TemporaryFile(/tmp/multipartBody913164423438810590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890494602,"filename":"image_02122025_10_46_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/5/f11f39a1abe845f1813ca6f9b7408bc3.jpg","text":"TemporaryFile(/tmp/multipartBody6203717115112289694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890494602,"filename":"image_02122025_10_45_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/5/bf25820ed95c9a4e2eb3a9b36b9df722.jpg","text":"TemporaryFile(/tmp/multipartBody6082211825389549916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890494602,"filename":"image_02122025_10_46_24_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397974231","file1":"1397974112","file0":"1397974019","file4":"1397974276","file5":"1397974281","file3":"1397974265"},"map_files_photo_id_array":[{"photo_id":"1397974281","filename":"file5"},{"photo_id":"1397974231","filename":"file2"},{"photo_id":"1397974276","filename":"file4"},{"photo_id":"1397974112","filename":"file1"},{"photo_id":"1397974019","filename":"file0"},{"photo_id":"1397974265","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397974265":["hashtag1","hashtag2"]},{"1397974112":["hashtag1","hashtag2"]},{"1397974019":["hashtag1","hashtag2"]},{"1397974276":["hashtag1","hashtag2"]},{"1397974231":["hashtag1","hashtag2"]},{"1397974281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397974265, 1397974112, 1397974019, 1397974276, 1397974231, 1397974281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10765981674194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:21:12.504503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/46/image_02122025_10_46_34_9698.jpg', '/home/pi/Desktop/images/02122025/10/46/image_02122025_10_46_44_9834.jpg', '/home/pi/Desktop/images/02122025/10/46/image_02122025_10_46_55_10784.jpg', '/home/pi/Desktop/images/02122025/10/46/image_02122025_10_47_04_9745.jpg', '/home/pi/Desktop/images/02122025/10/47/image_02122025_10_47_14_9648.jpg', '/home/pi/Desktop/images/02122025/10/47/image_02122025_10_47_25_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/46/image_02122025_10_46_34_9698.jpg
/home/pi/Desktop/images/02122025/10/46/image_02122025_10_46_44_9834.jpg
/home/pi/Desktop/images/02122025/10/46/image_02122025_10_46_55_10784.jpg
/home/pi/Desktop/images/02122025/10/46/image_02122025_10_47_04_9745.jpg
/home/pi/Desktop/images/02122025/10/47/image_02122025_10_47_14_9648.jpg
/home/pi/Desktop/images/02122025/10/47/image_02122025_10_47_25_10760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397974322","1397974331","1397974328","1397974330","1397974326","1397974329"],"photo_ids_order":["1397974322","1397974326","1397974328","1397974329","1397974330","1397974331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/39ffcb7bbe3e04fc634d336f2c4f2ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5967039561536274702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890534533,"filename":"image_02122025_10_46_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/5/b8e79cc320ed0a63c3cc52945813d4bc.jpg","text":"TemporaryFile(/tmp/multipartBody8633689947673186792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890534533,"filename":"image_02122025_10_47_25_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d00077efdb4229bb863a5a67d4ea840.jpg","text":"TemporaryFile(/tmp/multipartBody8321230114671462906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890534533,"filename":"image_02122025_10_46_55_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/5/d739b1d1bc508964b3bfd3b5c0c9d52e.jpg","text":"TemporaryFile(/tmp/multipartBody6325144949650448079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890534533,"filename":"image_02122025_10_47_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/5/b026b81eb78d21570ef4b95146d2c7b2.jpg","text":"TemporaryFile(/tmp/multipartBody1691867453850743646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890534533,"filename":"image_02122025_10_46_44_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e32479de33b88830b2de99231cdc96fa.jpg","text":"TemporaryFile(/tmp/multipartBody6237898925740088227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890534533,"filename":"image_02122025_10_47_04_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397974328","file1":"1397974326","file0":"1397974322","file4":"1397974330","file5":"1397974331","file3":"1397974329"},"map_files_photo_id_array":[{"photo_id":"1397974331","filename":"file5"},{"photo_id":"1397974328","filename":"file2"},{"photo_id":"1397974330","filename":"file4"},{"photo_id":"1397974326","filename":"file1"},{"photo_id":"1397974322","filename":"file0"},{"photo_id":"1397974329","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397974322":["hashtag1","hashtag2"]},{"1397974331":["hashtag1","hashtag2"]},{"1397974328":["hashtag1","hashtag2"]},{"1397974330":["hashtag1","hashtag2"]},{"1397974326":["hashtag1","hashtag2"]},{"1397974329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397974322, 1397974331, 1397974328, 1397974330, 1397974326, 1397974329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67010712623596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:22:03.184139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/14/image_05122025_00_14_44_10684.jpg', '/home/pi/Desktop/images/05122025/00/21/image_05122025_00_21_14_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/14/image_05122025_00_14_44_10684.jpg
/home/pi/Desktop/images/05122025/00/21/image_05122025_00_21_14_9794.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44631505012512207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:22:12.848479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/47/image_02122025_10_47_35_9697.jpg', '/home/pi/Desktop/images/02122025/10/47/image_02122025_10_47_44_9663.jpg', '/home/pi/Desktop/images/02122025/10/47/image_02122025_10_47_55_10689.jpg', '/home/pi/Desktop/images/02122025/10/47/image_02122025_10_48_05_9942.jpg', '/home/pi/Desktop/images/02122025/10/48/image_02122025_10_48_15_9674.jpg', '/home/pi/Desktop/images/02122025/10/48/image_02122025_10_48_24_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/47/image_02122025_10_47_35_9697.jpg
/home/pi/Desktop/images/02122025/10/47/image_02122025_10_47_44_9663.jpg
/home/pi/Desktop/images/02122025/10/47/image_02122025_10_47_55_10689.jpg
/home/pi/Desktop/images/02122025/10/47/image_02122025_10_48_05_9942.jpg
/home/pi/Desktop/images/02122025/10/48/image_02122025_10_48_15_9674.jpg
/home/pi/Desktop/images/02122025/10/48/image_02122025_10_48_24_9929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397974655","1397974795","1397974756","1397974657","1397974720","1397974836"],"photo_ids_order":["1397974655","1397974657","1397974720","1397974756","1397974795","1397974836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b644aff7bc5d3047b310a5a3f54fe54c.jpg","text":"TemporaryFile(/tmp/multipartBody7022431461680805160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890595133,"filename":"image_02122025_10_47_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/5/5d29d5d2baf6c44fce808028adc53ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8216548454707740422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890595133,"filename":"image_02122025_10_48_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c974b11e8786b4c52d96e3aaa6649cd2.jpg","text":"TemporaryFile(/tmp/multipartBody8211457764211203427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890595133,"filename":"image_02122025_10_48_05_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/5/215013a15a3d4e4447ac8e743cbe49ee.jpg","text":"TemporaryFile(/tmp/multipartBody4043567006017192772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890595133,"filename":"image_02122025_10_47_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/5/f529feda8b8e1d91a34cb599cf5ee9ad.jpg","text":"TemporaryFile(/tmp/multipartBody8458736631158102734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890595133,"filename":"image_02122025_10_47_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/21686ffa25f5d6460ba00a51eb3ea063.jpg","text":"TemporaryFile(/tmp/multipartBody5479111647276665717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890595133,"filename":"image_02122025_10_48_24_9929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397974720","file1":"1397974657","file0":"1397974655","file4":"1397974795","file5":"1397974836","file3":"1397974756"},"map_files_photo_id_array":[{"photo_id":"1397974836","filename":"file5"},{"photo_id":"1397974720","filename":"file2"},{"photo_id":"1397974795","filename":"file4"},{"photo_id":"1397974657","filename":"file1"},{"photo_id":"1397974655","filename":"file0"},{"photo_id":"1397974756","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397974655":["hashtag1","hashtag2"]},{"1397974795":["hashtag1","hashtag2"]},{"1397974756":["hashtag1","hashtag2"]},{"1397974657":["hashtag1","hashtag2"]},{"1397974720":["hashtag1","hashtag2"]},{"1397974836":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397974655, 1397974795, 1397974756, 1397974657, 1397974720, 1397974836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75591778755188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:23:02.692866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/14/image_05122025_00_14_44_10684.jpg', '/home/pi/Desktop/images/05122025/00/21/image_05122025_00_21_14_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/14/image_05122025_00_14_44_10684.jpg
/home/pi/Desktop/images/05122025/00/21/image_05122025_00_21_14_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":["1397975065","1397975087"],"photo_ids_order":["1397975065","1397975087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e3b7984a60a56c7214c656f8e2e1fb9.jpg","text":"TemporaryFile(/tmp/multipartBody2507699862480018663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890643641,"filename":"image_05122025_00_14_44_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5520d6bf77c2e7d8c95608736d05be76.jpg","text":"TemporaryFile(/tmp/multipartBody6838290186103023654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890643641,"filename":"image_05122025_00_21_14_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397975087","file0":"1397975065"},"map_files_photo_id_array":[{"photo_id":"1397975087","filename":"file1"},{"photo_id":"1397975065","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397975065":["hashtag1","hashtag2"]},{"1397975087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397975065, 1397975087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.1005597114563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:23:31.989544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/48/image_02122025_10_48_34_9579.jpg', '/home/pi/Desktop/images/02122025/10/48/image_02122025_10_48_45_10686.jpg', '/home/pi/Desktop/images/02122025/10/48/image_02122025_10_48_54_9602.jpg', '/home/pi/Desktop/images/02122025/10/48/image_02122025_10_49_04_9832.jpg', '/home/pi/Desktop/images/02122025/10/49/image_02122025_10_49_15_10633.jpg', '/home/pi/Desktop/images/02122025/10/49/image_02122025_10_49_25_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/48/image_02122025_10_48_34_9579.jpg
/home/pi/Desktop/images/02122025/10/48/image_02122025_10_48_45_10686.jpg
/home/pi/Desktop/images/02122025/10/48/image_02122025_10_48_54_9602.jpg
/home/pi/Desktop/images/02122025/10/48/image_02122025_10_49_04_9832.jpg
/home/pi/Desktop/images/02122025/10/49/image_02122025_10_49_15_10633.jpg
/home/pi/Desktop/images/02122025/10/49/image_02122025_10_49_25_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":["1397975162","1397975165","1397975159","1397975161","1397975157","1397975166"],"photo_ids_order":["1397975157","1397975159","1397975161","1397975162","1397975165","1397975166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9db22d929863406a0550141992d65014.jpg","text":"TemporaryFile(/tmp/multipartBody1019433251570393369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890674088,"filename":"image_02122025_10_49_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/5/173b3a3123503ed2301cf28299327c2c.jpg","text":"TemporaryFile(/tmp/multipartBody5584890873350056674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890674088,"filename":"image_02122025_10_49_15_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/5/2bf72fcd7e67ae0d0562ad1997252493.jpg","text":"TemporaryFile(/tmp/multipartBody2026955157989121492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890674088,"filename":"image_02122025_10_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/5/db7627c2f31fe2db4365e1b14ae04977.jpg","text":"TemporaryFile(/tmp/multipartBody4620569943209377095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890674088,"filename":"image_02122025_10_48_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/5/2c9508d484a0915f0ff328ad2575d429.jpg","text":"TemporaryFile(/tmp/multipartBody6775634848946672937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890674088,"filename":"image_02122025_10_48_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/5/e4342a61c594d26d8945cbfbf9d3e610.jpg","text":"TemporaryFile(/tmp/multipartBody440625594070811217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890674088,"filename":"image_02122025_10_49_25_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397975161","file1":"1397975159","file0":"1397975157","file4":"1397975165","file5":"1397975166","file3":"1397975162"},"map_files_photo_id_array":[{"photo_id":"1397975166","filename":"file5"},{"photo_id":"1397975161","filename":"file2"},{"photo_id":"1397975165","filename":"file4"},{"photo_id":"1397975159","filename":"file1"},{"photo_id":"1397975157","filename":"file0"},{"photo_id":"1397975162","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397975162":["hashtag1","hashtag2"]},{"1397975165":["hashtag1","hashtag2"]},{"1397975159":["hashtag1","hashtag2"]},{"1397975161":["hashtag1","hashtag2"]},{"1397975157":["hashtag1","hashtag2"]},{"1397975166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397975162, 1397975165, 1397975159, 1397975161, 1397975157, 1397975166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56525444984436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:24:12.165637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/49/image_02122025_10_49_34_9676.jpg', '/home/pi/Desktop/images/02122025/10/49/image_02122025_10_49_45_10599.jpg', '/home/pi/Desktop/images/02122025/10/49/image_02122025_10_49_54_9640.jpg', '/home/pi/Desktop/images/02122025/10/51/image_02122025_10_51_14_10042.jpg', '/home/pi/Desktop/images/02122025/10/51/image_02122025_10_51_34_9643.jpg', '/home/pi/Desktop/images/02122025/10/51/image_02122025_10_51_44_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/49/image_02122025_10_49_34_9676.jpg
/home/pi/Desktop/images/02122025/10/49/image_02122025_10_49_45_10599.jpg
/home/pi/Desktop/images/02122025/10/49/image_02122025_10_49_54_9640.jpg
/home/pi/Desktop/images/02122025/10/51/image_02122025_10_51_14_10042.jpg
/home/pi/Desktop/images/02122025/10/51/image_02122025_10_51_34_9643.jpg
/home/pi/Desktop/images/02122025/10/51/image_02122025_10_51_44_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397975191","1397975179","1397975175","1397975178","1397975172","1397975174"],"photo_ids_order":["1397975172","1397975174","1397975175","1397975178","1397975179","1397975191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a1b1440f84599782fc77f4386e1a106c.jpg","text":"TemporaryFile(/tmp/multipartBody7129136794056365021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890714753,"filename":"image_02122025_10_51_44_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/5/8fd16a8bba156fbca1e096a31a6cff5f.jpg","text":"TemporaryFile(/tmp/multipartBody3587243820067654715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890714753,"filename":"image_02122025_10_51_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a1f6d50d98e2dda352b50614dd5c411b.jpg","text":"TemporaryFile(/tmp/multipartBody3145084960222064188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890714753,"filename":"image_02122025_10_49_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/5/48f2720d6618e220303922006bd0cde8.jpg","text":"TemporaryFile(/tmp/multipartBody3896837800653334882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890714753,"filename":"image_02122025_10_51_14_10042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46248c7b08f170555a6e8050fe3230d0.jpg","text":"TemporaryFile(/tmp/multipartBody6289673544026218004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890714753,"filename":"image_02122025_10_49_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/5/e473aacd8d6cdfaa8c3e3c1644a1d7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1956824837829011299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890714753,"filename":"image_02122025_10_49_45_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397975175","file1":"1397975174","file0":"1397975172","file4":"1397975179","file5":"1397975191","file3":"1397975178"},"map_files_photo_id_array":[{"photo_id":"1397975191","filename":"file5"},{"photo_id":"1397975175","filename":"file2"},{"photo_id":"1397975179","filename":"file4"},{"photo_id":"1397975174","filename":"file1"},{"photo_id":"1397975172","filename":"file0"},{"photo_id":"1397975178","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397975191":["hashtag1","hashtag2"]},{"1397975179":["hashtag1","hashtag2"]},{"1397975175":["hashtag1","hashtag2"]},{"1397975178":["hashtag1","hashtag2"]},{"1397975172":["hashtag1","hashtag2"]},{"1397975174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397975191, 1397975179, 1397975175, 1397975178, 1397975172, 1397975174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.740891456604004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:25:03.023736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/52/image_02122025_10_52_14_9798.jpg', '/home/pi/Desktop/images/02122025/10/52/image_02122025_10_52_24_9816.jpg', '/home/pi/Desktop/images/02122025/10/52/image_02122025_10_52_35_10694.jpg', '/home/pi/Desktop/images/02122025/10/52/image_02122025_10_52_44_9563.jpg', '/home/pi/Desktop/images/02122025/10/52/image_02122025_10_52_54_9753.jpg', '/home/pi/Desktop/images/02122025/10/52/image_02122025_10_53_05_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/52/image_02122025_10_52_14_9798.jpg
/home/pi/Desktop/images/02122025/10/52/image_02122025_10_52_24_9816.jpg
/home/pi/Desktop/images/02122025/10/52/image_02122025_10_52_35_10694.jpg
/home/pi/Desktop/images/02122025/10/52/image_02122025_10_52_44_9563.jpg
/home/pi/Desktop/images/02122025/10/52/image_02122025_10_52_54_9753.jpg
/home/pi/Desktop/images/02122025/10/52/image_02122025_10_53_05_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397975359","1397975344","1397975295","1397975310","1397975247","1397975313"],"photo_ids_order":["1397975247","1397975295","1397975310","1397975313","1397975344","1397975359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/62b0930b07a27819e32c0e7ceb1aafb8.jpg","text":"TemporaryFile(/tmp/multipartBody1016709337359278355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890765449,"filename":"image_02122025_10_53_05_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6523a0ce8bb8645b772e7a27895787dc.jpg","text":"TemporaryFile(/tmp/multipartBody4511504116021069560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890765449,"filename":"image_02122025_10_52_54_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a245e9eadd898eaa9c64e36cb0c1dab.jpg","text":"TemporaryFile(/tmp/multipartBody2142244095168355874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890765449,"filename":"image_02122025_10_52_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/5/63c9792d197ebb7709f7c71034e4ae53.jpg","text":"TemporaryFile(/tmp/multipartBody7128921792743693465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890765449,"filename":"image_02122025_10_52_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/5/99007dec7ac9d561a87f76a68f2fc2af.jpg","text":"TemporaryFile(/tmp/multipartBody8772290288362701228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890765449,"filename":"image_02122025_10_52_14_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff28f9fdc290cb5b5c0cffbad3a6bffd.jpg","text":"TemporaryFile(/tmp/multipartBody1479647219391926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890765449,"filename":"image_02122025_10_52_44_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397975310","file1":"1397975295","file0":"1397975247","file4":"1397975344","file5":"1397975359","file3":"1397975313"},"map_files_photo_id_array":[{"photo_id":"1397975359","filename":"file5"},{"photo_id":"1397975310","filename":"file2"},{"photo_id":"1397975344","filename":"file4"},{"photo_id":"1397975295","filename":"file1"},{"photo_id":"1397975247","filename":"file0"},{"photo_id":"1397975313","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397975359":["hashtag1","hashtag2"]},{"1397975344":["hashtag1","hashtag2"]},{"1397975295":["hashtag1","hashtag2"]},{"1397975310":["hashtag1","hashtag2"]},{"1397975247":["hashtag1","hashtag2"]},{"1397975313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397975359, 1397975344, 1397975295, 1397975310, 1397975247, 1397975313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24249482154846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:26:03.014791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/53/image_02122025_10_53_14_9716.jpg', '/home/pi/Desktop/images/02122025/10/53/image_02122025_10_53_24_9630.jpg', '/home/pi/Desktop/images/02122025/10/53/image_02122025_10_53_35_10637.jpg', '/home/pi/Desktop/images/02122025/10/53/image_02122025_10_53_44_9621.jpg', '/home/pi/Desktop/images/02122025/10/53/image_02122025_10_53_54_9676.jpg', '/home/pi/Desktop/images/02122025/10/53/image_02122025_10_54_04_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/53/image_02122025_10_53_14_9716.jpg
/home/pi/Desktop/images/02122025/10/53/image_02122025_10_53_24_9630.jpg
/home/pi/Desktop/images/02122025/10/53/image_02122025_10_53_35_10637.jpg
/home/pi/Desktop/images/02122025/10/53/image_02122025_10_53_44_9621.jpg
/home/pi/Desktop/images/02122025/10/53/image_02122025_10_53_54_9676.jpg
/home/pi/Desktop/images/02122025/10/53/image_02122025_10_54_04_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":["1397975555","1397975554","1397975557","1397975559","1397975553","1397975561"],"photo_ids_order":["1397975553","1397975554","1397975555","1397975557","1397975559","1397975561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5775815bc4e8d2989eed14e0912843b7.jpg","text":"TemporaryFile(/tmp/multipartBody2921164438826894113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890824621,"filename":"image_02122025_10_53_35_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/5/2c0467114f0ed834a36e0b52bd6fa5c6.jpg","text":"TemporaryFile(/tmp/multipartBody5564258891469436745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890824621,"filename":"image_02122025_10_53_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/5/2baadf4495894f9dea0167b9e3e688de.jpg","text":"TemporaryFile(/tmp/multipartBody5048571388346526510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890824621,"filename":"image_02122025_10_53_44_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/5/53b5003130790946c1c625ecf6cf8fed.jpg","text":"TemporaryFile(/tmp/multipartBody4921825586376253600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890824621,"filename":"image_02122025_10_53_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/5/ffac5b60563bb8a68d246f73d4f0aa36.jpg","text":"TemporaryFile(/tmp/multipartBody6521562229547703845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890824621,"filename":"image_02122025_10_53_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/5/9c94ccb8c0ab405690efbb8e499e8f06.jpg","text":"TemporaryFile(/tmp/multipartBody6693891869333999626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890824621,"filename":"image_02122025_10_54_04_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397975555","file1":"1397975554","file0":"1397975553","file4":"1397975559","file5":"1397975561","file3":"1397975557"},"map_files_photo_id_array":[{"photo_id":"1397975561","filename":"file5"},{"photo_id":"1397975555","filename":"file2"},{"photo_id":"1397975559","filename":"file4"},{"photo_id":"1397975554","filename":"file1"},{"photo_id":"1397975553","filename":"file0"},{"photo_id":"1397975557","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397975555":["hashtag1","hashtag2"]},{"1397975554":["hashtag1","hashtag2"]},{"1397975557":["hashtag1","hashtag2"]},{"1397975559":["hashtag1","hashtag2"]},{"1397975553":["hashtag1","hashtag2"]},{"1397975561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397975555, 1397975554, 1397975557, 1397975559, 1397975553, 1397975561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97350788116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:26:42.623753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_58_2554.jpg', '/home/pi/Desktop/images/31102025/17/52/image_31102025_17_53_01_3653.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_04_2585.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_07_2787.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_11_3700.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_13_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_52_58_2554.jpg
/home/pi/Desktop/images/31102025/17/52/image_31102025_17_53_01_3653.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_04_2585.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_07_2787.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_11_3700.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_13_2547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397975729","1397975714","1397975701","1397975673","1397975568","1397975628"],"photo_ids_order":["1397975568","1397975628","1397975673","1397975701","1397975714","1397975729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/88851a4a2dcfc77de20882ba1d3eeaf6.jpg","text":"TemporaryFile(/tmp/multipartBody5549622514673330624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890864307,"filename":"image_31102025_17_53_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/5/373046a2f19391c80a606e1915f80286.jpg","text":"TemporaryFile(/tmp/multipartBody142908306238544943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890864307,"filename":"image_31102025_17_53_11_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/5/e542f5cb7c1628fc0b6ab524e070c5d0.jpg","text":"TemporaryFile(/tmp/multipartBody6485111932741878168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890864307,"filename":"image_31102025_17_53_07_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/496d5b904c26d5d9ac9a09dc4c843956.jpg","text":"TemporaryFile(/tmp/multipartBody5832650062164682643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890864307,"filename":"image_31102025_17_53_04_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/5/dee0d8521137aa969591b11834dcb8b2.jpg","text":"TemporaryFile(/tmp/multipartBody1358995164990054053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890864307,"filename":"image_31102025_17_52_58_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/5/2331e80d2776d3afc5cc409cb16ef297.jpg","text":"TemporaryFile(/tmp/multipartBody3999271296913067620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890864307,"filename":"image_31102025_17_53_01_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397975673","file1":"1397975628","file0":"1397975568","file4":"1397975714","file5":"1397975729","file3":"1397975701"},"map_files_photo_id_array":[{"photo_id":"1397975729","filename":"file5"},{"photo_id":"1397975673","filename":"file2"},{"photo_id":"1397975714","filename":"file4"},{"photo_id":"1397975628","filename":"file1"},{"photo_id":"1397975568","filename":"file0"},{"photo_id":"1397975701","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397975729":["hashtag1","hashtag2"]},{"1397975714":["hashtag1","hashtag2"]},{"1397975701":["hashtag1","hashtag2"]},{"1397975673":["hashtag1","hashtag2"]},{"1397975568":["hashtag1","hashtag2"]},{"1397975628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397975729, 1397975714, 1397975701, 1397975673, 1397975568, 1397975628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99977374076843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:27:32.725590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/54/image_02122025_10_54_14_9575.jpg', '/home/pi/Desktop/images/02122025/10/54/image_02122025_10_54_25_10710.jpg', '/home/pi/Desktop/images/02122025/10/54/image_02122025_10_54_35_9795.jpg', '/home/pi/Desktop/images/02122025/10/54/image_02122025_10_54_44_9721.jpg', '/home/pi/Desktop/images/02122025/10/54/image_02122025_10_54_54_9614.jpg', '/home/pi/Desktop/images/02122025/10/55/image_02122025_10_55_14_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/54/image_02122025_10_54_14_9575.jpg
/home/pi/Desktop/images/02122025/10/54/image_02122025_10_54_25_10710.jpg
/home/pi/Desktop/images/02122025/10/54/image_02122025_10_54_35_9795.jpg
/home/pi/Desktop/images/02122025/10/54/image_02122025_10_54_44_9721.jpg
/home/pi/Desktop/images/02122025/10/54/image_02122025_10_54_54_9614.jpg
/home/pi/Desktop/images/02122025/10/55/image_02122025_10_55_14_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397975782","1397975779","1397975815","1397975781","1397975775","1397975777"],"photo_ids_order":["1397975775","1397975777","1397975779","1397975781","1397975782","1397975815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78e4cc0c66ce4ec96c6747acfc7d945a.jpg","text":"TemporaryFile(/tmp/multipartBody2355492963782623195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890914859,"filename":"image_02122025_10_54_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/5/3a644ca887761db6d783cd9c27ffa6e8.jpg","text":"TemporaryFile(/tmp/multipartBody1427618503237073352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890914859,"filename":"image_02122025_10_54_35_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/5/940c71699a8fb24fcf42c08bae0bc523.jpg","text":"TemporaryFile(/tmp/multipartBody8835534529284540554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890914859,"filename":"image_02122025_10_55_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/5/1246d96c7c42c80d359985af6d34cd53.jpg","text":"TemporaryFile(/tmp/multipartBody760579782668346475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890914859,"filename":"image_02122025_10_54_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/5/d99a00c0223c1981443fa450a6cd2d59.jpg","text":"TemporaryFile(/tmp/multipartBody2575050488683035524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890914859,"filename":"image_02122025_10_54_14_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/5/169f5ad2feb5753fa3bd767736efaf19.jpg","text":"TemporaryFile(/tmp/multipartBody7426419977258832362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890914859,"filename":"image_02122025_10_54_25_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397975779","file1":"1397975777","file0":"1397975775","file4":"1397975782","file5":"1397975815","file3":"1397975781"},"map_files_photo_id_array":[{"photo_id":"1397975815","filename":"file5"},{"photo_id":"1397975779","filename":"file2"},{"photo_id":"1397975782","filename":"file4"},{"photo_id":"1397975777","filename":"file1"},{"photo_id":"1397975775","filename":"file0"},{"photo_id":"1397975781","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397975782":["hashtag1","hashtag2"]},{"1397975779":["hashtag1","hashtag2"]},{"1397975815":["hashtag1","hashtag2"]},{"1397975781":["hashtag1","hashtag2"]},{"1397975775":["hashtag1","hashtag2"]},{"1397975777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397975782, 1397975779, 1397975815, 1397975781, 1397975775, 1397975777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.825336933135986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:28:21.924442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/21/image_05122025_00_21_24_9720.jpg', '/home/pi/Desktop/images/05122025/00/26/image_05122025_00_26_13_9704.jpg', '/home/pi/Desktop/images/05122025/00/26/image_05122025_00_26_24_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/21/image_05122025_00_21_24_9720.jpg
/home/pi/Desktop/images/05122025/00/26/image_05122025_00_26_13_9704.jpg
/home/pi/Desktop/images/05122025/00/26/image_05122025_00_26_24_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397975918","1397975949","1397975931"],"photo_ids_order":["1397975918","1397975931","1397975949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/265aafb34d2638361a0feaf021e5ceb8.jpg","text":"TemporaryFile(/tmp/multipartBody5082986840994894943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890962524,"filename":"image_05122025_00_21_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/5/37fa6ef9764fcb411ff5f322126add5c.jpg","text":"TemporaryFile(/tmp/multipartBody2009303586823135165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890962524,"filename":"image_05122025_00_26_24_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/5/5fc09df339da07b24b98796aad67d8ac.jpg","text":"TemporaryFile(/tmp/multipartBody2152636003583810930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764890962524,"filename":"image_05122025_00_26_13_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397975949","file1":"1397975931","file0":"1397975918"},"map_files_photo_id_array":[{"photo_id":"1397975949","filename":"file2"},{"photo_id":"1397975931","filename":"file1"},{"photo_id":"1397975918","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397975918":["hashtag1","hashtag2"]},{"1397975949":["hashtag1","hashtag2"]},{"1397975931":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397975918, 1397975949, 1397975931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.747281312942505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:29:03.021968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/55/image_02122025_10_55_25_10871.jpg', '/home/pi/Desktop/images/02122025/10/55/image_02122025_10_55_35_9706.jpg', '/home/pi/Desktop/images/02122025/10/55/image_02122025_10_55_44_9728.jpg', '/home/pi/Desktop/images/02122025/10/55/image_02122025_10_55_54_9872.jpg', '/home/pi/Desktop/images/02122025/10/55/image_02122025_10_56_05_10696.jpg', '/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_15_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/55/image_02122025_10_55_25_10871.jpg
/home/pi/Desktop/images/02122025/10/55/image_02122025_10_55_35_9706.jpg
/home/pi/Desktop/images/02122025/10/55/image_02122025_10_55_44_9728.jpg
/home/pi/Desktop/images/02122025/10/55/image_02122025_10_55_54_9872.jpg
/home/pi/Desktop/images/02122025/10/55/image_02122025_10_56_05_10696.jpg
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_15_9794.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":["1397976256","1397976052","1397975968","1397976156","1397975967","1397975964"],"photo_ids_order":["1397975964","1397975967","1397975968","1397976052","1397976156","1397976256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f915c5ad5d96cf52d9ffcc71b9510ff6.jpg","text":"TemporaryFile(/tmp/multipartBody3948013968435657535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891004979,"filename":"image_02122025_10_56_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/5/158bd212e2dfcc21cd0bb78502a70aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6723627587531706677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891004979,"filename":"image_02122025_10_55_54_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fbb6bec1a0a9a08000ab9eeb17794644.jpg","text":"TemporaryFile(/tmp/multipartBody895005688082734627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891004979,"filename":"image_02122025_10_55_44_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/5/64dcdb0ff8e4aaff6c2b844cc7b2b5ff.jpg","text":"TemporaryFile(/tmp/multipartBody5246092896804078897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891004979,"filename":"image_02122025_10_56_05_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2d4c9aaf234990f554d74c65bfc61e4a.jpg","text":"TemporaryFile(/tmp/multipartBody7112814841235084858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891004979,"filename":"image_02122025_10_55_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/5/a12a6011d8f668b1cb82255e07ce05a5.jpg","text":"TemporaryFile(/tmp/multipartBody2377648174310810430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891004979,"filename":"image_02122025_10_55_25_10871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397975968","file1":"1397975967","file0":"1397975964","file4":"1397976156","file5":"1397976256","file3":"1397976052"},"map_files_photo_id_array":[{"photo_id":"1397976256","filename":"file5"},{"photo_id":"1397975968","filename":"file2"},{"photo_id":"1397976156","filename":"file4"},{"photo_id":"1397975967","filename":"file1"},{"photo_id":"1397975964","filename":"file0"},{"photo_id":"1397976052","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397976256":["hashtag1","hashtag2"]},{"1397976052":["hashtag1","hashtag2"]},{"1397975968":["hashtag1","hashtag2"]},{"1397976156":["hashtag1","hashtag2"]},{"1397975967":["hashtag1","hashtag2"]},{"1397975964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397976256, 1397976052, 1397975968, 1397976156, 1397975967, 1397975964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31249451637268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:30:02.797790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_25_9752.jpg', '/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_34_9581.jpg', '/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_45_10805.jpg', '/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_55_9679.jpg', '/home/pi/Desktop/images/02122025/10/56/image_02122025_10_57_04_9735.jpg', '/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_15_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_25_9752.jpg
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_34_9581.jpg
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_45_10805.jpg
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_55_9679.jpg
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_57_04_9735.jpg
/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_15_10691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.597654104232788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:30:12.337308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_25_9752.jpg', '/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_34_9581.jpg', '/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_45_10805.jpg', '/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_55_9679.jpg', '/home/pi/Desktop/images/02122025/10/56/image_02122025_10_57_04_9735.jpg', '/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_15_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_25_9752.jpg
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_34_9581.jpg
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_45_10805.jpg
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_56_55_9679.jpg
/home/pi/Desktop/images/02122025/10/56/image_02122025_10_57_04_9735.jpg
/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_15_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397977030","1397977033","1397977027","1397977043","1397977025","1397977037"],"photo_ids_order":["1397977025","1397977027","1397977030","1397977033","1397977037","1397977043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e34c2ba5dfe1123adaf6a90048611bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3251163061714951473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891074250,"filename":"image_02122025_10_56_45_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba4337014dcd7a50367fdb44ee9c1bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5715917014134670699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891074250,"filename":"image_02122025_10_56_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/5/192e417129da8ca53f62b22fb538e6d9.jpg","text":"TemporaryFile(/tmp/multipartBody3043809738823770350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891074250,"filename":"image_02122025_10_56_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/5/46b0d34940d4a646988901fccd363b3d.jpg","text":"TemporaryFile(/tmp/multipartBody9163023618962698572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891074250,"filename":"image_02122025_10_57_15_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/5/3f586aeceb9ac27df514381e9d285c57.jpg","text":"TemporaryFile(/tmp/multipartBody8189037544409263463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891074250,"filename":"image_02122025_10_56_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/5/38c7d574dac8fd45d7fc364c7ca066c7.jpg","text":"TemporaryFile(/tmp/multipartBody1595754808805066682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891074250,"filename":"image_02122025_10_57_04_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397977030","file1":"1397977027","file0":"1397977025","file4":"1397977037","file5":"1397977043","file3":"1397977033"},"map_files_photo_id_array":[{"photo_id":"1397977043","filename":"file5"},{"photo_id":"1397977030","filename":"file2"},{"photo_id":"1397977037","filename":"file4"},{"photo_id":"1397977027","filename":"file1"},{"photo_id":"1397977025","filename":"file0"},{"photo_id":"1397977033","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397977030":["hashtag1","hashtag2"]},{"1397977033":["hashtag1","hashtag2"]},{"1397977027":["hashtag1","hashtag2"]},{"1397977043":["hashtag1","hashtag2"]},{"1397977025":["hashtag1","hashtag2"]},{"1397977037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397977030, 1397977033, 1397977027, 1397977043, 1397977025, 1397977037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99352979660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:31:03.236065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_25_9712.jpg', '/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_34_9654.jpg', '/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_45_10599.jpg', '/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_55_9764.jpg', '/home/pi/Desktop/images/02122025/10/57/image_02122025_10_58_04_9585.jpg', '/home/pi/Desktop/images/02122025/10/58/image_02122025_10_58_15_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_25_9712.jpg
/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_34_9654.jpg
/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_45_10599.jpg
/home/pi/Desktop/images/02122025/10/57/image_02122025_10_57_55_9764.jpg
/home/pi/Desktop/images/02122025/10/57/image_02122025_10_58_04_9585.jpg
/home/pi/Desktop/images/02122025/10/58/image_02122025_10_58_15_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397977474","1397977156","1397977321","1397977200","1397977175","1397977127"],"photo_ids_order":["1397977127","1397977156","1397977175","1397977200","1397977321","1397977474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aefd164cda2c9027397d07e4a26fbb9d.jpg","text":"TemporaryFile(/tmp/multipartBody2621989195559454527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891125471,"filename":"image_02122025_10_58_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ef1bab65ead55f6c8c1303a9904e64df.jpg","text":"TemporaryFile(/tmp/multipartBody8144664181458162982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891125471,"filename":"image_02122025_10_57_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/5/69e0e6cb572ffa8b88e942dcdcac2889.jpg","text":"TemporaryFile(/tmp/multipartBody1145583926698794311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891125471,"filename":"image_02122025_10_58_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f3bfc6ebae44a31a90679372ae814f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5044775302792482389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891125471,"filename":"image_02122025_10_57_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/5/257135bdf2f3fecee6e4ca063bfad1a4.jpg","text":"TemporaryFile(/tmp/multipartBody5641784050178373012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891125471,"filename":"image_02122025_10_57_45_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/5/04b15fae37c06b6c8b60b4e9c6e8b9a8.jpg","text":"TemporaryFile(/tmp/multipartBody7359309486523010097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891125471,"filename":"image_02122025_10_57_25_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397977175","file1":"1397977156","file0":"1397977127","file4":"1397977321","file5":"1397977474","file3":"1397977200"},"map_files_photo_id_array":[{"photo_id":"1397977474","filename":"file5"},{"photo_id":"1397977175","filename":"file2"},{"photo_id":"1397977321","filename":"file4"},{"photo_id":"1397977156","filename":"file1"},{"photo_id":"1397977127","filename":"file0"},{"photo_id":"1397977200","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397977474":["hashtag1","hashtag2"]},{"1397977156":["hashtag1","hashtag2"]},{"1397977321":["hashtag1","hashtag2"]},{"1397977200":["hashtag1","hashtag2"]},{"1397977175":["hashtag1","hashtag2"]},{"1397977127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397977474, 1397977156, 1397977321, 1397977200, 1397977175, 1397977127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.094404458999634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:32:02.378321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/58/image_02122025_10_58_25_9842.jpg', '/home/pi/Desktop/images/02122025/10/58/image_02122025_10_58_35_9770.jpg', '/home/pi/Desktop/images/02122025/10/58/image_02122025_10_58_44_9853.jpg', '/home/pi/Desktop/images/02122025/10/58/image_02122025_10_58_54_9638.jpg', '/home/pi/Desktop/images/02122025/10/58/image_02122025_10_59_05_10668.jpg', '/home/pi/Desktop/images/02122025/10/59/image_02122025_10_59_15_9979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/58/image_02122025_10_58_25_9842.jpg
/home/pi/Desktop/images/02122025/10/58/image_02122025_10_58_35_9770.jpg
/home/pi/Desktop/images/02122025/10/58/image_02122025_10_58_44_9853.jpg
/home/pi/Desktop/images/02122025/10/58/image_02122025_10_58_54_9638.jpg
/home/pi/Desktop/images/02122025/10/58/image_02122025_10_59_05_10668.jpg
/home/pi/Desktop/images/02122025/10/59/image_02122025_10_59_15_9979.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":["1397977750","1397977677","1397977737","1397977679","1397977675","1397977607"],"photo_ids_order":["1397977607","1397977675","1397977677","1397977679","1397977737","1397977750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7cc47a5f31c18191dc0173613f7fac6a.jpg","text":"TemporaryFile(/tmp/multipartBody5458740848579323249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891185074,"filename":"image_02122025_10_59_15_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/5/d116e0072e4098ff0a7c6d936ba08447.jpg","text":"TemporaryFile(/tmp/multipartBody8319737917787217035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891185074,"filename":"image_02122025_10_58_44_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6ee656373a6b33c467f392e10cf2b142.jpg","text":"TemporaryFile(/tmp/multipartBody3668513688374109364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891185074,"filename":"image_02122025_10_59_05_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/5/c18833f247822a0adb542afb3f53eed0.jpg","text":"TemporaryFile(/tmp/multipartBody6522914643035776052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891185074,"filename":"image_02122025_10_58_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/5/a8c97f0e05759395556c9894a8615fa1.jpg","text":"TemporaryFile(/tmp/multipartBody257368738102049193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891185074,"filename":"image_02122025_10_58_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/5/b887b668dd831676a8113738e54b13d5.jpg","text":"TemporaryFile(/tmp/multipartBody1210071305097590589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891185074,"filename":"image_02122025_10_58_25_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397977677","file1":"1397977675","file0":"1397977607","file4":"1397977737","file5":"1397977750","file3":"1397977679"},"map_files_photo_id_array":[{"photo_id":"1397977750","filename":"file5"},{"photo_id":"1397977677","filename":"file2"},{"photo_id":"1397977737","filename":"file4"},{"photo_id":"1397977675","filename":"file1"},{"photo_id":"1397977607","filename":"file0"},{"photo_id":"1397977679","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397977750":["hashtag1","hashtag2"]},{"1397977677":["hashtag1","hashtag2"]},{"1397977737":["hashtag1","hashtag2"]},{"1397977679":["hashtag1","hashtag2"]},{"1397977675":["hashtag1","hashtag2"]},{"1397977607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397977750, 1397977677, 1397977737, 1397977679, 1397977675, 1397977607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.434048652648926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:33:02.908074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/26/image_05122025_00_27_04_9716.jpg', '/home/pi/Desktop/images/05122025/00/32/image_05122025_00_32_24_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/26/image_05122025_00_27_04_9716.jpg
/home/pi/Desktop/images/05122025/00/32/image_05122025_00_32_24_9732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397977944","1397977987"],"photo_ids_order":["1397977944","1397977987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1fc982bf8cb5c554da41fa465666d051.jpg","text":"TemporaryFile(/tmp/multipartBody4601171563167663195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891243785,"filename":"image_05122025_00_27_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/baaced1f676864329dd360f96d095de2.jpg","text":"TemporaryFile(/tmp/multipartBody5536445286489090230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891243785,"filename":"image_05122025_00_32_24_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397977987","file0":"1397977944"},"map_files_photo_id_array":[{"photo_id":"1397977987","filename":"file1"},{"photo_id":"1397977944","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397977944":["hashtag1","hashtag2"]},{"1397977987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397977944, 1397977987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.498485326766968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:33:22.153779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/32/image_05122025_00_32_44_10866.jpg', '/home/pi/Desktop/images/05122025/00/32/image_05122025_00_33_04_9816.jpg', '/home/pi/Desktop/images/05122025/00/33/image_05122025_00_33_43_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/32/image_05122025_00_32_44_10866.jpg
/home/pi/Desktop/images/05122025/00/32/image_05122025_00_33_04_9816.jpg
/home/pi/Desktop/images/05122025/00/33/image_05122025_00_33_43_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":["1397978104","1397978183","1397978147"],"photo_ids_order":["1397978104","1397978147","1397978183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01d6cab445c9db2a8ccb42bd9aa8eb3b.jpg","text":"TemporaryFile(/tmp/multipartBody2742245045579448125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891262761,"filename":"image_05122025_00_32_44_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/5/13bad1004c246c5508c61e6a678b86f9.jpg","text":"TemporaryFile(/tmp/multipartBody3294205617669314807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891262761,"filename":"image_05122025_00_33_43_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/5/b24f99e3f7e76f509263e54a1cdd1c51.jpg","text":"TemporaryFile(/tmp/multipartBody4969516090019429973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891262761,"filename":"image_05122025_00_33_04_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397978183","file1":"1397978147","file0":"1397978104"},"map_files_photo_id_array":[{"photo_id":"1397978183","filename":"file2"},{"photo_id":"1397978147","filename":"file1"},{"photo_id":"1397978104","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397978104":["hashtag1","hashtag2"]},{"1397978183":["hashtag1","hashtag2"]},{"1397978147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397978104, 1397978183, 1397978147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.982296466827393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:34:02.982606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/10/59/image_02122025_10_59_24_9644.jpg', '/home/pi/Desktop/images/02122025/10/59/image_02122025_10_59_35_10566.jpg', '/home/pi/Desktop/images/02122025/10/59/image_02122025_10_59_45_9829.jpg', '/home/pi/Desktop/images/02122025/11/00/image_02122025_11_00_14_10050.jpg', '/home/pi/Desktop/images/02122025/11/00/image_02122025_11_00_45_9765.jpg', '/home/pi/Desktop/images/02122025/11/00/image_02122025_11_00_54_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/10/59/image_02122025_10_59_24_9644.jpg
/home/pi/Desktop/images/02122025/10/59/image_02122025_10_59_35_10566.jpg
/home/pi/Desktop/images/02122025/10/59/image_02122025_10_59_45_9829.jpg
/home/pi/Desktop/images/02122025/11/00/image_02122025_11_00_14_10050.jpg
/home/pi/Desktop/images/02122025/11/00/image_02122025_11_00_45_9765.jpg
/home/pi/Desktop/images/02122025/11/00/image_02122025_11_00_54_9706.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":["1397978328","1397978297","1397978363","1397978333","1397978275","1397978299"],"photo_ids_order":["1397978275","1397978297","1397978299","1397978328","1397978333","1397978363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ffd04931cafdb52b33f99bb3f946248.jpg","text":"TemporaryFile(/tmp/multipartBody8236255979990075704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891304788,"filename":"image_02122025_11_00_14_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/13b8c672d44203db77af2a24f6cd53e6.jpg","text":"TemporaryFile(/tmp/multipartBody493357138881904627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891304788,"filename":"image_02122025_10_59_35_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad05f35b60b8f575fab3cc69fd74f162.jpg","text":"TemporaryFile(/tmp/multipartBody7482509510423665787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891304788,"filename":"image_02122025_11_00_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/5/c375d42a279a49809e1867d875c75ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6970354774512698332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891304788,"filename":"image_02122025_11_00_45_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/5/a9f337b2e97a9a3b83e71a83598043e8.jpg","text":"TemporaryFile(/tmp/multipartBody1494553974817101757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891304788,"filename":"image_02122025_10_59_24_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/5/7be7384223df8ef319fb5af287dd305c.jpg","text":"TemporaryFile(/tmp/multipartBody2758973996974736186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891304788,"filename":"image_02122025_10_59_45_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397978299","file1":"1397978297","file0":"1397978275","file4":"1397978333","file5":"1397978363","file3":"1397978328"},"map_files_photo_id_array":[{"photo_id":"1397978363","filename":"file5"},{"photo_id":"1397978299","filename":"file2"},{"photo_id":"1397978333","filename":"file4"},{"photo_id":"1397978297","filename":"file1"},{"photo_id":"1397978275","filename":"file0"},{"photo_id":"1397978328","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397978328":["hashtag1","hashtag2"]},{"1397978297":["hashtag1","hashtag2"]},{"1397978363":["hashtag1","hashtag2"]},{"1397978333":["hashtag1","hashtag2"]},{"1397978275":["hashtag1","hashtag2"]},{"1397978299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397978328, 1397978297, 1397978363, 1397978333, 1397978275, 1397978299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45426344871521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:35:03.478731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/33/image_05122025_00_33_54_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/33/image_05122025_00_33_54_10675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397978371"],"photo_id":"1397978371","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/98026918d80b6b772c2c02f760f52c55.jpg","text":"TemporaryFile(/tmp/multipartBody713049369495134220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891364196,"filename":"image_05122025_00_33_54_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397978371"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397978371"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.697350263595581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:35:22.649525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/34/image_05122025_00_34_34_10775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/34/image_05122025_00_34_34_10775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397978372"],"photo_id":"1397978372","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/564402ace55a5f8667a2e7e5b52e0069.jpg","text":"TemporaryFile(/tmp/multipartBody5446858100728268804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891383149,"filename":"image_05122025_00_34_34_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397978372"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397978372"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.38064956665039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:35:42.647801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_16_2757.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_19_2711.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_22_3632.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_25_2721.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_28_2653.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_31_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_16_2757.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_19_2711.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_22_3632.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_25_2721.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_28_2653.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_31_3541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397978385","1397978381","1397978387","1397978386","1397978389","1397978383"],"photo_ids_order":["1397978381","1397978383","1397978385","1397978386","1397978387","1397978389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/df084c3dcae123b33a1ce87d3115f248.jpg","text":"TemporaryFile(/tmp/multipartBody4431052276882153789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891404238,"filename":"image_31102025_17_53_22_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/5/2b68ab92e7754ec29c0883b3007d40c4.jpg","text":"TemporaryFile(/tmp/multipartBody8891495837858314642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891404238,"filename":"image_31102025_17_53_16_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b5d611391088a09f88c7b25e9d1a7b8c.jpg","text":"TemporaryFile(/tmp/multipartBody6957200469191787922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891404238,"filename":"image_31102025_17_53_28_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/5/5708b6bdb4a6828d97ed881e53746f88.jpg","text":"TemporaryFile(/tmp/multipartBody9192372535527829504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891404238,"filename":"image_31102025_17_53_25_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/5/e0a7c4eda49cd5becafb1ef88b818ce3.jpg","text":"TemporaryFile(/tmp/multipartBody6267056782435689319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891404238,"filename":"image_31102025_17_53_31_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/30118782fa4f70ccfc97f59924fcb4e7.jpg","text":"TemporaryFile(/tmp/multipartBody3552406994673835907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891404238,"filename":"image_31102025_17_53_19_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397978385","file1":"1397978383","file0":"1397978381","file4":"1397978387","file5":"1397978389","file3":"1397978386"},"map_files_photo_id_array":[{"photo_id":"1397978389","filename":"file5"},{"photo_id":"1397978385","filename":"file2"},{"photo_id":"1397978387","filename":"file4"},{"photo_id":"1397978383","filename":"file1"},{"photo_id":"1397978381","filename":"file0"},{"photo_id":"1397978386","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397978385":["hashtag1","hashtag2"]},{"1397978381":["hashtag1","hashtag2"]},{"1397978387":["hashtag1","hashtag2"]},{"1397978386":["hashtag1","hashtag2"]},{"1397978389":["hashtag1","hashtag2"]},{"1397978383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397978385, 1397978381, 1397978387, 1397978386, 1397978389, 1397978383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37782645225525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:36:22.787904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_34_2747.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_37_2798.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_40_3708.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_43_2748.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_46_2657.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_49_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_34_2747.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_37_2798.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_40_3708.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_43_2748.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_46_2657.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_49_3581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397978403","1397978400","1397978405","1397978395","1397978398","1397978407"],"photo_ids_order":["1397978395","1397978398","1397978400","1397978403","1397978405","1397978407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bd759592c10cff641a5faf3d95ae4152.jpg","text":"TemporaryFile(/tmp/multipartBody6307606857215251776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891444388,"filename":"image_31102025_17_53_43_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/5/79943f5bcd2b93206f7b2fe75e5f2e65.jpg","text":"TemporaryFile(/tmp/multipartBody408982431426275835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891444388,"filename":"image_31102025_17_53_40_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/97c276a28693c6122fb0bbdffc96bf15.jpg","text":"TemporaryFile(/tmp/multipartBody7402491030691122639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891444388,"filename":"image_31102025_17_53_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/5/f66f99651e26ff24c9a224fc78483134.jpg","text":"TemporaryFile(/tmp/multipartBody807735083275326988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891444388,"filename":"image_31102025_17_53_34_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c76a92ec0bcf1a7f7b7646afbfee21c.jpg","text":"TemporaryFile(/tmp/multipartBody4293344874340081659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891444388,"filename":"image_31102025_17_53_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/5/3eed1ba6c44de7ad1fb8a27d3f878510.jpg","text":"TemporaryFile(/tmp/multipartBody6550099982039578036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891444388,"filename":"image_31102025_17_53_49_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397978400","file1":"1397978398","file0":"1397978395","file4":"1397978405","file5":"1397978407","file3":"1397978403"},"map_files_photo_id_array":[{"photo_id":"1397978407","filename":"file5"},{"photo_id":"1397978400","filename":"file2"},{"photo_id":"1397978405","filename":"file4"},{"photo_id":"1397978398","filename":"file1"},{"photo_id":"1397978395","filename":"file0"},{"photo_id":"1397978403","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397978403":["hashtag1","hashtag2"]},{"1397978400":["hashtag1","hashtag2"]},{"1397978405":["hashtag1","hashtag2"]},{"1397978395":["hashtag1","hashtag2"]},{"1397978398":["hashtag1","hashtag2"]},{"1397978407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397978403, 1397978400, 1397978405, 1397978395, 1397978398, 1397978407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21011781692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:37:02.587629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/00/image_02122025_11_01_05_10661.jpg', '/home/pi/Desktop/images/02122025/11/01/image_02122025_11_01_15_9683.jpg', '/home/pi/Desktop/images/02122025/11/01/image_02122025_11_01_25_9821.jpg', '/home/pi/Desktop/images/02122025/11/01/image_02122025_11_01_35_10655.jpg', '/home/pi/Desktop/images/02122025/11/01/image_02122025_11_01_45_9648.jpg', '/home/pi/Desktop/images/02122025/11/01/image_02122025_11_01_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/00/image_02122025_11_01_05_10661.jpg
/home/pi/Desktop/images/02122025/11/01/image_02122025_11_01_15_9683.jpg
/home/pi/Desktop/images/02122025/11/01/image_02122025_11_01_25_9821.jpg
/home/pi/Desktop/images/02122025/11/01/image_02122025_11_01_35_10655.jpg
/home/pi/Desktop/images/02122025/11/01/image_02122025_11_01_45_9648.jpg
/home/pi/Desktop/images/02122025/11/01/image_02122025_11_01_55_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397978421","1397978415","1397978418","1397978409","1397978411","1397978413"],"photo_ids_order":["1397978409","1397978411","1397978413","1397978415","1397978418","1397978421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e974c117f942609d1d7920cce32988fe.jpg","text":"TemporaryFile(/tmp/multipartBody8396055200281106386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891484277,"filename":"image_02122025_11_01_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/5/fc494a9b0be2e23de7c61f70e61f908c.jpg","text":"TemporaryFile(/tmp/multipartBody357177577349098177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891484277,"filename":"image_02122025_11_01_35_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/5/f6167069456a2b788dca886b8e30a74e.jpg","text":"TemporaryFile(/tmp/multipartBody7227957023354855259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891484277,"filename":"image_02122025_11_01_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f54ed9751e3205874a6e7efdf2ff4b5.jpg","text":"TemporaryFile(/tmp/multipartBody5255114533437164369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891484277,"filename":"image_02122025_11_01_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6ed097ee2cb270281b401ef9bcfea0c4.jpg","text":"TemporaryFile(/tmp/multipartBody4885833004284905625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891484277,"filename":"image_02122025_11_01_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/5/4eb58d823e74788704041da788f2942e.jpg","text":"TemporaryFile(/tmp/multipartBody4222374726470286088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891484277,"filename":"image_02122025_11_01_25_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397978413","file1":"1397978411","file0":"1397978409","file4":"1397978418","file5":"1397978421","file3":"1397978415"},"map_files_photo_id_array":[{"photo_id":"1397978421","filename":"file5"},{"photo_id":"1397978413","filename":"file2"},{"photo_id":"1397978418","filename":"file4"},{"photo_id":"1397978411","filename":"file1"},{"photo_id":"1397978409","filename":"file0"},{"photo_id":"1397978415","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397978421":["hashtag1","hashtag2"]},{"1397978415":["hashtag1","hashtag2"]},{"1397978418":["hashtag1","hashtag2"]},{"1397978409":["hashtag1","hashtag2"]},{"1397978411":["hashtag1","hashtag2"]},{"1397978413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397978421, 1397978415, 1397978418, 1397978409, 1397978411, 1397978413)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.79079556465149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:38:02.597189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/34/image_05122025_00_35_04_10759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/34/image_05122025_00_35_04_10759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397978569"],"photo_id":"1397978569","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2642438fc6f24a10701cee057c5e697b.jpg","text":"TemporaryFile(/tmp/multipartBody279369061239895824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891543179,"filename":"image_05122025_00_35_04_10759.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397978569"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397978569"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.263294696807861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:38:22.147456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_52_2707.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_55_2608.jpg', '/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_58_3815.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_01_2586.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_04_2703.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_07_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_52_2707.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_55_2608.jpg
/home/pi/Desktop/images/31102025/17/53/image_31102025_17_53_58_3815.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_01_2586.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_04_2703.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_07_3549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397978789","1397978768","1397978756","1397978765","1397978827","1397978836"],"photo_ids_order":["1397978756","1397978765","1397978768","1397978789","1397978827","1397978836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f152025fbf3f01899316e3c7a263cba.jpg","text":"TemporaryFile(/tmp/multipartBody1988118847140011239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891563805,"filename":"image_31102025_17_54_01_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d56e052938b75d5ec5c5f101044ba1f6.jpg","text":"TemporaryFile(/tmp/multipartBody3400395681690605648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891563805,"filename":"image_31102025_17_53_58_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01e4c4bb0535d287267a56d65c5d84c4.jpg","text":"TemporaryFile(/tmp/multipartBody3963281845613910508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891563805,"filename":"image_31102025_17_53_52_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/5/f39e271958f842b8511fb60ce2b352fe.jpg","text":"TemporaryFile(/tmp/multipartBody4121530999561486603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891563805,"filename":"image_31102025_17_53_55_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/5/0b1d26c3057bb474197562c12ae975a5.jpg","text":"TemporaryFile(/tmp/multipartBody4183729213807499614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891563805,"filename":"image_31102025_17_54_04_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/5/28a200cf6f8aeae3675028b71fbcb84f.jpg","text":"TemporaryFile(/tmp/multipartBody8816837898287437418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891563805,"filename":"image_31102025_17_54_07_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397978768","file1":"1397978765","file0":"1397978756","file4":"1397978827","file5":"1397978836","file3":"1397978789"},"map_files_photo_id_array":[{"photo_id":"1397978836","filename":"file5"},{"photo_id":"1397978768","filename":"file2"},{"photo_id":"1397978827","filename":"file4"},{"photo_id":"1397978765","filename":"file1"},{"photo_id":"1397978756","filename":"file0"},{"photo_id":"1397978789","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397978789":["hashtag1","hashtag2"]},{"1397978768":["hashtag1","hashtag2"]},{"1397978756":["hashtag1","hashtag2"]},{"1397978765":["hashtag1","hashtag2"]},{"1397978827":["hashtag1","hashtag2"]},{"1397978836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397978789, 1397978768, 1397978756, 1397978765, 1397978827, 1397978836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33540320396423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:39:03.427788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/01/image_02122025_11_02_05_10740.jpg', '/home/pi/Desktop/images/02122025/11/02/image_02122025_11_02_15_9813.jpg', '/home/pi/Desktop/images/02122025/11/02/image_02122025_11_02_25_9746.jpg', '/home/pi/Desktop/images/02122025/11/02/image_02122025_11_02_35_9666.jpg', '/home/pi/Desktop/images/02122025/11/02/image_02122025_11_02_44_9836.jpg', '/home/pi/Desktop/images/02122025/11/02/image_02122025_11_02_55_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/01/image_02122025_11_02_05_10740.jpg
/home/pi/Desktop/images/02122025/11/02/image_02122025_11_02_15_9813.jpg
/home/pi/Desktop/images/02122025/11/02/image_02122025_11_02_25_9746.jpg
/home/pi/Desktop/images/02122025/11/02/image_02122025_11_02_35_9666.jpg
/home/pi/Desktop/images/02122025/11/02/image_02122025_11_02_44_9836.jpg
/home/pi/Desktop/images/02122025/11/02/image_02122025_11_02_55_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397978937","1397978910","1397978907","1397978978","1397978894","1397978908"],"photo_ids_order":["1397978894","1397978907","1397978908","1397978910","1397978937","1397978978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c61f59bf30116f4316ea644ca86dc11.jpg","text":"TemporaryFile(/tmp/multipartBody3674268482591672769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891605222,"filename":"image_02122025_11_02_44_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b97808a199f8f72964ebc66727bd0c3d.jpg","text":"TemporaryFile(/tmp/multipartBody1556350802085288412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891605222,"filename":"image_02122025_11_02_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/5/6de7b792a81f2946c26e9570f49cf15b.jpg","text":"TemporaryFile(/tmp/multipartBody5596005114042997662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891605222,"filename":"image_02122025_11_02_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/5/c77141dcb598b594371a912f97516f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5667092611646688525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891605222,"filename":"image_02122025_11_02_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/5/27b2035a7ae6b0da29e3850c5d81c0cd.jpg","text":"TemporaryFile(/tmp/multipartBody4825482087205234840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891605222,"filename":"image_02122025_11_02_05_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/5/1df2b4420ca360f545f735f492f263ed.jpg","text":"TemporaryFile(/tmp/multipartBody8038645689953212249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891605222,"filename":"image_02122025_11_02_25_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397978908","file1":"1397978907","file0":"1397978894","file4":"1397978937","file5":"1397978978","file3":"1397978910"},"map_files_photo_id_array":[{"photo_id":"1397978978","filename":"file5"},{"photo_id":"1397978908","filename":"file2"},{"photo_id":"1397978937","filename":"file4"},{"photo_id":"1397978907","filename":"file1"},{"photo_id":"1397978894","filename":"file0"},{"photo_id":"1397978910","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397978937":["hashtag1","hashtag2"]},{"1397978910":["hashtag1","hashtag2"]},{"1397978907":["hashtag1","hashtag2"]},{"1397978978":["hashtag1","hashtag2"]},{"1397978894":["hashtag1","hashtag2"]},{"1397978908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397978937, 1397978910, 1397978907, 1397978978, 1397978894, 1397978908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34229922294617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:39:42.340528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_10_2718.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_13_2641.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_16_3625.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_19_2707.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_22_2608.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_25_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_10_2718.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_13_2641.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_16_3625.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_19_2707.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_22_2608.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_25_3603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397979531","1397979758","1397979644","1397979406","1397979285","1397979876"],"photo_ids_order":["1397979285","1397979406","1397979531","1397979644","1397979758","1397979876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cb70722d7afe74b4e6a2732d0a8d6de1.jpg","text":"TemporaryFile(/tmp/multipartBody2980860255709815815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891643954,"filename":"image_31102025_17_54_16_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/5/801a471b93896e502ea02a8a1370da38.jpg","text":"TemporaryFile(/tmp/multipartBody1925482739781220015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891643954,"filename":"image_31102025_17_54_22_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/5/3298bffa7e2154a970c6186ac9043a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7446884793632538181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891643954,"filename":"image_31102025_17_54_19_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/5/8c63cb3e3bb6276aacda7624f3d1098c.jpg","text":"TemporaryFile(/tmp/multipartBody6296033895344413597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891643954,"filename":"image_31102025_17_54_13_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/5/6b2456110b08cbae18b4c5d92e92982f.jpg","text":"TemporaryFile(/tmp/multipartBody2405197233452880459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891643954,"filename":"image_31102025_17_54_10_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/5/d560ceba5f49a66a034ce6155a97c69b.jpg","text":"TemporaryFile(/tmp/multipartBody2247788077432513025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891643954,"filename":"image_31102025_17_54_25_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397979531","file1":"1397979406","file0":"1397979285","file4":"1397979758","file5":"1397979876","file3":"1397979644"},"map_files_photo_id_array":[{"photo_id":"1397979876","filename":"file5"},{"photo_id":"1397979531","filename":"file2"},{"photo_id":"1397979758","filename":"file4"},{"photo_id":"1397979406","filename":"file1"},{"photo_id":"1397979285","filename":"file0"},{"photo_id":"1397979644","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397979531":["hashtag1","hashtag2"]},{"1397979758":["hashtag1","hashtag2"]},{"1397979644":["hashtag1","hashtag2"]},{"1397979406":["hashtag1","hashtag2"]},{"1397979285":["hashtag1","hashtag2"]},{"1397979876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397979531, 1397979758, 1397979644, 1397979406, 1397979285, 1397979876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7816436290741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:40:22.909270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/37/image_05122025_00_37_24_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/37/image_05122025_00_37_24_10776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397980154"],"photo_id":"1397980154","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/39745aa6f0151ace13d0537b0c6e3cc6.jpg","text":"TemporaryFile(/tmp/multipartBody7636482838167753199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891683402,"filename":"image_05122025_00_37_24_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397980154"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397980154"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.566003322601318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:40:42.953178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_28_2564.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_31_2746.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_34_3813.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_37_2668.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_40_2659.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_43_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_28_2564.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_31_2746.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_34_3813.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_37_2668.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_40_2659.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_43_3553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397980353","1397980394","1397980343","1397980319","1397980400","1397980342"],"photo_ids_order":["1397980319","1397980342","1397980343","1397980353","1397980394","1397980400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4883345eb85f7ff2aa773b0ed05fc93c.jpg","text":"TemporaryFile(/tmp/multipartBody1797341111169049609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891704558,"filename":"image_31102025_17_54_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/5/14ea9ed8f0965cf65b67ee501ebffebe.jpg","text":"TemporaryFile(/tmp/multipartBody6503370752789309894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891704558,"filename":"image_31102025_17_54_40_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fdd76d6e27b233068aadb747ef41e47e.jpg","text":"TemporaryFile(/tmp/multipartBody5024848212108729779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891704558,"filename":"image_31102025_17_54_34_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/5/257bae4a59f459b6f5349e559d4b10f5.jpg","text":"TemporaryFile(/tmp/multipartBody1630067868618182010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891704558,"filename":"image_31102025_17_54_28_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2df36ef8f79f3304f230630912fafff6.jpg","text":"TemporaryFile(/tmp/multipartBody2265404422607671401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891704558,"filename":"image_31102025_17_54_43_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/5/e246f936dbe90660917ad7e18ab18b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2748166367473529392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891704558,"filename":"image_31102025_17_54_31_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397980343","file1":"1397980342","file0":"1397980319","file4":"1397980394","file5":"1397980400","file3":"1397980353"},"map_files_photo_id_array":[{"photo_id":"1397980400","filename":"file5"},{"photo_id":"1397980343","filename":"file2"},{"photo_id":"1397980394","filename":"file4"},{"photo_id":"1397980342","filename":"file1"},{"photo_id":"1397980319","filename":"file0"},{"photo_id":"1397980353","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397980353":["hashtag1","hashtag2"]},{"1397980394":["hashtag1","hashtag2"]},{"1397980343":["hashtag1","hashtag2"]},{"1397980319":["hashtag1","hashtag2"]},{"1397980400":["hashtag1","hashtag2"]},{"1397980342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397980353, 1397980394, 1397980343, 1397980319, 1397980400, 1397980342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20063328742981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:41:32.098563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/02/image_02122025_11_03_05_9736.jpg', '/home/pi/Desktop/images/02122025/11/03/image_02122025_11_03_14_9636.jpg', '/home/pi/Desktop/images/02122025/11/03/image_02122025_11_03_25_10715.jpg', '/home/pi/Desktop/images/02122025/11/03/image_02122025_11_03_35_9537.jpg', '/home/pi/Desktop/images/02122025/11/03/image_02122025_11_03_55_10765.jpg', '/home/pi/Desktop/images/02122025/11/03/image_02122025_11_04_05_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/02/image_02122025_11_03_05_9736.jpg
/home/pi/Desktop/images/02122025/11/03/image_02122025_11_03_14_9636.jpg
/home/pi/Desktop/images/02122025/11/03/image_02122025_11_03_25_10715.jpg
/home/pi/Desktop/images/02122025/11/03/image_02122025_11_03_35_9537.jpg
/home/pi/Desktop/images/02122025/11/03/image_02122025_11_03_55_10765.jpg
/home/pi/Desktop/images/02122025/11/03/image_02122025_11_04_05_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":["1397980512","1397980897","1397980480","1397980840","1397980720","1397980584"],"photo_ids_order":["1397980480","1397980512","1397980584","1397980720","1397980840","1397980897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/10bf14afffd04d740ed0791e30ffc4c9.jpg","text":"TemporaryFile(/tmp/multipartBody7154656962559335845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891754258,"filename":"image_02122025_11_03_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/5/7b5b858a546575abc02cb16567821d67.jpg","text":"TemporaryFile(/tmp/multipartBody5813579464280252283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891754258,"filename":"image_02122025_11_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/5/1cf0c7399109e6eadf62e83e9dd3dfb0.jpg","text":"TemporaryFile(/tmp/multipartBody9150371691901677858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891754258,"filename":"image_02122025_11_03_05_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a82d367d6aaafc852b8ae1bbd99eb777.jpg","text":"TemporaryFile(/tmp/multipartBody8713913881856196726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891754258,"filename":"image_02122025_11_03_55_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/541bbb9c3131378b9bcafb2a8d924f39.jpg","text":"TemporaryFile(/tmp/multipartBody640662752703347512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891754258,"filename":"image_02122025_11_03_35_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/5/58b67cf25f42f0ffae0f0758923c1ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6812132731737720518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891754258,"filename":"image_02122025_11_03_25_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397980584","file1":"1397980512","file0":"1397980480","file4":"1397980840","file5":"1397980897","file3":"1397980720"},"map_files_photo_id_array":[{"photo_id":"1397980897","filename":"file5"},{"photo_id":"1397980584","filename":"file2"},{"photo_id":"1397980840","filename":"file4"},{"photo_id":"1397980512","filename":"file1"},{"photo_id":"1397980480","filename":"file0"},{"photo_id":"1397980720","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397980512":["hashtag1","hashtag2"]},{"1397980897":["hashtag1","hashtag2"]},{"1397980480":["hashtag1","hashtag2"]},{"1397980840":["hashtag1","hashtag2"]},{"1397980720":["hashtag1","hashtag2"]},{"1397980584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397980512, 1397980897, 1397980480, 1397980840, 1397980720, 1397980584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.05310559272766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:42:22.286433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/40/image_05122025_00_40_44_9774.jpg', '/home/pi/Desktop/images/05122025/00/41/image_05122025_00_41_34_9791.jpg', '/home/pi/Desktop/images/05122025/00/41/image_05122025_00_41_44_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/40/image_05122025_00_40_44_9774.jpg
/home/pi/Desktop/images/05122025/00/41/image_05122025_00_41_34_9791.jpg
/home/pi/Desktop/images/05122025/00/41/image_05122025_00_41_44_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":["1397980971","1397980965","1397980967"],"photo_ids_order":["1397980965","1397980967","1397980971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff1e6a6fe90f2156cb69958409825cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2232006361969189310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891803923,"filename":"image_05122025_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/5/8f804dc0e42f101e997efbd3ffa948cf.jpg","text":"TemporaryFile(/tmp/multipartBody1548981387711033665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891803923,"filename":"image_05122025_00_40_44_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/575047d1776256db005ac4e1583d755a.jpg","text":"TemporaryFile(/tmp/multipartBody8886869671421573628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891803923,"filename":"image_05122025_00_41_34_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397980971","file1":"1397980967","file0":"1397980965"},"map_files_photo_id_array":[{"photo_id":"1397980971","filename":"file2"},{"photo_id":"1397980967","filename":"file1"},{"photo_id":"1397980965","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397980971":["hashtag1","hashtag2"]},{"1397980965":["hashtag1","hashtag2"]},{"1397980967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397980971, 1397980965, 1397980967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.819249153137207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:43:03.120506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/04/image_02122025_11_04_14_9542.jpg', '/home/pi/Desktop/images/02122025/11/04/image_02122025_11_04_25_10850.jpg', '/home/pi/Desktop/images/02122025/11/04/image_02122025_11_04_35_9655.jpg', '/home/pi/Desktop/images/02122025/11/04/image_02122025_11_04_45_9710.jpg', '/home/pi/Desktop/images/02122025/11/04/image_02122025_11_04_54_9750.jpg', '/home/pi/Desktop/images/02122025/11/05/image_02122025_11_05_14_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/04/image_02122025_11_04_14_9542.jpg
/home/pi/Desktop/images/02122025/11/04/image_02122025_11_04_25_10850.jpg
/home/pi/Desktop/images/02122025/11/04/image_02122025_11_04_35_9655.jpg
/home/pi/Desktop/images/02122025/11/04/image_02122025_11_04_45_9710.jpg
/home/pi/Desktop/images/02122025/11/04/image_02122025_11_04_54_9750.jpg
/home/pi/Desktop/images/02122025/11/05/image_02122025_11_05_14_10049.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":["1397981198","1397981141","1397981201","1397981179","1397981167","1397981152"],"photo_ids_order":["1397981141","1397981152","1397981167","1397981179","1397981198","1397981201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0174dc912a39ed3b5e9b31f06d1318a0.jpg","text":"TemporaryFile(/tmp/multipartBody4442567313212480914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891847183,"filename":"image_02122025_11_04_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/5/51a9581f69755815778d246d1be4b2c4.jpg","text":"TemporaryFile(/tmp/multipartBody8713923870110424193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891847183,"filename":"image_02122025_11_04_14_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/5/5b30e067f79dea1b77f74de257e60d6c.jpg","text":"TemporaryFile(/tmp/multipartBody9115257672973408506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891847183,"filename":"image_02122025_11_05_14_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ed49496b6d2ea33adcdf47e799807b9.jpg","text":"TemporaryFile(/tmp/multipartBody4663131441456215115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891847183,"filename":"image_02122025_11_04_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/5/0a413da33f12f5b2a6b167f94ac0f334.jpg","text":"TemporaryFile(/tmp/multipartBody6940733280276890838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891847183,"filename":"image_02122025_11_04_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/5/3cf532c46d44d1f8939fbc87be3ee2af.jpg","text":"TemporaryFile(/tmp/multipartBody390359349558323958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891847183,"filename":"image_02122025_11_04_25_10850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397981167","file1":"1397981152","file0":"1397981141","file4":"1397981198","file5":"1397981201","file3":"1397981179"},"map_files_photo_id_array":[{"photo_id":"1397981201","filename":"file5"},{"photo_id":"1397981167","filename":"file2"},{"photo_id":"1397981198","filename":"file4"},{"photo_id":"1397981152","filename":"file1"},{"photo_id":"1397981141","filename":"file0"},{"photo_id":"1397981179","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397981198":["hashtag1","hashtag2"]},{"1397981141":["hashtag1","hashtag2"]},{"1397981201":["hashtag1","hashtag2"]},{"1397981179":["hashtag1","hashtag2"]},{"1397981167":["hashtag1","hashtag2"]},{"1397981152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397981198, 1397981141, 1397981201, 1397981179, 1397981167, 1397981152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.770092725753784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:44:03.382209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/41/image_05122025_00_41_54_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/41/image_05122025_00_41_54_9788.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4399833679199219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:44:12.797724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/05/image_02122025_11_05_25_10713.jpg', '/home/pi/Desktop/images/02122025/11/05/image_02122025_11_05_34_9700.jpg', '/home/pi/Desktop/images/02122025/11/05/image_02122025_11_05_44_9592.jpg', '/home/pi/Desktop/images/02122025/11/05/image_02122025_11_05_55_10665.jpg', '/home/pi/Desktop/images/02122025/11/05/image_02122025_11_06_04_9657.jpg', '/home/pi/Desktop/images/02122025/11/06/image_02122025_11_06_14_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/05/image_02122025_11_05_25_10713.jpg
/home/pi/Desktop/images/02122025/11/05/image_02122025_11_05_34_9700.jpg
/home/pi/Desktop/images/02122025/11/05/image_02122025_11_05_44_9592.jpg
/home/pi/Desktop/images/02122025/11/05/image_02122025_11_05_55_10665.jpg
/home/pi/Desktop/images/02122025/11/05/image_02122025_11_06_04_9657.jpg
/home/pi/Desktop/images/02122025/11/06/image_02122025_11_06_14_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397981223","1397981226","1397981220","1397981214","1397981228","1397981216"],"photo_ids_order":["1397981214","1397981216","1397981220","1397981223","1397981226","1397981228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf8eab4b48cc76fd4a3bba3d0115f880.jpg","text":"TemporaryFile(/tmp/multipartBody8073022303489169329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891915993,"filename":"image_02122025_11_05_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/5/591539252bab6cf54f65646ec064341b.jpg","text":"TemporaryFile(/tmp/multipartBody4485388381367560358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891915993,"filename":"image_02122025_11_06_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/5/1ff6d7ff147b8103ad709d77af84f3e8.jpg","text":"TemporaryFile(/tmp/multipartBody3391165574599523788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891915993,"filename":"image_02122025_11_05_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/5/1bf46892601037cb9e74d259b5159dcb.jpg","text":"TemporaryFile(/tmp/multipartBody6740086057529263705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891915993,"filename":"image_02122025_11_05_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/5/0fff1371f538301e241589c358bf9d17.jpg","text":"TemporaryFile(/tmp/multipartBody7861457686173827165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891915993,"filename":"image_02122025_11_06_14_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b554da856a23850aa1497fd8209c450.jpg","text":"TemporaryFile(/tmp/multipartBody4572935292538414715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891915993,"filename":"image_02122025_11_05_34_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397981220","file1":"1397981216","file0":"1397981214","file4":"1397981226","file5":"1397981228","file3":"1397981223"},"map_files_photo_id_array":[{"photo_id":"1397981228","filename":"file5"},{"photo_id":"1397981220","filename":"file2"},{"photo_id":"1397981226","filename":"file4"},{"photo_id":"1397981216","filename":"file1"},{"photo_id":"1397981214","filename":"file0"},{"photo_id":"1397981223","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397981223":["hashtag1","hashtag2"]},{"1397981226":["hashtag1","hashtag2"]},{"1397981220":["hashtag1","hashtag2"]},{"1397981214":["hashtag1","hashtag2"]},{"1397981228":["hashtag1","hashtag2"]},{"1397981216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397981223, 1397981226, 1397981220, 1397981214, 1397981228, 1397981216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42521834373474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:45:02.634639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/41/image_05122025_00_41_54_9788.jpg', '/home/pi/Desktop/images/05122025/00/43/image_05122025_00_43_54_9721.jpg', '/home/pi/Desktop/images/05122025/00/44/image_05122025_00_44_13_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/41/image_05122025_00_41_54_9788.jpg
/home/pi/Desktop/images/05122025/00/43/image_05122025_00_43_54_9721.jpg
/home/pi/Desktop/images/05122025/00/44/image_05122025_00_44_13_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":["1397981252","1397981254","1397981256"],"photo_ids_order":["1397981252","1397981254","1397981256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/107b1a7d479d9825936245954b243ec2.jpg","text":"TemporaryFile(/tmp/multipartBody5896784516976228040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891963674,"filename":"image_05122025_00_41_54_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3884ec32df1bd2e6298d27cf474961f3.jpg","text":"TemporaryFile(/tmp/multipartBody6700011461800975185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891963674,"filename":"image_05122025_00_43_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a62b41b1fdeb6a47bdec97aa3cc5766e.jpg","text":"TemporaryFile(/tmp/multipartBody5013464473464944720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764891963674,"filename":"image_05122025_00_44_13_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397981256","file1":"1397981254","file0":"1397981252"},"map_files_photo_id_array":[{"photo_id":"1397981256","filename":"file2"},{"photo_id":"1397981254","filename":"file1"},{"photo_id":"1397981252","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397981252":["hashtag1","hashtag2"]},{"1397981254":["hashtag1","hashtag2"]},{"1397981256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397981252, 1397981254, 1397981256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.69786047935486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:45:41.926307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_46_2689.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_49_2650.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_52_3713.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_55_2567.jpg', '/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_58_2691.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_46_2689.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_49_2650.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_52_3713.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_55_2567.jpg
/home/pi/Desktop/images/31102025/17/54/image_31102025_17_54_58_2691.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397981265","1397981270","1397981267","1397981269","1397981271","1397981268"],"photo_ids_order":["1397981265","1397981267","1397981268","1397981269","1397981270","1397981271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/deac291cf2acbc751ee067e0673f9622.jpg","text":"TemporaryFile(/tmp/multipartBody2061405123000725318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892003560,"filename":"image_31102025_17_54_46_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/5/290d2f069e97ab5987119500becc0056.jpg","text":"TemporaryFile(/tmp/multipartBody2941415032599224992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892003560,"filename":"image_31102025_17_54_58_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/5/5ce8518fcbbd3ff7df820ccdb3a6d212.jpg","text":"TemporaryFile(/tmp/multipartBody2824712532603284458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892003560,"filename":"image_31102025_17_54_49_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/5/39d97b699e8df4f5bde07114b530aa6e.jpg","text":"TemporaryFile(/tmp/multipartBody7611765893004213557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892003560,"filename":"image_31102025_17_54_55_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/5/2285bf3490eaf9e1f8e9d3f8f1c06f6f.jpg","text":"TemporaryFile(/tmp/multipartBody3522952353566805249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892003560,"filename":"image_31102025_17_55_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/653b327849e638ed1c81e734186660ca.jpg","text":"TemporaryFile(/tmp/multipartBody830316997023881562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892003560,"filename":"image_31102025_17_54_52_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397981268","file1":"1397981267","file0":"1397981265","file4":"1397981270","file5":"1397981271","file3":"1397981269"},"map_files_photo_id_array":[{"photo_id":"1397981271","filename":"file5"},{"photo_id":"1397981268","filename":"file2"},{"photo_id":"1397981270","filename":"file4"},{"photo_id":"1397981267","filename":"file1"},{"photo_id":"1397981265","filename":"file0"},{"photo_id":"1397981269","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397981265":["hashtag1","hashtag2"]},{"1397981270":["hashtag1","hashtag2"]},{"1397981267":["hashtag1","hashtag2"]},{"1397981269":["hashtag1","hashtag2"]},{"1397981271":["hashtag1","hashtag2"]},{"1397981268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397981265, 1397981270, 1397981267, 1397981269, 1397981271, 1397981268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9468309879303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:46:22.099139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/44/image_05122025_00_44_43_9731.jpg', '/home/pi/Desktop/images/05122025/00/45/image_05122025_00_45_44_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/44/image_05122025_00_44_43_9731.jpg
/home/pi/Desktop/images/05122025/00/45/image_05122025_00_45_44_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397981279","1397981276"],"photo_ids_order":["1397981276","1397981279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9865fad2c9535fb925edfbda51bcb110.jpg","text":"TemporaryFile(/tmp/multipartBody6694968188331079337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892042641,"filename":"image_05122025_00_45_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/5/03e49f85f02050f8f5e7ff0574d47f16.jpg","text":"TemporaryFile(/tmp/multipartBody8867856439717305230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892042641,"filename":"image_05122025_00_44_43_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397981279","file0":"1397981276"},"map_files_photo_id_array":[{"photo_id":"1397981279","filename":"file1"},{"photo_id":"1397981276","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397981279":["hashtag1","hashtag2"]},{"1397981276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397981279, 1397981276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.054877758026123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:46:42.129031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_11_3644.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_14_2946.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_16_2687.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_20_3615.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_23_2785.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_25_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_11_3644.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_14_2946.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_16_2687.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_20_3615.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_23_2785.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_25_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":["1397981495","1397981409","1397981447","1397981494","1397981479","1397981452"],"photo_ids_order":["1397981409","1397981447","1397981452","1397981479","1397981494","1397981495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af2599bd637a6e769f17c79260252ae2.jpg","text":"TemporaryFile(/tmp/multipartBody610966442144593087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892063731,"filename":"image_31102025_17_55_25_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/02dbea7f61ab5266e398bb03f11b0ab3.jpg","text":"TemporaryFile(/tmp/multipartBody1528758298029290112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892063731,"filename":"image_31102025_17_55_11_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/5/09856a84dff005722e323cb3d64d4fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6891546684297575369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892063731,"filename":"image_31102025_17_55_14_2946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a031d64797a10736a9bb07cdcf62be7a.jpg","text":"TemporaryFile(/tmp/multipartBody2189213925760953635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892063731,"filename":"image_31102025_17_55_23_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/5/95a0daaa9e4bc441465a8c07a3dab1eb.jpg","text":"TemporaryFile(/tmp/multipartBody3188101410796295919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892063731,"filename":"image_31102025_17_55_20_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/5/0b5d060058d12a94df7f554bda0c2019.jpg","text":"TemporaryFile(/tmp/multipartBody5806480803423828783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892063731,"filename":"image_31102025_17_55_16_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397981452","file1":"1397981447","file0":"1397981409","file4":"1397981494","file5":"1397981495","file3":"1397981479"},"map_files_photo_id_array":[{"photo_id":"1397981495","filename":"file5"},{"photo_id":"1397981452","filename":"file2"},{"photo_id":"1397981494","filename":"file4"},{"photo_id":"1397981447","filename":"file1"},{"photo_id":"1397981409","filename":"file0"},{"photo_id":"1397981479","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397981495":["hashtag1","hashtag2"]},{"1397981409":["hashtag1","hashtag2"]},{"1397981447":["hashtag1","hashtag2"]},{"1397981494":["hashtag1","hashtag2"]},{"1397981479":["hashtag1","hashtag2"]},{"1397981452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397981495, 1397981409, 1397981447, 1397981494, 1397981479, 1397981452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5240261554718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:47:22.364083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_29_3647.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_32_2648.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_34_2745.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_37_2626.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_40_3570.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_43_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_29_3647.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_32_2648.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_34_2745.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_37_2626.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_40_3570.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_43_2548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397981643","1397981636","1397981557","1397981659","1397981605","1397981568"],"photo_ids_order":["1397981557","1397981568","1397981605","1397981636","1397981643","1397981659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/927d4dcc64142a1a755bd8cf92657963.jpg","text":"TemporaryFile(/tmp/multipartBody3537991777736168816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892103949,"filename":"image_31102025_17_55_40_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/5/cffff5ca967354e8f52a941e02e6fc63.jpg","text":"TemporaryFile(/tmp/multipartBody6445236278526186330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892103949,"filename":"image_31102025_17_55_37_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/38fe6251f54638d2f1388cd8bdb9e41f.jpg","text":"TemporaryFile(/tmp/multipartBody5644618106674206692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892103949,"filename":"image_31102025_17_55_29_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/5/d81dff044c3d6bed7fe71cf0ac0ed147.jpg","text":"TemporaryFile(/tmp/multipartBody2313855492773314390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892103949,"filename":"image_31102025_17_55_43_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/64b747a864a49d7a7838f4fc9e3deffd.jpg","text":"TemporaryFile(/tmp/multipartBody3133636355646165969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892103949,"filename":"image_31102025_17_55_34_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/5/9753a76c9e285d94592043dc9ef57268.jpg","text":"TemporaryFile(/tmp/multipartBody7645437934132549173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892103949,"filename":"image_31102025_17_55_32_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397981605","file1":"1397981568","file0":"1397981557","file4":"1397981643","file5":"1397981659","file3":"1397981636"},"map_files_photo_id_array":[{"photo_id":"1397981659","filename":"file5"},{"photo_id":"1397981605","filename":"file2"},{"photo_id":"1397981643","filename":"file4"},{"photo_id":"1397981568","filename":"file1"},{"photo_id":"1397981557","filename":"file0"},{"photo_id":"1397981636","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397981643":["hashtag1","hashtag2"]},{"1397981636":["hashtag1","hashtag2"]},{"1397981557":["hashtag1","hashtag2"]},{"1397981659":["hashtag1","hashtag2"]},{"1397981605":["hashtag1","hashtag2"]},{"1397981568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397981643, 1397981636, 1397981557, 1397981659, 1397981605, 1397981568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.849377393722534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:48:03.011019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/06/image_02122025_11_06_24_9910.jpg', '/home/pi/Desktop/images/02122025/11/06/image_02122025_11_06_35_10661.jpg', '/home/pi/Desktop/images/02122025/11/06/image_02122025_11_06_44_9565.jpg', '/home/pi/Desktop/images/02122025/11/07/image_02122025_11_07_14_9800.jpg', '/home/pi/Desktop/images/02122025/11/07/image_02122025_11_07_24_9640.jpg', '/home/pi/Desktop/images/02122025/11/07/image_02122025_11_07_35_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/06/image_02122025_11_06_24_9910.jpg
/home/pi/Desktop/images/02122025/11/06/image_02122025_11_06_35_10661.jpg
/home/pi/Desktop/images/02122025/11/06/image_02122025_11_06_44_9565.jpg
/home/pi/Desktop/images/02122025/11/07/image_02122025_11_07_14_9800.jpg
/home/pi/Desktop/images/02122025/11/07/image_02122025_11_07_24_9640.jpg
/home/pi/Desktop/images/02122025/11/07/image_02122025_11_07_35_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":["1397981840","1397981801","1397981887","1397981892","1397981889","1397981880"],"photo_ids_order":["1397981801","1397981840","1397981880","1397981887","1397981889","1397981892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8f34c188a090f661eb615bc7b61735e4.jpg","text":"TemporaryFile(/tmp/multipartBody3708925432824111334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892144636,"filename":"image_02122025_11_06_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9e4b1f75a9588231cfb518286ae02833.jpg","text":"TemporaryFile(/tmp/multipartBody7073530959585322276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892144636,"filename":"image_02122025_11_06_24_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/5/b616210fd15917d2ae038a0a14b091f7.jpg","text":"TemporaryFile(/tmp/multipartBody5097138910993843015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892144636,"filename":"image_02122025_11_07_14_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eca53a38d72b575ee8f34709ba4f5a0a.jpg","text":"TemporaryFile(/tmp/multipartBody7727186922834962043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892144636,"filename":"image_02122025_11_07_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/5/eebd99c5e9c4e74a14b1eff23737cf40.jpg","text":"TemporaryFile(/tmp/multipartBody1984802116928472581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892144636,"filename":"image_02122025_11_07_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/5/1eb53f1dd0c1341b32ac3424fa924953.jpg","text":"TemporaryFile(/tmp/multipartBody5115987542360812353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892144636,"filename":"image_02122025_11_06_44_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397981880","file1":"1397981840","file0":"1397981801","file4":"1397981889","file5":"1397981892","file3":"1397981887"},"map_files_photo_id_array":[{"photo_id":"1397981892","filename":"file5"},{"photo_id":"1397981880","filename":"file2"},{"photo_id":"1397981889","filename":"file4"},{"photo_id":"1397981840","filename":"file1"},{"photo_id":"1397981801","filename":"file0"},{"photo_id":"1397981887","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397981840":["hashtag1","hashtag2"]},{"1397981801":["hashtag1","hashtag2"]},{"1397981887":["hashtag1","hashtag2"]},{"1397981892":["hashtag1","hashtag2"]},{"1397981889":["hashtag1","hashtag2"]},{"1397981880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397981840, 1397981801, 1397981887, 1397981892, 1397981889, 1397981880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.619664669036865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 00:48:42.452771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_47_3608.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_49_2803.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_52_2539.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_56_3767.jpg', '/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_58_2757.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_01_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_47_3608.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_49_2803.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_52_2539.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_56_3767.jpg
/home/pi/Desktop/images/31102025/17/55/image_31102025_17_55_58_2757.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_01_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":["1397982235","1397982124","1397981899","1397982346","1397982007","1397981902"],"photo_ids_order":["1397981899","1397981902","1397982007","1397982124","1397982235","1397982346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/35540d51994bf9054d79d5b3901262e8.jpg","text":"TemporaryFile(/tmp/multipartBody4161698596539621779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892184115,"filename":"image_31102025_17_55_58_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/5/cb870704fe3d7e8db667f65fa889de87.jpg","text":"TemporaryFile(/tmp/multipartBody7677663621860888169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892184115,"filename":"image_31102025_17_55_56_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/5/0c5f156f602ba8260700299c2fd02ece.jpg","text":"TemporaryFile(/tmp/multipartBody7031703904192304047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892184115,"filename":"image_31102025_17_55_47_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/5/e7db6cfb75633175cef1cbda73fe4be2.jpg","text":"TemporaryFile(/tmp/multipartBody3987448989259580348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892184115,"filename":"image_31102025_17_56_01_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/5/8a6d09122acf24ebd8ab50f578f5c0fd.jpg","text":"TemporaryFile(/tmp/multipartBody4130285346694642992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892184115,"filename":"image_31102025_17_55_52_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/5/53904dbe99553fd0f5d03c10e31bca82.jpg","text":"TemporaryFile(/tmp/multipartBody3667196140283062413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892184115,"filename":"image_31102025_17_55_49_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397982007","file1":"1397981902","file0":"1397981899","file4":"1397982235","file5":"1397982346","file3":"1397982124"},"map_files_photo_id_array":[{"photo_id":"1397982346","filename":"file5"},{"photo_id":"1397982007","filename":"file2"},{"photo_id":"1397982235","filename":"file4"},{"photo_id":"1397981902","filename":"file1"},{"photo_id":"1397981899","filename":"file0"},{"photo_id":"1397982124","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397982235":["hashtag1","hashtag2"]},{"1397982124":["hashtag1","hashtag2"]},{"1397981899":["hashtag1","hashtag2"]},{"1397982346":["hashtag1","hashtag2"]},{"1397982007":["hashtag1","hashtag2"]},{"1397981902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397982235, 1397982124, 1397981899, 1397982346, 1397982007, 1397981902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96757507324219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:49:22.632207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_05_3633.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_07_2637.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_10_2625.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_16_6077.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_18_1571.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_19_1734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_05_3633.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_07_2637.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_10_2625.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_16_6077.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_18_1571.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_19_1734.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5504629611968994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:49:32.638855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/07/image_02122025_11_07_45_10144.jpg', '/home/pi/Desktop/images/02122025/11/07/image_02122025_11_07_55_9631.jpg', '/home/pi/Desktop/images/02122025/11/08/image_02122025_11_08_15_10757.jpg', '/home/pi/Desktop/images/02122025/11/08/image_02122025_11_08_25_9975.jpg', '/home/pi/Desktop/images/02122025/11/08/image_02122025_11_08_34_9550.jpg', '/home/pi/Desktop/images/02122025/11/08/image_02122025_11_08_55_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/07/image_02122025_11_07_45_10144.jpg
/home/pi/Desktop/images/02122025/11/07/image_02122025_11_07_55_9631.jpg
/home/pi/Desktop/images/02122025/11/08/image_02122025_11_08_15_10757.jpg
/home/pi/Desktop/images/02122025/11/08/image_02122025_11_08_25_9975.jpg
/home/pi/Desktop/images/02122025/11/08/image_02122025_11_08_34_9550.jpg
/home/pi/Desktop/images/02122025/11/08/image_02122025_11_08_55_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397983112","1397983075","1397983194","1397983026","1397983154","1397983070"],"photo_ids_order":["1397983026","1397983070","1397983075","1397983112","1397983154","1397983194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49c08d23524cfb225b1244acfb8d3e49.jpg","text":"TemporaryFile(/tmp/multipartBody8766125396914717719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892234727,"filename":"image_02122025_11_08_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/5/ffa0a06728a6ddadf1c936af12bdf235.jpg","text":"TemporaryFile(/tmp/multipartBody4213518403429212224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892234727,"filename":"image_02122025_11_08_15_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/52c9c46947b55b71cbc594c4c8561377.jpg","text":"TemporaryFile(/tmp/multipartBody61287618760262223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892234727,"filename":"image_02122025_11_08_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/5/67c94af2f030df33683e3539770569c6.jpg","text":"TemporaryFile(/tmp/multipartBody6888413942930525054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892234727,"filename":"image_02122025_11_07_45_10144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ea3e44e5d62a2de9fcb1b2f9c0f8d67.jpg","text":"TemporaryFile(/tmp/multipartBody2638163268693163177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892234727,"filename":"image_02122025_11_08_34_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/5/3b05c90622a21995a8d957dc0f3b06b4.jpg","text":"TemporaryFile(/tmp/multipartBody5296604527798843340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892234727,"filename":"image_02122025_11_07_55_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397983075","file1":"1397983070","file0":"1397983026","file4":"1397983154","file5":"1397983194","file3":"1397983112"},"map_files_photo_id_array":[{"photo_id":"1397983194","filename":"file5"},{"photo_id":"1397983075","filename":"file2"},{"photo_id":"1397983154","filename":"file4"},{"photo_id":"1397983070","filename":"file1"},{"photo_id":"1397983026","filename":"file0"},{"photo_id":"1397983112","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397983112":["hashtag1","hashtag2"]},{"1397983075":["hashtag1","hashtag2"]},{"1397983194":["hashtag1","hashtag2"]},{"1397983026":["hashtag1","hashtag2"]},{"1397983154":["hashtag1","hashtag2"]},{"1397983070":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397983112, 1397983075, 1397983194, 1397983026, 1397983154, 1397983070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.944464921951294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 00:50:21.841513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_05_3633.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_07_2637.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_10_2625.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_16_6077.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_18_1571.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_19_1734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_05_3633.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_07_2637.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_10_2625.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_16_6077.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_18_1571.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_19_1734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397983316","1397983325","1397983396","1397983363","1397983449","1397983383"],"photo_ids_order":["1397983316","1397983325","1397983363","1397983383","1397983396","1397983449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b6a6a7bae1aa68a73b7b55758d2b8fd.jpg","text":"TemporaryFile(/tmp/multipartBody3756069844567412137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892283362,"filename":"image_31102025_17_56_05_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/5/0d88a7a4f522179bdae50c7edc3526f6.jpg","text":"TemporaryFile(/tmp/multipartBody2614659271873854343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892283362,"filename":"image_31102025_17_56_07_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/5/ca445fc26a1df36cbbd6e5739eeff423.jpg","text":"TemporaryFile(/tmp/multipartBody8084768422431367954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892283362,"filename":"image_31102025_17_56_18_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/5/b76b68c9e87289f7c53086a626c976eb.jpg","text":"TemporaryFile(/tmp/multipartBody2678445255965006045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892283362,"filename":"image_31102025_17_56_10_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/5/f78cd0fedd759639c2d3f3b975812889.jpg","text":"TemporaryFile(/tmp/multipartBody1048534277373990982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892283362,"filename":"image_31102025_17_56_19_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af33d1208d0f2d5cc7ecbcbfbe475ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8597439604235318082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892283362,"filename":"image_31102025_17_56_16_6077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397983363","file1":"1397983325","file0":"1397983316","file4":"1397983396","file5":"1397983449","file3":"1397983383"},"map_files_photo_id_array":[{"photo_id":"1397983449","filename":"file5"},{"photo_id":"1397983363","filename":"file2"},{"photo_id":"1397983396","filename":"file4"},{"photo_id":"1397983325","filename":"file1"},{"photo_id":"1397983316","filename":"file0"},{"photo_id":"1397983383","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397983316":["hashtag1","hashtag2"]},{"1397983325":["hashtag1","hashtag2"]},{"1397983396":["hashtag1","hashtag2"]},{"1397983363":["hashtag1","hashtag2"]},{"1397983449":["hashtag1","hashtag2"]},{"1397983383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397983316, 1397983325, 1397983396, 1397983363, 1397983449, 1397983383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58319067955017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:51:12.041121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/09/image_02122025_11_09_15_10663.jpg', '/home/pi/Desktop/images/02122025/11/09/image_02122025_11_09_25_9774.jpg', '/home/pi/Desktop/images/02122025/11/09/image_02122025_11_09_34_9683.jpg', '/home/pi/Desktop/images/02122025/11/10/image_02122025_11_10_25_10705.jpg', '/home/pi/Desktop/images/02122025/11/10/image_02122025_11_10_35_9734.jpg', '/home/pi/Desktop/images/02122025/11/10/image_02122025_11_10_45_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/09/image_02122025_11_09_15_10663.jpg
/home/pi/Desktop/images/02122025/11/09/image_02122025_11_09_25_9774.jpg
/home/pi/Desktop/images/02122025/11/09/image_02122025_11_09_34_9683.jpg
/home/pi/Desktop/images/02122025/11/10/image_02122025_11_10_25_10705.jpg
/home/pi/Desktop/images/02122025/11/10/image_02122025_11_10_35_9734.jpg
/home/pi/Desktop/images/02122025/11/10/image_02122025_11_10_45_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397983870","1397983881","1397983983","1397983986","1397984099","1397983979"],"photo_ids_order":["1397983870","1397983881","1397983979","1397983983","1397983986","1397984099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2dcdbdce4456d8ad36d0eaac284c946c.jpg","text":"TemporaryFile(/tmp/multipartBody7060591330030885530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892334040,"filename":"image_02122025_11_09_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f33f61fee1d0f4a7c177cc14c48b5549.jpg","text":"TemporaryFile(/tmp/multipartBody163688681688090026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892334040,"filename":"image_02122025_11_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/5/467529167c0932d6f37d2c336724891c.jpg","text":"TemporaryFile(/tmp/multipartBody497356224184523464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892334040,"filename":"image_02122025_11_10_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/5/6f29ab8bc055e1bd043935459c32d168.jpg","text":"TemporaryFile(/tmp/multipartBody2842300836999635632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892334040,"filename":"image_02122025_11_10_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/5/a15c05787eaf31ca008f55a356e56af2.jpg","text":"TemporaryFile(/tmp/multipartBody116970647822911016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892334040,"filename":"image_02122025_11_10_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/5/47f550a9350513338f79bcf5fd489175.jpg","text":"TemporaryFile(/tmp/multipartBody6275366684155001879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892334040,"filename":"image_02122025_11_09_34_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397983979","file1":"1397983881","file0":"1397983870","file4":"1397983986","file5":"1397984099","file3":"1397983983"},"map_files_photo_id_array":[{"photo_id":"1397984099","filename":"file5"},{"photo_id":"1397983979","filename":"file2"},{"photo_id":"1397983986","filename":"file4"},{"photo_id":"1397983881","filename":"file1"},{"photo_id":"1397983870","filename":"file0"},{"photo_id":"1397983983","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397983870":["hashtag1","hashtag2"]},{"1397983881":["hashtag1","hashtag2"]},{"1397983983":["hashtag1","hashtag2"]},{"1397983986":["hashtag1","hashtag2"]},{"1397984099":["hashtag1","hashtag2"]},{"1397983979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397983870, 1397983881, 1397983983, 1397983986, 1397984099, 1397983979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.776601791381836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:52:02.675359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/10/image_02122025_11_10_56_10788.jpg', '/home/pi/Desktop/images/02122025/11/10/image_02122025_11_11_05_9725.jpg', '/home/pi/Desktop/images/02122025/11/11/image_02122025_11_11_15_9519.jpg', '/home/pi/Desktop/images/02122025/11/11/image_02122025_11_11_26_10658.jpg', '/home/pi/Desktop/images/02122025/11/11/image_02122025_11_11_35_9726.jpg', '/home/pi/Desktop/images/02122025/11/11/image_02122025_11_11_45_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/10/image_02122025_11_10_56_10788.jpg
/home/pi/Desktop/images/02122025/11/10/image_02122025_11_11_05_9725.jpg
/home/pi/Desktop/images/02122025/11/11/image_02122025_11_11_15_9519.jpg
/home/pi/Desktop/images/02122025/11/11/image_02122025_11_11_26_10658.jpg
/home/pi/Desktop/images/02122025/11/11/image_02122025_11_11_35_9726.jpg
/home/pi/Desktop/images/02122025/11/11/image_02122025_11_11_45_9823.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":["1397984506","1397984532","1397984529","1397984415","1397984414","1397984491"],"photo_ids_order":["1397984414","1397984415","1397984491","1397984506","1397984529","1397984532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c7f0779fb786da33cbc3626a75b1984.jpg","text":"TemporaryFile(/tmp/multipartBody768765245645135873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892384319,"filename":"image_02122025_11_11_26_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/5/a35eda4603e9485cdd424e1f38494476.jpg","text":"TemporaryFile(/tmp/multipartBody8192518725843362629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892384319,"filename":"image_02122025_11_11_45_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3bce484aea350afb10bba05731c4c08c.jpg","text":"TemporaryFile(/tmp/multipartBody6966705739335166206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892384319,"filename":"image_02122025_11_11_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/5/522f945a8a9b0bc20b2bcfe4f062e710.jpg","text":"TemporaryFile(/tmp/multipartBody5563399488116132100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892384319,"filename":"image_02122025_11_11_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/5/80427eea05fb4483f8344fe51da7b01f.jpg","text":"TemporaryFile(/tmp/multipartBody491173161818554551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892384319,"filename":"image_02122025_11_10_56_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/019656565c29a26972aeec4f2a0b76ee.jpg","text":"TemporaryFile(/tmp/multipartBody6266055395270881407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892384319,"filename":"image_02122025_11_11_15_9519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397984491","file1":"1397984415","file0":"1397984414","file4":"1397984529","file5":"1397984532","file3":"1397984506"},"map_files_photo_id_array":[{"photo_id":"1397984532","filename":"file5"},{"photo_id":"1397984491","filename":"file2"},{"photo_id":"1397984529","filename":"file4"},{"photo_id":"1397984415","filename":"file1"},{"photo_id":"1397984414","filename":"file0"},{"photo_id":"1397984506","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397984506":["hashtag1","hashtag2"]},{"1397984532":["hashtag1","hashtag2"]},{"1397984529":["hashtag1","hashtag2"]},{"1397984415":["hashtag1","hashtag2"]},{"1397984414":["hashtag1","hashtag2"]},{"1397984491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397984506, 1397984532, 1397984529, 1397984415, 1397984414, 1397984491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.791441679000854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:53:03.299963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/11/image_02122025_11_11_55_10346.jpg', '/home/pi/Desktop/images/02122025/11/11/image_02122025_11_12_05_9734.jpg', '/home/pi/Desktop/images/02122025/11/12/image_02122025_11_12_15_9759.jpg', '/home/pi/Desktop/images/02122025/11/12/image_02122025_11_12_25_9775.jpg', '/home/pi/Desktop/images/02122025/11/12/image_02122025_11_12_35_10685.jpg', '/home/pi/Desktop/images/02122025/11/13/image_02122025_11_13_15_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/11/image_02122025_11_11_55_10346.jpg
/home/pi/Desktop/images/02122025/11/11/image_02122025_11_12_05_9734.jpg
/home/pi/Desktop/images/02122025/11/12/image_02122025_11_12_15_9759.jpg
/home/pi/Desktop/images/02122025/11/12/image_02122025_11_12_25_9775.jpg
/home/pi/Desktop/images/02122025/11/12/image_02122025_11_12_35_10685.jpg
/home/pi/Desktop/images/02122025/11/13/image_02122025_11_13_15_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":["1397984773","1397984701","1397984818","1397984772","1397984777","1397984738"],"photo_ids_order":["1397984701","1397984738","1397984772","1397984773","1397984777","1397984818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7801057cab0d0f2d74c2539325c82b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7210047246845497149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892445022,"filename":"image_02122025_11_12_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/5/66322848a6450475020af2ac6a7de150.jpg","text":"TemporaryFile(/tmp/multipartBody9171664562920903147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892445022,"filename":"image_02122025_11_11_55_10346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/88d4e5685073c9856d75b8e877885c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1928966455518956636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892445022,"filename":"image_02122025_11_13_15_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/5/8d29c1c61b4b8102a3e702e07d49bb06.jpg","text":"TemporaryFile(/tmp/multipartBody1386154298693958925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892445022,"filename":"image_02122025_11_12_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/5/f1e0eb0dfff253cbb634d7c52c02c266.jpg","text":"TemporaryFile(/tmp/multipartBody2771253983357379201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892445022,"filename":"image_02122025_11_12_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/5/355fca43e8197ab51a31e73e751cd4e5.jpg","text":"TemporaryFile(/tmp/multipartBody7855330558958235910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892445022,"filename":"image_02122025_11_12_05_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397984772","file1":"1397984738","file0":"1397984701","file4":"1397984777","file5":"1397984818","file3":"1397984773"},"map_files_photo_id_array":[{"photo_id":"1397984818","filename":"file5"},{"photo_id":"1397984772","filename":"file2"},{"photo_id":"1397984777","filename":"file4"},{"photo_id":"1397984738","filename":"file1"},{"photo_id":"1397984701","filename":"file0"},{"photo_id":"1397984773","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397984773":["hashtag1","hashtag2"]},{"1397984701":["hashtag1","hashtag2"]},{"1397984818":["hashtag1","hashtag2"]},{"1397984772":["hashtag1","hashtag2"]},{"1397984777":["hashtag1","hashtag2"]},{"1397984738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397984773, 1397984701, 1397984818, 1397984772, 1397984777, 1397984738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31907343864441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:54:03.347172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/46/image_05122025_00_46_24_9757.jpg', '/home/pi/Desktop/images/05122025/00/53/image_05122025_00_53_34_9638.jpg', '/home/pi/Desktop/images/05122025/00/53/image_05122025_00_53_43_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/46/image_05122025_00_46_24_9757.jpg
/home/pi/Desktop/images/05122025/00/53/image_05122025_00_53_34_9638.jpg
/home/pi/Desktop/images/05122025/00/53/image_05122025_00_53_43_9803.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5363302230834961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 00:54:12.630261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/13/image_02122025_11_13_25_9729.jpg', '/home/pi/Desktop/images/02122025/11/13/image_02122025_11_13_36_10816.jpg', '/home/pi/Desktop/images/02122025/11/13/image_02122025_11_13_45_9697.jpg', '/home/pi/Desktop/images/02122025/11/13/image_02122025_11_13_55_9818.jpg', '/home/pi/Desktop/images/02122025/11/13/image_02122025_11_14_05_9907.jpg', '/home/pi/Desktop/images/02122025/11/14/image_02122025_11_14_15_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/13/image_02122025_11_13_25_9729.jpg
/home/pi/Desktop/images/02122025/11/13/image_02122025_11_13_36_10816.jpg
/home/pi/Desktop/images/02122025/11/13/image_02122025_11_13_45_9697.jpg
/home/pi/Desktop/images/02122025/11/13/image_02122025_11_13_55_9818.jpg
/home/pi/Desktop/images/02122025/11/13/image_02122025_11_14_05_9907.jpg
/home/pi/Desktop/images/02122025/11/14/image_02122025_11_14_15_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":["1397985001","1397984997","1397984999","1397984993","1397984992","1397984995"],"photo_ids_order":["1397984992","1397984993","1397984995","1397984997","1397984999","1397985001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/231d91f7de4df61a4daccec3a3ba5e7f.jpg","text":"TemporaryFile(/tmp/multipartBody7295998800522577414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892514689,"filename":"image_02122025_11_14_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4869ebd3819b1f876ff28d18f3eb2b1d.jpg","text":"TemporaryFile(/tmp/multipartBody7581049044464626189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892514689,"filename":"image_02122025_11_13_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/5/8cf1a653cc39a862c463fa15d9c9102a.jpg","text":"TemporaryFile(/tmp/multipartBody5156269558884930162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892514689,"filename":"image_02122025_11_14_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/5/a326c2d3b8df075a1b1a6461ec75b5f8.jpg","text":"TemporaryFile(/tmp/multipartBody4058104850473051067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892514689,"filename":"image_02122025_11_13_36_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/791f044db8e3ca9c143718f7f729f772.jpg","text":"TemporaryFile(/tmp/multipartBody5082796024717246681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892514689,"filename":"image_02122025_11_13_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/025ec0a1b7b32afef94352714b7ba905.jpg","text":"TemporaryFile(/tmp/multipartBody9076180343266773504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892514689,"filename":"image_02122025_11_13_45_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397984995","file1":"1397984993","file0":"1397984992","file4":"1397984999","file5":"1397985001","file3":"1397984997"},"map_files_photo_id_array":[{"photo_id":"1397985001","filename":"file5"},{"photo_id":"1397984995","filename":"file2"},{"photo_id":"1397984999","filename":"file4"},{"photo_id":"1397984993","filename":"file1"},{"photo_id":"1397984992","filename":"file0"},{"photo_id":"1397984997","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397985001":["hashtag1","hashtag2"]},{"1397984997":["hashtag1","hashtag2"]},{"1397984999":["hashtag1","hashtag2"]},{"1397984993":["hashtag1","hashtag2"]},{"1397984992":["hashtag1","hashtag2"]},{"1397984995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397985001, 1397984997, 1397984999, 1397984993, 1397984992, 1397984995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49204421043396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:55:03.250226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/46/image_05122025_00_46_24_9757.jpg', '/home/pi/Desktop/images/05122025/00/53/image_05122025_00_53_34_9638.jpg', '/home/pi/Desktop/images/05122025/00/53/image_05122025_00_53_43_9803.jpg', '/home/pi/Desktop/images/05122025/00/53/image_05122025_00_53_54_10707.jpg', '/home/pi/Desktop/images/05122025/00/53/image_05122025_00_54_04_9848.jpg', '/home/pi/Desktop/images/05122025/00/54/image_05122025_00_54_33_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/46/image_05122025_00_46_24_9757.jpg
/home/pi/Desktop/images/05122025/00/53/image_05122025_00_53_34_9638.jpg
/home/pi/Desktop/images/05122025/00/53/image_05122025_00_53_43_9803.jpg
/home/pi/Desktop/images/05122025/00/53/image_05122025_00_53_54_10707.jpg
/home/pi/Desktop/images/05122025/00/53/image_05122025_00_54_04_9848.jpg
/home/pi/Desktop/images/05122025/00/54/image_05122025_00_54_33_9835.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":["1397985102","1397985018","1397985003","1397985146","1397985142","1397985058"],"photo_ids_order":["1397985003","1397985018","1397985058","1397985102","1397985142","1397985146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7d1edc43180470f4cba1fdf2d507c4fb.jpg","text":"TemporaryFile(/tmp/multipartBody2142259942422472744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892564084,"filename":"image_05122025_00_53_54_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/5/98e61ddc2513754b75457a2552098ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6396372097725014709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892564084,"filename":"image_05122025_00_53_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/5/e0c36f89fbda237f0e18b4de9f6234da.jpg","text":"TemporaryFile(/tmp/multipartBody2009392747795066061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892564084,"filename":"image_05122025_00_46_24_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ee67ac4ff246a10a982c572bc8a8775.jpg","text":"TemporaryFile(/tmp/multipartBody3232470612016567405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892564084,"filename":"image_05122025_00_54_33_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/5/02ac832ff2a846db592b7ca493f6f231.jpg","text":"TemporaryFile(/tmp/multipartBody8013997602384093399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892564084,"filename":"image_05122025_00_54_04_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/5/57eb2426e82ffb2ad309b1c0ac1ab81e.jpg","text":"TemporaryFile(/tmp/multipartBody1044335468193200719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892564084,"filename":"image_05122025_00_53_43_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397985058","file1":"1397985018","file0":"1397985003","file4":"1397985142","file5":"1397985146","file3":"1397985102"},"map_files_photo_id_array":[{"photo_id":"1397985146","filename":"file5"},{"photo_id":"1397985058","filename":"file2"},{"photo_id":"1397985142","filename":"file4"},{"photo_id":"1397985018","filename":"file1"},{"photo_id":"1397985003","filename":"file0"},{"photo_id":"1397985102","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397985102":["hashtag1","hashtag2"]},{"1397985018":["hashtag1","hashtag2"]},{"1397985003":["hashtag1","hashtag2"]},{"1397985146":["hashtag1","hashtag2"]},{"1397985142":["hashtag1","hashtag2"]},{"1397985058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397985102, 1397985018, 1397985003, 1397985146, 1397985142, 1397985058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09505271911621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:56:02.413016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/14/image_02122025_11_14_25_10629.jpg', '/home/pi/Desktop/images/02122025/11/14/image_02122025_11_14_35_9601.jpg', '/home/pi/Desktop/images/02122025/11/14/image_02122025_11_14_45_10525.jpg', '/home/pi/Desktop/images/02122025/11/14/image_02122025_11_14_55_9665.jpg', '/home/pi/Desktop/images/02122025/11/16/image_02122025_11_16_14_10039.jpg', '/home/pi/Desktop/images/02122025/11/16/image_02122025_11_16_25_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/14/image_02122025_11_14_25_10629.jpg
/home/pi/Desktop/images/02122025/11/14/image_02122025_11_14_35_9601.jpg
/home/pi/Desktop/images/02122025/11/14/image_02122025_11_14_45_10525.jpg
/home/pi/Desktop/images/02122025/11/14/image_02122025_11_14_55_9665.jpg
/home/pi/Desktop/images/02122025/11/16/image_02122025_11_16_14_10039.jpg
/home/pi/Desktop/images/02122025/11/16/image_02122025_11_16_25_10726.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":["1397985250","1397985246","1397985255","1397985251","1397985248","1397985253"],"photo_ids_order":["1397985246","1397985248","1397985250","1397985251","1397985253","1397985255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2cb2b8831d475e130ee0e448364e4255.jpg","text":"TemporaryFile(/tmp/multipartBody4958051892025635103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892624351,"filename":"image_02122025_11_14_45_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abbe79041c06be54f64e1b54d563c975.jpg","text":"TemporaryFile(/tmp/multipartBody5197634006815516420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892624351,"filename":"image_02122025_11_14_25_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/5/2ebb60d66864c58f19a4f2b55f9575e5.jpg","text":"TemporaryFile(/tmp/multipartBody9016525253899084636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892624351,"filename":"image_02122025_11_16_25_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/5/d61cc01396ebb744c39bc0308c308035.jpg","text":"TemporaryFile(/tmp/multipartBody4698412677895021114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892624351,"filename":"image_02122025_11_14_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/5/eb06f63706752712fefd881dd50276e3.jpg","text":"TemporaryFile(/tmp/multipartBody2981217610228299667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892624351,"filename":"image_02122025_11_14_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/5/20059e3b59073dd0aef0f655d0132226.jpg","text":"TemporaryFile(/tmp/multipartBody7247472713612836928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892624351,"filename":"image_02122025_11_16_14_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397985250","file1":"1397985248","file0":"1397985246","file4":"1397985253","file5":"1397985255","file3":"1397985251"},"map_files_photo_id_array":[{"photo_id":"1397985255","filename":"file5"},{"photo_id":"1397985250","filename":"file2"},{"photo_id":"1397985253","filename":"file4"},{"photo_id":"1397985248","filename":"file1"},{"photo_id":"1397985246","filename":"file0"},{"photo_id":"1397985251","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397985250":["hashtag1","hashtag2"]},{"1397985246":["hashtag1","hashtag2"]},{"1397985255":["hashtag1","hashtag2"]},{"1397985251":["hashtag1","hashtag2"]},{"1397985248":["hashtag1","hashtag2"]},{"1397985253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397985250, 1397985246, 1397985255, 1397985251, 1397985248, 1397985253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14230799674988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:57:02.765739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/16/image_02122025_11_16_35_9684.jpg', '/home/pi/Desktop/images/02122025/11/16/image_02122025_11_16_45_9686.jpg', '/home/pi/Desktop/images/02122025/11/16/image_02122025_11_16_55_10691.jpg', '/home/pi/Desktop/images/02122025/11/16/image_02122025_11_17_05_9719.jpg', '/home/pi/Desktop/images/02122025/11/17/image_02122025_11_17_15_9734.jpg', '/home/pi/Desktop/images/02122025/11/17/image_02122025_11_17_25_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/16/image_02122025_11_16_35_9684.jpg
/home/pi/Desktop/images/02122025/11/16/image_02122025_11_16_45_9686.jpg
/home/pi/Desktop/images/02122025/11/16/image_02122025_11_16_55_10691.jpg
/home/pi/Desktop/images/02122025/11/16/image_02122025_11_17_05_9719.jpg
/home/pi/Desktop/images/02122025/11/17/image_02122025_11_17_15_9734.jpg
/home/pi/Desktop/images/02122025/11/17/image_02122025_11_17_25_9830.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":["1397985276","1397985269","1397985272","1397985265","1397985274","1397985262"],"photo_ids_order":["1397985262","1397985265","1397985269","1397985272","1397985274","1397985276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/50afd7fe46fa4732478e567307d86b3f.jpg","text":"TemporaryFile(/tmp/multipartBody7151087479515875768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892685004,"filename":"image_02122025_11_17_25_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bd6921ae15b62f96c84cbef892b95236.jpg","text":"TemporaryFile(/tmp/multipartBody8832677805376506791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892685004,"filename":"image_02122025_11_16_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/5/8930b31c15e14c6ed6666a7c6b009295.jpg","text":"TemporaryFile(/tmp/multipartBody4071944406426504439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892685004,"filename":"image_02122025_11_17_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/5/a12a4bb3df9b0eff0e473fa37da17713.jpg","text":"TemporaryFile(/tmp/multipartBody7768870834554435780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892685004,"filename":"image_02122025_11_16_45_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/5/f7ac29ab6b7744ed4d083bfdf6e29bd3.jpg","text":"TemporaryFile(/tmp/multipartBody3954662100084292008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892685004,"filename":"image_02122025_11_17_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/5/8a376048b290a989c3fa757243edf406.jpg","text":"TemporaryFile(/tmp/multipartBody2932311074286016538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892685004,"filename":"image_02122025_11_16_35_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397985269","file1":"1397985265","file0":"1397985262","file4":"1397985274","file5":"1397985276","file3":"1397985272"},"map_files_photo_id_array":[{"photo_id":"1397985276","filename":"file5"},{"photo_id":"1397985269","filename":"file2"},{"photo_id":"1397985274","filename":"file4"},{"photo_id":"1397985265","filename":"file1"},{"photo_id":"1397985262","filename":"file0"},{"photo_id":"1397985272","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397985276":["hashtag1","hashtag2"]},{"1397985269":["hashtag1","hashtag2"]},{"1397985272":["hashtag1","hashtag2"]},{"1397985265":["hashtag1","hashtag2"]},{"1397985274":["hashtag1","hashtag2"]},{"1397985262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397985276, 1397985269, 1397985272, 1397985265, 1397985274, 1397985262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.15853214263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 00:59:03.492526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/54/image_05122025_00_54_44_10762.jpg', '/home/pi/Desktop/images/05122025/00/56/image_05122025_00_57_04_9659.jpg', '/home/pi/Desktop/images/05122025/00/57/image_05122025_00_57_54_9678.jpg', '/home/pi/Desktop/images/05122025/00/58/image_05122025_00_58_14_10671.jpg', '/home/pi/Desktop/images/05122025/00/58/image_05122025_00_58_24_9809.jpg', '/home/pi/Desktop/images/05122025/00/58/image_05122025_00_58_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/54/image_05122025_00_54_44_10762.jpg
/home/pi/Desktop/images/05122025/00/56/image_05122025_00_57_04_9659.jpg
/home/pi/Desktop/images/05122025/00/57/image_05122025_00_57_54_9678.jpg
/home/pi/Desktop/images/05122025/00/58/image_05122025_00_58_14_10671.jpg
/home/pi/Desktop/images/05122025/00/58/image_05122025_00_58_24_9809.jpg
/home/pi/Desktop/images/05122025/00/58/image_05122025_00_58_34_9634.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":["1397985535","1397985537","1397985600","1397985569","1397985539","1397985518"],"photo_ids_order":["1397985518","1397985535","1397985537","1397985539","1397985569","1397985600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7b4899ab0a53c0c6c3336e9ff5f6e19a.jpg","text":"TemporaryFile(/tmp/multipartBody4389422553737028399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892805161,"filename":"image_05122025_00_57_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b795d743b083826d49948d50a92d5292.jpg","text":"TemporaryFile(/tmp/multipartBody4853123689510451657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892805161,"filename":"image_05122025_00_57_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/5/f80c181926fa88e4d113fe896c219ab2.jpg","text":"TemporaryFile(/tmp/multipartBody4113978994486064830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892805161,"filename":"image_05122025_00_58_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/5/caa668c1f05fbea0401ad0da2726c0d2.jpg","text":"TemporaryFile(/tmp/multipartBody212736247504577170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892805161,"filename":"image_05122025_00_58_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/5/bdb94ec83a48adb6f8f467c0d8438385.jpg","text":"TemporaryFile(/tmp/multipartBody6259452845096258038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892805161,"filename":"image_05122025_00_58_14_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/5/7834dc36914fc3281654e583ecf4bd2d.jpg","text":"TemporaryFile(/tmp/multipartBody1258584026480028041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892805161,"filename":"image_05122025_00_54_44_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397985537","file1":"1397985535","file0":"1397985518","file4":"1397985569","file5":"1397985600","file3":"1397985539"},"map_files_photo_id_array":[{"photo_id":"1397985600","filename":"file5"},{"photo_id":"1397985537","filename":"file2"},{"photo_id":"1397985569","filename":"file4"},{"photo_id":"1397985535","filename":"file1"},{"photo_id":"1397985518","filename":"file0"},{"photo_id":"1397985539","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397985535":["hashtag1","hashtag2"]},{"1397985537":["hashtag1","hashtag2"]},{"1397985600":["hashtag1","hashtag2"]},{"1397985569":["hashtag1","hashtag2"]},{"1397985539":["hashtag1","hashtag2"]},{"1397985518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397985535, 1397985537, 1397985600, 1397985569, 1397985539, 1397985518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.02297377586365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:00:03.201977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/58/image_05122025_00_58_44_10735.jpg', '/home/pi/Desktop/images/05122025/00/58/image_05122025_00_59_04_9612.jpg', '/home/pi/Desktop/images/05122025/00/59/image_05122025_00_59_24_9801.jpg', '/home/pi/Desktop/images/05122025/00/59/image_05122025_00_59_34_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/58/image_05122025_00_58_44_10735.jpg
/home/pi/Desktop/images/05122025/00/58/image_05122025_00_59_04_9612.jpg
/home/pi/Desktop/images/05122025/00/59/image_05122025_00_59_24_9801.jpg
/home/pi/Desktop/images/05122025/00/59/image_05122025_00_59_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":["1397986322","1397986109","1397986004","1397986213"],"photo_ids_order":["1397986004","1397986109","1397986213","1397986322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e01129a196aec298077b555cca21948.jpg","text":"TemporaryFile(/tmp/multipartBody1652312919015775541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892863862,"filename":"image_05122025_00_59_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/5/a78e9efe30a22001c8ab8cbe6a61ae9b.jpg","text":"TemporaryFile(/tmp/multipartBody1049013660452366916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892863862,"filename":"image_05122025_00_59_04_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7ced7accc6889b85c24d50bc75b388c4.jpg","text":"TemporaryFile(/tmp/multipartBody7260715274757382477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892863862,"filename":"image_05122025_00_58_44_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/5/25a539f885fed2d8300b9000afd0153f.jpg","text":"TemporaryFile(/tmp/multipartBody3497011190978087852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892863862,"filename":"image_05122025_00_59_24_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397986213","file1":"1397986109","file0":"1397986004","file3":"1397986322"},"map_files_photo_id_array":[{"photo_id":"1397986213","filename":"file2"},{"photo_id":"1397986109","filename":"file1"},{"photo_id":"1397986004","filename":"file0"},{"photo_id":"1397986322","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397986322":["hashtag1","hashtag2"]},{"1397986109":["hashtag1","hashtag2"]},{"1397986004":["hashtag1","hashtag2"]},{"1397986213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397986322, 1397986109, 1397986004, 1397986213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.607864141464233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:00:32.982311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/17/image_02122025_11_17_35_10709.jpg', '/home/pi/Desktop/images/02122025/11/17/image_02122025_11_17_45_9569.jpg', '/home/pi/Desktop/images/02122025/11/17/image_02122025_11_17_55_9776.jpg', '/home/pi/Desktop/images/02122025/11/17/image_02122025_11_18_05_10658.jpg', '/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_15_9658.jpg', '/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_25_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/17/image_02122025_11_17_35_10709.jpg
/home/pi/Desktop/images/02122025/11/17/image_02122025_11_17_45_9569.jpg
/home/pi/Desktop/images/02122025/11/17/image_02122025_11_17_55_9776.jpg
/home/pi/Desktop/images/02122025/11/17/image_02122025_11_18_05_10658.jpg
/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_15_9658.jpg
/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_25_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":["1397986422","1397986419","1397986413","1397986415","1397986418","1397986417"],"photo_ids_order":["1397986413","1397986415","1397986417","1397986418","1397986419","1397986422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bfa2d50391c13d9588071370571a30c8.jpg","text":"TemporaryFile(/tmp/multipartBody4206487050030961697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892895147,"filename":"image_02122025_11_18_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/5/fd385ed886f2f233000cf18483628353.jpg","text":"TemporaryFile(/tmp/multipartBody4294968894693534236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892895147,"filename":"image_02122025_11_18_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/5/597333fc5a74be0aab3e9c63c5c1a7a2.jpg","text":"TemporaryFile(/tmp/multipartBody4259617526124187460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892895147,"filename":"image_02122025_11_17_35_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/5/a79a0e98896b6a0ed57f36f41897a6d5.jpg","text":"TemporaryFile(/tmp/multipartBody1809373581142414005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892895147,"filename":"image_02122025_11_17_45_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/5/b00f467f62a1849834439c23fa60e528.jpg","text":"TemporaryFile(/tmp/multipartBody4293033515533384583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892895147,"filename":"image_02122025_11_18_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/5/c40c00920ee1f0ad80d130557ace1a0e.jpg","text":"TemporaryFile(/tmp/multipartBody9112549378633177995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892895147,"filename":"image_02122025_11_17_55_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397986417","file1":"1397986415","file0":"1397986413","file4":"1397986419","file5":"1397986422","file3":"1397986418"},"map_files_photo_id_array":[{"photo_id":"1397986422","filename":"file5"},{"photo_id":"1397986417","filename":"file2"},{"photo_id":"1397986419","filename":"file4"},{"photo_id":"1397986415","filename":"file1"},{"photo_id":"1397986413","filename":"file0"},{"photo_id":"1397986418","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397986422":["hashtag1","hashtag2"]},{"1397986419":["hashtag1","hashtag2"]},{"1397986413":["hashtag1","hashtag2"]},{"1397986415":["hashtag1","hashtag2"]},{"1397986418":["hashtag1","hashtag2"]},{"1397986417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397986422, 1397986419, 1397986413, 1397986415, 1397986418, 1397986417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.561614990234375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:01:21.996575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/00/59/image_05122025_00_59_54_10618.jpg', '/home/pi/Desktop/images/05122025/00/59/image_05122025_01_00_04_9862.jpg', '/home/pi/Desktop/images/05122025/01/00/image_05122025_01_00_44_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/00/59/image_05122025_00_59_54_10618.jpg
/home/pi/Desktop/images/05122025/00/59/image_05122025_01_00_04_9862.jpg
/home/pi/Desktop/images/05122025/01/00/image_05122025_01_00_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":["1397986692","1397986784","1397986814"],"photo_ids_order":["1397986692","1397986784","1397986814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f2e8b70af2d09672d4b92a6918eea62.jpg","text":"TemporaryFile(/tmp/multipartBody967949825982325659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892943458,"filename":"image_05122025_00_59_54_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/5/9f1928a50b88e1543fe11319eb0fa9e4.jpg","text":"TemporaryFile(/tmp/multipartBody3239014700164089851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892943458,"filename":"image_05122025_01_00_04_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6fe7c8356d9a03ec82615ef9c62bb20b.jpg","text":"TemporaryFile(/tmp/multipartBody3867284107770286453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892943458,"filename":"image_05122025_01_00_44_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397986814","file1":"1397986784","file0":"1397986692"},"map_files_photo_id_array":[{"photo_id":"1397986814","filename":"file2"},{"photo_id":"1397986784","filename":"file1"},{"photo_id":"1397986692","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397986692":["hashtag1","hashtag2"]},{"1397986784":["hashtag1","hashtag2"]},{"1397986814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397986692, 1397986784, 1397986814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.420780897140503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:02:02.662802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_34_9839.jpg', '/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_45_10747.jpg', '/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_55_9692.jpg', '/home/pi/Desktop/images/02122025/11/18/image_02122025_11_19_05_9781.jpg', '/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_15_10550.jpg', '/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_25_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_34_9839.jpg
/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_45_10747.jpg
/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_55_9692.jpg
/home/pi/Desktop/images/02122025/11/18/image_02122025_11_19_05_9781.jpg
/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_15_10550.jpg
/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_25_9560.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.54099440574646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:02:12.117655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_34_9839.jpg', '/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_45_10747.jpg', '/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_55_9692.jpg', '/home/pi/Desktop/images/02122025/11/18/image_02122025_11_19_05_9781.jpg', '/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_15_10550.jpg', '/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_25_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_34_9839.jpg
/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_45_10747.jpg
/home/pi/Desktop/images/02122025/11/18/image_02122025_11_18_55_9692.jpg
/home/pi/Desktop/images/02122025/11/18/image_02122025_11_19_05_9781.jpg
/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_15_10550.jpg
/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_25_9560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397987010","1397987016","1397987018","1397987012","1397987020","1397987022"],"photo_ids_order":["1397987010","1397987012","1397987016","1397987018","1397987020","1397987022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b5f7c0f69a84c88f4c801f99d715497.jpg","text":"TemporaryFile(/tmp/multipartBody7199831580246758049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892995018,"filename":"image_02122025_11_18_34_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/5/aa19d5237220f3eac90cf7a42731840b.jpg","text":"TemporaryFile(/tmp/multipartBody5658974178738718267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892995018,"filename":"image_02122025_11_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/5/f579803a3ef98a3309046960d31ba8ff.jpg","text":"TemporaryFile(/tmp/multipartBody7184819032983107681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892995018,"filename":"image_02122025_11_19_05_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/5/dcdfde58d625648f22c18a904a2068f8.jpg","text":"TemporaryFile(/tmp/multipartBody4973828305815607691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892995018,"filename":"image_02122025_11_18_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/5/c6b8655e2ebfbb9e69508fe4398c9d84.jpg","text":"TemporaryFile(/tmp/multipartBody1013410235998038163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892995018,"filename":"image_02122025_11_19_15_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/5/091715d913b0b5cdb8e3bd3a4512a59c.jpg","text":"TemporaryFile(/tmp/multipartBody8603663429790422776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764892995018,"filename":"image_02122025_11_19_25_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397987016","file1":"1397987012","file0":"1397987010","file4":"1397987020","file5":"1397987022","file3":"1397987018"},"map_files_photo_id_array":[{"photo_id":"1397987022","filename":"file5"},{"photo_id":"1397987016","filename":"file2"},{"photo_id":"1397987020","filename":"file4"},{"photo_id":"1397987012","filename":"file1"},{"photo_id":"1397987010","filename":"file0"},{"photo_id":"1397987018","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397987010":["hashtag1","hashtag2"]},{"1397987016":["hashtag1","hashtag2"]},{"1397987018":["hashtag1","hashtag2"]},{"1397987012":["hashtag1","hashtag2"]},{"1397987020":["hashtag1","hashtag2"]},{"1397987022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397987010, 1397987016, 1397987018, 1397987012, 1397987020, 1397987022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.82210373878479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:03:02.960462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/01/image_05122025_01_01_34_9889.jpg', '/home/pi/Desktop/images/05122025/01/02/image_05122025_01_02_24_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/01/image_05122025_01_01_34_9889.jpg
/home/pi/Desktop/images/05122025/01/02/image_05122025_01_02_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":["1397987045","1397987043"],"photo_ids_order":["1397987043","1397987045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c32eb1a5b70a9b460dbf410ad6c7703.jpg","text":"TemporaryFile(/tmp/multipartBody4707675132164450841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893043694,"filename":"image_05122025_01_02_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/5/d032ecfbf733deacfeafa3f47254501e.jpg","text":"TemporaryFile(/tmp/multipartBody8961501147228542171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893043694,"filename":"image_05122025_01_01_34_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397987045","file0":"1397987043"},"map_files_photo_id_array":[{"photo_id":"1397987045","filename":"file1"},{"photo_id":"1397987043","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397987045":["hashtag1","hashtag2"]},{"1397987043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397987045, 1397987043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.969592332839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:03:32.374467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_35_10415.jpg', '/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_45_9767.jpg', '/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_55_9672.jpg', '/home/pi/Desktop/images/02122025/11/21/image_02122025_11_21_14_10040.jpg', '/home/pi/Desktop/images/02122025/11/21/image_02122025_11_21_25_10822.jpg', '/home/pi/Desktop/images/02122025/11/21/image_02122025_11_21_35_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_35_10415.jpg
/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_45_9767.jpg
/home/pi/Desktop/images/02122025/11/19/image_02122025_11_19_55_9672.jpg
/home/pi/Desktop/images/02122025/11/21/image_02122025_11_21_14_10040.jpg
/home/pi/Desktop/images/02122025/11/21/image_02122025_11_21_25_10822.jpg
/home/pi/Desktop/images/02122025/11/21/image_02122025_11_21_35_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":["1397987051","1397987057","1397987056","1397987053","1397987055","1397987049"],"photo_ids_order":["1397987049","1397987051","1397987053","1397987055","1397987056","1397987057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c422e618329c74c5f0f830a83783c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7366878204535034270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893074545,"filename":"image_02122025_11_19_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/5/0884c352424aa15419c3b9aa452090d3.jpg","text":"TemporaryFile(/tmp/multipartBody7358839854893059013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893074545,"filename":"image_02122025_11_21_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/5/ea03d30688ff7f31fb3fc4148009467c.jpg","text":"TemporaryFile(/tmp/multipartBody7260449026065273411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893074545,"filename":"image_02122025_11_21_25_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/5/a21f3e645997a95dc82186e152efeab5.jpg","text":"TemporaryFile(/tmp/multipartBody3251599136513113296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893074545,"filename":"image_02122025_11_19_55_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/5/eec6d5174f69308e9bf5c930149808bb.jpg","text":"TemporaryFile(/tmp/multipartBody56274394139107588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893074545,"filename":"image_02122025_11_21_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/5/9e1ae78572da838656a66b12aca980ef.jpg","text":"TemporaryFile(/tmp/multipartBody5152329219402797985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893074545,"filename":"image_02122025_11_19_35_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397987053","file1":"1397987051","file0":"1397987049","file4":"1397987056","file5":"1397987057","file3":"1397987055"},"map_files_photo_id_array":[{"photo_id":"1397987057","filename":"file5"},{"photo_id":"1397987053","filename":"file2"},{"photo_id":"1397987056","filename":"file4"},{"photo_id":"1397987051","filename":"file1"},{"photo_id":"1397987049","filename":"file0"},{"photo_id":"1397987055","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397987051":["hashtag1","hashtag2"]},{"1397987057":["hashtag1","hashtag2"]},{"1397987056":["hashtag1","hashtag2"]},{"1397987053":["hashtag1","hashtag2"]},{"1397987055":["hashtag1","hashtag2"]},{"1397987049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397987051, 1397987057, 1397987056, 1397987053, 1397987055, 1397987049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72961139678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:04:12.449545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/21/image_02122025_11_21_45_9839.jpg', '/home/pi/Desktop/images/02122025/11/21/image_02122025_11_21_55_9883.jpg', '/home/pi/Desktop/images/02122025/11/21/image_02122025_11_22_04_9657.jpg', '/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_15_10694.jpg', '/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_25_9790.jpg', '/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/21/image_02122025_11_21_45_9839.jpg
/home/pi/Desktop/images/02122025/11/21/image_02122025_11_21_55_9883.jpg
/home/pi/Desktop/images/02122025/11/21/image_02122025_11_22_04_9657.jpg
/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_15_10694.jpg
/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_25_9790.jpg
/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_34_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":["1397987066","1397987075","1397987063","1397987068","1397987073","1397987058"],"photo_ids_order":["1397987058","1397987063","1397987066","1397987068","1397987073","1397987075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/53581590e5c8a039db6184a567aa0c68.jpg","text":"TemporaryFile(/tmp/multipartBody606669056160290195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893114515,"filename":"image_02122025_11_22_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/5/8807463163b5b2895fef9df52dffe381.jpg","text":"TemporaryFile(/tmp/multipartBody8063089818911368673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893114515,"filename":"image_02122025_11_22_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a3f3f4d82e82da7c105a53cc7a3a3cba.jpg","text":"TemporaryFile(/tmp/multipartBody663153177321080904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893114515,"filename":"image_02122025_11_21_55_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/5/8118d0003027929712af81dd3e087c67.jpg","text":"TemporaryFile(/tmp/multipartBody3288997365636307770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893114515,"filename":"image_02122025_11_22_15_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d10c842a63db6c181e26103c5966aa1a.jpg","text":"TemporaryFile(/tmp/multipartBody6657181976606637615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893114515,"filename":"image_02122025_11_22_25_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b837ec216eda543ba33c5cdd05790b90.jpg","text":"TemporaryFile(/tmp/multipartBody3138626201627943645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893114515,"filename":"image_02122025_11_21_45_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397987066","file1":"1397987063","file0":"1397987058","file4":"1397987073","file5":"1397987075","file3":"1397987068"},"map_files_photo_id_array":[{"photo_id":"1397987075","filename":"file5"},{"photo_id":"1397987066","filename":"file2"},{"photo_id":"1397987073","filename":"file4"},{"photo_id":"1397987063","filename":"file1"},{"photo_id":"1397987058","filename":"file0"},{"photo_id":"1397987068","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397987066":["hashtag1","hashtag2"]},{"1397987075":["hashtag1","hashtag2"]},{"1397987063":["hashtag1","hashtag2"]},{"1397987068":["hashtag1","hashtag2"]},{"1397987073":["hashtag1","hashtag2"]},{"1397987058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397987066, 1397987075, 1397987063, 1397987068, 1397987073, 1397987058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.873740673065186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:05:03.403409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/02/image_05122025_01_02_33_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/02/image_05122025_01_02_33_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397987172"],"photo_id":"1397987172","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/05adba2c4aee768c2585fc26f3eb0f59.jpg","text":"TemporaryFile(/tmp/multipartBody1992511247368885115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893163927,"filename":"image_05122025_01_02_33_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397987172"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397987172"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.915802955627441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:05:22.673713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/04/image_05122025_01_04_34_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/04/image_05122025_01_04_34_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397987320"],"photo_id":"1397987320","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4a5656925c9a1559570f9f719fb4f8b7.jpg","text":"TemporaryFile(/tmp/multipartBody1165586668819797902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893183177,"filename":"image_05122025_01_04_34_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397987320"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397987320"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.653849840164185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:05:42.805115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_22_2556.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_26_3788.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_28_2701.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_31_2704.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_35_3574.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_37_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_22_2556.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_26_3788.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_28_2701.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_31_2704.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_35_3574.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_37_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397987495","1397987675","1397987825","1397987380","1397987377","1397987379"],"photo_ids_order":["1397987377","1397987379","1397987380","1397987495","1397987675","1397987825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0108ab2bc26341a1898bbec568356cfc.jpg","text":"TemporaryFile(/tmp/multipartBody5766728637302823085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893204380,"filename":"image_31102025_17_56_31_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/5/ae23b6b20ab519ad4bf078781396e95e.jpg","text":"TemporaryFile(/tmp/multipartBody7576345150220117968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893204380,"filename":"image_31102025_17_56_35_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/5/be9a6bd1c48daaec874a6cfba596b591.jpg","text":"TemporaryFile(/tmp/multipartBody2434142802581757901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893204380,"filename":"image_31102025_17_56_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/5/cae6158105224e0a9b1b39120337ff6b.jpg","text":"TemporaryFile(/tmp/multipartBody6696281347733224978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893204380,"filename":"image_31102025_17_56_28_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d0aced7b1b004c7d751f21b923cb733e.jpg","text":"TemporaryFile(/tmp/multipartBody7402504885637662792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893204380,"filename":"image_31102025_17_56_22_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/5/a62c10b1ba890d4ed89999eeb3f3bf61.jpg","text":"TemporaryFile(/tmp/multipartBody369159361117258404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893204380,"filename":"image_31102025_17_56_26_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397987380","file1":"1397987379","file0":"1397987377","file4":"1397987675","file5":"1397987825","file3":"1397987495"},"map_files_photo_id_array":[{"photo_id":"1397987825","filename":"file5"},{"photo_id":"1397987380","filename":"file2"},{"photo_id":"1397987675","filename":"file4"},{"photo_id":"1397987379","filename":"file1"},{"photo_id":"1397987377","filename":"file0"},{"photo_id":"1397987495","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397987495":["hashtag1","hashtag2"]},{"1397987675":["hashtag1","hashtag2"]},{"1397987825":["hashtag1","hashtag2"]},{"1397987380":["hashtag1","hashtag2"]},{"1397987377":["hashtag1","hashtag2"]},{"1397987379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397987495, 1397987675, 1397987825, 1397987380, 1397987377, 1397987379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.417675733566284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:06:31.970213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_45_10723.jpg', '/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_55_9637.jpg', '/home/pi/Desktop/images/02122025/11/22/image_02122025_11_23_04_9675.jpg', '/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_15_10650.jpg', '/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_25_9681.jpg', '/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_34_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_45_10723.jpg
/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_55_9637.jpg
/home/pi/Desktop/images/02122025/11/22/image_02122025_11_23_04_9675.jpg
/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_15_10650.jpg
/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_25_9681.jpg
/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_34_9800.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0574798583984375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:06:41.970609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_40_2642.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_44_3790.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_47_2799.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_49_2693.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_52_2683.jpg', '/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_56_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_40_2642.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_44_3790.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_47_2799.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_49_2693.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_52_2683.jpg
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_56_3716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397988434","1397988472","1397988433","1397988418","1397988426","1397988435"],"photo_ids_order":["1397988418","1397988426","1397988433","1397988434","1397988435","1397988472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/250153b8d63931db448a9fae31b401e5.jpg","text":"TemporaryFile(/tmp/multipartBody9133300037371355598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893266222,"filename":"image_31102025_17_56_49_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/5/8b0840f0aab2fe4366f829d46d763f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5824289708888701747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893266222,"filename":"image_31102025_17_56_56_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/5/14a810483ad3d09c1bb525eb97efe440.jpg","text":"TemporaryFile(/tmp/multipartBody1348459306046855061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893266222,"filename":"image_31102025_17_56_47_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/5/ba8fb92173952c966a24f2ebf2c34470.jpg","text":"TemporaryFile(/tmp/multipartBody2202761523701272246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893266222,"filename":"image_31102025_17_56_40_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/5/833e937ad07246f4c37df3dc03ed5c29.jpg","text":"TemporaryFile(/tmp/multipartBody441460351344749658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893266222,"filename":"image_31102025_17_56_44_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/5/05fe36d7f18abbd224208d07708911b8.jpg","text":"TemporaryFile(/tmp/multipartBody8510772724846568189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893266222,"filename":"image_31102025_17_56_52_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397988433","file1":"1397988426","file0":"1397988418","file4":"1397988435","file5":"1397988472","file3":"1397988434"},"map_files_photo_id_array":[{"photo_id":"1397988472","filename":"file5"},{"photo_id":"1397988433","filename":"file2"},{"photo_id":"1397988435","filename":"file4"},{"photo_id":"1397988426","filename":"file1"},{"photo_id":"1397988418","filename":"file0"},{"photo_id":"1397988434","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397988434":["hashtag1","hashtag2"]},{"1397988472":["hashtag1","hashtag2"]},{"1397988433":["hashtag1","hashtag2"]},{"1397988418":["hashtag1","hashtag2"]},{"1397988426":["hashtag1","hashtag2"]},{"1397988435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397988434, 1397988472, 1397988433, 1397988418, 1397988426, 1397988435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.380706548690796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:07:32.161690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_45_10723.jpg', '/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_55_9637.jpg', '/home/pi/Desktop/images/02122025/11/22/image_02122025_11_23_04_9675.jpg', '/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_15_10650.jpg', '/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_25_9681.jpg', '/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_34_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_45_10723.jpg
/home/pi/Desktop/images/02122025/11/22/image_02122025_11_22_55_9637.jpg
/home/pi/Desktop/images/02122025/11/22/image_02122025_11_23_04_9675.jpg
/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_15_10650.jpg
/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_25_9681.jpg
/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_34_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397989001","1397988908","1397989014","1397988927","1397988801","1397988906"],"photo_ids_order":["1397988801","1397988906","1397988908","1397988927","1397989001","1397989014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b4444759f24f696a7419133f1c37493.jpg","text":"TemporaryFile(/tmp/multipartBody3349833990098372496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893316997,"filename":"image_02122025_11_23_25_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8ecd97708629734183c9330437b5c6ba.jpg","text":"TemporaryFile(/tmp/multipartBody8852917971804489854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893316997,"filename":"image_02122025_11_23_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/5/1417f0af16cd0619e319042ffe50ad12.jpg","text":"TemporaryFile(/tmp/multipartBody5070585817541373955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893316997,"filename":"image_02122025_11_23_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/5/c0f7f42b34ae4016fdd7a16ab1948317.jpg","text":"TemporaryFile(/tmp/multipartBody6647863891656364013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893316997,"filename":"image_02122025_11_23_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/5/1f0e70cc433e9e3e6b40c33a14edd2c2.jpg","text":"TemporaryFile(/tmp/multipartBody4820317774339991802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893316997,"filename":"image_02122025_11_22_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/5/8c68c3b81cd1bee390ad616fb36d66aa.jpg","text":"TemporaryFile(/tmp/multipartBody2394381251609669016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893316997,"filename":"image_02122025_11_22_55_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397988908","file1":"1397988906","file0":"1397988801","file4":"1397989001","file5":"1397989014","file3":"1397988927"},"map_files_photo_id_array":[{"photo_id":"1397989014","filename":"file5"},{"photo_id":"1397988908","filename":"file2"},{"photo_id":"1397989001","filename":"file4"},{"photo_id":"1397988906","filename":"file1"},{"photo_id":"1397988801","filename":"file0"},{"photo_id":"1397988927","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397989001":["hashtag1","hashtag2"]},{"1397988908":["hashtag1","hashtag2"]},{"1397989014":["hashtag1","hashtag2"]},{"1397988927":["hashtag1","hashtag2"]},{"1397988801":["hashtag1","hashtag2"]},{"1397988906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397989001, 1397988908, 1397989014, 1397988927, 1397988801, 1397988906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.834038972854614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:08:22.443493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/04/image_05122025_01_05_04_9633.jpg', '/home/pi/Desktop/images/05122025/01/06/image_05122025_01_06_14_9660.jpg', '/home/pi/Desktop/images/05122025/01/06/image_05122025_01_06_24_9869.jpg', '/home/pi/Desktop/images/05122025/01/07/image_05122025_01_07_24_9633.jpg', '/home/pi/Desktop/images/05122025/01/07/image_05122025_01_07_34_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/04/image_05122025_01_05_04_9633.jpg
/home/pi/Desktop/images/05122025/01/06/image_05122025_01_06_14_9660.jpg
/home/pi/Desktop/images/05122025/01/06/image_05122025_01_06_24_9869.jpg
/home/pi/Desktop/images/05122025/01/07/image_05122025_01_07_24_9633.jpg
/home/pi/Desktop/images/05122025/01/07/image_05122025_01_07_34_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":["1397989087","1397989072","1397989077","1397989079","1397989070"],"photo_ids_order":["1397989070","1397989072","1397989077","1397989079","1397989087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08f0e86f61fa6e66dfb747cb6f8f6acc.jpg","text":"TemporaryFile(/tmp/multipartBody7759471806387555539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893364008,"filename":"image_05122025_01_07_34_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/93a26659496a178b727858cf0e7d263e.jpg","text":"TemporaryFile(/tmp/multipartBody3153789548788438906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893364008,"filename":"image_05122025_01_06_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/5/75a52e79ebcdf90aa8e015e729b96f54.jpg","text":"TemporaryFile(/tmp/multipartBody2684102065595112735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893364008,"filename":"image_05122025_01_06_24_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/5/0543391f9cab4ebe619e781da47c671f.jpg","text":"TemporaryFile(/tmp/multipartBody7467224097712087662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893364008,"filename":"image_05122025_01_07_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/5/e7aca6b5f89cf6e5d32ef8aa6ff67583.jpg","text":"TemporaryFile(/tmp/multipartBody8883857114672369674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893364008,"filename":"image_05122025_01_05_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397989077","file1":"1397989072","file0":"1397989070","file4":"1397989087","file3":"1397989079"},"map_files_photo_id_array":[{"photo_id":"1397989077","filename":"file2"},{"photo_id":"1397989087","filename":"file4"},{"photo_id":"1397989072","filename":"file1"},{"photo_id":"1397989070","filename":"file0"},{"photo_id":"1397989079","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397989087":["hashtag1","hashtag2"]},{"1397989072":["hashtag1","hashtag2"]},{"1397989077":["hashtag1","hashtag2"]},{"1397989079":["hashtag1","hashtag2"]},{"1397989070":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397989087, 1397989072, 1397989077, 1397989079, 1397989070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.08791399002075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:09:03.510698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_45_10531.jpg', '/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_55_9819.jpg', '/home/pi/Desktop/images/02122025/11/23/image_02122025_11_24_04_9595.jpg', '/home/pi/Desktop/images/02122025/11/24/image_02122025_11_24_15_10696.jpg', '/home/pi/Desktop/images/02122025/11/24/image_02122025_11_24_25_9700.jpg', '/home/pi/Desktop/images/02122025/11/24/image_02122025_11_24_35_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_45_10531.jpg
/home/pi/Desktop/images/02122025/11/23/image_02122025_11_23_55_9819.jpg
/home/pi/Desktop/images/02122025/11/23/image_02122025_11_24_04_9595.jpg
/home/pi/Desktop/images/02122025/11/24/image_02122025_11_24_15_10696.jpg
/home/pi/Desktop/images/02122025/11/24/image_02122025_11_24_25_9700.jpg
/home/pi/Desktop/images/02122025/11/24/image_02122025_11_24_35_9712.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":["1397989096","1397989100","1397989093","1397989095","1397989098","1397989094"],"photo_ids_order":["1397989093","1397989094","1397989095","1397989096","1397989098","1397989100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d0e7842beebf8a6aeb186eed8caa29ce.jpg","text":"TemporaryFile(/tmp/multipartBody5539714859207947720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893406259,"filename":"image_02122025_11_24_15_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/5/a3296acecd08cdf8003c5575dc82f941.jpg","text":"TemporaryFile(/tmp/multipartBody5587770790236938900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893406259,"filename":"image_02122025_11_24_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/5/9ab8b2679e30f063cd83dab705416ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2566144166078799667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893406259,"filename":"image_02122025_11_23_45_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/5/e946aabc90e503c653c51368a55f4022.jpg","text":"TemporaryFile(/tmp/multipartBody4856081240073244426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893406259,"filename":"image_02122025_11_24_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/5/29b848d9e3ec8d02c57ef1972c46d4a1.jpg","text":"TemporaryFile(/tmp/multipartBody8530404548095730531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893406259,"filename":"image_02122025_11_24_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/5/023f38b3ebd23c583582c52a9b127985.jpg","text":"TemporaryFile(/tmp/multipartBody825371044178601193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893406259,"filename":"image_02122025_11_23_55_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397989095","file1":"1397989094","file0":"1397989093","file4":"1397989098","file5":"1397989100","file3":"1397989096"},"map_files_photo_id_array":[{"photo_id":"1397989100","filename":"file5"},{"photo_id":"1397989095","filename":"file2"},{"photo_id":"1397989098","filename":"file4"},{"photo_id":"1397989094","filename":"file1"},{"photo_id":"1397989093","filename":"file0"},{"photo_id":"1397989096","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397989096":["hashtag1","hashtag2"]},{"1397989100":["hashtag1","hashtag2"]},{"1397989093":["hashtag1","hashtag2"]},{"1397989095":["hashtag1","hashtag2"]},{"1397989098":["hashtag1","hashtag2"]},{"1397989094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397989096, 1397989100, 1397989093, 1397989095, 1397989098, 1397989094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90511703491211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:10:03.175249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/07/image_05122025_01_07_44_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/07/image_05122025_01_07_44_10765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397989105"],"photo_id":"1397989105","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db0a2e84998bc182c3dc1ff2c064a69d.jpg","text":"TemporaryFile(/tmp/multipartBody8565530824996287928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893463874,"filename":"image_05122025_01_07_44_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397989105"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397989105"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.2093505859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:10:22.795871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/09/image_05122025_01_09_34_10629.jpg', '/home/pi/Desktop/images/05122025/01/10/image_05122025_01_10_24_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/09/image_05122025_01_09_34_10629.jpg
/home/pi/Desktop/images/05122025/01/10/image_05122025_01_10_24_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397989106","1397989110"],"photo_ids_order":["1397989106","1397989110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b6283cad7415ca6202717a4133388e2.jpg","text":"TemporaryFile(/tmp/multipartBody7314612602394607385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893484189,"filename":"image_05122025_01_09_34_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/5/4ee0cae3c9d7db840dcd31c88b5770b9.jpg","text":"TemporaryFile(/tmp/multipartBody8417491704930545067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893484189,"filename":"image_05122025_01_10_24_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397989110","file0":"1397989106"},"map_files_photo_id_array":[{"photo_id":"1397989110","filename":"file1"},{"photo_id":"1397989106","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397989106":["hashtag1","hashtag2"]},{"1397989110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397989106, 1397989110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.394954919815063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:11:02.628754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/24/image_02122025_11_24_44_9872.jpg', '/home/pi/Desktop/images/02122025/11/24/image_02122025_11_24_55_10771.jpg', '/home/pi/Desktop/images/02122025/11/25/image_02122025_11_25_14_10057.jpg', '/home/pi/Desktop/images/02122025/11/25/image_02122025_11_25_25_10717.jpg', '/home/pi/Desktop/images/02122025/11/25/image_02122025_11_25_35_9688.jpg', '/home/pi/Desktop/images/02122025/11/25/image_02122025_11_25_45_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/24/image_02122025_11_24_44_9872.jpg
/home/pi/Desktop/images/02122025/11/24/image_02122025_11_24_55_10771.jpg
/home/pi/Desktop/images/02122025/11/25/image_02122025_11_25_14_10057.jpg
/home/pi/Desktop/images/02122025/11/25/image_02122025_11_25_25_10717.jpg
/home/pi/Desktop/images/02122025/11/25/image_02122025_11_25_35_9688.jpg
/home/pi/Desktop/images/02122025/11/25/image_02122025_11_25_45_9789.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":["1397989415","1397989365","1397989326","1397989413","1397989379","1397989373"],"photo_ids_order":["1397989326","1397989365","1397989373","1397989379","1397989413","1397989415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03dcef37e4485ff1ca8122067bc30eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1331835014466784004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893525831,"filename":"image_02122025_11_25_45_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/5/4e9080432163b05918ead75fb2585727.jpg","text":"TemporaryFile(/tmp/multipartBody5914476410631616483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893525831,"filename":"image_02122025_11_24_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/5/ef4a9218e2f8bf898ac6494223a6bd6f.jpg","text":"TemporaryFile(/tmp/multipartBody5585458976663933981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893525831,"filename":"image_02122025_11_24_44_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/5/a6757fb87b5247bba75a320bbfba0fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6862301998202577975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893525831,"filename":"image_02122025_11_25_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4b9d6fac1518d502a9d75f4121ea60ac.jpg","text":"TemporaryFile(/tmp/multipartBody1367070011195332048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893525831,"filename":"image_02122025_11_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/5/0710c9b59f77ccb952fdde8edc64622f.jpg","text":"TemporaryFile(/tmp/multipartBody2744477737844186777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893525831,"filename":"image_02122025_11_25_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397989373","file1":"1397989365","file0":"1397989326","file4":"1397989413","file5":"1397989415","file3":"1397989379"},"map_files_photo_id_array":[{"photo_id":"1397989415","filename":"file5"},{"photo_id":"1397989373","filename":"file2"},{"photo_id":"1397989413","filename":"file4"},{"photo_id":"1397989365","filename":"file1"},{"photo_id":"1397989326","filename":"file0"},{"photo_id":"1397989379","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397989415":["hashtag1","hashtag2"]},{"1397989365":["hashtag1","hashtag2"]},{"1397989326":["hashtag1","hashtag2"]},{"1397989413":["hashtag1","hashtag2"]},{"1397989379":["hashtag1","hashtag2"]},{"1397989373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397989415, 1397989365, 1397989326, 1397989413, 1397989379, 1397989373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.113205671310425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:12:02.554118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/10/image_05122025_01_10_34_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/10/image_05122025_01_10_34_10571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397989476"],"photo_id":"1397989476","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/374eb6b23079c8579efae382fa64d3a5.jpg","text":"TemporaryFile(/tmp/multipartBody6692697350537807066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893583233,"filename":"image_05122025_01_10_34_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397989476"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397989476"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.560291290283203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:12:22.133958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/10/image_05122025_01_11_03_9742.jpg', '/home/pi/Desktop/images/05122025/01/12/image_05122025_01_12_44_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/10/image_05122025_01_11_03_9742.jpg
/home/pi/Desktop/images/05122025/01/12/image_05122025_01_12_44_9570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397989479","1397989478"],"photo_ids_order":["1397989478","1397989479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22f980d22834dd931d67d52155e8b3b8.jpg","text":"TemporaryFile(/tmp/multipartBody2485730995829467851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893603011,"filename":"image_05122025_01_12_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/5/3b81bdf4cd3dd91ef90d5edc032d31b0.jpg","text":"TemporaryFile(/tmp/multipartBody906842207526002041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893603011,"filename":"image_05122025_01_11_03_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397989479","file0":"1397989478"},"map_files_photo_id_array":[{"photo_id":"1397989479","filename":"file1"},{"photo_id":"1397989478","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397989479":["hashtag1","hashtag2"]},{"1397989478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397989479, 1397989478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.849252462387085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:12:42.191870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_58_2758.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_01_2584.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_04_2867.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_08_3666.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_10_2900.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_13_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/56/image_31102025_17_56_58_2758.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_01_2584.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_04_2867.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_08_3666.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_10_2900.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_13_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":["1397989492","1397989495","1397989497","1397989501","1397989503","1397989499"],"photo_ids_order":["1397989492","1397989495","1397989497","1397989499","1397989501","1397989503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6483be8e7ffbf657c54200ea2af3def4.jpg","text":"TemporaryFile(/tmp/multipartBody7530212862135671891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893623819,"filename":"image_31102025_17_56_58_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/5/1f6ddbb4b88a474ddf82593edfba2a99.jpg","text":"TemporaryFile(/tmp/multipartBody7858663076546912971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893623819,"filename":"image_31102025_17_57_01_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b9c2c956309fcb2d1297fda5b7371a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2790000757897014304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893623819,"filename":"image_31102025_17_57_04_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/5/65843f64f3519f0b3f1aa1f25765d71e.jpg","text":"TemporaryFile(/tmp/multipartBody4681199620053614167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893623819,"filename":"image_31102025_17_57_10_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/5/2c00c5e45953c676a4f05f005b2f1b9c.jpg","text":"TemporaryFile(/tmp/multipartBody8351518010351388784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893623819,"filename":"image_31102025_17_57_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/5/b5bd341adf17a1b2c0c28f37d07e88e0.jpg","text":"TemporaryFile(/tmp/multipartBody1667807908279305928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893623819,"filename":"image_31102025_17_57_08_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397989497","file1":"1397989495","file0":"1397989492","file4":"1397989501","file5":"1397989503","file3":"1397989499"},"map_files_photo_id_array":[{"photo_id":"1397989503","filename":"file5"},{"photo_id":"1397989497","filename":"file2"},{"photo_id":"1397989501","filename":"file4"},{"photo_id":"1397989495","filename":"file1"},{"photo_id":"1397989492","filename":"file0"},{"photo_id":"1397989499","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397989492":["hashtag1","hashtag2"]},{"1397989495":["hashtag1","hashtag2"]},{"1397989497":["hashtag1","hashtag2"]},{"1397989501":["hashtag1","hashtag2"]},{"1397989503":["hashtag1","hashtag2"]},{"1397989499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397989492, 1397989495, 1397989497, 1397989501, 1397989503, 1397989499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.217700719833374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:13:22.358095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/12/image_05122025_01_12_54_10702.jpg', '/home/pi/Desktop/images/05122025/01/12/image_05122025_01_13_04_9615.jpg', '/home/pi/Desktop/images/05122025/01/13/image_05122025_01_13_14_9848.jpg', '/home/pi/Desktop/images/05122025/01/13/image_05122025_01_13_34_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/12/image_05122025_01_12_54_10702.jpg
/home/pi/Desktop/images/05122025/01/12/image_05122025_01_13_04_9615.jpg
/home/pi/Desktop/images/05122025/01/13/image_05122025_01_13_14_9848.jpg
/home/pi/Desktop/images/05122025/01/13/image_05122025_01_13_34_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.5250508785247803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:13:32.347406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/25/image_02122025_11_25_55_10735.jpg', '/home/pi/Desktop/images/02122025/11/25/image_02122025_11_26_05_9804.jpg', '/home/pi/Desktop/images/02122025/11/26/image_02122025_11_26_15_9824.jpg', '/home/pi/Desktop/images/02122025/11/26/image_02122025_11_26_25_9722.jpg', '/home/pi/Desktop/images/02122025/11/26/image_02122025_11_26_35_9843.jpg', '/home/pi/Desktop/images/02122025/11/26/image_02122025_11_26_45_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/25/image_02122025_11_25_55_10735.jpg
/home/pi/Desktop/images/02122025/11/25/image_02122025_11_26_05_9804.jpg
/home/pi/Desktop/images/02122025/11/26/image_02122025_11_26_15_9824.jpg
/home/pi/Desktop/images/02122025/11/26/image_02122025_11_26_25_9722.jpg
/home/pi/Desktop/images/02122025/11/26/image_02122025_11_26_35_9843.jpg
/home/pi/Desktop/images/02122025/11/26/image_02122025_11_26_45_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397989634","1397989678","1397989717","1397989680","1397989650","1397989697"],"photo_ids_order":["1397989634","1397989650","1397989678","1397989680","1397989697","1397989717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/28116d6608ff51f9c5671fd0cb8ee2dc.jpg","text":"TemporaryFile(/tmp/multipartBody8368942355757926149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893674664,"filename":"image_02122025_11_25_55_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/5/8e93e6d6b2f48e59eb2838df5548a323.jpg","text":"TemporaryFile(/tmp/multipartBody6130521854959495521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893674664,"filename":"image_02122025_11_26_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/5/2303441c92bf3b169c52729cdf21b020.jpg","text":"TemporaryFile(/tmp/multipartBody8378561841563369090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893674664,"filename":"image_02122025_11_26_45_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c5a47fd97aeb51c3e86733e6e61bd747.jpg","text":"TemporaryFile(/tmp/multipartBody7914345517509876211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893674664,"filename":"image_02122025_11_26_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/5/4db49189518119589375b6d191d641e7.jpg","text":"TemporaryFile(/tmp/multipartBody7230548205317877733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893674664,"filename":"image_02122025_11_26_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/5/e2d489b9314c7d599e545c0b21b55498.jpg","text":"TemporaryFile(/tmp/multipartBody1152453309770171906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893674664,"filename":"image_02122025_11_26_35_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397989678","file1":"1397989650","file0":"1397989634","file4":"1397989697","file5":"1397989717","file3":"1397989680"},"map_files_photo_id_array":[{"photo_id":"1397989717","filename":"file5"},{"photo_id":"1397989678","filename":"file2"},{"photo_id":"1397989697","filename":"file4"},{"photo_id":"1397989650","filename":"file1"},{"photo_id":"1397989634","filename":"file0"},{"photo_id":"1397989680","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397989634":["hashtag1","hashtag2"]},{"1397989678":["hashtag1","hashtag2"]},{"1397989717":["hashtag1","hashtag2"]},{"1397989680":["hashtag1","hashtag2"]},{"1397989650":["hashtag1","hashtag2"]},{"1397989697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397989634, 1397989678, 1397989717, 1397989680, 1397989650, 1397989697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11827564239502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:14:12.584659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/26/image_02122025_11_26_55_9818.jpg', '/home/pi/Desktop/images/02122025/11/26/image_02122025_11_27_05_9769.jpg', '/home/pi/Desktop/images/02122025/11/27/image_02122025_11_27_15_9733.jpg', '/home/pi/Desktop/images/02122025/11/27/image_02122025_11_27_25_10640.jpg', '/home/pi/Desktop/images/02122025/11/27/image_02122025_11_27_35_9710.jpg', '/home/pi/Desktop/images/02122025/11/27/image_02122025_11_27_45_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/26/image_02122025_11_26_55_9818.jpg
/home/pi/Desktop/images/02122025/11/26/image_02122025_11_27_05_9769.jpg
/home/pi/Desktop/images/02122025/11/27/image_02122025_11_27_15_9733.jpg
/home/pi/Desktop/images/02122025/11/27/image_02122025_11_27_25_10640.jpg
/home/pi/Desktop/images/02122025/11/27/image_02122025_11_27_35_9710.jpg
/home/pi/Desktop/images/02122025/11/27/image_02122025_11_27_45_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":["1397989759","1397989762","1397989756","1397989764","1397989766","1397989757"],"photo_ids_order":["1397989756","1397989757","1397989759","1397989762","1397989764","1397989766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1e1857f23bbdd25d8366e1ad6d68a326.jpg","text":"TemporaryFile(/tmp/multipartBody3921273255293931737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893714675,"filename":"image_02122025_11_27_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/5/77a22eb66da991c865df71fc305e38c4.jpg","text":"TemporaryFile(/tmp/multipartBody6071187982176297742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893714675,"filename":"image_02122025_11_27_25_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/5/45736ae1815e5a602cb196329baf7ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8519077557544011884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893714675,"filename":"image_02122025_11_26_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/5/a6f8e52b0a9ee5fe7ef84c1322d621bd.jpg","text":"TemporaryFile(/tmp/multipartBody7035108996386557050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893714675,"filename":"image_02122025_11_27_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/5/f8a78b8275ed0231892e78d213f126c2.jpg","text":"TemporaryFile(/tmp/multipartBody2417953758124953998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893714675,"filename":"image_02122025_11_27_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/5/a8cfc1380f4407276382b1099509e5f8.jpg","text":"TemporaryFile(/tmp/multipartBody4807205424461447402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893714675,"filename":"image_02122025_11_27_05_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397989759","file1":"1397989757","file0":"1397989756","file4":"1397989764","file5":"1397989766","file3":"1397989762"},"map_files_photo_id_array":[{"photo_id":"1397989766","filename":"file5"},{"photo_id":"1397989759","filename":"file2"},{"photo_id":"1397989764","filename":"file4"},{"photo_id":"1397989757","filename":"file1"},{"photo_id":"1397989756","filename":"file0"},{"photo_id":"1397989762","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397989759":["hashtag1","hashtag2"]},{"1397989762":["hashtag1","hashtag2"]},{"1397989756":["hashtag1","hashtag2"]},{"1397989764":["hashtag1","hashtag2"]},{"1397989766":["hashtag1","hashtag2"]},{"1397989757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397989759, 1397989762, 1397989756, 1397989764, 1397989766, 1397989757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.206382274627686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:15:03.342628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/12/image_05122025_01_12_54_10702.jpg', '/home/pi/Desktop/images/05122025/01/12/image_05122025_01_13_04_9615.jpg', '/home/pi/Desktop/images/05122025/01/13/image_05122025_01_13_14_9848.jpg', '/home/pi/Desktop/images/05122025/01/13/image_05122025_01_13_34_10601.jpg', '/home/pi/Desktop/images/05122025/01/13/image_05122025_01_13_53_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/12/image_05122025_01_12_54_10702.jpg
/home/pi/Desktop/images/05122025/01/12/image_05122025_01_13_04_9615.jpg
/home/pi/Desktop/images/05122025/01/13/image_05122025_01_13_14_9848.jpg
/home/pi/Desktop/images/05122025/01/13/image_05122025_01_13_34_10601.jpg
/home/pi/Desktop/images/05122025/01/13/image_05122025_01_13_53_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":["1397990417","1397990221","1397990017","1397990121","1397990319"],"photo_ids_order":["1397990017","1397990121","1397990221","1397990319","1397990417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/798358a9125b51b68d65f396e48f8dc7.jpg","text":"TemporaryFile(/tmp/multipartBody290732470032915768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893764117,"filename":"image_05122025_01_13_53_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/5/282defb47f9cbd1b5165de9b5c039374.jpg","text":"TemporaryFile(/tmp/multipartBody219357606269389146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893764117,"filename":"image_05122025_01_13_14_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01f8d133beb1300645e9eb7e3965916f.jpg","text":"TemporaryFile(/tmp/multipartBody1661176877096941889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893764117,"filename":"image_05122025_01_12_54_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/5/b80be707e0538f856afe95c537406504.jpg","text":"TemporaryFile(/tmp/multipartBody6269470496977251670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893764117,"filename":"image_05122025_01_13_04_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1e25c1e4be7f43be1db9b9139574097c.jpg","text":"TemporaryFile(/tmp/multipartBody1797627361462526529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893764117,"filename":"image_05122025_01_13_34_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397990221","file1":"1397990121","file0":"1397990017","file4":"1397990417","file3":"1397990319"},"map_files_photo_id_array":[{"photo_id":"1397990221","filename":"file2"},{"photo_id":"1397990417","filename":"file4"},{"photo_id":"1397990121","filename":"file1"},{"photo_id":"1397990017","filename":"file0"},{"photo_id":"1397990319","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397990417":["hashtag1","hashtag2"]},{"1397990221":["hashtag1","hashtag2"]},{"1397990017":["hashtag1","hashtag2"]},{"1397990121":["hashtag1","hashtag2"]},{"1397990319":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397990417, 1397990221, 1397990017, 1397990121, 1397990319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.620466470718384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:15:42.734760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_17_3646.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_19_2702.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_22_2936.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_25_2607.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_29_3621.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_31_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_17_3646.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_19_2702.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_22_2936.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_25_2607.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_29_3621.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_31_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":["1397990768","1397990770","1397990773","1397990793","1397990772","1397990771"],"photo_ids_order":["1397990768","1397990770","1397990771","1397990772","1397990773","1397990793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54a3a5ee88eb3c55d9dd6b8f66332ac4.jpg","text":"TemporaryFile(/tmp/multipartBody5514011497762845256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893804364,"filename":"image_31102025_17_57_17_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/5/57cec1971ed431e73e9681146a620c49.jpg","text":"TemporaryFile(/tmp/multipartBody4983799137399311660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893804364,"filename":"image_31102025_17_57_19_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/5/b4e286966cda14712a2c3b524a053ff3.jpg","text":"TemporaryFile(/tmp/multipartBody3656684787371095754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893804364,"filename":"image_31102025_17_57_29_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/5/406108073f4aa92f1c6cab7a52cdad9a.jpg","text":"TemporaryFile(/tmp/multipartBody5175863729517261778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893804364,"filename":"image_31102025_17_57_31_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/5/c9b75527bf3c3563325d3d43ade94528.jpg","text":"TemporaryFile(/tmp/multipartBody6023774766891026693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893804364,"filename":"image_31102025_17_57_25_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/5/8055ca8223294b43c63a013d6d40bfc0.jpg","text":"TemporaryFile(/tmp/multipartBody5330394697239659328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893804364,"filename":"image_31102025_17_57_22_2936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397990771","file1":"1397990770","file0":"1397990768","file4":"1397990773","file5":"1397990793","file3":"1397990772"},"map_files_photo_id_array":[{"photo_id":"1397990793","filename":"file5"},{"photo_id":"1397990771","filename":"file2"},{"photo_id":"1397990773","filename":"file4"},{"photo_id":"1397990770","filename":"file1"},{"photo_id":"1397990768","filename":"file0"},{"photo_id":"1397990772","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397990768":["hashtag1","hashtag2"]},{"1397990770":["hashtag1","hashtag2"]},{"1397990773":["hashtag1","hashtag2"]},{"1397990793":["hashtag1","hashtag2"]},{"1397990772":["hashtag1","hashtag2"]},{"1397990771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397990768, 1397990770, 1397990773, 1397990793, 1397990772, 1397990771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83149480819702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:16:21.876960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/14/image_05122025_01_14_44_10736.jpg', '/home/pi/Desktop/images/05122025/01/14/image_05122025_01_15_04_9746.jpg', '/home/pi/Desktop/images/05122025/01/15/image_05122025_01_15_34_9855.jpg', '/home/pi/Desktop/images/05122025/01/15/image_05122025_01_15_44_9698.jpg', '/home/pi/Desktop/images/05122025/01/16/image_05122025_01_16_14_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/14/image_05122025_01_14_44_10736.jpg
/home/pi/Desktop/images/05122025/01/14/image_05122025_01_15_04_9746.jpg
/home/pi/Desktop/images/05122025/01/15/image_05122025_01_15_34_9855.jpg
/home/pi/Desktop/images/05122025/01/15/image_05122025_01_15_44_9698.jpg
/home/pi/Desktop/images/05122025/01/16/image_05122025_01_16_14_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397990873","1397990903","1397991202","1397990935","1397991081"],"photo_ids_order":["1397990873","1397990903","1397990935","1397991081","1397991202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c6c41b884884353144b030338d78baa.jpg","text":"TemporaryFile(/tmp/multipartBody8057477265609525380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893842558,"filename":"image_05122025_01_14_44_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/5/702d3f6ede94d982e0ae614552441f9c.jpg","text":"TemporaryFile(/tmp/multipartBody2702945209892486270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893842558,"filename":"image_05122025_01_15_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/5/74c72c965bf35c68de44a2d9981bb3cf.jpg","text":"TemporaryFile(/tmp/multipartBody3020140233051415529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893842558,"filename":"image_05122025_01_16_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a963b187c7d9eefdf4880d2e8fd7894f.jpg","text":"TemporaryFile(/tmp/multipartBody943528601449600479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893842558,"filename":"image_05122025_01_15_34_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22d5ed4c82c4ef308e67c911982f8d2d.jpg","text":"TemporaryFile(/tmp/multipartBody3503467543687764057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893842558,"filename":"image_05122025_01_15_44_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397990935","file1":"1397990903","file0":"1397990873","file4":"1397991202","file3":"1397991081"},"map_files_photo_id_array":[{"photo_id":"1397990935","filename":"file2"},{"photo_id":"1397991202","filename":"file4"},{"photo_id":"1397990903","filename":"file1"},{"photo_id":"1397990873","filename":"file0"},{"photo_id":"1397991081","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397990873":["hashtag1","hashtag2"]},{"1397990903":["hashtag1","hashtag2"]},{"1397991202":["hashtag1","hashtag2"]},{"1397990935":["hashtag1","hashtag2"]},{"1397991081":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397990873, 1397990903, 1397991202, 1397990935, 1397991081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.14473533630371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:17:02.772416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/27/image_02122025_11_27_55_10697.jpg', '/home/pi/Desktop/images/02122025/11/27/image_02122025_11_28_05_9634.jpg', '/home/pi/Desktop/images/02122025/11/28/image_02122025_11_28_15_9885.jpg', '/home/pi/Desktop/images/02122025/11/28/image_02122025_11_28_25_9707.jpg', '/home/pi/Desktop/images/02122025/11/28/image_02122025_11_28_35_10624.jpg', '/home/pi/Desktop/images/02122025/11/28/image_02122025_11_28_45_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/27/image_02122025_11_27_55_10697.jpg
/home/pi/Desktop/images/02122025/11/27/image_02122025_11_28_05_9634.jpg
/home/pi/Desktop/images/02122025/11/28/image_02122025_11_28_15_9885.jpg
/home/pi/Desktop/images/02122025/11/28/image_02122025_11_28_25_9707.jpg
/home/pi/Desktop/images/02122025/11/28/image_02122025_11_28_35_10624.jpg
/home/pi/Desktop/images/02122025/11/28/image_02122025_11_28_45_9747.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":["1397991295","1397991294","1397991366","1397991296","1397991356","1397991236"],"photo_ids_order":["1397991236","1397991294","1397991295","1397991296","1397991356","1397991366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee4511aab0aad8f9ef5948a7fb8af072.jpg","text":"TemporaryFile(/tmp/multipartBody3110347896157477284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893886103,"filename":"image_02122025_11_28_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/5/e8b490984c60fd349f6630e04db79bda.jpg","text":"TemporaryFile(/tmp/multipartBody1019560313646070215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893886103,"filename":"image_02122025_11_28_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/5/54b3a21e29f1d76dd3c7b4e45453e88e.jpg","text":"TemporaryFile(/tmp/multipartBody4325621298040722621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893886103,"filename":"image_02122025_11_28_45_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/5/ad46f90462769b6e6c48a73c442719bc.jpg","text":"TemporaryFile(/tmp/multipartBody2165454933790978867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893886103,"filename":"image_02122025_11_28_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/5/b2ca92e195e3a6948b4703423b284500.jpg","text":"TemporaryFile(/tmp/multipartBody5351500597656694366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893886103,"filename":"image_02122025_11_28_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/952ff9f15698f0963f4ef81f5d5d07b8.jpg","text":"TemporaryFile(/tmp/multipartBody4582444124825582410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893886103,"filename":"image_02122025_11_27_55_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397991295","file1":"1397991294","file0":"1397991236","file4":"1397991356","file5":"1397991366","file3":"1397991296"},"map_files_photo_id_array":[{"photo_id":"1397991366","filename":"file5"},{"photo_id":"1397991295","filename":"file2"},{"photo_id":"1397991356","filename":"file4"},{"photo_id":"1397991294","filename":"file1"},{"photo_id":"1397991236","filename":"file0"},{"photo_id":"1397991296","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397991295":["hashtag1","hashtag2"]},{"1397991294":["hashtag1","hashtag2"]},{"1397991366":["hashtag1","hashtag2"]},{"1397991296":["hashtag1","hashtag2"]},{"1397991356":["hashtag1","hashtag2"]},{"1397991236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397991295, 1397991294, 1397991366, 1397991296, 1397991356, 1397991236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.7884418964386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:18:02.745659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/28/image_02122025_11_28_55_9845.jpg', '/home/pi/Desktop/images/02122025/11/28/image_02122025_11_29_05_9824.jpg', '/home/pi/Desktop/images/02122025/11/29/image_02122025_11_29_15_10708.jpg', '/home/pi/Desktop/images/02122025/11/29/image_02122025_11_29_25_9724.jpg', '/home/pi/Desktop/images/02122025/11/29/image_02122025_11_29_35_9704.jpg', '/home/pi/Desktop/images/02122025/11/29/image_02122025_11_29_44_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/28/image_02122025_11_28_55_9845.jpg
/home/pi/Desktop/images/02122025/11/28/image_02122025_11_29_05_9824.jpg
/home/pi/Desktop/images/02122025/11/29/image_02122025_11_29_15_10708.jpg
/home/pi/Desktop/images/02122025/11/29/image_02122025_11_29_25_9724.jpg
/home/pi/Desktop/images/02122025/11/29/image_02122025_11_29_35_9704.jpg
/home/pi/Desktop/images/02122025/11/29/image_02122025_11_29_44_9714.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":["1397991376","1397991373","1397991381","1397991375","1397991374","1397991377"],"photo_ids_order":["1397991373","1397991374","1397991375","1397991376","1397991377","1397991381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87241be4b4b14de1c1b0e4eba91e40a7.jpg","text":"TemporaryFile(/tmp/multipartBody6008192582128076918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893944982,"filename":"image_02122025_11_29_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/5/8d4d7df1a785a1a8022f3ce68bdcf1a3.jpg","text":"TemporaryFile(/tmp/multipartBody9193826225852196500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893944982,"filename":"image_02122025_11_28_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/5/d42b159125d1fa2c737f2de05a03c538.jpg","text":"TemporaryFile(/tmp/multipartBody1727734227211247576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893944982,"filename":"image_02122025_11_29_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/5/1bb8eaac04202ed7a780945d9207309e.jpg","text":"TemporaryFile(/tmp/multipartBody1809768585232930956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893944982,"filename":"image_02122025_11_29_15_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/85fdab75183ea9a4ba89f448eeaadd56.jpg","text":"TemporaryFile(/tmp/multipartBody3583691063315022834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893944982,"filename":"image_02122025_11_29_05_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ecf92c05fa295068434abc4ac043366b.jpg","text":"TemporaryFile(/tmp/multipartBody7697596434376634458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764893944982,"filename":"image_02122025_11_29_35_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397991375","file1":"1397991374","file0":"1397991373","file4":"1397991377","file5":"1397991381","file3":"1397991376"},"map_files_photo_id_array":[{"photo_id":"1397991381","filename":"file5"},{"photo_id":"1397991375","filename":"file2"},{"photo_id":"1397991377","filename":"file4"},{"photo_id":"1397991374","filename":"file1"},{"photo_id":"1397991373","filename":"file0"},{"photo_id":"1397991376","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397991376":["hashtag1","hashtag2"]},{"1397991373":["hashtag1","hashtag2"]},{"1397991381":["hashtag1","hashtag2"]},{"1397991375":["hashtag1","hashtag2"]},{"1397991374":["hashtag1","hashtag2"]},{"1397991377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397991376, 1397991373, 1397991381, 1397991375, 1397991374, 1397991377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93950343132019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:19:03.362569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/16/image_05122025_01_16_54_9738.jpg', '/home/pi/Desktop/images/05122025/01/17/image_05122025_01_18_04_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/16/image_05122025_01_16_54_9738.jpg
/home/pi/Desktop/images/05122025/01/17/image_05122025_01_18_04_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":["1397991390","1397991392"],"photo_ids_order":["1397991390","1397991392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f4aa1e3def12700e9a87a8a6a47d4bd3.jpg","text":"TemporaryFile(/tmp/multipartBody3459821297839951024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894004318,"filename":"image_05122025_01_16_54_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d55a5963d80b949cf3ee3dabd0f8ae4e.jpg","text":"TemporaryFile(/tmp/multipartBody4798243968043954319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894004318,"filename":"image_05122025_01_18_04_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397991392","file0":"1397991390"},"map_files_photo_id_array":[{"photo_id":"1397991392","filename":"file1"},{"photo_id":"1397991390","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397991390":["hashtag1","hashtag2"]},{"1397991392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397991390, 1397991392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.110827684402466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:19:32.409186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/29/image_02122025_11_29_55_10777.jpg', '/home/pi/Desktop/images/02122025/11/30/image_02122025_11_30_15_10051.jpg', '/home/pi/Desktop/images/02122025/11/30/image_02122025_11_30_26_10641.jpg', '/home/pi/Desktop/images/02122025/11/30/image_02122025_11_30_35_9675.jpg', '/home/pi/Desktop/images/02122025/11/30/image_02122025_11_30_46_10604.jpg', '/home/pi/Desktop/images/02122025/11/30/image_02122025_11_30_56_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/29/image_02122025_11_29_55_10777.jpg
/home/pi/Desktop/images/02122025/11/30/image_02122025_11_30_15_10051.jpg
/home/pi/Desktop/images/02122025/11/30/image_02122025_11_30_26_10641.jpg
/home/pi/Desktop/images/02122025/11/30/image_02122025_11_30_35_9675.jpg
/home/pi/Desktop/images/02122025/11/30/image_02122025_11_30_46_10604.jpg
/home/pi/Desktop/images/02122025/11/30/image_02122025_11_30_56_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":["1397991394","1397991400","1397991396","1397991398","1397991402","1397991395"],"photo_ids_order":["1397991394","1397991395","1397991396","1397991398","1397991400","1397991402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4249332f3b51f244163632632610aa4a.jpg","text":"TemporaryFile(/tmp/multipartBody5260081164562139724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894035351,"filename":"image_02122025_11_29_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/5/b9e72512a52eec73279382a78ae8a776.jpg","text":"TemporaryFile(/tmp/multipartBody4005130476864932183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894035351,"filename":"image_02122025_11_30_46_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/5/290ba395c5bf28bc6fa782fa95da34ef.jpg","text":"TemporaryFile(/tmp/multipartBody2396096997209944153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894035351,"filename":"image_02122025_11_30_26_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/5/7f3560981e0a1f89c1fa8b4124a38bed.jpg","text":"TemporaryFile(/tmp/multipartBody288631023707004661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894035351,"filename":"image_02122025_11_30_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/5/0792b21ff5a1b7cdae896f46a427eafb.jpg","text":"TemporaryFile(/tmp/multipartBody5494190790887623500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894035351,"filename":"image_02122025_11_30_56_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/5/8f5f84062df70705990cb91422d631c2.jpg","text":"TemporaryFile(/tmp/multipartBody1049877120437525701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894035351,"filename":"image_02122025_11_30_15_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397991396","file1":"1397991395","file0":"1397991394","file4":"1397991400","file5":"1397991402","file3":"1397991398"},"map_files_photo_id_array":[{"photo_id":"1397991402","filename":"file5"},{"photo_id":"1397991396","filename":"file2"},{"photo_id":"1397991400","filename":"file4"},{"photo_id":"1397991395","filename":"file1"},{"photo_id":"1397991394","filename":"file0"},{"photo_id":"1397991398","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397991394":["hashtag1","hashtag2"]},{"1397991400":["hashtag1","hashtag2"]},{"1397991396":["hashtag1","hashtag2"]},{"1397991398":["hashtag1","hashtag2"]},{"1397991402":["hashtag1","hashtag2"]},{"1397991395":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397991394, 1397991400, 1397991396, 1397991398, 1397991402, 1397991395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.129103660583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:20:22.529619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/18/image_05122025_01_18_13_9756.jpg', '/home/pi/Desktop/images/05122025/01/18/image_05122025_01_19_04_10737.jpg', '/home/pi/Desktop/images/05122025/01/19/image_05122025_01_19_14_9663.jpg', '/home/pi/Desktop/images/05122025/01/19/image_05122025_01_19_53_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/18/image_05122025_01_18_13_9756.jpg
/home/pi/Desktop/images/05122025/01/18/image_05122025_01_19_04_10737.jpg
/home/pi/Desktop/images/05122025/01/19/image_05122025_01_19_14_9663.jpg
/home/pi/Desktop/images/05122025/01/19/image_05122025_01_19_53_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397991410","1397991415","1397991414","1397991416"],"photo_ids_order":["1397991410","1397991414","1397991415","1397991416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0bcecd147ec1f8fd15d5b5aca577f88.jpg","text":"TemporaryFile(/tmp/multipartBody7001655909575100968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894084452,"filename":"image_05122025_01_18_13_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/5/8195f54cacbb207486c74afa4c3ca777.jpg","text":"TemporaryFile(/tmp/multipartBody6610330768671661418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894084452,"filename":"image_05122025_01_19_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/347d94804df93d704445569a36d54808.jpg","text":"TemporaryFile(/tmp/multipartBody1107339325498992712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894084452,"filename":"image_05122025_01_19_04_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/5/c0aa28996dc0a6b45cd5d2c2ebc028f2.jpg","text":"TemporaryFile(/tmp/multipartBody2441781175683042798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894084452,"filename":"image_05122025_01_19_53_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397991415","file1":"1397991414","file0":"1397991410","file3":"1397991416"},"map_files_photo_id_array":[{"photo_id":"1397991415","filename":"file2"},{"photo_id":"1397991414","filename":"file1"},{"photo_id":"1397991410","filename":"file0"},{"photo_id":"1397991416","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397991410":["hashtag1","hashtag2"]},{"1397991415":["hashtag1","hashtag2"]},{"1397991414":["hashtag1","hashtag2"]},{"1397991416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397991410, 1397991415, 1397991414, 1397991416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.587085247039795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:21:03.520607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/30/image_02122025_11_31_06_9927.jpg', '/home/pi/Desktop/images/02122025/11/31/image_02122025_11_31_15_9729.jpg', '/home/pi/Desktop/images/02122025/11/31/image_02122025_11_31_25_9597.jpg', '/home/pi/Desktop/images/02122025/11/31/image_02122025_11_31_36_10897.jpg', '/home/pi/Desktop/images/02122025/11/31/image_02122025_11_31_46_9687.jpg', '/home/pi/Desktop/images/02122025/11/31/image_02122025_11_31_55_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/30/image_02122025_11_31_06_9927.jpg
/home/pi/Desktop/images/02122025/11/31/image_02122025_11_31_15_9729.jpg
/home/pi/Desktop/images/02122025/11/31/image_02122025_11_31_25_9597.jpg
/home/pi/Desktop/images/02122025/11/31/image_02122025_11_31_36_10897.jpg
/home/pi/Desktop/images/02122025/11/31/image_02122025_11_31_46_9687.jpg
/home/pi/Desktop/images/02122025/11/31/image_02122025_11_31_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":["1397991425","1397991419","1397991427","1397991421","1397991423","1397991429"],"photo_ids_order":["1397991419","1397991421","1397991423","1397991425","1397991427","1397991429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/976efa85b67b2351331f44203387d0e4.jpg","text":"TemporaryFile(/tmp/multipartBody1217276207250792384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894125283,"filename":"image_02122025_11_31_36_10897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb3eac449b3b890d28158da65796754b.jpg","text":"TemporaryFile(/tmp/multipartBody1942024988389283779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894125283,"filename":"image_02122025_11_31_06_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/5/7a638723ac42752f5761cefec1dc0f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6076820461539483253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894125283,"filename":"image_02122025_11_31_46_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/5/4f27b3d85e6939a97b690706f672b886.jpg","text":"TemporaryFile(/tmp/multipartBody9109177660420694148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894125283,"filename":"image_02122025_11_31_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/5/0e29382f7f33eb71848e16e0b049473a.jpg","text":"TemporaryFile(/tmp/multipartBody9037827591852986419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894125283,"filename":"image_02122025_11_31_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/5/806dcbc677ae1169ad7bedb119b11c08.jpg","text":"TemporaryFile(/tmp/multipartBody5816071212985409164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894125283,"filename":"image_02122025_11_31_55_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397991423","file1":"1397991421","file0":"1397991419","file4":"1397991427","file5":"1397991429","file3":"1397991425"},"map_files_photo_id_array":[{"photo_id":"1397991429","filename":"file5"},{"photo_id":"1397991423","filename":"file2"},{"photo_id":"1397991427","filename":"file4"},{"photo_id":"1397991421","filename":"file1"},{"photo_id":"1397991419","filename":"file0"},{"photo_id":"1397991425","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397991425":["hashtag1","hashtag2"]},{"1397991419":["hashtag1","hashtag2"]},{"1397991427":["hashtag1","hashtag2"]},{"1397991421":["hashtag1","hashtag2"]},{"1397991423":["hashtag1","hashtag2"]},{"1397991429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397991425, 1397991419, 1397991427, 1397991421, 1397991423, 1397991429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3936448097229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:21:42.730553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_34_2687.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_38_3617.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_40_2832.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_43_2625.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_47_3640.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_49_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_34_2687.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_38_3617.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_40_2832.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_43_2625.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_47_3640.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_49_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":["1397991431","1397991439","1397991433","1397991441","1397991435","1397991437"],"photo_ids_order":["1397991431","1397991433","1397991435","1397991437","1397991439","1397991441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c4e53942dc9a5c1c709d04dedd124837.jpg","text":"TemporaryFile(/tmp/multipartBody2413942189323503673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894164365,"filename":"image_31102025_17_57_34_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5eca5450e535591f9f8be4336f37e0c9.jpg","text":"TemporaryFile(/tmp/multipartBody6892459047642558565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894164365,"filename":"image_31102025_17_57_47_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/5/ca68b57372eb10a691fdcf84554947ac.jpg","text":"TemporaryFile(/tmp/multipartBody4800625747366982457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894164365,"filename":"image_31102025_17_57_38_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/5/626cdd920c85818e0a7670ef77bf5402.jpg","text":"TemporaryFile(/tmp/multipartBody7796634399301206122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894164365,"filename":"image_31102025_17_57_49_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f571d1a05b5b7b8141af87fdd9b7d7d.jpg","text":"TemporaryFile(/tmp/multipartBody8381405745581468585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894164365,"filename":"image_31102025_17_57_40_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74671f6496f56692f943127639b4299e.jpg","text":"TemporaryFile(/tmp/multipartBody6341536211317074939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894164365,"filename":"image_31102025_17_57_43_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397991435","file1":"1397991433","file0":"1397991431","file4":"1397991439","file5":"1397991441","file3":"1397991437"},"map_files_photo_id_array":[{"photo_id":"1397991441","filename":"file5"},{"photo_id":"1397991435","filename":"file2"},{"photo_id":"1397991439","filename":"file4"},{"photo_id":"1397991433","filename":"file1"},{"photo_id":"1397991431","filename":"file0"},{"photo_id":"1397991437","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397991431":["hashtag1","hashtag2"]},{"1397991439":["hashtag1","hashtag2"]},{"1397991433":["hashtag1","hashtag2"]},{"1397991441":["hashtag1","hashtag2"]},{"1397991435":["hashtag1","hashtag2"]},{"1397991437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397991431, 1397991439, 1397991433, 1397991441, 1397991435, 1397991437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5862078666687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:22:21.913148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/19/image_05122025_01_20_04_10746.jpg', '/home/pi/Desktop/images/05122025/01/21/image_05122025_01_21_24_9642.jpg', '/home/pi/Desktop/images/05122025/01/21/image_05122025_01_22_04_10028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/19/image_05122025_01_20_04_10746.jpg
/home/pi/Desktop/images/05122025/01/21/image_05122025_01_21_24_9642.jpg
/home/pi/Desktop/images/05122025/01/21/image_05122025_01_22_04_10028.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397991442","1397991444","1397991449"],"photo_ids_order":["1397991442","1397991444","1397991449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8a36cd34feec8663c616cca21ace5d2c.jpg","text":"TemporaryFile(/tmp/multipartBody9155045886794149790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894202525,"filename":"image_05122025_01_20_04_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/5/9c8d67fe0a2a28b55f31e1880e58abe8.jpg","text":"TemporaryFile(/tmp/multipartBody7131454222757883610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894202525,"filename":"image_05122025_01_21_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/5/4dbb804a9c89758f54956e563d27d475.jpg","text":"TemporaryFile(/tmp/multipartBody1855989089810888453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894202525,"filename":"image_05122025_01_22_04_10028.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397991449","file1":"1397991444","file0":"1397991442"},"map_files_photo_id_array":[{"photo_id":"1397991449","filename":"file2"},{"photo_id":"1397991444","filename":"file1"},{"photo_id":"1397991442","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397991442":["hashtag1","hashtag2"]},{"1397991444":["hashtag1","hashtag2"]},{"1397991449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397991442, 1397991444, 1397991449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.547215461730957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:23:02.660455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/31/image_02122025_11_32_05_9694.jpg', '/home/pi/Desktop/images/02122025/11/32/image_02122025_11_32_16_10722.jpg', '/home/pi/Desktop/images/02122025/11/32/image_02122025_11_32_26_9712.jpg', '/home/pi/Desktop/images/02122025/11/32/image_02122025_11_32_35_9698.jpg', '/home/pi/Desktop/images/02122025/11/32/image_02122025_11_32_46_10788.jpg', '/home/pi/Desktop/images/02122025/11/32/image_02122025_11_32_56_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/31/image_02122025_11_32_05_9694.jpg
/home/pi/Desktop/images/02122025/11/32/image_02122025_11_32_16_10722.jpg
/home/pi/Desktop/images/02122025/11/32/image_02122025_11_32_26_9712.jpg
/home/pi/Desktop/images/02122025/11/32/image_02122025_11_32_35_9698.jpg
/home/pi/Desktop/images/02122025/11/32/image_02122025_11_32_46_10788.jpg
/home/pi/Desktop/images/02122025/11/32/image_02122025_11_32_56_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397991457","1397991460","1397991454","1397991456","1397991455","1397991458"],"photo_ids_order":["1397991454","1397991455","1397991456","1397991457","1397991458","1397991460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6e8f86925b474913ef7c9688ccf30c0e.jpg","text":"TemporaryFile(/tmp/multipartBody4349887239867407485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894244380,"filename":"image_02122025_11_32_35_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/5/b022e7041b9669a814c7ef4e141c0e87.jpg","text":"TemporaryFile(/tmp/multipartBody8030466622807884338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894244380,"filename":"image_02122025_11_32_56_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/5/90ead2582e7333b5306397cd01d3b880.jpg","text":"TemporaryFile(/tmp/multipartBody4487515147541578381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894244380,"filename":"image_02122025_11_32_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/5/0681f04cb2660a1c384c1b690a8e0966.jpg","text":"TemporaryFile(/tmp/multipartBody6125103654192884029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894244380,"filename":"image_02122025_11_32_26_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/5/639a0ae245ee8f51d4492196e75f4cf2.jpg","text":"TemporaryFile(/tmp/multipartBody42766825337308258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894244380,"filename":"image_02122025_11_32_16_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/5/330e1cc1a45f87b4e2e5f13f75b68cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8202283265392788602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894244380,"filename":"image_02122025_11_32_46_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397991456","file1":"1397991455","file0":"1397991454","file4":"1397991458","file5":"1397991460","file3":"1397991457"},"map_files_photo_id_array":[{"photo_id":"1397991460","filename":"file5"},{"photo_id":"1397991456","filename":"file2"},{"photo_id":"1397991458","filename":"file4"},{"photo_id":"1397991455","filename":"file1"},{"photo_id":"1397991454","filename":"file0"},{"photo_id":"1397991457","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397991457":["hashtag1","hashtag2"]},{"1397991460":["hashtag1","hashtag2"]},{"1397991454":["hashtag1","hashtag2"]},{"1397991456":["hashtag1","hashtag2"]},{"1397991455":["hashtag1","hashtag2"]},{"1397991458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397991457, 1397991460, 1397991454, 1397991456, 1397991455, 1397991458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06988334655762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:23:42.139029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_52_2627.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_55_3661.jpg', '/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_58_2494.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_01_3243.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_04_2553.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_07_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_52_2627.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_55_3661.jpg
/home/pi/Desktop/images/31102025/17/57/image_31102025_17_57_58_2494.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_01_3243.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_04_2553.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_07_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":["1397991466","1397991469","1397991468","1397991471","1397991470","1397991467"],"photo_ids_order":["1397991466","1397991467","1397991468","1397991469","1397991470","1397991471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/744d9bd1264007cbf09da8306b715e95.jpg","text":"TemporaryFile(/tmp/multipartBody2043736318481559460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894283733,"filename":"image_31102025_17_57_52_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/5/8ba575dffea929a43bf1ec692b550d0a.jpg","text":"TemporaryFile(/tmp/multipartBody3179594397478169547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894283733,"filename":"image_31102025_17_58_01_3243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d08a7cf1abe7b6c00b9bb8d367196b9.jpg","text":"TemporaryFile(/tmp/multipartBody1894331448913612420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894283733,"filename":"image_31102025_17_57_58_2494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c71172caa6e9fc1fec515484fe43fc2.jpg","text":"TemporaryFile(/tmp/multipartBody128549969307775121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894283733,"filename":"image_31102025_17_58_07_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/5/20a0dcd0230f7b277ae5767f8465888d.jpg","text":"TemporaryFile(/tmp/multipartBody6158923299691048759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894283733,"filename":"image_31102025_17_58_04_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/5/6975d52ef4b91001a36babe920fd7d78.jpg","text":"TemporaryFile(/tmp/multipartBody5867576395278438206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894283733,"filename":"image_31102025_17_57_55_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397991468","file1":"1397991467","file0":"1397991466","file4":"1397991470","file5":"1397991471","file3":"1397991469"},"map_files_photo_id_array":[{"photo_id":"1397991471","filename":"file5"},{"photo_id":"1397991468","filename":"file2"},{"photo_id":"1397991470","filename":"file4"},{"photo_id":"1397991467","filename":"file1"},{"photo_id":"1397991466","filename":"file0"},{"photo_id":"1397991469","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397991466":["hashtag1","hashtag2"]},{"1397991469":["hashtag1","hashtag2"]},{"1397991468":["hashtag1","hashtag2"]},{"1397991471":["hashtag1","hashtag2"]},{"1397991470":["hashtag1","hashtag2"]},{"1397991467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397991466, 1397991469, 1397991468, 1397991471, 1397991470, 1397991467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97724986076355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:24:22.328337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/22/image_05122025_01_22_54_10062.jpg', '/home/pi/Desktop/images/05122025/01/22/image_05122025_01_23_04_9827.jpg', '/home/pi/Desktop/images/05122025/01/23/image_05122025_01_23_23_9850.jpg', '/home/pi/Desktop/images/05122025/01/23/image_05122025_01_23_34_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/22/image_05122025_01_22_54_10062.jpg
/home/pi/Desktop/images/05122025/01/22/image_05122025_01_23_04_9827.jpg
/home/pi/Desktop/images/05122025/01/23/image_05122025_01_23_23_9850.jpg
/home/pi/Desktop/images/05122025/01/23/image_05122025_01_23_34_10798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397991800","1397992089","1397991993","1397991896"],"photo_ids_order":["1397991800","1397991896","1397991993","1397992089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2cef45be815f182319895c930e4c425b.jpg","text":"TemporaryFile(/tmp/multipartBody2831517417164148502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894322956,"filename":"image_05122025_01_22_54_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bdded738a5f68e014647373cb0a6e731.jpg","text":"TemporaryFile(/tmp/multipartBody7729031968945548622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894322956,"filename":"image_05122025_01_23_34_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/5/bf8568fde30bb242ada5a58e8241d9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5476584824951011016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894322956,"filename":"image_05122025_01_23_23_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/5/4e3c9b4e13709af3034f1437a411ce11.jpg","text":"TemporaryFile(/tmp/multipartBody7754269421889237243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894322956,"filename":"image_05122025_01_23_04_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397991993","file1":"1397991896","file0":"1397991800","file3":"1397992089"},"map_files_photo_id_array":[{"photo_id":"1397991993","filename":"file2"},{"photo_id":"1397991896","filename":"file1"},{"photo_id":"1397991800","filename":"file0"},{"photo_id":"1397992089","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397991800":["hashtag1","hashtag2"]},{"1397992089":["hashtag1","hashtag2"]},{"1397991993":["hashtag1","hashtag2"]},{"1397991896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397991800, 1397992089, 1397991993, 1397991896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.978294134140015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:25:03.144158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/32/image_02122025_11_33_05_9748.jpg', '/home/pi/Desktop/images/02122025/11/33/image_02122025_11_33_16_10268.jpg', '/home/pi/Desktop/images/02122025/11/33/image_02122025_11_33_25_9823.jpg', '/home/pi/Desktop/images/02122025/11/33/image_02122025_11_33_35_9702.jpg', '/home/pi/Desktop/images/02122025/11/33/image_02122025_11_33_46_10668.jpg', '/home/pi/Desktop/images/02122025/11/33/image_02122025_11_33_56_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/32/image_02122025_11_33_05_9748.jpg
/home/pi/Desktop/images/02122025/11/33/image_02122025_11_33_16_10268.jpg
/home/pi/Desktop/images/02122025/11/33/image_02122025_11_33_25_9823.jpg
/home/pi/Desktop/images/02122025/11/33/image_02122025_11_33_35_9702.jpg
/home/pi/Desktop/images/02122025/11/33/image_02122025_11_33_46_10668.jpg
/home/pi/Desktop/images/02122025/11/33/image_02122025_11_33_56_9780.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":["1397992596","1397992600","1397992584","1397992602","1397992598","1397992597"],"photo_ids_order":["1397992584","1397992596","1397992597","1397992598","1397992600","1397992602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f7d1f41ad3ad8ca3d4169798861fed6.jpg","text":"TemporaryFile(/tmp/multipartBody5257051528869462356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894364925,"filename":"image_02122025_11_33_16_10268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b7ab5b1af061885a058bb217309e97b.jpg","text":"TemporaryFile(/tmp/multipartBody3695473115848740390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894364925,"filename":"image_02122025_11_33_46_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/5/30b7610132e9baeb32219a82f6472884.jpg","text":"TemporaryFile(/tmp/multipartBody7664066556404511191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894364925,"filename":"image_02122025_11_33_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/5/83f1d04c4dfae3c44d7294f8572e0e64.jpg","text":"TemporaryFile(/tmp/multipartBody3635029471749060541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894364925,"filename":"image_02122025_11_33_56_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/5/0166cd023b110ea409dbaac8190882bc.jpg","text":"TemporaryFile(/tmp/multipartBody6994994026839217637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894364925,"filename":"image_02122025_11_33_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/5/718fe89d1f91db93952ed0a474186beb.jpg","text":"TemporaryFile(/tmp/multipartBody3792922761315247333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894364925,"filename":"image_02122025_11_33_25_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397992597","file1":"1397992596","file0":"1397992584","file4":"1397992600","file5":"1397992602","file3":"1397992598"},"map_files_photo_id_array":[{"photo_id":"1397992602","filename":"file5"},{"photo_id":"1397992597","filename":"file2"},{"photo_id":"1397992600","filename":"file4"},{"photo_id":"1397992596","filename":"file1"},{"photo_id":"1397992584","filename":"file0"},{"photo_id":"1397992598","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397992596":["hashtag1","hashtag2"]},{"1397992600":["hashtag1","hashtag2"]},{"1397992584":["hashtag1","hashtag2"]},{"1397992602":["hashtag1","hashtag2"]},{"1397992598":["hashtag1","hashtag2"]},{"1397992597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397992596, 1397992600, 1397992584, 1397992602, 1397992598, 1397992597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.90064001083374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:26:03.086872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/23/image_05122025_01_23_44_9692.jpg', '/home/pi/Desktop/images/05122025/01/25/image_05122025_01_25_14_9680.jpg', '/home/pi/Desktop/images/05122025/01/25/image_05122025_01_25_24_10732.jpg', '/home/pi/Desktop/images/05122025/01/25/image_05122025_01_25_44_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/23/image_05122025_01_23_44_9692.jpg
/home/pi/Desktop/images/05122025/01/25/image_05122025_01_25_14_9680.jpg
/home/pi/Desktop/images/05122025/01/25/image_05122025_01_25_24_10732.jpg
/home/pi/Desktop/images/05122025/01/25/image_05122025_01_25_44_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":["1397992609","1397992608","1397992610","1397992607"],"photo_ids_order":["1397992607","1397992608","1397992609","1397992610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/25c194fb6cbaeecf739becafff855d6d.jpg","text":"TemporaryFile(/tmp/multipartBody6765429737215103892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894423761,"filename":"image_05122025_01_25_24_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/5/25527a6ebce98bcf922e71b7bf6dde88.jpg","text":"TemporaryFile(/tmp/multipartBody2995706829377588011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894423761,"filename":"image_05122025_01_25_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/5/a9e2647749c9b4a0f799e3535a4c346b.jpg","text":"TemporaryFile(/tmp/multipartBody2388210554507541756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894423761,"filename":"image_05122025_01_25_44_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7ea53deb216e93b11b5977ce7aa1b97c.jpg","text":"TemporaryFile(/tmp/multipartBody1693767908405254204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894423761,"filename":"image_05122025_01_23_44_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397992609","file1":"1397992608","file0":"1397992607","file3":"1397992610"},"map_files_photo_id_array":[{"photo_id":"1397992609","filename":"file2"},{"photo_id":"1397992608","filename":"file1"},{"photo_id":"1397992607","filename":"file0"},{"photo_id":"1397992610","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397992609":["hashtag1","hashtag2"]},{"1397992608":["hashtag1","hashtag2"]},{"1397992610":["hashtag1","hashtag2"]},{"1397992607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397992609, 1397992608, 1397992610, 1397992607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.031890153884888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:26:32.707922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/33/image_02122025_11_34_05_9559.jpg', '/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_16_10831.jpg', '/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_27_10916.jpg', '/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_36_8612.jpg', '/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_45_9806.jpg', '/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_55_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/33/image_02122025_11_34_05_9559.jpg
/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_16_10831.jpg
/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_27_10916.jpg
/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_36_8612.jpg
/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_45_9806.jpg
/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_55_9739.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0863139629364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:26:42.629490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_10_2649.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_13_2674.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_16_3614.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_19_2726.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_22_2700.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_26_3743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_10_2649.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_13_2674.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_16_3614.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_19_2726.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_22_2700.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_26_3743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397993085","1397993076","1397993052","1397992859","1397993086","1397992957"],"photo_ids_order":["1397992859","1397992957","1397993052","1397993076","1397993085","1397993086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/35035100bd0e2700041ef299226666d7.jpg","text":"TemporaryFile(/tmp/multipartBody7244058022384757940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894464545,"filename":"image_31102025_17_58_22_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/5/451f512800806dc35f6bee0969944017.jpg","text":"TemporaryFile(/tmp/multipartBody3632476052068759320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894464545,"filename":"image_31102025_17_58_19_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a142b658d9ed100edf614d03094c546.jpg","text":"TemporaryFile(/tmp/multipartBody6234414505383684437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894464545,"filename":"image_31102025_17_58_16_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e80178582a652992962469d904ace495.jpg","text":"TemporaryFile(/tmp/multipartBody6305060837719189438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894464545,"filename":"image_31102025_17_58_10_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/5/4aa54b13397574beaf69c5faf9ff01ab.jpg","text":"TemporaryFile(/tmp/multipartBody8537559053680014983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894464545,"filename":"image_31102025_17_58_26_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/12db79c03528fd14af9ae41248b62d84.jpg","text":"TemporaryFile(/tmp/multipartBody6479964075464943613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894464545,"filename":"image_31102025_17_58_13_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397993052","file1":"1397992957","file0":"1397992859","file4":"1397993085","file5":"1397993086","file3":"1397993076"},"map_files_photo_id_array":[{"photo_id":"1397993086","filename":"file5"},{"photo_id":"1397993052","filename":"file2"},{"photo_id":"1397993085","filename":"file4"},{"photo_id":"1397992957","filename":"file1"},{"photo_id":"1397992859","filename":"file0"},{"photo_id":"1397993076","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397993085":["hashtag1","hashtag2"]},{"1397993076":["hashtag1","hashtag2"]},{"1397993052":["hashtag1","hashtag2"]},{"1397992859":["hashtag1","hashtag2"]},{"1397993086":["hashtag1","hashtag2"]},{"1397992957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397993085, 1397993076, 1397993052, 1397992859, 1397993086, 1397992957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.3302161693573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:27:32.859027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/33/image_02122025_11_34_05_9559.jpg', '/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_16_10831.jpg', '/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_27_10916.jpg', '/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_36_8612.jpg', '/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_45_9806.jpg', '/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_55_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/33/image_02122025_11_34_05_9559.jpg
/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_16_10831.jpg
/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_27_10916.jpg
/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_36_8612.jpg
/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_45_9806.jpg
/home/pi/Desktop/images/02122025/11/34/image_02122025_11_34_55_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":["1397993232","1397993220","1397993214","1397993217","1397993219","1397993204"],"photo_ids_order":["1397993204","1397993214","1397993217","1397993219","1397993220","1397993232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4ab2dfbbabe5e6dcaf79e7c4e56b008.jpg","text":"TemporaryFile(/tmp/multipartBody5930027798858038243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894515199,"filename":"image_02122025_11_34_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/5/5a0bd3eae9579622f3598c80473df84d.jpg","text":"TemporaryFile(/tmp/multipartBody1962554415833490410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894515199,"filename":"image_02122025_11_34_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/5/e8379844f9a210898a7f8db044ee77f4.jpg","text":"TemporaryFile(/tmp/multipartBody6563159307327370517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894515199,"filename":"image_02122025_11_34_16_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/5/b0c3351c46fae58bb6ee469eff6f471e.jpg","text":"TemporaryFile(/tmp/multipartBody7173521364619438399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894515199,"filename":"image_02122025_11_34_27_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/5/9b245219ae979be4dcc97a75cd497678.jpg","text":"TemporaryFile(/tmp/multipartBody6286838491851568865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894515199,"filename":"image_02122025_11_34_36_8612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95a5538f11371e56b3eaff8fe8bd7ab3.jpg","text":"TemporaryFile(/tmp/multipartBody17820122541042545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894515199,"filename":"image_02122025_11_34_05_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397993217","file1":"1397993214","file0":"1397993204","file4":"1397993220","file5":"1397993232","file3":"1397993219"},"map_files_photo_id_array":[{"photo_id":"1397993232","filename":"file5"},{"photo_id":"1397993217","filename":"file2"},{"photo_id":"1397993220","filename":"file4"},{"photo_id":"1397993214","filename":"file1"},{"photo_id":"1397993204","filename":"file0"},{"photo_id":"1397993219","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397993232":["hashtag1","hashtag2"]},{"1397993220":["hashtag1","hashtag2"]},{"1397993214":["hashtag1","hashtag2"]},{"1397993217":["hashtag1","hashtag2"]},{"1397993219":["hashtag1","hashtag2"]},{"1397993204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397993232, 1397993220, 1397993214, 1397993217, 1397993219, 1397993204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.71625304222107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:28:22.049858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/25/image_05122025_01_25_54_9778.jpg', '/home/pi/Desktop/images/05122025/01/25/image_05122025_01_26_03_9914.jpg', '/home/pi/Desktop/images/05122025/01/26/image_05122025_01_26_53_9677.jpg', '/home/pi/Desktop/images/05122025/01/26/image_05122025_01_27_04_10672.jpg', '/home/pi/Desktop/images/05122025/01/27/image_05122025_01_27_24_9712.jpg', '/home/pi/Desktop/images/05122025/01/27/image_05122025_01_27_33_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/25/image_05122025_01_25_54_9778.jpg
/home/pi/Desktop/images/05122025/01/25/image_05122025_01_26_03_9914.jpg
/home/pi/Desktop/images/05122025/01/26/image_05122025_01_26_53_9677.jpg
/home/pi/Desktop/images/05122025/01/26/image_05122025_01_27_04_10672.jpg
/home/pi/Desktop/images/05122025/01/27/image_05122025_01_27_24_9712.jpg
/home/pi/Desktop/images/05122025/01/27/image_05122025_01_27_33_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":["1397993595","1397993512","1397993550","1397993469","1397993374","1397993428"],"photo_ids_order":["1397993374","1397993428","1397993469","1397993512","1397993550","1397993595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/297ed0c16de60f5d3fc29d89afa4454c.jpg","text":"TemporaryFile(/tmp/multipartBody6344616753404767760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894563784,"filename":"image_05122025_01_27_33_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/5/22cddb218600cd57aa7fdf60e64c9a9e.jpg","text":"TemporaryFile(/tmp/multipartBody4914890689108579964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894563784,"filename":"image_05122025_01_27_04_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/5/24a799fe3c9febed97f46a0d2cfa1858.jpg","text":"TemporaryFile(/tmp/multipartBody1879678529910492287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894563784,"filename":"image_05122025_01_27_24_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/10edc330c31169bdbd0e76a8a89cf0de.jpg","text":"TemporaryFile(/tmp/multipartBody4591043713953092844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894563784,"filename":"image_05122025_01_26_53_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/5/e95164cfcbb3bc852cc3a781a9b0c3c4.jpg","text":"TemporaryFile(/tmp/multipartBody5679464715005095171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894563784,"filename":"image_05122025_01_25_54_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b21a003c571d496fef960ac8bce94c2.jpg","text":"TemporaryFile(/tmp/multipartBody827274835117929645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894563784,"filename":"image_05122025_01_26_03_9914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397993469","file1":"1397993428","file0":"1397993374","file4":"1397993550","file5":"1397993595","file3":"1397993512"},"map_files_photo_id_array":[{"photo_id":"1397993595","filename":"file5"},{"photo_id":"1397993469","filename":"file2"},{"photo_id":"1397993550","filename":"file4"},{"photo_id":"1397993428","filename":"file1"},{"photo_id":"1397993374","filename":"file0"},{"photo_id":"1397993512","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397993595":["hashtag1","hashtag2"]},{"1397993512":["hashtag1","hashtag2"]},{"1397993550":["hashtag1","hashtag2"]},{"1397993469":["hashtag1","hashtag2"]},{"1397993374":["hashtag1","hashtag2"]},{"1397993428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397993595, 1397993512, 1397993550, 1397993469, 1397993374, 1397993428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30755925178528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:29:12.210200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/35/image_02122025_11_35_14_10047.jpg', '/home/pi/Desktop/images/02122025/11/35/image_02122025_11_35_24_10463.jpg', '/home/pi/Desktop/images/02122025/11/35/image_02122025_11_35_34_9591.jpg', '/home/pi/Desktop/images/02122025/11/35/image_02122025_11_35_54_9762.jpg', '/home/pi/Desktop/images/02122025/11/35/image_02122025_11_36_04_9677.jpg', '/home/pi/Desktop/images/02122025/11/36/image_02122025_11_36_14_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/35/image_02122025_11_35_14_10047.jpg
/home/pi/Desktop/images/02122025/11/35/image_02122025_11_35_24_10463.jpg
/home/pi/Desktop/images/02122025/11/35/image_02122025_11_35_34_9591.jpg
/home/pi/Desktop/images/02122025/11/35/image_02122025_11_35_54_9762.jpg
/home/pi/Desktop/images/02122025/11/35/image_02122025_11_36_04_9677.jpg
/home/pi/Desktop/images/02122025/11/36/image_02122025_11_36_14_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397993844","1397994011","1397993930","1397993887","1397993968","1397993797"],"photo_ids_order":["1397993797","1397993844","1397993887","1397993930","1397993968","1397994011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87c99244c487d97f8ff7e72717f62dae.jpg","text":"TemporaryFile(/tmp/multipartBody7147302400762984984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894615049,"filename":"image_02122025_11_35_24_10463.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/92bb286a38584951d2a4d863fab0d1ec.jpg","text":"TemporaryFile(/tmp/multipartBody1376542376559168485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894615049,"filename":"image_02122025_11_36_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/5/df93dc9b28bb5ee0e0012c15c7d53748.jpg","text":"TemporaryFile(/tmp/multipartBody4018150415994989811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894615049,"filename":"image_02122025_11_35_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/5/91c3d75a0157da68451d0c0a3ef4b95c.jpg","text":"TemporaryFile(/tmp/multipartBody2861628137418165317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894615049,"filename":"image_02122025_11_35_34_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e1cd12ca1fcc6427bd392b62d9e7020.jpg","text":"TemporaryFile(/tmp/multipartBody5025817411896574935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894615049,"filename":"image_02122025_11_36_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/5/0e52066657319f6182092b1d6c80c060.jpg","text":"TemporaryFile(/tmp/multipartBody3373049720708670774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894615049,"filename":"image_02122025_11_35_14_10047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397993887","file1":"1397993844","file0":"1397993797","file4":"1397993968","file5":"1397994011","file3":"1397993930"},"map_files_photo_id_array":[{"photo_id":"1397994011","filename":"file5"},{"photo_id":"1397993887","filename":"file2"},{"photo_id":"1397993968","filename":"file4"},{"photo_id":"1397993844","filename":"file1"},{"photo_id":"1397993797","filename":"file0"},{"photo_id":"1397993930","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397993844":["hashtag1","hashtag2"]},{"1397994011":["hashtag1","hashtag2"]},{"1397993930":["hashtag1","hashtag2"]},{"1397993887":["hashtag1","hashtag2"]},{"1397993968":["hashtag1","hashtag2"]},{"1397993797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397993844, 1397994011, 1397993930, 1397993887, 1397993968, 1397993797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57749271392822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:30:02.616858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/27/image_05122025_01_27_54_9736.jpg', '/home/pi/Desktop/images/05122025/01/28/image_05122025_01_28_34_9827.jpg', '/home/pi/Desktop/images/05122025/01/28/image_05122025_01_28_44_9773.jpg', '/home/pi/Desktop/images/05122025/01/28/image_05122025_01_29_04_9905.jpg', '/home/pi/Desktop/images/05122025/01/29/image_05122025_01_29_13_9842.jpg', '/home/pi/Desktop/images/05122025/01/29/image_05122025_01_29_24_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/27/image_05122025_01_27_54_9736.jpg
/home/pi/Desktop/images/05122025/01/28/image_05122025_01_28_34_9827.jpg
/home/pi/Desktop/images/05122025/01/28/image_05122025_01_28_44_9773.jpg
/home/pi/Desktop/images/05122025/01/28/image_05122025_01_29_04_9905.jpg
/home/pi/Desktop/images/05122025/01/29/image_05122025_01_29_13_9842.jpg
/home/pi/Desktop/images/05122025/01/29/image_05122025_01_29_24_10693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397994027","1397994042","1397994029","1397994031","1397994025","1397994028"],"photo_ids_order":["1397994025","1397994027","1397994028","1397994029","1397994031","1397994042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b9bfe8ebd3cdce5221ff786a0bcb2ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7469151550190450896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894664310,"filename":"image_05122025_01_28_34_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6cc07533dbd8cbe022e6fb14d5fbf35a.jpg","text":"TemporaryFile(/tmp/multipartBody363967547320930726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894664310,"filename":"image_05122025_01_29_24_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/5/6ec9ded6d290099c3ec017dc9e8ce47f.jpg","text":"TemporaryFile(/tmp/multipartBody2070644037485016155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894664310,"filename":"image_05122025_01_29_04_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/5/6a668e84aa42cd55f3b9bc5aef95a6c6.jpg","text":"TemporaryFile(/tmp/multipartBody3558959095014978081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894664310,"filename":"image_05122025_01_29_13_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/5/99892178aa247f30a7bcbacbc7721f92.jpg","text":"TemporaryFile(/tmp/multipartBody745873704579032714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894664310,"filename":"image_05122025_01_27_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/5/469abf88a36fc2a0df345e33caca083b.jpg","text":"TemporaryFile(/tmp/multipartBody5444211468570410145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894664310,"filename":"image_05122025_01_28_44_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397994028","file1":"1397994027","file0":"1397994025","file4":"1397994031","file5":"1397994042","file3":"1397994029"},"map_files_photo_id_array":[{"photo_id":"1397994042","filename":"file5"},{"photo_id":"1397994028","filename":"file2"},{"photo_id":"1397994031","filename":"file4"},{"photo_id":"1397994027","filename":"file1"},{"photo_id":"1397994025","filename":"file0"},{"photo_id":"1397994029","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397994027":["hashtag1","hashtag2"]},{"1397994042":["hashtag1","hashtag2"]},{"1397994029":["hashtag1","hashtag2"]},{"1397994031":["hashtag1","hashtag2"]},{"1397994025":["hashtag1","hashtag2"]},{"1397994028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397994027, 1397994042, 1397994029, 1397994031, 1397994025, 1397994028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.375513315200806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:30:42.340189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_28_2531.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_31_2691.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_34_3635.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_37_2607.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_40_2694.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_43_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_28_2531.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_31_2691.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_34_3635.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_37_2607.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_40_2694.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_43_3579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397994275","1397994254","1397994179","1397994218","1397994277","1397994276"],"photo_ids_order":["1397994179","1397994218","1397994254","1397994275","1397994276","1397994277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c0ae50d6fd77c7ed5559b221a16d1b0.jpg","text":"TemporaryFile(/tmp/multipartBody6921926250888404977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894703899,"filename":"image_31102025_17_58_37_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/5/66ebd2e28823d5151e36dd0a9399e403.jpg","text":"TemporaryFile(/tmp/multipartBody6457971246373557047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894703899,"filename":"image_31102025_17_58_34_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/5/fe3085f00987df987b6aa504410d736b.jpg","text":"TemporaryFile(/tmp/multipartBody7249595100401249000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894703899,"filename":"image_31102025_17_58_28_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/854b787ed44c62ae1dd0ab09557569f8.jpg","text":"TemporaryFile(/tmp/multipartBody210573805199261211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894703899,"filename":"image_31102025_17_58_31_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a2d81eeda0792b30eb2e56e5e9cc9bd8.jpg","text":"TemporaryFile(/tmp/multipartBody3861924561666109604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894703899,"filename":"image_31102025_17_58_43_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f7d2df833d82e55c00319a7449632acb.jpg","text":"TemporaryFile(/tmp/multipartBody2873199792948499834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894703899,"filename":"image_31102025_17_58_40_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397994254","file1":"1397994218","file0":"1397994179","file4":"1397994276","file5":"1397994277","file3":"1397994275"},"map_files_photo_id_array":[{"photo_id":"1397994277","filename":"file5"},{"photo_id":"1397994254","filename":"file2"},{"photo_id":"1397994276","filename":"file4"},{"photo_id":"1397994218","filename":"file1"},{"photo_id":"1397994179","filename":"file0"},{"photo_id":"1397994275","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397994275":["hashtag1","hashtag2"]},{"1397994254":["hashtag1","hashtag2"]},{"1397994179":["hashtag1","hashtag2"]},{"1397994218":["hashtag1","hashtag2"]},{"1397994277":["hashtag1","hashtag2"]},{"1397994276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397994275, 1397994254, 1397994179, 1397994218, 1397994277, 1397994276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.991541624069214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:31:22.476203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/29/image_05122025_01_29_44_9739.jpg', '/home/pi/Desktop/images/05122025/01/29/image_05122025_01_30_03_9759.jpg', '/home/pi/Desktop/images/05122025/01/30/image_05122025_01_30_13_9906.jpg', '/home/pi/Desktop/images/05122025/01/30/image_05122025_01_30_24_10903.jpg', '/home/pi/Desktop/images/05122025/01/30/image_05122025_01_30_34_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/29/image_05122025_01_29_44_9739.jpg
/home/pi/Desktop/images/05122025/01/29/image_05122025_01_30_03_9759.jpg
/home/pi/Desktop/images/05122025/01/30/image_05122025_01_30_13_9906.jpg
/home/pi/Desktop/images/05122025/01/30/image_05122025_01_30_24_10903.jpg
/home/pi/Desktop/images/05122025/01/30/image_05122025_01_30_34_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397994351","1397994402","1397994373","1397994349","1397994406"],"photo_ids_order":["1397994349","1397994351","1397994373","1397994402","1397994406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/50ab77e6bd1fae37f033a1fe5084ca70.jpg","text":"TemporaryFile(/tmp/multipartBody8666353916863345585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894743154,"filename":"image_05122025_01_30_03_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/5/eeab92e888df145bbff7e92830e81414.jpg","text":"TemporaryFile(/tmp/multipartBody8167439902021817989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894743154,"filename":"image_05122025_01_30_24_10903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7325e051f22b30a1b1a1102c64b89ea3.jpg","text":"TemporaryFile(/tmp/multipartBody8231367654727638546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894743154,"filename":"image_05122025_01_30_13_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/5/1ae0f02c19c4812d437cc861366c25f8.jpg","text":"TemporaryFile(/tmp/multipartBody3714031875126288531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894743154,"filename":"image_05122025_01_29_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/5/76e7b1fce4191f483037288cb1e1f587.jpg","text":"TemporaryFile(/tmp/multipartBody7402567464854482822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894743154,"filename":"image_05122025_01_30_34_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397994373","file1":"1397994351","file0":"1397994349","file4":"1397994406","file3":"1397994402"},"map_files_photo_id_array":[{"photo_id":"1397994373","filename":"file2"},{"photo_id":"1397994406","filename":"file4"},{"photo_id":"1397994351","filename":"file1"},{"photo_id":"1397994349","filename":"file0"},{"photo_id":"1397994402","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397994351":["hashtag1","hashtag2"]},{"1397994402":["hashtag1","hashtag2"]},{"1397994373":["hashtag1","hashtag2"]},{"1397994349":["hashtag1","hashtag2"]},{"1397994406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397994351, 1397994402, 1397994373, 1397994349, 1397994406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.07820391654968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:32:03.047018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/36/image_02122025_11_36_24_10750.jpg', '/home/pi/Desktop/images/02122025/11/36/image_02122025_11_36_34_9710.jpg', '/home/pi/Desktop/images/02122025/11/36/image_02122025_11_36_48_13861.jpg', '/home/pi/Desktop/images/02122025/11/36/image_02122025_11_36_54_5723.jpg', '/home/pi/Desktop/images/02122025/11/36/image_02122025_11_37_04_10594.jpg', '/home/pi/Desktop/images/02122025/11/37/image_02122025_11_37_14_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/36/image_02122025_11_36_24_10750.jpg
/home/pi/Desktop/images/02122025/11/36/image_02122025_11_36_34_9710.jpg
/home/pi/Desktop/images/02122025/11/36/image_02122025_11_36_48_13861.jpg
/home/pi/Desktop/images/02122025/11/36/image_02122025_11_36_54_5723.jpg
/home/pi/Desktop/images/02122025/11/36/image_02122025_11_37_04_10594.jpg
/home/pi/Desktop/images/02122025/11/37/image_02122025_11_37_14_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":["1397994411","1397994408","1397994410","1397994413","1397994415","1397994409"],"photo_ids_order":["1397994408","1397994409","1397994410","1397994411","1397994413","1397994415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c4be7cd2a84658e061a4c152486bc68.jpg","text":"TemporaryFile(/tmp/multipartBody5575427131604051018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894784662,"filename":"image_02122025_11_36_54_5723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91d9f02fe946f3e7fc717c9d461daa4a.jpg","text":"TemporaryFile(/tmp/multipartBody7862722678978151329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894784662,"filename":"image_02122025_11_36_24_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/5/fd24930b700b6193bbecfd98d9d2a0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3003404730175042396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894784662,"filename":"image_02122025_11_36_48_13861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b857443320a494565dc2617a05ddfea0.jpg","text":"TemporaryFile(/tmp/multipartBody2374032400020581171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894784662,"filename":"image_02122025_11_37_04_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac55ac3adfa2524256470968f72dd6cc.jpg","text":"TemporaryFile(/tmp/multipartBody4835718828741628931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894784662,"filename":"image_02122025_11_37_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/5/6d1be9d6ec532956120a35d48fe34f90.jpg","text":"TemporaryFile(/tmp/multipartBody6534739353761688898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894784662,"filename":"image_02122025_11_36_34_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397994410","file1":"1397994409","file0":"1397994408","file4":"1397994413","file5":"1397994415","file3":"1397994411"},"map_files_photo_id_array":[{"photo_id":"1397994415","filename":"file5"},{"photo_id":"1397994410","filename":"file2"},{"photo_id":"1397994413","filename":"file4"},{"photo_id":"1397994409","filename":"file1"},{"photo_id":"1397994408","filename":"file0"},{"photo_id":"1397994411","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397994411":["hashtag1","hashtag2"]},{"1397994408":["hashtag1","hashtag2"]},{"1397994410":["hashtag1","hashtag2"]},{"1397994413":["hashtag1","hashtag2"]},{"1397994415":["hashtag1","hashtag2"]},{"1397994409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397994411, 1397994408, 1397994410, 1397994413, 1397994415, 1397994409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.813624143600464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:32:42.670977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_46_2620.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_49_2657.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_52_3542.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_55_2727.jpg', '/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_58_3605.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_01_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_46_2620.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_49_2657.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_52_3542.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_55_2727.jpg
/home/pi/Desktop/images/31102025/17/58/image_31102025_17_58_58_3605.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_01_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397994426","1397994440","1397994422","1397994419","1397994448","1397994421"],"photo_ids_order":["1397994419","1397994421","1397994422","1397994426","1397994440","1397994448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/275fdda5c66142ba8f6e0245e248d6b1.jpg","text":"TemporaryFile(/tmp/multipartBody4962801767047548647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894824235,"filename":"image_31102025_17_58_55_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/5/8c3d7fcb2c4ee1cc5802d5cac6611a4a.jpg","text":"TemporaryFile(/tmp/multipartBody6092863106929634618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894824235,"filename":"image_31102025_17_58_58_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ce872880498682427e3474e034142b0.jpg","text":"TemporaryFile(/tmp/multipartBody6093392161108536715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894824235,"filename":"image_31102025_17_58_52_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/5/7c9921360b48990b900d7bf771950838.jpg","text":"TemporaryFile(/tmp/multipartBody5615592723906006156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894824235,"filename":"image_31102025_17_58_46_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/5/4f4cc6fed24edc6b05076b6339372170.jpg","text":"TemporaryFile(/tmp/multipartBody5419916980375241793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894824235,"filename":"image_31102025_17_59_01_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/5/a30034d0da675f649f0d72e0a991ce6e.jpg","text":"TemporaryFile(/tmp/multipartBody1531940088746209158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894824235,"filename":"image_31102025_17_58_49_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397994422","file1":"1397994421","file0":"1397994419","file4":"1397994440","file5":"1397994448","file3":"1397994426"},"map_files_photo_id_array":[{"photo_id":"1397994448","filename":"file5"},{"photo_id":"1397994422","filename":"file2"},{"photo_id":"1397994440","filename":"file4"},{"photo_id":"1397994421","filename":"file1"},{"photo_id":"1397994419","filename":"file0"},{"photo_id":"1397994426","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397994426":["hashtag1","hashtag2"]},{"1397994440":["hashtag1","hashtag2"]},{"1397994422":["hashtag1","hashtag2"]},{"1397994419":["hashtag1","hashtag2"]},{"1397994448":["hashtag1","hashtag2"]},{"1397994421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397994426, 1397994440, 1397994422, 1397994419, 1397994448, 1397994421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.631203174591064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:33:31.861859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/37/image_02122025_11_37_24_10051.jpg', '/home/pi/Desktop/images/02122025/11/37/image_02122025_11_37_34_9909.jpg', '/home/pi/Desktop/images/02122025/11/37/image_02122025_11_37_44_9681.jpg', '/home/pi/Desktop/images/02122025/11/37/image_02122025_11_37_54_10560.jpg', '/home/pi/Desktop/images/02122025/11/37/image_02122025_11_38_04_9633.jpg', '/home/pi/Desktop/images/02122025/11/38/image_02122025_11_38_15_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/37/image_02122025_11_37_24_10051.jpg
/home/pi/Desktop/images/02122025/11/37/image_02122025_11_37_34_9909.jpg
/home/pi/Desktop/images/02122025/11/37/image_02122025_11_37_44_9681.jpg
/home/pi/Desktop/images/02122025/11/37/image_02122025_11_37_54_10560.jpg
/home/pi/Desktop/images/02122025/11/37/image_02122025_11_38_04_9633.jpg
/home/pi/Desktop/images/02122025/11/38/image_02122025_11_38_15_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397995008","1397994780","1397995145","1397994878","1397994589","1397994682"],"photo_ids_order":["1397994589","1397994682","1397994780","1397994878","1397995008","1397995145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b16e8314a0d00dd181e0f385a532ea44.jpg","text":"TemporaryFile(/tmp/multipartBody752796943015015067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894873935,"filename":"image_02122025_11_38_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/5/6538df8d69f312481fad3b4b9bdbbce5.jpg","text":"TemporaryFile(/tmp/multipartBody3448913338407439485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894873935,"filename":"image_02122025_11_37_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/5/5d84340c1fac5ac01dd13ccd191a3858.jpg","text":"TemporaryFile(/tmp/multipartBody3141840958463077483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894873935,"filename":"image_02122025_11_38_15_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/5/9f181e46c6a2b810b658dff16d928a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4696664028762216186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894873935,"filename":"image_02122025_11_37_54_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/5/51a55f46d8510c8df60a0c7e2241b307.jpg","text":"TemporaryFile(/tmp/multipartBody6083877469597354738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894873935,"filename":"image_02122025_11_37_24_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/5/9a3cb20beed32c844435b12513938a26.jpg","text":"TemporaryFile(/tmp/multipartBody699061996551071417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894873935,"filename":"image_02122025_11_37_34_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397994780","file1":"1397994682","file0":"1397994589","file4":"1397995008","file5":"1397995145","file3":"1397994878"},"map_files_photo_id_array":[{"photo_id":"1397995145","filename":"file5"},{"photo_id":"1397994780","filename":"file2"},{"photo_id":"1397995008","filename":"file4"},{"photo_id":"1397994682","filename":"file1"},{"photo_id":"1397994589","filename":"file0"},{"photo_id":"1397994878","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397995008":["hashtag1","hashtag2"]},{"1397994780":["hashtag1","hashtag2"]},{"1397995145":["hashtag1","hashtag2"]},{"1397994878":["hashtag1","hashtag2"]},{"1397994589":["hashtag1","hashtag2"]},{"1397994682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397995008, 1397994780, 1397995145, 1397994878, 1397994589, 1397994682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84523558616638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:34:11.995020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/38/image_02122025_11_38_25_10004.jpg', '/home/pi/Desktop/images/02122025/11/38/image_02122025_11_38_34_9720.jpg', '/home/pi/Desktop/images/02122025/11/38/image_02122025_11_38_44_9671.jpg', '/home/pi/Desktop/images/02122025/11/38/image_02122025_11_38_55_10734.jpg', '/home/pi/Desktop/images/02122025/11/38/image_02122025_11_39_04_9651.jpg', '/home/pi/Desktop/images/02122025/11/39/image_02122025_11_39_14_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/38/image_02122025_11_38_25_10004.jpg
/home/pi/Desktop/images/02122025/11/38/image_02122025_11_38_34_9720.jpg
/home/pi/Desktop/images/02122025/11/38/image_02122025_11_38_44_9671.jpg
/home/pi/Desktop/images/02122025/11/38/image_02122025_11_38_55_10734.jpg
/home/pi/Desktop/images/02122025/11/38/image_02122025_11_39_04_9651.jpg
/home/pi/Desktop/images/02122025/11/39/image_02122025_11_39_14_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397995815","1397995733","1397995861","1397995773","1397995662","1397995938"],"photo_ids_order":["1397995662","1397995733","1397995773","1397995815","1397995861","1397995938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c02466710553d2f20880ccbda5099de0.jpg","text":"TemporaryFile(/tmp/multipartBody947733456405583519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894914068,"filename":"image_02122025_11_38_55_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/5/5d133ce46f8b50ce7127e871454c260f.jpg","text":"TemporaryFile(/tmp/multipartBody1641250813435085738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894914068,"filename":"image_02122025_11_38_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/5/179d277dfa0484a9f4dfbd3e3597244d.jpg","text":"TemporaryFile(/tmp/multipartBody3806407794859685017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894914068,"filename":"image_02122025_11_39_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a70b74b5da63742c808639ccd5ce3210.jpg","text":"TemporaryFile(/tmp/multipartBody7665026735694937165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894914068,"filename":"image_02122025_11_38_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/5/6c51376f4683335926b2cb072b4e08b3.jpg","text":"TemporaryFile(/tmp/multipartBody9088511622250987571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894914068,"filename":"image_02122025_11_38_25_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/5/7c0b717cc98c845e3143836cf372edab.jpg","text":"TemporaryFile(/tmp/multipartBody2708380133820649003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894914068,"filename":"image_02122025_11_39_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397995773","file1":"1397995733","file0":"1397995662","file4":"1397995861","file5":"1397995938","file3":"1397995815"},"map_files_photo_id_array":[{"photo_id":"1397995938","filename":"file5"},{"photo_id":"1397995773","filename":"file2"},{"photo_id":"1397995861","filename":"file4"},{"photo_id":"1397995733","filename":"file1"},{"photo_id":"1397995662","filename":"file0"},{"photo_id":"1397995815","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397995815":["hashtag1","hashtag2"]},{"1397995733":["hashtag1","hashtag2"]},{"1397995861":["hashtag1","hashtag2"]},{"1397995773":["hashtag1","hashtag2"]},{"1397995662":["hashtag1","hashtag2"]},{"1397995938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397995815, 1397995733, 1397995861, 1397995773, 1397995662, 1397995938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70015358924866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:35:02.931867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/31/image_05122025_01_31_44_9870.jpg', '/home/pi/Desktop/images/05122025/01/32/image_05122025_01_32_24_9678.jpg', '/home/pi/Desktop/images/05122025/01/32/image_05122025_01_32_54_9656.jpg', '/home/pi/Desktop/images/05122025/01/32/image_05122025_01_33_03_9718.jpg', '/home/pi/Desktop/images/05122025/01/33/image_05122025_01_33_34_9638.jpg', '/home/pi/Desktop/images/05122025/01/33/image_05122025_01_33_54_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/31/image_05122025_01_31_44_9870.jpg
/home/pi/Desktop/images/05122025/01/32/image_05122025_01_32_24_9678.jpg
/home/pi/Desktop/images/05122025/01/32/image_05122025_01_32_54_9656.jpg
/home/pi/Desktop/images/05122025/01/32/image_05122025_01_33_03_9718.jpg
/home/pi/Desktop/images/05122025/01/33/image_05122025_01_33_34_9638.jpg
/home/pi/Desktop/images/05122025/01/33/image_05122025_01_33_54_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397996348","1397996386","1397996473","1397996461","1397996428","1397996511"],"photo_ids_order":["1397996348","1397996386","1397996428","1397996461","1397996473","1397996511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/90c8663e43f1a01b9a1a75a87dd6de85.jpg","text":"TemporaryFile(/tmp/multipartBody7497129552911140010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894963725,"filename":"image_05122025_01_31_44_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/90c16f38715167f31e8953df9cc0709f.jpg","text":"TemporaryFile(/tmp/multipartBody7580351448042674646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894963725,"filename":"image_05122025_01_32_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3be4aade8583baf98799deb60bf0f781.jpg","text":"TemporaryFile(/tmp/multipartBody368966888542883867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894963725,"filename":"image_05122025_01_33_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/5/0320239fb4f30e04c5638735837b861a.jpg","text":"TemporaryFile(/tmp/multipartBody1763718592888121255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894963725,"filename":"image_05122025_01_33_03_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/5/09d65a448ad88ad626eab7354ea4ebec.jpg","text":"TemporaryFile(/tmp/multipartBody1622570519842905936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894963725,"filename":"image_05122025_01_32_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/5/70c7b677bba98e379faa5eec522b81ca.jpg","text":"TemporaryFile(/tmp/multipartBody1468084107893611175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764894963725,"filename":"image_05122025_01_33_54_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397996428","file1":"1397996386","file0":"1397996348","file4":"1397996473","file5":"1397996511","file3":"1397996461"},"map_files_photo_id_array":[{"photo_id":"1397996511","filename":"file5"},{"photo_id":"1397996428","filename":"file2"},{"photo_id":"1397996473","filename":"file4"},{"photo_id":"1397996386","filename":"file1"},{"photo_id":"1397996348","filename":"file0"},{"photo_id":"1397996461","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397996348":["hashtag1","hashtag2"]},{"1397996386":["hashtag1","hashtag2"]},{"1397996473":["hashtag1","hashtag2"]},{"1397996461":["hashtag1","hashtag2"]},{"1397996428":["hashtag1","hashtag2"]},{"1397996511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397996348, 1397996386, 1397996473, 1397996461, 1397996428, 1397996511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30701041221619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:35:42.176478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_04_2646.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_07_2790.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_10_3720.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_13_2654.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_16_2653.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_19_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_04_2646.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_07_2790.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_10_3720.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_13_2654.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_16_2653.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_19_3562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397996768","1397996983","1397996995","1397997012","1397996996","1397996897"],"photo_ids_order":["1397996768","1397996897","1397996983","1397996995","1397996996","1397997012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1bbcd54abf574fcaf816e1b14ef3ef43.jpg","text":"TemporaryFile(/tmp/multipartBody8521417973184962935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895003758,"filename":"image_31102025_17_59_04_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/5/ea51f458c7dc96a40539d4f77fc7f139.jpg","text":"TemporaryFile(/tmp/multipartBody6857047294771672968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895003758,"filename":"image_31102025_17_59_10_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/390f5704a8d94aefaccb19a3212b53ec.jpg","text":"TemporaryFile(/tmp/multipartBody7106298199393824278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895003758,"filename":"image_31102025_17_59_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/5/6d325088417beeade035e7c7790103a8.jpg","text":"TemporaryFile(/tmp/multipartBody7093269654477329263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895003758,"filename":"image_31102025_17_59_19_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/5/869dba133278a84f4b92e48bb1ff7f9d.jpg","text":"TemporaryFile(/tmp/multipartBody5694749202450655589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895003758,"filename":"image_31102025_17_59_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/5/de45d6f25f9c787c2a862a2f41d07b2a.jpg","text":"TemporaryFile(/tmp/multipartBody4216979871718531240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895003758,"filename":"image_31102025_17_59_07_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397996983","file1":"1397996897","file0":"1397996768","file4":"1397996996","file5":"1397997012","file3":"1397996995"},"map_files_photo_id_array":[{"photo_id":"1397997012","filename":"file5"},{"photo_id":"1397996983","filename":"file2"},{"photo_id":"1397996996","filename":"file4"},{"photo_id":"1397996897","filename":"file1"},{"photo_id":"1397996768","filename":"file0"},{"photo_id":"1397996995","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397996768":["hashtag1","hashtag2"]},{"1397996983":["hashtag1","hashtag2"]},{"1397996995":["hashtag1","hashtag2"]},{"1397997012":["hashtag1","hashtag2"]},{"1397996996":["hashtag1","hashtag2"]},{"1397996897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397996768, 1397996983, 1397996995, 1397997012, 1397996996, 1397996897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99830484390259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:36:22.340410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/33/image_05122025_01_34_04_9692.jpg', '/home/pi/Desktop/images/05122025/01/34/image_05122025_01_34_24_10610.jpg', '/home/pi/Desktop/images/05122025/01/34/image_05122025_01_34_34_9691.jpg', '/home/pi/Desktop/images/05122025/01/34/image_05122025_01_34_54_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/33/image_05122025_01_34_04_9692.jpg
/home/pi/Desktop/images/05122025/01/34/image_05122025_01_34_24_10610.jpg
/home/pi/Desktop/images/05122025/01/34/image_05122025_01_34_34_9691.jpg
/home/pi/Desktop/images/05122025/01/34/image_05122025_01_34_54_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":["1397997361","1397997391","1397997267","1397997224"],"photo_ids_order":["1397997224","1397997267","1397997361","1397997391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eea6a41950fb996762f425a19c9191e4.jpg","text":"TemporaryFile(/tmp/multipartBody79086626063640917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895042968,"filename":"image_05122025_01_34_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/5/60439b108208dfab36774f9a0fd9d43d.jpg","text":"TemporaryFile(/tmp/multipartBody6195475901527912573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895042968,"filename":"image_05122025_01_34_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/5/c27ea44db0397e4adeb63290b62a15ab.jpg","text":"TemporaryFile(/tmp/multipartBody6336925866963926358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895042968,"filename":"image_05122025_01_34_24_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/48d8287c53a5fec4172cfa0746adacd7.jpg","text":"TemporaryFile(/tmp/multipartBody6130392211586995481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895042968,"filename":"image_05122025_01_34_04_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397997361","file1":"1397997267","file0":"1397997224","file3":"1397997391"},"map_files_photo_id_array":[{"photo_id":"1397997361","filename":"file2"},{"photo_id":"1397997267","filename":"file1"},{"photo_id":"1397997224","filename":"file0"},{"photo_id":"1397997391","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397997361":["hashtag1","hashtag2"]},{"1397997391":["hashtag1","hashtag2"]},{"1397997267":["hashtag1","hashtag2"]},{"1397997224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397997361, 1397997391, 1397997267, 1397997224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.15808391571045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:37:03.146621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/39/image_02122025_11_39_24_9780.jpg', '/home/pi/Desktop/images/02122025/11/39/image_02122025_11_39_34_10016.jpg', '/home/pi/Desktop/images/02122025/11/39/image_02122025_11_39_45_10738.jpg', '/home/pi/Desktop/images/02122025/11/39/image_02122025_11_39_54_9678.jpg', '/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_25_9551.jpg', '/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_35_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/39/image_02122025_11_39_24_9780.jpg
/home/pi/Desktop/images/02122025/11/39/image_02122025_11_39_34_10016.jpg
/home/pi/Desktop/images/02122025/11/39/image_02122025_11_39_45_10738.jpg
/home/pi/Desktop/images/02122025/11/39/image_02122025_11_39_54_9678.jpg
/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_25_9551.jpg
/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_35_10391.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":["1397997451","1397997520","1397997561","1397997522","1397997569","1397997509"],"photo_ids_order":["1397997451","1397997509","1397997520","1397997522","1397997561","1397997569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7e4d38c8f67e05830ff151888faed32f.jpg","text":"TemporaryFile(/tmp/multipartBody4083382938978219146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895086792,"filename":"image_02122025_11_39_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/5/bfa7787d26bf6c385f11c1d930be632d.jpg","text":"TemporaryFile(/tmp/multipartBody5095428860668123563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895086792,"filename":"image_02122025_11_39_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/5/864f90b3ecf09849dddeebc68623dddc.jpg","text":"TemporaryFile(/tmp/multipartBody7025047824171724086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895086792,"filename":"image_02122025_11_40_25_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/5/3e4cfb7207debbd028803c9ed6b55f17.jpg","text":"TemporaryFile(/tmp/multipartBody4503621459155409415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895086792,"filename":"image_02122025_11_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/5/268871f23df8eb0692f74ecacd86285b.jpg","text":"TemporaryFile(/tmp/multipartBody717323769972221987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895086792,"filename":"image_02122025_11_40_35_10391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94b4cce2bc6ce52c631457b67a3b8fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1804096703671560444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895086792,"filename":"image_02122025_11_39_34_10016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397997520","file1":"1397997509","file0":"1397997451","file4":"1397997561","file5":"1397997569","file3":"1397997522"},"map_files_photo_id_array":[{"photo_id":"1397997569","filename":"file5"},{"photo_id":"1397997520","filename":"file2"},{"photo_id":"1397997561","filename":"file4"},{"photo_id":"1397997509","filename":"file1"},{"photo_id":"1397997451","filename":"file0"},{"photo_id":"1397997522","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397997451":["hashtag1","hashtag2"]},{"1397997520":["hashtag1","hashtag2"]},{"1397997561":["hashtag1","hashtag2"]},{"1397997522":["hashtag1","hashtag2"]},{"1397997569":["hashtag1","hashtag2"]},{"1397997509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397997451, 1397997520, 1397997561, 1397997522, 1397997569, 1397997509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.676082134246826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:38:03.138540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/34/image_05122025_01_35_04_9655.jpg', '/home/pi/Desktop/images/05122025/01/37/image_05122025_01_37_14_10689.jpg', '/home/pi/Desktop/images/05122025/01/37/image_05122025_01_37_24_9733.jpg', '/home/pi/Desktop/images/05122025/01/37/image_05122025_01_37_44_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/34/image_05122025_01_35_04_9655.jpg
/home/pi/Desktop/images/05122025/01/37/image_05122025_01_37_14_10689.jpg
/home/pi/Desktop/images/05122025/01/37/image_05122025_01_37_24_9733.jpg
/home/pi/Desktop/images/05122025/01/37/image_05122025_01_37_44_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":["1397997580","1397997574","1397997576","1397997578"],"photo_ids_order":["1397997574","1397997576","1397997578","1397997580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4fa0fee9743c1141a94b2b41966f004.jpg","text":"TemporaryFile(/tmp/multipartBody1026811462880071743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895144799,"filename":"image_05122025_01_37_44_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/5/d26289be9f759f1275f217ed61f40799.jpg","text":"TemporaryFile(/tmp/multipartBody6413595781997452213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895144799,"filename":"image_05122025_01_35_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db520680003947dd1d8be0679f5a5cce.jpg","text":"TemporaryFile(/tmp/multipartBody3592668137207673542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895144799,"filename":"image_05122025_01_37_14_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/5/024e43ba64c362616229b761faf5ff9d.jpg","text":"TemporaryFile(/tmp/multipartBody6738825324175809031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895144799,"filename":"image_05122025_01_37_24_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397997578","file1":"1397997576","file0":"1397997574","file3":"1397997580"},"map_files_photo_id_array":[{"photo_id":"1397997578","filename":"file2"},{"photo_id":"1397997576","filename":"file1"},{"photo_id":"1397997574","filename":"file0"},{"photo_id":"1397997580","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397997580":["hashtag1","hashtag2"]},{"1397997574":["hashtag1","hashtag2"]},{"1397997576":["hashtag1","hashtag2"]},{"1397997578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397997580, 1397997574, 1397997576, 1397997578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.428025245666504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:38:32.760074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_45_9428.jpg', '/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_55_10447.jpg', '/home/pi/Desktop/images/02122025/11/40/image_02122025_11_41_05_9663.jpg', '/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_17_12107.jpg', '/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_26_8405.jpg', '/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_35_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_45_9428.jpg
/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_55_10447.jpg
/home/pi/Desktop/images/02122025/11/40/image_02122025_11_41_05_9663.jpg
/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_17_12107.jpg
/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_26_8405.jpg
/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_35_9752.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.1381595134735107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:38:42.792050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_22_2551.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_25_3604.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_28_2701.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_31_2909.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_34_2587.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_37_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_22_2551.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_25_3604.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_28_2701.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_31_2909.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_34_2587.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_37_3603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397997595","1397997597","1397997593","1397997599","1397997590","1397997598"],"photo_ids_order":["1397997590","1397997593","1397997595","1397997597","1397997598","1397997599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/72ff72edb8f9e7504ec67871794b7433.jpg","text":"TemporaryFile(/tmp/multipartBody4385590634322651278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895184769,"filename":"image_31102025_17_59_28_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/36f02606ea562c16dd5088e84eafb42d.jpg","text":"TemporaryFile(/tmp/multipartBody1252198668677412871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895184769,"filename":"image_31102025_17_59_31_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/5/cce83cd311267676dd85b479cb41e600.jpg","text":"TemporaryFile(/tmp/multipartBody187870023081770598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895184769,"filename":"image_31102025_17_59_25_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b8f1e0630b535d5074a3b8e6e2325263.jpg","text":"TemporaryFile(/tmp/multipartBody4712708275032721564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895184769,"filename":"image_31102025_17_59_37_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/5/593c20634a41c42cfbe41f3e39065c6d.jpg","text":"TemporaryFile(/tmp/multipartBody1394423816772291698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895184769,"filename":"image_31102025_17_59_22_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/5/2324c319b554eb6bf5e1789003411caa.jpg","text":"TemporaryFile(/tmp/multipartBody3653271426928908449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895184769,"filename":"image_31102025_17_59_34_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397997595","file1":"1397997593","file0":"1397997590","file4":"1397997598","file5":"1397997599","file3":"1397997597"},"map_files_photo_id_array":[{"photo_id":"1397997599","filename":"file5"},{"photo_id":"1397997595","filename":"file2"},{"photo_id":"1397997598","filename":"file4"},{"photo_id":"1397997593","filename":"file1"},{"photo_id":"1397997590","filename":"file0"},{"photo_id":"1397997597","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397997595":["hashtag1","hashtag2"]},{"1397997597":["hashtag1","hashtag2"]},{"1397997593":["hashtag1","hashtag2"]},{"1397997599":["hashtag1","hashtag2"]},{"1397997590":["hashtag1","hashtag2"]},{"1397997598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397997595, 1397997597, 1397997593, 1397997599, 1397997590, 1397997598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.22271943092346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:39:31.951810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_45_9428.jpg', '/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_55_10447.jpg', '/home/pi/Desktop/images/02122025/11/40/image_02122025_11_41_05_9663.jpg', '/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_17_12107.jpg', '/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_26_8405.jpg', '/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_35_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_45_9428.jpg
/home/pi/Desktop/images/02122025/11/40/image_02122025_11_40_55_10447.jpg
/home/pi/Desktop/images/02122025/11/40/image_02122025_11_41_05_9663.jpg
/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_17_12107.jpg
/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_26_8405.jpg
/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_35_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":["1397997617","1397997613","1397997616","1397997615","1397997611","1397997608"],"photo_ids_order":["1397997608","1397997611","1397997613","1397997615","1397997616","1397997617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ad7185588d2af046af3604ba93c2894.jpg","text":"TemporaryFile(/tmp/multipartBody5707098280717502696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895234136,"filename":"image_02122025_11_41_35_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/5/cab5bf78c51362301a4e54fa7b1b7662.jpg","text":"TemporaryFile(/tmp/multipartBody6387881433385880400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895234136,"filename":"image_02122025_11_41_05_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/5/67575c5ace1ef2aaf13beab1043b1c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4173422765836948251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895234136,"filename":"image_02122025_11_41_26_8405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0126efbf2f7af2d34e99cb44acb556e5.jpg","text":"TemporaryFile(/tmp/multipartBody632522620993686537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895234136,"filename":"image_02122025_11_41_17_12107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e38eb88fb2304cfe8fb3e2c5a72b54d7.jpg","text":"TemporaryFile(/tmp/multipartBody877574837390462315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895234136,"filename":"image_02122025_11_40_55_10447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a88186dc0acb4e67b495308f8136923.jpg","text":"TemporaryFile(/tmp/multipartBody1618794609113720006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895234136,"filename":"image_02122025_11_40_45_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397997613","file1":"1397997611","file0":"1397997608","file4":"1397997616","file5":"1397997617","file3":"1397997615"},"map_files_photo_id_array":[{"photo_id":"1397997617","filename":"file5"},{"photo_id":"1397997613","filename":"file2"},{"photo_id":"1397997616","filename":"file4"},{"photo_id":"1397997611","filename":"file1"},{"photo_id":"1397997608","filename":"file0"},{"photo_id":"1397997615","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397997617":["hashtag1","hashtag2"]},{"1397997613":["hashtag1","hashtag2"]},{"1397997616":["hashtag1","hashtag2"]},{"1397997615":["hashtag1","hashtag2"]},{"1397997611":["hashtag1","hashtag2"]},{"1397997608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397997617, 1397997613, 1397997616, 1397997615, 1397997611, 1397997608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.517720222473145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:40:12.228490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_45_9809.jpg', '/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_55_9929.jpg', '/home/pi/Desktop/images/02122025/11/41/image_02122025_11_42_05_9714.jpg', '/home/pi/Desktop/images/02122025/11/42/image_02122025_11_42_15_9870.jpg', '/home/pi/Desktop/images/02122025/11/42/image_02122025_11_42_26_10888.jpg', '/home/pi/Desktop/images/02122025/11/42/image_02122025_11_42_35_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_45_9809.jpg
/home/pi/Desktop/images/02122025/11/41/image_02122025_11_41_55_9929.jpg
/home/pi/Desktop/images/02122025/11/41/image_02122025_11_42_05_9714.jpg
/home/pi/Desktop/images/02122025/11/42/image_02122025_11_42_15_9870.jpg
/home/pi/Desktop/images/02122025/11/42/image_02122025_11_42_26_10888.jpg
/home/pi/Desktop/images/02122025/11/42/image_02122025_11_42_35_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397997623","1397997736","1397997625","1397997695","1397997659","1397997620"],"photo_ids_order":["1397997620","1397997623","1397997625","1397997659","1397997695","1397997736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a323583d8f1d27150516b5ee54e67d2a.jpg","text":"TemporaryFile(/tmp/multipartBody99363569453104331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895274343,"filename":"image_02122025_11_41_55_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/5/5a4db2086c27fc5b4ec6135d031e4819.jpg","text":"TemporaryFile(/tmp/multipartBody2676727275946211036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895274343,"filename":"image_02122025_11_42_35_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/5/49eeb4fbf3e3e22ddcbd073f3f78fd3a.jpg","text":"TemporaryFile(/tmp/multipartBody7366031951515447464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895274343,"filename":"image_02122025_11_42_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b932d24932fb35a355bcba33da9cca1b.jpg","text":"TemporaryFile(/tmp/multipartBody7414195229583748420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895274343,"filename":"image_02122025_11_42_26_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/5/df8f1a1d716f69573f85c25ace5b54ec.jpg","text":"TemporaryFile(/tmp/multipartBody8046700227008227912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895274343,"filename":"image_02122025_11_42_15_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ed6d1180b16376cff963a574cdd307f1.jpg","text":"TemporaryFile(/tmp/multipartBody3590447351239814460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895274343,"filename":"image_02122025_11_41_45_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397997625","file1":"1397997623","file0":"1397997620","file4":"1397997695","file5":"1397997736","file3":"1397997659"},"map_files_photo_id_array":[{"photo_id":"1397997736","filename":"file5"},{"photo_id":"1397997625","filename":"file2"},{"photo_id":"1397997695","filename":"file4"},{"photo_id":"1397997623","filename":"file1"},{"photo_id":"1397997620","filename":"file0"},{"photo_id":"1397997659","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397997623":["hashtag1","hashtag2"]},{"1397997736":["hashtag1","hashtag2"]},{"1397997625":["hashtag1","hashtag2"]},{"1397997695":["hashtag1","hashtag2"]},{"1397997659":["hashtag1","hashtag2"]},{"1397997620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397997623, 1397997736, 1397997625, 1397997695, 1397997659, 1397997620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.67064881324768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:41:02.999436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/37/image_05122025_01_37_54_9637.jpg', '/home/pi/Desktop/images/05122025/01/38/image_05122025_01_38_13_9798.jpg', '/home/pi/Desktop/images/05122025/01/38/image_05122025_01_38_34_9743.jpg', '/home/pi/Desktop/images/05122025/01/38/image_05122025_01_38_44_9779.jpg', '/home/pi/Desktop/images/05122025/01/39/image_05122025_01_39_34_10726.jpg', '/home/pi/Desktop/images/05122025/01/39/image_05122025_01_39_44_9890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/37/image_05122025_01_37_54_9637.jpg
/home/pi/Desktop/images/05122025/01/38/image_05122025_01_38_13_9798.jpg
/home/pi/Desktop/images/05122025/01/38/image_05122025_01_38_34_9743.jpg
/home/pi/Desktop/images/05122025/01/38/image_05122025_01_38_44_9779.jpg
/home/pi/Desktop/images/05122025/01/39/image_05122025_01_39_34_10726.jpg
/home/pi/Desktop/images/05122025/01/39/image_05122025_01_39_44_9890.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":["1397997931","1397998003","1397997862","1397998047","1397997966","1397997899"],"photo_ids_order":["1397997862","1397997899","1397997931","1397997966","1397998003","1397998047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c08410de684747da5f890162c152c732.jpg","text":"TemporaryFile(/tmp/multipartBody2912209289299606837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895323876,"filename":"image_05122025_01_38_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/5/ee45c239b33be48cd39ad722844166ad.jpg","text":"TemporaryFile(/tmp/multipartBody5539736580171421114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895323876,"filename":"image_05122025_01_39_34_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/5/50331d337c547e5a8792ec13abd53ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1562143539986388951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895323876,"filename":"image_05122025_01_37_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/5/285f0207b94458b7d2e4abbf007fb7dc.jpg","text":"TemporaryFile(/tmp/multipartBody3908519494924115608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895323876,"filename":"image_05122025_01_39_44_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/5/0eb5fddf1139788f8258c66c2cba68a6.jpg","text":"TemporaryFile(/tmp/multipartBody8499310972662686145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895323876,"filename":"image_05122025_01_38_44_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3204728ac5d24043f066215a49e068ef.jpg","text":"TemporaryFile(/tmp/multipartBody1858172524262897693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895323876,"filename":"image_05122025_01_38_13_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397997931","file1":"1397997899","file0":"1397997862","file4":"1397998003","file5":"1397998047","file3":"1397997966"},"map_files_photo_id_array":[{"photo_id":"1397998047","filename":"file5"},{"photo_id":"1397997931","filename":"file2"},{"photo_id":"1397998003","filename":"file4"},{"photo_id":"1397997899","filename":"file1"},{"photo_id":"1397997862","filename":"file0"},{"photo_id":"1397997966","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397997931":["hashtag1","hashtag2"]},{"1397998003":["hashtag1","hashtag2"]},{"1397997862":["hashtag1","hashtag2"]},{"1397998047":["hashtag1","hashtag2"]},{"1397997966":["hashtag1","hashtag2"]},{"1397997899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397997931, 1397998003, 1397997862, 1397998047, 1397997966, 1397997899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02170133590698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:42:02.939952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/39/image_05122025_01_40_04_9674.jpg', '/home/pi/Desktop/images/05122025/01/40/image_05122025_01_40_14_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/39/image_05122025_01_40_04_9674.jpg
/home/pi/Desktop/images/05122025/01/40/image_05122025_01_40_14_10657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397998341","1397998304"],"photo_ids_order":["1397998304","1397998341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8fa1db8159913af44b4b52c1306ef4ec.jpg","text":"TemporaryFile(/tmp/multipartBody6840166305694191837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895383492,"filename":"image_05122025_01_40_14_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/5/0e04bbd2d581fc024a9c1729780db0f4.jpg","text":"TemporaryFile(/tmp/multipartBody8278500048426917820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895383492,"filename":"image_05122025_01_40_04_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397998341","file0":"1397998304"},"map_files_photo_id_array":[{"photo_id":"1397998341","filename":"file1"},{"photo_id":"1397998304","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397998341":["hashtag1","hashtag2"]},{"1397998304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397998341, 1397998304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.89046025276184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:42:22.463439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/40/image_05122025_01_40_34_9715.jpg', '/home/pi/Desktop/images/05122025/01/42/image_05122025_01_42_14_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/40/image_05122025_01_40_34_9715.jpg
/home/pi/Desktop/images/05122025/01/42/image_05122025_01_42_14_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":["1397998452","1397998486"],"photo_ids_order":["1397998452","1397998486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/656a82b9b2214cbddcaf5d0dc34fc658.jpg","text":"TemporaryFile(/tmp/multipartBody3703211206762600210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895403532,"filename":"image_05122025_01_40_34_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b008e9beb24cd16683b9d8c41df3bf23.jpg","text":"TemporaryFile(/tmp/multipartBody8740695995213829345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895403532,"filename":"image_05122025_01_42_14_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397998486","file0":"1397998452"},"map_files_photo_id_array":[{"photo_id":"1397998486","filename":"file1"},{"photo_id":"1397998452","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397998452":["hashtag1","hashtag2"]},{"1397998486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397998452, 1397998486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.314236164093018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:43:03.366773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/42/image_02122025_11_42_45_9558.jpg', '/home/pi/Desktop/images/02122025/11/42/image_02122025_11_42_55_9955.jpg', '/home/pi/Desktop/images/02122025/11/42/image_02122025_11_43_05_9925.jpg', '/home/pi/Desktop/images/02122025/11/43/image_02122025_11_43_15_10587.jpg', '/home/pi/Desktop/images/02122025/11/43/image_02122025_11_43_26_10334.jpg', '/home/pi/Desktop/images/02122025/11/43/image_02122025_11_43_45_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/42/image_02122025_11_42_45_9558.jpg
/home/pi/Desktop/images/02122025/11/42/image_02122025_11_42_55_9955.jpg
/home/pi/Desktop/images/02122025/11/42/image_02122025_11_43_05_9925.jpg
/home/pi/Desktop/images/02122025/11/43/image_02122025_11_43_15_10587.jpg
/home/pi/Desktop/images/02122025/11/43/image_02122025_11_43_26_10334.jpg
/home/pi/Desktop/images/02122025/11/43/image_02122025_11_43_45_9764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397998615","1397998612","1397998626","1397998617","1397998622","1397998619"],"photo_ids_order":["1397998612","1397998615","1397998617","1397998619","1397998622","1397998626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb6e163aecef8ce8a4b93b965f7c2d69.jpg","text":"TemporaryFile(/tmp/multipartBody7795680406261569650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895446627,"filename":"image_02122025_11_42_55_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/5/064df7360ac83f9cdb6a2803a7aa3a62.jpg","text":"TemporaryFile(/tmp/multipartBody4088492722452758011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895446627,"filename":"image_02122025_11_42_45_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/5/f7d54f4d124c44cbedf501e148bfaa92.jpg","text":"TemporaryFile(/tmp/multipartBody4345976173051070606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895446627,"filename":"image_02122025_11_43_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/5/1dcece2af136201ec6e6357b75c2feb0.jpg","text":"TemporaryFile(/tmp/multipartBody3033067513499385628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895446627,"filename":"image_02122025_11_43_05_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/5/e692b93ffa5104b3a0eb16abe1459225.jpg","text":"TemporaryFile(/tmp/multipartBody5598415381236103894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895446627,"filename":"image_02122025_11_43_26_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/5/b649295645b79ff35deedc318775bbe9.jpg","text":"TemporaryFile(/tmp/multipartBody5606122026896311415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895446627,"filename":"image_02122025_11_43_15_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397998617","file1":"1397998615","file0":"1397998612","file4":"1397998622","file5":"1397998626","file3":"1397998619"},"map_files_photo_id_array":[{"photo_id":"1397998626","filename":"file5"},{"photo_id":"1397998617","filename":"file2"},{"photo_id":"1397998622","filename":"file4"},{"photo_id":"1397998615","filename":"file1"},{"photo_id":"1397998612","filename":"file0"},{"photo_id":"1397998619","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1397998615":["hashtag1","hashtag2"]},{"1397998612":["hashtag1","hashtag2"]},{"1397998626":["hashtag1","hashtag2"]},{"1397998617":["hashtag1","hashtag2"]},{"1397998622":["hashtag1","hashtag2"]},{"1397998619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1397998615, 1397998612, 1397998626, 1397998617, 1397998622, 1397998619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.15364408493042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:44:02.668836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/42/image_05122025_01_42_24_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/42/image_05122025_01_42_24_9790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397999024"],"photo_id":"1397999024","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/efb71d50292d5974de40b95379b775a2.jpg","text":"TemporaryFile(/tmp/multipartBody4987415465538823500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895503232,"filename":"image_05122025_01_42_24_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397999024"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397999024"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.234743118286133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:44:21.806205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/43/image_05122025_01_43_14_9796.jpg', '/home/pi/Desktop/images/05122025/01/43/image_05122025_01_44_04_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/43/image_05122025_01_43_14_9796.jpg
/home/pi/Desktop/images/05122025/01/43/image_05122025_01_44_04_9731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397999768","1397999623"],"photo_ids_order":["1397999623","1397999768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ed14126e85862c10e91d4eba93c438d.jpg","text":"TemporaryFile(/tmp/multipartBody7070485002798667724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895522375,"filename":"image_05122025_01_44_04_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1e34b584e369e013fa0b2698263ff9a3.jpg","text":"TemporaryFile(/tmp/multipartBody2399833350069874988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895522375,"filename":"image_05122025_01_43_14_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397999768","file0":"1397999623"},"map_files_photo_id_array":[{"photo_id":"1397999768","filename":"file1"},{"photo_id":"1397999623","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1397999768":["hashtag1","hashtag2"]},{"1397999623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1397999768, 1397999623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.849673986434937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:44:41.796504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_45_7393.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_46_1666.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_48_1600.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_50_1793.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_52_2650.jpg', '/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_55_3167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_45_7393.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_46_1666.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_48_1600.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_50_1793.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_52_2650.jpg
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_55_3167.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398000359","1398000224","1398000154","1398000189","1398000279","1398000117"],"photo_ids_order":["1398000117","1398000154","1398000189","1398000224","1398000279","1398000359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/de9eb5efe12c92f80eaf9b65442dc111.jpg","text":"TemporaryFile(/tmp/multipartBody4672142785740477935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895543374,"filename":"image_31102025_17_59_55_3167.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/316715772ab624fd0b4f290fd320f75d.jpg","text":"TemporaryFile(/tmp/multipartBody7082170101777023567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895543374,"filename":"image_31102025_17_59_50_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7781575fcde40cd4cf68d0addd45a199.jpg","text":"TemporaryFile(/tmp/multipartBody1486728339641145693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895543374,"filename":"image_31102025_17_59_46_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/5/0bbc943b96ccd832f69e34ac98f0bcd1.jpg","text":"TemporaryFile(/tmp/multipartBody4972529128699524611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895543374,"filename":"image_31102025_17_59_48_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/5/fd74cae1fc470820f2c0065601362400.jpg","text":"TemporaryFile(/tmp/multipartBody1779576578864594643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895543374,"filename":"image_31102025_17_59_52_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/5/7d5dc2000a8c4dfc1223c9c1a5b96a43.jpg","text":"TemporaryFile(/tmp/multipartBody771949420621811988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895543374,"filename":"image_31102025_17_59_45_7393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398000189","file1":"1398000154","file0":"1398000117","file4":"1398000279","file5":"1398000359","file3":"1398000224"},"map_files_photo_id_array":[{"photo_id":"1398000359","filename":"file5"},{"photo_id":"1398000189","filename":"file2"},{"photo_id":"1398000279","filename":"file4"},{"photo_id":"1398000154","filename":"file1"},{"photo_id":"1398000117","filename":"file0"},{"photo_id":"1398000224","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398000359":["hashtag1","hashtag2"]},{"1398000224":["hashtag1","hashtag2"]},{"1398000154":["hashtag1","hashtag2"]},{"1398000189":["hashtag1","hashtag2"]},{"1398000279":["hashtag1","hashtag2"]},{"1398000117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398000359, 1398000224, 1398000154, 1398000189, 1398000279, 1398000117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49189472198486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:45:21.993883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/44/image_05122025_01_44_34_9567.jpg', '/home/pi/Desktop/images/05122025/01/45/image_05122025_01_45_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/44/image_05122025_01_44_34_9567.jpg
/home/pi/Desktop/images/05122025/01/45/image_05122025_01_45_44_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398000620","1398000559"],"photo_ids_order":["1398000559","1398000620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eded178b428eebc0c17ff52ccffa6da5.jpg","text":"TemporaryFile(/tmp/multipartBody4020558896370703379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895582559,"filename":"image_05122025_01_45_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/5/ebca32e5ab0e73837dd8b1156bc42f74.jpg","text":"TemporaryFile(/tmp/multipartBody245239784938599795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895582559,"filename":"image_05122025_01_44_34_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398000620","file0":"1398000559"},"map_files_photo_id_array":[{"photo_id":"1398000620","filename":"file1"},{"photo_id":"1398000559","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398000620":["hashtag1","hashtag2"]},{"1398000559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398000620, 1398000559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.198389291763306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:45:42.027242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_58_2666.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_07_3011.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_11_3655.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_13_2610.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_17_3663.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_19_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/17/59/image_31102025_17_59_58_2666.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_07_3011.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_11_3655.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_13_2610.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_17_3663.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_19_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398000764","1398000901","1398001059","1398000802","1398001212","1398000840"],"photo_ids_order":["1398000764","1398000802","1398000840","1398000901","1398001059","1398001212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/da28d19d242b409f313fe33569dbc92e.jpg","text":"TemporaryFile(/tmp/multipartBody1752955369536793202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895603597,"filename":"image_31102025_17_59_58_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/5/298abb9566b70d13c498b6e9aba85fac.jpg","text":"TemporaryFile(/tmp/multipartBody1599923889191310289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895603597,"filename":"image_31102025_18_01_13_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a227bc3266f811ec9dcb209762ccd62b.jpg","text":"TemporaryFile(/tmp/multipartBody841148410702199521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895603597,"filename":"image_31102025_18_01_17_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/5/b0203d385dd915e70659aff10f4d7e8d.jpg","text":"TemporaryFile(/tmp/multipartBody2439957292147411274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895603597,"filename":"image_31102025_18_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/5/6abbb89414e0111ea4c2e934362c8870.jpg","text":"TemporaryFile(/tmp/multipartBody4766333332066043853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895603597,"filename":"image_31102025_18_01_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/5/9e4e6abf38f730fbf6eb98975b538f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7107676876903757866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895603597,"filename":"image_31102025_18_01_11_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398000840","file1":"1398000802","file0":"1398000764","file4":"1398001059","file5":"1398001212","file3":"1398000901"},"map_files_photo_id_array":[{"photo_id":"1398001212","filename":"file5"},{"photo_id":"1398000840","filename":"file2"},{"photo_id":"1398001059","filename":"file4"},{"photo_id":"1398000802","filename":"file1"},{"photo_id":"1398000764","filename":"file0"},{"photo_id":"1398000901","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398000764":["hashtag1","hashtag2"]},{"1398000901":["hashtag1","hashtag2"]},{"1398001059":["hashtag1","hashtag2"]},{"1398000802":["hashtag1","hashtag2"]},{"1398001212":["hashtag1","hashtag2"]},{"1398000840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398000764, 1398000901, 1398001059, 1398000802, 1398001212, 1398000840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96878457069397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:46:22.175977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/45/image_05122025_01_45_54_9664.jpg', '/home/pi/Desktop/images/05122025/01/46/image_05122025_01_46_33_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/45/image_05122025_01_45_54_9664.jpg
/home/pi/Desktop/images/05122025/01/46/image_05122025_01_46_33_9590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398001481","1398001526"],"photo_ids_order":["1398001481","1398001526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc04db2f213a6d296202ae6f8b8bf50c.jpg","text":"TemporaryFile(/tmp/multipartBody4386651513458934451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895642747,"filename":"image_05122025_01_45_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/27eeb198d0b66934d96c08e1740fe42d.jpg","text":"TemporaryFile(/tmp/multipartBody1233766766997259350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895642747,"filename":"image_05122025_01_46_33_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398001526","file0":"1398001481"},"map_files_photo_id_array":[{"photo_id":"1398001526","filename":"file1"},{"photo_id":"1398001481","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398001481":["hashtag1","hashtag2"]},{"1398001526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398001481, 1398001526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.626100778579712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:46:42.234647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_22_2600.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_25_2974.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_29_3703.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_31_2605.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_34_2683.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_38_3530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_22_2600.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_25_2974.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_29_3703.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_31_2605.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_34_2683.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_38_3530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398001918","1398001903","1398001810","1398001839","1398001920","1398001769"],"photo_ids_order":["1398001769","1398001810","1398001839","1398001903","1398001918","1398001920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1e40e2f17a193eefccde2a24e602021a.jpg","text":"TemporaryFile(/tmp/multipartBody2783021352407368737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895663902,"filename":"image_31102025_18_01_34_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/5/4dcfa7796fb51a1f8c74e98c4c400a3a.jpg","text":"TemporaryFile(/tmp/multipartBody1729698061869406708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895663902,"filename":"image_31102025_18_01_31_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/5/69d0cdf970c7a602888b1928879c7745.jpg","text":"TemporaryFile(/tmp/multipartBody2103573742311451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895663902,"filename":"image_31102025_18_01_25_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d78e9d1f237bc1754d71ff50fcd4a1dd.jpg","text":"TemporaryFile(/tmp/multipartBody7227107345447015668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895663902,"filename":"image_31102025_18_01_29_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/5/67c31c8beacff2075b1cb9bdbfc298d5.jpg","text":"TemporaryFile(/tmp/multipartBody6804656616001447021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895663902,"filename":"image_31102025_18_01_38_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/5/4639d880ba097434fe18052f36086fd8.jpg","text":"TemporaryFile(/tmp/multipartBody4572031763752879431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895663902,"filename":"image_31102025_18_01_22_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398001839","file1":"1398001810","file0":"1398001769","file4":"1398001918","file5":"1398001920","file3":"1398001903"},"map_files_photo_id_array":[{"photo_id":"1398001920","filename":"file5"},{"photo_id":"1398001839","filename":"file2"},{"photo_id":"1398001918","filename":"file4"},{"photo_id":"1398001810","filename":"file1"},{"photo_id":"1398001769","filename":"file0"},{"photo_id":"1398001903","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398001918":["hashtag1","hashtag2"]},{"1398001903":["hashtag1","hashtag2"]},{"1398001810":["hashtag1","hashtag2"]},{"1398001839":["hashtag1","hashtag2"]},{"1398001920":["hashtag1","hashtag2"]},{"1398001769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398001918, 1398001903, 1398001810, 1398001839, 1398001920, 1398001769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72936511039734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:47:32.432060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/44/image_02122025_11_44_15_10792.jpg', '/home/pi/Desktop/images/02122025/11/44/image_02122025_11_44_25_9786.jpg', '/home/pi/Desktop/images/02122025/11/44/image_02122025_11_44_35_10093.jpg', '/home/pi/Desktop/images/02122025/11/44/image_02122025_11_44_45_9651.jpg', '/home/pi/Desktop/images/02122025/11/44/image_02122025_11_44_55_9864.jpg', '/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_15_10052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/44/image_02122025_11_44_15_10792.jpg
/home/pi/Desktop/images/02122025/11/44/image_02122025_11_44_25_9786.jpg
/home/pi/Desktop/images/02122025/11/44/image_02122025_11_44_35_10093.jpg
/home/pi/Desktop/images/02122025/11/44/image_02122025_11_44_45_9651.jpg
/home/pi/Desktop/images/02122025/11/44/image_02122025_11_44_55_9864.jpg
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_15_10052.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002125","1398002008","1398001933","1398001971","1398002048","1398002086"],"photo_ids_order":["1398001933","1398001971","1398002008","1398002048","1398002086","1398002125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/906789528e7f25b44c67da631da36c59.jpg","text":"TemporaryFile(/tmp/multipartBody4710569887880860751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895714622,"filename":"image_02122025_11_45_15_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/62fd567d89d095ddaf54c79657badfb6.jpg","text":"TemporaryFile(/tmp/multipartBody4798337238962710900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895714622,"filename":"image_02122025_11_44_35_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/5/db339cceb2faf22ee64cf0da46e95a59.jpg","text":"TemporaryFile(/tmp/multipartBody5489452187745889636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895714622,"filename":"image_02122025_11_44_15_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/5/7267a9383061bb674d772c5047a48dea.jpg","text":"TemporaryFile(/tmp/multipartBody5501406580474037544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895714622,"filename":"image_02122025_11_44_25_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/5/552646cb8ae7113bc596ea90d7c84fd5.jpg","text":"TemporaryFile(/tmp/multipartBody5414531172624394988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895714622,"filename":"image_02122025_11_44_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/5/d5724f0867149bb76164635619a5b017.jpg","text":"TemporaryFile(/tmp/multipartBody6902678757525140289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895714622,"filename":"image_02122025_11_44_55_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002008","file1":"1398001971","file0":"1398001933","file4":"1398002086","file5":"1398002125","file3":"1398002048"},"map_files_photo_id_array":[{"photo_id":"1398002125","filename":"file5"},{"photo_id":"1398002008","filename":"file2"},{"photo_id":"1398002086","filename":"file4"},{"photo_id":"1398001971","filename":"file1"},{"photo_id":"1398001933","filename":"file0"},{"photo_id":"1398002048","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002125":["hashtag1","hashtag2"]},{"1398002008":["hashtag1","hashtag2"]},{"1398001933":["hashtag1","hashtag2"]},{"1398001971":["hashtag1","hashtag2"]},{"1398002048":["hashtag1","hashtag2"]},{"1398002086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002125, 1398002008, 1398001933, 1398001971, 1398002048, 1398002086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.656720876693726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:48:12.523136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_25_10287.jpg', '/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_35_9937.jpg', '/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_45_10258.jpg', '/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_55_9800.jpg', '/home/pi/Desktop/images/02122025/11/45/image_02122025_11_46_05_10586.jpg', '/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_15_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_25_10287.jpg
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_35_9937.jpg
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_45_10258.jpg
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_55_9800.jpg
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_46_05_10586.jpg
/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_15_9682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9823272228240967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:48:22.677669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/46/image_05122025_01_46_44_10752.jpg', '/home/pi/Desktop/images/05122025/01/47/image_05122025_01_47_24_9648.jpg', '/home/pi/Desktop/images/05122025/01/47/image_05122025_01_47_54_9717.jpg', '/home/pi/Desktop/images/05122025/01/48/image_05122025_01_48_44_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/46/image_05122025_01_46_44_10752.jpg
/home/pi/Desktop/images/05122025/01/47/image_05122025_01_47_24_9648.jpg
/home/pi/Desktop/images/05122025/01/47/image_05122025_01_47_54_9717.jpg
/home/pi/Desktop/images/05122025/01/48/image_05122025_01_48_44_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002262","1398002244","1398002270","1398002216"],"photo_ids_order":["1398002216","1398002244","1398002262","1398002270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/52ca1157f0299dea1f564ea4588cd695.jpg","text":"TemporaryFile(/tmp/multipartBody8806163041138853115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895763307,"filename":"image_05122025_01_47_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5c18accc01390d409d3fb5cbe4ad48ea.jpg","text":"TemporaryFile(/tmp/multipartBody7878173982391500965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895763307,"filename":"image_05122025_01_47_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/5/5ae4543cf0e094c882b4283aa54f1bb9.jpg","text":"TemporaryFile(/tmp/multipartBody8527681841693554082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895763307,"filename":"image_05122025_01_48_44_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/5/7fd6ea8f13679f3d2128b3206e5b9886.jpg","text":"TemporaryFile(/tmp/multipartBody8338010977664076729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895763307,"filename":"image_05122025_01_46_44_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002262","file1":"1398002244","file0":"1398002216","file3":"1398002270"},"map_files_photo_id_array":[{"photo_id":"1398002262","filename":"file2"},{"photo_id":"1398002244","filename":"file1"},{"photo_id":"1398002216","filename":"file0"},{"photo_id":"1398002270","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398002262":["hashtag1","hashtag2"]},{"1398002244":["hashtag1","hashtag2"]},{"1398002270":["hashtag1","hashtag2"]},{"1398002216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398002262, 1398002244, 1398002270, 1398002216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.680344343185425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:49:03.614687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_25_10287.jpg', '/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_35_9937.jpg', '/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_45_10258.jpg', '/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_55_9800.jpg', '/home/pi/Desktop/images/02122025/11/45/image_02122025_11_46_05_10586.jpg', '/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_15_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_25_10287.jpg
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_35_9937.jpg
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_45_10258.jpg
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_45_55_9800.jpg
/home/pi/Desktop/images/02122025/11/45/image_02122025_11_46_05_10586.jpg
/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_15_9682.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":["1398002281","1398002278","1398002283","1398002277","1398002279","1398002287"],"photo_ids_order":["1398002277","1398002278","1398002279","1398002281","1398002283","1398002287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e510402b3a6b427026a2e3dac3a1a5fc.jpg","text":"TemporaryFile(/tmp/multipartBody7859485120724783102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895805474,"filename":"image_02122025_11_45_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/5/99f963362691612c5a50a5c6744e4fc7.jpg","text":"TemporaryFile(/tmp/multipartBody8424858703133136068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895805474,"filename":"image_02122025_11_45_35_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/5/9b6289911cd64ffc2bd6de99f902ff92.jpg","text":"TemporaryFile(/tmp/multipartBody5925354160460145513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895805474,"filename":"image_02122025_11_46_05_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b5a686e8dbcdff2bd3d11123d4af1a3.jpg","text":"TemporaryFile(/tmp/multipartBody4937566190663731279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895805474,"filename":"image_02122025_11_45_25_10287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bd14637938d57c432e53f5e99c34327c.jpg","text":"TemporaryFile(/tmp/multipartBody1992266969848549888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895805474,"filename":"image_02122025_11_45_45_10258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff2bcdba2f1b31d0595980aa8943ced9.jpg","text":"TemporaryFile(/tmp/multipartBody3655005709842382831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895805474,"filename":"image_02122025_11_46_15_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002279","file1":"1398002278","file0":"1398002277","file4":"1398002283","file5":"1398002287","file3":"1398002281"},"map_files_photo_id_array":[{"photo_id":"1398002287","filename":"file5"},{"photo_id":"1398002279","filename":"file2"},{"photo_id":"1398002283","filename":"file4"},{"photo_id":"1398002278","filename":"file1"},{"photo_id":"1398002277","filename":"file0"},{"photo_id":"1398002281","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002281":["hashtag1","hashtag2"]},{"1398002278":["hashtag1","hashtag2"]},{"1398002283":["hashtag1","hashtag2"]},{"1398002277":["hashtag1","hashtag2"]},{"1398002279":["hashtag1","hashtag2"]},{"1398002287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002281, 1398002278, 1398002283, 1398002277, 1398002279, 1398002287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86921310424805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:50:02.461955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/48/image_05122025_01_48_54_9705.jpg', '/home/pi/Desktop/images/05122025/01/48/image_05122025_01_49_04_9745.jpg', '/home/pi/Desktop/images/05122025/01/49/image_05122025_01_49_24_10565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/48/image_05122025_01_48_54_9705.jpg
/home/pi/Desktop/images/05122025/01/48/image_05122025_01_49_04_9745.jpg
/home/pi/Desktop/images/05122025/01/49/image_05122025_01_49_24_10565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002301","1398002299","1398002303"],"photo_ids_order":["1398002299","1398002301","1398002303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/feec40b0f17648937e7a3355f1034c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6538093969100215959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895863110,"filename":"image_05122025_01_49_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/5/c616b099be24e6e85c843c43db63aedd.jpg","text":"TemporaryFile(/tmp/multipartBody3072326982131201422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895863110,"filename":"image_05122025_01_48_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/5/99a0b6c2aa7c75e2ef788f4344111d66.jpg","text":"TemporaryFile(/tmp/multipartBody1802292625724496858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895863110,"filename":"image_05122025_01_49_24_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002303","file1":"1398002301","file0":"1398002299"},"map_files_photo_id_array":[{"photo_id":"1398002303","filename":"file2"},{"photo_id":"1398002301","filename":"file1"},{"photo_id":"1398002299","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398002301":["hashtag1","hashtag2"]},{"1398002299":["hashtag1","hashtag2"]},{"1398002303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398002301, 1398002299, 1398002303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.878196477890015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:50:31.943527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_25_10020.jpg', '/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_35_10227.jpg', '/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_45_9932.jpg', '/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_55_9254.jpg', '/home/pi/Desktop/images/02122025/11/46/image_02122025_11_47_05_10058.jpg', '/home/pi/Desktop/images/02122025/11/47/image_02122025_11_47_15_10773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_25_10020.jpg
/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_35_10227.jpg
/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_45_9932.jpg
/home/pi/Desktop/images/02122025/11/46/image_02122025_11_46_55_9254.jpg
/home/pi/Desktop/images/02122025/11/46/image_02122025_11_47_05_10058.jpg
/home/pi/Desktop/images/02122025/11/47/image_02122025_11_47_15_10773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002323","1398002326","1398002314","1398002310","1398002318","1398002333"],"photo_ids_order":["1398002310","1398002314","1398002318","1398002323","1398002326","1398002333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/122fa94d3ec14abf2d25cdbaea0c3020.jpg","text":"TemporaryFile(/tmp/multipartBody6873396860812018270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895894140,"filename":"image_02122025_11_46_55_9254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c4a058555fe09a4e3f766ea5b5ea7700.jpg","text":"TemporaryFile(/tmp/multipartBody9010809279615050625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895894140,"filename":"image_02122025_11_47_05_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/5/83be969756e8ffbbb6eaf827163b6f70.jpg","text":"TemporaryFile(/tmp/multipartBody7398216712848536134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895894140,"filename":"image_02122025_11_46_35_10227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/50498d4f62ad0b6ca7d8e4ae1dbe95d0.jpg","text":"TemporaryFile(/tmp/multipartBody5613542429304019044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895894140,"filename":"image_02122025_11_46_25_10020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c8d3fe805e8291b70afc34eb29cfada2.jpg","text":"TemporaryFile(/tmp/multipartBody1557217422969180953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895894140,"filename":"image_02122025_11_46_45_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/5/d432430860521a0d556b25a84d1cd7b7.jpg","text":"TemporaryFile(/tmp/multipartBody5731597030624507483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895894140,"filename":"image_02122025_11_47_15_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002318","file1":"1398002314","file0":"1398002310","file4":"1398002326","file5":"1398002333","file3":"1398002323"},"map_files_photo_id_array":[{"photo_id":"1398002333","filename":"file5"},{"photo_id":"1398002318","filename":"file2"},{"photo_id":"1398002326","filename":"file4"},{"photo_id":"1398002314","filename":"file1"},{"photo_id":"1398002310","filename":"file0"},{"photo_id":"1398002323","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002323":["hashtag1","hashtag2"]},{"1398002326":["hashtag1","hashtag2"]},{"1398002314":["hashtag1","hashtag2"]},{"1398002310":["hashtag1","hashtag2"]},{"1398002318":["hashtag1","hashtag2"]},{"1398002333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002323, 1398002326, 1398002314, 1398002310, 1398002318, 1398002333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23742365837097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:51:12.124413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/47/image_02122025_11_47_25_9783.jpg', '/home/pi/Desktop/images/02122025/11/47/image_02122025_11_47_35_10236.jpg', '/home/pi/Desktop/images/02122025/11/47/image_02122025_11_47_45_9880.jpg', '/home/pi/Desktop/images/02122025/11/47/image_02122025_11_47_55_9648.jpg', '/home/pi/Desktop/images/02122025/11/47/image_02122025_11_48_05_9770.jpg', '/home/pi/Desktop/images/02122025/11/48/image_02122025_11_48_15_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/47/image_02122025_11_47_25_9783.jpg
/home/pi/Desktop/images/02122025/11/47/image_02122025_11_47_35_10236.jpg
/home/pi/Desktop/images/02122025/11/47/image_02122025_11_47_45_9880.jpg
/home/pi/Desktop/images/02122025/11/47/image_02122025_11_47_55_9648.jpg
/home/pi/Desktop/images/02122025/11/47/image_02122025_11_48_05_9770.jpg
/home/pi/Desktop/images/02122025/11/48/image_02122025_11_48_15_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":["1398002341","1398002338","1398002343","1398002336","1398002345","1398002348"],"photo_ids_order":["1398002336","1398002338","1398002341","1398002343","1398002345","1398002348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b65e9ebe82ce1861cab854763e760f0c.jpg","text":"TemporaryFile(/tmp/multipartBody7429160473642233372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895934226,"filename":"image_02122025_11_47_45_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d6ab99a7877f23aed888d41203dda4a1.jpg","text":"TemporaryFile(/tmp/multipartBody5554389784538112254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895934226,"filename":"image_02122025_11_47_35_10236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94991712b1879b1cdf0b9cb48a93ca5d.jpg","text":"TemporaryFile(/tmp/multipartBody4203253776079406455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895934226,"filename":"image_02122025_11_47_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8da42417470fe237cb95a2e0a9c7b3a1.jpg","text":"TemporaryFile(/tmp/multipartBody2740638991287090377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895934226,"filename":"image_02122025_11_47_25_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2ee242ad626f09353f01b78d8fa6e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1099871980218868689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895934226,"filename":"image_02122025_11_48_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/5/ed71eefbef1f902cb433f737c8398abe.jpg","text":"TemporaryFile(/tmp/multipartBody4440010193898374910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895934226,"filename":"image_02122025_11_48_15_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002341","file1":"1398002338","file0":"1398002336","file4":"1398002345","file5":"1398002348","file3":"1398002343"},"map_files_photo_id_array":[{"photo_id":"1398002348","filename":"file5"},{"photo_id":"1398002341","filename":"file2"},{"photo_id":"1398002345","filename":"file4"},{"photo_id":"1398002338","filename":"file1"},{"photo_id":"1398002336","filename":"file0"},{"photo_id":"1398002343","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002341":["hashtag1","hashtag2"]},{"1398002338":["hashtag1","hashtag2"]},{"1398002343":["hashtag1","hashtag2"]},{"1398002336":["hashtag1","hashtag2"]},{"1398002345":["hashtag1","hashtag2"]},{"1398002348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002341, 1398002338, 1398002343, 1398002336, 1398002345, 1398002348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08501625061035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:52:02.851029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/49/image_05122025_01_49_44_10543.jpg', '/home/pi/Desktop/images/05122025/01/50/image_05122025_01_50_34_9585.jpg', '/home/pi/Desktop/images/05122025/01/50/image_05122025_01_50_54_10687.jpg', '/home/pi/Desktop/images/05122025/01/50/image_05122025_01_51_04_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/49/image_05122025_01_49_44_10543.jpg
/home/pi/Desktop/images/05122025/01/50/image_05122025_01_50_34_9585.jpg
/home/pi/Desktop/images/05122025/01/50/image_05122025_01_50_54_10687.jpg
/home/pi/Desktop/images/05122025/01/50/image_05122025_01_51_04_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002353","1398002355","1398002357","1398002351"],"photo_ids_order":["1398002351","1398002353","1398002355","1398002357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc7ae232ef7a268effcb2ff1686e8c3c.jpg","text":"TemporaryFile(/tmp/multipartBody1162924006393385634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895983485,"filename":"image_05122025_01_50_34_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/5/78e55e1ed51261656736f519b80e1354.jpg","text":"TemporaryFile(/tmp/multipartBody4290791523359752992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895983485,"filename":"image_05122025_01_50_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/5/7934db91650c97560d9a9f60585b6f1c.jpg","text":"TemporaryFile(/tmp/multipartBody8455163962553512294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895983485,"filename":"image_05122025_01_51_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/5/071763827c2682e6e7e73a151aab2678.jpg","text":"TemporaryFile(/tmp/multipartBody656986480459616133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764895983485,"filename":"image_05122025_01_49_44_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002355","file1":"1398002353","file0":"1398002351","file3":"1398002357"},"map_files_photo_id_array":[{"photo_id":"1398002355","filename":"file2"},{"photo_id":"1398002353","filename":"file1"},{"photo_id":"1398002351","filename":"file0"},{"photo_id":"1398002357","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398002353":["hashtag1","hashtag2"]},{"1398002355":["hashtag1","hashtag2"]},{"1398002357":["hashtag1","hashtag2"]},{"1398002351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398002353, 1398002355, 1398002357, 1398002351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.177828788757324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:52:32.307279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/48/image_02122025_11_48_26_10116.jpg', '/home/pi/Desktop/images/02122025/11/48/image_02122025_11_48_35_9810.jpg', '/home/pi/Desktop/images/02122025/11/48/image_02122025_11_48_45_9770.jpg', '/home/pi/Desktop/images/02122025/11/48/image_02122025_11_48_55_9827.jpg', '/home/pi/Desktop/images/02122025/11/48/image_02122025_11_49_05_10119.jpg', '/home/pi/Desktop/images/02122025/11/49/image_02122025_11_49_15_10074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/48/image_02122025_11_48_26_10116.jpg
/home/pi/Desktop/images/02122025/11/48/image_02122025_11_48_35_9810.jpg
/home/pi/Desktop/images/02122025/11/48/image_02122025_11_48_45_9770.jpg
/home/pi/Desktop/images/02122025/11/48/image_02122025_11_48_55_9827.jpg
/home/pi/Desktop/images/02122025/11/48/image_02122025_11_49_05_10119.jpg
/home/pi/Desktop/images/02122025/11/49/image_02122025_11_49_15_10074.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002380","1398002361","1398002372","1398002384","1398002363","1398002365"],"photo_ids_order":["1398002361","1398002363","1398002365","1398002372","1398002380","1398002384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/beda9d70b40de04e6f13c7abd66f97ff.jpg","text":"TemporaryFile(/tmp/multipartBody7613594109250327231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896014501,"filename":"image_02122025_11_49_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/5/25d5f84dac602489e58301505aa7fb0e.jpg","text":"TemporaryFile(/tmp/multipartBody8376774997599717960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896014501,"filename":"image_02122025_11_48_26_10116.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8626dbf788c06cb86e6cc73c15740e29.jpg","text":"TemporaryFile(/tmp/multipartBody17606455609385936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896014501,"filename":"image_02122025_11_48_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/5/0a00af5a845d40838810984fe690703d.jpg","text":"TemporaryFile(/tmp/multipartBody6966149737621725918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896014501,"filename":"image_02122025_11_49_15_10074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f2cb71051c1082cda0c18aa6867d9b0.jpg","text":"TemporaryFile(/tmp/multipartBody7427709097125915545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896014501,"filename":"image_02122025_11_48_35_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/5/511f53244dc9c1c98d4afbdb0494843a.jpg","text":"TemporaryFile(/tmp/multipartBody5830447376183630322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896014501,"filename":"image_02122025_11_48_45_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002365","file1":"1398002363","file0":"1398002361","file4":"1398002380","file5":"1398002384","file3":"1398002372"},"map_files_photo_id_array":[{"photo_id":"1398002384","filename":"file5"},{"photo_id":"1398002365","filename":"file2"},{"photo_id":"1398002380","filename":"file4"},{"photo_id":"1398002363","filename":"file1"},{"photo_id":"1398002361","filename":"file0"},{"photo_id":"1398002372","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002380":["hashtag1","hashtag2"]},{"1398002361":["hashtag1","hashtag2"]},{"1398002372":["hashtag1","hashtag2"]},{"1398002384":["hashtag1","hashtag2"]},{"1398002363":["hashtag1","hashtag2"]},{"1398002365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002380, 1398002361, 1398002372, 1398002384, 1398002363, 1398002365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26442241668701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:53:12.555463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/49/image_02122025_11_49_25_9784.jpg', '/home/pi/Desktop/images/02122025/11/49/image_02122025_11_49_45_9621.jpg', '/home/pi/Desktop/images/02122025/11/49/image_02122025_11_49_55_9749.jpg', '/home/pi/Desktop/images/02122025/11/50/image_02122025_11_50_15_10054.jpg', '/home/pi/Desktop/images/02122025/11/50/image_02122025_11_50_26_10680.jpg', '/home/pi/Desktop/images/02122025/11/50/image_02122025_11_50_35_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/49/image_02122025_11_49_25_9784.jpg
/home/pi/Desktop/images/02122025/11/49/image_02122025_11_49_45_9621.jpg
/home/pi/Desktop/images/02122025/11/49/image_02122025_11_49_55_9749.jpg
/home/pi/Desktop/images/02122025/11/50/image_02122025_11_50_15_10054.jpg
/home/pi/Desktop/images/02122025/11/50/image_02122025_11_50_26_10680.jpg
/home/pi/Desktop/images/02122025/11/50/image_02122025_11_50_35_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002404","1398002394","1398002397","1398002400","1398002402","1398002392"],"photo_ids_order":["1398002392","1398002394","1398002397","1398002400","1398002402","1398002404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22b90add9a2002bd4d08c71f2dee7c01.jpg","text":"TemporaryFile(/tmp/multipartBody6217180907186639025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896054647,"filename":"image_02122025_11_50_35_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a2f81d2bb10287919604e2da9a549072.jpg","text":"TemporaryFile(/tmp/multipartBody7717829632009569805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896054647,"filename":"image_02122025_11_49_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/5/de1960dfe96d60b7deb7751465b84deb.jpg","text":"TemporaryFile(/tmp/multipartBody6435360577958425808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896054647,"filename":"image_02122025_11_49_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/5/f2746d1b5641ce3f0cfbb70aabeba763.jpg","text":"TemporaryFile(/tmp/multipartBody8236090903942264992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896054647,"filename":"image_02122025_11_50_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/586c413460622bfad17ae81e514ceae3.jpg","text":"TemporaryFile(/tmp/multipartBody1847722091629689214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896054647,"filename":"image_02122025_11_50_26_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/5/2f6066e3bd3d5e55b9743c5a7fd9a2ec.jpg","text":"TemporaryFile(/tmp/multipartBody7507003326054177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896054647,"filename":"image_02122025_11_49_25_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002397","file1":"1398002394","file0":"1398002392","file4":"1398002402","file5":"1398002404","file3":"1398002400"},"map_files_photo_id_array":[{"photo_id":"1398002404","filename":"file5"},{"photo_id":"1398002397","filename":"file2"},{"photo_id":"1398002402","filename":"file4"},{"photo_id":"1398002394","filename":"file1"},{"photo_id":"1398002392","filename":"file0"},{"photo_id":"1398002400","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002404":["hashtag1","hashtag2"]},{"1398002394":["hashtag1","hashtag2"]},{"1398002397":["hashtag1","hashtag2"]},{"1398002400":["hashtag1","hashtag2"]},{"1398002402":["hashtag1","hashtag2"]},{"1398002392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002404, 1398002394, 1398002397, 1398002400, 1398002402, 1398002392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77979874610901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:54:03.417227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/51/image_05122025_01_51_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/51/image_05122025_01_51_44_9699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47280025482177734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 01:54:12.683179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/50/image_02122025_11_50_45_9688.jpg', '/home/pi/Desktop/images/02122025/11/50/image_02122025_11_50_55_9880.jpg', '/home/pi/Desktop/images/02122025/11/50/image_02122025_11_51_05_10513.jpg', '/home/pi/Desktop/images/02122025/11/51/image_02122025_11_51_15_9667.jpg', '/home/pi/Desktop/images/02122025/11/51/image_02122025_11_51_25_9783.jpg', '/home/pi/Desktop/images/02122025/11/51/image_02122025_11_51_36_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/50/image_02122025_11_50_45_9688.jpg
/home/pi/Desktop/images/02122025/11/50/image_02122025_11_50_55_9880.jpg
/home/pi/Desktop/images/02122025/11/50/image_02122025_11_51_05_10513.jpg
/home/pi/Desktop/images/02122025/11/51/image_02122025_11_51_15_9667.jpg
/home/pi/Desktop/images/02122025/11/51/image_02122025_11_51_25_9783.jpg
/home/pi/Desktop/images/02122025/11/51/image_02122025_11_51_36_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":["1398002419","1398002410","1398002413","1398002415","1398002417","1398002408"],"photo_ids_order":["1398002408","1398002410","1398002413","1398002415","1398002417","1398002419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/68e3ad79719619159d430a1cdddedb51.jpg","text":"TemporaryFile(/tmp/multipartBody4060774058868156749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896114779,"filename":"image_02122025_11_51_36_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/5/eb821d57351a188c3554fdd29af4a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody2620771259827067149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896114779,"filename":"image_02122025_11_50_55_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b1fcdb026d744218a8ea5edaa1dbd08.jpg","text":"TemporaryFile(/tmp/multipartBody26758255701049772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896114779,"filename":"image_02122025_11_51_05_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/5/22d01124ed0cae3d171b988d2c404a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8613588765857698173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896114779,"filename":"image_02122025_11_51_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/5/6c72dc7fbe48db12b643afbc80c4d4e8.jpg","text":"TemporaryFile(/tmp/multipartBody8644848991959784035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896114779,"filename":"image_02122025_11_51_25_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ca6ab2443f4972165990720c9e25f2ca.jpg","text":"TemporaryFile(/tmp/multipartBody543879640911088344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896114779,"filename":"image_02122025_11_50_45_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002413","file1":"1398002410","file0":"1398002408","file4":"1398002417","file5":"1398002419","file3":"1398002415"},"map_files_photo_id_array":[{"photo_id":"1398002419","filename":"file5"},{"photo_id":"1398002413","filename":"file2"},{"photo_id":"1398002417","filename":"file4"},{"photo_id":"1398002410","filename":"file1"},{"photo_id":"1398002408","filename":"file0"},{"photo_id":"1398002415","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002419":["hashtag1","hashtag2"]},{"1398002410":["hashtag1","hashtag2"]},{"1398002413":["hashtag1","hashtag2"]},{"1398002415":["hashtag1","hashtag2"]},{"1398002417":["hashtag1","hashtag2"]},{"1398002408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002419, 1398002410, 1398002413, 1398002415, 1398002417, 1398002408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.391523599624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:55:02.562811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/51/image_05122025_01_51_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/51/image_05122025_01_51_44_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002443"],"photo_id":"1398002443","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aff89534183c82a1dcd9166c7b56d6b8.jpg","text":"TemporaryFile(/tmp/multipartBody3490210024691127449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896163107,"filename":"image_05122025_01_51_44_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398002443"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398002443"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.733975410461426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:55:21.869935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_54_16141.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_55_1632.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_57_1597.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_59_1629.jpg', '/home/pi/Desktop/images/31102025/18/01/image_31102025_18_02_00_1598.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_02_1861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_54_16141.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_55_1632.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_57_1597.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_01_59_1629.jpg
/home/pi/Desktop/images/31102025/18/01/image_31102025_18_02_00_1598.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_02_1861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002455","1398002457","1398002451","1398002460","1398002453","1398002459"],"photo_ids_order":["1398002451","1398002453","1398002455","1398002457","1398002459","1398002460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3452e9c66a43a8940e0278ec5c86ff53.jpg","text":"TemporaryFile(/tmp/multipartBody6706663273437885624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896183459,"filename":"image_31102025_18_01_57_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/5/0bd55924aed0ebc844e6d5ac793edcc2.jpg","text":"TemporaryFile(/tmp/multipartBody4063934820890244395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896183459,"filename":"image_31102025_18_01_59_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/5/abe5dcb5ba77d7949c38d2a23b8c52a8.jpg","text":"TemporaryFile(/tmp/multipartBody10781254806821182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896183459,"filename":"image_31102025_18_01_54_16141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8f9868860a22b34f9434f7b2dbe6c9ea.jpg","text":"TemporaryFile(/tmp/multipartBody8776452237685101193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896183459,"filename":"image_31102025_18_02_02_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/5/df09dac32d73cc414c3c49f4937cf9bd.jpg","text":"TemporaryFile(/tmp/multipartBody1252802577660823530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896183459,"filename":"image_31102025_18_01_55_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/5/94e7d3e7e1f45c6101a861534bffd68d.jpg","text":"TemporaryFile(/tmp/multipartBody4867707721170473005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896183459,"filename":"image_31102025_18_02_00_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002455","file1":"1398002453","file0":"1398002451","file4":"1398002459","file5":"1398002460","file3":"1398002457"},"map_files_photo_id_array":[{"photo_id":"1398002460","filename":"file5"},{"photo_id":"1398002455","filename":"file2"},{"photo_id":"1398002459","filename":"file4"},{"photo_id":"1398002453","filename":"file1"},{"photo_id":"1398002451","filename":"file0"},{"photo_id":"1398002457","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002455":["hashtag1","hashtag2"]},{"1398002457":["hashtag1","hashtag2"]},{"1398002451":["hashtag1","hashtag2"]},{"1398002460":["hashtag1","hashtag2"]},{"1398002453":["hashtag1","hashtag2"]},{"1398002459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002455, 1398002457, 1398002451, 1398002460, 1398002453, 1398002459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32324838638306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:56:02.556223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/51/image_02122025_11_51_45_9677.jpg', '/home/pi/Desktop/images/02122025/11/51/image_02122025_11_51_56_10591.jpg', '/home/pi/Desktop/images/02122025/11/51/image_02122025_11_52_06_9748.jpg', '/home/pi/Desktop/images/02122025/11/52/image_02122025_11_52_15_9821.jpg', '/home/pi/Desktop/images/02122025/11/52/image_02122025_11_52_25_9748.jpg', '/home/pi/Desktop/images/02122025/11/52/image_02122025_11_52_36_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/51/image_02122025_11_51_45_9677.jpg
/home/pi/Desktop/images/02122025/11/51/image_02122025_11_51_56_10591.jpg
/home/pi/Desktop/images/02122025/11/51/image_02122025_11_52_06_9748.jpg
/home/pi/Desktop/images/02122025/11/52/image_02122025_11_52_15_9821.jpg
/home/pi/Desktop/images/02122025/11/52/image_02122025_11_52_25_9748.jpg
/home/pi/Desktop/images/02122025/11/52/image_02122025_11_52_36_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002461","1398002463","1398002466","1398002468","1398002465","1398002464"],"photo_ids_order":["1398002461","1398002463","1398002464","1398002465","1398002466","1398002468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2070c2920b2648542d99721965ea6d62.jpg","text":"TemporaryFile(/tmp/multipartBody5943895461410493800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896224306,"filename":"image_02122025_11_51_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8f906512b1b4f7597aa7da1f7023c964.jpg","text":"TemporaryFile(/tmp/multipartBody2199543817338001198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896224306,"filename":"image_02122025_11_51_56_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/5/f622cb4a19ecf71388eb0a6c80ca2a8d.jpg","text":"TemporaryFile(/tmp/multipartBody5843427217334837911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896224306,"filename":"image_02122025_11_52_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/5/3c413e03b3325b37b8c3bcc37095b125.jpg","text":"TemporaryFile(/tmp/multipartBody3305768825776399267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896224306,"filename":"image_02122025_11_52_36_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b725d1d5b0c0df49bf7751e673171103.jpg","text":"TemporaryFile(/tmp/multipartBody5588443452744853516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896224306,"filename":"image_02122025_11_52_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/5/5e3d3c8f1bde961bb6bfebab2a24f41c.jpg","text":"TemporaryFile(/tmp/multipartBody7440454025669779669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896224306,"filename":"image_02122025_11_52_06_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002464","file1":"1398002463","file0":"1398002461","file4":"1398002466","file5":"1398002468","file3":"1398002465"},"map_files_photo_id_array":[{"photo_id":"1398002468","filename":"file5"},{"photo_id":"1398002464","filename":"file2"},{"photo_id":"1398002466","filename":"file4"},{"photo_id":"1398002463","filename":"file1"},{"photo_id":"1398002461","filename":"file0"},{"photo_id":"1398002465","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002461":["hashtag1","hashtag2"]},{"1398002463":["hashtag1","hashtag2"]},{"1398002466":["hashtag1","hashtag2"]},{"1398002468":["hashtag1","hashtag2"]},{"1398002465":["hashtag1","hashtag2"]},{"1398002464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002461, 1398002463, 1398002466, 1398002468, 1398002465, 1398002464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.053773164749146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 01:56:42.090720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_04_1633.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_05_1688.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_07_1662.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_09_1595.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_10_1550.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_14_3494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_04_1633.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_05_1688.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_07_1662.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_09_1595.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_10_1550.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_14_3494.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002476","1398002481","1398002478","1398002480","1398002482","1398002479"],"photo_ids_order":["1398002476","1398002478","1398002479","1398002480","1398002481","1398002482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7ee5ecd0e0c8868be0c06bed496dbf61.jpg","text":"TemporaryFile(/tmp/multipartBody1756425414108120745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896263629,"filename":"image_31102025_18_02_04_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/5/d60801a6e70d23c99b2df51be6d4caed.jpg","text":"TemporaryFile(/tmp/multipartBody6017393618317335484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896263629,"filename":"image_31102025_18_02_10_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/5/6fe7e12690d8ed8922d5e02296b31b30.jpg","text":"TemporaryFile(/tmp/multipartBody4673163647171428774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896263629,"filename":"image_31102025_18_02_05_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/5/9ef8934618cb0a9ceca9937ce06e6f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8861633895306082380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896263629,"filename":"image_31102025_18_02_09_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/5/f2072be4fbea4360bce86f9221430c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5420613994634857871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896263629,"filename":"image_31102025_18_02_14_3494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fab730a4fd76694c8639338922d9f136.jpg","text":"TemporaryFile(/tmp/multipartBody4372605884198762532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896263629,"filename":"image_31102025_18_02_07_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002479","file1":"1398002478","file0":"1398002476","file4":"1398002481","file5":"1398002482","file3":"1398002480"},"map_files_photo_id_array":[{"photo_id":"1398002482","filename":"file5"},{"photo_id":"1398002479","filename":"file2"},{"photo_id":"1398002481","filename":"file4"},{"photo_id":"1398002478","filename":"file1"},{"photo_id":"1398002476","filename":"file0"},{"photo_id":"1398002480","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002476":["hashtag1","hashtag2"]},{"1398002481":["hashtag1","hashtag2"]},{"1398002478":["hashtag1","hashtag2"]},{"1398002480":["hashtag1","hashtag2"]},{"1398002482":["hashtag1","hashtag2"]},{"1398002479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002476, 1398002481, 1398002478, 1398002480, 1398002482, 1398002479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60445165634155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 01:57:22.326175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_16_2737.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_19_2574.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_23_3550.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_25_2727.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_28_2679.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_32_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_16_2737.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_19_2574.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_23_3550.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_25_2727.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_28_2679.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_32_3589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002494","1398002488","1398002484","1398002486","1398002489","1398002491"],"photo_ids_order":["1398002484","1398002486","1398002488","1398002489","1398002491","1398002494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/711a69a2b5c243842435167236845215.jpg","text":"TemporaryFile(/tmp/multipartBody7361800846361686234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896303933,"filename":"image_31102025_18_02_32_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee32308b23fb477beb44b033705c12eb.jpg","text":"TemporaryFile(/tmp/multipartBody4534944536979311408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896303933,"filename":"image_31102025_18_02_23_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/5/0c8cb192ce837539523de8a76214f7ea.jpg","text":"TemporaryFile(/tmp/multipartBody7454360969530554477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896303933,"filename":"image_31102025_18_02_16_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/5/0f7380120d628501e9873280f6cb378b.jpg","text":"TemporaryFile(/tmp/multipartBody475340784770490861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896303933,"filename":"image_31102025_18_02_19_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/5/b25afc0a5c70e9cab3eabdfec61bbee3.jpg","text":"TemporaryFile(/tmp/multipartBody1893853680008319523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896303933,"filename":"image_31102025_18_02_25_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/5/9620203890a5c7a044e6c311c50f9432.jpg","text":"TemporaryFile(/tmp/multipartBody4845325260562345824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896303933,"filename":"image_31102025_18_02_28_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002488","file1":"1398002486","file0":"1398002484","file4":"1398002491","file5":"1398002494","file3":"1398002489"},"map_files_photo_id_array":[{"photo_id":"1398002494","filename":"file5"},{"photo_id":"1398002488","filename":"file2"},{"photo_id":"1398002491","filename":"file4"},{"photo_id":"1398002486","filename":"file1"},{"photo_id":"1398002484","filename":"file0"},{"photo_id":"1398002489","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002494":["hashtag1","hashtag2"]},{"1398002488":["hashtag1","hashtag2"]},{"1398002484":["hashtag1","hashtag2"]},{"1398002486":["hashtag1","hashtag2"]},{"1398002489":["hashtag1","hashtag2"]},{"1398002491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002494, 1398002488, 1398002484, 1398002486, 1398002489, 1398002491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26221537590027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 01:59:03.563676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/52/image_02122025_11_52_46_9778.jpg', '/home/pi/Desktop/images/02122025/11/52/image_02122025_11_52_56_10142.jpg', '/home/pi/Desktop/images/02122025/11/52/image_02122025_11_53_05_9246.jpg', '/home/pi/Desktop/images/02122025/11/53/image_02122025_11_53_16_10573.jpg', '/home/pi/Desktop/images/02122025/11/53/image_02122025_11_53_25_9655.jpg', '/home/pi/Desktop/images/02122025/11/53/image_02122025_11_53_35_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/52/image_02122025_11_52_46_9778.jpg
/home/pi/Desktop/images/02122025/11/52/image_02122025_11_52_56_10142.jpg
/home/pi/Desktop/images/02122025/11/52/image_02122025_11_53_05_9246.jpg
/home/pi/Desktop/images/02122025/11/53/image_02122025_11_53_16_10573.jpg
/home/pi/Desktop/images/02122025/11/53/image_02122025_11_53_25_9655.jpg
/home/pi/Desktop/images/02122025/11/53/image_02122025_11_53_35_9657.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":["1398002515","1398002503","1398002512","1398002506","1398002508","1398002510"],"photo_ids_order":["1398002503","1398002506","1398002508","1398002510","1398002512","1398002515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c5af73b9ba3bffd7dfdcdaa1209526b1.jpg","text":"TemporaryFile(/tmp/multipartBody6026935189906302155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896405526,"filename":"image_02122025_11_53_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/5/d7363ec4fdc6ee9483cd39f8d285b2a4.jpg","text":"TemporaryFile(/tmp/multipartBody2278711107224306233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896405526,"filename":"image_02122025_11_52_46_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4cf09c15cb42eceb6d64d6cacc2a26d8.jpg","text":"TemporaryFile(/tmp/multipartBody7373712751110250622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896405526,"filename":"image_02122025_11_53_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/5/f3498e96307779c76dda6a88af7f9bee.jpg","text":"TemporaryFile(/tmp/multipartBody3494363175761188623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896405526,"filename":"image_02122025_11_52_56_10142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b1233cc67454639e98135700b44a8699.jpg","text":"TemporaryFile(/tmp/multipartBody7203749144378762031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896405526,"filename":"image_02122025_11_53_05_9246.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c5d73833e7743e0d9c34d160c961374f.jpg","text":"TemporaryFile(/tmp/multipartBody7785258534475235650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896405526,"filename":"image_02122025_11_53_16_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002508","file1":"1398002506","file0":"1398002503","file4":"1398002512","file5":"1398002515","file3":"1398002510"},"map_files_photo_id_array":[{"photo_id":"1398002515","filename":"file5"},{"photo_id":"1398002508","filename":"file2"},{"photo_id":"1398002512","filename":"file4"},{"photo_id":"1398002506","filename":"file1"},{"photo_id":"1398002503","filename":"file0"},{"photo_id":"1398002510","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002515":["hashtag1","hashtag2"]},{"1398002503":["hashtag1","hashtag2"]},{"1398002512":["hashtag1","hashtag2"]},{"1398002506":["hashtag1","hashtag2"]},{"1398002508":["hashtag1","hashtag2"]},{"1398002510":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002515, 1398002503, 1398002512, 1398002506, 1398002508, 1398002510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.154292821884155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:00:03.232408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/53/image_02122025_11_53_46_10659.jpg', '/home/pi/Desktop/images/02122025/11/53/image_02122025_11_53_55_9563.jpg', '/home/pi/Desktop/images/02122025/11/53/image_02122025_11_54_05_10149.jpg', '/home/pi/Desktop/images/02122025/11/54/image_02122025_11_54_15_9843.jpg', '/home/pi/Desktop/images/02122025/11/54/image_02122025_11_54_26_10742.jpg', '/home/pi/Desktop/images/02122025/11/54/image_02122025_11_54_36_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/53/image_02122025_11_53_46_10659.jpg
/home/pi/Desktop/images/02122025/11/53/image_02122025_11_53_55_9563.jpg
/home/pi/Desktop/images/02122025/11/53/image_02122025_11_54_05_10149.jpg
/home/pi/Desktop/images/02122025/11/54/image_02122025_11_54_15_9843.jpg
/home/pi/Desktop/images/02122025/11/54/image_02122025_11_54_26_10742.jpg
/home/pi/Desktop/images/02122025/11/54/image_02122025_11_54_36_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002533","1398002527","1398002536","1398002539","1398002529","1398002531"],"photo_ids_order":["1398002527","1398002529","1398002531","1398002533","1398002536","1398002539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/42c5599f757857085acaf44e54fbe04f.jpg","text":"TemporaryFile(/tmp/multipartBody6366338626143863418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896464993,"filename":"image_02122025_11_54_15_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/5/dc863b69beb5a4d5d757a9c22f21561d.jpg","text":"TemporaryFile(/tmp/multipartBody8028268530812854717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896464993,"filename":"image_02122025_11_53_46_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e69df44a80b77d132fad1dcdb0a60fc0.jpg","text":"TemporaryFile(/tmp/multipartBody2090116089133920589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896464993,"filename":"image_02122025_11_54_26_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d6e98549a78a83265193831b6d2784ed.jpg","text":"TemporaryFile(/tmp/multipartBody9049748661654276021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896464993,"filename":"image_02122025_11_54_36_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/5/3beff9d77e4e2485fa4a193d15b2ae59.jpg","text":"TemporaryFile(/tmp/multipartBody8192754054920721320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896464993,"filename":"image_02122025_11_53_55_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/5/d3d86ad5cd5f7c7e6b571d4d5cc626a5.jpg","text":"TemporaryFile(/tmp/multipartBody328775581258847993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896464993,"filename":"image_02122025_11_54_05_10149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002531","file1":"1398002529","file0":"1398002527","file4":"1398002536","file5":"1398002539","file3":"1398002533"},"map_files_photo_id_array":[{"photo_id":"1398002539","filename":"file5"},{"photo_id":"1398002531","filename":"file2"},{"photo_id":"1398002536","filename":"file4"},{"photo_id":"1398002529","filename":"file1"},{"photo_id":"1398002527","filename":"file0"},{"photo_id":"1398002533","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002533":["hashtag1","hashtag2"]},{"1398002527":["hashtag1","hashtag2"]},{"1398002536":["hashtag1","hashtag2"]},{"1398002539":["hashtag1","hashtag2"]},{"1398002529":["hashtag1","hashtag2"]},{"1398002531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002533, 1398002527, 1398002536, 1398002539, 1398002529, 1398002531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.400489807128906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:00:42.768296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_34_2496.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_38_3507.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_40_2619.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_43_2560.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_46_3775.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_49_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_34_2496.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_38_3507.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_40_2619.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_43_2560.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_46_3775.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_49_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":["1398002551","1398002560","1398002568","1398002553","1398002570","1398002561"],"photo_ids_order":["1398002551","1398002553","1398002560","1398002561","1398002568","1398002570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/21c5e3124bfe8ce864062093c83f15f8.jpg","text":"TemporaryFile(/tmp/multipartBody5639525697005647838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896504366,"filename":"image_31102025_18_02_34_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc3b584d77fdcb7e35f12288d34f7328.jpg","text":"TemporaryFile(/tmp/multipartBody400383806568690035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896504366,"filename":"image_31102025_18_02_40_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/5/fabd6a7082df4323be2fc8257266fe69.jpg","text":"TemporaryFile(/tmp/multipartBody6098621467489120660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896504366,"filename":"image_31102025_18_02_46_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/07ec3388c753441e59bfa5f20852a3db.jpg","text":"TemporaryFile(/tmp/multipartBody6414833391632706419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896504366,"filename":"image_31102025_18_02_38_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b37179293331eb1103bf5851059d79d4.jpg","text":"TemporaryFile(/tmp/multipartBody3674827423373987911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896504366,"filename":"image_31102025_18_02_49_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/5/ae2c4eeec0f3cf5f1078a45e73e4cbe9.jpg","text":"TemporaryFile(/tmp/multipartBody2269470438723538737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896504366,"filename":"image_31102025_18_02_43_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002560","file1":"1398002553","file0":"1398002551","file4":"1398002568","file5":"1398002570","file3":"1398002561"},"map_files_photo_id_array":[{"photo_id":"1398002570","filename":"file5"},{"photo_id":"1398002560","filename":"file2"},{"photo_id":"1398002568","filename":"file4"},{"photo_id":"1398002553","filename":"file1"},{"photo_id":"1398002551","filename":"file0"},{"photo_id":"1398002561","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002551":["hashtag1","hashtag2"]},{"1398002560":["hashtag1","hashtag2"]},{"1398002568":["hashtag1","hashtag2"]},{"1398002553":["hashtag1","hashtag2"]},{"1398002570":["hashtag1","hashtag2"]},{"1398002561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002551, 1398002560, 1398002568, 1398002553, 1398002570, 1398002561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.417457580566406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:01:21.906211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_52_2639.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_55_3584.jpg', '/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_58_2535.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_01_3045.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_05_3617.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_07_2483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_52_2639.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_55_3584.jpg
/home/pi/Desktop/images/31102025/18/02/image_31102025_18_02_58_2535.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_01_3045.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_05_3617.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_07_2483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002574","1398002598","1398002583","1398002585","1398002576","1398002584"],"photo_ids_order":["1398002574","1398002576","1398002583","1398002584","1398002585","1398002598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1c6722627bb1ba46e5414754a4e96da.jpg","text":"TemporaryFile(/tmp/multipartBody1159024507191008476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896543568,"filename":"image_31102025_18_02_52_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/5/f450fc26edb7e72bfbdfb6a2a40b9f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7533988838946719804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896543568,"filename":"image_31102025_18_03_07_2483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20960f47af99dd193efdf10cf8d6a17f.jpg","text":"TemporaryFile(/tmp/multipartBody7842161677476626425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896543568,"filename":"image_31102025_18_02_58_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/5/4c111165e1d999bd20baa69e638ab441.jpg","text":"TemporaryFile(/tmp/multipartBody2399715174655504613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896543568,"filename":"image_31102025_18_03_05_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/5/72247308ac50099ffeca0dc084582282.jpg","text":"TemporaryFile(/tmp/multipartBody4519944937535527480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896543568,"filename":"image_31102025_18_02_55_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/5/2eccd56e42db41cb15dc966e075f3d7a.jpg","text":"TemporaryFile(/tmp/multipartBody3319480306427027188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896543568,"filename":"image_31102025_18_03_01_3045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002583","file1":"1398002576","file0":"1398002574","file4":"1398002585","file5":"1398002598","file3":"1398002584"},"map_files_photo_id_array":[{"photo_id":"1398002598","filename":"file5"},{"photo_id":"1398002583","filename":"file2"},{"photo_id":"1398002585","filename":"file4"},{"photo_id":"1398002576","filename":"file1"},{"photo_id":"1398002574","filename":"file0"},{"photo_id":"1398002584","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002574":["hashtag1","hashtag2"]},{"1398002598":["hashtag1","hashtag2"]},{"1398002583":["hashtag1","hashtag2"]},{"1398002585":["hashtag1","hashtag2"]},{"1398002576":["hashtag1","hashtag2"]},{"1398002584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002574, 1398002598, 1398002583, 1398002585, 1398002576, 1398002584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.569387912750244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:02:02.678284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/54/image_02122025_11_54_45_9665.jpg', '/home/pi/Desktop/images/02122025/11/54/image_02122025_11_54_55_9652.jpg', '/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_14_10050.jpg', '/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_25_10876.jpg', '/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_35_9643.jpg', '/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_45_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/54/image_02122025_11_54_45_9665.jpg
/home/pi/Desktop/images/02122025/11/54/image_02122025_11_54_55_9652.jpg
/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_14_10050.jpg
/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_25_10876.jpg
/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_35_9643.jpg
/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_45_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002623","1398002617","1398002619","1398002621","1398002615","1398002618"],"photo_ids_order":["1398002615","1398002617","1398002618","1398002619","1398002621","1398002623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/75471aeecac0e814f07613cd38530899.jpg","text":"TemporaryFile(/tmp/multipartBody6868296913691406955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896584375,"filename":"image_02122025_11_55_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bd1b54065b7e1342deba00629c9c9ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4143292556343232873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896584375,"filename":"image_02122025_11_54_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/5/b4cee82162872ddbb0e36e97c895ea87.jpg","text":"TemporaryFile(/tmp/multipartBody7580262369542135049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896584375,"filename":"image_02122025_11_55_25_10876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf77083ec24846ffb2e66aedf3f3759f.jpg","text":"TemporaryFile(/tmp/multipartBody5095141525676206462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896584375,"filename":"image_02122025_11_55_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/5/aedfe2e388685d35b670e2390c021b35.jpg","text":"TemporaryFile(/tmp/multipartBody2658927820394433856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896584375,"filename":"image_02122025_11_54_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/5/3aa3fe060268f05ff4879b3bbd641953.jpg","text":"TemporaryFile(/tmp/multipartBody7892824391119862235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896584375,"filename":"image_02122025_11_55_14_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002618","file1":"1398002617","file0":"1398002615","file4":"1398002621","file5":"1398002623","file3":"1398002619"},"map_files_photo_id_array":[{"photo_id":"1398002623","filename":"file5"},{"photo_id":"1398002618","filename":"file2"},{"photo_id":"1398002621","filename":"file4"},{"photo_id":"1398002617","filename":"file1"},{"photo_id":"1398002615","filename":"file0"},{"photo_id":"1398002619","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002623":["hashtag1","hashtag2"]},{"1398002617":["hashtag1","hashtag2"]},{"1398002619":["hashtag1","hashtag2"]},{"1398002621":["hashtag1","hashtag2"]},{"1398002615":["hashtag1","hashtag2"]},{"1398002618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002623, 1398002617, 1398002619, 1398002621, 1398002615, 1398002618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68013072013855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:02:42.165300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_10_2682.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_13_3577.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_16_2891.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_19_2575.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_23_3685.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_25_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_10_2682.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_13_3577.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_16_2891.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_19_2575.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_23_3685.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_25_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002638","1398002635","1398002637","1398002633","1398002636","1398002639"],"photo_ids_order":["1398002633","1398002635","1398002636","1398002637","1398002638","1398002639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2db6813a0b8373ecac5fa426916e0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody374244991620697973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896623721,"filename":"image_31102025_18_03_23_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/5/848f6be20988a25efb3f062b261271e3.jpg","text":"TemporaryFile(/tmp/multipartBody8687627014826497386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896623721,"filename":"image_31102025_18_03_13_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/5/963375623fb4904ec197237fb4fe5251.jpg","text":"TemporaryFile(/tmp/multipartBody4837884684368397795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896623721,"filename":"image_31102025_18_03_19_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/5/e333fd8c027f41396678b7dd0cd13a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8606644703893206890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896623721,"filename":"image_31102025_18_03_10_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/5/2866d3ffb7cd6641970db6a3b24f5dd5.jpg","text":"TemporaryFile(/tmp/multipartBody284170995313889142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896623721,"filename":"image_31102025_18_03_16_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/5/ee4b6e849345255e8da2c72717e42239.jpg","text":"TemporaryFile(/tmp/multipartBody871461014184294746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896623721,"filename":"image_31102025_18_03_25_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002636","file1":"1398002635","file0":"1398002633","file4":"1398002638","file5":"1398002639","file3":"1398002637"},"map_files_photo_id_array":[{"photo_id":"1398002639","filename":"file5"},{"photo_id":"1398002636","filename":"file2"},{"photo_id":"1398002638","filename":"file4"},{"photo_id":"1398002635","filename":"file1"},{"photo_id":"1398002633","filename":"file0"},{"photo_id":"1398002637","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002638":["hashtag1","hashtag2"]},{"1398002635":["hashtag1","hashtag2"]},{"1398002637":["hashtag1","hashtag2"]},{"1398002633":["hashtag1","hashtag2"]},{"1398002636":["hashtag1","hashtag2"]},{"1398002639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002638, 1398002635, 1398002637, 1398002633, 1398002636, 1398002639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.073951721191406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:03:22.342317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_28_2516.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_31_3808.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_34_2723.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_37_2574.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_40_3639.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_43_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_28_2516.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_31_3808.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_34_2723.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_37_2574.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_40_3639.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_43_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":["1398002647","1398002641","1398002649","1398002643","1398002651","1398002645"],"photo_ids_order":["1398002641","1398002643","1398002645","1398002647","1398002649","1398002651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/771981de401161f4be71dbc7433802fd.jpg","text":"TemporaryFile(/tmp/multipartBody2800015132390984630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896663936,"filename":"image_31102025_18_03_37_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/5/4ef02d5a993952336c6534d10f12b98c.jpg","text":"TemporaryFile(/tmp/multipartBody2700322561573469268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896663936,"filename":"image_31102025_18_03_28_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/5/7947ef6a755d77f1ac87c67aa0da6571.jpg","text":"TemporaryFile(/tmp/multipartBody4604653618975040957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896663936,"filename":"image_31102025_18_03_40_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bd888bf322f45caf9dbc57e9c006e5ba.jpg","text":"TemporaryFile(/tmp/multipartBody2172888039731931875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896663936,"filename":"image_31102025_18_03_31_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b13eba53d1b98dcb407d1d737872351.jpg","text":"TemporaryFile(/tmp/multipartBody3751450215471804915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896663936,"filename":"image_31102025_18_03_43_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/5/f4dc3c387fd81a9c353e53bb69b77292.jpg","text":"TemporaryFile(/tmp/multipartBody7812002492286199627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896663936,"filename":"image_31102025_18_03_34_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002645","file1":"1398002643","file0":"1398002641","file4":"1398002649","file5":"1398002651","file3":"1398002647"},"map_files_photo_id_array":[{"photo_id":"1398002651","filename":"file5"},{"photo_id":"1398002645","filename":"file2"},{"photo_id":"1398002649","filename":"file4"},{"photo_id":"1398002643","filename":"file1"},{"photo_id":"1398002641","filename":"file0"},{"photo_id":"1398002647","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002647":["hashtag1","hashtag2"]},{"1398002641":["hashtag1","hashtag2"]},{"1398002649":["hashtag1","hashtag2"]},{"1398002643":["hashtag1","hashtag2"]},{"1398002651":["hashtag1","hashtag2"]},{"1398002645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002647, 1398002641, 1398002649, 1398002643, 1398002651, 1398002645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89626336097717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:04:03.414061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_55_10701.jpg', '/home/pi/Desktop/images/02122025/11/55/image_02122025_11_56_05_9840.jpg', '/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_15_9664.jpg', '/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_24_9732.jpg', '/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_35_10063.jpg', '/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_45_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_55_10701.jpg
/home/pi/Desktop/images/02122025/11/55/image_02122025_11_56_05_9840.jpg
/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_15_9664.jpg
/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_24_9732.jpg
/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_35_10063.jpg
/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_45_10614.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.641951560974121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:04:12.530587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_55_10701.jpg', '/home/pi/Desktop/images/02122025/11/55/image_02122025_11_56_05_9840.jpg', '/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_15_9664.jpg', '/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_24_9732.jpg', '/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_35_10063.jpg', '/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_45_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/55/image_02122025_11_55_55_10701.jpg
/home/pi/Desktop/images/02122025/11/55/image_02122025_11_56_05_9840.jpg
/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_15_9664.jpg
/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_24_9732.jpg
/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_35_10063.jpg
/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_45_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002665","1398002659","1398002667","1398002655","1398002669","1398002657"],"photo_ids_order":["1398002655","1398002657","1398002659","1398002665","1398002667","1398002669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ef455fa7a625788a99cf08e078c4286f.jpg","text":"TemporaryFile(/tmp/multipartBody7308782437209022369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896714458,"filename":"image_02122025_11_56_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/5/dd31e0e63ec4edef765331080e49a3b5.jpg","text":"TemporaryFile(/tmp/multipartBody5637558128167305005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896714458,"filename":"image_02122025_11_56_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/5/83015868365b48fdee1c3d7c670ee838.jpg","text":"TemporaryFile(/tmp/multipartBody4402243626699850603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896714458,"filename":"image_02122025_11_56_35_10063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cbd1dad5a30929a6972cdf679ed467c0.jpg","text":"TemporaryFile(/tmp/multipartBody5066850314552828727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896714458,"filename":"image_02122025_11_55_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/5/e61c895fd3054faf85b7a060c5b4dcf6.jpg","text":"TemporaryFile(/tmp/multipartBody7460855813654600665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896714458,"filename":"image_02122025_11_56_45_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/5/61c6329aa98878010d35681a258f2340.jpg","text":"TemporaryFile(/tmp/multipartBody4773564234373041234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896714458,"filename":"image_02122025_11_56_05_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002659","file1":"1398002657","file0":"1398002655","file4":"1398002667","file5":"1398002669","file3":"1398002665"},"map_files_photo_id_array":[{"photo_id":"1398002669","filename":"file5"},{"photo_id":"1398002659","filename":"file2"},{"photo_id":"1398002667","filename":"file4"},{"photo_id":"1398002657","filename":"file1"},{"photo_id":"1398002655","filename":"file0"},{"photo_id":"1398002665","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002665":["hashtag1","hashtag2"]},{"1398002659":["hashtag1","hashtag2"]},{"1398002667":["hashtag1","hashtag2"]},{"1398002655":["hashtag1","hashtag2"]},{"1398002669":["hashtag1","hashtag2"]},{"1398002657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002665, 1398002659, 1398002667, 1398002655, 1398002669, 1398002657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7413227558136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:05:03.429100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_54_9136.jpg', '/home/pi/Desktop/images/02122025/11/56/image_02122025_11_57_05_10695.jpg', '/home/pi/Desktop/images/02122025/11/57/image_02122025_11_57_15_9749.jpg', '/home/pi/Desktop/images/02122025/11/57/image_02122025_11_57_24_9554.jpg', '/home/pi/Desktop/images/02122025/11/57/image_02122025_11_57_35_10810.jpg', '/home/pi/Desktop/images/02122025/11/57/image_02122025_11_57_45_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/56/image_02122025_11_56_54_9136.jpg
/home/pi/Desktop/images/02122025/11/56/image_02122025_11_57_05_10695.jpg
/home/pi/Desktop/images/02122025/11/57/image_02122025_11_57_15_9749.jpg
/home/pi/Desktop/images/02122025/11/57/image_02122025_11_57_24_9554.jpg
/home/pi/Desktop/images/02122025/11/57/image_02122025_11_57_35_10810.jpg
/home/pi/Desktop/images/02122025/11/57/image_02122025_11_57_45_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002673","1398002679","1398002672","1398002675","1398002674","1398002677"],"photo_ids_order":["1398002672","1398002673","1398002674","1398002675","1398002677","1398002679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f24276bcb8bcb3f81380fb73a55d0394.jpg","text":"TemporaryFile(/tmp/multipartBody4396381206421908049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896765161,"filename":"image_02122025_11_57_05_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba8495adff4f7af30b9e00a4788b4ba4.jpg","text":"TemporaryFile(/tmp/multipartBody3640168121458352930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896765161,"filename":"image_02122025_11_57_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bfe8e23bce8c7d0668835facdfb8a9c8.jpg","text":"TemporaryFile(/tmp/multipartBody6537838348423770789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896765161,"filename":"image_02122025_11_56_54_9136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cd8cbd945db4e011ba120e5928f0aef6.jpg","text":"TemporaryFile(/tmp/multipartBody3885178984088437759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896765161,"filename":"image_02122025_11_57_24_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/589c8eb5580ea4ebf15503563d52cbe4.jpg","text":"TemporaryFile(/tmp/multipartBody1835079408793722631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896765161,"filename":"image_02122025_11_57_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/5/7a6169377827980bfa83b6895f778903.jpg","text":"TemporaryFile(/tmp/multipartBody3188150597886358991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896765161,"filename":"image_02122025_11_57_35_10810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002674","file1":"1398002673","file0":"1398002672","file4":"1398002677","file5":"1398002679","file3":"1398002675"},"map_files_photo_id_array":[{"photo_id":"1398002679","filename":"file5"},{"photo_id":"1398002674","filename":"file2"},{"photo_id":"1398002677","filename":"file4"},{"photo_id":"1398002673","filename":"file1"},{"photo_id":"1398002672","filename":"file0"},{"photo_id":"1398002675","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002673":["hashtag1","hashtag2"]},{"1398002679":["hashtag1","hashtag2"]},{"1398002672":["hashtag1","hashtag2"]},{"1398002675":["hashtag1","hashtag2"]},{"1398002674":["hashtag1","hashtag2"]},{"1398002677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002673, 1398002679, 1398002672, 1398002675, 1398002674, 1398002677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59570288658142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:06:02.287599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/57/image_02122025_11_57_55_9763.jpg', '/home/pi/Desktop/images/02122025/11/57/image_02122025_11_58_05_10608.jpg', '/home/pi/Desktop/images/02122025/11/58/image_02122025_11_58_15_9676.jpg', '/home/pi/Desktop/images/02122025/11/58/image_02122025_11_58_25_9759.jpg', '/home/pi/Desktop/images/02122025/11/58/image_02122025_11_58_35_9951.jpg', '/home/pi/Desktop/images/02122025/11/58/image_02122025_11_58_45_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/57/image_02122025_11_57_55_9763.jpg
/home/pi/Desktop/images/02122025/11/57/image_02122025_11_58_05_10608.jpg
/home/pi/Desktop/images/02122025/11/58/image_02122025_11_58_15_9676.jpg
/home/pi/Desktop/images/02122025/11/58/image_02122025_11_58_25_9759.jpg
/home/pi/Desktop/images/02122025/11/58/image_02122025_11_58_35_9951.jpg
/home/pi/Desktop/images/02122025/11/58/image_02122025_11_58_45_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002691","1398002694","1398002697","1398002693","1398002692","1398002695"],"photo_ids_order":["1398002691","1398002692","1398002693","1398002694","1398002695","1398002697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0edc2cc464a02ee1aa646c03d7fd4c24.jpg","text":"TemporaryFile(/tmp/multipartBody3036179527358922691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896823999,"filename":"image_02122025_11_57_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/5/bba4a33324713390eda2f960cccad301.jpg","text":"TemporaryFile(/tmp/multipartBody1568164143639097483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896823999,"filename":"image_02122025_11_58_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac55679d550e3cd0422130a50940d14e.jpg","text":"TemporaryFile(/tmp/multipartBody693784172320864950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896823999,"filename":"image_02122025_11_58_45_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/5/93490706f97ff27657ba9295c756840d.jpg","text":"TemporaryFile(/tmp/multipartBody1269360942440725898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896823999,"filename":"image_02122025_11_58_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/5/cee0e70b11684744a0465817bbc87e77.jpg","text":"TemporaryFile(/tmp/multipartBody6099941520730644116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896823999,"filename":"image_02122025_11_58_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/5/18398286330fcc2c1dbc7de15d4fed1a.jpg","text":"TemporaryFile(/tmp/multipartBody2060495404317685407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896823999,"filename":"image_02122025_11_58_35_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002693","file1":"1398002692","file0":"1398002691","file4":"1398002695","file5":"1398002697","file3":"1398002694"},"map_files_photo_id_array":[{"photo_id":"1398002697","filename":"file5"},{"photo_id":"1398002693","filename":"file2"},{"photo_id":"1398002695","filename":"file4"},{"photo_id":"1398002692","filename":"file1"},{"photo_id":"1398002691","filename":"file0"},{"photo_id":"1398002694","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002691":["hashtag1","hashtag2"]},{"1398002694":["hashtag1","hashtag2"]},{"1398002697":["hashtag1","hashtag2"]},{"1398002693":["hashtag1","hashtag2"]},{"1398002692":["hashtag1","hashtag2"]},{"1398002695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002691, 1398002694, 1398002697, 1398002693, 1398002692, 1398002695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23380637168884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:06:41.845113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_46_2638.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_49_3539.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_52_2663.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_55_2758.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_58_3751.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_01_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_46_2638.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_49_3539.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_52_2663.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_55_2758.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_58_3751.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_01_2782.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4837322235107422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:07:02.648952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/58/image_02122025_11_58_55_9695.jpg', '/home/pi/Desktop/images/02122025/11/58/image_02122025_11_59_05_9606.jpg', '/home/pi/Desktop/images/02122025/11/59/image_02122025_11_59_14_9763.jpg', '/home/pi/Desktop/images/02122025/11/59/image_02122025_11_59_25_10767.jpg', '/home/pi/Desktop/images/02122025/11/59/image_02122025_11_59_35_10023.jpg', '/home/pi/Desktop/images/02122025/11/59/image_02122025_11_59_45_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/58/image_02122025_11_58_55_9695.jpg
/home/pi/Desktop/images/02122025/11/58/image_02122025_11_59_05_9606.jpg
/home/pi/Desktop/images/02122025/11/59/image_02122025_11_59_14_9763.jpg
/home/pi/Desktop/images/02122025/11/59/image_02122025_11_59_25_10767.jpg
/home/pi/Desktop/images/02122025/11/59/image_02122025_11_59_35_10023.jpg
/home/pi/Desktop/images/02122025/11/59/image_02122025_11_59_45_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002728","1398002730","1398002727","1398002732","1398002717","1398002726"],"photo_ids_order":["1398002717","1398002726","1398002727","1398002728","1398002730","1398002732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5276777e2b4448592f8b85a44cfe4b55.jpg","text":"TemporaryFile(/tmp/multipartBody4937542167254453803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896884443,"filename":"image_02122025_11_59_25_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/5/9159f43271ff8f01582f797df87dbce8.jpg","text":"TemporaryFile(/tmp/multipartBody8804807759254377559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896884443,"filename":"image_02122025_11_59_35_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/5/98e98e797c3dcf598c88988ee9b6a54f.jpg","text":"TemporaryFile(/tmp/multipartBody5438350716097331453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896884443,"filename":"image_02122025_11_59_14_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/317e77fabac5872890cd4057bd152d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7364130475847820394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896884443,"filename":"image_02122025_11_59_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/faee2e11d94919ee0b7593da3b0945c8.jpg","text":"TemporaryFile(/tmp/multipartBody6790605378018488971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896884443,"filename":"image_02122025_11_58_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/5/3e0a14e0421c63cf953be70a9c1fe089.jpg","text":"TemporaryFile(/tmp/multipartBody2438387985637915391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896884443,"filename":"image_02122025_11_59_05_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002727","file1":"1398002726","file0":"1398002717","file4":"1398002730","file5":"1398002732","file3":"1398002728"},"map_files_photo_id_array":[{"photo_id":"1398002732","filename":"file5"},{"photo_id":"1398002727","filename":"file2"},{"photo_id":"1398002730","filename":"file4"},{"photo_id":"1398002726","filename":"file1"},{"photo_id":"1398002717","filename":"file0"},{"photo_id":"1398002728","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002728":["hashtag1","hashtag2"]},{"1398002730":["hashtag1","hashtag2"]},{"1398002727":["hashtag1","hashtag2"]},{"1398002732":["hashtag1","hashtag2"]},{"1398002717":["hashtag1","hashtag2"]},{"1398002726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002728, 1398002730, 1398002727, 1398002732, 1398002717, 1398002726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50172257423401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:07:41.985313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_46_2638.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_49_3539.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_52_2663.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_55_2758.jpg', '/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_58_3751.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_01_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_46_2638.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_49_3539.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_52_2663.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_55_2758.jpg
/home/pi/Desktop/images/31102025/18/03/image_31102025_18_03_58_3751.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_01_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002740","1398002742","1398002736","1398002739","1398002741","1398002738"],"photo_ids_order":["1398002736","1398002738","1398002739","1398002740","1398002741","1398002742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ea4ea850974742b42a6323de1f73daf6.jpg","text":"TemporaryFile(/tmp/multipartBody6053076304324457477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896923451,"filename":"image_31102025_18_03_55_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/5/1341e5d1da8b89ae59c578e0258cabd5.jpg","text":"TemporaryFile(/tmp/multipartBody4814779744137176564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896923451,"filename":"image_31102025_18_04_01_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/5/73e93f60a01a4cd5934c1060afff19ff.jpg","text":"TemporaryFile(/tmp/multipartBody7902626577678899419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896923451,"filename":"image_31102025_18_03_46_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff63211d3b1ac7ba565bf35ca9313b5c.jpg","text":"TemporaryFile(/tmp/multipartBody7511619394343342465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896923451,"filename":"image_31102025_18_03_52_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/5/b815451b119d84e9517a566ff1a750e4.jpg","text":"TemporaryFile(/tmp/multipartBody3555052725027771591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896923451,"filename":"image_31102025_18_03_58_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/5/ebcdc0da1cbff8f94098f74d05d0d4b7.jpg","text":"TemporaryFile(/tmp/multipartBody49108026400764297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896923451,"filename":"image_31102025_18_03_49_3539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002739","file1":"1398002738","file0":"1398002736","file4":"1398002741","file5":"1398002742","file3":"1398002740"},"map_files_photo_id_array":[{"photo_id":"1398002742","filename":"file5"},{"photo_id":"1398002739","filename":"file2"},{"photo_id":"1398002741","filename":"file4"},{"photo_id":"1398002738","filename":"file1"},{"photo_id":"1398002736","filename":"file0"},{"photo_id":"1398002740","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002740":["hashtag1","hashtag2"]},{"1398002742":["hashtag1","hashtag2"]},{"1398002736":["hashtag1","hashtag2"]},{"1398002739":["hashtag1","hashtag2"]},{"1398002741":["hashtag1","hashtag2"]},{"1398002738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002740, 1398002742, 1398002736, 1398002739, 1398002741, 1398002738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.046144008636475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:08:22.126093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_04_2544.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_08_3811.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_10_2769.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_13_2633.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_16_2635.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_19_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_04_2544.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_08_3811.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_10_2769.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_13_2633.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_16_2635.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_19_3537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002764","1398002746","1398002748","1398002753","1398002756","1398002744"],"photo_ids_order":["1398002744","1398002746","1398002748","1398002753","1398002756","1398002764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a1e459d6c723cdfbd49a5a679cebbdaf.jpg","text":"TemporaryFile(/tmp/multipartBody537724391284057968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896963718,"filename":"image_31102025_18_04_19_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/5/f9f4902a174839e91cc3f23e2fb01b13.jpg","text":"TemporaryFile(/tmp/multipartBody3058615428627321858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896963718,"filename":"image_31102025_18_04_08_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/5/fb0efdf4fd6dcd0530f8085b74c87673.jpg","text":"TemporaryFile(/tmp/multipartBody2175845589588776368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896963718,"filename":"image_31102025_18_04_10_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/5/16efa68d406db682686a6c347daf454b.jpg","text":"TemporaryFile(/tmp/multipartBody7564780031989956902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896963718,"filename":"image_31102025_18_04_13_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/5/e4886c3b0ee3b9729bcde09aa7ee52f8.jpg","text":"TemporaryFile(/tmp/multipartBody7218207870569367234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896963718,"filename":"image_31102025_18_04_16_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/5/e917c1ba27487bf4b93faa4197c20f60.jpg","text":"TemporaryFile(/tmp/multipartBody7276379858976512549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764896963718,"filename":"image_31102025_18_04_04_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002748","file1":"1398002746","file0":"1398002744","file4":"1398002756","file5":"1398002764","file3":"1398002753"},"map_files_photo_id_array":[{"photo_id":"1398002764","filename":"file5"},{"photo_id":"1398002748","filename":"file2"},{"photo_id":"1398002756","filename":"file4"},{"photo_id":"1398002746","filename":"file1"},{"photo_id":"1398002744","filename":"file0"},{"photo_id":"1398002753","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002764":["hashtag1","hashtag2"]},{"1398002746":["hashtag1","hashtag2"]},{"1398002748":["hashtag1","hashtag2"]},{"1398002753":["hashtag1","hashtag2"]},{"1398002756":["hashtag1","hashtag2"]},{"1398002744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002764, 1398002746, 1398002748, 1398002753, 1398002756, 1398002744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22715950012207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:09:03.360438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/11/59/image_02122025_11_59_54_9583.jpg', '/home/pi/Desktop/images/02122025/11/59/image_02122025_12_00_05_10873.jpg', '/home/pi/Desktop/images/02122025/12/00/image_02122025_12_00_20_10062.jpg', '/home/pi/Desktop/images/02122025/12/00/image_02122025_12_00_31_10793.jpg', '/home/pi/Desktop/images/02122025/12/00/image_02122025_12_00_40_9477.jpg', '/home/pi/Desktop/images/02122025/12/00/image_02122025_12_00_50_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/11/59/image_02122025_11_59_54_9583.jpg
/home/pi/Desktop/images/02122025/11/59/image_02122025_12_00_05_10873.jpg
/home/pi/Desktop/images/02122025/12/00/image_02122025_12_00_20_10062.jpg
/home/pi/Desktop/images/02122025/12/00/image_02122025_12_00_31_10793.jpg
/home/pi/Desktop/images/02122025/12/00/image_02122025_12_00_40_9477.jpg
/home/pi/Desktop/images/02122025/12/00/image_02122025_12_00_50_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":["1398002772","1398002778","1398002771","1398002774","1398002773","1398002776"],"photo_ids_order":["1398002771","1398002772","1398002773","1398002774","1398002776","1398002778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d429d4f75852203df9c360b28f6a27fd.jpg","text":"TemporaryFile(/tmp/multipartBody6655971343491970720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897005207,"filename":"image_02122025_12_00_05_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/5/be935043fe0d0b26597dda2c7e9635ea.jpg","text":"TemporaryFile(/tmp/multipartBody444196208246802389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897005207,"filename":"image_02122025_12_00_50_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/5/df62dec7a6ca5e579032138114622cf8.jpg","text":"TemporaryFile(/tmp/multipartBody8060956423093047126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897005207,"filename":"image_02122025_11_59_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/5/d9c1d0aafd49cd4118a2f62f57eb57ed.jpg","text":"TemporaryFile(/tmp/multipartBody6704220956711575813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897005207,"filename":"image_02122025_12_00_31_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/5/55931e5bd42d492bf8f93cbef0189598.jpg","text":"TemporaryFile(/tmp/multipartBody235935957832160141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897005207,"filename":"image_02122025_12_00_20_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b75bbb9ce188ba088272b4b84f657c6f.jpg","text":"TemporaryFile(/tmp/multipartBody8522018580843233777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897005207,"filename":"image_02122025_12_00_40_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002773","file1":"1398002772","file0":"1398002771","file4":"1398002776","file5":"1398002778","file3":"1398002774"},"map_files_photo_id_array":[{"photo_id":"1398002778","filename":"file5"},{"photo_id":"1398002773","filename":"file2"},{"photo_id":"1398002776","filename":"file4"},{"photo_id":"1398002772","filename":"file1"},{"photo_id":"1398002771","filename":"file0"},{"photo_id":"1398002774","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002772":["hashtag1","hashtag2"]},{"1398002778":["hashtag1","hashtag2"]},{"1398002771":["hashtag1","hashtag2"]},{"1398002774":["hashtag1","hashtag2"]},{"1398002773":["hashtag1","hashtag2"]},{"1398002776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002772, 1398002778, 1398002771, 1398002774, 1398002773, 1398002776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.358314990997314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:09:42.487164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_22_2703.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_25_3656.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_28_2549.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_31_2556.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_34_3684.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_37_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_22_2703.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_25_3656.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_28_2549.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_31_2556.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_34_3684.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_37_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002785","1398002784","1398002787","1398002786","1398002788","1398002782"],"photo_ids_order":["1398002782","1398002784","1398002785","1398002786","1398002787","1398002788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/88df8ef7e2501a43263c3f5f390d6a11.jpg","text":"TemporaryFile(/tmp/multipartBody3238149379029570623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897044042,"filename":"image_31102025_18_04_28_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/5/29eab61929717cb005b37cb0347e4fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3226637597252682935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897044042,"filename":"image_31102025_18_04_25_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/5/14d6755287860773b2085831ec0afc3f.jpg","text":"TemporaryFile(/tmp/multipartBody8466616511821798539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897044042,"filename":"image_31102025_18_04_34_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/5/bcf5080c154367424bb660d72aae4348.jpg","text":"TemporaryFile(/tmp/multipartBody4793083855896510282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897044042,"filename":"image_31102025_18_04_31_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/edd63316f63b828bd767a8c12ef02d5a.jpg","text":"TemporaryFile(/tmp/multipartBody978031460561868458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897044042,"filename":"image_31102025_18_04_37_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/5/dd081f80b815acf32a439e45f0c68be7.jpg","text":"TemporaryFile(/tmp/multipartBody923464708791933548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897044042,"filename":"image_31102025_18_04_22_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002785","file1":"1398002784","file0":"1398002782","file4":"1398002787","file5":"1398002788","file3":"1398002786"},"map_files_photo_id_array":[{"photo_id":"1398002788","filename":"file5"},{"photo_id":"1398002785","filename":"file2"},{"photo_id":"1398002787","filename":"file4"},{"photo_id":"1398002784","filename":"file1"},{"photo_id":"1398002782","filename":"file0"},{"photo_id":"1398002786","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002785":["hashtag1","hashtag2"]},{"1398002784":["hashtag1","hashtag2"]},{"1398002787":["hashtag1","hashtag2"]},{"1398002786":["hashtag1","hashtag2"]},{"1398002788":["hashtag1","hashtag2"]},{"1398002782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002785, 1398002784, 1398002787, 1398002786, 1398002788, 1398002782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02664613723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:10:22.758308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_40_2647.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_43_3528.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_46_2862.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_49_3550.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_52_2535.jpg', '/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_55_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_40_2647.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_43_3528.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_46_2862.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_49_3550.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_52_2535.jpg
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_55_2765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002800","1398002790","1398002802","1398002792","1398002804","1398002794"],"photo_ids_order":["1398002790","1398002792","1398002794","1398002800","1398002802","1398002804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c8eba07a1b0821ac3ae715b00f6b73a.jpg","text":"TemporaryFile(/tmp/multipartBody3489362061371355837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897084333,"filename":"image_31102025_18_04_49_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/5/63aa191ae0d3fc8290f6cc788d94c55c.jpg","text":"TemporaryFile(/tmp/multipartBody2261365034325620259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897084333,"filename":"image_31102025_18_04_40_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/5/c532f8658e4ef369608064d995298e55.jpg","text":"TemporaryFile(/tmp/multipartBody8126862889062770104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897084333,"filename":"image_31102025_18_04_52_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/5/cc670ddeecd8447952a703e4026fce93.jpg","text":"TemporaryFile(/tmp/multipartBody4199319053191392167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897084333,"filename":"image_31102025_18_04_43_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/262a691cf08e0ea361e52e47ed5e2005.jpg","text":"TemporaryFile(/tmp/multipartBody3482728057276440196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897084333,"filename":"image_31102025_18_04_55_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/5/df9f66c5612c468c78cfb0cbf489e476.jpg","text":"TemporaryFile(/tmp/multipartBody9114568027911441470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897084333,"filename":"image_31102025_18_04_46_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002794","file1":"1398002792","file0":"1398002790","file4":"1398002802","file5":"1398002804","file3":"1398002800"},"map_files_photo_id_array":[{"photo_id":"1398002804","filename":"file5"},{"photo_id":"1398002794","filename":"file2"},{"photo_id":"1398002802","filename":"file4"},{"photo_id":"1398002792","filename":"file1"},{"photo_id":"1398002790","filename":"file0"},{"photo_id":"1398002800","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002800":["hashtag1","hashtag2"]},{"1398002790":["hashtag1","hashtag2"]},{"1398002802":["hashtag1","hashtag2"]},{"1398002792":["hashtag1","hashtag2"]},{"1398002804":["hashtag1","hashtag2"]},{"1398002794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002800, 1398002790, 1398002802, 1398002792, 1398002804, 1398002794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19421625137329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:11:02.540557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/00/image_02122025_12_01_01_10703.jpg', '/home/pi/Desktop/images/02122025/12/01/image_02122025_12_01_11_10030.jpg', '/home/pi/Desktop/images/02122025/12/01/image_02122025_12_01_20_9256.jpg', '/home/pi/Desktop/images/02122025/12/01/image_02122025_12_01_31_10838.jpg', '/home/pi/Desktop/images/02122025/12/01/image_02122025_12_01_41_9786.jpg', '/home/pi/Desktop/images/02122025/12/01/image_02122025_12_01_50_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/00/image_02122025_12_01_01_10703.jpg
/home/pi/Desktop/images/02122025/12/01/image_02122025_12_01_11_10030.jpg
/home/pi/Desktop/images/02122025/12/01/image_02122025_12_01_20_9256.jpg
/home/pi/Desktop/images/02122025/12/01/image_02122025_12_01_31_10838.jpg
/home/pi/Desktop/images/02122025/12/01/image_02122025_12_01_41_9786.jpg
/home/pi/Desktop/images/02122025/12/01/image_02122025_12_01_50_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002818","1398002820","1398002817","1398002822","1398002819","1398002810"],"photo_ids_order":["1398002810","1398002817","1398002818","1398002819","1398002820","1398002822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ef7cebde320f195c90270baf0f346e51.jpg","text":"TemporaryFile(/tmp/multipartBody1379792921025703103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897124286,"filename":"image_02122025_12_01_20_9256.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/199bd039e8105d6afb78603ff60eaa52.jpg","text":"TemporaryFile(/tmp/multipartBody5383221597593718251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897124286,"filename":"image_02122025_12_01_41_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/5/8cfbb09488fbdc854f5f218cfa4a0eb8.jpg","text":"TemporaryFile(/tmp/multipartBody804953846654488804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897124286,"filename":"image_02122025_12_01_11_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/5/e3205cbfb597b270dd4b88c631236a9e.jpg","text":"TemporaryFile(/tmp/multipartBody159090997942808906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897124286,"filename":"image_02122025_12_01_50_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/5/cf46f63fe87f3d94eee1152e749a7a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1778952746967148313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897124286,"filename":"image_02122025_12_01_31_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/5/85fa3d18f8112e98bbc7e351ff61bab8.jpg","text":"TemporaryFile(/tmp/multipartBody7324531758267316275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897124286,"filename":"image_02122025_12_01_01_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002818","file1":"1398002817","file0":"1398002810","file4":"1398002820","file5":"1398002822","file3":"1398002819"},"map_files_photo_id_array":[{"photo_id":"1398002822","filename":"file5"},{"photo_id":"1398002818","filename":"file2"},{"photo_id":"1398002820","filename":"file4"},{"photo_id":"1398002817","filename":"file1"},{"photo_id":"1398002810","filename":"file0"},{"photo_id":"1398002819","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002818":["hashtag1","hashtag2"]},{"1398002820":["hashtag1","hashtag2"]},{"1398002817":["hashtag1","hashtag2"]},{"1398002822":["hashtag1","hashtag2"]},{"1398002819":["hashtag1","hashtag2"]},{"1398002810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002818, 1398002820, 1398002817, 1398002822, 1398002819, 1398002810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12768912315369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:11:41.871980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_58_3599.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_01_2679.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_04_2565.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_07_3586.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_10_2628.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_12_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/04/image_31102025_18_04_58_3599.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_01_2679.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_04_2565.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_07_3586.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_10_2628.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_12_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002830","1398002833","1398002827","1398002829","1398002832","1398002831"],"photo_ids_order":["1398002827","1398002829","1398002830","1398002831","1398002832","1398002833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c166f5d3df4c80d8cf524bdceb8612e.jpg","text":"TemporaryFile(/tmp/multipartBody8425336070351402264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897163442,"filename":"image_31102025_18_05_04_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/5/73916eb30f90be48beadd90937b35cf7.jpg","text":"TemporaryFile(/tmp/multipartBody4403056857028920404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897163442,"filename":"image_31102025_18_05_12_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/5/be4c2d3d265dd42b47170ca304516c77.jpg","text":"TemporaryFile(/tmp/multipartBody4222347458197103534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897163442,"filename":"image_31102025_18_04_58_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/5/4c4c965b61282cbc1d1650549aea6931.jpg","text":"TemporaryFile(/tmp/multipartBody8043079354185910344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897163442,"filename":"image_31102025_18_05_01_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/5/3c959874e37ccc83e0249a8b40ac7b6f.jpg","text":"TemporaryFile(/tmp/multipartBody3302250002798431141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897163442,"filename":"image_31102025_18_05_10_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/5/947a0962bf020af971a028b8bfb23100.jpg","text":"TemporaryFile(/tmp/multipartBody770749856697078966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897163442,"filename":"image_31102025_18_05_07_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002830","file1":"1398002829","file0":"1398002827","file4":"1398002832","file5":"1398002833","file3":"1398002831"},"map_files_photo_id_array":[{"photo_id":"1398002833","filename":"file5"},{"photo_id":"1398002830","filename":"file2"},{"photo_id":"1398002832","filename":"file4"},{"photo_id":"1398002829","filename":"file1"},{"photo_id":"1398002827","filename":"file0"},{"photo_id":"1398002831","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002830":["hashtag1","hashtag2"]},{"1398002833":["hashtag1","hashtag2"]},{"1398002827":["hashtag1","hashtag2"]},{"1398002829":["hashtag1","hashtag2"]},{"1398002832":["hashtag1","hashtag2"]},{"1398002831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002830, 1398002833, 1398002827, 1398002829, 1398002832, 1398002831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27269530296326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:12:22.113562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_16_3637.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_19_2612.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_22_3670.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_25_2639.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_28_2659.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_30_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_16_3637.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_19_2612.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_22_3670.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_25_2639.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_28_2659.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_30_2723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002839","1398002847","1398002841","1398002835","1398002849","1398002837"],"photo_ids_order":["1398002835","1398002837","1398002839","1398002841","1398002847","1398002849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/73340f51d044da2694f74ab90ea424be.jpg","text":"TemporaryFile(/tmp/multipartBody4536559451523953635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897203781,"filename":"image_31102025_18_05_22_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/5/979cb30c3219298ce291253820a23aef.jpg","text":"TemporaryFile(/tmp/multipartBody1593331419902756790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897203781,"filename":"image_31102025_18_05_28_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/5/9353b9c28bc56d8b5910bf02636c694d.jpg","text":"TemporaryFile(/tmp/multipartBody9115924083116199683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897203781,"filename":"image_31102025_18_05_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/5/d1de9e947d810a787c0221fea6667787.jpg","text":"TemporaryFile(/tmp/multipartBody5464118092628161624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897203781,"filename":"image_31102025_18_05_16_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/5/4d987c703b8d771092db21f7e66fae12.jpg","text":"TemporaryFile(/tmp/multipartBody1239461311116030483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897203781,"filename":"image_31102025_18_05_30_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/5/5872d3323a5b8885da43e0867156925b.jpg","text":"TemporaryFile(/tmp/multipartBody2723425403503292138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897203781,"filename":"image_31102025_18_05_19_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002839","file1":"1398002837","file0":"1398002835","file4":"1398002847","file5":"1398002849","file3":"1398002841"},"map_files_photo_id_array":[{"photo_id":"1398002849","filename":"file5"},{"photo_id":"1398002839","filename":"file2"},{"photo_id":"1398002847","filename":"file4"},{"photo_id":"1398002837","filename":"file1"},{"photo_id":"1398002835","filename":"file0"},{"photo_id":"1398002841","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002839":["hashtag1","hashtag2"]},{"1398002847":["hashtag1","hashtag2"]},{"1398002841":["hashtag1","hashtag2"]},{"1398002835":["hashtag1","hashtag2"]},{"1398002849":["hashtag1","hashtag2"]},{"1398002837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002839, 1398002847, 1398002841, 1398002835, 1398002849, 1398002837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.089927673339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:13:02.926469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/01/image_02122025_12_02_00_9706.jpg', '/home/pi/Desktop/images/02122025/12/02/image_02122025_12_02_11_10622.jpg', '/home/pi/Desktop/images/02122025/12/02/image_02122025_12_02_20_9611.jpg', '/home/pi/Desktop/images/02122025/12/02/image_02122025_12_02_30_9690.jpg', '/home/pi/Desktop/images/02122025/12/02/image_02122025_12_02_41_10761.jpg', '/home/pi/Desktop/images/02122025/12/02/image_02122025_12_03_00_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/01/image_02122025_12_02_00_9706.jpg
/home/pi/Desktop/images/02122025/12/02/image_02122025_12_02_11_10622.jpg
/home/pi/Desktop/images/02122025/12/02/image_02122025_12_02_20_9611.jpg
/home/pi/Desktop/images/02122025/12/02/image_02122025_12_02_30_9690.jpg
/home/pi/Desktop/images/02122025/12/02/image_02122025_12_02_41_10761.jpg
/home/pi/Desktop/images/02122025/12/02/image_02122025_12_03_00_9744.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":["1398002863","1398002866","1398002868","1398002850","1398002864","1398002861"],"photo_ids_order":["1398002850","1398002861","1398002863","1398002864","1398002866","1398002868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2858008bef25c16d2834f3f9905a5207.jpg","text":"TemporaryFile(/tmp/multipartBody7971018570931202381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897244699,"filename":"image_02122025_12_02_20_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/5/d829977961eaf81426b87d604e69b7de.jpg","text":"TemporaryFile(/tmp/multipartBody4227658295596559300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897244699,"filename":"image_02122025_12_02_41_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/5/973deaf2d28edfc233d46c8619d999bb.jpg","text":"TemporaryFile(/tmp/multipartBody6951028573168304387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897244699,"filename":"image_02122025_12_03_00_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/5/082dfa833dfc85a59e4ce5a2f6fb6bdc.jpg","text":"TemporaryFile(/tmp/multipartBody786371938831319079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897244699,"filename":"image_02122025_12_02_00_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/5/7ff45e6f1037d96d2bf9e53e3beea0a3.jpg","text":"TemporaryFile(/tmp/multipartBody5754379129136430950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897244699,"filename":"image_02122025_12_02_30_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/5/ce01984a2f97d008895692b6beafe737.jpg","text":"TemporaryFile(/tmp/multipartBody1942779827277303725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897244699,"filename":"image_02122025_12_02_11_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002863","file1":"1398002861","file0":"1398002850","file4":"1398002866","file5":"1398002868","file3":"1398002864"},"map_files_photo_id_array":[{"photo_id":"1398002868","filename":"file5"},{"photo_id":"1398002863","filename":"file2"},{"photo_id":"1398002866","filename":"file4"},{"photo_id":"1398002861","filename":"file1"},{"photo_id":"1398002850","filename":"file0"},{"photo_id":"1398002864","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002863":["hashtag1","hashtag2"]},{"1398002866":["hashtag1","hashtag2"]},{"1398002868":["hashtag1","hashtag2"]},{"1398002850":["hashtag1","hashtag2"]},{"1398002864":["hashtag1","hashtag2"]},{"1398002861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002863, 1398002866, 1398002868, 1398002850, 1398002864, 1398002861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51486158370972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:14:03.326071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/03/image_02122025_12_03_10_9675.jpg', '/home/pi/Desktop/images/02122025/12/03/image_02122025_12_03_20_9821.jpg', '/home/pi/Desktop/images/02122025/12/03/image_02122025_12_03_31_10680.jpg', '/home/pi/Desktop/images/02122025/12/03/image_02122025_12_03_40_9673.jpg', '/home/pi/Desktop/images/02122025/12/03/image_02122025_12_03_50_9682.jpg', '/home/pi/Desktop/images/02122025/12/03/image_02122025_12_04_01_10831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/03/image_02122025_12_03_10_9675.jpg
/home/pi/Desktop/images/02122025/12/03/image_02122025_12_03_20_9821.jpg
/home/pi/Desktop/images/02122025/12/03/image_02122025_12_03_31_10680.jpg
/home/pi/Desktop/images/02122025/12/03/image_02122025_12_03_40_9673.jpg
/home/pi/Desktop/images/02122025/12/03/image_02122025_12_03_50_9682.jpg
/home/pi/Desktop/images/02122025/12/03/image_02122025_12_04_01_10831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002878","1398002874","1398002877","1398002876","1398002873","1398002881"],"photo_ids_order":["1398002873","1398002874","1398002876","1398002877","1398002878","1398002881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d23f24421280c89ee6ae5b10a1c5f8f.jpg","text":"TemporaryFile(/tmp/multipartBody7510636871219479580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897305032,"filename":"image_02122025_12_03_50_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/5/357fd9e9b9e009360ea7884ba66bd518.jpg","text":"TemporaryFile(/tmp/multipartBody6488387892892802030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897305032,"filename":"image_02122025_12_03_20_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/5/3e23dea8acbe1169c46e4463138cfeab.jpg","text":"TemporaryFile(/tmp/multipartBody4234774350493775144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897305032,"filename":"image_02122025_12_03_40_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/5/a40f7f113474d81b51bad4bcb0b1a5eb.jpg","text":"TemporaryFile(/tmp/multipartBody8665551113207768404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897305032,"filename":"image_02122025_12_03_31_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/5/1602d6f43ad1f645a57fc39801da4bc4.jpg","text":"TemporaryFile(/tmp/multipartBody1349720134553838944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897305032,"filename":"image_02122025_12_03_10_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/5/ed0a874aa55a6d3f352803e344016758.jpg","text":"TemporaryFile(/tmp/multipartBody7819565073262808227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897305032,"filename":"image_02122025_12_04_01_10831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002876","file1":"1398002874","file0":"1398002873","file4":"1398002878","file5":"1398002881","file3":"1398002877"},"map_files_photo_id_array":[{"photo_id":"1398002881","filename":"file5"},{"photo_id":"1398002876","filename":"file2"},{"photo_id":"1398002878","filename":"file4"},{"photo_id":"1398002874","filename":"file1"},{"photo_id":"1398002873","filename":"file0"},{"photo_id":"1398002877","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002878":["hashtag1","hashtag2"]},{"1398002874":["hashtag1","hashtag2"]},{"1398002877":["hashtag1","hashtag2"]},{"1398002876":["hashtag1","hashtag2"]},{"1398002873":["hashtag1","hashtag2"]},{"1398002881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002878, 1398002874, 1398002877, 1398002876, 1398002873, 1398002881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16641855239868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:14:42.673700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_34_3759.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_37_2526.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_40_3635.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_43_2528.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_46_2731.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_49_3765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_34_3759.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_37_2526.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_40_3635.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_43_2528.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_46_2731.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_49_3765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002905","1398002902","1398002892","1398002904","1398002907","1398002899"],"photo_ids_order":["1398002892","1398002899","1398002902","1398002904","1398002905","1398002907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f2c292630d9742f2fa378a0d4829401.jpg","text":"TemporaryFile(/tmp/multipartBody4416757371517575882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897344239,"filename":"image_31102025_18_05_46_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d803568b579b3e8b789c36adf7452010.jpg","text":"TemporaryFile(/tmp/multipartBody7992240972088189975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897344239,"filename":"image_31102025_18_05_40_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/5/24adb45676c7a27e8393badeda91e99e.jpg","text":"TemporaryFile(/tmp/multipartBody3166326456623252592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897344239,"filename":"image_31102025_18_05_34_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/5/7381e4fdb0678e5d115fd7c7ffc4540f.jpg","text":"TemporaryFile(/tmp/multipartBody3628393189491328025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897344239,"filename":"image_31102025_18_05_43_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99dc8e3d9f7714aa10af3c22e6ce6d09.jpg","text":"TemporaryFile(/tmp/multipartBody1939816236650811960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897344239,"filename":"image_31102025_18_05_49_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2bbb1113bb956a6479a39d8553b8ffd.jpg","text":"TemporaryFile(/tmp/multipartBody5734647939634389573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897344239,"filename":"image_31102025_18_05_37_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002902","file1":"1398002899","file0":"1398002892","file4":"1398002905","file5":"1398002907","file3":"1398002904"},"map_files_photo_id_array":[{"photo_id":"1398002907","filename":"file5"},{"photo_id":"1398002902","filename":"file2"},{"photo_id":"1398002905","filename":"file4"},{"photo_id":"1398002899","filename":"file1"},{"photo_id":"1398002892","filename":"file0"},{"photo_id":"1398002904","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002905":["hashtag1","hashtag2"]},{"1398002902":["hashtag1","hashtag2"]},{"1398002892":["hashtag1","hashtag2"]},{"1398002904":["hashtag1","hashtag2"]},{"1398002907":["hashtag1","hashtag2"]},{"1398002899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002905, 1398002902, 1398002892, 1398002904, 1398002907, 1398002899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.142120361328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:15:21.834688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_52_2672.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_55_2883.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_58_2912.jpg', '/home/pi/Desktop/images/31102025/18/05/image_31102025_18_06_00_2599.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_04_3571.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_07_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_52_2672.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_55_2883.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_05_58_2912.jpg
/home/pi/Desktop/images/31102025/18/05/image_31102025_18_06_00_2599.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_04_3571.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_07_2606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002923","1398002917","1398002914","1398002916","1398002919","1398002921"],"photo_ids_order":["1398002914","1398002916","1398002917","1398002919","1398002921","1398002923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/210141db3f41b3621122188259a4d361.jpg","text":"TemporaryFile(/tmp/multipartBody7181367222901198225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897383422,"filename":"image_31102025_18_06_07_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/5/d43f9bc29213855fa59141ff11973790.jpg","text":"TemporaryFile(/tmp/multipartBody693784333908969919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897383422,"filename":"image_31102025_18_05_58_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3b490cbd53f606c59e5741ab8b282d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2056073670258949399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897383422,"filename":"image_31102025_18_05_52_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/5/bcc0d801641f26b43bd091510708b19a.jpg","text":"TemporaryFile(/tmp/multipartBody4405482477702342954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897383422,"filename":"image_31102025_18_05_55_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/5/41573d4f75e6cc589fcdb9bc1cd3f20a.jpg","text":"TemporaryFile(/tmp/multipartBody1566505459260429718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897383422,"filename":"image_31102025_18_06_00_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/5/b8c8e14ea17676c04fb6bad4a60a9df2.jpg","text":"TemporaryFile(/tmp/multipartBody5938214868059369831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897383422,"filename":"image_31102025_18_06_04_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002917","file1":"1398002916","file0":"1398002914","file4":"1398002921","file5":"1398002923","file3":"1398002919"},"map_files_photo_id_array":[{"photo_id":"1398002923","filename":"file5"},{"photo_id":"1398002917","filename":"file2"},{"photo_id":"1398002921","filename":"file4"},{"photo_id":"1398002916","filename":"file1"},{"photo_id":"1398002914","filename":"file0"},{"photo_id":"1398002919","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002923":["hashtag1","hashtag2"]},{"1398002917":["hashtag1","hashtag2"]},{"1398002914":["hashtag1","hashtag2"]},{"1398002916":["hashtag1","hashtag2"]},{"1398002919":["hashtag1","hashtag2"]},{"1398002921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002923, 1398002917, 1398002914, 1398002916, 1398002919, 1398002921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97582221031189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:16:02.668130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/04/image_02122025_12_04_11_9958.jpg', '/home/pi/Desktop/images/02122025/12/04/image_02122025_12_04_21_9927.jpg', '/home/pi/Desktop/images/02122025/12/04/image_02122025_12_04_30_9691.jpg', '/home/pi/Desktop/images/02122025/12/04/image_02122025_12_04_40_9672.jpg', '/home/pi/Desktop/images/02122025/12/04/image_02122025_12_04_51_10714.jpg', '/home/pi/Desktop/images/02122025/12/04/image_02122025_12_05_00_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/04/image_02122025_12_04_11_9958.jpg
/home/pi/Desktop/images/02122025/12/04/image_02122025_12_04_21_9927.jpg
/home/pi/Desktop/images/02122025/12/04/image_02122025_12_04_30_9691.jpg
/home/pi/Desktop/images/02122025/12/04/image_02122025_12_04_40_9672.jpg
/home/pi/Desktop/images/02122025/12/04/image_02122025_12_04_51_10714.jpg
/home/pi/Desktop/images/02122025/12/04/image_02122025_12_05_00_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002929","1398002931","1398002925","1398002930","1398002933","1398002927"],"photo_ids_order":["1398002925","1398002927","1398002929","1398002930","1398002931","1398002933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b381d3a7be57b2e3fe801388931e225.jpg","text":"TemporaryFile(/tmp/multipartBody1587492214132427794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897424362,"filename":"image_02122025_12_04_30_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/5/bee985b7a1a7586fa3235f5801efb2c8.jpg","text":"TemporaryFile(/tmp/multipartBody1130918228173128046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897424362,"filename":"image_02122025_12_04_51_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/5/6ec9278aeeb7c3d746e18049f2ff9694.jpg","text":"TemporaryFile(/tmp/multipartBody6037182431953417174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897424362,"filename":"image_02122025_12_04_11_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/5/c203b055e6455b11a43f585b78d0fa97.jpg","text":"TemporaryFile(/tmp/multipartBody4736231894909981114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897424362,"filename":"image_02122025_12_04_40_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/5/717850e1781a3c987769b4281a0b022e.jpg","text":"TemporaryFile(/tmp/multipartBody7848527385380863928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897424362,"filename":"image_02122025_12_05_00_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/5/ef2e09397bfcf4a989717d2e60352de3.jpg","text":"TemporaryFile(/tmp/multipartBody7283385899002006019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897424362,"filename":"image_02122025_12_04_21_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002929","file1":"1398002927","file0":"1398002925","file4":"1398002931","file5":"1398002933","file3":"1398002930"},"map_files_photo_id_array":[{"photo_id":"1398002933","filename":"file5"},{"photo_id":"1398002929","filename":"file2"},{"photo_id":"1398002931","filename":"file4"},{"photo_id":"1398002927","filename":"file1"},{"photo_id":"1398002925","filename":"file0"},{"photo_id":"1398002930","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398002929":["hashtag1","hashtag2"]},{"1398002931":["hashtag1","hashtag2"]},{"1398002925":["hashtag1","hashtag2"]},{"1398002930":["hashtag1","hashtag2"]},{"1398002933":["hashtag1","hashtag2"]},{"1398002927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398002929, 1398002931, 1398002925, 1398002930, 1398002933, 1398002927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73012399673462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:16:42.128463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_10_3733.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_13_2616.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_16_2750.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_18_2726.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_22_3785.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_25_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_10_3733.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_13_2616.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_16_2750.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_18_2726.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_22_3785.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_25_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":["1398002944","1398002946","1398002940","1398002943","1398002942","1398002945"],"photo_ids_order":["1398002940","1398002942","1398002943","1398002944","1398002945","1398002946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5c4b4993e80a0661d9bce1347026254.jpg","text":"TemporaryFile(/tmp/multipartBody5376421292060694573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897463708,"filename":"image_31102025_18_06_18_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/da61436ee770cc46c551501a59927f5c.jpg","text":"TemporaryFile(/tmp/multipartBody3169163884885936815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897463708,"filename":"image_31102025_18_06_25_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/5/7dc029d542283246213f3e061aab29f2.jpg","text":"TemporaryFile(/tmp/multipartBody8075019396122529427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897463708,"filename":"image_31102025_18_06_10_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/5/b166146a5f65439b8d79d5ea9e2cab0f.jpg","text":"TemporaryFile(/tmp/multipartBody7826950232254953301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897463708,"filename":"image_31102025_18_06_16_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/5/cabed0725d60e050e74b0da3ff055e70.jpg","text":"TemporaryFile(/tmp/multipartBody7057535341935995524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897463708,"filename":"image_31102025_18_06_13_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/5/395ba91ac593aae5fe6cd6ecd448fd91.jpg","text":"TemporaryFile(/tmp/multipartBody465535145157276896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897463708,"filename":"image_31102025_18_06_22_3785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002943","file1":"1398002942","file0":"1398002940","file4":"1398002945","file5":"1398002946","file3":"1398002944"},"map_files_photo_id_array":[{"photo_id":"1398002946","filename":"file5"},{"photo_id":"1398002943","filename":"file2"},{"photo_id":"1398002945","filename":"file4"},{"photo_id":"1398002942","filename":"file1"},{"photo_id":"1398002940","filename":"file0"},{"photo_id":"1398002944","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002944":["hashtag1","hashtag2"]},{"1398002946":["hashtag1","hashtag2"]},{"1398002940":["hashtag1","hashtag2"]},{"1398002943":["hashtag1","hashtag2"]},{"1398002942":["hashtag1","hashtag2"]},{"1398002945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002944, 1398002946, 1398002940, 1398002943, 1398002942, 1398002945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72605037689209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:17:22.373792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/01/52/image_05122025_01_52_33_9620.jpg', '/home/pi/Desktop/images/05122025/02/15/image_05122025_02_16_03_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/01/52/image_05122025_01_52_33_9620.jpg
/home/pi/Desktop/images/05122025/02/15/image_05122025_02_16_03_9805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002950","1398002952"],"photo_ids_order":["1398002950","1398002952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/05f70c7eb18e6c5906b2f75c28f04e77.jpg","text":"TemporaryFile(/tmp/multipartBody9086625975393874095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897502922,"filename":"image_05122025_01_52_33_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/5/68d64f0048c7c4f4b5e17c7bb7b34afd.jpg","text":"TemporaryFile(/tmp/multipartBody9078821891405986656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897502922,"filename":"image_05122025_02_16_03_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398002952","file0":"1398002950"},"map_files_photo_id_array":[{"photo_id":"1398002952","filename":"file1"},{"photo_id":"1398002950","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398002950":["hashtag1","hashtag2"]},{"1398002952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398002950, 1398002952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.6904935836792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:17:42.374093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_27_2636.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_31_3689.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_34_2735.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_36_2514.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_40_3700.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_43_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_27_2636.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_31_3689.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_34_2735.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_36_2514.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_40_3700.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_43_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002962","1398002956","1398002959","1398002958","1398002961","1398002960"],"photo_ids_order":["1398002956","1398002958","1398002959","1398002960","1398002961","1398002962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/52cde70b6d31d3fd1491733fd7cb0de6.jpg","text":"TemporaryFile(/tmp/multipartBody5424088214763231104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897523949,"filename":"image_31102025_18_06_43_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/5/7c197d8883989dd23fdc01823ec921a9.jpg","text":"TemporaryFile(/tmp/multipartBody4205948269169287317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897523949,"filename":"image_31102025_18_06_27_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/5/b1dbaf3a1272250bc5588049d5ddf82a.jpg","text":"TemporaryFile(/tmp/multipartBody1647917459277301156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897523949,"filename":"image_31102025_18_06_34_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/5/f650b830b714ff35d168b114d6e48983.jpg","text":"TemporaryFile(/tmp/multipartBody6902646479655618429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897523949,"filename":"image_31102025_18_06_31_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/5/5789efb9a184217c47900a9c42d79d88.jpg","text":"TemporaryFile(/tmp/multipartBody7455083472850857600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897523949,"filename":"image_31102025_18_06_40_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/5/6a67b7c0fac55e959bbda1c6ffbbcf4f.jpg","text":"TemporaryFile(/tmp/multipartBody7285235439569235943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897523949,"filename":"image_31102025_18_06_36_2514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002959","file1":"1398002958","file0":"1398002956","file4":"1398002961","file5":"1398002962","file3":"1398002960"},"map_files_photo_id_array":[{"photo_id":"1398002962","filename":"file5"},{"photo_id":"1398002959","filename":"file2"},{"photo_id":"1398002961","filename":"file4"},{"photo_id":"1398002958","filename":"file1"},{"photo_id":"1398002956","filename":"file0"},{"photo_id":"1398002960","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002962":["hashtag1","hashtag2"]},{"1398002956":["hashtag1","hashtag2"]},{"1398002959":["hashtag1","hashtag2"]},{"1398002958":["hashtag1","hashtag2"]},{"1398002961":["hashtag1","hashtag2"]},{"1398002960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002962, 1398002956, 1398002959, 1398002958, 1398002961, 1398002960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.721657037734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:18:22.527263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/16/image_05122025_02_16_33_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/16/image_05122025_02_16_33_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002966"],"photo_id":"1398002966","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c3df785b113fdb89d73a94012fceef5.jpg","text":"TemporaryFile(/tmp/multipartBody4230164347748209342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897563022,"filename":"image_05122025_02_16_33_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398002966"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398002966"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.74711561203003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:18:42.509814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_45_2559.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_49_3632.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_52_2596.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_54_2703.jpg', '/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_58_3574.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_01_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_45_2559.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_49_3632.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_52_2596.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_54_2703.jpg
/home/pi/Desktop/images/31102025/18/06/image_31102025_18_06_58_3574.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_01_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398002977","1398002976","1398002973","1398002975","1398002978","1398002971"],"photo_ids_order":["1398002971","1398002973","1398002975","1398002976","1398002977","1398002978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2205e6f5a797d63167a8435fa2ac60f7.jpg","text":"TemporaryFile(/tmp/multipartBody4012448857504308853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897584117,"filename":"image_31102025_18_06_58_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/5/3efbcccb872acae23cddbcbe6fb571a7.jpg","text":"TemporaryFile(/tmp/multipartBody2936570816116359300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897584117,"filename":"image_31102025_18_06_54_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/5/c850a189584eda9e951ceb49cd1eab11.jpg","text":"TemporaryFile(/tmp/multipartBody8271507565366462062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897584117,"filename":"image_31102025_18_06_49_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff8ef3023d73a49b26e13a48f9df55ac.jpg","text":"TemporaryFile(/tmp/multipartBody2127891463561330796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897584117,"filename":"image_31102025_18_06_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/5/733e75fed2950c8db89de2235e353236.jpg","text":"TemporaryFile(/tmp/multipartBody4216519796550966386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897584117,"filename":"image_31102025_18_07_01_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/38e73824c282c6964869fd2cd60593f7.jpg","text":"TemporaryFile(/tmp/multipartBody5410192211673987237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897584117,"filename":"image_31102025_18_06_45_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398002975","file1":"1398002973","file0":"1398002971","file4":"1398002977","file5":"1398002978","file3":"1398002976"},"map_files_photo_id_array":[{"photo_id":"1398002978","filename":"file5"},{"photo_id":"1398002975","filename":"file2"},{"photo_id":"1398002977","filename":"file4"},{"photo_id":"1398002973","filename":"file1"},{"photo_id":"1398002971","filename":"file0"},{"photo_id":"1398002976","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398002977":["hashtag1","hashtag2"]},{"1398002976":["hashtag1","hashtag2"]},{"1398002973":["hashtag1","hashtag2"]},{"1398002975":["hashtag1","hashtag2"]},{"1398002978":["hashtag1","hashtag2"]},{"1398002971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398002977, 1398002976, 1398002973, 1398002975, 1398002978, 1398002971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.764182806015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:19:22.645490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_04_3521.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_07_2580.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_09_2642.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_13_3545.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_15_2675.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_19_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_04_3521.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_07_2580.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_09_2642.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_13_3545.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_15_2675.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_19_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":["1398003208","1398003168","1398003126","1398003287","1398003074","1398003250"],"photo_ids_order":["1398003074","1398003126","1398003168","1398003208","1398003250","1398003287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f242bb2a46b321ee00e963ed621db97f.jpg","text":"TemporaryFile(/tmp/multipartBody9105554896320498847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897624262,"filename":"image_31102025_18_07_13_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/5/b0d08d28529fd8db4b4a804fe60f1e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5455422645848559178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897624262,"filename":"image_31102025_18_07_09_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/5/2ed4a818057619ef1fc3c13e69a3680c.jpg","text":"TemporaryFile(/tmp/multipartBody3255205173813720904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897624262,"filename":"image_31102025_18_07_07_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/5/e91bdd078710597df974c8027c2a579b.jpg","text":"TemporaryFile(/tmp/multipartBody3672232940659638538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897624262,"filename":"image_31102025_18_07_19_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/5/7ba7e6bbdf3f8e2947815c5487bec36b.jpg","text":"TemporaryFile(/tmp/multipartBody1932674259895447218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897624262,"filename":"image_31102025_18_07_04_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/5/4f79b9f6f67d9caa107cfbfac0ec0cf7.jpg","text":"TemporaryFile(/tmp/multipartBody1946344712745048274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897624262,"filename":"image_31102025_18_07_15_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398003168","file1":"1398003126","file0":"1398003074","file4":"1398003250","file5":"1398003287","file3":"1398003208"},"map_files_photo_id_array":[{"photo_id":"1398003287","filename":"file5"},{"photo_id":"1398003168","filename":"file2"},{"photo_id":"1398003250","filename":"file4"},{"photo_id":"1398003126","filename":"file1"},{"photo_id":"1398003074","filename":"file0"},{"photo_id":"1398003208","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398003208":["hashtag1","hashtag2"]},{"1398003168":["hashtag1","hashtag2"]},{"1398003126":["hashtag1","hashtag2"]},{"1398003287":["hashtag1","hashtag2"]},{"1398003074":["hashtag1","hashtag2"]},{"1398003250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398003208, 1398003168, 1398003126, 1398003287, 1398003074, 1398003250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40297174453735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:20:11.842722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_10_9745.jpg', '/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_20_9698.jpg', '/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_31_10708.jpg', '/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_40_9734.jpg', '/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_50_9697.jpg', '/home/pi/Desktop/images/02122025/12/05/image_02122025_12_06_00_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_10_9745.jpg
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_20_9698.jpg
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_31_10708.jpg
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_40_9734.jpg
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_50_9697.jpg
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_06_00_9858.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.975043535232544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:20:21.845219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_22_2682.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_25_2669.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_27_2829.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_31_3587.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_33_2494.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_36_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_22_2682.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_25_2669.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_27_2829.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_31_3587.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_33_2494.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_36_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398003570","1398003744","1398003702","1398003779","1398003652","1398003610"],"photo_ids_order":["1398003570","1398003610","1398003652","1398003702","1398003744","1398003779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/12c726c778125c3712d608fe5cd6f31a.jpg","text":"TemporaryFile(/tmp/multipartBody8707323938350121543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897683465,"filename":"image_31102025_18_07_22_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/5/7ef5324d0d4ab056c22db11d10606c06.jpg","text":"TemporaryFile(/tmp/multipartBody5543142851079641798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897683465,"filename":"image_31102025_18_07_33_2494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bac6f587b77f6c81f68cd216785dfd25.jpg","text":"TemporaryFile(/tmp/multipartBody6425010003903641018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897683465,"filename":"image_31102025_18_07_31_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/5/6f80924783913a6c8d57641dc34a951d.jpg","text":"TemporaryFile(/tmp/multipartBody2447543054721192252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897683465,"filename":"image_31102025_18_07_36_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c3e349df1c6e79b75931e3b9b5bfa4bb.jpg","text":"TemporaryFile(/tmp/multipartBody1769670830714737600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897683465,"filename":"image_31102025_18_07_27_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/5/b206b0b4afd9cd41242499ecbee17a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3149212636308608811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897683465,"filename":"image_31102025_18_07_25_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398003652","file1":"1398003610","file0":"1398003570","file4":"1398003744","file5":"1398003779","file3":"1398003702"},"map_files_photo_id_array":[{"photo_id":"1398003779","filename":"file5"},{"photo_id":"1398003652","filename":"file2"},{"photo_id":"1398003744","filename":"file4"},{"photo_id":"1398003610","filename":"file1"},{"photo_id":"1398003570","filename":"file0"},{"photo_id":"1398003702","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398003570":["hashtag1","hashtag2"]},{"1398003744":["hashtag1","hashtag2"]},{"1398003702":["hashtag1","hashtag2"]},{"1398003779":["hashtag1","hashtag2"]},{"1398003652":["hashtag1","hashtag2"]},{"1398003610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398003570, 1398003744, 1398003702, 1398003779, 1398003652, 1398003610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.596235036849976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:21:02.736335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_10_9745.jpg', '/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_20_9698.jpg', '/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_31_10708.jpg', '/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_40_9734.jpg', '/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_50_9697.jpg', '/home/pi/Desktop/images/02122025/12/05/image_02122025_12_06_00_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_10_9745.jpg
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_20_9698.jpg
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_31_10708.jpg
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_40_9734.jpg
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_05_50_9697.jpg
/home/pi/Desktop/images/02122025/12/05/image_02122025_12_06_00_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":["1398003852","1398003855","1398003851","1398003848","1398003853","1398003850"],"photo_ids_order":["1398003848","1398003850","1398003851","1398003852","1398003853","1398003855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f75f78ffdf8fbf11565c70157c3e54f.jpg","text":"TemporaryFile(/tmp/multipartBody3279200208203857100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897724350,"filename":"image_02122025_12_05_40_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/5/13b19c76ea89f7b9d266121b8ab16f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5193578302933531001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897724350,"filename":"image_02122025_12_06_00_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/5/c9fd8932714546dd486dfc4a8181e5cb.jpg","text":"TemporaryFile(/tmp/multipartBody7599186671902142646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897724350,"filename":"image_02122025_12_05_31_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/5/a5a9bee8dfc26c9acbb6d60b073f7029.jpg","text":"TemporaryFile(/tmp/multipartBody5515328814585827572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897724350,"filename":"image_02122025_12_05_10_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/5/c88257f4802adde15532c479ec17a084.jpg","text":"TemporaryFile(/tmp/multipartBody2522651068124860274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897724350,"filename":"image_02122025_12_05_50_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/5/5a87c5ab89bb7f6f231e5f88b539765c.jpg","text":"TemporaryFile(/tmp/multipartBody9061030021747875315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897724350,"filename":"image_02122025_12_05_20_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398003851","file1":"1398003850","file0":"1398003848","file4":"1398003853","file5":"1398003855","file3":"1398003852"},"map_files_photo_id_array":[{"photo_id":"1398003855","filename":"file5"},{"photo_id":"1398003851","filename":"file2"},{"photo_id":"1398003853","filename":"file4"},{"photo_id":"1398003850","filename":"file1"},{"photo_id":"1398003848","filename":"file0"},{"photo_id":"1398003852","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398003852":["hashtag1","hashtag2"]},{"1398003855":["hashtag1","hashtag2"]},{"1398003851":["hashtag1","hashtag2"]},{"1398003848":["hashtag1","hashtag2"]},{"1398003853":["hashtag1","hashtag2"]},{"1398003850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398003852, 1398003855, 1398003851, 1398003848, 1398003853, 1398003850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50800132751465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:21:42.178595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_40_3547.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_42_2659.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_46_3634.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_49_2620.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_51_2673.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_55_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_40_3547.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_42_2659.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_46_3634.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_49_2620.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_51_2673.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_55_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398003864","1398003860","1398003863","1398003866","1398003865","1398003862"],"photo_ids_order":["1398003860","1398003862","1398003863","1398003864","1398003865","1398003866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99388241ecbaee71f6900ec54308461b.jpg","text":"TemporaryFile(/tmp/multipartBody3728019530344471087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897763810,"filename":"image_31102025_18_07_49_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/5/be983cd97e5794b63a8796fa0f21c793.jpg","text":"TemporaryFile(/tmp/multipartBody4055051283426603918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897763810,"filename":"image_31102025_18_07_40_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e487e79164e63bb8f6b35ada484a8f77.jpg","text":"TemporaryFile(/tmp/multipartBody4835619493855246303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897763810,"filename":"image_31102025_18_07_46_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/5/177faaa6911d3d296b7403e3f0dbb280.jpg","text":"TemporaryFile(/tmp/multipartBody288441466695844200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897763810,"filename":"image_31102025_18_07_55_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7777ec0d369629262993dbf904141b69.jpg","text":"TemporaryFile(/tmp/multipartBody2493577584198657641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897763810,"filename":"image_31102025_18_07_51_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/5/9638a79b459dfceabd6e501236b798a7.jpg","text":"TemporaryFile(/tmp/multipartBody730933977650410510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897763810,"filename":"image_31102025_18_07_42_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398003863","file1":"1398003862","file0":"1398003860","file4":"1398003865","file5":"1398003866","file3":"1398003864"},"map_files_photo_id_array":[{"photo_id":"1398003866","filename":"file5"},{"photo_id":"1398003863","filename":"file2"},{"photo_id":"1398003865","filename":"file4"},{"photo_id":"1398003862","filename":"file1"},{"photo_id":"1398003860","filename":"file0"},{"photo_id":"1398003864","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398003864":["hashtag1","hashtag2"]},{"1398003860":["hashtag1","hashtag2"]},{"1398003863":["hashtag1","hashtag2"]},{"1398003866":["hashtag1","hashtag2"]},{"1398003865":["hashtag1","hashtag2"]},{"1398003862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398003864, 1398003860, 1398003863, 1398003866, 1398003865, 1398003862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6321222782135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:22:22.342299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_58_2570.jpg', '/home/pi/Desktop/images/31102025/18/07/image_31102025_18_08_00_2808.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_04_3660.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_07_2769.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_10_2812.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_12_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_07_58_2570.jpg
/home/pi/Desktop/images/31102025/18/07/image_31102025_18_08_00_2808.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_04_3660.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_07_2769.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_10_2812.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_12_2792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398003960","1398004314","1398004241","1398004016","1398004171","1398004092"],"photo_ids_order":["1398003960","1398004016","1398004092","1398004171","1398004241","1398004314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a6128fe1f0e63e731b491a0e2e80d55e.jpg","text":"TemporaryFile(/tmp/multipartBody6018936306281277137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897804014,"filename":"image_31102025_18_07_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/5/2f12a6444e972d196150574f2278a6f2.jpg","text":"TemporaryFile(/tmp/multipartBody6992298433491467078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897804014,"filename":"image_31102025_18_08_12_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/5/45db1d3c755eb1c05565a8a6a8ec5d0a.jpg","text":"TemporaryFile(/tmp/multipartBody144783386261972731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897804014,"filename":"image_31102025_18_08_10_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/5/63c4c22aaae99686eeb0f2421b73b2e6.jpg","text":"TemporaryFile(/tmp/multipartBody6522791448015401038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897804014,"filename":"image_31102025_18_08_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/5/c50d310545850c0215ff575dd25fd786.jpg","text":"TemporaryFile(/tmp/multipartBody5376564956309376549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897804014,"filename":"image_31102025_18_08_07_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/5/14ecada9956517744997307ba3c69a28.jpg","text":"TemporaryFile(/tmp/multipartBody7654978593504743357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897804014,"filename":"image_31102025_18_08_04_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398004092","file1":"1398004016","file0":"1398003960","file4":"1398004241","file5":"1398004314","file3":"1398004171"},"map_files_photo_id_array":[{"photo_id":"1398004314","filename":"file5"},{"photo_id":"1398004092","filename":"file2"},{"photo_id":"1398004241","filename":"file4"},{"photo_id":"1398004016","filename":"file1"},{"photo_id":"1398003960","filename":"file0"},{"photo_id":"1398004171","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398003960":["hashtag1","hashtag2"]},{"1398004314":["hashtag1","hashtag2"]},{"1398004241":["hashtag1","hashtag2"]},{"1398004016":["hashtag1","hashtag2"]},{"1398004171":["hashtag1","hashtag2"]},{"1398004092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398003960, 1398004314, 1398004241, 1398004016, 1398004171, 1398004092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.142049074172974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:23:03.266396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/06/image_02122025_12_06_10_10624.jpg', '/home/pi/Desktop/images/02122025/12/06/image_02122025_12_06_20_9743.jpg', '/home/pi/Desktop/images/02122025/12/06/image_02122025_12_06_30_9632.jpg', '/home/pi/Desktop/images/02122025/12/06/image_02122025_12_06_41_10761.jpg', '/home/pi/Desktop/images/02122025/12/06/image_02122025_12_06_50_9823.jpg', '/home/pi/Desktop/images/02122025/12/07/image_02122025_12_07_10_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/06/image_02122025_12_06_10_10624.jpg
/home/pi/Desktop/images/02122025/12/06/image_02122025_12_06_20_9743.jpg
/home/pi/Desktop/images/02122025/12/06/image_02122025_12_06_30_9632.jpg
/home/pi/Desktop/images/02122025/12/06/image_02122025_12_06_41_10761.jpg
/home/pi/Desktop/images/02122025/12/06/image_02122025_12_06_50_9823.jpg
/home/pi/Desktop/images/02122025/12/07/image_02122025_12_07_10_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":["1398004785","1398004548","1398004749","1398004583","1398004692","1398004624"],"photo_ids_order":["1398004548","1398004583","1398004624","1398004692","1398004749","1398004785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f0791d8da227aae0cad0b02a77db780.jpg","text":"TemporaryFile(/tmp/multipartBody3950770664109300729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897845023,"filename":"image_02122025_12_07_10_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/5/afdb7d5a18800ed526ffbc08ee838d0a.jpg","text":"TemporaryFile(/tmp/multipartBody9154612031765593671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897845023,"filename":"image_02122025_12_06_10_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/5/92a20dda3fbb737a120e2f1300e554e0.jpg","text":"TemporaryFile(/tmp/multipartBody4812977824363956559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897845023,"filename":"image_02122025_12_06_50_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/5/2d15c566a9bf028ddc32b0f15f7cc4bb.jpg","text":"TemporaryFile(/tmp/multipartBody139447146150621720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897845023,"filename":"image_02122025_12_06_20_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/5/fb4f9bde252e2cff1e6aeacd9f9e631d.jpg","text":"TemporaryFile(/tmp/multipartBody7843830700002006872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897845023,"filename":"image_02122025_12_06_41_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/5/210d791d92f7cc986bebcbdc19319b04.jpg","text":"TemporaryFile(/tmp/multipartBody8658465451336620535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897845023,"filename":"image_02122025_12_06_30_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398004624","file1":"1398004583","file0":"1398004548","file4":"1398004749","file5":"1398004785","file3":"1398004692"},"map_files_photo_id_array":[{"photo_id":"1398004785","filename":"file5"},{"photo_id":"1398004624","filename":"file2"},{"photo_id":"1398004749","filename":"file4"},{"photo_id":"1398004583","filename":"file1"},{"photo_id":"1398004548","filename":"file0"},{"photo_id":"1398004692","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398004785":["hashtag1","hashtag2"]},{"1398004548":["hashtag1","hashtag2"]},{"1398004749":["hashtag1","hashtag2"]},{"1398004583":["hashtag1","hashtag2"]},{"1398004692":["hashtag1","hashtag2"]},{"1398004624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398004785, 1398004548, 1398004749, 1398004583, 1398004692, 1398004624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.965625524520874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:23:42.662503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_15_2898.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_19_3745.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_22_2656.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_25_2854.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_27_2543.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_31_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_15_2898.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_19_3745.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_22_2656.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_25_2854.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_27_2543.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_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":["1398004959","1398005063","1398005135","1398005173","1398005098","1398005011"],"photo_ids_order":["1398004959","1398005011","1398005063","1398005098","1398005135","1398005173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e243b58e3337046175ec20109a376731.jpg","text":"TemporaryFile(/tmp/multipartBody8271462680408063002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897884243,"filename":"image_31102025_18_08_15_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c3acec6ec015fe0616699328db52df2.jpg","text":"TemporaryFile(/tmp/multipartBody8526214732196493180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897884243,"filename":"image_31102025_18_08_22_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0abce8db742893946e30dcbc8d8561e3.jpg","text":"TemporaryFile(/tmp/multipartBody3249426926043486061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897884243,"filename":"image_31102025_18_08_27_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/5/eed63728fa7e9e0dd1f4eddb334188eb.jpg","text":"TemporaryFile(/tmp/multipartBody3403556072387603478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897884243,"filename":"image_31102025_18_08_31_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/5/3637159711a55a5e466861fb796690f8.jpg","text":"TemporaryFile(/tmp/multipartBody5796941608377602745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897884243,"filename":"image_31102025_18_08_25_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/5/0d9a2d4094608bef024026cd9990754b.jpg","text":"TemporaryFile(/tmp/multipartBody4065542400491766812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897884243,"filename":"image_31102025_18_08_19_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005063","file1":"1398005011","file0":"1398004959","file4":"1398005135","file5":"1398005173","file3":"1398005098"},"map_files_photo_id_array":[{"photo_id":"1398005173","filename":"file5"},{"photo_id":"1398005063","filename":"file2"},{"photo_id":"1398005135","filename":"file4"},{"photo_id":"1398005011","filename":"file1"},{"photo_id":"1398004959","filename":"file0"},{"photo_id":"1398005098","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398004959":["hashtag1","hashtag2"]},{"1398005063":["hashtag1","hashtag2"]},{"1398005135":["hashtag1","hashtag2"]},{"1398005173":["hashtag1","hashtag2"]},{"1398005098":["hashtag1","hashtag2"]},{"1398005011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398004959, 1398005063, 1398005135, 1398005173, 1398005098, 1398005011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03829026222229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:24:21.834275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/18/image_05122025_02_18_34_9748.jpg', '/home/pi/Desktop/images/05122025/02/23/image_05122025_02_23_34_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/18/image_05122025_02_18_34_9748.jpg
/home/pi/Desktop/images/05122025/02/23/image_05122025_02_23_34_10633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005293","1398005331"],"photo_ids_order":["1398005293","1398005331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8169f630f3e8d3aea617da92d1ae9ea9.jpg","text":"TemporaryFile(/tmp/multipartBody2139705911384975706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897922373,"filename":"image_05122025_02_18_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/5/58dcbbc86d6af5b1c458ea4a63f24b46.jpg","text":"TemporaryFile(/tmp/multipartBody2861528826189971070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897922373,"filename":"image_05122025_02_23_34_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398005331","file0":"1398005293"},"map_files_photo_id_array":[{"photo_id":"1398005331","filename":"file1"},{"photo_id":"1398005293","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398005293":["hashtag1","hashtag2"]},{"1398005331":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398005293, 1398005331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.897965908050537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:24:41.924964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_33_2573.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_36_2750.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_40_3866.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_43_2682.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_45_2590.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_48_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_33_2573.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_36_2750.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_40_3866.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_43_2682.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_45_2590.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_48_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":["1398005345","1398005350","1398005347","1398005343","1398005346","1398005349"],"photo_ids_order":["1398005343","1398005345","1398005346","1398005347","1398005349","1398005350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf8dcc52867d0db676fa01e3cc01f781.jpg","text":"TemporaryFile(/tmp/multipartBody1110618097483874578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897943551,"filename":"image_31102025_18_08_36_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/5/86020c0276f184af79093f59d9af6a13.jpg","text":"TemporaryFile(/tmp/multipartBody8122716183555681102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897943551,"filename":"image_31102025_18_08_48_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/5/8b4a4ee3540f9075ee9af088672f8a61.jpg","text":"TemporaryFile(/tmp/multipartBody7839226340919146576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897943551,"filename":"image_31102025_18_08_43_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/5/3ba84f3d9b7ad3b75575942e69b6e2db.jpg","text":"TemporaryFile(/tmp/multipartBody2352275839439454423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897943551,"filename":"image_31102025_18_08_33_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/5/74fabbe4b96d5ae56db228754e5eeacd.jpg","text":"TemporaryFile(/tmp/multipartBody5844462944426876821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897943551,"filename":"image_31102025_18_08_40_3866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2230138601b074fc7f65c755c59b43ac.jpg","text":"TemporaryFile(/tmp/multipartBody3698880604785814077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897943551,"filename":"image_31102025_18_08_45_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005346","file1":"1398005345","file0":"1398005343","file4":"1398005349","file5":"1398005350","file3":"1398005347"},"map_files_photo_id_array":[{"photo_id":"1398005350","filename":"file5"},{"photo_id":"1398005346","filename":"file2"},{"photo_id":"1398005349","filename":"file4"},{"photo_id":"1398005345","filename":"file1"},{"photo_id":"1398005343","filename":"file0"},{"photo_id":"1398005347","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398005345":["hashtag1","hashtag2"]},{"1398005350":["hashtag1","hashtag2"]},{"1398005347":["hashtag1","hashtag2"]},{"1398005343":["hashtag1","hashtag2"]},{"1398005346":["hashtag1","hashtag2"]},{"1398005349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398005345, 1398005350, 1398005347, 1398005343, 1398005346, 1398005349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06877613067627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:25:22.085697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/23/image_05122025_02_24_04_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/23/image_05122025_02_24_04_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005427"],"photo_id":"1398005427","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/63271e65beed26a5e59b522c598acfa4.jpg","text":"TemporaryFile(/tmp/multipartBody3532808331960427325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764897982579,"filename":"image_05122025_02_24_04_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398005427"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398005427"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.530737400054932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:25:42.169502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_52_3809.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_54_2567.jpg', '/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_58_3557.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_01_2589.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_03_2720.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_06_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_52_3809.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_54_2567.jpg
/home/pi/Desktop/images/31102025/18/08/image_31102025_18_08_58_3557.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_01_2589.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_03_2720.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_06_2880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005613","1398005579","1398005576","1398005578","1398005574","1398005577"],"photo_ids_order":["1398005574","1398005576","1398005577","1398005578","1398005579","1398005613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3fb8b7e874441333d078fd04a2445b05.jpg","text":"TemporaryFile(/tmp/multipartBody6159502691748055279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898003775,"filename":"image_31102025_18_09_06_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/991b7bb3d23dc7efad6955e06c61c844.jpg","text":"TemporaryFile(/tmp/multipartBody5279292169426056116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898003775,"filename":"image_31102025_18_09_03_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/5/9504c24aec8801683b5fca72502fcd38.jpg","text":"TemporaryFile(/tmp/multipartBody517845767394538567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898003775,"filename":"image_31102025_18_08_54_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/5/ded7f62f1b8367bdeb0996f9043a5475.jpg","text":"TemporaryFile(/tmp/multipartBody8057526676705900015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898003775,"filename":"image_31102025_18_09_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/5/0587121fbf76934f8f10ebd2865b5c88.jpg","text":"TemporaryFile(/tmp/multipartBody729790967107139043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898003775,"filename":"image_31102025_18_08_52_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49597921edf0a35c13afb9c499ec9f91.jpg","text":"TemporaryFile(/tmp/multipartBody6699560700363237677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898003775,"filename":"image_31102025_18_08_58_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005577","file1":"1398005576","file0":"1398005574","file4":"1398005579","file5":"1398005613","file3":"1398005578"},"map_files_photo_id_array":[{"photo_id":"1398005613","filename":"file5"},{"photo_id":"1398005577","filename":"file2"},{"photo_id":"1398005579","filename":"file4"},{"photo_id":"1398005576","filename":"file1"},{"photo_id":"1398005574","filename":"file0"},{"photo_id":"1398005578","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398005613":["hashtag1","hashtag2"]},{"1398005579":["hashtag1","hashtag2"]},{"1398005576":["hashtag1","hashtag2"]},{"1398005578":["hashtag1","hashtag2"]},{"1398005574":["hashtag1","hashtag2"]},{"1398005577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398005613, 1398005579, 1398005576, 1398005578, 1398005574, 1398005577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09072732925415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:26:22.321330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/25/image_05122025_02_25_54_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/25/image_05122025_02_25_54_9590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005677"],"photo_id":"1398005677","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6ef3266cec3d2a33fb9d127ec01a2ec0.jpg","text":"TemporaryFile(/tmp/multipartBody5281594511273992019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898042818,"filename":"image_05122025_02_25_54_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398005677"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398005677"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.106551885604858 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:26:42.376779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_10_3610.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_12_2587.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_15_2613.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_19_3664.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_21_2663.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_25_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_10_3610.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_12_2587.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_15_2613.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_19_3664.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_21_2663.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_25_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":["1398005783","1398005777","1398005782","1398005764","1398005784","1398005781"],"photo_ids_order":["1398005764","1398005777","1398005781","1398005782","1398005783","1398005784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f7b94927e8fdfe693bee5299e2689c4d.jpg","text":"TemporaryFile(/tmp/multipartBody1499205294071383014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898063986,"filename":"image_31102025_18_09_21_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/5/04eec105d79e69e9b601c027c7c0f338.jpg","text":"TemporaryFile(/tmp/multipartBody4649856303370342048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898063986,"filename":"image_31102025_18_09_12_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a27d41394f11d273bc631d44302ed7b7.jpg","text":"TemporaryFile(/tmp/multipartBody7642103982902446955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898063986,"filename":"image_31102025_18_09_19_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/5/f1b1a964c4141a0ae15f743c65d62bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3797929856713264458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898063986,"filename":"image_31102025_18_09_10_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/5/fc7e95a1b07d24a33959dc898fbafc81.jpg","text":"TemporaryFile(/tmp/multipartBody3825183537098162780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898063986,"filename":"image_31102025_18_09_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/5/78eee3e0dcf9278bc08e9673a79a1bc4.jpg","text":"TemporaryFile(/tmp/multipartBody5877217442737553904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898063986,"filename":"image_31102025_18_09_15_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005781","file1":"1398005777","file0":"1398005764","file4":"1398005783","file5":"1398005784","file3":"1398005782"},"map_files_photo_id_array":[{"photo_id":"1398005784","filename":"file5"},{"photo_id":"1398005781","filename":"file2"},{"photo_id":"1398005783","filename":"file4"},{"photo_id":"1398005777","filename":"file1"},{"photo_id":"1398005764","filename":"file0"},{"photo_id":"1398005782","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398005783":["hashtag1","hashtag2"]},{"1398005777":["hashtag1","hashtag2"]},{"1398005782":["hashtag1","hashtag2"]},{"1398005764":["hashtag1","hashtag2"]},{"1398005784":["hashtag1","hashtag2"]},{"1398005781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398005783, 1398005777, 1398005782, 1398005764, 1398005784, 1398005781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18840050697327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:27:22.610471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/26/image_05122025_02_26_13_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/26/image_05122025_02_26_13_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005791"],"photo_id":"1398005791","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6fac3872cce538685f1dd6430671cdd6.jpg","text":"TemporaryFile(/tmp/multipartBody959307780106357754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898103110,"filename":"image_05122025_02_26_13_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398005791"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398005791"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.721327543258667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:27:42.576878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_28_2685.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_30_2591.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_34_3634.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_37_2582.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_39_2667.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_43_3743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_28_2685.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_30_2591.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_34_3634.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_37_2582.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_39_2667.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_43_3743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005798","1398005801","1398005796","1398005800","1398005799","1398005802"],"photo_ids_order":["1398005796","1398005798","1398005799","1398005800","1398005801","1398005802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91e144d1cae17d9065baa24e8959f4c0.jpg","text":"TemporaryFile(/tmp/multipartBody2004297343771198657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898124216,"filename":"image_31102025_18_09_30_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/5/b190ae9c12be8b6f7619d861357a1eb7.jpg","text":"TemporaryFile(/tmp/multipartBody4822806883594486701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898124216,"filename":"image_31102025_18_09_39_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c96ebc4ab22f12d9cebe3d86ab38a11.jpg","text":"TemporaryFile(/tmp/multipartBody4620687393677669758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898124216,"filename":"image_31102025_18_09_28_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/5/92644fb9a84406989529be8534209036.jpg","text":"TemporaryFile(/tmp/multipartBody6487957499206797938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898124216,"filename":"image_31102025_18_09_37_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2e180529c0f7686798124564cf30ecd.jpg","text":"TemporaryFile(/tmp/multipartBody7716362807629355692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898124216,"filename":"image_31102025_18_09_34_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/5/75018063937013c628a8dc754f9a30fe.jpg","text":"TemporaryFile(/tmp/multipartBody4036894714040084892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898124216,"filename":"image_31102025_18_09_43_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005799","file1":"1398005798","file0":"1398005796","file4":"1398005801","file5":"1398005802","file3":"1398005800"},"map_files_photo_id_array":[{"photo_id":"1398005802","filename":"file5"},{"photo_id":"1398005799","filename":"file2"},{"photo_id":"1398005801","filename":"file4"},{"photo_id":"1398005798","filename":"file1"},{"photo_id":"1398005796","filename":"file0"},{"photo_id":"1398005800","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398005798":["hashtag1","hashtag2"]},{"1398005801":["hashtag1","hashtag2"]},{"1398005796":["hashtag1","hashtag2"]},{"1398005800":["hashtag1","hashtag2"]},{"1398005799":["hashtag1","hashtag2"]},{"1398005802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398005798, 1398005801, 1398005796, 1398005800, 1398005799, 1398005802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.854252099990845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:28:22.738220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/26/image_05122025_02_27_04_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/26/image_05122025_02_27_04_9664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005807"],"photo_id":"1398005807","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/084bb1b11664ea06e4b7acdee00e906c.jpg","text":"TemporaryFile(/tmp/multipartBody2756355298094323029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898163236,"filename":"image_05122025_02_27_04_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398005807"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398005807"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.08753514289856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:28:42.759602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_46_2621.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_48_2586.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_52_3750.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_54_2584.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_57_2674.jpg', '/home/pi/Desktop/images/31102025/18/09/image_31102025_18_10_01_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_46_2621.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_48_2586.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_52_3750.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_54_2584.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_09_57_2674.jpg
/home/pi/Desktop/images/31102025/18/09/image_31102025_18_10_01_3656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005826","1398005831","1398005828","1398005814","1398005823","1398005817"],"photo_ids_order":["1398005814","1398005817","1398005823","1398005826","1398005828","1398005831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b00b2c9510268ba3c781255ad153425c.jpg","text":"TemporaryFile(/tmp/multipartBody4525246379537782429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898184361,"filename":"image_31102025_18_09_54_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/5/f1f5446ea250eaa1dc8ae2328dc9ed57.jpg","text":"TemporaryFile(/tmp/multipartBody8370794665170299028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898184361,"filename":"image_31102025_18_10_01_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/5/1ce77fd90f5dcbedb599a0c99f365126.jpg","text":"TemporaryFile(/tmp/multipartBody9100942051618840035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898184361,"filename":"image_31102025_18_09_57_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/5/a01a185e6a0e014e385e85832e58d87c.jpg","text":"TemporaryFile(/tmp/multipartBody5732887637451474805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898184361,"filename":"image_31102025_18_09_46_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/5/c7136da8188090976e6bbf30a56c275c.jpg","text":"TemporaryFile(/tmp/multipartBody1847727034438898586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898184361,"filename":"image_31102025_18_09_52_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/5/f0e6db78189af23c8884b07b15d0b7ad.jpg","text":"TemporaryFile(/tmp/multipartBody7238143240378903028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898184361,"filename":"image_31102025_18_09_48_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005823","file1":"1398005817","file0":"1398005814","file4":"1398005828","file5":"1398005831","file3":"1398005826"},"map_files_photo_id_array":[{"photo_id":"1398005831","filename":"file5"},{"photo_id":"1398005823","filename":"file2"},{"photo_id":"1398005828","filename":"file4"},{"photo_id":"1398005817","filename":"file1"},{"photo_id":"1398005814","filename":"file0"},{"photo_id":"1398005826","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398005826":["hashtag1","hashtag2"]},{"1398005831":["hashtag1","hashtag2"]},{"1398005828":["hashtag1","hashtag2"]},{"1398005814":["hashtag1","hashtag2"]},{"1398005823":["hashtag1","hashtag2"]},{"1398005817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398005826, 1398005831, 1398005828, 1398005814, 1398005823, 1398005817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19693326950073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:29:32.062954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/07/image_02122025_12_07_21_10759.jpg', '/home/pi/Desktop/images/02122025/12/07/image_02122025_12_07_30_9785.jpg', '/home/pi/Desktop/images/02122025/12/07/image_02122025_12_07_40_9725.jpg', '/home/pi/Desktop/images/02122025/12/07/image_02122025_12_07_50_9840.jpg', '/home/pi/Desktop/images/02122025/12/07/image_02122025_12_08_01_10818.jpg', '/home/pi/Desktop/images/02122025/12/08/image_02122025_12_08_10_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/07/image_02122025_12_07_21_10759.jpg
/home/pi/Desktop/images/02122025/12/07/image_02122025_12_07_30_9785.jpg
/home/pi/Desktop/images/02122025/12/07/image_02122025_12_07_40_9725.jpg
/home/pi/Desktop/images/02122025/12/07/image_02122025_12_07_50_9840.jpg
/home/pi/Desktop/images/02122025/12/07/image_02122025_12_08_01_10818.jpg
/home/pi/Desktop/images/02122025/12/08/image_02122025_12_08_10_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":["1398005852","1398005854","1398005842","1398005850","1398005847","1398005844"],"photo_ids_order":["1398005842","1398005844","1398005847","1398005850","1398005852","1398005854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d382250c898952e1b1ca40aacf7ebe9.jpg","text":"TemporaryFile(/tmp/multipartBody3429597217529892812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898234219,"filename":"image_02122025_12_08_01_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/5/3e3dddaf423cca4361c847f1580ffaca.jpg","text":"TemporaryFile(/tmp/multipartBody4015982643600871082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898234219,"filename":"image_02122025_12_08_10_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/5/066cbbe67e1aa162f942f134fbb79046.jpg","text":"TemporaryFile(/tmp/multipartBody5466962685485636600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898234219,"filename":"image_02122025_12_07_21_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/5/da49b11478f732d4891f4ecccf1dc14a.jpg","text":"TemporaryFile(/tmp/multipartBody741328817768988175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898234219,"filename":"image_02122025_12_07_50_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/5/dbeeb780ec15e14bddf311f41360e11b.jpg","text":"TemporaryFile(/tmp/multipartBody1846559828172842950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898234219,"filename":"image_02122025_12_07_40_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/5/9ad285513e858f69625daabf904f0bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5762914288504374102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898234219,"filename":"image_02122025_12_07_30_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005847","file1":"1398005844","file0":"1398005842","file4":"1398005852","file5":"1398005854","file3":"1398005850"},"map_files_photo_id_array":[{"photo_id":"1398005854","filename":"file5"},{"photo_id":"1398005847","filename":"file2"},{"photo_id":"1398005852","filename":"file4"},{"photo_id":"1398005844","filename":"file1"},{"photo_id":"1398005842","filename":"file0"},{"photo_id":"1398005850","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398005852":["hashtag1","hashtag2"]},{"1398005854":["hashtag1","hashtag2"]},{"1398005842":["hashtag1","hashtag2"]},{"1398005850":["hashtag1","hashtag2"]},{"1398005847":["hashtag1","hashtag2"]},{"1398005844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398005852, 1398005854, 1398005842, 1398005850, 1398005847, 1398005844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.979291915893555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:30:12.190395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/08/image_02122025_12_08_30_10135.jpg', '/home/pi/Desktop/images/02122025/12/08/image_02122025_12_08_40_9762.jpg', '/home/pi/Desktop/images/02122025/12/08/image_02122025_12_09_01_9900.jpg', '/home/pi/Desktop/images/02122025/12/09/image_02122025_12_09_10_9602.jpg', '/home/pi/Desktop/images/02122025/12/09/image_02122025_12_09_20_9651.jpg', '/home/pi/Desktop/images/02122025/12/09/image_02122025_12_09_30_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/08/image_02122025_12_08_30_10135.jpg
/home/pi/Desktop/images/02122025/12/08/image_02122025_12_08_40_9762.jpg
/home/pi/Desktop/images/02122025/12/08/image_02122025_12_09_01_9900.jpg
/home/pi/Desktop/images/02122025/12/09/image_02122025_12_09_10_9602.jpg
/home/pi/Desktop/images/02122025/12/09/image_02122025_12_09_20_9651.jpg
/home/pi/Desktop/images/02122025/12/09/image_02122025_12_09_30_10068.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005861","1398005858","1398005866","1398005869","1398005863","1398005856"],"photo_ids_order":["1398005856","1398005858","1398005861","1398005863","1398005866","1398005869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d45226e3ab8947a757b675abe6735aaf.jpg","text":"TemporaryFile(/tmp/multipartBody8677237708199207925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898274201,"filename":"image_02122025_12_09_01_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b200abb148f72717b4f37b2ba2dabdbd.jpg","text":"TemporaryFile(/tmp/multipartBody797026658731917510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898274201,"filename":"image_02122025_12_08_40_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/5/f9187fa569ebf07de63964ce59bce6c7.jpg","text":"TemporaryFile(/tmp/multipartBody785910373084439849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898274201,"filename":"image_02122025_12_09_20_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/5/0a251ae2afcb4e1ed742791c2acc8b97.jpg","text":"TemporaryFile(/tmp/multipartBody8121417348690742877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898274201,"filename":"image_02122025_12_09_30_10068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/44c88dcb07f7cc172e0c4525762e5136.jpg","text":"TemporaryFile(/tmp/multipartBody7993378041918797217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898274201,"filename":"image_02122025_12_09_10_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/5/d166203bdea9b55a1e55ed57f7c00bdf.jpg","text":"TemporaryFile(/tmp/multipartBody3852960964370785489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898274201,"filename":"image_02122025_12_08_30_10135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005861","file1":"1398005858","file0":"1398005856","file4":"1398005866","file5":"1398005869","file3":"1398005863"},"map_files_photo_id_array":[{"photo_id":"1398005869","filename":"file5"},{"photo_id":"1398005861","filename":"file2"},{"photo_id":"1398005866","filename":"file4"},{"photo_id":"1398005858","filename":"file1"},{"photo_id":"1398005856","filename":"file0"},{"photo_id":"1398005863","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398005861":["hashtag1","hashtag2"]},{"1398005858":["hashtag1","hashtag2"]},{"1398005866":["hashtag1","hashtag2"]},{"1398005869":["hashtag1","hashtag2"]},{"1398005863":["hashtag1","hashtag2"]},{"1398005856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398005861, 1398005858, 1398005866, 1398005869, 1398005863, 1398005856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53886675834656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:31:03.096257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/28/image_05122025_02_28_43_9641.jpg', '/home/pi/Desktop/images/05122025/02/29/image_05122025_02_29_13_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/28/image_05122025_02_28_43_9641.jpg
/home/pi/Desktop/images/05122025/02/29/image_05122025_02_29_13_9608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005885","1398005883"],"photo_ids_order":["1398005883","1398005885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc08c0813f9734d52b876bf1a2fdfa75.jpg","text":"TemporaryFile(/tmp/multipartBody5716710976804970064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898323715,"filename":"image_05122025_02_29_13_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/5/5d542b783976b6caba8efc05dd361672.jpg","text":"TemporaryFile(/tmp/multipartBody8562496034477893536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898323715,"filename":"image_05122025_02_28_43_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398005885","file0":"1398005883"},"map_files_photo_id_array":[{"photo_id":"1398005885","filename":"file1"},{"photo_id":"1398005883","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398005885":["hashtag1","hashtag2"]},{"1398005883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398005885, 1398005883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.02209782600403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:31:22.463755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/29/image_05122025_02_29_24_10697.jpg', '/home/pi/Desktop/images/05122025/02/31/image_05122025_02_31_14_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/29/image_05122025_02_29_24_10697.jpg
/home/pi/Desktop/images/05122025/02/31/image_05122025_02_31_14_10707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005892","1398005889"],"photo_ids_order":["1398005889","1398005892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce1e40f6690abbaec0f4f9a2769b947b.jpg","text":"TemporaryFile(/tmp/multipartBody7436961455307801464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898343004,"filename":"image_05122025_02_31_14_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/5/afeb8998d499752888ef98d5e3629d6e.jpg","text":"TemporaryFile(/tmp/multipartBody3744942450327544373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898343004,"filename":"image_05122025_02_29_24_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398005892","file0":"1398005889"},"map_files_photo_id_array":[{"photo_id":"1398005892","filename":"file1"},{"photo_id":"1398005889","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398005892":["hashtag1","hashtag2"]},{"1398005889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398005892, 1398005889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.028552532196045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:31:42.418982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_03_2681.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_06_2601.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_10_3714.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_12_2588.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_15_2663.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_19_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_03_2681.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_06_2601.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_10_3714.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_12_2588.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_15_2663.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_19_3770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005897","1398005900","1398005899","1398005903","1398005902","1398005901"],"photo_ids_order":["1398005897","1398005899","1398005900","1398005901","1398005902","1398005903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d35763f90ac646ceb23144105f306c43.jpg","text":"TemporaryFile(/tmp/multipartBody6317235134443127478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898364082,"filename":"image_31102025_18_10_03_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/5/b7cc2be90cafd372f39ebca2cf528ad9.jpg","text":"TemporaryFile(/tmp/multipartBody1972136307972375727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898364082,"filename":"image_31102025_18_10_10_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/5/3ad6f9f62e5bd08e3ec52df85a33b542.jpg","text":"TemporaryFile(/tmp/multipartBody6047558720669134096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898364082,"filename":"image_31102025_18_10_06_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/5/120dd2239f0a4f79171d92a88ffa3f4a.jpg","text":"TemporaryFile(/tmp/multipartBody6370197414458632933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898364082,"filename":"image_31102025_18_10_19_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/5/eaf5707fa7306c744dea0cf0273a7b68.jpg","text":"TemporaryFile(/tmp/multipartBody8242137239641990738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898364082,"filename":"image_31102025_18_10_15_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/5/8a1e3662874ad33ffa01179ab97795ab.jpg","text":"TemporaryFile(/tmp/multipartBody1690076758102351768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898364082,"filename":"image_31102025_18_10_12_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005900","file1":"1398005899","file0":"1398005897","file4":"1398005902","file5":"1398005903","file3":"1398005901"},"map_files_photo_id_array":[{"photo_id":"1398005903","filename":"file5"},{"photo_id":"1398005900","filename":"file2"},{"photo_id":"1398005902","filename":"file4"},{"photo_id":"1398005899","filename":"file1"},{"photo_id":"1398005897","filename":"file0"},{"photo_id":"1398005901","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398005897":["hashtag1","hashtag2"]},{"1398005900":["hashtag1","hashtag2"]},{"1398005899":["hashtag1","hashtag2"]},{"1398005903":["hashtag1","hashtag2"]},{"1398005902":["hashtag1","hashtag2"]},{"1398005901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398005897, 1398005900, 1398005899, 1398005903, 1398005902, 1398005901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16714859008789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:32:22.577026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_21_2601.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_24_2691.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_27_2807.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_31_3641.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_33_2592.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_37_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_21_2601.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_24_2691.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_27_2807.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_31_3641.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_33_2592.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_37_3588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005910","1398005918","1398005920","1398005908","1398005922","1398005916"],"photo_ids_order":["1398005908","1398005910","1398005916","1398005918","1398005920","1398005922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22b7530ed168d00de2a7e9a31208f8e8.jpg","text":"TemporaryFile(/tmp/multipartBody3790588741539780049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898404450,"filename":"image_31102025_18_10_24_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a6ddb90324035f78f5e53c3fa6e73eb.jpg","text":"TemporaryFile(/tmp/multipartBody3824353676968837990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898404450,"filename":"image_31102025_18_10_31_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/5/112d3e99d570d79c8e308bf5fef95cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1665644884459497129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898404450,"filename":"image_31102025_18_10_33_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/5/510a07e1384c6c1c00b96af8a2ff6cde.jpg","text":"TemporaryFile(/tmp/multipartBody1686538321599785808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898404450,"filename":"image_31102025_18_10_21_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/5/ab0922a2905134ed70e9fe82d0e27666.jpg","text":"TemporaryFile(/tmp/multipartBody7945480071429459800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898404450,"filename":"image_31102025_18_10_37_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/5/2c019be719b4718382b4c5c8a2470994.jpg","text":"TemporaryFile(/tmp/multipartBody5738851271083364884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898404450,"filename":"image_31102025_18_10_27_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005916","file1":"1398005910","file0":"1398005908","file4":"1398005920","file5":"1398005922","file3":"1398005918"},"map_files_photo_id_array":[{"photo_id":"1398005922","filename":"file5"},{"photo_id":"1398005916","filename":"file2"},{"photo_id":"1398005920","filename":"file4"},{"photo_id":"1398005910","filename":"file1"},{"photo_id":"1398005908","filename":"file0"},{"photo_id":"1398005918","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398005910":["hashtag1","hashtag2"]},{"1398005918":["hashtag1","hashtag2"]},{"1398005920":["hashtag1","hashtag2"]},{"1398005908":["hashtag1","hashtag2"]},{"1398005922":["hashtag1","hashtag2"]},{"1398005916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398005910, 1398005918, 1398005920, 1398005908, 1398005922, 1398005916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50967764854431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:33:11.818478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/09/image_02122025_12_09_40_9984.jpg', '/home/pi/Desktop/images/02122025/12/09/image_02122025_12_09_50_10087.jpg', '/home/pi/Desktop/images/02122025/12/09/image_02122025_12_10_01_10743.jpg', '/home/pi/Desktop/images/02122025/12/10/image_02122025_12_10_11_9951.jpg', '/home/pi/Desktop/images/02122025/12/10/image_02122025_12_10_20_9645.jpg', '/home/pi/Desktop/images/02122025/12/10/image_02122025_12_10_30_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/09/image_02122025_12_09_40_9984.jpg
/home/pi/Desktop/images/02122025/12/09/image_02122025_12_09_50_10087.jpg
/home/pi/Desktop/images/02122025/12/09/image_02122025_12_10_01_10743.jpg
/home/pi/Desktop/images/02122025/12/10/image_02122025_12_10_11_9951.jpg
/home/pi/Desktop/images/02122025/12/10/image_02122025_12_10_20_9645.jpg
/home/pi/Desktop/images/02122025/12/10/image_02122025_12_10_30_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":["1398005945","1398005933","1398005941","1398005935","1398005938","1398005943"],"photo_ids_order":["1398005933","1398005935","1398005938","1398005941","1398005943","1398005945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce62982605040679a9745af8f81878b2.jpg","text":"TemporaryFile(/tmp/multipartBody8608800838595286222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898453617,"filename":"image_02122025_12_10_30_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/5/f86b2b4b1419219e9e0e5c4c7f411d84.jpg","text":"TemporaryFile(/tmp/multipartBody5986444609687546541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898453617,"filename":"image_02122025_12_09_40_9984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1851fdf84a6493182562c663023ce7c7.jpg","text":"TemporaryFile(/tmp/multipartBody6931379537135439514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898453617,"filename":"image_02122025_12_10_11_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/5/bf2c5f293024038658f85ce3411f147c.jpg","text":"TemporaryFile(/tmp/multipartBody1826834070211471347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898453617,"filename":"image_02122025_12_09_50_10087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/32908ff24745a3b57a0336b3375a2fe8.jpg","text":"TemporaryFile(/tmp/multipartBody569502203050515140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898453617,"filename":"image_02122025_12_10_01_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/5/6354c89ee8eaa25a17493f7384e2a344.jpg","text":"TemporaryFile(/tmp/multipartBody4061436990729538615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898453617,"filename":"image_02122025_12_10_20_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005938","file1":"1398005935","file0":"1398005933","file4":"1398005943","file5":"1398005945","file3":"1398005941"},"map_files_photo_id_array":[{"photo_id":"1398005945","filename":"file5"},{"photo_id":"1398005938","filename":"file2"},{"photo_id":"1398005943","filename":"file4"},{"photo_id":"1398005935","filename":"file1"},{"photo_id":"1398005933","filename":"file0"},{"photo_id":"1398005941","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398005945":["hashtag1","hashtag2"]},{"1398005933":["hashtag1","hashtag2"]},{"1398005941":["hashtag1","hashtag2"]},{"1398005935":["hashtag1","hashtag2"]},{"1398005938":["hashtag1","hashtag2"]},{"1398005943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398005945, 1398005933, 1398005941, 1398005935, 1398005938, 1398005943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75616526603699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:34:02.857757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/10/image_02122025_12_10_41_10773.jpg', '/home/pi/Desktop/images/02122025/12/10/image_02122025_12_10_51_9771.jpg', '/home/pi/Desktop/images/02122025/12/10/image_02122025_12_11_00_9735.jpg', '/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_10_9861.jpg', '/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_20_10021.jpg', '/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_30_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/10/image_02122025_12_10_41_10773.jpg
/home/pi/Desktop/images/02122025/12/10/image_02122025_12_10_51_9771.jpg
/home/pi/Desktop/images/02122025/12/10/image_02122025_12_11_00_9735.jpg
/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_10_9861.jpg
/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_20_10021.jpg
/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_30_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":["1398005951","1398005953","1398005962","1398005958","1398005955","1398005949"],"photo_ids_order":["1398005949","1398005951","1398005953","1398005955","1398005958","1398005962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/536e976d1f2aa8c2070b1ad817d2b6dc.jpg","text":"TemporaryFile(/tmp/multipartBody9126321400319039714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898504463,"filename":"image_02122025_12_10_51_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/5/9fbb178a33dbcb97dc027d6a88dfc9b0.jpg","text":"TemporaryFile(/tmp/multipartBody347047925574751369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898504463,"filename":"image_02122025_12_11_00_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/5/2d68767d3195b05e41623518dcd9c8a3.jpg","text":"TemporaryFile(/tmp/multipartBody2856009454776449565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898504463,"filename":"image_02122025_12_11_30_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/5/8fc7479ab0fee0c5a9b3f78171ba74b6.jpg","text":"TemporaryFile(/tmp/multipartBody1421678544395982612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898504463,"filename":"image_02122025_12_11_20_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/5/b22fe61c98c5ab6c7d0cd612324d8d58.jpg","text":"TemporaryFile(/tmp/multipartBody108965251704994986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898504463,"filename":"image_02122025_12_11_10_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/5/1257d3eecb71aae9ba275adb82f80452.jpg","text":"TemporaryFile(/tmp/multipartBody1599132141379876758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898504463,"filename":"image_02122025_12_10_41_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005953","file1":"1398005951","file0":"1398005949","file4":"1398005958","file5":"1398005962","file3":"1398005955"},"map_files_photo_id_array":[{"photo_id":"1398005962","filename":"file5"},{"photo_id":"1398005953","filename":"file2"},{"photo_id":"1398005958","filename":"file4"},{"photo_id":"1398005951","filename":"file1"},{"photo_id":"1398005949","filename":"file0"},{"photo_id":"1398005955","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398005951":["hashtag1","hashtag2"]},{"1398005953":["hashtag1","hashtag2"]},{"1398005962":["hashtag1","hashtag2"]},{"1398005958":["hashtag1","hashtag2"]},{"1398005955":["hashtag1","hashtag2"]},{"1398005949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398005951, 1398005953, 1398005962, 1398005958, 1398005955, 1398005949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59972286224365 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-05 02:35:03.007823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/31/image_05122025_02_31_54_10847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/31/image_05122025_02_31_54_10847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005979"],"photo_id":"1398005979","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b6ec4887f0f30516738c9b7b1559d827.jpg","text":"TemporaryFile(/tmp/multipartBody337983852296670164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898563535,"filename":"image_05122025_02_31_54_10847.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398005979"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398005979"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.696837663650513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:35:22.329408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_39_2627.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_42_2628.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_46_3593.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_48_2748.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_52_3539.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_55_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_39_2627.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_42_2628.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_46_3593.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_48_2748.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_52_3539.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_55_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398005987","1398005995","1398005989","1398005994","1398005991","1398005985"],"photo_ids_order":["1398005985","1398005987","1398005989","1398005991","1398005994","1398005995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/89eebc77a3fa2f16aa20469d4d79f46e.jpg","text":"TemporaryFile(/tmp/multipartBody4991153387358145639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898583963,"filename":"image_31102025_18_10_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/5/bc4fc921d9022941695a8a0bb84498ae.jpg","text":"TemporaryFile(/tmp/multipartBody8426779203444254889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898583963,"filename":"image_31102025_18_10_55_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/5/8d6e9245e02379c65b90f912624e871b.jpg","text":"TemporaryFile(/tmp/multipartBody8486512864024417481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898583963,"filename":"image_31102025_18_10_46_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/5/88c628d5e7ba2d04cc85185c2cd757d5.jpg","text":"TemporaryFile(/tmp/multipartBody6161248930558353075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898583963,"filename":"image_31102025_18_10_52_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/5/dacec15caf91aff6d4ade053c477c5fa.jpg","text":"TemporaryFile(/tmp/multipartBody7883581789872498530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898583963,"filename":"image_31102025_18_10_48_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/5/5351bbf784a3f00de70e8a765a23a3dd.jpg","text":"TemporaryFile(/tmp/multipartBody1630893371686940658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898583963,"filename":"image_31102025_18_10_39_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398005989","file1":"1398005987","file0":"1398005985","file4":"1398005994","file5":"1398005995","file3":"1398005991"},"map_files_photo_id_array":[{"photo_id":"1398005995","filename":"file5"},{"photo_id":"1398005989","filename":"file2"},{"photo_id":"1398005994","filename":"file4"},{"photo_id":"1398005987","filename":"file1"},{"photo_id":"1398005985","filename":"file0"},{"photo_id":"1398005991","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398005987":["hashtag1","hashtag2"]},{"1398005995":["hashtag1","hashtag2"]},{"1398005989":["hashtag1","hashtag2"]},{"1398005994":["hashtag1","hashtag2"]},{"1398005991":["hashtag1","hashtag2"]},{"1398005985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398005987, 1398005995, 1398005989, 1398005994, 1398005991, 1398005985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.512022256851196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:36:12.597419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_41_10771.jpg', '/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_50_9790.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_10_9768.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_21_10751.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_30_9591.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_40_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_41_10771.jpg
/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_50_9790.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_10_9768.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_21_10751.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_30_9591.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_40_9650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8363311290740967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:36:22.585729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/34/image_05122025_02_34_33_9888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/34/image_05122025_02_34_33_9888.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006003"],"photo_id":"1398006003","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ef3a6366f0a7beee04fbe5f8df6c976b.jpg","text":"TemporaryFile(/tmp/multipartBody4109024297577022678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898643077,"filename":"image_05122025_02_34_33_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398006003"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398006003"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.241927862167358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:36:42.653385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_57_2615.jpg', '/home/pi/Desktop/images/31102025/18/10/image_31102025_18_11_00_2638.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_04_3637.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_06_2715.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_10_3522.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_13_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_10_57_2615.jpg
/home/pi/Desktop/images/31102025/18/10/image_31102025_18_11_00_2638.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_04_3637.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_06_2715.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_10_3522.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_13_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006026","1398006035","1398006017","1398006037","1398006031","1398006030"],"photo_ids_order":["1398006017","1398006026","1398006030","1398006031","1398006035","1398006037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/02f9781324d708da398447e2e8d1375a.jpg","text":"TemporaryFile(/tmp/multipartBody1602711693134756055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898664249,"filename":"image_31102025_18_11_00_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2f8d76bff2e21db2b2597c05dc8113c0.jpg","text":"TemporaryFile(/tmp/multipartBody2654006464610735452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898664249,"filename":"image_31102025_18_11_10_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/5/4865c4a9a4648d6e510cc93cc19b3aac.jpg","text":"TemporaryFile(/tmp/multipartBody3462733431632887556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898664249,"filename":"image_31102025_18_10_57_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/5/2ef144efe3dfe0d489c6df57a0433525.jpg","text":"TemporaryFile(/tmp/multipartBody3877845789776131077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898664249,"filename":"image_31102025_18_11_13_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3aa995620f166b1f07cdd846b8edfa4e.jpg","text":"TemporaryFile(/tmp/multipartBody2469815587128770978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898664249,"filename":"image_31102025_18_11_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/5/afe627c47e8d353c022869b31cff0a36.jpg","text":"TemporaryFile(/tmp/multipartBody3667299460763575678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898664249,"filename":"image_31102025_18_11_04_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006030","file1":"1398006026","file0":"1398006017","file4":"1398006035","file5":"1398006037","file3":"1398006031"},"map_files_photo_id_array":[{"photo_id":"1398006037","filename":"file5"},{"photo_id":"1398006030","filename":"file2"},{"photo_id":"1398006035","filename":"file4"},{"photo_id":"1398006026","filename":"file1"},{"photo_id":"1398006017","filename":"file0"},{"photo_id":"1398006031","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006026":["hashtag1","hashtag2"]},{"1398006035":["hashtag1","hashtag2"]},{"1398006017":["hashtag1","hashtag2"]},{"1398006037":["hashtag1","hashtag2"]},{"1398006031":["hashtag1","hashtag2"]},{"1398006030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006026, 1398006035, 1398006017, 1398006037, 1398006031, 1398006030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.505659103393555 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-05 02:37:31.853845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_41_10771.jpg', '/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_50_9790.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_10_9768.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_21_10751.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_30_9591.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_40_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_41_10771.jpg
/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_50_9790.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_10_9768.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_21_10751.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_30_9591.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_40_9650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.939070701599121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:37:41.859660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_15_2911.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_18_2573.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_22_3644.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_24_2629.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_27_2571.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_31_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_15_2911.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_18_2573.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_22_3644.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_24_2629.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_27_2571.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_31_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006050","1398006055","1398006058","1398006057","1398006060","1398006054"],"photo_ids_order":["1398006050","1398006054","1398006055","1398006057","1398006058","1398006060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ccd39baab1a9eb4ae332f00a94c56cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7975502917772947650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898723491,"filename":"image_31102025_18_11_15_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/5/a17eb05731e298ee44289226f7b826f1.jpg","text":"TemporaryFile(/tmp/multipartBody7674640624709109651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898723491,"filename":"image_31102025_18_11_22_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/5/fe90cb6781ac117ebf2d6b8a50366e07.jpg","text":"TemporaryFile(/tmp/multipartBody2250362269087472656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898723491,"filename":"image_31102025_18_11_27_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/5/d0d61ce8e496a6d4f074d0dad27822e9.jpg","text":"TemporaryFile(/tmp/multipartBody598010366608256648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898723491,"filename":"image_31102025_18_11_24_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/5/2b27e7e0c7debb4f58271e37dbf97515.jpg","text":"TemporaryFile(/tmp/multipartBody8319625955729034782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898723491,"filename":"image_31102025_18_11_31_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6562797de0d0a19f18459a5bac2faae2.jpg","text":"TemporaryFile(/tmp/multipartBody8081774262766013131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898723491,"filename":"image_31102025_18_11_18_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006055","file1":"1398006054","file0":"1398006050","file4":"1398006058","file5":"1398006060","file3":"1398006057"},"map_files_photo_id_array":[{"photo_id":"1398006060","filename":"file5"},{"photo_id":"1398006055","filename":"file2"},{"photo_id":"1398006058","filename":"file4"},{"photo_id":"1398006054","filename":"file1"},{"photo_id":"1398006050","filename":"file0"},{"photo_id":"1398006057","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006050":["hashtag1","hashtag2"]},{"1398006055":["hashtag1","hashtag2"]},{"1398006058":["hashtag1","hashtag2"]},{"1398006057":["hashtag1","hashtag2"]},{"1398006060":["hashtag1","hashtag2"]},{"1398006054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006050, 1398006055, 1398006058, 1398006057, 1398006060, 1398006054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.064141511917114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:38:32.062378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_41_10771.jpg', '/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_50_9790.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_10_9768.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_21_10751.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_30_9591.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_40_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_41_10771.jpg
/home/pi/Desktop/images/02122025/12/11/image_02122025_12_11_50_9790.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_10_9768.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_21_10751.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_30_9591.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_40_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":["1398006077","1398006071","1398006076","1398006069","1398006080","1398006074"],"photo_ids_order":["1398006069","1398006071","1398006074","1398006076","1398006077","1398006080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7d25d5ee85111fe03c44a9724714b579.jpg","text":"TemporaryFile(/tmp/multipartBody5623795675074643905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898774113,"filename":"image_02122025_12_12_30_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/5/a68ef7222db9ca5fdd53b2a01aafd6f8.jpg","text":"TemporaryFile(/tmp/multipartBody4178838998027395242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898774113,"filename":"image_02122025_12_11_50_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/5/983a327e48ddcc52ad425322e018e4be.jpg","text":"TemporaryFile(/tmp/multipartBody5408046597833213200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898774113,"filename":"image_02122025_12_12_21_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/5/363796fbb0c92e9a49e9c643c1559bed.jpg","text":"TemporaryFile(/tmp/multipartBody448518080313884019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898774113,"filename":"image_02122025_12_11_41_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/5/296f4751889db99802fc6710a91ca4fc.jpg","text":"TemporaryFile(/tmp/multipartBody7859691066807778348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898774113,"filename":"image_02122025_12_12_40_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/5/63530b4695577c743abe609ff7f642c9.jpg","text":"TemporaryFile(/tmp/multipartBody9029249165716072962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898774113,"filename":"image_02122025_12_12_10_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006074","file1":"1398006071","file0":"1398006069","file4":"1398006077","file5":"1398006080","file3":"1398006076"},"map_files_photo_id_array":[{"photo_id":"1398006080","filename":"file5"},{"photo_id":"1398006074","filename":"file2"},{"photo_id":"1398006077","filename":"file4"},{"photo_id":"1398006071","filename":"file1"},{"photo_id":"1398006069","filename":"file0"},{"photo_id":"1398006076","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006077":["hashtag1","hashtag2"]},{"1398006071":["hashtag1","hashtag2"]},{"1398006076":["hashtag1","hashtag2"]},{"1398006069":["hashtag1","hashtag2"]},{"1398006080":["hashtag1","hashtag2"]},{"1398006074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006077, 1398006071, 1398006076, 1398006069, 1398006080, 1398006074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29683303833008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:39:12.084438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_51_10625.jpg', '/home/pi/Desktop/images/02122025/12/12/image_02122025_12_13_00_9737.jpg', '/home/pi/Desktop/images/02122025/12/13/image_02122025_12_13_10_10062.jpg', '/home/pi/Desktop/images/02122025/12/13/image_02122025_12_13_20_9727.jpg', '/home/pi/Desktop/images/02122025/12/13/image_02122025_12_13_30_9726.jpg', '/home/pi/Desktop/images/02122025/12/13/image_02122025_12_13_41_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_12_51_10625.jpg
/home/pi/Desktop/images/02122025/12/12/image_02122025_12_13_00_9737.jpg
/home/pi/Desktop/images/02122025/12/13/image_02122025_12_13_10_10062.jpg
/home/pi/Desktop/images/02122025/12/13/image_02122025_12_13_20_9727.jpg
/home/pi/Desktop/images/02122025/12/13/image_02122025_12_13_30_9726.jpg
/home/pi/Desktop/images/02122025/12/13/image_02122025_12_13_41_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006085","1398006093","1398006096","1398006099","1398006090","1398006087"],"photo_ids_order":["1398006085","1398006087","1398006090","1398006093","1398006096","1398006099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ae65e5aa0cd95e595c2c3779964374e.jpg","text":"TemporaryFile(/tmp/multipartBody5624996392057885091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898814151,"filename":"image_02122025_12_12_51_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/5/f6c34014a3ef35690c0026e5bced609b.jpg","text":"TemporaryFile(/tmp/multipartBody6448133293561043264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898814151,"filename":"image_02122025_12_13_20_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/5/521205618bf4fb8b5bec016538c8a80d.jpg","text":"TemporaryFile(/tmp/multipartBody2784088273273116792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898814151,"filename":"image_02122025_12_13_30_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/5/7e8d494a79f40d452e1688e23e576d4c.jpg","text":"TemporaryFile(/tmp/multipartBody6490354365482867497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898814151,"filename":"image_02122025_12_13_41_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/5/254279e4e1a2171f5d60fe0642550eec.jpg","text":"TemporaryFile(/tmp/multipartBody7511044687684763789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898814151,"filename":"image_02122025_12_13_10_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e31a2b2a5efb98f8fcabb014e641f35d.jpg","text":"TemporaryFile(/tmp/multipartBody8052349433884469859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898814151,"filename":"image_02122025_12_13_00_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006090","file1":"1398006087","file0":"1398006085","file4":"1398006096","file5":"1398006099","file3":"1398006093"},"map_files_photo_id_array":[{"photo_id":"1398006099","filename":"file5"},{"photo_id":"1398006090","filename":"file2"},{"photo_id":"1398006096","filename":"file4"},{"photo_id":"1398006087","filename":"file1"},{"photo_id":"1398006085","filename":"file0"},{"photo_id":"1398006093","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006085":["hashtag1","hashtag2"]},{"1398006093":["hashtag1","hashtag2"]},{"1398006096":["hashtag1","hashtag2"]},{"1398006099":["hashtag1","hashtag2"]},{"1398006090":["hashtag1","hashtag2"]},{"1398006087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006085, 1398006093, 1398006096, 1398006099, 1398006090, 1398006087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7935254573822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:40:02.699858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/36/image_05122025_02_36_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/36/image_05122025_02_36_54_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006106"],"photo_id":"1398006106","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb0ee2ec559fc5157ecce8f7face1df8.jpg","text":"TemporaryFile(/tmp/multipartBody9092181572814032431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898863212,"filename":"image_05122025_02_36_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398006106"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398006106"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.120778322219849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:40:22.365937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/39/image_05122025_02_39_44_9659.jpg', '/home/pi/Desktop/images/05122025/02/39/image_05122025_02_40_04_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/39/image_05122025_02_39_44_9659.jpg
/home/pi/Desktop/images/05122025/02/39/image_05122025_02_40_04_10760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006110","1398006112"],"photo_ids_order":["1398006110","1398006112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e275e38eed5a42dc3012332d26709ab6.jpg","text":"TemporaryFile(/tmp/multipartBody7807156178673593028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898882926,"filename":"image_05122025_02_39_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/5/1b8812e664a28e48bc45ad9d73bfc569.jpg","text":"TemporaryFile(/tmp/multipartBody8992183436664804470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898882926,"filename":"image_05122025_02_40_04_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398006112","file0":"1398006110"},"map_files_photo_id_array":[{"photo_id":"1398006112","filename":"file1"},{"photo_id":"1398006110","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398006110":["hashtag1","hashtag2"]},{"1398006112":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398006110, 1398006112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.68578028678894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:40:42.499591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_33_2564.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_37_3638.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_39_2611.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_42_2666.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_46_3531.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_48_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_33_2564.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_37_3638.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_39_2611.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_42_2666.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_46_3531.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_48_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006140","1398006137","1398006136","1398006138","1398006126","1398006135"],"photo_ids_order":["1398006126","1398006135","1398006136","1398006137","1398006138","1398006140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/64c386af57c48340575bef247f080a96.jpg","text":"TemporaryFile(/tmp/multipartBody5642366539526736307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898904127,"filename":"image_31102025_18_11_48_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/5/61c8464207c1fb8227151ca3afc77fb2.jpg","text":"TemporaryFile(/tmp/multipartBody6473596095531724549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898904127,"filename":"image_31102025_18_11_42_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/5/2c7260d9373da422870572d565a6e307.jpg","text":"TemporaryFile(/tmp/multipartBody6960781076440267684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898904127,"filename":"image_31102025_18_11_39_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/5/6c0a2678c6bcae0c71de2de07498ace5.jpg","text":"TemporaryFile(/tmp/multipartBody5089305151927271919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898904127,"filename":"image_31102025_18_11_46_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e9411b35004fb715f967ecfe06baf8fb.jpg","text":"TemporaryFile(/tmp/multipartBody1026659005980577112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898904127,"filename":"image_31102025_18_11_33_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f74d3ab2804ac8e39b35ed777544167c.jpg","text":"TemporaryFile(/tmp/multipartBody5533327722849858823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898904127,"filename":"image_31102025_18_11_37_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006136","file1":"1398006135","file0":"1398006126","file4":"1398006138","file5":"1398006140","file3":"1398006137"},"map_files_photo_id_array":[{"photo_id":"1398006140","filename":"file5"},{"photo_id":"1398006136","filename":"file2"},{"photo_id":"1398006138","filename":"file4"},{"photo_id":"1398006135","filename":"file1"},{"photo_id":"1398006126","filename":"file0"},{"photo_id":"1398006137","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006140":["hashtag1","hashtag2"]},{"1398006137":["hashtag1","hashtag2"]},{"1398006136":["hashtag1","hashtag2"]},{"1398006138":["hashtag1","hashtag2"]},{"1398006126":["hashtag1","hashtag2"]},{"1398006135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006140, 1398006137, 1398006136, 1398006138, 1398006126, 1398006135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95164132118225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:41:22.733095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/40/image_05122025_02_40_14_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/40/image_05122025_02_40_14_9740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006143"],"photo_id":"1398006143","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/98566a7d87eb6f01c36421a9a31fe768.jpg","text":"TemporaryFile(/tmp/multipartBody8485907135714726246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898943241,"filename":"image_05122025_02_40_14_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398006143"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398006143"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.087142944335938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:41:42.679545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_51_2626.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_55_3616.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_57_2868.jpg', '/home/pi/Desktop/images/31102025/18/11/image_31102025_18_12_00_2657.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_04_3677.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_06_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_51_2626.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_55_3616.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_11_57_2868.jpg
/home/pi/Desktop/images/31102025/18/11/image_31102025_18_12_00_2657.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_04_3677.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_06_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006155","1398006158","1398006154","1398006157","1398006156","1398006152"],"photo_ids_order":["1398006152","1398006154","1398006155","1398006156","1398006157","1398006158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7394fc36b73c8d076f0df800c53d4d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5305517107233194408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898964306,"filename":"image_31102025_18_11_57_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/5/e06bb701863692cd9bc3a857396b4876.jpg","text":"TemporaryFile(/tmp/multipartBody2499527067004968945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898964306,"filename":"image_31102025_18_12_06_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9644624d4ace88de8f6d6c4d704a150f.jpg","text":"TemporaryFile(/tmp/multipartBody4361055400441124111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898964306,"filename":"image_31102025_18_11_55_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/5/68b29c3f83b7c6eaa05b9711963bc910.jpg","text":"TemporaryFile(/tmp/multipartBody23757723935078876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898964306,"filename":"image_31102025_18_12_04_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/5/7fb92f3a7851fe6bb37964007483a90a.jpg","text":"TemporaryFile(/tmp/multipartBody9094443426448199647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898964306,"filename":"image_31102025_18_12_00_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/5/e35dd53bde748f5952db2d68c83e2d69.jpg","text":"TemporaryFile(/tmp/multipartBody6144804368186263607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764898964306,"filename":"image_31102025_18_11_51_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006155","file1":"1398006154","file0":"1398006152","file4":"1398006157","file5":"1398006158","file3":"1398006156"},"map_files_photo_id_array":[{"photo_id":"1398006158","filename":"file5"},{"photo_id":"1398006155","filename":"file2"},{"photo_id":"1398006157","filename":"file4"},{"photo_id":"1398006154","filename":"file1"},{"photo_id":"1398006152","filename":"file0"},{"photo_id":"1398006156","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006155":["hashtag1","hashtag2"]},{"1398006158":["hashtag1","hashtag2"]},{"1398006154":["hashtag1","hashtag2"]},{"1398006157":["hashtag1","hashtag2"]},{"1398006156":["hashtag1","hashtag2"]},{"1398006152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006155, 1398006158, 1398006154, 1398006157, 1398006156, 1398006152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06813097000122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:42:21.873589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_09_2557.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_13_3791.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_15_2678.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_18_2573.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_22_3545.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_24_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_09_2557.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_13_3791.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_15_2678.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_18_2573.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_22_3545.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_24_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":["1398006163","1398006169","1398006171","1398006165","1398006173","1398006167"],"photo_ids_order":["1398006163","1398006165","1398006167","1398006169","1398006171","1398006173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d4f61dec91248d61cf2abf9e7a66a7ff.jpg","text":"TemporaryFile(/tmp/multipartBody4878293421504573318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899003496,"filename":"image_31102025_18_12_09_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/5/3c53b2ee282c145ea534e45a3ac4d076.jpg","text":"TemporaryFile(/tmp/multipartBody7178347701542022472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899003496,"filename":"image_31102025_18_12_18_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/5/bfc3697cfe9c392230695e5da80f3cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2639230252168143316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899003496,"filename":"image_31102025_18_12_22_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/5/819185d08d5ce08aad42bed8e8b2beeb.jpg","text":"TemporaryFile(/tmp/multipartBody1728153731754532743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899003496,"filename":"image_31102025_18_12_13_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/5/7a619c56ee758556f820663e782ff527.jpg","text":"TemporaryFile(/tmp/multipartBody2030152317969721062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899003496,"filename":"image_31102025_18_12_24_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/5/cf94bd3a65026019fec93d296ded25b1.jpg","text":"TemporaryFile(/tmp/multipartBody8859091612771611002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899003496,"filename":"image_31102025_18_12_15_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006167","file1":"1398006165","file0":"1398006163","file4":"1398006171","file5":"1398006173","file3":"1398006169"},"map_files_photo_id_array":[{"photo_id":"1398006173","filename":"file5"},{"photo_id":"1398006167","filename":"file2"},{"photo_id":"1398006171","filename":"file4"},{"photo_id":"1398006165","filename":"file1"},{"photo_id":"1398006163","filename":"file0"},{"photo_id":"1398006169","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006163":["hashtag1","hashtag2"]},{"1398006169":["hashtag1","hashtag2"]},{"1398006171":["hashtag1","hashtag2"]},{"1398006165":["hashtag1","hashtag2"]},{"1398006173":["hashtag1","hashtag2"]},{"1398006167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006163, 1398006169, 1398006171, 1398006165, 1398006173, 1398006167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.217243909835815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:43:02.669284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/13/image_02122025_12_13_50_9633.jpg', '/home/pi/Desktop/images/02122025/12/13/image_02122025_12_14_00_9805.jpg', '/home/pi/Desktop/images/02122025/12/14/image_02122025_12_14_11_10785.jpg', '/home/pi/Desktop/images/02122025/12/14/image_02122025_12_14_20_9648.jpg', '/home/pi/Desktop/images/02122025/12/14/image_02122025_12_14_30_9709.jpg', '/home/pi/Desktop/images/02122025/12/14/image_02122025_12_14_41_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/13/image_02122025_12_13_50_9633.jpg
/home/pi/Desktop/images/02122025/12/13/image_02122025_12_14_00_9805.jpg
/home/pi/Desktop/images/02122025/12/14/image_02122025_12_14_11_10785.jpg
/home/pi/Desktop/images/02122025/12/14/image_02122025_12_14_20_9648.jpg
/home/pi/Desktop/images/02122025/12/14/image_02122025_12_14_30_9709.jpg
/home/pi/Desktop/images/02122025/12/14/image_02122025_12_14_41_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":["1398006190","1398006187","1398006192","1398006195","1398006186","1398006188"],"photo_ids_order":["1398006186","1398006187","1398006188","1398006190","1398006192","1398006195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/937c8da41fb4131e4cffa5beffd12d94.jpg","text":"TemporaryFile(/tmp/multipartBody8001579254739820496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899044254,"filename":"image_02122025_12_14_20_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/5/324b5e204c2aef6cb2dd103272a5bae4.jpg","text":"TemporaryFile(/tmp/multipartBody776835395480797102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899044254,"filename":"image_02122025_12_14_00_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/5/7026d06beac13649b03c2da5ba9dbe06.jpg","text":"TemporaryFile(/tmp/multipartBody4319548835298650270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899044254,"filename":"image_02122025_12_14_30_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/5/590aec84c12126af4c846520c3517c9a.jpg","text":"TemporaryFile(/tmp/multipartBody4519208257453528012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899044254,"filename":"image_02122025_12_14_41_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/5/7828cafdf1301ce4757a3218e20627c9.jpg","text":"TemporaryFile(/tmp/multipartBody5683697949807233900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899044254,"filename":"image_02122025_12_13_50_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/5/5faa6fab993abc717e3038874bb7bee1.jpg","text":"TemporaryFile(/tmp/multipartBody50976036342805020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899044254,"filename":"image_02122025_12_14_11_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006188","file1":"1398006187","file0":"1398006186","file4":"1398006192","file5":"1398006195","file3":"1398006190"},"map_files_photo_id_array":[{"photo_id":"1398006195","filename":"file5"},{"photo_id":"1398006188","filename":"file2"},{"photo_id":"1398006192","filename":"file4"},{"photo_id":"1398006187","filename":"file1"},{"photo_id":"1398006186","filename":"file0"},{"photo_id":"1398006190","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006190":["hashtag1","hashtag2"]},{"1398006187":["hashtag1","hashtag2"]},{"1398006192":["hashtag1","hashtag2"]},{"1398006195":["hashtag1","hashtag2"]},{"1398006186":["hashtag1","hashtag2"]},{"1398006188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006190, 1398006187, 1398006192, 1398006195, 1398006186, 1398006188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74710536003113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:43:42.120941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_27_2669.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_31_3642.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_33_2769.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_36_2586.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_40_3657.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_42_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_27_2669.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_31_3642.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_33_2769.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_36_2586.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_40_3657.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_42_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006203","1398006200","1398006202","1398006205","1398006201","1398006204"],"photo_ids_order":["1398006200","1398006201","1398006202","1398006203","1398006204","1398006205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6b12308574e4423ff79085925ba8153f.jpg","text":"TemporaryFile(/tmp/multipartBody6197174566528074795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899083717,"filename":"image_31102025_18_12_36_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/5/943ad8aeea31e0e89307c2df9ac88700.jpg","text":"TemporaryFile(/tmp/multipartBody7741033061410356454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899083717,"filename":"image_31102025_18_12_27_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/5/85a553c88249a0bb19c7db06c7096320.jpg","text":"TemporaryFile(/tmp/multipartBody725691469667200737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899083717,"filename":"image_31102025_18_12_33_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/5/7418f3cc04cf347239695757ac1f266e.jpg","text":"TemporaryFile(/tmp/multipartBody4384868037687025045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899083717,"filename":"image_31102025_18_12_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/5/8f857a7197679f33524eb371e7c13f23.jpg","text":"TemporaryFile(/tmp/multipartBody9144864291647751214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899083717,"filename":"image_31102025_18_12_31_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51a4a1697d0e54a07b5de48f0a53ef5a.jpg","text":"TemporaryFile(/tmp/multipartBody5046671673815116744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899083717,"filename":"image_31102025_18_12_40_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006202","file1":"1398006201","file0":"1398006200","file4":"1398006204","file5":"1398006205","file3":"1398006203"},"map_files_photo_id_array":[{"photo_id":"1398006205","filename":"file5"},{"photo_id":"1398006202","filename":"file2"},{"photo_id":"1398006204","filename":"file4"},{"photo_id":"1398006201","filename":"file1"},{"photo_id":"1398006200","filename":"file0"},{"photo_id":"1398006203","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006203":["hashtag1","hashtag2"]},{"1398006200":["hashtag1","hashtag2"]},{"1398006202":["hashtag1","hashtag2"]},{"1398006205":["hashtag1","hashtag2"]},{"1398006201":["hashtag1","hashtag2"]},{"1398006204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006203, 1398006200, 1398006202, 1398006205, 1398006201, 1398006204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.075058698654175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:44:22.304374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/41/image_05122025_02_41_54_10753.jpg', '/home/pi/Desktop/images/05122025/02/42/image_05122025_02_43_04_9553.jpg', '/home/pi/Desktop/images/05122025/02/43/image_05122025_02_43_24_10688.jpg', '/home/pi/Desktop/images/05122025/02/43/image_05122025_02_44_04_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/41/image_05122025_02_41_54_10753.jpg
/home/pi/Desktop/images/05122025/02/42/image_05122025_02_43_04_9553.jpg
/home/pi/Desktop/images/05122025/02/43/image_05122025_02_43_24_10688.jpg
/home/pi/Desktop/images/05122025/02/43/image_05122025_02_44_04_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":["1398006215","1398006212","1398006223","1398006211"],"photo_ids_order":["1398006211","1398006212","1398006215","1398006223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b8ca12a08fccf6700fd4b5bfeb633ce4.jpg","text":"TemporaryFile(/tmp/multipartBody4140595208484131444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899122941,"filename":"image_05122025_02_43_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/5/be50b5e71c749980270fde9e85e58f4e.jpg","text":"TemporaryFile(/tmp/multipartBody7277986087846426493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899122941,"filename":"image_05122025_02_43_04_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/5/3d127af6a02eaf16da3cdaa99a77a433.jpg","text":"TemporaryFile(/tmp/multipartBody440956201410364593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899122941,"filename":"image_05122025_02_44_04_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/5/cac68effc22c38300dca0a0a5b4ca064.jpg","text":"TemporaryFile(/tmp/multipartBody5256986247121187009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899122941,"filename":"image_05122025_02_41_54_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006215","file1":"1398006212","file0":"1398006211","file3":"1398006223"},"map_files_photo_id_array":[{"photo_id":"1398006215","filename":"file2"},{"photo_id":"1398006212","filename":"file1"},{"photo_id":"1398006211","filename":"file0"},{"photo_id":"1398006223","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398006215":["hashtag1","hashtag2"]},{"1398006212":["hashtag1","hashtag2"]},{"1398006223":["hashtag1","hashtag2"]},{"1398006211":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398006215, 1398006212, 1398006223, 1398006211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.7935471534729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:45:03.080861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/14/image_02122025_12_14_51_9941.jpg', '/home/pi/Desktop/images/02122025/12/14/image_02122025_12_15_01_9938.jpg', '/home/pi/Desktop/images/02122025/12/15/image_02122025_12_15_10_9696.jpg', '/home/pi/Desktop/images/02122025/12/15/image_02122025_12_15_20_9854.jpg', '/home/pi/Desktop/images/02122025/12/15/image_02122025_12_15_30_9621.jpg', '/home/pi/Desktop/images/02122025/12/15/image_02122025_12_15_41_10833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/14/image_02122025_12_14_51_9941.jpg
/home/pi/Desktop/images/02122025/12/14/image_02122025_12_15_01_9938.jpg
/home/pi/Desktop/images/02122025/12/15/image_02122025_12_15_10_9696.jpg
/home/pi/Desktop/images/02122025/12/15/image_02122025_12_15_20_9854.jpg
/home/pi/Desktop/images/02122025/12/15/image_02122025_12_15_30_9621.jpg
/home/pi/Desktop/images/02122025/12/15/image_02122025_12_15_41_10833.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":["1398006236","1398006239","1398006241","1398006243","1398006246","1398006240"],"photo_ids_order":["1398006236","1398006239","1398006240","1398006241","1398006243","1398006246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eea3b1b43fbb4a480ed3f76265828473.jpg","text":"TemporaryFile(/tmp/multipartBody5923274128578576454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899167618,"filename":"image_02122025_12_14_51_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/5/e17d24fd1b70e27f89782b0b17a05faa.jpg","text":"TemporaryFile(/tmp/multipartBody2905274305539444995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899167618,"filename":"image_02122025_12_15_01_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/5/1ebfee01c5e1543bbf6ae8b81a85ffb2.jpg","text":"TemporaryFile(/tmp/multipartBody5100582951119945852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899167618,"filename":"image_02122025_12_15_20_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/5/b46b231e5398ae9ce97b7fd5e68e768e.jpg","text":"TemporaryFile(/tmp/multipartBody8846006405535939538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899167618,"filename":"image_02122025_12_15_30_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/5/83d69b7b579113b013421c02a4686392.jpg","text":"TemporaryFile(/tmp/multipartBody3779651405657019841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899167618,"filename":"image_02122025_12_15_41_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/5/d5e8507426a3aaef9c9d2f35871258e8.jpg","text":"TemporaryFile(/tmp/multipartBody9121571591671904718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899167618,"filename":"image_02122025_12_15_10_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006240","file1":"1398006239","file0":"1398006236","file4":"1398006243","file5":"1398006246","file3":"1398006241"},"map_files_photo_id_array":[{"photo_id":"1398006246","filename":"file5"},{"photo_id":"1398006240","filename":"file2"},{"photo_id":"1398006243","filename":"file4"},{"photo_id":"1398006239","filename":"file1"},{"photo_id":"1398006236","filename":"file0"},{"photo_id":"1398006241","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006236":["hashtag1","hashtag2"]},{"1398006239":["hashtag1","hashtag2"]},{"1398006241":["hashtag1","hashtag2"]},{"1398006243":["hashtag1","hashtag2"]},{"1398006246":["hashtag1","hashtag2"]},{"1398006240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006236, 1398006239, 1398006241, 1398006243, 1398006246, 1398006240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.21304535865784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:46:03.224289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/15/image_02122025_12_15_50_9678.jpg', '/home/pi/Desktop/images/02122025/12/15/image_02122025_12_16_00_9741.jpg', '/home/pi/Desktop/images/02122025/12/16/image_02122025_12_16_10_9785.jpg', '/home/pi/Desktop/images/02122025/12/16/image_02122025_12_16_20_9948.jpg', '/home/pi/Desktop/images/02122025/12/16/image_02122025_12_16_31_10688.jpg', '/home/pi/Desktop/images/02122025/12/16/image_02122025_12_16_50_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/15/image_02122025_12_15_50_9678.jpg
/home/pi/Desktop/images/02122025/12/15/image_02122025_12_16_00_9741.jpg
/home/pi/Desktop/images/02122025/12/16/image_02122025_12_16_10_9785.jpg
/home/pi/Desktop/images/02122025/12/16/image_02122025_12_16_20_9948.jpg
/home/pi/Desktop/images/02122025/12/16/image_02122025_12_16_31_10688.jpg
/home/pi/Desktop/images/02122025/12/16/image_02122025_12_16_50_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":["1398006254","1398006250","1398006256","1398006261","1398006258","1398006252"],"photo_ids_order":["1398006250","1398006252","1398006254","1398006256","1398006258","1398006261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c2a634cfc5997aa6a64dd86d1abd4b05.jpg","text":"TemporaryFile(/tmp/multipartBody7942794766827964396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899224861,"filename":"image_02122025_12_16_10_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/5/c57b163c4994d92bc2cbde2b274ac152.jpg","text":"TemporaryFile(/tmp/multipartBody3781137221688832714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899224861,"filename":"image_02122025_12_15_50_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/5/6f8293159faa08226f629b054dd7bdc0.jpg","text":"TemporaryFile(/tmp/multipartBody1842508399221337263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899224861,"filename":"image_02122025_12_16_20_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/5/f7746636108ab26195ad0c25bfb13cea.jpg","text":"TemporaryFile(/tmp/multipartBody3358818893540042957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899224861,"filename":"image_02122025_12_16_50_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/5/86fa1fc0fb2832cde0ff90dad0a10490.jpg","text":"TemporaryFile(/tmp/multipartBody417271733383857568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899224861,"filename":"image_02122025_12_16_31_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/5/8d600bb22d6010729a73c1c56d062462.jpg","text":"TemporaryFile(/tmp/multipartBody3277150061487466855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899224861,"filename":"image_02122025_12_16_00_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006254","file1":"1398006252","file0":"1398006250","file4":"1398006258","file5":"1398006261","file3":"1398006256"},"map_files_photo_id_array":[{"photo_id":"1398006261","filename":"file5"},{"photo_id":"1398006254","filename":"file2"},{"photo_id":"1398006258","filename":"file4"},{"photo_id":"1398006252","filename":"file1"},{"photo_id":"1398006250","filename":"file0"},{"photo_id":"1398006256","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006254":["hashtag1","hashtag2"]},{"1398006250":["hashtag1","hashtag2"]},{"1398006256":["hashtag1","hashtag2"]},{"1398006261":["hashtag1","hashtag2"]},{"1398006258":["hashtag1","hashtag2"]},{"1398006252":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006254, 1398006250, 1398006256, 1398006261, 1398006258, 1398006252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42723751068115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:46:42.644139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_45_2645.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_49_3679.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_51_2588.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_54_2555.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_57_3536.jpg', '/home/pi/Desktop/images/31102025/18/12/image_31102025_18_13_00_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_45_2645.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_49_3679.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_51_2588.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_54_2555.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_12_57_3536.jpg
/home/pi/Desktop/images/31102025/18/12/image_31102025_18_13_00_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":["1398006295","1398006280","1398006282","1398006276","1398006278","1398006272"],"photo_ids_order":["1398006272","1398006276","1398006278","1398006280","1398006282","1398006295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aace683f49802bf9001bc6e207334132.jpg","text":"TemporaryFile(/tmp/multipartBody5485731845063152272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899264244,"filename":"image_31102025_18_13_00_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d38e9fe439c7a54d8ef7f62aee2b5da.jpg","text":"TemporaryFile(/tmp/multipartBody837918124336628029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899264244,"filename":"image_31102025_18_12_54_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/5/999f719baa4ba3ab21c184bc71c10ee7.jpg","text":"TemporaryFile(/tmp/multipartBody8839500051770972516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899264244,"filename":"image_31102025_18_12_57_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e7587cd863283f8f1bbaf63597492407.jpg","text":"TemporaryFile(/tmp/multipartBody7860321759735284523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899264244,"filename":"image_31102025_18_12_49_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/5/9f09419a8f99af5aadd7773b4bb813ba.jpg","text":"TemporaryFile(/tmp/multipartBody4396945372899480761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899264244,"filename":"image_31102025_18_12_51_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d2214fc95dd2b2b0c47d59d751a16ac.jpg","text":"TemporaryFile(/tmp/multipartBody2350024843363448425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899264244,"filename":"image_31102025_18_12_45_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006278","file1":"1398006276","file0":"1398006272","file4":"1398006282","file5":"1398006295","file3":"1398006280"},"map_files_photo_id_array":[{"photo_id":"1398006295","filename":"file5"},{"photo_id":"1398006278","filename":"file2"},{"photo_id":"1398006282","filename":"file4"},{"photo_id":"1398006276","filename":"file1"},{"photo_id":"1398006272","filename":"file0"},{"photo_id":"1398006280","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006295":["hashtag1","hashtag2"]},{"1398006280":["hashtag1","hashtag2"]},{"1398006282":["hashtag1","hashtag2"]},{"1398006276":["hashtag1","hashtag2"]},{"1398006278":["hashtag1","hashtag2"]},{"1398006272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006295, 1398006280, 1398006282, 1398006276, 1398006278, 1398006272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31234955787659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:47:22.959313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_04_3691.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_06_2695.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_09_2692.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_13_3665.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_15_2800.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_18_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_04_3691.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_06_2695.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_09_2692.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_13_3665.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_15_2800.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_18_2657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5347480773925781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:47:32.883999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/16/image_02122025_12_17_00_9774.jpg', '/home/pi/Desktop/images/02122025/12/17/image_02122025_12_17_11_10734.jpg', '/home/pi/Desktop/images/02122025/12/17/image_02122025_12_17_21_9833.jpg', '/home/pi/Desktop/images/02122025/12/17/image_02122025_12_17_30_9734.jpg', '/home/pi/Desktop/images/02122025/12/17/image_02122025_12_17_40_9871.jpg', '/home/pi/Desktop/images/02122025/12/17/image_02122025_12_18_01_10779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/16/image_02122025_12_17_00_9774.jpg
/home/pi/Desktop/images/02122025/12/17/image_02122025_12_17_11_10734.jpg
/home/pi/Desktop/images/02122025/12/17/image_02122025_12_17_21_9833.jpg
/home/pi/Desktop/images/02122025/12/17/image_02122025_12_17_30_9734.jpg
/home/pi/Desktop/images/02122025/12/17/image_02122025_12_17_40_9871.jpg
/home/pi/Desktop/images/02122025/12/17/image_02122025_12_18_01_10779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006317","1398006319","1398006318","1398006312","1398006315","1398006309"],"photo_ids_order":["1398006309","1398006312","1398006315","1398006317","1398006318","1398006319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b8279bcba3fa70553c6860b8af112a4.jpg","text":"TemporaryFile(/tmp/multipartBody8606131930592338195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899315129,"filename":"image_02122025_12_17_30_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/5/1d6636def33af0da97f021e6be523575.jpg","text":"TemporaryFile(/tmp/multipartBody9085099339379722278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899315129,"filename":"image_02122025_12_18_01_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/5/fcda3251f4550e8519db3997c343eed3.jpg","text":"TemporaryFile(/tmp/multipartBody2077116017925032241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899315129,"filename":"image_02122025_12_17_40_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/5/e4336e4f320a1abc2389aa54941ffee6.jpg","text":"TemporaryFile(/tmp/multipartBody8504303400287877348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899315129,"filename":"image_02122025_12_17_11_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/5/3b11d7d968a2b9256f55f1730601dc91.jpg","text":"TemporaryFile(/tmp/multipartBody5961312414620716757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899315129,"filename":"image_02122025_12_17_21_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/5/94b2eb39690de7dd185b7fe3fd490788.jpg","text":"TemporaryFile(/tmp/multipartBody3229294753914886636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899315129,"filename":"image_02122025_12_17_00_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006315","file1":"1398006312","file0":"1398006309","file4":"1398006318","file5":"1398006319","file3":"1398006317"},"map_files_photo_id_array":[{"photo_id":"1398006319","filename":"file5"},{"photo_id":"1398006315","filename":"file2"},{"photo_id":"1398006318","filename":"file4"},{"photo_id":"1398006312","filename":"file1"},{"photo_id":"1398006309","filename":"file0"},{"photo_id":"1398006317","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006317":["hashtag1","hashtag2"]},{"1398006319":["hashtag1","hashtag2"]},{"1398006318":["hashtag1","hashtag2"]},{"1398006312":["hashtag1","hashtag2"]},{"1398006315":["hashtag1","hashtag2"]},{"1398006309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006317, 1398006319, 1398006318, 1398006312, 1398006315, 1398006309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.802961587905884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:48:12.100183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/18/image_02122025_12_18_10_9742.jpg', '/home/pi/Desktop/images/02122025/12/18/image_02122025_12_18_20_9744.jpg', '/home/pi/Desktop/images/02122025/12/18/image_02122025_12_18_30_9693.jpg', '/home/pi/Desktop/images/02122025/12/18/image_02122025_12_18_41_10804.jpg', '/home/pi/Desktop/images/02122025/12/18/image_02122025_12_18_50_9727.jpg', '/home/pi/Desktop/images/02122025/12/18/image_02122025_12_19_00_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/18/image_02122025_12_18_10_9742.jpg
/home/pi/Desktop/images/02122025/12/18/image_02122025_12_18_20_9744.jpg
/home/pi/Desktop/images/02122025/12/18/image_02122025_12_18_30_9693.jpg
/home/pi/Desktop/images/02122025/12/18/image_02122025_12_18_41_10804.jpg
/home/pi/Desktop/images/02122025/12/18/image_02122025_12_18_50_9727.jpg
/home/pi/Desktop/images/02122025/12/18/image_02122025_12_19_00_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":["1398006335","1398006329","1398006326","1398006322","1398006324","1398006333"],"photo_ids_order":["1398006322","1398006324","1398006326","1398006329","1398006333","1398006335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b836d05e7827bd091a4e7e3eff9c718.jpg","text":"TemporaryFile(/tmp/multipartBody4662527479708262584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899354216,"filename":"image_02122025_12_19_00_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/5/fd90a2e7da0ec64ab28746224a31823f.jpg","text":"TemporaryFile(/tmp/multipartBody2840452720896247492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899354216,"filename":"image_02122025_12_18_41_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/5/240e3613319b3f6b12aac96cf2c104bc.jpg","text":"TemporaryFile(/tmp/multipartBody7105947732196260265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899354216,"filename":"image_02122025_12_18_30_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/5/e91628b34efc4c6cff7eaa240c7d70c0.jpg","text":"TemporaryFile(/tmp/multipartBody3254802199831826292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899354216,"filename":"image_02122025_12_18_10_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/5/5e1cabd6381efe219ed2f7bca75a820b.jpg","text":"TemporaryFile(/tmp/multipartBody4777148391877672272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899354216,"filename":"image_02122025_12_18_20_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/5/a651abe18028192390e6b1b53bcdd6f3.jpg","text":"TemporaryFile(/tmp/multipartBody6710193088680826470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899354216,"filename":"image_02122025_12_18_50_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006326","file1":"1398006324","file0":"1398006322","file4":"1398006333","file5":"1398006335","file3":"1398006329"},"map_files_photo_id_array":[{"photo_id":"1398006335","filename":"file5"},{"photo_id":"1398006326","filename":"file2"},{"photo_id":"1398006333","filename":"file4"},{"photo_id":"1398006324","filename":"file1"},{"photo_id":"1398006322","filename":"file0"},{"photo_id":"1398006329","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006335":["hashtag1","hashtag2"]},{"1398006329":["hashtag1","hashtag2"]},{"1398006326":["hashtag1","hashtag2"]},{"1398006322":["hashtag1","hashtag2"]},{"1398006324":["hashtag1","hashtag2"]},{"1398006333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006335, 1398006329, 1398006326, 1398006322, 1398006324, 1398006333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7020697593689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:49:03.090370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/44/image_05122025_02_44_14_9698.jpg', '/home/pi/Desktop/images/05122025/02/48/image_05122025_02_48_14_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/44/image_05122025_02_44_14_9698.jpg
/home/pi/Desktop/images/05122025/02/48/image_05122025_02_48_14_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006344","1398006342"],"photo_ids_order":["1398006342","1398006344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e8787b3e4e763ae1c78d82f03974ba2.jpg","text":"TemporaryFile(/tmp/multipartBody5487275626712654419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899403846,"filename":"image_05122025_02_48_14_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/5/c6db6bfd089c72dbdcdd8a2338af62b5.jpg","text":"TemporaryFile(/tmp/multipartBody5433718816681783068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899403846,"filename":"image_05122025_02_44_14_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398006344","file0":"1398006342"},"map_files_photo_id_array":[{"photo_id":"1398006344","filename":"file1"},{"photo_id":"1398006342","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398006344":["hashtag1","hashtag2"]},{"1398006342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398006344, 1398006342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.742465257644653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:49:32.300831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/19/image_02122025_12_19_10_9651.jpg', '/home/pi/Desktop/images/02122025/12/19/image_02122025_12_19_20_10537.jpg', '/home/pi/Desktop/images/02122025/12/19/image_02122025_12_19_30_9697.jpg', '/home/pi/Desktop/images/02122025/12/19/image_02122025_12_19_40_9997.jpg', '/home/pi/Desktop/images/02122025/12/19/image_02122025_12_19_50_9820.jpg', '/home/pi/Desktop/images/02122025/12/19/image_02122025_12_20_00_10023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/19/image_02122025_12_19_10_9651.jpg
/home/pi/Desktop/images/02122025/12/19/image_02122025_12_19_20_10537.jpg
/home/pi/Desktop/images/02122025/12/19/image_02122025_12_19_30_9697.jpg
/home/pi/Desktop/images/02122025/12/19/image_02122025_12_19_40_9997.jpg
/home/pi/Desktop/images/02122025/12/19/image_02122025_12_19_50_9820.jpg
/home/pi/Desktop/images/02122025/12/19/image_02122025_12_20_00_10023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006356","1398006361","1398006358","1398006360","1398006354","1398006359"],"photo_ids_order":["1398006354","1398006356","1398006358","1398006359","1398006360","1398006361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/53f0fd1521ae53efe0ba2db9a815ffb3.jpg","text":"TemporaryFile(/tmp/multipartBody8736571515391323853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899434584,"filename":"image_02122025_12_19_20_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/5/6a726e58163ddd8b88c394928eac2e69.jpg","text":"TemporaryFile(/tmp/multipartBody8902036711520785555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899434584,"filename":"image_02122025_12_20_00_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/5/efd1b75ebf8c48e7ef97024f05b0040a.jpg","text":"TemporaryFile(/tmp/multipartBody5745135023647302994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899434584,"filename":"image_02122025_12_19_30_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/5/4553ec581fdbce949ddcc3b4a8e2952e.jpg","text":"TemporaryFile(/tmp/multipartBody8602692091739454068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899434584,"filename":"image_02122025_12_19_50_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/5/6d1c48d074efc074f0166f26901b1e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3604434171343080070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899434584,"filename":"image_02122025_12_19_10_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/5/8802befdccbe4dd4592a70e058f4cfe5.jpg","text":"TemporaryFile(/tmp/multipartBody2766499761516295011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899434584,"filename":"image_02122025_12_19_40_9997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006358","file1":"1398006356","file0":"1398006354","file4":"1398006360","file5":"1398006361","file3":"1398006359"},"map_files_photo_id_array":[{"photo_id":"1398006361","filename":"file5"},{"photo_id":"1398006358","filename":"file2"},{"photo_id":"1398006360","filename":"file4"},{"photo_id":"1398006356","filename":"file1"},{"photo_id":"1398006354","filename":"file0"},{"photo_id":"1398006359","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006356":["hashtag1","hashtag2"]},{"1398006361":["hashtag1","hashtag2"]},{"1398006358":["hashtag1","hashtag2"]},{"1398006360":["hashtag1","hashtag2"]},{"1398006354":["hashtag1","hashtag2"]},{"1398006359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006356, 1398006361, 1398006358, 1398006360, 1398006354, 1398006359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50809931755066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:50:12.365391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/20/image_02122025_12_20_11_10740.jpg', '/home/pi/Desktop/images/02122025/12/20/image_02122025_12_20_21_9900.jpg', '/home/pi/Desktop/images/02122025/12/20/image_02122025_12_20_30_9745.jpg', '/home/pi/Desktop/images/02122025/12/20/image_02122025_12_20_40_9822.jpg', '/home/pi/Desktop/images/02122025/12/20/image_02122025_12_20_50_9770.jpg', '/home/pi/Desktop/images/02122025/12/20/image_02122025_12_21_00_10290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/20/image_02122025_12_20_11_10740.jpg
/home/pi/Desktop/images/02122025/12/20/image_02122025_12_20_21_9900.jpg
/home/pi/Desktop/images/02122025/12/20/image_02122025_12_20_30_9745.jpg
/home/pi/Desktop/images/02122025/12/20/image_02122025_12_20_40_9822.jpg
/home/pi/Desktop/images/02122025/12/20/image_02122025_12_20_50_9770.jpg
/home/pi/Desktop/images/02122025/12/20/image_02122025_12_21_00_10290.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006362","1398006364","1398006367","1398006372","1398006375","1398006369"],"photo_ids_order":["1398006362","1398006364","1398006367","1398006369","1398006372","1398006375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20a3d7a98d9e4ecf89364d9746783d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3864398298150037032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899474463,"filename":"image_02122025_12_20_11_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/5/588187bd4f88e8fd11fcd18c4f85c976.jpg","text":"TemporaryFile(/tmp/multipartBody8421901134257588893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899474463,"filename":"image_02122025_12_20_21_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/da78cff656786591e02792d956fd9d44.jpg","text":"TemporaryFile(/tmp/multipartBody4502630726377419115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899474463,"filename":"image_02122025_12_20_30_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/5/e04137d68a3cc7a1568e2c11a5d4a023.jpg","text":"TemporaryFile(/tmp/multipartBody6554753063825209145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899474463,"filename":"image_02122025_12_20_50_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/5/2b1ed641601b06790bcda4bca741747c.jpg","text":"TemporaryFile(/tmp/multipartBody6690342797032982794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899474463,"filename":"image_02122025_12_21_00_10290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91490cf8fc6a5eeac604fd434c2c3f4a.jpg","text":"TemporaryFile(/tmp/multipartBody8639613499587498135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899474463,"filename":"image_02122025_12_20_40_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006367","file1":"1398006364","file0":"1398006362","file4":"1398006372","file5":"1398006375","file3":"1398006369"},"map_files_photo_id_array":[{"photo_id":"1398006375","filename":"file5"},{"photo_id":"1398006367","filename":"file2"},{"photo_id":"1398006372","filename":"file4"},{"photo_id":"1398006364","filename":"file1"},{"photo_id":"1398006362","filename":"file0"},{"photo_id":"1398006369","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006362":["hashtag1","hashtag2"]},{"1398006364":["hashtag1","hashtag2"]},{"1398006367":["hashtag1","hashtag2"]},{"1398006372":["hashtag1","hashtag2"]},{"1398006375":["hashtag1","hashtag2"]},{"1398006369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006362, 1398006364, 1398006367, 1398006372, 1398006375, 1398006369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.590805530548096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:51:03.541820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/48/image_05122025_02_48_34_9618.jpg', '/home/pi/Desktop/images/05122025/02/49/image_05122025_02_49_14_9913.jpg', '/home/pi/Desktop/images/05122025/02/49/image_05122025_02_49_44_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/48/image_05122025_02_48_34_9618.jpg
/home/pi/Desktop/images/05122025/02/49/image_05122025_02_49_14_9913.jpg
/home/pi/Desktop/images/05122025/02/49/image_05122025_02_49_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":["1398006390","1398006395","1398006392"],"photo_ids_order":["1398006390","1398006392","1398006395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ffe83204a1f5ad4fdad3317d7db95e8.jpg","text":"TemporaryFile(/tmp/multipartBody6158198263936970401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899524153,"filename":"image_05122025_02_48_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/5/5fc97c2e78230e084562475c99792892.jpg","text":"TemporaryFile(/tmp/multipartBody6783882283344226265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899524153,"filename":"image_05122025_02_49_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/5/7b014a4ec02739d1c09d8f33feec81b0.jpg","text":"TemporaryFile(/tmp/multipartBody3891991814020739359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899524153,"filename":"image_05122025_02_49_14_9913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006395","file1":"1398006392","file0":"1398006390"},"map_files_photo_id_array":[{"photo_id":"1398006395","filename":"file2"},{"photo_id":"1398006392","filename":"file1"},{"photo_id":"1398006390","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398006390":["hashtag1","hashtag2"]},{"1398006395":["hashtag1","hashtag2"]},{"1398006392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398006390, 1398006395, 1398006392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.29553246498108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 02:51:32.728958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/21/image_02122025_12_21_10_10095.jpg', '/home/pi/Desktop/images/02122025/12/21/image_02122025_12_21_21_10385.jpg', '/home/pi/Desktop/images/02122025/12/21/image_02122025_12_21_30_9678.jpg', '/home/pi/Desktop/images/02122025/12/21/image_02122025_12_21_40_9739.jpg', '/home/pi/Desktop/images/02122025/12/21/image_02122025_12_21_51_10663.jpg', '/home/pi/Desktop/images/02122025/12/21/image_02122025_12_22_00_9255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/21/image_02122025_12_21_10_10095.jpg
/home/pi/Desktop/images/02122025/12/21/image_02122025_12_21_21_10385.jpg
/home/pi/Desktop/images/02122025/12/21/image_02122025_12_21_30_9678.jpg
/home/pi/Desktop/images/02122025/12/21/image_02122025_12_21_40_9739.jpg
/home/pi/Desktop/images/02122025/12/21/image_02122025_12_21_51_10663.jpg
/home/pi/Desktop/images/02122025/12/21/image_02122025_12_22_00_9255.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006413","1398006401","1398006404","1398006412","1398006411","1398006408"],"photo_ids_order":["1398006401","1398006404","1398006408","1398006411","1398006412","1398006413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/75e85f76daa1c333a42b7e67288ba026.jpg","text":"TemporaryFile(/tmp/multipartBody6969768020400652723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899555033,"filename":"image_02122025_12_22_00_9255.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c63b0b02ac06326f5a9b78700da0b8aa.jpg","text":"TemporaryFile(/tmp/multipartBody5344663639634300824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899555033,"filename":"image_02122025_12_21_10_10095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/30bfe9a1e540aa6e579741350076bb06.jpg","text":"TemporaryFile(/tmp/multipartBody3591544957214400548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899555033,"filename":"image_02122025_12_21_21_10385.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4e18bab37cf877798a4877bdcd4e0db9.jpg","text":"TemporaryFile(/tmp/multipartBody8990682617062929459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899555033,"filename":"image_02122025_12_21_51_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/5/21a70f03140cf4f88fd70601a25937a3.jpg","text":"TemporaryFile(/tmp/multipartBody1444361883337051945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899555033,"filename":"image_02122025_12_21_40_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/5/22ede9fb3640e8a37b6a50994f6031cb.jpg","text":"TemporaryFile(/tmp/multipartBody2064895432523440776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899555033,"filename":"image_02122025_12_21_30_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006408","file1":"1398006404","file0":"1398006401","file4":"1398006412","file5":"1398006413","file3":"1398006411"},"map_files_photo_id_array":[{"photo_id":"1398006413","filename":"file5"},{"photo_id":"1398006408","filename":"file2"},{"photo_id":"1398006412","filename":"file4"},{"photo_id":"1398006404","filename":"file1"},{"photo_id":"1398006401","filename":"file0"},{"photo_id":"1398006411","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006413":["hashtag1","hashtag2"]},{"1398006401":["hashtag1","hashtag2"]},{"1398006404":["hashtag1","hashtag2"]},{"1398006412":["hashtag1","hashtag2"]},{"1398006411":["hashtag1","hashtag2"]},{"1398006408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006413, 1398006401, 1398006404, 1398006412, 1398006411, 1398006408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06110072135925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:52:21.956966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/49/image_05122025_02_49_54_9801.jpg', '/home/pi/Desktop/images/05122025/02/51/image_05122025_02_51_44_10829.jpg', '/home/pi/Desktop/images/05122025/02/51/image_05122025_02_51_54_9680.jpg', '/home/pi/Desktop/images/05122025/02/51/image_05122025_02_52_03_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/49/image_05122025_02_49_54_9801.jpg
/home/pi/Desktop/images/05122025/02/51/image_05122025_02_51_44_10829.jpg
/home/pi/Desktop/images/05122025/02/51/image_05122025_02_51_54_9680.jpg
/home/pi/Desktop/images/05122025/02/51/image_05122025_02_52_03_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006419","1398006421","1398006423","1398006417"],"photo_ids_order":["1398006417","1398006419","1398006421","1398006423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/59dc1e1d5ffe58988f02173417d6988f.jpg","text":"TemporaryFile(/tmp/multipartBody3622102402796556706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899602596,"filename":"image_05122025_02_51_44_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/5/81f3948760cdec86daac627c73d335f3.jpg","text":"TemporaryFile(/tmp/multipartBody1669350114194758636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899602596,"filename":"image_05122025_02_51_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/5/3b676f2f7107edbe9c9e359dfacb2a86.jpg","text":"TemporaryFile(/tmp/multipartBody4661519507285837135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899602596,"filename":"image_05122025_02_52_03_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/230afd75ee4c1e34b46330feeabf65cf.jpg","text":"TemporaryFile(/tmp/multipartBody6691206223947170880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899602596,"filename":"image_05122025_02_49_54_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006421","file1":"1398006419","file0":"1398006417","file3":"1398006423"},"map_files_photo_id_array":[{"photo_id":"1398006421","filename":"file2"},{"photo_id":"1398006419","filename":"file1"},{"photo_id":"1398006417","filename":"file0"},{"photo_id":"1398006423","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398006419":["hashtag1","hashtag2"]},{"1398006421":["hashtag1","hashtag2"]},{"1398006423":["hashtag1","hashtag2"]},{"1398006417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398006419, 1398006421, 1398006423, 1398006417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.899523496627808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:53:02.869927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/22/image_02122025_12_22_10_10200.jpg', '/home/pi/Desktop/images/02122025/12/22/image_02122025_12_22_20_9838.jpg', '/home/pi/Desktop/images/02122025/12/22/image_02122025_12_22_30_9872.jpg', '/home/pi/Desktop/images/02122025/12/22/image_02122025_12_22_41_10808.jpg', '/home/pi/Desktop/images/02122025/12/22/image_02122025_12_22_50_9605.jpg', '/home/pi/Desktop/images/02122025/12/22/image_02122025_12_23_00_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/22/image_02122025_12_22_10_10200.jpg
/home/pi/Desktop/images/02122025/12/22/image_02122025_12_22_20_9838.jpg
/home/pi/Desktop/images/02122025/12/22/image_02122025_12_22_30_9872.jpg
/home/pi/Desktop/images/02122025/12/22/image_02122025_12_22_41_10808.jpg
/home/pi/Desktop/images/02122025/12/22/image_02122025_12_22_50_9605.jpg
/home/pi/Desktop/images/02122025/12/22/image_02122025_12_23_00_9843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006449","1398006457","1398006451","1398006453","1398006447","1398006444"],"photo_ids_order":["1398006444","1398006447","1398006449","1398006451","1398006453","1398006457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/248fab177fc0bb212ab55c9e29912769.jpg","text":"TemporaryFile(/tmp/multipartBody7091975202641479857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899644581,"filename":"image_02122025_12_22_30_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/5/4dfb3ea8c6be34144e63a5af9937e032.jpg","text":"TemporaryFile(/tmp/multipartBody4107544886790119095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899644581,"filename":"image_02122025_12_23_00_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/5/9dbad9a5f130622444b475128396855a.jpg","text":"TemporaryFile(/tmp/multipartBody4244931169476401771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899644581,"filename":"image_02122025_12_22_41_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/5/dabc9e1476bb08f8059543800da8b696.jpg","text":"TemporaryFile(/tmp/multipartBody8205018429425396269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899644581,"filename":"image_02122025_12_22_50_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/5/8b4c5d26a03ab3a0c8fa2eb0c9c6fb5f.jpg","text":"TemporaryFile(/tmp/multipartBody5691831662548981312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899644581,"filename":"image_02122025_12_22_20_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/5/e6e8d4b588477543350ace314535d65d.jpg","text":"TemporaryFile(/tmp/multipartBody9097829587710698892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899644581,"filename":"image_02122025_12_22_10_10200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006449","file1":"1398006447","file0":"1398006444","file4":"1398006453","file5":"1398006457","file3":"1398006451"},"map_files_photo_id_array":[{"photo_id":"1398006457","filename":"file5"},{"photo_id":"1398006449","filename":"file2"},{"photo_id":"1398006453","filename":"file4"},{"photo_id":"1398006447","filename":"file1"},{"photo_id":"1398006444","filename":"file0"},{"photo_id":"1398006451","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398006449":["hashtag1","hashtag2"]},{"1398006457":["hashtag1","hashtag2"]},{"1398006451":["hashtag1","hashtag2"]},{"1398006453":["hashtag1","hashtag2"]},{"1398006447":["hashtag1","hashtag2"]},{"1398006444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398006449, 1398006457, 1398006451, 1398006453, 1398006447, 1398006444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.044466733932495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:53:42.252534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_04_3691.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_06_2695.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_09_2692.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_13_3665.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_15_2800.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_18_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_04_3691.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_06_2695.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_09_2692.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_13_3665.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_15_2800.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_18_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":["1398006463","1398006472","1398006466","1398006474","1398006468","1398006470"],"photo_ids_order":["1398006463","1398006466","1398006468","1398006470","1398006472","1398006474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c3ba3ff7659f0ecee2aac391acb1caa.jpg","text":"TemporaryFile(/tmp/multipartBody6902794697433997158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899683799,"filename":"image_31102025_18_13_04_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/5/c6321e4293f4a28d7febcb68912ac5ac.jpg","text":"TemporaryFile(/tmp/multipartBody6847334746914941438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899683799,"filename":"image_31102025_18_13_15_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/5/08a65fcd8b7fdbc37c5b40b03c4935f9.jpg","text":"TemporaryFile(/tmp/multipartBody7695823901978322563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899683799,"filename":"image_31102025_18_13_06_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/5/d3b1153292dd4c48eb0d0eeb01738020.jpg","text":"TemporaryFile(/tmp/multipartBody8524441648840577382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899683799,"filename":"image_31102025_18_13_18_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/5/9eebd275ed4fae172fdd80013e01c1d0.jpg","text":"TemporaryFile(/tmp/multipartBody1087276475030265731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899683799,"filename":"image_31102025_18_13_09_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0eda247827e852e885edafa105ad44dc.jpg","text":"TemporaryFile(/tmp/multipartBody7372171928093042101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899683799,"filename":"image_31102025_18_13_13_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006468","file1":"1398006466","file0":"1398006463","file4":"1398006472","file5":"1398006474","file3":"1398006470"},"map_files_photo_id_array":[{"photo_id":"1398006474","filename":"file5"},{"photo_id":"1398006468","filename":"file2"},{"photo_id":"1398006472","filename":"file4"},{"photo_id":"1398006466","filename":"file1"},{"photo_id":"1398006463","filename":"file0"},{"photo_id":"1398006470","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006463":["hashtag1","hashtag2"]},{"1398006472":["hashtag1","hashtag2"]},{"1398006466":["hashtag1","hashtag2"]},{"1398006474":["hashtag1","hashtag2"]},{"1398006468":["hashtag1","hashtag2"]},{"1398006470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006463, 1398006472, 1398006466, 1398006474, 1398006468, 1398006470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39283537864685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:54:22.418593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/52/image_05122025_02_52_34_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/52/image_05122025_02_52_34_9717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006478"],"photo_id":"1398006478","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ab4a5a8b098e2cc607192d0466b75e1.jpg","text":"TemporaryFile(/tmp/multipartBody8263659608847677518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899722899,"filename":"image_05122025_02_52_34_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398006478"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398006478"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.973598957061768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:54:42.380883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_21_2682.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_24_3676.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_27_2711.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_30_2656.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_33_2833.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_36_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_21_2682.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_24_3676.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_27_2711.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_30_2656.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_33_2833.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_36_3728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006493","1398006496","1398006495","1398006494","1398006497","1398006491"],"photo_ids_order":["1398006491","1398006493","1398006494","1398006495","1398006496","1398006497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/82439ffa4e18aaf3611d326e96a12ae6.jpg","text":"TemporaryFile(/tmp/multipartBody2821860109159742742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899744036,"filename":"image_31102025_18_13_24_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/5/4923e3fa1039d7e4abbdb29a7cfa1650.jpg","text":"TemporaryFile(/tmp/multipartBody6848318563312299039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899744036,"filename":"image_31102025_18_13_33_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0eca29d938a4ff7a5b2610ad1d231fdc.jpg","text":"TemporaryFile(/tmp/multipartBody8169003076228701996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899744036,"filename":"image_31102025_18_13_30_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/5/3942591a82c5ae061275b96e0e92f9bd.jpg","text":"TemporaryFile(/tmp/multipartBody6052538470223422275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899744036,"filename":"image_31102025_18_13_27_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5365094a0edfeb682cad2ef0d72a95d.jpg","text":"TemporaryFile(/tmp/multipartBody1224129039662615774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899744036,"filename":"image_31102025_18_13_36_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/5/95aa58a1d11152d675206abc2fb893df.jpg","text":"TemporaryFile(/tmp/multipartBody5684082003286319514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899744036,"filename":"image_31102025_18_13_21_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006494","file1":"1398006493","file0":"1398006491","file4":"1398006496","file5":"1398006497","file3":"1398006495"},"map_files_photo_id_array":[{"photo_id":"1398006497","filename":"file5"},{"photo_id":"1398006494","filename":"file2"},{"photo_id":"1398006496","filename":"file4"},{"photo_id":"1398006493","filename":"file1"},{"photo_id":"1398006491","filename":"file0"},{"photo_id":"1398006495","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006493":["hashtag1","hashtag2"]},{"1398006496":["hashtag1","hashtag2"]},{"1398006495":["hashtag1","hashtag2"]},{"1398006494":["hashtag1","hashtag2"]},{"1398006497":["hashtag1","hashtag2"]},{"1398006491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006493, 1398006496, 1398006495, 1398006494, 1398006497, 1398006491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57131743431091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:55:22.530000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/53/image_05122025_02_53_14_9846.jpg', '/home/pi/Desktop/images/05122025/02/55/image_05122025_02_55_14_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/53/image_05122025_02_53_14_9846.jpg
/home/pi/Desktop/images/05122025/02/55/image_05122025_02_55_14_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006502","1398006504"],"photo_ids_order":["1398006502","1398006504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f6864a09b96883a1a4af3729c55417d5.jpg","text":"TemporaryFile(/tmp/multipartBody519410243257426562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899783086,"filename":"image_05122025_02_53_14_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/5/1af2412ae69ba01008d594b29d539d19.jpg","text":"TemporaryFile(/tmp/multipartBody2595488634646046669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899783086,"filename":"image_05122025_02_55_14_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398006504","file0":"1398006502"},"map_files_photo_id_array":[{"photo_id":"1398006504","filename":"file1"},{"photo_id":"1398006502","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398006502":["hashtag1","hashtag2"]},{"1398006504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398006502, 1398006504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.60344099998474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:55:42.552954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_39_2522.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_42_2729.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_45_3766.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_48_2677.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_51_2670.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_54_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_39_2522.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_42_2729.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_45_3766.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_48_2677.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_51_2670.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_54_3684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006512","1398006511","1398006514","1398006508","1398006510","1398006513"],"photo_ids_order":["1398006508","1398006510","1398006511","1398006512","1398006513","1398006514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/88ce9ce70dfcf32f1abeab16bcdd458d.jpg","text":"TemporaryFile(/tmp/multipartBody8666701185624151506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899804215,"filename":"image_31102025_18_13_48_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/5/932d67eaa69224380c11415a6bf73b33.jpg","text":"TemporaryFile(/tmp/multipartBody3984564214136702694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899804215,"filename":"image_31102025_18_13_45_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/5/a3dd30f8afe172bb5dde8aab760c9df2.jpg","text":"TemporaryFile(/tmp/multipartBody6546007145139480446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899804215,"filename":"image_31102025_18_13_54_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/5/3959eccdfc975301e1f0371ef1b689fb.jpg","text":"TemporaryFile(/tmp/multipartBody5309916431447648484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899804215,"filename":"image_31102025_18_13_39_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/5/59fd7495d96c28e8763fcd0b5c46c678.jpg","text":"TemporaryFile(/tmp/multipartBody8976913374258915744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899804215,"filename":"image_31102025_18_13_42_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/5/fb24b14368ccf56f7f30ed86cc047bee.jpg","text":"TemporaryFile(/tmp/multipartBody7979681303687059575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899804215,"filename":"image_31102025_18_13_51_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006511","file1":"1398006510","file0":"1398006508","file4":"1398006513","file5":"1398006514","file3":"1398006512"},"map_files_photo_id_array":[{"photo_id":"1398006514","filename":"file5"},{"photo_id":"1398006511","filename":"file2"},{"photo_id":"1398006513","filename":"file4"},{"photo_id":"1398006510","filename":"file1"},{"photo_id":"1398006508","filename":"file0"},{"photo_id":"1398006512","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006512":["hashtag1","hashtag2"]},{"1398006511":["hashtag1","hashtag2"]},{"1398006514":["hashtag1","hashtag2"]},{"1398006508":["hashtag1","hashtag2"]},{"1398006510":["hashtag1","hashtag2"]},{"1398006513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006512, 1398006511, 1398006514, 1398006508, 1398006510, 1398006513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48683476448059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:56:22.688512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/55/image_05122025_02_55_23_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/55/image_05122025_02_55_23_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006520"],"photo_id":"1398006520","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/00495a6baaff959595f793c8ad548001.jpg","text":"TemporaryFile(/tmp/multipartBody3115250703410888270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899843185,"filename":"image_05122025_02_55_23_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398006520"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398006520"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.245491981506348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:56:42.747077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_57_2725.jpg', '/home/pi/Desktop/images/31102025/18/13/image_31102025_18_14_00_2559.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_03_2871.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_06_3831.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_09_2558.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_12_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_13_57_2725.jpg
/home/pi/Desktop/images/31102025/18/13/image_31102025_18_14_00_2559.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_03_2871.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_06_3831.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_09_2558.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_12_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":["1398006536","1398006535","1398006538","1398006532","1398006534","1398006537"],"photo_ids_order":["1398006532","1398006534","1398006535","1398006536","1398006537","1398006538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cccb4a69b4875cfaf47e63a6144e533e.jpg","text":"TemporaryFile(/tmp/multipartBody5530031053543810485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899864339,"filename":"image_31102025_18_14_06_3831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/27b3232a4e7de6ae89ae3866354aab5a.jpg","text":"TemporaryFile(/tmp/multipartBody860615199469715891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899864339,"filename":"image_31102025_18_14_03_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/5/c608298c0804fe0cab0d65069d57866a.jpg","text":"TemporaryFile(/tmp/multipartBody2784006875863664540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899864339,"filename":"image_31102025_18_14_12_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/5/d2f4c0cea9421c3ce4eca758286bd8de.jpg","text":"TemporaryFile(/tmp/multipartBody8919471746552144099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899864339,"filename":"image_31102025_18_13_57_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/5/9428e4026985f2d8c90ccd953c30df47.jpg","text":"TemporaryFile(/tmp/multipartBody3926867024152516826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899864339,"filename":"image_31102025_18_14_00_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a3e1a65190547775d2a8d4a8ba1daa0.jpg","text":"TemporaryFile(/tmp/multipartBody1236176116207838892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899864339,"filename":"image_31102025_18_14_09_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006535","file1":"1398006534","file0":"1398006532","file4":"1398006537","file5":"1398006538","file3":"1398006536"},"map_files_photo_id_array":[{"photo_id":"1398006538","filename":"file5"},{"photo_id":"1398006535","filename":"file2"},{"photo_id":"1398006537","filename":"file4"},{"photo_id":"1398006534","filename":"file1"},{"photo_id":"1398006532","filename":"file0"},{"photo_id":"1398006536","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006536":["hashtag1","hashtag2"]},{"1398006535":["hashtag1","hashtag2"]},{"1398006538":["hashtag1","hashtag2"]},{"1398006532":["hashtag1","hashtag2"]},{"1398006534":["hashtag1","hashtag2"]},{"1398006537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006536, 1398006535, 1398006538, 1398006532, 1398006534, 1398006537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09256458282471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:57:21.916052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/56/image_05122025_02_56_34_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/56/image_05122025_02_56_34_9790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006543"],"photo_id":"1398006543","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a3da80289002242fba38884b6daa7f64.jpg","text":"TemporaryFile(/tmp/multipartBody8938180791455751693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899902428,"filename":"image_05122025_02_56_34_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398006543"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398006543"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.525529146194458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:57:41.916273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_15_3691.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_18_2836.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_21_2516.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_24_3702.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_27_2765.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_30_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_15_3691.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_18_2836.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_21_2516.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_24_3702.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_27_2765.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_30_2685.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006545","1398006548","1398006544","1398006547","1398006546","1398006549"],"photo_ids_order":["1398006544","1398006545","1398006546","1398006547","1398006548","1398006549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/610216754ca63eec9489d6c74494b74b.jpg","text":"TemporaryFile(/tmp/multipartBody7769789190608472604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899923498,"filename":"image_31102025_18_14_18_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ec1f84157e2760b187c63a5111b1a52.jpg","text":"TemporaryFile(/tmp/multipartBody988972888147092292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899923498,"filename":"image_31102025_18_14_27_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/5/9138964dabd9f482dbd6584395a02108.jpg","text":"TemporaryFile(/tmp/multipartBody3678754384413625836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899923498,"filename":"image_31102025_18_14_15_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/5/fe6915ab5223c26f358733441d7b8691.jpg","text":"TemporaryFile(/tmp/multipartBody3391523106126053861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899923498,"filename":"image_31102025_18_14_24_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/5/da23f40d3a7e43947036672a24155299.jpg","text":"TemporaryFile(/tmp/multipartBody3758124171026501898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899923498,"filename":"image_31102025_18_14_21_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/5/ed261dc3ea66e414e7a9a5368458a37c.jpg","text":"TemporaryFile(/tmp/multipartBody9210332708023419352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764899923498,"filename":"image_31102025_18_14_30_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006546","file1":"1398006545","file0":"1398006544","file4":"1398006548","file5":"1398006549","file3":"1398006547"},"map_files_photo_id_array":[{"photo_id":"1398006549","filename":"file5"},{"photo_id":"1398006546","filename":"file2"},{"photo_id":"1398006548","filename":"file4"},{"photo_id":"1398006545","filename":"file1"},{"photo_id":"1398006544","filename":"file0"},{"photo_id":"1398006547","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006545":["hashtag1","hashtag2"]},{"1398006548":["hashtag1","hashtag2"]},{"1398006544":["hashtag1","hashtag2"]},{"1398006547":["hashtag1","hashtag2"]},{"1398006546":["hashtag1","hashtag2"]},{"1398006549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006545, 1398006548, 1398006544, 1398006547, 1398006546, 1398006549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.681735038757324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 02:59:03.177107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/57/image_05122025_02_57_54_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/57/image_05122025_02_57_54_9724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006550"],"photo_id":"1398006550","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ae33920aa94ab3496592ea7377189309.jpg","text":"TemporaryFile(/tmp/multipartBody2753633984681505928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900003782,"filename":"image_05122025_02_57_54_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398006550"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398006550"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.456784725189209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 02:59:22.234901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/58/image_05122025_02_58_43_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/58/image_05122025_02_58_43_9628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006559"],"photo_id":"1398006559","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2bc8734064971593a3a3ab9401ebc19f.jpg","text":"TemporaryFile(/tmp/multipartBody817443088319173828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900022746,"filename":"image_05122025_02_58_43_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398006559"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398006559"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.122092485427856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 02:59:42.305367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_33_3554.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_36_2525.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_39_2653.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_42_3675.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_45_2727.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_48_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_33_3554.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_36_2525.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_39_2653.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_42_3675.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_45_2727.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_48_2542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398006725","1398006800","1398006763","1398006885","1398006687","1398006846"],"photo_ids_order":["1398006687","1398006725","1398006763","1398006800","1398006846","1398006885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dd1bbc27e600a40b62340959f3c88c11.jpg","text":"TemporaryFile(/tmp/multipartBody791736816486592140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900043804,"filename":"image_31102025_18_14_36_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/5/d2546d78f61eb4ced67c7b3af3ed0151.jpg","text":"TemporaryFile(/tmp/multipartBody3671802632913206407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900043804,"filename":"image_31102025_18_14_42_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/5/9357e99be4eefe5d7c2785a6d31f3ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8573033460245977174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900043804,"filename":"image_31102025_18_14_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/5/94050588432202846a4e63fe8a0b2486.jpg","text":"TemporaryFile(/tmp/multipartBody5528793209533039672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900043804,"filename":"image_31102025_18_14_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/5/040a6ad6275765a8fa04f25303b989b6.jpg","text":"TemporaryFile(/tmp/multipartBody1279339450288684029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900043804,"filename":"image_31102025_18_14_33_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/5/b8e55d9b8158095f46ed0a5c0ec2a3ae.jpg","text":"TemporaryFile(/tmp/multipartBody1479472452169663559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900043804,"filename":"image_31102025_18_14_45_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398006763","file1":"1398006725","file0":"1398006687","file4":"1398006846","file5":"1398006885","file3":"1398006800"},"map_files_photo_id_array":[{"photo_id":"1398006885","filename":"file5"},{"photo_id":"1398006763","filename":"file2"},{"photo_id":"1398006846","filename":"file4"},{"photo_id":"1398006725","filename":"file1"},{"photo_id":"1398006687","filename":"file0"},{"photo_id":"1398006800","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398006725":["hashtag1","hashtag2"]},{"1398006800":["hashtag1","hashtag2"]},{"1398006763":["hashtag1","hashtag2"]},{"1398006885":["hashtag1","hashtag2"]},{"1398006687":["hashtag1","hashtag2"]},{"1398006846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398006725, 1398006800, 1398006763, 1398006885, 1398006687, 1398006846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99257135391235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:00:22.527688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/02/59/image_05122025_02_59_23_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/02/59/image_05122025_02_59_23_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398007008"],"photo_id":"1398007008","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b7ecdf2aae4ca689bfbb3302ea8fa02.jpg","text":"TemporaryFile(/tmp/multipartBody1196812302230223794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900083072,"filename":"image_05122025_02_59_23_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398007008"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398007008"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.669898748397827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:00:42.502859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_51_3779.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_54_2610.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_57_2747.jpg', '/home/pi/Desktop/images/31102025/18/14/image_31102025_18_15_00_3596.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_03_2608.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_06_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_51_3779.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_54_2610.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_14_57_2747.jpg
/home/pi/Desktop/images/31102025/18/14/image_31102025_18_15_00_3596.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_03_2608.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_06_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":["1398007375","1398007297","1398007261","1398007182","1398007221","1398007334"],"photo_ids_order":["1398007182","1398007221","1398007261","1398007297","1398007334","1398007375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03ac2b20bf8b06a6b99b13b91e956ae2.jpg","text":"TemporaryFile(/tmp/multipartBody5480186812625473850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900104098,"filename":"image_31102025_18_15_06_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/5/cf30172987865e2a8ff345b7af7cb285.jpg","text":"TemporaryFile(/tmp/multipartBody7400151195045055659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900104098,"filename":"image_31102025_18_15_00_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/5/0bc1dc4b4906a62a265ebf3fe3a0b05f.jpg","text":"TemporaryFile(/tmp/multipartBody2328571008850045328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900104098,"filename":"image_31102025_18_14_57_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/5/f3c5abea10a31c483ae3faa5f20d8ba5.jpg","text":"TemporaryFile(/tmp/multipartBody8558289113629873527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900104098,"filename":"image_31102025_18_14_51_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/5/72bfb0a44a85afbefcec099e3cbb5f80.jpg","text":"TemporaryFile(/tmp/multipartBody9180290915252107400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900104098,"filename":"image_31102025_18_14_54_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba9b4eb32254beedd066f3e04021a4a3.jpg","text":"TemporaryFile(/tmp/multipartBody2861762803436142462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900104098,"filename":"image_31102025_18_15_03_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398007261","file1":"1398007221","file0":"1398007182","file4":"1398007334","file5":"1398007375","file3":"1398007297"},"map_files_photo_id_array":[{"photo_id":"1398007375","filename":"file5"},{"photo_id":"1398007261","filename":"file2"},{"photo_id":"1398007334","filename":"file4"},{"photo_id":"1398007221","filename":"file1"},{"photo_id":"1398007182","filename":"file0"},{"photo_id":"1398007297","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398007375":["hashtag1","hashtag2"]},{"1398007297":["hashtag1","hashtag2"]},{"1398007261":["hashtag1","hashtag2"]},{"1398007182":["hashtag1","hashtag2"]},{"1398007221":["hashtag1","hashtag2"]},{"1398007334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398007375, 1398007297, 1398007261, 1398007182, 1398007221, 1398007334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05919528007507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:01:22.649573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/00/image_05122025_03_00_54_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/00/image_05122025_03_00_54_10740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398007416"],"photo_id":"1398007416","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/083d40859182266e8293d03a31b3a78a.jpg","text":"TemporaryFile(/tmp/multipartBody8208857351713645661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900143153,"filename":"image_05122025_03_00_54_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398007416"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398007416"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.04405951499939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:01:42.721697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_09_3676.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_12_2575.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_15_2653.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_18_3695.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_21_2670.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_24_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_09_3676.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_12_2575.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_15_2653.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_18_3695.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_21_2670.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_24_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":["1398007421","1398007429","1398007423","1398007425","1398007419","1398007427"],"photo_ids_order":["1398007419","1398007421","1398007423","1398007425","1398007427","1398007429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cfa1fef66912f0dd56dd5d1b4d3e3053.jpg","text":"TemporaryFile(/tmp/multipartBody4683081231276905501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900164316,"filename":"image_31102025_18_15_12_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/5/a259ca358003a250a587576a1d52b2df.jpg","text":"TemporaryFile(/tmp/multipartBody2276509136973498698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900164316,"filename":"image_31102025_18_15_24_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/5/a575f51dcb5451abacc9fe0aa22921b9.jpg","text":"TemporaryFile(/tmp/multipartBody1280247975242431531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900164316,"filename":"image_31102025_18_15_15_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/5/9f43b80ae4199a91a392aa995a1fee52.jpg","text":"TemporaryFile(/tmp/multipartBody2801076838026220868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900164316,"filename":"image_31102025_18_15_18_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/5/273eb459041bdb53721ad92b11efaa48.jpg","text":"TemporaryFile(/tmp/multipartBody953024085214765132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900164316,"filename":"image_31102025_18_15_09_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/5/6136a7ffc69a30f50874c1ab407d35f3.jpg","text":"TemporaryFile(/tmp/multipartBody76763147778098250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900164316,"filename":"image_31102025_18_15_21_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398007423","file1":"1398007421","file0":"1398007419","file4":"1398007427","file5":"1398007429","file3":"1398007425"},"map_files_photo_id_array":[{"photo_id":"1398007429","filename":"file5"},{"photo_id":"1398007423","filename":"file2"},{"photo_id":"1398007427","filename":"file4"},{"photo_id":"1398007421","filename":"file1"},{"photo_id":"1398007419","filename":"file0"},{"photo_id":"1398007425","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398007421":["hashtag1","hashtag2"]},{"1398007429":["hashtag1","hashtag2"]},{"1398007423":["hashtag1","hashtag2"]},{"1398007425":["hashtag1","hashtag2"]},{"1398007419":["hashtag1","hashtag2"]},{"1398007427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398007421, 1398007429, 1398007423, 1398007425, 1398007419, 1398007427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21061682701111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:02:21.991356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/00/image_05122025_03_01_04_9615.jpg', '/home/pi/Desktop/images/05122025/03/01/image_05122025_03_02_03_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/00/image_05122025_03_01_04_9615.jpg
/home/pi/Desktop/images/05122025/03/01/image_05122025_03_02_03_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398007623","1398007697"],"photo_ids_order":["1398007623","1398007697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b5e7c59c582a53b6e0743dd937d8f58.jpg","text":"TemporaryFile(/tmp/multipartBody9036315315512613053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900202545,"filename":"image_05122025_03_01_04_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/466abf9a2693d931cb8890a3f4ade90a.jpg","text":"TemporaryFile(/tmp/multipartBody5187716354644743738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900202545,"filename":"image_05122025_03_02_03_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398007697","file0":"1398007623"},"map_files_photo_id_array":[{"photo_id":"1398007697","filename":"file1"},{"photo_id":"1398007623","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398007623":["hashtag1","hashtag2"]},{"1398007697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398007623, 1398007697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.0296847820282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:02:41.928804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_27_3671.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_30_2506.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_33_3621.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_36_2846.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_39_2739.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_42_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_27_3671.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_30_2506.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_33_3621.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_36_2846.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_39_2739.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_42_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":["1398008005","1398007966","1398008043","1398008205","1398008081","1398008126"],"photo_ids_order":["1398007966","1398008005","1398008043","1398008081","1398008126","1398008205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7af65dfb64a493e382a274a38271ff1b.jpg","text":"TemporaryFile(/tmp/multipartBody1011442671867812095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900223537,"filename":"image_31102025_18_15_30_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1dad95b42e9bd620171c75d2d581afa7.jpg","text":"TemporaryFile(/tmp/multipartBody5751724336011771737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900223537,"filename":"image_31102025_18_15_27_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/5/fbd797ef4158b36b441a303efeb90bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6909173597774468116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900223537,"filename":"image_31102025_18_15_33_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/5/0d2d364d90203e1c641d5d4fe434b015.jpg","text":"TemporaryFile(/tmp/multipartBody5398450454633712886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900223537,"filename":"image_31102025_18_15_42_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/5/87ef46771114bcb61a4336345cb116ee.jpg","text":"TemporaryFile(/tmp/multipartBody4731563816457328762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900223537,"filename":"image_31102025_18_15_36_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ee74268783cb21c3a46b6eaa8a5e80f.jpg","text":"TemporaryFile(/tmp/multipartBody3113186199249577281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900223537,"filename":"image_31102025_18_15_39_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398008043","file1":"1398008005","file0":"1398007966","file4":"1398008126","file5":"1398008205","file3":"1398008081"},"map_files_photo_id_array":[{"photo_id":"1398008205","filename":"file5"},{"photo_id":"1398008043","filename":"file2"},{"photo_id":"1398008126","filename":"file4"},{"photo_id":"1398008005","filename":"file1"},{"photo_id":"1398007966","filename":"file0"},{"photo_id":"1398008081","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398008005":["hashtag1","hashtag2"]},{"1398007966":["hashtag1","hashtag2"]},{"1398008043":["hashtag1","hashtag2"]},{"1398008205":["hashtag1","hashtag2"]},{"1398008081":["hashtag1","hashtag2"]},{"1398008126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398008005, 1398007966, 1398008043, 1398008205, 1398008081, 1398008126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49953746795654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:03:22.075621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/02/image_05122025_03_02_14_10721.jpg', '/home/pi/Desktop/images/05122025/03/03/image_05122025_03_03_14_10602.jpg', '/home/pi/Desktop/images/05122025/03/03/image_05122025_03_03_43_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/02/image_05122025_03_02_14_10721.jpg
/home/pi/Desktop/images/05122025/03/03/image_05122025_03_03_14_10602.jpg
/home/pi/Desktop/images/05122025/03/03/image_05122025_03_03_43_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398008499","1398008404","1398008457"],"photo_ids_order":["1398008404","1398008457","1398008499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9304eecb94c99847068d2003df8afb71.jpg","text":"TemporaryFile(/tmp/multipartBody7265156644648755778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900262689,"filename":"image_05122025_03_03_43_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/5/41032e41d894d255a1257634681ada44.jpg","text":"TemporaryFile(/tmp/multipartBody9154195784524042932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900262689,"filename":"image_05122025_03_02_14_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/5/b409cf7e2e81bb439ea53815d14b3794.jpg","text":"TemporaryFile(/tmp/multipartBody4027226491540524597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900262689,"filename":"image_05122025_03_03_14_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398008499","file1":"1398008457","file0":"1398008404"},"map_files_photo_id_array":[{"photo_id":"1398008499","filename":"file2"},{"photo_id":"1398008457","filename":"file1"},{"photo_id":"1398008404","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398008499":["hashtag1","hashtag2"]},{"1398008404":["hashtag1","hashtag2"]},{"1398008457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398008499, 1398008404, 1398008457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.20745348930359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:04:02.845375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_10_9682.jpg', '/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_21_10849.jpg', '/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_30_9685.jpg', '/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_40_9749.jpg', '/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_50_9823.jpg', '/home/pi/Desktop/images/02122025/12/23/image_02122025_12_24_01_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_10_9682.jpg
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_21_10849.jpg
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_30_9685.jpg
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_40_9749.jpg
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_50_9823.jpg
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_24_01_10742.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5079240798950195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:04:12.174153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_10_9682.jpg', '/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_21_10849.jpg', '/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_30_9685.jpg', '/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_40_9749.jpg', '/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_50_9823.jpg', '/home/pi/Desktop/images/02122025/12/23/image_02122025_12_24_01_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_10_9682.jpg
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_21_10849.jpg
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_30_9685.jpg
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_40_9749.jpg
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_23_50_9823.jpg
/home/pi/Desktop/images/02122025/12/23/image_02122025_12_24_01_10742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398008929","1398008931","1398008925","1398008852","1398008927","1398008899"],"photo_ids_order":["1398008852","1398008899","1398008925","1398008927","1398008929","1398008931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab918f66df3210895b3e4d1a7fb9c891.jpg","text":"TemporaryFile(/tmp/multipartBody4166768526578232697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900313894,"filename":"image_02122025_12_23_50_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/5/e643af336558cbe55928b20cba137b0b.jpg","text":"TemporaryFile(/tmp/multipartBody4038353615769103182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900313894,"filename":"image_02122025_12_24_01_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/5/14ff7df37a0197a72d4dcfd3769feb83.jpg","text":"TemporaryFile(/tmp/multipartBody9134150878431231383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900313894,"filename":"image_02122025_12_23_30_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/5/ea05e783ccaefebe63937064bccd3a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6948946868934050637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900313894,"filename":"image_02122025_12_23_10_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/5/27858c16a0b9721d4b8eb47a98063368.jpg","text":"TemporaryFile(/tmp/multipartBody5211100698981849943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900313894,"filename":"image_02122025_12_23_40_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/5/0a1dcbfcd548e00f5c1a4415ba413d2c.jpg","text":"TemporaryFile(/tmp/multipartBody3395627261519078521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900313894,"filename":"image_02122025_12_23_21_10849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398008925","file1":"1398008899","file0":"1398008852","file4":"1398008929","file5":"1398008931","file3":"1398008927"},"map_files_photo_id_array":[{"photo_id":"1398008931","filename":"file5"},{"photo_id":"1398008925","filename":"file2"},{"photo_id":"1398008929","filename":"file4"},{"photo_id":"1398008899","filename":"file1"},{"photo_id":"1398008852","filename":"file0"},{"photo_id":"1398008927","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398008929":["hashtag1","hashtag2"]},{"1398008931":["hashtag1","hashtag2"]},{"1398008925":["hashtag1","hashtag2"]},{"1398008852":["hashtag1","hashtag2"]},{"1398008927":["hashtag1","hashtag2"]},{"1398008899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398008929, 1398008931, 1398008925, 1398008852, 1398008927, 1398008899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52638006210327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:05:03.070327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/03/image_05122025_03_03_53_9925.jpg', '/home/pi/Desktop/images/05122025/03/03/image_05122025_03_04_04_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/03/image_05122025_03_03_53_9925.jpg
/home/pi/Desktop/images/05122025/03/03/image_05122025_03_04_04_10570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398008941","1398008943"],"photo_ids_order":["1398008941","1398008943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2130e7829f5e6f82952dc522c6db579.jpg","text":"TemporaryFile(/tmp/multipartBody2844393727732524543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900363623,"filename":"image_05122025_03_03_53_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/5/ec367c77692cbb0f069f58b2da8deed1.jpg","text":"TemporaryFile(/tmp/multipartBody84052940052919753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900363623,"filename":"image_05122025_03_04_04_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398008943","file0":"1398008941"},"map_files_photo_id_array":[{"photo_id":"1398008943","filename":"file1"},{"photo_id":"1398008941","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398008941":["hashtag1","hashtag2"]},{"1398008943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398008941, 1398008943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.70381474494934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:05:22.355177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/04/image_05122025_03_04_14_9756.jpg', '/home/pi/Desktop/images/05122025/03/05/image_05122025_03_05_14_9764.jpg', '/home/pi/Desktop/images/05122025/03/05/image_05122025_03_05_24_10376.jpg', '/home/pi/Desktop/images/05122025/03/05/image_05122025_03_05_43_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/04/image_05122025_03_04_14_9756.jpg
/home/pi/Desktop/images/05122025/03/05/image_05122025_03_05_14_9764.jpg
/home/pi/Desktop/images/05122025/03/05/image_05122025_03_05_24_10376.jpg
/home/pi/Desktop/images/05122025/03/05/image_05122025_03_05_43_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":["1398009123","1398009039","1398009287","1398009203"],"photo_ids_order":["1398009039","1398009123","1398009203","1398009287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c9577b8da0c58a7c85c3cad796e7712.jpg","text":"TemporaryFile(/tmp/multipartBody9164635315407228971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900382966,"filename":"image_05122025_03_05_14_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/355e5596c87cf12c09033f2ffeb42537.jpg","text":"TemporaryFile(/tmp/multipartBody1598438066573892536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900382966,"filename":"image_05122025_03_04_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54dc47e71ce4e31cf6c162a89af7929a.jpg","text":"TemporaryFile(/tmp/multipartBody6012162474076032274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900382966,"filename":"image_05122025_03_05_43_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/5/7c33f303188e3a0e17ccfc251981f35d.jpg","text":"TemporaryFile(/tmp/multipartBody8810319273353803513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900382966,"filename":"image_05122025_03_05_24_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398009203","file1":"1398009123","file0":"1398009039","file3":"1398009287"},"map_files_photo_id_array":[{"photo_id":"1398009203","filename":"file2"},{"photo_id":"1398009123","filename":"file1"},{"photo_id":"1398009039","filename":"file0"},{"photo_id":"1398009287","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398009123":["hashtag1","hashtag2"]},{"1398009039":["hashtag1","hashtag2"]},{"1398009287":["hashtag1","hashtag2"]},{"1398009203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398009123, 1398009039, 1398009287, 1398009203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.071722745895386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:06:03.013093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/24/image_02122025_12_24_10_9603.jpg', '/home/pi/Desktop/images/02122025/12/24/image_02122025_12_24_20_9675.jpg', '/home/pi/Desktop/images/02122025/12/24/image_02122025_12_24_31_10736.jpg', '/home/pi/Desktop/images/02122025/12/24/image_02122025_12_24_40_9764.jpg', '/home/pi/Desktop/images/02122025/12/24/image_02122025_12_24_50_9862.jpg', '/home/pi/Desktop/images/02122025/12/24/image_02122025_12_25_00_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/24/image_02122025_12_24_10_9603.jpg
/home/pi/Desktop/images/02122025/12/24/image_02122025_12_24_20_9675.jpg
/home/pi/Desktop/images/02122025/12/24/image_02122025_12_24_31_10736.jpg
/home/pi/Desktop/images/02122025/12/24/image_02122025_12_24_40_9764.jpg
/home/pi/Desktop/images/02122025/12/24/image_02122025_12_24_50_9862.jpg
/home/pi/Desktop/images/02122025/12/24/image_02122025_12_25_00_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398009660","1398009881","1398009620","1398009799","1398009841","1398009736"],"photo_ids_order":["1398009620","1398009660","1398009736","1398009799","1398009841","1398009881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d02bcf75909ee3a52122e866410b00e.jpg","text":"TemporaryFile(/tmp/multipartBody8981006787250808609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900424646,"filename":"image_02122025_12_24_20_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/5/f1a212dd8b16259d2999322b0c1f85c6.jpg","text":"TemporaryFile(/tmp/multipartBody5845676046749822087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900424646,"filename":"image_02122025_12_25_00_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/5/8f8ae19ca5ee5adbb0f46d033729df78.jpg","text":"TemporaryFile(/tmp/multipartBody7895892563933778734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900424646,"filename":"image_02122025_12_24_10_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/5/7531a95812b72d1296852ed08e652007.jpg","text":"TemporaryFile(/tmp/multipartBody736569691954899831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900424646,"filename":"image_02122025_12_24_40_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/5/a3b9e58122bf29d647c1d516f97353d3.jpg","text":"TemporaryFile(/tmp/multipartBody1982788769678305578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900424646,"filename":"image_02122025_12_24_50_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/5/620e303591a28f5ddb67ca5bfc4588f9.jpg","text":"TemporaryFile(/tmp/multipartBody5112415119017083116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900424646,"filename":"image_02122025_12_24_31_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398009736","file1":"1398009660","file0":"1398009620","file4":"1398009841","file5":"1398009881","file3":"1398009799"},"map_files_photo_id_array":[{"photo_id":"1398009881","filename":"file5"},{"photo_id":"1398009736","filename":"file2"},{"photo_id":"1398009841","filename":"file4"},{"photo_id":"1398009660","filename":"file1"},{"photo_id":"1398009620","filename":"file0"},{"photo_id":"1398009799","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398009660":["hashtag1","hashtag2"]},{"1398009881":["hashtag1","hashtag2"]},{"1398009620":["hashtag1","hashtag2"]},{"1398009799":["hashtag1","hashtag2"]},{"1398009841":["hashtag1","hashtag2"]},{"1398009736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398009660, 1398009881, 1398009620, 1398009799, 1398009841, 1398009736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69576835632324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:06:42.670677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_44_2838.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_48_3638.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_51_2593.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_53_2772.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_57_3707.jpg', '/home/pi/Desktop/images/31102025/18/15/image_31102025_18_16_00_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_44_2838.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_48_3638.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_51_2593.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_53_2772.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_15_57_3707.jpg
/home/pi/Desktop/images/31102025/18/15/image_31102025_18_16_00_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398010141","1398010185","1398010263","1398010104","1398010064","1398010226"],"photo_ids_order":["1398010064","1398010104","1398010141","1398010185","1398010226","1398010263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c2425102d0a9c6523b1f7961c3dbd2fe.jpg","text":"TemporaryFile(/tmp/multipartBody242312524583320687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900464231,"filename":"image_31102025_18_15_51_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/5/b69f7929e5712576bc0418c847e0b554.jpg","text":"TemporaryFile(/tmp/multipartBody8490311500601462056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900464231,"filename":"image_31102025_18_15_53_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/5/11110a833b1e78cd30f7fbd998354fff.jpg","text":"TemporaryFile(/tmp/multipartBody6750354707925042688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900464231,"filename":"image_31102025_18_16_00_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/5/2666a21ff724897439def11a5fd3badb.jpg","text":"TemporaryFile(/tmp/multipartBody1361509639966451291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900464231,"filename":"image_31102025_18_15_48_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/533fb9fe34ad462b3668a84fe0ec54fd.jpg","text":"TemporaryFile(/tmp/multipartBody1683028834278648697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900464231,"filename":"image_31102025_18_15_44_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/5/d40a5d2e20410edca2c21349be6faa7f.jpg","text":"TemporaryFile(/tmp/multipartBody8977835068879891287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900464231,"filename":"image_31102025_18_15_57_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398010141","file1":"1398010104","file0":"1398010064","file4":"1398010226","file5":"1398010263","file3":"1398010185"},"map_files_photo_id_array":[{"photo_id":"1398010263","filename":"file5"},{"photo_id":"1398010141","filename":"file2"},{"photo_id":"1398010226","filename":"file4"},{"photo_id":"1398010104","filename":"file1"},{"photo_id":"1398010064","filename":"file0"},{"photo_id":"1398010185","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398010141":["hashtag1","hashtag2"]},{"1398010185":["hashtag1","hashtag2"]},{"1398010263":["hashtag1","hashtag2"]},{"1398010104":["hashtag1","hashtag2"]},{"1398010064":["hashtag1","hashtag2"]},{"1398010226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398010141, 1398010185, 1398010263, 1398010104, 1398010064, 1398010226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44365406036377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:07:22.830537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/05/image_05122025_03_05_54_10676.jpg', '/home/pi/Desktop/images/05122025/03/06/image_05122025_03_06_24_10661.jpg', '/home/pi/Desktop/images/05122025/03/06/image_05122025_03_06_34_9668.jpg', '/home/pi/Desktop/images/05122025/03/06/image_05122025_03_06_44_9801.jpg', '/home/pi/Desktop/images/05122025/03/07/image_05122025_03_07_24_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/05/image_05122025_03_05_54_10676.jpg
/home/pi/Desktop/images/05122025/03/06/image_05122025_03_06_24_10661.jpg
/home/pi/Desktop/images/05122025/03/06/image_05122025_03_06_34_9668.jpg
/home/pi/Desktop/images/05122025/03/06/image_05122025_03_06_44_9801.jpg
/home/pi/Desktop/images/05122025/03/07/image_05122025_03_07_24_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398010423","1398010417","1398010395","1398010419","1398010421"],"photo_ids_order":["1398010395","1398010417","1398010419","1398010421","1398010423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5a75a2df48de75c5c414d5ad8057ee19.jpg","text":"TemporaryFile(/tmp/multipartBody262007616051678819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900503533,"filename":"image_05122025_03_07_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/faa899e658c5ff2e4d2345462d183f03.jpg","text":"TemporaryFile(/tmp/multipartBody7708723462571355782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900503533,"filename":"image_05122025_03_06_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/5/370b50947347f298e78e0da84eff2036.jpg","text":"TemporaryFile(/tmp/multipartBody4963619993251932215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900503533,"filename":"image_05122025_03_05_54_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c7e50d12e2668cf7d047e02ee7875bc.jpg","text":"TemporaryFile(/tmp/multipartBody5466411225061209009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900503533,"filename":"image_05122025_03_06_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/5/3a454476af2988e399444eeb6b04561f.jpg","text":"TemporaryFile(/tmp/multipartBody3148678750039708317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900503533,"filename":"image_05122025_03_06_44_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398010419","file1":"1398010417","file0":"1398010395","file4":"1398010423","file3":"1398010421"},"map_files_photo_id_array":[{"photo_id":"1398010419","filename":"file2"},{"photo_id":"1398010423","filename":"file4"},{"photo_id":"1398010417","filename":"file1"},{"photo_id":"1398010395","filename":"file0"},{"photo_id":"1398010421","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398010423":["hashtag1","hashtag2"]},{"1398010417":["hashtag1","hashtag2"]},{"1398010395":["hashtag1","hashtag2"]},{"1398010419":["hashtag1","hashtag2"]},{"1398010421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398010423, 1398010417, 1398010395, 1398010419, 1398010421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.90458631515503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:08:02.382837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/25/image_02122025_12_25_10_9668.jpg', '/home/pi/Desktop/images/02122025/12/25/image_02122025_12_25_21_10695.jpg', '/home/pi/Desktop/images/02122025/12/25/image_02122025_12_25_30_9863.jpg', '/home/pi/Desktop/images/02122025/12/25/image_02122025_12_25_40_9637.jpg', '/home/pi/Desktop/images/02122025/12/25/image_02122025_12_25_51_10636.jpg', '/home/pi/Desktop/images/02122025/12/25/image_02122025_12_26_00_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/25/image_02122025_12_25_10_9668.jpg
/home/pi/Desktop/images/02122025/12/25/image_02122025_12_25_21_10695.jpg
/home/pi/Desktop/images/02122025/12/25/image_02122025_12_25_30_9863.jpg
/home/pi/Desktop/images/02122025/12/25/image_02122025_12_25_40_9637.jpg
/home/pi/Desktop/images/02122025/12/25/image_02122025_12_25_51_10636.jpg
/home/pi/Desktop/images/02122025/12/25/image_02122025_12_26_00_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":["1398010507","1398010431","1398010436","1398010430","1398010433","1398010468"],"photo_ids_order":["1398010430","1398010431","1398010433","1398010436","1398010468","1398010507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8a490a122a061f3bd8ca2e4d028a0f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3726357189443891232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900543978,"filename":"image_02122025_12_26_00_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/5/723322fe1b876a55771fdfeabc0672fb.jpg","text":"TemporaryFile(/tmp/multipartBody4768108378570250427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900543978,"filename":"image_02122025_12_25_21_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/5/b5c54eac0ee519f8190ba5879dd22cd5.jpg","text":"TemporaryFile(/tmp/multipartBody8904086227835093091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900543978,"filename":"image_02122025_12_25_40_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/5/897729ccf4bfcd8731d48fc6ea79d8dd.jpg","text":"TemporaryFile(/tmp/multipartBody758831606426573715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900543978,"filename":"image_02122025_12_25_10_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/5/86208b3ca7aba29a2a8ebb4f919e9c87.jpg","text":"TemporaryFile(/tmp/multipartBody8918614226474860495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900543978,"filename":"image_02122025_12_25_30_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/5/d3f32a8dc7c96b1999e3d3b2d80916ae.jpg","text":"TemporaryFile(/tmp/multipartBody3822162668887902370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900543978,"filename":"image_02122025_12_25_51_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398010433","file1":"1398010431","file0":"1398010430","file4":"1398010468","file5":"1398010507","file3":"1398010436"},"map_files_photo_id_array":[{"photo_id":"1398010507","filename":"file5"},{"photo_id":"1398010433","filename":"file2"},{"photo_id":"1398010468","filename":"file4"},{"photo_id":"1398010431","filename":"file1"},{"photo_id":"1398010430","filename":"file0"},{"photo_id":"1398010436","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398010507":["hashtag1","hashtag2"]},{"1398010431":["hashtag1","hashtag2"]},{"1398010436":["hashtag1","hashtag2"]},{"1398010430":["hashtag1","hashtag2"]},{"1398010433":["hashtag1","hashtag2"]},{"1398010468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398010507, 1398010431, 1398010436, 1398010430, 1398010433, 1398010468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11678719520569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:08:42.075418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_03_2658.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_06_3657.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_09_2611.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_11_2666.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_15_3789.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_18_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_03_2658.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_06_3657.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_09_2611.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_11_2666.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_15_3789.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_18_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":["1398010929","1398011132","1398011009","1398011086","1398010855","1398010777"],"photo_ids_order":["1398010777","1398010855","1398010929","1398011009","1398011086","1398011132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d65ef7d6a3ff6a868bb6a92bf63caf7.jpg","text":"TemporaryFile(/tmp/multipartBody9000132271241461172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900583568,"filename":"image_31102025_18_16_09_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/5/e82817787c3584256a3b7f2f1d7e3aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3322707471755444185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900583568,"filename":"image_31102025_18_16_18_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/5/76cad962ca2b02b31b39ad6e593143c7.jpg","text":"TemporaryFile(/tmp/multipartBody2046856466534105938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900583568,"filename":"image_31102025_18_16_11_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1e32e6d2dde3c88d47f0ebafdf6e8c61.jpg","text":"TemporaryFile(/tmp/multipartBody5778570522097679624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900583568,"filename":"image_31102025_18_16_15_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/5/275a76c11a2a71df7da51fbec3fec253.jpg","text":"TemporaryFile(/tmp/multipartBody1385301114954937191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900583568,"filename":"image_31102025_18_16_06_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/5/e38b1eff291e0ca80f8cff44c4a9e8c9.jpg","text":"TemporaryFile(/tmp/multipartBody4068858666117129381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900583568,"filename":"image_31102025_18_16_03_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398010929","file1":"1398010855","file0":"1398010777","file4":"1398011086","file5":"1398011132","file3":"1398011009"},"map_files_photo_id_array":[{"photo_id":"1398011132","filename":"file5"},{"photo_id":"1398010929","filename":"file2"},{"photo_id":"1398011086","filename":"file4"},{"photo_id":"1398010855","filename":"file1"},{"photo_id":"1398010777","filename":"file0"},{"photo_id":"1398011009","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398010929":["hashtag1","hashtag2"]},{"1398011132":["hashtag1","hashtag2"]},{"1398011009":["hashtag1","hashtag2"]},{"1398011086":["hashtag1","hashtag2"]},{"1398010855":["hashtag1","hashtag2"]},{"1398010777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398010929, 1398011132, 1398011009, 1398011086, 1398010855, 1398010777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.477518796920776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:09:22.280868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/07/image_05122025_03_07_54_9774.jpg', '/home/pi/Desktop/images/05122025/03/08/image_05122025_03_08_14_9704.jpg', '/home/pi/Desktop/images/05122025/03/08/image_05122025_03_08_54_9707.jpg', '/home/pi/Desktop/images/05122025/03/09/image_05122025_03_09_24_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/07/image_05122025_03_07_54_9774.jpg
/home/pi/Desktop/images/05122025/03/08/image_05122025_03_08_14_9704.jpg
/home/pi/Desktop/images/05122025/03/08/image_05122025_03_08_54_9707.jpg
/home/pi/Desktop/images/05122025/03/09/image_05122025_03_09_24_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398011355","1398011465","1398011297","1398011398"],"photo_ids_order":["1398011297","1398011355","1398011398","1398011465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/76097f7b4049c76bc547267186d060a8.jpg","text":"TemporaryFile(/tmp/multipartBody4527678104272628541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900622891,"filename":"image_05122025_03_08_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/5/0d87b944b89eeabafab02b7d86237894.jpg","text":"TemporaryFile(/tmp/multipartBody323351324882099855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900622891,"filename":"image_05122025_03_09_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/5/9e32df585707c7f355ee3bc104790b68.jpg","text":"TemporaryFile(/tmp/multipartBody782845899307617070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900622891,"filename":"image_05122025_03_07_54_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/5/22b835e56b6612079545c1a8e90f876c.jpg","text":"TemporaryFile(/tmp/multipartBody9071737710683063781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900622891,"filename":"image_05122025_03_08_54_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398011398","file1":"1398011355","file0":"1398011297","file3":"1398011465"},"map_files_photo_id_array":[{"photo_id":"1398011398","filename":"file2"},{"photo_id":"1398011355","filename":"file1"},{"photo_id":"1398011297","filename":"file0"},{"photo_id":"1398011465","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398011355":["hashtag1","hashtag2"]},{"1398011465":["hashtag1","hashtag2"]},{"1398011297":["hashtag1","hashtag2"]},{"1398011398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398011355, 1398011465, 1398011297, 1398011398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.812646627426147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:10:02.905936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/26/image_02122025_12_26_10_9729.jpg', '/home/pi/Desktop/images/02122025/12/26/image_02122025_12_26_21_10719.jpg', '/home/pi/Desktop/images/02122025/12/26/image_02122025_12_26_31_9820.jpg', '/home/pi/Desktop/images/02122025/12/26/image_02122025_12_26_40_9643.jpg', '/home/pi/Desktop/images/02122025/12/26/image_02122025_12_26_50_9730.jpg', '/home/pi/Desktop/images/02122025/12/26/image_02122025_12_27_00_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/26/image_02122025_12_26_10_9729.jpg
/home/pi/Desktop/images/02122025/12/26/image_02122025_12_26_21_10719.jpg
/home/pi/Desktop/images/02122025/12/26/image_02122025_12_26_31_9820.jpg
/home/pi/Desktop/images/02122025/12/26/image_02122025_12_26_40_9643.jpg
/home/pi/Desktop/images/02122025/12/26/image_02122025_12_26_50_9730.jpg
/home/pi/Desktop/images/02122025/12/26/image_02122025_12_27_00_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398011787","1398011897","1398011709","1398011825","1398011860","1398011749"],"photo_ids_order":["1398011709","1398011749","1398011787","1398011825","1398011860","1398011897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf97bea38296567d269f25c4d6d5ef93.jpg","text":"TemporaryFile(/tmp/multipartBody4800464152235859663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900664487,"filename":"image_02122025_12_26_31_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/5/a98ff952988d3983fc3cc241bcfb3035.jpg","text":"TemporaryFile(/tmp/multipartBody6973501038944651766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900664487,"filename":"image_02122025_12_27_00_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/5/5d79b3e6d08a5c27c55132c1e1ced38c.jpg","text":"TemporaryFile(/tmp/multipartBody2850234645002248858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900664487,"filename":"image_02122025_12_26_10_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/5/5c7432db97d11f817a043880cb7d21bc.jpg","text":"TemporaryFile(/tmp/multipartBody7573950235863509372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900664487,"filename":"image_02122025_12_26_40_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/5/8cccc929742b41bbce4cc9f1bf1da5ce.jpg","text":"TemporaryFile(/tmp/multipartBody8753905744435332979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900664487,"filename":"image_02122025_12_26_50_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/5/d5ac5732405725f3e2d76776842da774.jpg","text":"TemporaryFile(/tmp/multipartBody155225930871178439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900664487,"filename":"image_02122025_12_26_21_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398011787","file1":"1398011749","file0":"1398011709","file4":"1398011860","file5":"1398011897","file3":"1398011825"},"map_files_photo_id_array":[{"photo_id":"1398011897","filename":"file5"},{"photo_id":"1398011787","filename":"file2"},{"photo_id":"1398011860","filename":"file4"},{"photo_id":"1398011749","filename":"file1"},{"photo_id":"1398011709","filename":"file0"},{"photo_id":"1398011825","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398011787":["hashtag1","hashtag2"]},{"1398011897":["hashtag1","hashtag2"]},{"1398011709":["hashtag1","hashtag2"]},{"1398011825":["hashtag1","hashtag2"]},{"1398011860":["hashtag1","hashtag2"]},{"1398011749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398011787, 1398011897, 1398011709, 1398011825, 1398011860, 1398011749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0141921043396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:10:42.496690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_20_2556.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_24_3659.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_27_2658.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_29_2638.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_33_3595.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_36_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_20_2556.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_24_3659.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_27_2658.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_29_2638.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_33_3595.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_36_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":["1398012158","1398012122","1398012239","1398012079","1398012037","1398012198"],"photo_ids_order":["1398012037","1398012079","1398012122","1398012158","1398012198","1398012239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a2805c9c21ef2cf02228ebc42b5aeaf2.jpg","text":"TemporaryFile(/tmp/multipartBody2658889255515182820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900703943,"filename":"image_31102025_18_16_29_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/5/313aac9635096a5f3343bc1846b3f947.jpg","text":"TemporaryFile(/tmp/multipartBody6080413861998318523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900703943,"filename":"image_31102025_18_16_27_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/15374acc15fbf1ad9cf2c5554f734537.jpg","text":"TemporaryFile(/tmp/multipartBody4317492929359784026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900703943,"filename":"image_31102025_18_16_36_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/5/c66b4146bc4b03853704be17f3a4afdd.jpg","text":"TemporaryFile(/tmp/multipartBody655334577676380844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900703943,"filename":"image_31102025_18_16_24_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/5/77ac4bc5629ebefd90fd69f7d304f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody3671579417803722568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900703943,"filename":"image_31102025_18_16_20_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/5/8f889353e9d2587ec14fabdce1e9b4b1.jpg","text":"TemporaryFile(/tmp/multipartBody1645915515446567781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900703943,"filename":"image_31102025_18_16_33_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398012122","file1":"1398012079","file0":"1398012037","file4":"1398012198","file5":"1398012239","file3":"1398012158"},"map_files_photo_id_array":[{"photo_id":"1398012239","filename":"file5"},{"photo_id":"1398012122","filename":"file2"},{"photo_id":"1398012198","filename":"file4"},{"photo_id":"1398012079","filename":"file1"},{"photo_id":"1398012037","filename":"file0"},{"photo_id":"1398012158","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398012158":["hashtag1","hashtag2"]},{"1398012122":["hashtag1","hashtag2"]},{"1398012239":["hashtag1","hashtag2"]},{"1398012079":["hashtag1","hashtag2"]},{"1398012037":["hashtag1","hashtag2"]},{"1398012198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398012158, 1398012122, 1398012239, 1398012079, 1398012037, 1398012198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.885783433914185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:11:22.644075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/09/image_05122025_03_09_34_9634.jpg', '/home/pi/Desktop/images/05122025/03/09/image_05122025_03_10_04_9707.jpg', '/home/pi/Desktop/images/05122025/03/10/image_05122025_03_10_14_10693.jpg', '/home/pi/Desktop/images/05122025/03/10/image_05122025_03_11_04_9672.jpg', '/home/pi/Desktop/images/05122025/03/11/image_05122025_03_11_34_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/09/image_05122025_03_09_34_9634.jpg
/home/pi/Desktop/images/05122025/03/09/image_05122025_03_10_04_9707.jpg
/home/pi/Desktop/images/05122025/03/10/image_05122025_03_10_14_10693.jpg
/home/pi/Desktop/images/05122025/03/10/image_05122025_03_11_04_9672.jpg
/home/pi/Desktop/images/05122025/03/11/image_05122025_03_11_34_9660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5456461906433105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:11:32.659649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/27/image_02122025_12_27_10_10575.jpg', '/home/pi/Desktop/images/02122025/12/27/image_02122025_12_27_20_9860.jpg', '/home/pi/Desktop/images/02122025/12/27/image_02122025_12_27_30_9694.jpg', '/home/pi/Desktop/images/02122025/12/27/image_02122025_12_27_41_10667.jpg', '/home/pi/Desktop/images/02122025/12/27/image_02122025_12_27_50_9743.jpg', '/home/pi/Desktop/images/02122025/12/27/image_02122025_12_28_00_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/27/image_02122025_12_27_10_10575.jpg
/home/pi/Desktop/images/02122025/12/27/image_02122025_12_27_20_9860.jpg
/home/pi/Desktop/images/02122025/12/27/image_02122025_12_27_30_9694.jpg
/home/pi/Desktop/images/02122025/12/27/image_02122025_12_27_41_10667.jpg
/home/pi/Desktop/images/02122025/12/27/image_02122025_12_27_50_9743.jpg
/home/pi/Desktop/images/02122025/12/27/image_02122025_12_28_00_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":["1398012654","1398012464","1398012623","1398012548","1398012506","1398012585"],"photo_ids_order":["1398012464","1398012506","1398012548","1398012585","1398012623","1398012654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a713ddd7873e7a5a50d11b45d2542392.jpg","text":"TemporaryFile(/tmp/multipartBody8574452375954010867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900754659,"filename":"image_02122025_12_28_00_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/5/ee5eeea8003a8c2a210779439e397833.jpg","text":"TemporaryFile(/tmp/multipartBody8417622325940399717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900754659,"filename":"image_02122025_12_27_10_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/5/0cd18cc8f3d7f1b0037c4c30f1a5fc87.jpg","text":"TemporaryFile(/tmp/multipartBody3920433260043462328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900754659,"filename":"image_02122025_12_27_50_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/5/5040af242e70d203733b28310a19712c.jpg","text":"TemporaryFile(/tmp/multipartBody9105683559080853435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900754659,"filename":"image_02122025_12_27_30_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/5/232b294be1b692bc36ea6e267f5a510f.jpg","text":"TemporaryFile(/tmp/multipartBody2293001851297006178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900754659,"filename":"image_02122025_12_27_20_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/5/c6a202bdd4ec57e3af401efef3671d4f.jpg","text":"TemporaryFile(/tmp/multipartBody6777553498851523056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900754659,"filename":"image_02122025_12_27_41_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398012548","file1":"1398012506","file0":"1398012464","file4":"1398012623","file5":"1398012654","file3":"1398012585"},"map_files_photo_id_array":[{"photo_id":"1398012654","filename":"file5"},{"photo_id":"1398012548","filename":"file2"},{"photo_id":"1398012623","filename":"file4"},{"photo_id":"1398012506","filename":"file1"},{"photo_id":"1398012464","filename":"file0"},{"photo_id":"1398012585","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398012654":["hashtag1","hashtag2"]},{"1398012464":["hashtag1","hashtag2"]},{"1398012623":["hashtag1","hashtag2"]},{"1398012548":["hashtag1","hashtag2"]},{"1398012506":["hashtag1","hashtag2"]},{"1398012585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398012654, 1398012464, 1398012623, 1398012548, 1398012506, 1398012585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27503252029419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:12:12.687807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/28/image_02122025_12_28_10_9817.jpg', '/home/pi/Desktop/images/02122025/12/28/image_02122025_12_28_21_10773.jpg', '/home/pi/Desktop/images/02122025/12/28/image_02122025_12_28_31_9851.jpg', '/home/pi/Desktop/images/02122025/12/28/image_02122025_12_28_40_9570.jpg', '/home/pi/Desktop/images/02122025/12/28/image_02122025_12_28_51_10664.jpg', '/home/pi/Desktop/images/02122025/12/28/image_02122025_12_29_00_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/28/image_02122025_12_28_10_9817.jpg
/home/pi/Desktop/images/02122025/12/28/image_02122025_12_28_21_10773.jpg
/home/pi/Desktop/images/02122025/12/28/image_02122025_12_28_31_9851.jpg
/home/pi/Desktop/images/02122025/12/28/image_02122025_12_28_40_9570.jpg
/home/pi/Desktop/images/02122025/12/28/image_02122025_12_28_51_10664.jpg
/home/pi/Desktop/images/02122025/12/28/image_02122025_12_29_00_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":["1398012822","1398012941","1398012863","1398012779","1398012979","1398012901"],"photo_ids_order":["1398012779","1398012822","1398012863","1398012901","1398012941","1398012979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6ad1b131b298517eefb41d93be894734.jpg","text":"TemporaryFile(/tmp/multipartBody911042879211241339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900794792,"filename":"image_02122025_12_28_21_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/5/cab549ec066c5ef2c98848492ba4d587.jpg","text":"TemporaryFile(/tmp/multipartBody7100990792842024283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900794792,"filename":"image_02122025_12_28_51_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/5/aa6abfb57e2aa006155b43cadfe8da60.jpg","text":"TemporaryFile(/tmp/multipartBody8471444662862768402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900794792,"filename":"image_02122025_12_28_31_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/5/49d81756420f9dc77ff7aa93e5487258.jpg","text":"TemporaryFile(/tmp/multipartBody4791200925061782958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900794792,"filename":"image_02122025_12_28_10_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/5/8a3da1cfb24818a3a62f75037d752a20.jpg","text":"TemporaryFile(/tmp/multipartBody1031484833501083458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900794792,"filename":"image_02122025_12_29_00_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/5/f5c58a15bd43b590e8139d1e26c4f8ff.jpg","text":"TemporaryFile(/tmp/multipartBody2851952387184316448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900794792,"filename":"image_02122025_12_28_40_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398012863","file1":"1398012822","file0":"1398012779","file4":"1398012941","file5":"1398012979","file3":"1398012901"},"map_files_photo_id_array":[{"photo_id":"1398012979","filename":"file5"},{"photo_id":"1398012863","filename":"file2"},{"photo_id":"1398012941","filename":"file4"},{"photo_id":"1398012822","filename":"file1"},{"photo_id":"1398012779","filename":"file0"},{"photo_id":"1398012901","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398012822":["hashtag1","hashtag2"]},{"1398012941":["hashtag1","hashtag2"]},{"1398012863":["hashtag1","hashtag2"]},{"1398012779":["hashtag1","hashtag2"]},{"1398012979":["hashtag1","hashtag2"]},{"1398012901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398012822, 1398012941, 1398012863, 1398012779, 1398012979, 1398012901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.392130613327026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:13:02.537797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/09/image_05122025_03_09_34_9634.jpg', '/home/pi/Desktop/images/05122025/03/09/image_05122025_03_10_04_9707.jpg', '/home/pi/Desktop/images/05122025/03/10/image_05122025_03_10_14_10693.jpg', '/home/pi/Desktop/images/05122025/03/10/image_05122025_03_11_04_9672.jpg', '/home/pi/Desktop/images/05122025/03/11/image_05122025_03_11_34_9660.jpg', '/home/pi/Desktop/images/05122025/03/11/image_05122025_03_11_44_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/09/image_05122025_03_09_34_9634.jpg
/home/pi/Desktop/images/05122025/03/09/image_05122025_03_10_04_9707.jpg
/home/pi/Desktop/images/05122025/03/10/image_05122025_03_10_14_10693.jpg
/home/pi/Desktop/images/05122025/03/10/image_05122025_03_11_04_9672.jpg
/home/pi/Desktop/images/05122025/03/11/image_05122025_03_11_34_9660.jpg
/home/pi/Desktop/images/05122025/03/11/image_05122025_03_11_44_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398013378","1398013301","1398013144","1398013228","1398013179","1398013134"],"photo_ids_order":["1398013134","1398013144","1398013179","1398013228","1398013301","1398013378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7af4a731d8f58bf0656f149fcb464d44.jpg","text":"TemporaryFile(/tmp/multipartBody4910491534726662305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900843363,"filename":"image_05122025_03_11_44_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/5/b8e81b759f8c90847441206bb5b424b2.jpg","text":"TemporaryFile(/tmp/multipartBody1664569864672682642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900843363,"filename":"image_05122025_03_11_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/5/a6245e64f252b44da5c9ab98c6eee351.jpg","text":"TemporaryFile(/tmp/multipartBody631379819871630311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900843363,"filename":"image_05122025_03_10_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/5/f96922c7e3b8a83e42ce59b278097f58.jpg","text":"TemporaryFile(/tmp/multipartBody8472653890305443424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900843363,"filename":"image_05122025_03_11_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/5/cd785ba376b023fcc996493d9470f06b.jpg","text":"TemporaryFile(/tmp/multipartBody148399099805584932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900843363,"filename":"image_05122025_03_10_14_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/5/8296f8fedb2f5bda43806c5924b367f3.jpg","text":"TemporaryFile(/tmp/multipartBody3479999748213130552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900843363,"filename":"image_05122025_03_09_34_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398013179","file1":"1398013144","file0":"1398013134","file4":"1398013301","file5":"1398013378","file3":"1398013228"},"map_files_photo_id_array":[{"photo_id":"1398013378","filename":"file5"},{"photo_id":"1398013179","filename":"file2"},{"photo_id":"1398013301","filename":"file4"},{"photo_id":"1398013144","filename":"file1"},{"photo_id":"1398013134","filename":"file0"},{"photo_id":"1398013228","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398013378":["hashtag1","hashtag2"]},{"1398013301":["hashtag1","hashtag2"]},{"1398013144":["hashtag1","hashtag2"]},{"1398013228":["hashtag1","hashtag2"]},{"1398013179":["hashtag1","hashtag2"]},{"1398013134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398013378, 1398013301, 1398013144, 1398013228, 1398013179, 1398013134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48297882080078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:13:42.031845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_38_2584.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_42_3623.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_45_2725.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_47_2583.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_51_3662.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_54_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_38_2584.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_42_3623.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_45_2725.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_47_2583.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_51_3662.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_54_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":["1398013814","1398013891","1398013851","1398013764","1398013682","1398013608"],"photo_ids_order":["1398013608","1398013682","1398013764","1398013814","1398013851","1398013891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bf4ae12793040607d9c8e00910d7c7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1072543900587146339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900883523,"filename":"image_31102025_18_16_47_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0192cdba21d789b33269ea0116840cb.jpg","text":"TemporaryFile(/tmp/multipartBody4121523139580422743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900883523,"filename":"image_31102025_18_16_54_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bef14d06413ba69ea89f39de9ea889e4.jpg","text":"TemporaryFile(/tmp/multipartBody2217179802630047067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900883523,"filename":"image_31102025_18_16_51_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6893b76a15353a9d2ba5065ffbc2e19d.jpg","text":"TemporaryFile(/tmp/multipartBody4842055020329558209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900883523,"filename":"image_31102025_18_16_45_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/5/f97cbd32e70cba627bad904667336eca.jpg","text":"TemporaryFile(/tmp/multipartBody3009373436926141354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900883523,"filename":"image_31102025_18_16_42_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/5/1298cb03e61068ac0f719234fd1c5775.jpg","text":"TemporaryFile(/tmp/multipartBody1614166703666841612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900883523,"filename":"image_31102025_18_16_38_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398013764","file1":"1398013682","file0":"1398013608","file4":"1398013851","file5":"1398013891","file3":"1398013814"},"map_files_photo_id_array":[{"photo_id":"1398013891","filename":"file5"},{"photo_id":"1398013764","filename":"file2"},{"photo_id":"1398013851","filename":"file4"},{"photo_id":"1398013682","filename":"file1"},{"photo_id":"1398013608","filename":"file0"},{"photo_id":"1398013814","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398013814":["hashtag1","hashtag2"]},{"1398013891":["hashtag1","hashtag2"]},{"1398013851":["hashtag1","hashtag2"]},{"1398013764":["hashtag1","hashtag2"]},{"1398013682":["hashtag1","hashtag2"]},{"1398013608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398013814, 1398013891, 1398013851, 1398013764, 1398013682, 1398013608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.156384229660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:14:22.239957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/12/image_05122025_03_12_14_9892.jpg', '/home/pi/Desktop/images/05122025/03/12/image_05122025_03_12_24_9705.jpg', '/home/pi/Desktop/images/05122025/03/13/image_05122025_03_14_04_9606.jpg', '/home/pi/Desktop/images/05122025/03/14/image_05122025_03_14_14_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/12/image_05122025_03_12_14_9892.jpg
/home/pi/Desktop/images/05122025/03/12/image_05122025_03_12_24_9705.jpg
/home/pi/Desktop/images/05122025/03/13/image_05122025_03_14_04_9606.jpg
/home/pi/Desktop/images/05122025/03/14/image_05122025_03_14_14_9855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398014270","1398014095","1398014215","1398014166"],"photo_ids_order":["1398014095","1398014166","1398014215","1398014270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/41fbb6f015a6b4d5d76046d2df2025e1.jpg","text":"TemporaryFile(/tmp/multipartBody7919496696412731875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900922859,"filename":"image_05122025_03_14_14_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/5/4c74c4191100548ed2e266a8a68f15b6.jpg","text":"TemporaryFile(/tmp/multipartBody1908056128531814672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900922859,"filename":"image_05122025_03_12_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/5/167e0bb00204208d85b7d3d6453643ed.jpg","text":"TemporaryFile(/tmp/multipartBody3427246027314059508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900922859,"filename":"image_05122025_03_14_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/958dcd159202f10d91365df12711270e.jpg","text":"TemporaryFile(/tmp/multipartBody209399610714334281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900922859,"filename":"image_05122025_03_12_24_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398014215","file1":"1398014166","file0":"1398014095","file3":"1398014270"},"map_files_photo_id_array":[{"photo_id":"1398014215","filename":"file2"},{"photo_id":"1398014166","filename":"file1"},{"photo_id":"1398014095","filename":"file0"},{"photo_id":"1398014270","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398014270":["hashtag1","hashtag2"]},{"1398014095":["hashtag1","hashtag2"]},{"1398014215":["hashtag1","hashtag2"]},{"1398014166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398014270, 1398014095, 1398014215, 1398014166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.686445236206055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:15:02.854329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/29/image_02122025_12_29_10_9723.jpg', '/home/pi/Desktop/images/02122025/12/29/image_02122025_12_29_20_9676.jpg', '/home/pi/Desktop/images/02122025/12/29/image_02122025_12_29_31_10705.jpg', '/home/pi/Desktop/images/02122025/12/29/image_02122025_12_29_40_9757.jpg', '/home/pi/Desktop/images/02122025/12/29/image_02122025_12_29_50_9751.jpg', '/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_14_10048.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/29/image_02122025_12_29_10_9723.jpg
/home/pi/Desktop/images/02122025/12/29/image_02122025_12_29_20_9676.jpg
/home/pi/Desktop/images/02122025/12/29/image_02122025_12_29_31_10705.jpg
/home/pi/Desktop/images/02122025/12/29/image_02122025_12_29_40_9757.jpg
/home/pi/Desktop/images/02122025/12/29/image_02122025_12_29_50_9751.jpg
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_14_10048.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":["1398014621","1398014701","1398014541","1398014495","1398014657","1398014579"],"photo_ids_order":["1398014495","1398014541","1398014579","1398014621","1398014657","1398014701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/93de07b26632364eddb6d2ab99b798d0.jpg","text":"TemporaryFile(/tmp/multipartBody1027403300761585328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900964535,"filename":"image_02122025_12_29_40_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/5/a7c9bd611434741353043d2aedbca598.jpg","text":"TemporaryFile(/tmp/multipartBody7030309789728411597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900964535,"filename":"image_02122025_12_30_14_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a44f0e3303dccef30afeaff8c8b28d0e.jpg","text":"TemporaryFile(/tmp/multipartBody5646427374466943064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900964535,"filename":"image_02122025_12_29_20_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/5/c98283a3b59d0ca3bfe1daf613fb8b1a.jpg","text":"TemporaryFile(/tmp/multipartBody2524916687068393685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900964535,"filename":"image_02122025_12_29_10_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/5/e7ee64939cc94ad3b7ff305e4fbb61ee.jpg","text":"TemporaryFile(/tmp/multipartBody8891185393508867482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900964535,"filename":"image_02122025_12_29_50_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/5/d4b0519f9e15d3478957d1324343f164.jpg","text":"TemporaryFile(/tmp/multipartBody3338888016983822909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764900964535,"filename":"image_02122025_12_29_31_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398014579","file1":"1398014541","file0":"1398014495","file4":"1398014657","file5":"1398014701","file3":"1398014621"},"map_files_photo_id_array":[{"photo_id":"1398014701","filename":"file5"},{"photo_id":"1398014579","filename":"file2"},{"photo_id":"1398014657","filename":"file4"},{"photo_id":"1398014541","filename":"file1"},{"photo_id":"1398014495","filename":"file0"},{"photo_id":"1398014621","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398014621":["hashtag1","hashtag2"]},{"1398014701":["hashtag1","hashtag2"]},{"1398014541":["hashtag1","hashtag2"]},{"1398014495":["hashtag1","hashtag2"]},{"1398014657":["hashtag1","hashtag2"]},{"1398014579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398014621, 1398014701, 1398014541, 1398014495, 1398014657, 1398014579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62849235534668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:16:02.893940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_25_10730.jpg', '/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_35_9639.jpg', '/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_44_9714.jpg', '/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_55_10816.jpg', '/home/pi/Desktop/images/02122025/12/30/image_02122025_12_31_05_9704.jpg', '/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_15_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_25_10730.jpg
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_35_9639.jpg
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_44_9714.jpg
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_55_10816.jpg
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_31_05_9704.jpg
/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_15_9712.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4624261856079102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:16:12.538754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_25_10730.jpg', '/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_35_9639.jpg', '/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_44_9714.jpg', '/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_55_10816.jpg', '/home/pi/Desktop/images/02122025/12/30/image_02122025_12_31_05_9704.jpg', '/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_15_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_25_10730.jpg
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_35_9639.jpg
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_44_9714.jpg
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_30_55_10816.jpg
/home/pi/Desktop/images/02122025/12/30/image_02122025_12_31_05_9704.jpg
/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_15_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398014735","1398014723","1398015042","1398014806","1398014960","1398014882"],"photo_ids_order":["1398014723","1398014735","1398014806","1398014882","1398014960","1398015042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ed584ecfb1318983af1b63c88663b469.jpg","text":"TemporaryFile(/tmp/multipartBody677332011852011474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901034266,"filename":"image_02122025_12_30_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e958e8c448fd1c44d61c77d7e74b751.jpg","text":"TemporaryFile(/tmp/multipartBody3633572996334244318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901034266,"filename":"image_02122025_12_30_25_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/37a44c834aa4d70ea5d50024b6e1e866.jpg","text":"TemporaryFile(/tmp/multipartBody3408493498309112459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901034266,"filename":"image_02122025_12_31_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/5/68356aa93cbd7e2101bd2d045b593cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7196671690502621554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901034266,"filename":"image_02122025_12_30_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/5/9b56dfb8ad96b9bfcd367f71742c7d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2323252830752642517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901034266,"filename":"image_02122025_12_31_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/5/76ae2c01662917567db30a57c1848701.jpg","text":"TemporaryFile(/tmp/multipartBody5096579362380036648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901034266,"filename":"image_02122025_12_30_55_10816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398014806","file1":"1398014735","file0":"1398014723","file4":"1398014960","file5":"1398015042","file3":"1398014882"},"map_files_photo_id_array":[{"photo_id":"1398015042","filename":"file5"},{"photo_id":"1398014806","filename":"file2"},{"photo_id":"1398014960","filename":"file4"},{"photo_id":"1398014735","filename":"file1"},{"photo_id":"1398014723","filename":"file0"},{"photo_id":"1398014882","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398014735":["hashtag1","hashtag2"]},{"1398014723":["hashtag1","hashtag2"]},{"1398015042":["hashtag1","hashtag2"]},{"1398014806":["hashtag1","hashtag2"]},{"1398014960":["hashtag1","hashtag2"]},{"1398014882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398014735, 1398014723, 1398015042, 1398014806, 1398014960, 1398014882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71336388587952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:17:03.459133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_24_9705.jpg', '/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_35_10689.jpg', '/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_45_9645.jpg', '/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_54_9627.jpg', '/home/pi/Desktop/images/02122025/12/31/image_02122025_12_32_05_10744.jpg', '/home/pi/Desktop/images/02122025/12/32/image_02122025_12_32_15_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_24_9705.jpg
/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_35_10689.jpg
/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_45_9645.jpg
/home/pi/Desktop/images/02122025/12/31/image_02122025_12_31_54_9627.jpg
/home/pi/Desktop/images/02122025/12/31/image_02122025_12_32_05_10744.jpg
/home/pi/Desktop/images/02122025/12/32/image_02122025_12_32_15_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":["1398015436","1398015564","1398015492","1398015387","1398015651","1398015609"],"photo_ids_order":["1398015387","1398015436","1398015492","1398015564","1398015609","1398015651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7916ee83fdc193d4025515e4f398f632.jpg","text":"TemporaryFile(/tmp/multipartBody4395723179037732650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901085120,"filename":"image_02122025_12_31_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/5/646d5776046282db90738e9f4d16a851.jpg","text":"TemporaryFile(/tmp/multipartBody4425851081843588866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901085120,"filename":"image_02122025_12_31_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/5/6a377e0c4602d2dafc69634608006579.jpg","text":"TemporaryFile(/tmp/multipartBody1813151369310238940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901085120,"filename":"image_02122025_12_31_45_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/5/606c71b1c361d575b00493c567b97975.jpg","text":"TemporaryFile(/tmp/multipartBody509596342599613015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901085120,"filename":"image_02122025_12_31_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ea59f4c2a1d648052edb2aa6afa63446.jpg","text":"TemporaryFile(/tmp/multipartBody696430833273404962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901085120,"filename":"image_02122025_12_32_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/5/53430b9f81f4af3a4a57b747d99a1f41.jpg","text":"TemporaryFile(/tmp/multipartBody1749971608808764309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901085120,"filename":"image_02122025_12_32_05_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398015492","file1":"1398015436","file0":"1398015387","file4":"1398015609","file5":"1398015651","file3":"1398015564"},"map_files_photo_id_array":[{"photo_id":"1398015651","filename":"file5"},{"photo_id":"1398015492","filename":"file2"},{"photo_id":"1398015609","filename":"file4"},{"photo_id":"1398015436","filename":"file1"},{"photo_id":"1398015387","filename":"file0"},{"photo_id":"1398015564","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398015436":["hashtag1","hashtag2"]},{"1398015564":["hashtag1","hashtag2"]},{"1398015492":["hashtag1","hashtag2"]},{"1398015387":["hashtag1","hashtag2"]},{"1398015651":["hashtag1","hashtag2"]},{"1398015609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398015436, 1398015564, 1398015492, 1398015387, 1398015651, 1398015609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.714051723480225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:18:02.252815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/32/image_02122025_12_32_25_9708.jpg', '/home/pi/Desktop/images/02122025/12/32/image_02122025_12_32_35_10709.jpg', '/home/pi/Desktop/images/02122025/12/32/image_02122025_12_32_45_9628.jpg', '/home/pi/Desktop/images/02122025/12/32/image_02122025_12_32_55_9798.jpg', '/home/pi/Desktop/images/02122025/12/32/image_02122025_12_33_04_9631.jpg', '/home/pi/Desktop/images/02122025/12/33/image_02122025_12_33_15_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/32/image_02122025_12_32_25_9708.jpg
/home/pi/Desktop/images/02122025/12/32/image_02122025_12_32_35_10709.jpg
/home/pi/Desktop/images/02122025/12/32/image_02122025_12_32_45_9628.jpg
/home/pi/Desktop/images/02122025/12/32/image_02122025_12_32_55_9798.jpg
/home/pi/Desktop/images/02122025/12/32/image_02122025_12_33_04_9631.jpg
/home/pi/Desktop/images/02122025/12/33/image_02122025_12_33_15_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398015886","1398015891","1398015888","1398015882","1398015884","1398015881"],"photo_ids_order":["1398015881","1398015882","1398015884","1398015886","1398015888","1398015891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4e215a6d8211ef5367d3d854cd9bd76d.jpg","text":"TemporaryFile(/tmp/multipartBody2493339863762391918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901143818,"filename":"image_02122025_12_32_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/5/76cd807982ac42b748614088daccd8e7.jpg","text":"TemporaryFile(/tmp/multipartBody1771440741088637942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901143818,"filename":"image_02122025_12_33_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/5/64c0f236360a2dfbb020e84757d25638.jpg","text":"TemporaryFile(/tmp/multipartBody8986426051957693879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901143818,"filename":"image_02122025_12_33_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/5/330a787fababeb323614a1a95235dfab.jpg","text":"TemporaryFile(/tmp/multipartBody739637259053801263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901143818,"filename":"image_02122025_12_32_35_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/5/73de2eb774f84865aa9d6254fbcf506a.jpg","text":"TemporaryFile(/tmp/multipartBody911033921426066885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901143818,"filename":"image_02122025_12_32_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/5/25ba9c833932fbe203886dd6b3c149c9.jpg","text":"TemporaryFile(/tmp/multipartBody731500967168338660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901143818,"filename":"image_02122025_12_32_25_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398015884","file1":"1398015882","file0":"1398015881","file4":"1398015888","file5":"1398015891","file3":"1398015886"},"map_files_photo_id_array":[{"photo_id":"1398015891","filename":"file5"},{"photo_id":"1398015884","filename":"file2"},{"photo_id":"1398015888","filename":"file4"},{"photo_id":"1398015882","filename":"file1"},{"photo_id":"1398015881","filename":"file0"},{"photo_id":"1398015886","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398015886":["hashtag1","hashtag2"]},{"1398015891":["hashtag1","hashtag2"]},{"1398015888":["hashtag1","hashtag2"]},{"1398015882":["hashtag1","hashtag2"]},{"1398015884":["hashtag1","hashtag2"]},{"1398015881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398015886, 1398015891, 1398015888, 1398015882, 1398015884, 1398015881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23241353034973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:18:41.951312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_57_3587.jpg', '/home/pi/Desktop/images/31102025/18/16/image_31102025_18_17_00_2873.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_03_2641.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_05_2646.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_09_3549.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_11_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_16_57_3587.jpg
/home/pi/Desktop/images/31102025/18/16/image_31102025_18_17_00_2873.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_03_2641.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_05_2646.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_09_3549.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_11_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":["1398015898","1398015901","1398015906","1398015983","1398015900","1398015947"],"photo_ids_order":["1398015898","1398015900","1398015901","1398015906","1398015947","1398015983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1fff4856991f4aff0efcc795323833f5.jpg","text":"TemporaryFile(/tmp/multipartBody5744498633566511484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901183460,"filename":"image_31102025_18_16_57_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/5/f704517251eb65b2dce4319fd1bc3585.jpg","text":"TemporaryFile(/tmp/multipartBody8013407634782096024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901183460,"filename":"image_31102025_18_17_03_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/5/4dc2562d9e2c60fa519b6d44f0253e6a.jpg","text":"TemporaryFile(/tmp/multipartBody8592068324639125535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901183460,"filename":"image_31102025_18_17_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/5/f847b8101ba43ee81d4e810ce9b0aaf6.jpg","text":"TemporaryFile(/tmp/multipartBody534155071282175693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901183460,"filename":"image_31102025_18_17_11_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/5/c007c33ff4ed18fcfc41f51180d6529a.jpg","text":"TemporaryFile(/tmp/multipartBody2697041976843044076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901183460,"filename":"image_31102025_18_17_00_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff4a25697039417b0eaa69902919fb31.jpg","text":"TemporaryFile(/tmp/multipartBody6317147904356582310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901183460,"filename":"image_31102025_18_17_09_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398015901","file1":"1398015900","file0":"1398015898","file4":"1398015947","file5":"1398015983","file3":"1398015906"},"map_files_photo_id_array":[{"photo_id":"1398015983","filename":"file5"},{"photo_id":"1398015901","filename":"file2"},{"photo_id":"1398015947","filename":"file4"},{"photo_id":"1398015900","filename":"file1"},{"photo_id":"1398015898","filename":"file0"},{"photo_id":"1398015906","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398015898":["hashtag1","hashtag2"]},{"1398015901":["hashtag1","hashtag2"]},{"1398015906":["hashtag1","hashtag2"]},{"1398015983":["hashtag1","hashtag2"]},{"1398015900":["hashtag1","hashtag2"]},{"1398015947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398015898, 1398015901, 1398015906, 1398015983, 1398015900, 1398015947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.767894983291626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:19:22.130975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_15_3627.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_18_2658.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_21_2801.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_24_3580.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_27_2596.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_30_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_15_3627.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_18_2658.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_21_2801.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_24_3580.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_27_2596.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_30_2850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398016236","1398016553","1398016625","1398016328","1398016477","1398016399"],"photo_ids_order":["1398016236","1398016328","1398016399","1398016477","1398016553","1398016625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a20a531afacfe69f6674a022e5d60c00.jpg","text":"TemporaryFile(/tmp/multipartBody5200823596899906548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901223724,"filename":"image_31102025_18_17_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/5/5be4dd031d1bda2d1f1655a5cc514660.jpg","text":"TemporaryFile(/tmp/multipartBody6658942379059500056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901223724,"filename":"image_31102025_18_17_27_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/5/49ce14b5c5c125cf137085ffb55406eb.jpg","text":"TemporaryFile(/tmp/multipartBody4519305310817275941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901223724,"filename":"image_31102025_18_17_30_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/5/cb3ebf72de72b4ea4d3f06e40f97b8c5.jpg","text":"TemporaryFile(/tmp/multipartBody8844340815396677059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901223724,"filename":"image_31102025_18_17_18_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/5/b46ad2f9ededd768b2c85d56f1854c21.jpg","text":"TemporaryFile(/tmp/multipartBody3221426608990864206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901223724,"filename":"image_31102025_18_17_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/5/ce85ea482aca9ac9d4a9ac3ac29fb72d.jpg","text":"TemporaryFile(/tmp/multipartBody924811168566373875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901223724,"filename":"image_31102025_18_17_21_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398016399","file1":"1398016328","file0":"1398016236","file4":"1398016553","file5":"1398016625","file3":"1398016477"},"map_files_photo_id_array":[{"photo_id":"1398016625","filename":"file5"},{"photo_id":"1398016399","filename":"file2"},{"photo_id":"1398016553","filename":"file4"},{"photo_id":"1398016328","filename":"file1"},{"photo_id":"1398016236","filename":"file0"},{"photo_id":"1398016477","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398016236":["hashtag1","hashtag2"]},{"1398016553":["hashtag1","hashtag2"]},{"1398016625":["hashtag1","hashtag2"]},{"1398016328":["hashtag1","hashtag2"]},{"1398016477":["hashtag1","hashtag2"]},{"1398016399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398016236, 1398016553, 1398016625, 1398016328, 1398016477, 1398016399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.732070207595825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:20:02.641819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/33/image_02122025_12_33_25_9669.jpg', '/home/pi/Desktop/images/02122025/12/33/image_02122025_12_33_35_10591.jpg', '/home/pi/Desktop/images/02122025/12/33/image_02122025_12_33_45_9610.jpg', '/home/pi/Desktop/images/02122025/12/33/image_02122025_12_33_55_9739.jpg', '/home/pi/Desktop/images/02122025/12/33/image_02122025_12_34_04_9680.jpg', '/home/pi/Desktop/images/02122025/12/34/image_02122025_12_34_15_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/33/image_02122025_12_33_25_9669.jpg
/home/pi/Desktop/images/02122025/12/33/image_02122025_12_33_35_10591.jpg
/home/pi/Desktop/images/02122025/12/33/image_02122025_12_33_45_9610.jpg
/home/pi/Desktop/images/02122025/12/33/image_02122025_12_33_55_9739.jpg
/home/pi/Desktop/images/02122025/12/33/image_02122025_12_34_04_9680.jpg
/home/pi/Desktop/images/02122025/12/34/image_02122025_12_34_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":["1398017079","1398016779","1398016854","1398016923","1398017021","1398016963"],"photo_ids_order":["1398016779","1398016854","1398016923","1398016963","1398017021","1398017079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1e61a07907adc284981fe7898d1cceaf.jpg","text":"TemporaryFile(/tmp/multipartBody6005856443365808476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901264124,"filename":"image_02122025_12_34_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/5/22d8f4441c8aa76568999d9c7178dbbe.jpg","text":"TemporaryFile(/tmp/multipartBody5255316569826038656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901264124,"filename":"image_02122025_12_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/5/c80b47dd402b844d4de653eb1e3369b0.jpg","text":"TemporaryFile(/tmp/multipartBody3762850409133039603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901264124,"filename":"image_02122025_12_33_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/5/60c945b1fb89235886c1d7ba0b6ef70b.jpg","text":"TemporaryFile(/tmp/multipartBody6370224613268332468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901264124,"filename":"image_02122025_12_33_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/5/6d354b940e93a05fd9947e3c310920e1.jpg","text":"TemporaryFile(/tmp/multipartBody6096879501936387303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901264124,"filename":"image_02122025_12_34_04_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/5/e356b0acd733e42414ca9c0e70e020bb.jpg","text":"TemporaryFile(/tmp/multipartBody1282508692631459010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901264124,"filename":"image_02122025_12_33_55_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398016923","file1":"1398016854","file0":"1398016779","file4":"1398017021","file5":"1398017079","file3":"1398016963"},"map_files_photo_id_array":[{"photo_id":"1398017079","filename":"file5"},{"photo_id":"1398016923","filename":"file2"},{"photo_id":"1398017021","filename":"file4"},{"photo_id":"1398016854","filename":"file1"},{"photo_id":"1398016779","filename":"file0"},{"photo_id":"1398016963","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398017079":["hashtag1","hashtag2"]},{"1398016779":["hashtag1","hashtag2"]},{"1398016854":["hashtag1","hashtag2"]},{"1398016923":["hashtag1","hashtag2"]},{"1398017021":["hashtag1","hashtag2"]},{"1398016963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398017079, 1398016779, 1398016854, 1398016923, 1398017021, 1398016963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.226187229156494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:20:42.233839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_32_2776.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_36_3696.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_39_2851.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_42_2708.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_44_2577.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_48_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_32_2776.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_36_3696.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_39_2851.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_42_2708.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_44_2577.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_48_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":["1398017130","1398017133","1398017132","1398017128","1398017131","1398017125"],"photo_ids_order":["1398017125","1398017128","1398017130","1398017131","1398017132","1398017133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2623567e1972223f2866f80220626b8.jpg","text":"TemporaryFile(/tmp/multipartBody4874428223582747147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901303697,"filename":"image_31102025_18_17_39_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/5/933ceb1458fa03c319de66fdc9d922f6.jpg","text":"TemporaryFile(/tmp/multipartBody7620745310003504302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901303697,"filename":"image_31102025_18_17_48_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/5/98d61977f87fce649b4e526c581e724e.jpg","text":"TemporaryFile(/tmp/multipartBody2436228504956796644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901303697,"filename":"image_31102025_18_17_44_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/5/d6072eeb08c85162143cb0a13a33dcbe.jpg","text":"TemporaryFile(/tmp/multipartBody2114157017280019272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901303697,"filename":"image_31102025_18_17_36_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/5/97b115e86426f96a0783ed32fee0c489.jpg","text":"TemporaryFile(/tmp/multipartBody4886266111177973512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901303697,"filename":"image_31102025_18_17_42_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/5/f739ccb30638d3d0fce9d60a4bddea1e.jpg","text":"TemporaryFile(/tmp/multipartBody2135652656972698396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901303697,"filename":"image_31102025_18_17_32_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398017130","file1":"1398017128","file0":"1398017125","file4":"1398017132","file5":"1398017133","file3":"1398017131"},"map_files_photo_id_array":[{"photo_id":"1398017133","filename":"file5"},{"photo_id":"1398017130","filename":"file2"},{"photo_id":"1398017132","filename":"file4"},{"photo_id":"1398017128","filename":"file1"},{"photo_id":"1398017125","filename":"file0"},{"photo_id":"1398017131","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398017130":["hashtag1","hashtag2"]},{"1398017133":["hashtag1","hashtag2"]},{"1398017132":["hashtag1","hashtag2"]},{"1398017128":["hashtag1","hashtag2"]},{"1398017131":["hashtag1","hashtag2"]},{"1398017125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398017130, 1398017133, 1398017132, 1398017128, 1398017131, 1398017125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.003467082977295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:21:22.368972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/14/image_05122025_03_14_24_10759.jpg', '/home/pi/Desktop/images/05122025/03/20/image_05122025_03_20_24_10837.jpg', '/home/pi/Desktop/images/05122025/03/20/image_05122025_03_20_34_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/14/image_05122025_03_14_24_10759.jpg
/home/pi/Desktop/images/05122025/03/20/image_05122025_03_20_24_10837.jpg
/home/pi/Desktop/images/05122025/03/20/image_05122025_03_20_34_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.4802427291870117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:21:32.456535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/34/image_02122025_12_34_25_9702.jpg', '/home/pi/Desktop/images/02122025/12/34/image_02122025_12_34_34_9734.jpg', '/home/pi/Desktop/images/02122025/12/34/image_02122025_12_34_47_12666.jpg', '/home/pi/Desktop/images/02122025/12/34/image_02122025_12_34_55_7723.jpg', '/home/pi/Desktop/images/02122025/12/34/image_02122025_12_35_04_9631.jpg', '/home/pi/Desktop/images/02122025/12/35/image_02122025_12_35_15_10823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/34/image_02122025_12_34_25_9702.jpg
/home/pi/Desktop/images/02122025/12/34/image_02122025_12_34_34_9734.jpg
/home/pi/Desktop/images/02122025/12/34/image_02122025_12_34_47_12666.jpg
/home/pi/Desktop/images/02122025/12/34/image_02122025_12_34_55_7723.jpg
/home/pi/Desktop/images/02122025/12/34/image_02122025_12_35_04_9631.jpg
/home/pi/Desktop/images/02122025/12/35/image_02122025_12_35_15_10823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398017373","1398017289","1398017379","1398017328","1398017369","1398017374"],"photo_ids_order":["1398017289","1398017328","1398017369","1398017373","1398017374","1398017379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80caf3f41ad5041fb6ce428f09e522e8.jpg","text":"TemporaryFile(/tmp/multipartBody6259569911211803218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901354623,"filename":"image_02122025_12_34_55_7723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bbf55253185975df4b161a97889e7b57.jpg","text":"TemporaryFile(/tmp/multipartBody7624953454663858783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901354623,"filename":"image_02122025_12_34_25_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20d1714fc5e9be82632df6d5c1f56377.jpg","text":"TemporaryFile(/tmp/multipartBody5598660550087614978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901354623,"filename":"image_02122025_12_35_15_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/5/19a69f9fc377ace151f2ae77294dfcc4.jpg","text":"TemporaryFile(/tmp/multipartBody8304528188892024126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901354623,"filename":"image_02122025_12_34_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b11ec1f5f2e64a322b0b34b41da7a4a4.jpg","text":"TemporaryFile(/tmp/multipartBody3320786546710109503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901354623,"filename":"image_02122025_12_34_47_12666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f8fa55776929217dc456d4009cdced15.jpg","text":"TemporaryFile(/tmp/multipartBody6620939564077924900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901354623,"filename":"image_02122025_12_35_04_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398017369","file1":"1398017328","file0":"1398017289","file4":"1398017374","file5":"1398017379","file3":"1398017373"},"map_files_photo_id_array":[{"photo_id":"1398017379","filename":"file5"},{"photo_id":"1398017369","filename":"file2"},{"photo_id":"1398017374","filename":"file4"},{"photo_id":"1398017328","filename":"file1"},{"photo_id":"1398017289","filename":"file0"},{"photo_id":"1398017373","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398017373":["hashtag1","hashtag2"]},{"1398017289":["hashtag1","hashtag2"]},{"1398017379":["hashtag1","hashtag2"]},{"1398017328":["hashtag1","hashtag2"]},{"1398017369":["hashtag1","hashtag2"]},{"1398017374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398017373, 1398017289, 1398017379, 1398017328, 1398017369, 1398017374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25205206871033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:22:12.633400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/35/image_02122025_12_35_25_9733.jpg', '/home/pi/Desktop/images/02122025/12/35/image_02122025_12_35_35_9695.jpg', '/home/pi/Desktop/images/02122025/12/35/image_02122025_12_35_45_9805.jpg', '/home/pi/Desktop/images/02122025/12/35/image_02122025_12_35_55_10750.jpg', '/home/pi/Desktop/images/02122025/12/35/image_02122025_12_36_05_9665.jpg', '/home/pi/Desktop/images/02122025/12/36/image_02122025_12_36_15_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/35/image_02122025_12_35_25_9733.jpg
/home/pi/Desktop/images/02122025/12/35/image_02122025_12_35_35_9695.jpg
/home/pi/Desktop/images/02122025/12/35/image_02122025_12_35_45_9805.jpg
/home/pi/Desktop/images/02122025/12/35/image_02122025_12_35_55_10750.jpg
/home/pi/Desktop/images/02122025/12/35/image_02122025_12_36_05_9665.jpg
/home/pi/Desktop/images/02122025/12/36/image_02122025_12_36_15_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398017673","1398017712","1398017463","1398017597","1398017635","1398017539"],"photo_ids_order":["1398017463","1398017539","1398017597","1398017635","1398017673","1398017712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c8b27b1236a4b768b6dee3e3b9d4ffb.jpg","text":"TemporaryFile(/tmp/multipartBody4585466140487122803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901394683,"filename":"image_02122025_12_36_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/5/65c66d4a8614b25cf19236e817536c90.jpg","text":"TemporaryFile(/tmp/multipartBody845531597055390076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901394683,"filename":"image_02122025_12_36_15_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f3dbbd7d0bbab4f30c89437061aae506.jpg","text":"TemporaryFile(/tmp/multipartBody5498885177261911603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901394683,"filename":"image_02122025_12_35_25_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1385bdcfd5f4f4640657e4021944e9bd.jpg","text":"TemporaryFile(/tmp/multipartBody4126828276570309175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901394683,"filename":"image_02122025_12_35_45_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/5/e56ebd6066b9f3a30d5d2b3d1b7ca527.jpg","text":"TemporaryFile(/tmp/multipartBody4761040948463084641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901394683,"filename":"image_02122025_12_35_55_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0d06d0a069a97f442968baace248ba2d.jpg","text":"TemporaryFile(/tmp/multipartBody8776928555328304194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901394683,"filename":"image_02122025_12_35_35_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398017597","file1":"1398017539","file0":"1398017463","file4":"1398017673","file5":"1398017712","file3":"1398017635"},"map_files_photo_id_array":[{"photo_id":"1398017712","filename":"file5"},{"photo_id":"1398017597","filename":"file2"},{"photo_id":"1398017673","filename":"file4"},{"photo_id":"1398017539","filename":"file1"},{"photo_id":"1398017463","filename":"file0"},{"photo_id":"1398017635","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398017673":["hashtag1","hashtag2"]},{"1398017712":["hashtag1","hashtag2"]},{"1398017463":["hashtag1","hashtag2"]},{"1398017597":["hashtag1","hashtag2"]},{"1398017635":["hashtag1","hashtag2"]},{"1398017539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398017673, 1398017712, 1398017463, 1398017597, 1398017635, 1398017539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59962844848633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:23:03.418116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/14/image_05122025_03_14_24_10759.jpg', '/home/pi/Desktop/images/05122025/03/20/image_05122025_03_20_24_10837.jpg', '/home/pi/Desktop/images/05122025/03/20/image_05122025_03_20_34_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/14/image_05122025_03_14_24_10759.jpg
/home/pi/Desktop/images/05122025/03/20/image_05122025_03_20_24_10837.jpg
/home/pi/Desktop/images/05122025/03/20/image_05122025_03_20_34_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":["1398017913","1398017954","1398017995"],"photo_ids_order":["1398017913","1398017954","1398017995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb4477ca247f00ee17802c987aa1eacf.jpg","text":"TemporaryFile(/tmp/multipartBody143361760886301603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901444059,"filename":"image_05122025_03_14_24_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/5/6f0b2916cd2975067c378775d0f2c230.jpg","text":"TemporaryFile(/tmp/multipartBody5038100293503593111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901444059,"filename":"image_05122025_03_20_24_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/5/130be236c51daeae7e95290844b6097b.jpg","text":"TemporaryFile(/tmp/multipartBody7100235377561957248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901444059,"filename":"image_05122025_03_20_34_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398017995","file1":"1398017954","file0":"1398017913"},"map_files_photo_id_array":[{"photo_id":"1398017995","filename":"file2"},{"photo_id":"1398017954","filename":"file1"},{"photo_id":"1398017913","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398017913":["hashtag1","hashtag2"]},{"1398017954":["hashtag1","hashtag2"]},{"1398017995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398017913, 1398017954, 1398017995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.086103916168213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:23:32.788839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/36/image_02122025_12_36_25_9797.jpg', '/home/pi/Desktop/images/02122025/12/36/image_02122025_12_36_35_10711.jpg', '/home/pi/Desktop/images/02122025/12/36/image_02122025_12_36_45_9695.jpg', '/home/pi/Desktop/images/02122025/12/36/image_02122025_12_36_55_9777.jpg', '/home/pi/Desktop/images/02122025/12/36/image_02122025_12_37_04_9778.jpg', '/home/pi/Desktop/images/02122025/12/37/image_02122025_12_37_15_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/36/image_02122025_12_36_25_9797.jpg
/home/pi/Desktop/images/02122025/12/36/image_02122025_12_36_35_10711.jpg
/home/pi/Desktop/images/02122025/12/36/image_02122025_12_36_45_9695.jpg
/home/pi/Desktop/images/02122025/12/36/image_02122025_12_36_55_9777.jpg
/home/pi/Desktop/images/02122025/12/36/image_02122025_12_37_04_9778.jpg
/home/pi/Desktop/images/02122025/12/37/image_02122025_12_37_15_10765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018342","1398018315","1398018201","1398018239","1398018277","1398018163"],"photo_ids_order":["1398018163","1398018201","1398018239","1398018277","1398018315","1398018342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee02cdb760782ec2f957a2c86b8beab8.jpg","text":"TemporaryFile(/tmp/multipartBody5091112338488077784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901474778,"filename":"image_02122025_12_37_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/5/cafe74146beec9dc75a38aec55e9422f.jpg","text":"TemporaryFile(/tmp/multipartBody8995475601723859683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901474778,"filename":"image_02122025_12_37_04_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/5/9b38da95ca55227598b8f77ae02da4ab.jpg","text":"TemporaryFile(/tmp/multipartBody7443686331998464334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901474778,"filename":"image_02122025_12_36_35_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/5/e91439191ee274322c16c22038c9a6a8.jpg","text":"TemporaryFile(/tmp/multipartBody313223846142430611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901474778,"filename":"image_02122025_12_36_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/5/42244bb9cce2c4d696e77d902e98abd5.jpg","text":"TemporaryFile(/tmp/multipartBody8303688718776813678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901474778,"filename":"image_02122025_12_36_55_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e9c14f1199a2242cbe8b24e87a8a327.jpg","text":"TemporaryFile(/tmp/multipartBody3523835657874116230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901474778,"filename":"image_02122025_12_36_25_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018239","file1":"1398018201","file0":"1398018163","file4":"1398018315","file5":"1398018342","file3":"1398018277"},"map_files_photo_id_array":[{"photo_id":"1398018342","filename":"file5"},{"photo_id":"1398018239","filename":"file2"},{"photo_id":"1398018315","filename":"file4"},{"photo_id":"1398018201","filename":"file1"},{"photo_id":"1398018163","filename":"file0"},{"photo_id":"1398018277","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398018342":["hashtag1","hashtag2"]},{"1398018315":["hashtag1","hashtag2"]},{"1398018201":["hashtag1","hashtag2"]},{"1398018239":["hashtag1","hashtag2"]},{"1398018277":["hashtag1","hashtag2"]},{"1398018163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398018342, 1398018315, 1398018201, 1398018239, 1398018277, 1398018163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8269944190979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:24:11.799746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/37/image_02122025_12_37_25_9601.jpg', '/home/pi/Desktop/images/02122025/12/37/image_02122025_12_37_35_9690.jpg', '/home/pi/Desktop/images/02122025/12/37/image_02122025_12_37_45_10742.jpg', '/home/pi/Desktop/images/02122025/12/37/image_02122025_12_37_55_9855.jpg', '/home/pi/Desktop/images/02122025/12/37/image_02122025_12_38_05_9762.jpg', '/home/pi/Desktop/images/02122025/12/38/image_02122025_12_38_15_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/37/image_02122025_12_37_25_9601.jpg
/home/pi/Desktop/images/02122025/12/37/image_02122025_12_37_35_9690.jpg
/home/pi/Desktop/images/02122025/12/37/image_02122025_12_37_45_10742.jpg
/home/pi/Desktop/images/02122025/12/37/image_02122025_12_37_55_9855.jpg
/home/pi/Desktop/images/02122025/12/37/image_02122025_12_38_05_9762.jpg
/home/pi/Desktop/images/02122025/12/38/image_02122025_12_38_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":["1398018353","1398018347","1398018355","1398018351","1398018345","1398018360"],"photo_ids_order":["1398018345","1398018347","1398018351","1398018353","1398018355","1398018360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6d0b57a31b4cab69892536edfcb227e1.jpg","text":"TemporaryFile(/tmp/multipartBody5850421558123815138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901513786,"filename":"image_02122025_12_37_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/5/c7dcf043105a501ee47eccc8e4b69a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8694034629525666548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901513786,"filename":"image_02122025_12_37_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/5/24d60da01b3ce99566d21b042ac86713.jpg","text":"TemporaryFile(/tmp/multipartBody7468915015278319936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901513786,"filename":"image_02122025_12_38_05_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ef320d56901d44f2abb38179b1a7934.jpg","text":"TemporaryFile(/tmp/multipartBody8628171119818717204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901513786,"filename":"image_02122025_12_37_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/5/83791deeda8ab6b5360213c38a506b24.jpg","text":"TemporaryFile(/tmp/multipartBody897488795478076780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901513786,"filename":"image_02122025_12_37_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8fe4c6ad9296f7bfc8600584e08ed57e.jpg","text":"TemporaryFile(/tmp/multipartBody8896787755889575151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901513786,"filename":"image_02122025_12_38_15_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018351","file1":"1398018347","file0":"1398018345","file4":"1398018355","file5":"1398018360","file3":"1398018353"},"map_files_photo_id_array":[{"photo_id":"1398018360","filename":"file5"},{"photo_id":"1398018351","filename":"file2"},{"photo_id":"1398018355","filename":"file4"},{"photo_id":"1398018347","filename":"file1"},{"photo_id":"1398018345","filename":"file0"},{"photo_id":"1398018353","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398018353":["hashtag1","hashtag2"]},{"1398018347":["hashtag1","hashtag2"]},{"1398018355":["hashtag1","hashtag2"]},{"1398018351":["hashtag1","hashtag2"]},{"1398018345":["hashtag1","hashtag2"]},{"1398018360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398018353, 1398018347, 1398018355, 1398018351, 1398018345, 1398018360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68070912361145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:25:02.852414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/20/image_05122025_03_20_53_9654.jpg', '/home/pi/Desktop/images/05122025/03/24/image_05122025_03_24_24_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/20/image_05122025_03_20_53_9654.jpg
/home/pi/Desktop/images/05122025/03/24/image_05122025_03_24_24_9668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018458","1398018495"],"photo_ids_order":["1398018458","1398018495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1cc3c455c063db3dae73065570e031df.jpg","text":"TemporaryFile(/tmp/multipartBody608317949343166099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901563405,"filename":"image_05122025_03_20_53_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/5/f93b7e1614490f6d5d832e51a79c9913.jpg","text":"TemporaryFile(/tmp/multipartBody8821235034653530342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901563405,"filename":"image_05122025_03_24_24_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398018495","file0":"1398018458"},"map_files_photo_id_array":[{"photo_id":"1398018495","filename":"file1"},{"photo_id":"1398018458","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398018458":["hashtag1","hashtag2"]},{"1398018495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398018458, 1398018495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.94083881378174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:25:22.196881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/24/image_05122025_03_24_54_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/24/image_05122025_03_24_54_9882.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018609"],"photo_id":"1398018609","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f2452f8047451bde2f8c3293aa7836a.jpg","text":"TemporaryFile(/tmp/multipartBody1530106791939402923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901582677,"filename":"image_05122025_03_24_54_9882.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398018609"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398018609"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.92172360420227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:25:42.166752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_51_2804.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_53_2596.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_57_3698.jpg', '/home/pi/Desktop/images/31102025/18/17/image_31102025_18_18_00_2659.jpg', '/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_02_2544.jpg', '/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_06_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_51_2804.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_53_2596.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_17_57_3698.jpg
/home/pi/Desktop/images/31102025/18/17/image_31102025_18_18_00_2659.jpg
/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_02_2544.jpg
/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_06_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018671","1398018697","1398018631","1398018703","1398018706","1398018741"],"photo_ids_order":["1398018631","1398018671","1398018697","1398018703","1398018706","1398018741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ccca8dbe29bc17719b04cfe20e074d9.jpg","text":"TemporaryFile(/tmp/multipartBody5281964975914877011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901603554,"filename":"image_31102025_18_17_53_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/5/06c2ad24987411be260288e75128f0a8.jpg","text":"TemporaryFile(/tmp/multipartBody6663931167967605867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901603554,"filename":"image_31102025_18_17_57_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/5/04bf6b7b360ad31ffe1877c61c8ab680.jpg","text":"TemporaryFile(/tmp/multipartBody6924172908766925525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901603554,"filename":"image_31102025_18_17_51_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/5/d6ff096d18c4acf709e4a3693505a7c9.jpg","text":"TemporaryFile(/tmp/multipartBody4708628381462821833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901603554,"filename":"image_31102025_18_18_00_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/5/fe4742d4e8f4fdc1ec998b3ea517f42a.jpg","text":"TemporaryFile(/tmp/multipartBody4934595428822156712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901603554,"filename":"image_31102025_18_18_02_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/5/198437e5ecb45690ea64027dddced81a.jpg","text":"TemporaryFile(/tmp/multipartBody3400584470760572520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901603554,"filename":"image_31102025_18_18_06_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018697","file1":"1398018671","file0":"1398018631","file4":"1398018706","file5":"1398018741","file3":"1398018703"},"map_files_photo_id_array":[{"photo_id":"1398018741","filename":"file5"},{"photo_id":"1398018697","filename":"file2"},{"photo_id":"1398018706","filename":"file4"},{"photo_id":"1398018671","filename":"file1"},{"photo_id":"1398018631","filename":"file0"},{"photo_id":"1398018703","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398018671":["hashtag1","hashtag2"]},{"1398018697":["hashtag1","hashtag2"]},{"1398018631":["hashtag1","hashtag2"]},{"1398018703":["hashtag1","hashtag2"]},{"1398018706":["hashtag1","hashtag2"]},{"1398018741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398018671, 1398018697, 1398018631, 1398018703, 1398018706, 1398018741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03130388259888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:26:22.372026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/25/image_05122025_03_25_23_9723.jpg', '/home/pi/Desktop/images/05122025/03/25/image_05122025_03_26_03_9740.jpg', '/home/pi/Desktop/images/05122025/03/26/image_05122025_03_26_14_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/25/image_05122025_03_25_23_9723.jpg
/home/pi/Desktop/images/05122025/03/25/image_05122025_03_26_03_9740.jpg
/home/pi/Desktop/images/05122025/03/26/image_05122025_03_26_14_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":["1398018773","1398018776","1398018778"],"photo_ids_order":["1398018773","1398018776","1398018778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08bc4e44b30d020be32b5368a2138e67.jpg","text":"TemporaryFile(/tmp/multipartBody240748149491898202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901642966,"filename":"image_05122025_03_25_23_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/5/069a6a7234ce9b56d1481b4c2b0850c4.jpg","text":"TemporaryFile(/tmp/multipartBody3986833666082632361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901642966,"filename":"image_05122025_03_26_03_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/5/1054f993d1d2609dcac0c4a46705e823.jpg","text":"TemporaryFile(/tmp/multipartBody1707025041224540407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901642966,"filename":"image_05122025_03_26_14_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018778","file1":"1398018776","file0":"1398018773"},"map_files_photo_id_array":[{"photo_id":"1398018778","filename":"file2"},{"photo_id":"1398018776","filename":"file1"},{"photo_id":"1398018773","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398018773":["hashtag1","hashtag2"]},{"1398018776":["hashtag1","hashtag2"]},{"1398018778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398018773, 1398018776, 1398018778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.32223629951477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:27:03.027937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/38/image_02122025_12_38_25_9845.jpg', '/home/pi/Desktop/images/02122025/12/38/image_02122025_12_38_35_10450.jpg', '/home/pi/Desktop/images/02122025/12/38/image_02122025_12_38_45_9837.jpg', '/home/pi/Desktop/images/02122025/12/38/image_02122025_12_38_55_9817.jpg', '/home/pi/Desktop/images/02122025/12/38/image_02122025_12_39_05_10601.jpg', '/home/pi/Desktop/images/02122025/12/39/image_02122025_12_39_15_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/38/image_02122025_12_38_25_9845.jpg
/home/pi/Desktop/images/02122025/12/38/image_02122025_12_38_35_10450.jpg
/home/pi/Desktop/images/02122025/12/38/image_02122025_12_38_45_9837.jpg
/home/pi/Desktop/images/02122025/12/38/image_02122025_12_38_55_9817.jpg
/home/pi/Desktop/images/02122025/12/38/image_02122025_12_39_05_10601.jpg
/home/pi/Desktop/images/02122025/12/39/image_02122025_12_39_15_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018804","1398018791","1398018794","1398018798","1398018802","1398018792"],"photo_ids_order":["1398018791","1398018792","1398018794","1398018798","1398018802","1398018804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bac3192af62146ec1152d62d216791cc.jpg","text":"TemporaryFile(/tmp/multipartBody7904899662259247291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901684683,"filename":"image_02122025_12_39_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/5/2abdce962a71f3b83d780211dee42b5c.jpg","text":"TemporaryFile(/tmp/multipartBody8281340260685940645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901684683,"filename":"image_02122025_12_38_25_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8f407f74be408145ceaf539d28ba840d.jpg","text":"TemporaryFile(/tmp/multipartBody2440194698115377837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901684683,"filename":"image_02122025_12_38_45_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c1a79185fb0047b880a8fd39af6286e.jpg","text":"TemporaryFile(/tmp/multipartBody8338834988121884136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901684683,"filename":"image_02122025_12_38_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/5/e183da740520d7365cf15b9919bae5bf.jpg","text":"TemporaryFile(/tmp/multipartBody96512288204916071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901684683,"filename":"image_02122025_12_39_05_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/5/1a83d1a42ddb5b899454b2640aa6f325.jpg","text":"TemporaryFile(/tmp/multipartBody2942915354531234984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901684683,"filename":"image_02122025_12_38_35_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018794","file1":"1398018792","file0":"1398018791","file4":"1398018802","file5":"1398018804","file3":"1398018798"},"map_files_photo_id_array":[{"photo_id":"1398018804","filename":"file5"},{"photo_id":"1398018794","filename":"file2"},{"photo_id":"1398018802","filename":"file4"},{"photo_id":"1398018792","filename":"file1"},{"photo_id":"1398018791","filename":"file0"},{"photo_id":"1398018798","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398018804":["hashtag1","hashtag2"]},{"1398018791":["hashtag1","hashtag2"]},{"1398018794":["hashtag1","hashtag2"]},{"1398018798":["hashtag1","hashtag2"]},{"1398018802":["hashtag1","hashtag2"]},{"1398018792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398018804, 1398018791, 1398018794, 1398018798, 1398018802, 1398018792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93622946739197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:27:42.527241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_09_2727.jpg', '/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_11_2680.jpg', '/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_36_2856.jpg', '/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_38_2631.jpg', '/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_48_3634.jpg', '/home/pi/Desktop/images/31102025/18/20/image_31102025_18_20_57_1478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_09_2727.jpg
/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_11_2680.jpg
/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_36_2856.jpg
/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_38_2631.jpg
/home/pi/Desktop/images/31102025/18/18/image_31102025_18_18_48_3634.jpg
/home/pi/Desktop/images/31102025/18/20/image_31102025_18_20_57_1478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018813","1398018815","1398018809","1398018812","1398018811","1398018814"],"photo_ids_order":["1398018809","1398018811","1398018812","1398018813","1398018814","1398018815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a63ee4e8f650dc2496b1277ad259115.jpg","text":"TemporaryFile(/tmp/multipartBody2352227621327291123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901723972,"filename":"image_31102025_18_18_38_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/5/57b51ff7b90c28db4a532123c22c74ce.jpg","text":"TemporaryFile(/tmp/multipartBody1138065359344996282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901723972,"filename":"image_31102025_18_20_57_1478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ded51b66209195c809ca712ccb52867a.jpg","text":"TemporaryFile(/tmp/multipartBody2535046096292529681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901723972,"filename":"image_31102025_18_18_09_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/5/07b8a34341ae5826f9c305d1ff51dd58.jpg","text":"TemporaryFile(/tmp/multipartBody3037806978841528589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901723972,"filename":"image_31102025_18_18_36_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/5/91db9f4f1598cbe73a6442b2c285ba4b.jpg","text":"TemporaryFile(/tmp/multipartBody8678635751723643870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901723972,"filename":"image_31102025_18_18_11_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/5/841dc51a06af5d22cfc18d38b793b9da.jpg","text":"TemporaryFile(/tmp/multipartBody3993210178719401063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901723972,"filename":"image_31102025_18_18_48_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018812","file1":"1398018811","file0":"1398018809","file4":"1398018814","file5":"1398018815","file3":"1398018813"},"map_files_photo_id_array":[{"photo_id":"1398018815","filename":"file5"},{"photo_id":"1398018812","filename":"file2"},{"photo_id":"1398018814","filename":"file4"},{"photo_id":"1398018811","filename":"file1"},{"photo_id":"1398018809","filename":"file0"},{"photo_id":"1398018813","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398018813":["hashtag1","hashtag2"]},{"1398018815":["hashtag1","hashtag2"]},{"1398018809":["hashtag1","hashtag2"]},{"1398018812":["hashtag1","hashtag2"]},{"1398018811":["hashtag1","hashtag2"]},{"1398018814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398018813, 1398018815, 1398018809, 1398018812, 1398018811, 1398018814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76711869239807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:28:22.687901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/26/image_05122025_03_26_54_9713.jpg', '/home/pi/Desktop/images/05122025/03/27/image_05122025_03_27_13_9644.jpg', '/home/pi/Desktop/images/05122025/03/27/image_05122025_03_27_34_9658.jpg', '/home/pi/Desktop/images/05122025/03/27/image_05122025_03_28_04_9707.jpg', '/home/pi/Desktop/images/05122025/03/28/image_05122025_03_28_34_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/26/image_05122025_03_26_54_9713.jpg
/home/pi/Desktop/images/05122025/03/27/image_05122025_03_27_13_9644.jpg
/home/pi/Desktop/images/05122025/03/27/image_05122025_03_27_34_9658.jpg
/home/pi/Desktop/images/05122025/03/27/image_05122025_03_28_04_9707.jpg
/home/pi/Desktop/images/05122025/03/28/image_05122025_03_28_34_9841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018821","1398018839","1398018830","1398018818","1398018826"],"photo_ids_order":["1398018818","1398018821","1398018826","1398018830","1398018839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3f99ba7bbca9e0bd779668b04f8b736b.jpg","text":"TemporaryFile(/tmp/multipartBody3598166081221766837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901763354,"filename":"image_05122025_03_27_13_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/5/d67ae8c41d90d412da3bcc9b7df2f047.jpg","text":"TemporaryFile(/tmp/multipartBody7199669715392767027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901763354,"filename":"image_05122025_03_28_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/5/91756cfe393f355766acfd8fd9a7e33a.jpg","text":"TemporaryFile(/tmp/multipartBody133668626182538389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901763354,"filename":"image_05122025_03_28_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/5/7cb9ebabbf0067925ec59ba02afe2019.jpg","text":"TemporaryFile(/tmp/multipartBody3378120355175106788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901763354,"filename":"image_05122025_03_26_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/5/75b4eda7202f82b5a6f0d6f565097272.jpg","text":"TemporaryFile(/tmp/multipartBody1417475725319544173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901763354,"filename":"image_05122025_03_27_34_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018826","file1":"1398018821","file0":"1398018818","file4":"1398018839","file3":"1398018830"},"map_files_photo_id_array":[{"photo_id":"1398018826","filename":"file2"},{"photo_id":"1398018839","filename":"file4"},{"photo_id":"1398018821","filename":"file1"},{"photo_id":"1398018818","filename":"file0"},{"photo_id":"1398018830","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398018821":["hashtag1","hashtag2"]},{"1398018839":["hashtag1","hashtag2"]},{"1398018830":["hashtag1","hashtag2"]},{"1398018818":["hashtag1","hashtag2"]},{"1398018826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398018821, 1398018839, 1398018830, 1398018818, 1398018826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.8851580619812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:29:02.949761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/39/image_02122025_12_39_25_9657.jpg', '/home/pi/Desktop/images/02122025/12/39/image_02122025_12_39_34_9729.jpg', '/home/pi/Desktop/images/02122025/12/39/image_02122025_12_39_45_10781.jpg', '/home/pi/Desktop/images/02122025/12/39/image_02122025_12_39_55_9640.jpg', '/home/pi/Desktop/images/02122025/12/39/image_02122025_12_40_05_9821.jpg', '/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_14_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/39/image_02122025_12_39_25_9657.jpg
/home/pi/Desktop/images/02122025/12/39/image_02122025_12_39_34_9729.jpg
/home/pi/Desktop/images/02122025/12/39/image_02122025_12_39_45_10781.jpg
/home/pi/Desktop/images/02122025/12/39/image_02122025_12_39_55_9640.jpg
/home/pi/Desktop/images/02122025/12/39/image_02122025_12_40_05_9821.jpg
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_14_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018852","1398018851","1398018854","1398018857","1398018859","1398018853"],"photo_ids_order":["1398018851","1398018852","1398018853","1398018854","1398018857","1398018859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/427dc6e6c231ef5302311464754ae58a.jpg","text":"TemporaryFile(/tmp/multipartBody6767909289811177791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901804742,"filename":"image_02122025_12_39_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/5/8cd8beeb0b5b9d9d883ec4bd151afc9b.jpg","text":"TemporaryFile(/tmp/multipartBody8637566549704144872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901804742,"filename":"image_02122025_12_39_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/5/a4575b7f08027eefdde5c4b3450332b2.jpg","text":"TemporaryFile(/tmp/multipartBody2240509321069967336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901804742,"filename":"image_02122025_12_39_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/5/156edc3f331690ffe4f4953be5c03680.jpg","text":"TemporaryFile(/tmp/multipartBody5413835771445365723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901804742,"filename":"image_02122025_12_40_05_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/068055919f7a53bf4b7a8e4b60ba5051.jpg","text":"TemporaryFile(/tmp/multipartBody898855795172395042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901804742,"filename":"image_02122025_12_40_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/5/9e2e019c26f0989b1680297a17335eb4.jpg","text":"TemporaryFile(/tmp/multipartBody4821658589834212099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901804742,"filename":"image_02122025_12_39_45_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018853","file1":"1398018852","file0":"1398018851","file4":"1398018857","file5":"1398018859","file3":"1398018854"},"map_files_photo_id_array":[{"photo_id":"1398018859","filename":"file5"},{"photo_id":"1398018853","filename":"file2"},{"photo_id":"1398018857","filename":"file4"},{"photo_id":"1398018852","filename":"file1"},{"photo_id":"1398018851","filename":"file0"},{"photo_id":"1398018854","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398018852":["hashtag1","hashtag2"]},{"1398018851":["hashtag1","hashtag2"]},{"1398018854":["hashtag1","hashtag2"]},{"1398018857":["hashtag1","hashtag2"]},{"1398018859":["hashtag1","hashtag2"]},{"1398018853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398018852, 1398018851, 1398018854, 1398018857, 1398018859, 1398018853)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.355244874954224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:30:02.391758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/28/image_05122025_03_28_44_9665.jpg', '/home/pi/Desktop/images/05122025/03/29/image_05122025_03_29_14_9653.jpg', '/home/pi/Desktop/images/05122025/03/29/image_05122025_03_29_24_9651.jpg', '/home/pi/Desktop/images/05122025/03/29/image_05122025_03_29_33_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/28/image_05122025_03_28_44_9665.jpg
/home/pi/Desktop/images/05122025/03/29/image_05122025_03_29_14_9653.jpg
/home/pi/Desktop/images/05122025/03/29/image_05122025_03_29_24_9651.jpg
/home/pi/Desktop/images/05122025/03/29/image_05122025_03_29_33_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":["1398018881","1398018883","1398018877","1398018879"],"photo_ids_order":["1398018877","1398018879","1398018881","1398018883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba75d11569960923c5488c51286bc5ff.jpg","text":"TemporaryFile(/tmp/multipartBody5737610209263031710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901863020,"filename":"image_05122025_03_29_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/5/12d573c40cc5ed3136a140e950418fb5.jpg","text":"TemporaryFile(/tmp/multipartBody9099604354379649063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901863020,"filename":"image_05122025_03_29_33_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/5/7fac2a82a8458d5b7826e38517079697.jpg","text":"TemporaryFile(/tmp/multipartBody4849842998833173894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901863020,"filename":"image_05122025_03_28_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/5/6b071b776427c4b7d3e6a9ff3c8d41ae.jpg","text":"TemporaryFile(/tmp/multipartBody897262154879262690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901863020,"filename":"image_05122025_03_29_14_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018881","file1":"1398018879","file0":"1398018877","file3":"1398018883"},"map_files_photo_id_array":[{"photo_id":"1398018881","filename":"file2"},{"photo_id":"1398018879","filename":"file1"},{"photo_id":"1398018877","filename":"file0"},{"photo_id":"1398018883","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398018881":["hashtag1","hashtag2"]},{"1398018883":["hashtag1","hashtag2"]},{"1398018877":["hashtag1","hashtag2"]},{"1398018879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398018881, 1398018883, 1398018877, 1398018879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.758739471435547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:30:32.049367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_25_10845.jpg', '/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_35_9719.jpg', '/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_45_9848.jpg', '/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_54_9689.jpg', '/home/pi/Desktop/images/02122025/12/40/image_02122025_12_41_05_10705.jpg', '/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_15_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_25_10845.jpg
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_35_9719.jpg
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_45_9848.jpg
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_54_9689.jpg
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_41_05_10705.jpg
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_15_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: 1.9252398014068604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:30:42.026966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_04_1529.jpg', '/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_09_3484.jpg', '/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_24_1634.jpg', '/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_30_1716.jpg', '/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_38_1842.jpg', '/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_44_2514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_04_1529.jpg
/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_09_3484.jpg
/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_24_1634.jpg
/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_30_1716.jpg
/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_38_1842.jpg
/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_44_2514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018903","1398018908","1398018905","1398018897","1398018916","1398018901"],"photo_ids_order":["1398018897","1398018901","1398018903","1398018905","1398018908","1398018916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b1b48784a0a5b62bc0cb058344ed6b0e.jpg","text":"TemporaryFile(/tmp/multipartBody8260831695804211349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901903442,"filename":"image_31102025_18_21_24_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/5/2caf032f6bbd1946ddcca887e2f72f62.jpg","text":"TemporaryFile(/tmp/multipartBody7448840268115166861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901903442,"filename":"image_31102025_18_21_38_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/5/c9dfb2b31b51d1e3884362eb37e551d5.jpg","text":"TemporaryFile(/tmp/multipartBody8709375906847381450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901903442,"filename":"image_31102025_18_21_30_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/5/30bcd969ad8464ba4c8d0505a7962324.jpg","text":"TemporaryFile(/tmp/multipartBody3442396217067139679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901903442,"filename":"image_31102025_18_21_04_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/5/2837ab261c5ebba3fda95bde44cead2d.jpg","text":"TemporaryFile(/tmp/multipartBody8819933379717053691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901903442,"filename":"image_31102025_18_21_44_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2dc21450e9942ee26283735bb66bc8d.jpg","text":"TemporaryFile(/tmp/multipartBody4430561585026367585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901903442,"filename":"image_31102025_18_21_09_3484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018903","file1":"1398018901","file0":"1398018897","file4":"1398018908","file5":"1398018916","file3":"1398018905"},"map_files_photo_id_array":[{"photo_id":"1398018916","filename":"file5"},{"photo_id":"1398018903","filename":"file2"},{"photo_id":"1398018908","filename":"file4"},{"photo_id":"1398018901","filename":"file1"},{"photo_id":"1398018897","filename":"file0"},{"photo_id":"1398018905","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398018903":["hashtag1","hashtag2"]},{"1398018908":["hashtag1","hashtag2"]},{"1398018905":["hashtag1","hashtag2"]},{"1398018897":["hashtag1","hashtag2"]},{"1398018916":["hashtag1","hashtag2"]},{"1398018901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398018903, 1398018908, 1398018905, 1398018897, 1398018916, 1398018901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59615731239319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:31:22.231047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/29/image_05122025_03_29_54_9690.jpg', '/home/pi/Desktop/images/05122025/03/30/image_05122025_03_30_54_9768.jpg', '/home/pi/Desktop/images/05122025/03/31/image_05122025_03_31_13_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/29/image_05122025_03_29_54_9690.jpg
/home/pi/Desktop/images/05122025/03/30/image_05122025_03_30_54_9768.jpg
/home/pi/Desktop/images/05122025/03/31/image_05122025_03_31_13_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":["1398018927","1398018929","1398018925"],"photo_ids_order":["1398018925","1398018927","1398018929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c721a5c6fb9c054c9a899a82f91e13c5.jpg","text":"TemporaryFile(/tmp/multipartBody3130761599731773054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901942811,"filename":"image_05122025_03_30_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/5/042fa3a966236af32ab01f4560f89d7c.jpg","text":"TemporaryFile(/tmp/multipartBody9114789534912201521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901942811,"filename":"image_05122025_03_31_13_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/5/da5a57002610812921c722eed06bb54b.jpg","text":"TemporaryFile(/tmp/multipartBody6831675693231379566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901942811,"filename":"image_05122025_03_29_54_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018929","file1":"1398018927","file0":"1398018925"},"map_files_photo_id_array":[{"photo_id":"1398018929","filename":"file2"},{"photo_id":"1398018927","filename":"file1"},{"photo_id":"1398018925","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398018927":["hashtag1","hashtag2"]},{"1398018929":["hashtag1","hashtag2"]},{"1398018925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398018927, 1398018929, 1398018925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.865238666534424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:32:02.882152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_25_10845.jpg', '/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_35_9719.jpg', '/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_45_9848.jpg', '/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_54_9689.jpg', '/home/pi/Desktop/images/02122025/12/40/image_02122025_12_41_05_10705.jpg', '/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_15_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_25_10845.jpg
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_35_9719.jpg
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_45_9848.jpg
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_40_54_9689.jpg
/home/pi/Desktop/images/02122025/12/40/image_02122025_12_41_05_10705.jpg
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_15_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018939","1398018935","1398018943","1398018937","1398018940","1398018933"],"photo_ids_order":["1398018933","1398018935","1398018937","1398018939","1398018940","1398018943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aabc9b03ce9f5fe3db2e83274e2deaf7.jpg","text":"TemporaryFile(/tmp/multipartBody5417861715252696652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901984507,"filename":"image_02122025_12_40_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/5/6903537aa52557594c8b890664d4cdd0.jpg","text":"TemporaryFile(/tmp/multipartBody6527053751891870689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901984507,"filename":"image_02122025_12_40_35_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/5/b049fd259e8fbc7c18c5c042512588fa.jpg","text":"TemporaryFile(/tmp/multipartBody7220048441781826607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901984507,"filename":"image_02122025_12_41_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/5/5a762ceafe1f3dbe9ade35fbe7071dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1863274155207959898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901984507,"filename":"image_02122025_12_40_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/5/155d814feb23969f716345b0d424e44a.jpg","text":"TemporaryFile(/tmp/multipartBody6298609913628528656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901984507,"filename":"image_02122025_12_41_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ed21af5ed0a134ead847b18cc736f24.jpg","text":"TemporaryFile(/tmp/multipartBody2804209577625721781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764901984507,"filename":"image_02122025_12_40_25_10845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018937","file1":"1398018935","file0":"1398018933","file4":"1398018940","file5":"1398018943","file3":"1398018939"},"map_files_photo_id_array":[{"photo_id":"1398018943","filename":"file5"},{"photo_id":"1398018937","filename":"file2"},{"photo_id":"1398018940","filename":"file4"},{"photo_id":"1398018935","filename":"file1"},{"photo_id":"1398018933","filename":"file0"},{"photo_id":"1398018939","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398018939":["hashtag1","hashtag2"]},{"1398018935":["hashtag1","hashtag2"]},{"1398018943":["hashtag1","hashtag2"]},{"1398018937":["hashtag1","hashtag2"]},{"1398018940":["hashtag1","hashtag2"]},{"1398018933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398018939, 1398018935, 1398018943, 1398018937, 1398018940, 1398018933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.628445863723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:32:42.372156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_47_2666.jpg', '/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_53_2682.jpg', '/home/pi/Desktop/images/31102025/18/22/image_31102025_18_22_11_2668.jpg', '/home/pi/Desktop/images/31102025/18/22/image_31102025_18_22_17_2662.jpg', '/home/pi/Desktop/images/31102025/18/22/image_31102025_18_22_59_2744.jpg', '/home/pi/Desktop/images/31102025/18/23/image_31102025_18_23_05_1550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_47_2666.jpg
/home/pi/Desktop/images/31102025/18/21/image_31102025_18_21_53_2682.jpg
/home/pi/Desktop/images/31102025/18/22/image_31102025_18_22_11_2668.jpg
/home/pi/Desktop/images/31102025/18/22/image_31102025_18_22_17_2662.jpg
/home/pi/Desktop/images/31102025/18/22/image_31102025_18_22_59_2744.jpg
/home/pi/Desktop/images/31102025/18/23/image_31102025_18_23_05_1550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018962","1398018961","1398018964","1398018960","1398018954","1398018963"],"photo_ids_order":["1398018954","1398018960","1398018961","1398018962","1398018963","1398018964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2706efd31d6358a643862d1971a6c72d.jpg","text":"TemporaryFile(/tmp/multipartBody737998846131992202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902023791,"filename":"image_31102025_18_22_17_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/5/defd3af07540ba0d13419162b1a93c95.jpg","text":"TemporaryFile(/tmp/multipartBody3720667485367532927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902023791,"filename":"image_31102025_18_22_11_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/5/ce1826cd1f20574fd7f5b1f1766acb9e.jpg","text":"TemporaryFile(/tmp/multipartBody927540537930858308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902023791,"filename":"image_31102025_18_23_05_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/5/0d3d59da10ab686bddb105a5ff4a7012.jpg","text":"TemporaryFile(/tmp/multipartBody4295399925243048118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902023791,"filename":"image_31102025_18_21_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/5/496be8e45b966a82d5f0d54677cc1ca7.jpg","text":"TemporaryFile(/tmp/multipartBody600753805042309534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902023791,"filename":"image_31102025_18_21_47_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8244cb79a5d104082ff8e5fc5877e8ae.jpg","text":"TemporaryFile(/tmp/multipartBody7520893432153536582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902023791,"filename":"image_31102025_18_22_59_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018961","file1":"1398018960","file0":"1398018954","file4":"1398018963","file5":"1398018964","file3":"1398018962"},"map_files_photo_id_array":[{"photo_id":"1398018964","filename":"file5"},{"photo_id":"1398018961","filename":"file2"},{"photo_id":"1398018963","filename":"file4"},{"photo_id":"1398018960","filename":"file1"},{"photo_id":"1398018954","filename":"file0"},{"photo_id":"1398018962","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398018962":["hashtag1","hashtag2"]},{"1398018961":["hashtag1","hashtag2"]},{"1398018964":["hashtag1","hashtag2"]},{"1398018960":["hashtag1","hashtag2"]},{"1398018954":["hashtag1","hashtag2"]},{"1398018963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398018962, 1398018961, 1398018964, 1398018960, 1398018954, 1398018963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.679362297058105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:33:22.668243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/23/image_31102025_18_23_08_2582.jpg', '/home/pi/Desktop/images/31102025/18/23/image_31102025_18_23_12_4044.jpg', '/home/pi/Desktop/images/31102025/18/23/image_31102025_18_23_17_2753.jpg', '/home/pi/Desktop/images/31102025/18/23/image_31102025_18_23_23_3563.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_04_1589.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_06_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/23/image_31102025_18_23_08_2582.jpg
/home/pi/Desktop/images/31102025/18/23/image_31102025_18_23_12_4044.jpg
/home/pi/Desktop/images/31102025/18/23/image_31102025_18_23_17_2753.jpg
/home/pi/Desktop/images/31102025/18/23/image_31102025_18_23_23_3563.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_04_1589.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_06_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":["1398018977","1398018971","1398018973","1398018979","1398018981","1398018975"],"photo_ids_order":["1398018971","1398018973","1398018975","1398018977","1398018979","1398018981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e6efa792c5407d3ae8c0aac1bd5d30a3.jpg","text":"TemporaryFile(/tmp/multipartBody823486511375739442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902064182,"filename":"image_31102025_18_23_23_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/5/924c8ff7224b46ecea210cd9ce9ea1d4.jpg","text":"TemporaryFile(/tmp/multipartBody5014293938953329114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902064182,"filename":"image_31102025_18_23_08_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/5/02a424d6d25052692e386649a0e6ecc1.jpg","text":"TemporaryFile(/tmp/multipartBody4459295021855383143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902064182,"filename":"image_31102025_18_23_12_4044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f0b7f673e67417673795022178c4206.jpg","text":"TemporaryFile(/tmp/multipartBody2961007346126775769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902064182,"filename":"image_31102025_18_24_04_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/5/e0958fe7983f14e2b592a7dcbeaaf849.jpg","text":"TemporaryFile(/tmp/multipartBody2254255677959019368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902064182,"filename":"image_31102025_18_24_06_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/5/fc073b3a899a01fc20db437f96f9b5ae.jpg","text":"TemporaryFile(/tmp/multipartBody8365974492061896945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902064182,"filename":"image_31102025_18_23_17_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018975","file1":"1398018973","file0":"1398018971","file4":"1398018979","file5":"1398018981","file3":"1398018977"},"map_files_photo_id_array":[{"photo_id":"1398018981","filename":"file5"},{"photo_id":"1398018975","filename":"file2"},{"photo_id":"1398018979","filename":"file4"},{"photo_id":"1398018973","filename":"file1"},{"photo_id":"1398018971","filename":"file0"},{"photo_id":"1398018977","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398018977":["hashtag1","hashtag2"]},{"1398018971":["hashtag1","hashtag2"]},{"1398018973":["hashtag1","hashtag2"]},{"1398018979":["hashtag1","hashtag2"]},{"1398018981":["hashtag1","hashtag2"]},{"1398018975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398018977, 1398018971, 1398018973, 1398018979, 1398018981, 1398018975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9073383808136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:34:03.380068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_25_9684.jpg', '/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_34_9628.jpg', '/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_45_10635.jpg', '/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_55_9804.jpg', '/home/pi/Desktop/images/02122025/12/41/image_02122025_12_42_05_9710.jpg', '/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_15_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_25_9684.jpg
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_34_9628.jpg
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_45_10635.jpg
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_55_9804.jpg
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_42_05_9710.jpg
/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_15_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: 1.5401086807250977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:34:12.616618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_25_9684.jpg', '/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_34_9628.jpg', '/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_45_10635.jpg', '/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_55_9804.jpg', '/home/pi/Desktop/images/02122025/12/41/image_02122025_12_42_05_9710.jpg', '/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_15_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_25_9684.jpg
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_34_9628.jpg
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_45_10635.jpg
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_41_55_9804.jpg
/home/pi/Desktop/images/02122025/12/41/image_02122025_12_42_05_9710.jpg
/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_15_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398018998","1398019001","1398018991","1398018994","1398018999","1398018987"],"photo_ids_order":["1398018987","1398018991","1398018994","1398018998","1398018999","1398019001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff8e9c703630d78ac38b4b265d08c84a.jpg","text":"TemporaryFile(/tmp/multipartBody4924482547188613804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902114380,"filename":"image_02122025_12_41_55_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/5/84a93ea3d665b43c57b7cb712ee8b7de.jpg","text":"TemporaryFile(/tmp/multipartBody711519783007176674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902114380,"filename":"image_02122025_12_42_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/5/e9e2b277ed45836cc3c5615c8d598518.jpg","text":"TemporaryFile(/tmp/multipartBody6773831248343570867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902114380,"filename":"image_02122025_12_41_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/5/bf1e0c0fd5209c2ebc83c21aae7c3e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6736988917894226608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902114380,"filename":"image_02122025_12_41_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6bdf4bcdc78fe27bce16eabc5fe514ab.jpg","text":"TemporaryFile(/tmp/multipartBody2177312400035759915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902114380,"filename":"image_02122025_12_42_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/5/3efd4f1f882b8b59b5fdc2710e4a0a7f.jpg","text":"TemporaryFile(/tmp/multipartBody3581676575057837488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902114380,"filename":"image_02122025_12_41_25_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398018994","file1":"1398018991","file0":"1398018987","file4":"1398018999","file5":"1398019001","file3":"1398018998"},"map_files_photo_id_array":[{"photo_id":"1398019001","filename":"file5"},{"photo_id":"1398018994","filename":"file2"},{"photo_id":"1398018999","filename":"file4"},{"photo_id":"1398018991","filename":"file1"},{"photo_id":"1398018987","filename":"file0"},{"photo_id":"1398018998","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398018998":["hashtag1","hashtag2"]},{"1398019001":["hashtag1","hashtag2"]},{"1398018991":["hashtag1","hashtag2"]},{"1398018994":["hashtag1","hashtag2"]},{"1398018999":["hashtag1","hashtag2"]},{"1398018987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398018998, 1398019001, 1398018991, 1398018994, 1398018999, 1398018987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60409688949585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:35:02.531919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/31/image_05122025_03_31_44_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/31/image_05122025_03_31_44_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019013"],"photo_id":"1398019013","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc6687bb0bc7a7ba94fd33f1e928bc28.jpg","text":"TemporaryFile(/tmp/multipartBody6603177089650251195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902163049,"filename":"image_05122025_03_31_44_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398019013"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398019013"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.668200969696045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:35:21.870468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/34/image_05122025_03_34_43_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/34/image_05122025_03_34_43_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019017"],"photo_id":"1398019017","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4bfc0185fefdfbbc555bc5e5dfd10769.jpg","text":"TemporaryFile(/tmp/multipartBody1572869087695378339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902182356,"filename":"image_05122025_03_34_43_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398019017"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398019017"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.000295162200928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:35:41.888012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_09_1589.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_11_1557.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_12_1783.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_16_1563.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_17_1636.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_19_1695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_09_1589.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_11_1557.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_12_1783.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_16_1563.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_17_1636.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_19_1695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019028","1398019030","1398019024","1398019027","1398019029","1398019026"],"photo_ids_order":["1398019024","1398019026","1398019027","1398019028","1398019029","1398019030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b850d94f4d18423724d04fa516023986.jpg","text":"TemporaryFile(/tmp/multipartBody6170011116446452714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902203345,"filename":"image_31102025_18_24_16_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/5/dab75fd544770c3bbace81de2a7c032c.jpg","text":"TemporaryFile(/tmp/multipartBody312838510018345129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902203345,"filename":"image_31102025_18_24_19_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/5/50b8805ea40d0f94d61a9d8948e08e06.jpg","text":"TemporaryFile(/tmp/multipartBody2695813456444552790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902203345,"filename":"image_31102025_18_24_09_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/5/1a0b344df44574b76b40560eb964a8d9.jpg","text":"TemporaryFile(/tmp/multipartBody1073028865818323615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902203345,"filename":"image_31102025_18_24_12_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/5/080378e629f41972b0e3bc2ccfd52294.jpg","text":"TemporaryFile(/tmp/multipartBody2191020552003209612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902203345,"filename":"image_31102025_18_24_17_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/5/9dccbec6bec2f71bcb43d18cff179d3b.jpg","text":"TemporaryFile(/tmp/multipartBody1634360055374001753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902203345,"filename":"image_31102025_18_24_11_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019027","file1":"1398019026","file0":"1398019024","file4":"1398019029","file5":"1398019030","file3":"1398019028"},"map_files_photo_id_array":[{"photo_id":"1398019030","filename":"file5"},{"photo_id":"1398019027","filename":"file2"},{"photo_id":"1398019029","filename":"file4"},{"photo_id":"1398019026","filename":"file1"},{"photo_id":"1398019024","filename":"file0"},{"photo_id":"1398019028","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019028":["hashtag1","hashtag2"]},{"1398019030":["hashtag1","hashtag2"]},{"1398019024":["hashtag1","hashtag2"]},{"1398019027":["hashtag1","hashtag2"]},{"1398019029":["hashtag1","hashtag2"]},{"1398019026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019028, 1398019030, 1398019024, 1398019027, 1398019029, 1398019026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34772229194641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:36:22.026291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_23_2571.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_32_3523.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_35_2567.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_39_3778.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_41_2687.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_44_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_23_2571.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_32_3523.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_35_2567.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_39_3778.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_41_2687.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_44_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":["1398019040","1398019060","1398019042","1398019036","1398019039","1398019048"],"photo_ids_order":["1398019036","1398019039","1398019040","1398019042","1398019048","1398019060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/73eb46ac888edd14756af3affb4ee741.jpg","text":"TemporaryFile(/tmp/multipartBody870494972032890183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902243609,"filename":"image_31102025_18_24_35_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/5/cbaf236b51a5479b7cdaa865dd69a68e.jpg","text":"TemporaryFile(/tmp/multipartBody469461339742694013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902243609,"filename":"image_31102025_18_24_44_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/5/b03fb476c7ca08b6012587a806ca61dd.jpg","text":"TemporaryFile(/tmp/multipartBody1983396599978621391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902243609,"filename":"image_31102025_18_24_39_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/5/a9b4f5761554d5be23b8fff5d55768e1.jpg","text":"TemporaryFile(/tmp/multipartBody6215167938282791132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902243609,"filename":"image_31102025_18_24_23_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/5/4b6138e24e9fa46d3de6f3180dda0bb3.jpg","text":"TemporaryFile(/tmp/multipartBody2074279898721606694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902243609,"filename":"image_31102025_18_24_32_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/5/21b10cc3100ba43e1eac018b38822fda.jpg","text":"TemporaryFile(/tmp/multipartBody4994269494143854683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902243609,"filename":"image_31102025_18_24_41_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019040","file1":"1398019039","file0":"1398019036","file4":"1398019048","file5":"1398019060","file3":"1398019042"},"map_files_photo_id_array":[{"photo_id":"1398019060","filename":"file5"},{"photo_id":"1398019040","filename":"file2"},{"photo_id":"1398019048","filename":"file4"},{"photo_id":"1398019039","filename":"file1"},{"photo_id":"1398019036","filename":"file0"},{"photo_id":"1398019042","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019040":["hashtag1","hashtag2"]},{"1398019060":["hashtag1","hashtag2"]},{"1398019042":["hashtag1","hashtag2"]},{"1398019036":["hashtag1","hashtag2"]},{"1398019039":["hashtag1","hashtag2"]},{"1398019048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019040, 1398019060, 1398019042, 1398019036, 1398019039, 1398019048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74363327026367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:37:02.983500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_25_9624.jpg', '/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_34_9606.jpg', '/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_45_10800.jpg', '/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_55_9611.jpg', '/home/pi/Desktop/images/02122025/12/42/image_02122025_12_43_04_9634.jpg', '/home/pi/Desktop/images/02122025/12/43/image_02122025_12_43_15_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_25_9624.jpg
/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_34_9606.jpg
/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_45_10800.jpg
/home/pi/Desktop/images/02122025/12/42/image_02122025_12_42_55_9611.jpg
/home/pi/Desktop/images/02122025/12/42/image_02122025_12_43_04_9634.jpg
/home/pi/Desktop/images/02122025/12/43/image_02122025_12_43_15_10742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019076","1398019064","1398019081","1398019078","1398019074","1398019062"],"photo_ids_order":["1398019062","1398019064","1398019074","1398019076","1398019078","1398019081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e5344637e5cff951bd28ea84dabc696b.jpg","text":"TemporaryFile(/tmp/multipartBody6115384298888131716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902284627,"filename":"image_02122025_12_42_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/5/c4ea3174e315aa142ce00bfd90268806.jpg","text":"TemporaryFile(/tmp/multipartBody4500140591247101258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902284627,"filename":"image_02122025_12_42_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/5/94aa622c473859e6539639ba380c0575.jpg","text":"TemporaryFile(/tmp/multipartBody7995773843419531086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902284627,"filename":"image_02122025_12_43_15_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/5/a7c35951d95e4644d429b71d191baf9f.jpg","text":"TemporaryFile(/tmp/multipartBody6828891886717444400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902284627,"filename":"image_02122025_12_43_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/5/0b50f84bc9b7f53e8634f9233e135170.jpg","text":"TemporaryFile(/tmp/multipartBody4443759412273558057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902284627,"filename":"image_02122025_12_42_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/5/00df52c2721cfba142e72c44b7139044.jpg","text":"TemporaryFile(/tmp/multipartBody2090903495575790543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902284627,"filename":"image_02122025_12_42_25_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019074","file1":"1398019064","file0":"1398019062","file4":"1398019078","file5":"1398019081","file3":"1398019076"},"map_files_photo_id_array":[{"photo_id":"1398019081","filename":"file5"},{"photo_id":"1398019074","filename":"file2"},{"photo_id":"1398019078","filename":"file4"},{"photo_id":"1398019064","filename":"file1"},{"photo_id":"1398019062","filename":"file0"},{"photo_id":"1398019076","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019076":["hashtag1","hashtag2"]},{"1398019064":["hashtag1","hashtag2"]},{"1398019081":["hashtag1","hashtag2"]},{"1398019078":["hashtag1","hashtag2"]},{"1398019074":["hashtag1","hashtag2"]},{"1398019062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019076, 1398019064, 1398019081, 1398019078, 1398019074, 1398019062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48056983947754 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-05 03:38:02.953615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/34/image_05122025_03_35_04_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/34/image_05122025_03_35_04_9761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019088"],"photo_id":"1398019088","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f5d04327cac595b7cd0eb5263e36ee74.jpg","text":"TemporaryFile(/tmp/multipartBody3072605904221425465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902343457,"filename":"image_05122025_03_35_04_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398019088"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398019088"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.838973045349121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:38:22.397664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/37/image_05122025_03_37_44_9716.jpg', '/home/pi/Desktop/images/05122025/03/38/image_05122025_03_38_24_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/37/image_05122025_03_37_44_9716.jpg
/home/pi/Desktop/images/05122025/03/38/image_05122025_03_38_24_9666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019095","1398019092"],"photo_ids_order":["1398019092","1398019095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ac1f39abd66e4246b5cede0d9305da8.jpg","text":"TemporaryFile(/tmp/multipartBody468370307428730609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902362930,"filename":"image_05122025_03_38_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3643ec4bd26761e5550ae8b58d716a94.jpg","text":"TemporaryFile(/tmp/multipartBody5358134847478406820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902362930,"filename":"image_05122025_03_37_44_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398019095","file0":"1398019092"},"map_files_photo_id_array":[{"photo_id":"1398019095","filename":"file1"},{"photo_id":"1398019092","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019095":["hashtag1","hashtag2"]},{"1398019092":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019095, 1398019092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.65886402130127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:38:42.396576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_47_2765.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_50_2738.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_53_3603.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_56_2643.jpg', '/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_59_3715.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_02_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_47_2765.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_50_2738.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_53_3603.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_56_2643.jpg
/home/pi/Desktop/images/31102025/18/24/image_31102025_18_24_59_3715.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_02_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":["1398019106","1398019118","1398019105","1398019102","1398019110","1398019104"],"photo_ids_order":["1398019102","1398019104","1398019105","1398019106","1398019110","1398019118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c57e113cd96346d620212028259a6ba.jpg","text":"TemporaryFile(/tmp/multipartBody9179034986421013411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902383890,"filename":"image_31102025_18_24_56_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/5/55885bc3515dee66d83b61d726be4e78.jpg","text":"TemporaryFile(/tmp/multipartBody5453414365275165765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902383890,"filename":"image_31102025_18_25_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/5/32abc6c56190a89cd9455ec1be6f7732.jpg","text":"TemporaryFile(/tmp/multipartBody2361995839506542333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902383890,"filename":"image_31102025_18_24_53_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/5/42ffbe91f8a70723f12f21f3991098b4.jpg","text":"TemporaryFile(/tmp/multipartBody1055166266248639838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902383890,"filename":"image_31102025_18_24_47_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/5/3f03a561a542e564785a735dee107614.jpg","text":"TemporaryFile(/tmp/multipartBody7469890557283625738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902383890,"filename":"image_31102025_18_24_59_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/5/b1cdcf08e50e63a27a6b8edf526f399d.jpg","text":"TemporaryFile(/tmp/multipartBody2261881699626239613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902383890,"filename":"image_31102025_18_24_50_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019105","file1":"1398019104","file0":"1398019102","file4":"1398019110","file5":"1398019118","file3":"1398019106"},"map_files_photo_id_array":[{"photo_id":"1398019118","filename":"file5"},{"photo_id":"1398019105","filename":"file2"},{"photo_id":"1398019110","filename":"file4"},{"photo_id":"1398019104","filename":"file1"},{"photo_id":"1398019102","filename":"file0"},{"photo_id":"1398019106","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019106":["hashtag1","hashtag2"]},{"1398019118":["hashtag1","hashtag2"]},{"1398019105":["hashtag1","hashtag2"]},{"1398019102":["hashtag1","hashtag2"]},{"1398019110":["hashtag1","hashtag2"]},{"1398019104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019106, 1398019118, 1398019105, 1398019102, 1398019110, 1398019104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.103739976882935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:39:22.559138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/38/image_05122025_03_38_54_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/38/image_05122025_03_38_54_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019122"],"photo_id":"1398019122","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d603f4ac749e37671a62d7a29c6cc7a.jpg","text":"TemporaryFile(/tmp/multipartBody9109501553343779343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902423049,"filename":"image_05122025_03_38_54_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398019122"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398019122"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.273418664932251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:39:42.537680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_07_4742.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_08_1683.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_11_2669.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_14_2693.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_17_2839.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_20_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_07_4742.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_08_1683.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_11_2669.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_14_2693.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_17_2839.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_20_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019142","1398019139","1398019133","1398019136","1398019144","1398019131"],"photo_ids_order":["1398019131","1398019133","1398019136","1398019139","1398019142","1398019144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a23d498c6907c8237ba355ec6fc19956.jpg","text":"TemporaryFile(/tmp/multipartBody2460957250925392011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902444182,"filename":"image_31102025_18_25_17_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/5/fa9a96939af0b2c290e7d70db9cd725f.jpg","text":"TemporaryFile(/tmp/multipartBody6147849868443243891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902444182,"filename":"image_31102025_18_25_14_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/5/d9104e728c8513dc2da9578365eeca60.jpg","text":"TemporaryFile(/tmp/multipartBody7324667543766495725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902444182,"filename":"image_31102025_18_25_08_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/5/16a6dc66047ec9501e96b8b629d11d26.jpg","text":"TemporaryFile(/tmp/multipartBody6147953731512672094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902444182,"filename":"image_31102025_18_25_11_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/5/d0ea554af9d5385bd2fa2ea4449acef6.jpg","text":"TemporaryFile(/tmp/multipartBody1336688829302395902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902444182,"filename":"image_31102025_18_25_20_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/5/d03fe352216e9cf90ce080d4d1f33ba4.jpg","text":"TemporaryFile(/tmp/multipartBody3578934254172515590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902444182,"filename":"image_31102025_18_25_07_4742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019136","file1":"1398019133","file0":"1398019131","file4":"1398019142","file5":"1398019144","file3":"1398019139"},"map_files_photo_id_array":[{"photo_id":"1398019144","filename":"file5"},{"photo_id":"1398019136","filename":"file2"},{"photo_id":"1398019142","filename":"file4"},{"photo_id":"1398019133","filename":"file1"},{"photo_id":"1398019131","filename":"file0"},{"photo_id":"1398019139","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019142":["hashtag1","hashtag2"]},{"1398019139":["hashtag1","hashtag2"]},{"1398019133":["hashtag1","hashtag2"]},{"1398019136":["hashtag1","hashtag2"]},{"1398019144":["hashtag1","hashtag2"]},{"1398019131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019142, 1398019139, 1398019133, 1398019136, 1398019144, 1398019131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78425645828247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:40:22.750328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_26_2768.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_29_2780.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_32_3597.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_35_2539.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_38_3617.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_41_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_26_2768.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_29_2780.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_32_3597.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_35_2539.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_38_3617.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_41_2838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019151","1398019177","1398019159","1398019167","1398019155","1398019149"],"photo_ids_order":["1398019149","1398019151","1398019155","1398019159","1398019167","1398019177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/57ae29e42bf8ef4c8dcaad3c7e213768.jpg","text":"TemporaryFile(/tmp/multipartBody2580380326310085440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902484384,"filename":"image_31102025_18_25_29_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/5/0073521052aa640222f494227a2a1e5d.jpg","text":"TemporaryFile(/tmp/multipartBody3728482946991306734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902484384,"filename":"image_31102025_18_25_41_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/5/2b9a773b4975f02dfc7a21d1fce84be9.jpg","text":"TemporaryFile(/tmp/multipartBody6674153755771122678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902484384,"filename":"image_31102025_18_25_35_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/5/ba48073c650dd64d11c9d8c43fbb49cc.jpg","text":"TemporaryFile(/tmp/multipartBody6219061872055640590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902484384,"filename":"image_31102025_18_25_38_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/5/c83372e12ad4e70c234c446482a4b1c9.jpg","text":"TemporaryFile(/tmp/multipartBody2472334912187301460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902484384,"filename":"image_31102025_18_25_32_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/5/13559cfca74fd309a84fc0a940bb3f5b.jpg","text":"TemporaryFile(/tmp/multipartBody91007786117939167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902484384,"filename":"image_31102025_18_25_26_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019155","file1":"1398019151","file0":"1398019149","file4":"1398019167","file5":"1398019177","file3":"1398019159"},"map_files_photo_id_array":[{"photo_id":"1398019177","filename":"file5"},{"photo_id":"1398019155","filename":"file2"},{"photo_id":"1398019167","filename":"file4"},{"photo_id":"1398019151","filename":"file1"},{"photo_id":"1398019149","filename":"file0"},{"photo_id":"1398019159","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019151":["hashtag1","hashtag2"]},{"1398019177":["hashtag1","hashtag2"]},{"1398019159":["hashtag1","hashtag2"]},{"1398019167":["hashtag1","hashtag2"]},{"1398019155":["hashtag1","hashtag2"]},{"1398019149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019151, 1398019177, 1398019159, 1398019167, 1398019155, 1398019149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84635639190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:41:02.537013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/43/image_02122025_12_43_25_9789.jpg', '/home/pi/Desktop/images/02122025/12/43/image_02122025_12_43_45_9792.jpg', '/home/pi/Desktop/images/02122025/12/43/image_02122025_12_43_54_9794.jpg', '/home/pi/Desktop/images/02122025/12/43/image_02122025_12_44_05_10847.jpg', '/home/pi/Desktop/images/02122025/12/44/image_02122025_12_44_15_9650.jpg', '/home/pi/Desktop/images/02122025/12/44/image_02122025_12_44_25_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/43/image_02122025_12_43_25_9789.jpg
/home/pi/Desktop/images/02122025/12/43/image_02122025_12_43_45_9792.jpg
/home/pi/Desktop/images/02122025/12/43/image_02122025_12_43_54_9794.jpg
/home/pi/Desktop/images/02122025/12/43/image_02122025_12_44_05_10847.jpg
/home/pi/Desktop/images/02122025/12/44/image_02122025_12_44_15_9650.jpg
/home/pi/Desktop/images/02122025/12/44/image_02122025_12_44_25_9692.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":["1398019190","1398019192","1398019189","1398019194","1398019197","1398019200"],"photo_ids_order":["1398019189","1398019190","1398019192","1398019194","1398019197","1398019200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/df4e378f6de5cbd4f36080a583518231.jpg","text":"TemporaryFile(/tmp/multipartBody5365237334581878649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902524201,"filename":"image_02122025_12_43_45_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/5/9b8ecadf822b99c84d39c8ea544e576d.jpg","text":"TemporaryFile(/tmp/multipartBody8471424513685411229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902524201,"filename":"image_02122025_12_43_54_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0d126138466eacdc1ce7b156b329f41c.jpg","text":"TemporaryFile(/tmp/multipartBody6194197365710350548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902524201,"filename":"image_02122025_12_43_25_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/5/ed163cc28617257bfdfd642c13e6ee84.jpg","text":"TemporaryFile(/tmp/multipartBody3419446164423060985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902524201,"filename":"image_02122025_12_44_05_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e6fed347be4d0575346c3c069721385c.jpg","text":"TemporaryFile(/tmp/multipartBody2806912106250878517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902524201,"filename":"image_02122025_12_44_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/5/945713044f0b7098ed7b8b1d0e5a2b74.jpg","text":"TemporaryFile(/tmp/multipartBody2436255224037066158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902524201,"filename":"image_02122025_12_44_25_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019192","file1":"1398019190","file0":"1398019189","file4":"1398019197","file5":"1398019200","file3":"1398019194"},"map_files_photo_id_array":[{"photo_id":"1398019200","filename":"file5"},{"photo_id":"1398019192","filename":"file2"},{"photo_id":"1398019197","filename":"file4"},{"photo_id":"1398019190","filename":"file1"},{"photo_id":"1398019189","filename":"file0"},{"photo_id":"1398019194","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019190":["hashtag1","hashtag2"]},{"1398019192":["hashtag1","hashtag2"]},{"1398019189":["hashtag1","hashtag2"]},{"1398019194":["hashtag1","hashtag2"]},{"1398019197":["hashtag1","hashtag2"]},{"1398019200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019190, 1398019192, 1398019189, 1398019194, 1398019197, 1398019200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.811996936798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:42:02.414326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/39/image_05122025_03_39_14_9679.jpg', '/home/pi/Desktop/images/05122025/03/41/image_05122025_03_41_14_9646.jpg', '/home/pi/Desktop/images/05122025/03/41/image_05122025_03_41_23_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/39/image_05122025_03_39_14_9679.jpg
/home/pi/Desktop/images/05122025/03/41/image_05122025_03_41_14_9646.jpg
/home/pi/Desktop/images/05122025/03/41/image_05122025_03_41_23_9826.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.465116024017334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:42:11.980212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/44/image_02122025_12_44_34_9721.jpg', '/home/pi/Desktop/images/02122025/12/44/image_02122025_12_44_45_10637.jpg', '/home/pi/Desktop/images/02122025/12/44/image_02122025_12_44_55_9740.jpg', '/home/pi/Desktop/images/02122025/12/44/image_02122025_12_45_05_9943.jpg', '/home/pi/Desktop/images/02122025/12/45/image_02122025_12_45_14_9716.jpg', '/home/pi/Desktop/images/02122025/12/45/image_02122025_12_45_25_10559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/44/image_02122025_12_44_34_9721.jpg
/home/pi/Desktop/images/02122025/12/44/image_02122025_12_44_45_10637.jpg
/home/pi/Desktop/images/02122025/12/44/image_02122025_12_44_55_9740.jpg
/home/pi/Desktop/images/02122025/12/44/image_02122025_12_45_05_9943.jpg
/home/pi/Desktop/images/02122025/12/45/image_02122025_12_45_14_9716.jpg
/home/pi/Desktop/images/02122025/12/45/image_02122025_12_45_25_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":["1398019229","1398019217","1398019222","1398019225","1398019219","1398019227"],"photo_ids_order":["1398019217","1398019219","1398019222","1398019225","1398019227","1398019229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b96c3a9d5b0c7a086faa709781809ecc.jpg","text":"TemporaryFile(/tmp/multipartBody5269272597230851230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902593879,"filename":"image_02122025_12_45_25_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/5/19e8d0e7dbb2e58b6a675ad6f7afecea.jpg","text":"TemporaryFile(/tmp/multipartBody999852171808222389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902593879,"filename":"image_02122025_12_44_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c140a13d0e39c67d9ec33d86f21b03d.jpg","text":"TemporaryFile(/tmp/multipartBody4010173679292028094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902593879,"filename":"image_02122025_12_44_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/5/d8aa075d2fa1034118078891d9da51c2.jpg","text":"TemporaryFile(/tmp/multipartBody593859184310214482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902593879,"filename":"image_02122025_12_45_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/5/ec0209f59299d636da74eac138a64e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4094822380735777293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902593879,"filename":"image_02122025_12_44_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/5/86c2d47bd740cb30db45592c0447e454.jpg","text":"TemporaryFile(/tmp/multipartBody4619338614729637358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902593879,"filename":"image_02122025_12_45_14_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019222","file1":"1398019219","file0":"1398019217","file4":"1398019227","file5":"1398019229","file3":"1398019225"},"map_files_photo_id_array":[{"photo_id":"1398019229","filename":"file5"},{"photo_id":"1398019222","filename":"file2"},{"photo_id":"1398019227","filename":"file4"},{"photo_id":"1398019219","filename":"file1"},{"photo_id":"1398019217","filename":"file0"},{"photo_id":"1398019225","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019229":["hashtag1","hashtag2"]},{"1398019217":["hashtag1","hashtag2"]},{"1398019222":["hashtag1","hashtag2"]},{"1398019225":["hashtag1","hashtag2"]},{"1398019219":["hashtag1","hashtag2"]},{"1398019227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019229, 1398019217, 1398019222, 1398019225, 1398019219, 1398019227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47869610786438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:43:02.917366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/39/image_05122025_03_39_14_9679.jpg', '/home/pi/Desktop/images/05122025/03/41/image_05122025_03_41_14_9646.jpg', '/home/pi/Desktop/images/05122025/03/41/image_05122025_03_41_23_9826.jpg', '/home/pi/Desktop/images/05122025/03/41/image_05122025_03_41_44_9721.jpg', '/home/pi/Desktop/images/05122025/03/41/image_05122025_03_42_04_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/39/image_05122025_03_39_14_9679.jpg
/home/pi/Desktop/images/05122025/03/41/image_05122025_03_41_14_9646.jpg
/home/pi/Desktop/images/05122025/03/41/image_05122025_03_41_23_9826.jpg
/home/pi/Desktop/images/05122025/03/41/image_05122025_03_41_44_9721.jpg
/home/pi/Desktop/images/05122025/03/41/image_05122025_03_42_04_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019262","1398019256","1398019258","1398019263","1398019260"],"photo_ids_order":["1398019256","1398019258","1398019260","1398019262","1398019263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e08ceda02263bf1429afe86f532b018a.jpg","text":"TemporaryFile(/tmp/multipartBody5047313355156232295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902643642,"filename":"image_05122025_03_41_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/5/21a88541b8eedafa24046350bfa6e2b2.jpg","text":"TemporaryFile(/tmp/multipartBody555679587595069319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902643642,"filename":"image_05122025_03_39_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/5/1ff2ff45f7d1aa9a8797578303456068.jpg","text":"TemporaryFile(/tmp/multipartBody4875232873645754938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902643642,"filename":"image_05122025_03_41_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/5/cea56aaceb25dc02bb0f80bd59297c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2590147842122139795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902643642,"filename":"image_05122025_03_42_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/5/023b86d208ee0d78b2a97efd5f02e003.jpg","text":"TemporaryFile(/tmp/multipartBody2067457020667794227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902643642,"filename":"image_05122025_03_41_23_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019260","file1":"1398019258","file0":"1398019256","file4":"1398019263","file3":"1398019262"},"map_files_photo_id_array":[{"photo_id":"1398019260","filename":"file2"},{"photo_id":"1398019263","filename":"file4"},{"photo_id":"1398019258","filename":"file1"},{"photo_id":"1398019256","filename":"file0"},{"photo_id":"1398019262","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019262":["hashtag1","hashtag2"]},{"1398019256":["hashtag1","hashtag2"]},{"1398019258":["hashtag1","hashtag2"]},{"1398019263":["hashtag1","hashtag2"]},{"1398019260":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019262, 1398019256, 1398019258, 1398019263, 1398019260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.55447793006897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:43:42.452126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_44_2656.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_47_2832.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_49_2753.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_53_3740.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_56_2722.jpg', '/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_59_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_44_2656.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_47_2832.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_49_2753.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_53_3740.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_56_2722.jpg
/home/pi/Desktop/images/31102025/18/25/image_31102025_18_25_59_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":["1398019271","1398019270","1398019273","1398019275","1398019272","1398019269"],"photo_ids_order":["1398019269","1398019270","1398019271","1398019272","1398019273","1398019275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e6117fe7758d07d7782906dbc9cd9522.jpg","text":"TemporaryFile(/tmp/multipartBody4480591770805522757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902683971,"filename":"image_31102025_18_25_49_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/5/51201ccda10e5979385a948b4c1c1f99.jpg","text":"TemporaryFile(/tmp/multipartBody7209274911473344684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902683971,"filename":"image_31102025_18_25_47_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6d7b9d6675749265838ae188d0584bcd.jpg","text":"TemporaryFile(/tmp/multipartBody687920452493746444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902683971,"filename":"image_31102025_18_25_56_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6e6dde4166e5fab64427054d8349a12d.jpg","text":"TemporaryFile(/tmp/multipartBody4462024357930195589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902683971,"filename":"image_31102025_18_25_59_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/5/632a9cafdcdc6e015dc4345ba1ce7530.jpg","text":"TemporaryFile(/tmp/multipartBody329515821341753880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902683971,"filename":"image_31102025_18_25_53_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/5/a93add505cf451dd60bc62307cc48c23.jpg","text":"TemporaryFile(/tmp/multipartBody2077554451772366400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902683971,"filename":"image_31102025_18_25_44_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019271","file1":"1398019270","file0":"1398019269","file4":"1398019273","file5":"1398019275","file3":"1398019272"},"map_files_photo_id_array":[{"photo_id":"1398019275","filename":"file5"},{"photo_id":"1398019271","filename":"file2"},{"photo_id":"1398019273","filename":"file4"},{"photo_id":"1398019270","filename":"file1"},{"photo_id":"1398019269","filename":"file0"},{"photo_id":"1398019272","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019271":["hashtag1","hashtag2"]},{"1398019270":["hashtag1","hashtag2"]},{"1398019273":["hashtag1","hashtag2"]},{"1398019275":["hashtag1","hashtag2"]},{"1398019272":["hashtag1","hashtag2"]},{"1398019269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019271, 1398019270, 1398019273, 1398019275, 1398019272, 1398019269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82275891304016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:44:22.679522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/42/image_05122025_03_42_54_10710.jpg', '/home/pi/Desktop/images/05122025/03/43/image_05122025_03_43_23_9742.jpg', '/home/pi/Desktop/images/05122025/03/43/image_05122025_03_43_34_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/42/image_05122025_03_42_54_10710.jpg
/home/pi/Desktop/images/05122025/03/43/image_05122025_03_43_23_9742.jpg
/home/pi/Desktop/images/05122025/03/43/image_05122025_03_43_34_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":["1398019285","1398019281","1398019284"],"photo_ids_order":["1398019281","1398019284","1398019285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3fbbeffbf1f4940417bc74812929a824.jpg","text":"TemporaryFile(/tmp/multipartBody7896244621340851618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902723243,"filename":"image_05122025_03_43_34_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/5/d52938561d23c6ca78a62b07a0b70f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2386456667800973742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902723243,"filename":"image_05122025_03_42_54_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/5/938d89d881e04af0fffac3252c41017d.jpg","text":"TemporaryFile(/tmp/multipartBody378994065018377842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902723243,"filename":"image_05122025_03_43_23_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019285","file1":"1398019284","file0":"1398019281"},"map_files_photo_id_array":[{"photo_id":"1398019285","filename":"file2"},{"photo_id":"1398019284","filename":"file1"},{"photo_id":"1398019281","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019285":["hashtag1","hashtag2"]},{"1398019281":["hashtag1","hashtag2"]},{"1398019284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019285, 1398019281, 1398019284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.195748567581177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:45:03.467407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/45/image_02122025_12_45_35_9700.jpg', '/home/pi/Desktop/images/02122025/12/45/image_02122025_12_45_45_9865.jpg', '/home/pi/Desktop/images/02122025/12/45/image_02122025_12_45_55_10767.jpg', '/home/pi/Desktop/images/02122025/12/45/image_02122025_12_46_05_9687.jpg', '/home/pi/Desktop/images/02122025/12/46/image_02122025_12_46_15_9687.jpg', '/home/pi/Desktop/images/02122025/12/46/image_02122025_12_46_25_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/45/image_02122025_12_45_35_9700.jpg
/home/pi/Desktop/images/02122025/12/45/image_02122025_12_45_45_9865.jpg
/home/pi/Desktop/images/02122025/12/45/image_02122025_12_45_55_10767.jpg
/home/pi/Desktop/images/02122025/12/45/image_02122025_12_46_05_9687.jpg
/home/pi/Desktop/images/02122025/12/46/image_02122025_12_46_15_9687.jpg
/home/pi/Desktop/images/02122025/12/46/image_02122025_12_46_25_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":["1398019319","1398019313","1398019316","1398019309","1398019303","1398019311"],"photo_ids_order":["1398019303","1398019309","1398019311","1398019313","1398019316","1398019319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/71b80eeb1dc96ef06bc76df347730d17.jpg","text":"TemporaryFile(/tmp/multipartBody1766652507728162522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902765119,"filename":"image_02122025_12_46_25_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/5/f5a7a15ea9c3420abeec650c8c3611e0.jpg","text":"TemporaryFile(/tmp/multipartBody1868358269383185363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902765119,"filename":"image_02122025_12_46_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/5/76368d838aa72ef1c96604c0106cb0fd.jpg","text":"TemporaryFile(/tmp/multipartBody6273621264037920335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902765119,"filename":"image_02122025_12_46_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/5/ed7c74aeac49a2098c164f3f8daa9454.jpg","text":"TemporaryFile(/tmp/multipartBody6488307304519776181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902765119,"filename":"image_02122025_12_45_45_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/5/dd186c8d2a22920c753e15c34f2a6b8b.jpg","text":"TemporaryFile(/tmp/multipartBody6863502047510944175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902765119,"filename":"image_02122025_12_45_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/5/5e9bb38f9f158bf985928598655418a7.jpg","text":"TemporaryFile(/tmp/multipartBody3852871494575155442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902765119,"filename":"image_02122025_12_45_55_10767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019311","file1":"1398019309","file0":"1398019303","file4":"1398019316","file5":"1398019319","file3":"1398019313"},"map_files_photo_id_array":[{"photo_id":"1398019319","filename":"file5"},{"photo_id":"1398019311","filename":"file2"},{"photo_id":"1398019316","filename":"file4"},{"photo_id":"1398019309","filename":"file1"},{"photo_id":"1398019303","filename":"file0"},{"photo_id":"1398019313","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019319":["hashtag1","hashtag2"]},{"1398019313":["hashtag1","hashtag2"]},{"1398019316":["hashtag1","hashtag2"]},{"1398019309":["hashtag1","hashtag2"]},{"1398019303":["hashtag1","hashtag2"]},{"1398019311":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019319, 1398019313, 1398019316, 1398019309, 1398019303, 1398019311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98197865486145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:45:42.820541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_02_3543.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_05_2606.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_08_3590.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_11_2809.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_14_2541.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_17_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_02_3543.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_05_2606.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_08_3590.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_11_2809.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_14_2541.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_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":["1398019325","1398019328","1398019327","1398019326","1398019335","1398019323"],"photo_ids_order":["1398019323","1398019325","1398019326","1398019327","1398019328","1398019335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d2f23fc900093f683d855a71cd63d43c.jpg","text":"TemporaryFile(/tmp/multipartBody2030357263661302223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902804293,"filename":"image_31102025_18_26_05_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/5/4a0caae5d542efc9a32c32130630d6dc.jpg","text":"TemporaryFile(/tmp/multipartBody175562961867307790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902804293,"filename":"image_31102025_18_26_14_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ec85495dc1c6b60f6b9846f0e8bd0564.jpg","text":"TemporaryFile(/tmp/multipartBody586690843966083081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902804293,"filename":"image_31102025_18_26_11_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/59d74c8e81b5a9297ca88c12a7349a09.jpg","text":"TemporaryFile(/tmp/multipartBody5542943412620550577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902804293,"filename":"image_31102025_18_26_08_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/5/266d1420dc5eb97da58d909e7d2d16de.jpg","text":"TemporaryFile(/tmp/multipartBody8972465785107257594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902804293,"filename":"image_31102025_18_26_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/5/b80415e023d9d57c99bbdbc4cdcf3713.jpg","text":"TemporaryFile(/tmp/multipartBody5425115111177195646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902804293,"filename":"image_31102025_18_26_02_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019326","file1":"1398019325","file0":"1398019323","file4":"1398019328","file5":"1398019335","file3":"1398019327"},"map_files_photo_id_array":[{"photo_id":"1398019335","filename":"file5"},{"photo_id":"1398019326","filename":"file2"},{"photo_id":"1398019328","filename":"file4"},{"photo_id":"1398019325","filename":"file1"},{"photo_id":"1398019323","filename":"file0"},{"photo_id":"1398019327","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019325":["hashtag1","hashtag2"]},{"1398019328":["hashtag1","hashtag2"]},{"1398019327":["hashtag1","hashtag2"]},{"1398019326":["hashtag1","hashtag2"]},{"1398019335":["hashtag1","hashtag2"]},{"1398019323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019325, 1398019328, 1398019327, 1398019326, 1398019335, 1398019323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72311735153198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:46:21.990069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/44/image_05122025_03_44_24_9626.jpg', '/home/pi/Desktop/images/05122025/03/45/image_05122025_03_45_24_10624.jpg', '/home/pi/Desktop/images/05122025/03/45/image_05122025_03_45_34_9764.jpg', '/home/pi/Desktop/images/05122025/03/46/image_05122025_03_46_14_9682.jpg', '/home/pi/Desktop/images/05122025/03/46/image_05122025_03_46_24_9787.jpg', '/home/pi/Desktop/images/05122025/03/46/image_05122025_03_46_33_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/44/image_05122025_03_44_24_9626.jpg
/home/pi/Desktop/images/05122025/03/45/image_05122025_03_45_24_10624.jpg
/home/pi/Desktop/images/05122025/03/45/image_05122025_03_45_34_9764.jpg
/home/pi/Desktop/images/05122025/03/46/image_05122025_03_46_14_9682.jpg
/home/pi/Desktop/images/05122025/03/46/image_05122025_03_46_24_9787.jpg
/home/pi/Desktop/images/05122025/03/46/image_05122025_03_46_33_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":["1398019358","1398019348","1398019356","1398019359","1398019350","1398019353"],"photo_ids_order":["1398019348","1398019350","1398019353","1398019356","1398019358","1398019359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4bcad9d2703fea85f16dabad0702ae42.jpg","text":"TemporaryFile(/tmp/multipartBody3842857080728325306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902842704,"filename":"image_05122025_03_46_24_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/5/66d35f6c3f39a847f089c488a903bc79.jpg","text":"TemporaryFile(/tmp/multipartBody423985803268197001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902842704,"filename":"image_05122025_03_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/5/3b4db33e912e8097d352c3999602e0c1.jpg","text":"TemporaryFile(/tmp/multipartBody5674771202247002367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902842704,"filename":"image_05122025_03_46_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/5/1edae8c0bf5c1b6d84266010146922c7.jpg","text":"TemporaryFile(/tmp/multipartBody3229737684058999616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902842704,"filename":"image_05122025_03_46_33_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/5/d2720ba564fbe66e8d76d96d177b8676.jpg","text":"TemporaryFile(/tmp/multipartBody2072920727166055141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902842704,"filename":"image_05122025_03_45_24_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/5/f42fdd361d5244a30b94f991132655d5.jpg","text":"TemporaryFile(/tmp/multipartBody7710035555508503121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902842704,"filename":"image_05122025_03_45_34_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019353","file1":"1398019350","file0":"1398019348","file4":"1398019358","file5":"1398019359","file3":"1398019356"},"map_files_photo_id_array":[{"photo_id":"1398019359","filename":"file5"},{"photo_id":"1398019353","filename":"file2"},{"photo_id":"1398019358","filename":"file4"},{"photo_id":"1398019350","filename":"file1"},{"photo_id":"1398019348","filename":"file0"},{"photo_id":"1398019356","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019358":["hashtag1","hashtag2"]},{"1398019348":["hashtag1","hashtag2"]},{"1398019356":["hashtag1","hashtag2"]},{"1398019359":["hashtag1","hashtag2"]},{"1398019350":["hashtag1","hashtag2"]},{"1398019353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019358, 1398019348, 1398019356, 1398019359, 1398019350, 1398019353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.572368144989014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:47:02.847984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/46/image_02122025_12_46_35_9688.jpg', '/home/pi/Desktop/images/02122025/12/46/image_02122025_12_46_45_9681.jpg', '/home/pi/Desktop/images/02122025/12/46/image_02122025_12_46_55_10651.jpg', '/home/pi/Desktop/images/02122025/12/46/image_02122025_12_47_05_9713.jpg', '/home/pi/Desktop/images/02122025/12/47/image_02122025_12_47_15_9668.jpg', '/home/pi/Desktop/images/02122025/12/47/image_02122025_12_47_25_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/46/image_02122025_12_46_35_9688.jpg
/home/pi/Desktop/images/02122025/12/46/image_02122025_12_46_45_9681.jpg
/home/pi/Desktop/images/02122025/12/46/image_02122025_12_46_55_10651.jpg
/home/pi/Desktop/images/02122025/12/46/image_02122025_12_47_05_9713.jpg
/home/pi/Desktop/images/02122025/12/47/image_02122025_12_47_15_9668.jpg
/home/pi/Desktop/images/02122025/12/47/image_02122025_12_47_25_9822.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":["1398019367","1398019361","1398019363","1398019372","1398019365","1398019370"],"photo_ids_order":["1398019361","1398019363","1398019365","1398019367","1398019370","1398019372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5eaa4ddccdc3a8e206d559dbe3c7659d.jpg","text":"TemporaryFile(/tmp/multipartBody6356407771103433370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902884507,"filename":"image_02122025_12_47_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e297a6dff5731e344e18b3e30a51abfe.jpg","text":"TemporaryFile(/tmp/multipartBody5970706530326096222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902884507,"filename":"image_02122025_12_46_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d9ca25f7a7b0aa881ec01c51fa6e07a.jpg","text":"TemporaryFile(/tmp/multipartBody6306662709473452591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902884507,"filename":"image_02122025_12_46_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/5/e98cafeb8dda2ab42a55d89d426ed62c.jpg","text":"TemporaryFile(/tmp/multipartBody2933643873662150279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902884507,"filename":"image_02122025_12_47_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/5/9c4e03cfe9de612cb5c50fcba7e0a3d4.jpg","text":"TemporaryFile(/tmp/multipartBody8410606390456036072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902884507,"filename":"image_02122025_12_46_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/5/03ed7675a76a8854b2aebd9d7a1a1fae.jpg","text":"TemporaryFile(/tmp/multipartBody6184700464517014445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902884507,"filename":"image_02122025_12_47_15_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019365","file1":"1398019363","file0":"1398019361","file4":"1398019370","file5":"1398019372","file3":"1398019367"},"map_files_photo_id_array":[{"photo_id":"1398019372","filename":"file5"},{"photo_id":"1398019365","filename":"file2"},{"photo_id":"1398019370","filename":"file4"},{"photo_id":"1398019363","filename":"file1"},{"photo_id":"1398019361","filename":"file0"},{"photo_id":"1398019367","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019367":["hashtag1","hashtag2"]},{"1398019361":["hashtag1","hashtag2"]},{"1398019363":["hashtag1","hashtag2"]},{"1398019372":["hashtag1","hashtag2"]},{"1398019365":["hashtag1","hashtag2"]},{"1398019370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019367, 1398019361, 1398019363, 1398019372, 1398019365, 1398019370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.512447118759155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:48:02.853680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/47/image_02122025_12_47_34_9813.jpg', '/home/pi/Desktop/images/02122025/12/47/image_02122025_12_47_45_10634.jpg', '/home/pi/Desktop/images/02122025/12/47/image_02122025_12_47_55_9756.jpg', '/home/pi/Desktop/images/02122025/12/47/image_02122025_12_48_04_9711.jpg', '/home/pi/Desktop/images/02122025/12/48/image_02122025_12_48_15_10637.jpg', '/home/pi/Desktop/images/02122025/12/48/image_02122025_12_48_25_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/47/image_02122025_12_47_34_9813.jpg
/home/pi/Desktop/images/02122025/12/47/image_02122025_12_47_45_10634.jpg
/home/pi/Desktop/images/02122025/12/47/image_02122025_12_47_55_9756.jpg
/home/pi/Desktop/images/02122025/12/47/image_02122025_12_48_04_9711.jpg
/home/pi/Desktop/images/02122025/12/48/image_02122025_12_48_15_10637.jpg
/home/pi/Desktop/images/02122025/12/48/image_02122025_12_48_25_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":["1398019381","1398019393","1398019387","1398019389","1398019383","1398019385"],"photo_ids_order":["1398019381","1398019383","1398019385","1398019387","1398019389","1398019393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3b504b659afba23618ac0a5502c00432.jpg","text":"TemporaryFile(/tmp/multipartBody4764860666952378813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902944549,"filename":"image_02122025_12_47_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/5/8390c78f1cf498f25654aa472a55d21f.jpg","text":"TemporaryFile(/tmp/multipartBody3011034094752022737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902944549,"filename":"image_02122025_12_48_25_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c2ca8dd769944e6d963373a81b1cd07a.jpg","text":"TemporaryFile(/tmp/multipartBody7772952971788694480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902944549,"filename":"image_02122025_12_48_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/5/3a77db87b38edd5a5a81d2a7c06d0e4c.jpg","text":"TemporaryFile(/tmp/multipartBody897450524069056575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902944549,"filename":"image_02122025_12_48_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5efa16be8644519317ce214a0a378761.jpg","text":"TemporaryFile(/tmp/multipartBody8271302991509284729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902944549,"filename":"image_02122025_12_47_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/5/6fa8517c1dcc8f689e04283afe14f709.jpg","text":"TemporaryFile(/tmp/multipartBody2768757875102173488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902944549,"filename":"image_02122025_12_47_55_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019385","file1":"1398019383","file0":"1398019381","file4":"1398019389","file5":"1398019393","file3":"1398019387"},"map_files_photo_id_array":[{"photo_id":"1398019393","filename":"file5"},{"photo_id":"1398019385","filename":"file2"},{"photo_id":"1398019389","filename":"file4"},{"photo_id":"1398019383","filename":"file1"},{"photo_id":"1398019381","filename":"file0"},{"photo_id":"1398019387","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019381":["hashtag1","hashtag2"]},{"1398019393":["hashtag1","hashtag2"]},{"1398019387":["hashtag1","hashtag2"]},{"1398019389":["hashtag1","hashtag2"]},{"1398019383":["hashtag1","hashtag2"]},{"1398019385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019381, 1398019393, 1398019387, 1398019389, 1398019383, 1398019385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99562311172485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:48:42.408763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_20_2612.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_23_2757.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_26_3584.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_29_2620.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_32_2873.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_34_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_20_2612.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_23_2757.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_26_3584.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_29_2620.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_32_2873.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_34_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019404","1398019403","1398019412","1398019417","1398019416","1398019401"],"photo_ids_order":["1398019401","1398019403","1398019404","1398019412","1398019416","1398019417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/25c08bfb80282defa33c26820a8f58da.jpg","text":"TemporaryFile(/tmp/multipartBody4985377866356185698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902984025,"filename":"image_31102025_18_26_26_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/5/7478a8910f7022a30b14ea086a26d51c.jpg","text":"TemporaryFile(/tmp/multipartBody7979172476221310808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902984025,"filename":"image_31102025_18_26_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/5/35634bd76f8fd5b04314eafd00dec9ce.jpg","text":"TemporaryFile(/tmp/multipartBody3810673686831117260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902984025,"filename":"image_31102025_18_26_29_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/744a4cc7d75d8d5648cb89f6f29f7ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6546570454949455941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902984025,"filename":"image_31102025_18_26_34_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/5/b0d8d4b9821c42c1bbbab45eb46a564b.jpg","text":"TemporaryFile(/tmp/multipartBody8435000385223965423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902984025,"filename":"image_31102025_18_26_32_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/44c1b487a53e52f3f0291a28478c74df.jpg","text":"TemporaryFile(/tmp/multipartBody8143810310995432000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764902984025,"filename":"image_31102025_18_26_20_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019404","file1":"1398019403","file0":"1398019401","file4":"1398019416","file5":"1398019417","file3":"1398019412"},"map_files_photo_id_array":[{"photo_id":"1398019417","filename":"file5"},{"photo_id":"1398019404","filename":"file2"},{"photo_id":"1398019416","filename":"file4"},{"photo_id":"1398019403","filename":"file1"},{"photo_id":"1398019401","filename":"file0"},{"photo_id":"1398019412","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019404":["hashtag1","hashtag2"]},{"1398019403":["hashtag1","hashtag2"]},{"1398019412":["hashtag1","hashtag2"]},{"1398019417":["hashtag1","hashtag2"]},{"1398019416":["hashtag1","hashtag2"]},{"1398019401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019404, 1398019403, 1398019412, 1398019417, 1398019416, 1398019401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02068042755127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:49:22.642854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/46/image_05122025_03_46_44_10826.jpg', '/home/pi/Desktop/images/05122025/03/49/image_05122025_03_49_24_9912.jpg', '/home/pi/Desktop/images/05122025/03/49/image_05122025_03_49_44_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/46/image_05122025_03_46_44_10826.jpg
/home/pi/Desktop/images/05122025/03/49/image_05122025_03_49_24_9912.jpg
/home/pi/Desktop/images/05122025/03/49/image_05122025_03_49_44_9560.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45118212699890137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:49:32.720651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/48/image_02122025_12_48_35_9641.jpg', '/home/pi/Desktop/images/02122025/12/48/image_02122025_12_48_45_10606.jpg', '/home/pi/Desktop/images/02122025/12/48/image_02122025_12_48_55_9900.jpg', '/home/pi/Desktop/images/02122025/12/48/image_02122025_12_49_05_9653.jpg', '/home/pi/Desktop/images/02122025/12/49/image_02122025_12_49_14_9727.jpg', '/home/pi/Desktop/images/02122025/12/49/image_02122025_12_49_25_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/48/image_02122025_12_48_35_9641.jpg
/home/pi/Desktop/images/02122025/12/48/image_02122025_12_48_45_10606.jpg
/home/pi/Desktop/images/02122025/12/48/image_02122025_12_48_55_9900.jpg
/home/pi/Desktop/images/02122025/12/48/image_02122025_12_49_05_9653.jpg
/home/pi/Desktop/images/02122025/12/49/image_02122025_12_49_14_9727.jpg
/home/pi/Desktop/images/02122025/12/49/image_02122025_12_49_25_10756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019433","1398019442","1398019436","1398019439","1398019429","1398019431"],"photo_ids_order":["1398019429","1398019431","1398019433","1398019436","1398019439","1398019442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e306b6962cc641e3ca8ba76085a79ace.jpg","text":"TemporaryFile(/tmp/multipartBody310440504836267775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903034798,"filename":"image_02122025_12_48_55_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/231d2962dc663c9a46db12c4c448f522.jpg","text":"TemporaryFile(/tmp/multipartBody7912121377172992580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903034798,"filename":"image_02122025_12_49_25_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23040dd308784395f622622c987d4a6e.jpg","text":"TemporaryFile(/tmp/multipartBody1674634710079892938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903034798,"filename":"image_02122025_12_49_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/5/1dcba9ec874018f95327194b63e2564e.jpg","text":"TemporaryFile(/tmp/multipartBody1138985872798107706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903034798,"filename":"image_02122025_12_49_14_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/5/47355adf6eb56679471c67769cf08d04.jpg","text":"TemporaryFile(/tmp/multipartBody1143503541233502360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903034798,"filename":"image_02122025_12_48_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/5/3b91e41d6e94b348fd1116f88e497a24.jpg","text":"TemporaryFile(/tmp/multipartBody901326198633709042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903034798,"filename":"image_02122025_12_48_45_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019433","file1":"1398019431","file0":"1398019429","file4":"1398019439","file5":"1398019442","file3":"1398019436"},"map_files_photo_id_array":[{"photo_id":"1398019442","filename":"file5"},{"photo_id":"1398019433","filename":"file2"},{"photo_id":"1398019439","filename":"file4"},{"photo_id":"1398019431","filename":"file1"},{"photo_id":"1398019429","filename":"file0"},{"photo_id":"1398019436","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019433":["hashtag1","hashtag2"]},{"1398019442":["hashtag1","hashtag2"]},{"1398019436":["hashtag1","hashtag2"]},{"1398019439":["hashtag1","hashtag2"]},{"1398019429":["hashtag1","hashtag2"]},{"1398019431":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019433, 1398019442, 1398019436, 1398019439, 1398019429, 1398019431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64206647872925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:50:22.797178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/46/image_05122025_03_46_44_10826.jpg', '/home/pi/Desktop/images/05122025/03/49/image_05122025_03_49_24_9912.jpg', '/home/pi/Desktop/images/05122025/03/49/image_05122025_03_49_44_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/46/image_05122025_03_46_44_10826.jpg
/home/pi/Desktop/images/05122025/03/49/image_05122025_03_49_24_9912.jpg
/home/pi/Desktop/images/05122025/03/49/image_05122025_03_49_44_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":["1398019448","1398019444","1398019446"],"photo_ids_order":["1398019444","1398019446","1398019448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f8a5e39b5e81a5eb710cfd289828598.jpg","text":"TemporaryFile(/tmp/multipartBody5880844764396533519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903083381,"filename":"image_05122025_03_49_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/5/46b37b23ec1242fcf4e9a5cb3bb1c030.jpg","text":"TemporaryFile(/tmp/multipartBody7473054149262613422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903083381,"filename":"image_05122025_03_46_44_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/5/9d2c718bd4e2382bb605e7859cf13593.jpg","text":"TemporaryFile(/tmp/multipartBody1841789554985721956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903083381,"filename":"image_05122025_03_49_24_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019448","file1":"1398019446","file0":"1398019444"},"map_files_photo_id_array":[{"photo_id":"1398019448","filename":"file2"},{"photo_id":"1398019446","filename":"file1"},{"photo_id":"1398019444","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019448":["hashtag1","hashtag2"]},{"1398019444":["hashtag1","hashtag2"]},{"1398019446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019448, 1398019444, 1398019446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.55346965789795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:51:02.519897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/49/image_02122025_12_49_35_9689.jpg', '/home/pi/Desktop/images/02122025/12/49/image_02122025_12_49_45_9726.jpg', '/home/pi/Desktop/images/02122025/12/49/image_02122025_12_49_54_9833.jpg', '/home/pi/Desktop/images/02122025/12/49/image_02122025_12_50_05_10705.jpg', '/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_15_9676.jpg', '/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_24_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/49/image_02122025_12_49_35_9689.jpg
/home/pi/Desktop/images/02122025/12/49/image_02122025_12_49_45_9726.jpg
/home/pi/Desktop/images/02122025/12/49/image_02122025_12_49_54_9833.jpg
/home/pi/Desktop/images/02122025/12/49/image_02122025_12_50_05_10705.jpg
/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_15_9676.jpg
/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_24_9652.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":["1398019469","1398019463","1398019471","1398019473","1398019476","1398019478"],"photo_ids_order":["1398019463","1398019469","1398019471","1398019473","1398019476","1398019478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9816b64ecb59bb9a427843ac04debe77.jpg","text":"TemporaryFile(/tmp/multipartBody4268723971916189827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903124129,"filename":"image_02122025_12_49_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d14452c0026a72cae58539bcbc1e47c6.jpg","text":"TemporaryFile(/tmp/multipartBody1075490695944129957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903124129,"filename":"image_02122025_12_49_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/5/e7854b2aaa61576eab885a2ee5f46cf7.jpg","text":"TemporaryFile(/tmp/multipartBody3520213066311071028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903124129,"filename":"image_02122025_12_49_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/5/abf6074e342db0f69f74316b3279a61e.jpg","text":"TemporaryFile(/tmp/multipartBody7119095082788534082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903124129,"filename":"image_02122025_12_50_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9d0cdb8f896b8c071095207753ba9cc0.jpg","text":"TemporaryFile(/tmp/multipartBody7825673787956109899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903124129,"filename":"image_02122025_12_50_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/5/255a21d769abbfe665d1a1337e2a9297.jpg","text":"TemporaryFile(/tmp/multipartBody7670673886649062959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903124129,"filename":"image_02122025_12_50_24_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019471","file1":"1398019469","file0":"1398019463","file4":"1398019476","file5":"1398019478","file3":"1398019473"},"map_files_photo_id_array":[{"photo_id":"1398019478","filename":"file5"},{"photo_id":"1398019471","filename":"file2"},{"photo_id":"1398019476","filename":"file4"},{"photo_id":"1398019469","filename":"file1"},{"photo_id":"1398019463","filename":"file0"},{"photo_id":"1398019473","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019469":["hashtag1","hashtag2"]},{"1398019463":["hashtag1","hashtag2"]},{"1398019471":["hashtag1","hashtag2"]},{"1398019473":["hashtag1","hashtag2"]},{"1398019476":["hashtag1","hashtag2"]},{"1398019478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019469, 1398019463, 1398019471, 1398019473, 1398019476, 1398019478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47864532470703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:52:02.516961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_35_10778.jpg', '/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_45_9665.jpg', '/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_55_9640.jpg', '/home/pi/Desktop/images/02122025/12/50/image_02122025_12_51_05_10689.jpg', '/home/pi/Desktop/images/02122025/12/51/image_02122025_12_51_15_9645.jpg', '/home/pi/Desktop/images/02122025/12/51/image_02122025_12_51_24_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_35_10778.jpg
/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_45_9665.jpg
/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_55_9640.jpg
/home/pi/Desktop/images/02122025/12/50/image_02122025_12_51_05_10689.jpg
/home/pi/Desktop/images/02122025/12/51/image_02122025_12_51_15_9645.jpg
/home/pi/Desktop/images/02122025/12/51/image_02122025_12_51_24_9558.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4294648170471191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:52:12.111588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_35_10778.jpg', '/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_45_9665.jpg', '/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_55_9640.jpg', '/home/pi/Desktop/images/02122025/12/50/image_02122025_12_51_05_10689.jpg', '/home/pi/Desktop/images/02122025/12/51/image_02122025_12_51_15_9645.jpg', '/home/pi/Desktop/images/02122025/12/51/image_02122025_12_51_24_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_35_10778.jpg
/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_45_9665.jpg
/home/pi/Desktop/images/02122025/12/50/image_02122025_12_50_55_9640.jpg
/home/pi/Desktop/images/02122025/12/50/image_02122025_12_51_05_10689.jpg
/home/pi/Desktop/images/02122025/12/51/image_02122025_12_51_15_9645.jpg
/home/pi/Desktop/images/02122025/12/51/image_02122025_12_51_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":["1398019498","1398019491","1398019494","1398019488","1398019496","1398019490"],"photo_ids_order":["1398019488","1398019490","1398019491","1398019494","1398019496","1398019498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7e6cf46e2688030b755d06101163dfe7.jpg","text":"TemporaryFile(/tmp/multipartBody719837156891576977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903193858,"filename":"image_02122025_12_51_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/5/c817bfa6096e592d79d864ca216e7a5d.jpg","text":"TemporaryFile(/tmp/multipartBody4024680312399477723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903193858,"filename":"image_02122025_12_50_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/5/8c0e76adfcd94b9f5d0dfdd36266768f.jpg","text":"TemporaryFile(/tmp/multipartBody7157413584970248625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903193858,"filename":"image_02122025_12_51_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/5/0875911988a1d9bcd6a930a8db699614.jpg","text":"TemporaryFile(/tmp/multipartBody6626479357699943080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903193858,"filename":"image_02122025_12_50_35_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/5/dd761d714e76c146ba755c7f0a82ff2d.jpg","text":"TemporaryFile(/tmp/multipartBody7796530446703559079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903193858,"filename":"image_02122025_12_51_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/5/0f35e4a61b64669ebc6b6de943d471fe.jpg","text":"TemporaryFile(/tmp/multipartBody7959064427652407820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903193858,"filename":"image_02122025_12_50_45_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019491","file1":"1398019490","file0":"1398019488","file4":"1398019496","file5":"1398019498","file3":"1398019494"},"map_files_photo_id_array":[{"photo_id":"1398019498","filename":"file5"},{"photo_id":"1398019491","filename":"file2"},{"photo_id":"1398019496","filename":"file4"},{"photo_id":"1398019490","filename":"file1"},{"photo_id":"1398019488","filename":"file0"},{"photo_id":"1398019494","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019498":["hashtag1","hashtag2"]},{"1398019491":["hashtag1","hashtag2"]},{"1398019494":["hashtag1","hashtag2"]},{"1398019488":["hashtag1","hashtag2"]},{"1398019496":["hashtag1","hashtag2"]},{"1398019490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019498, 1398019491, 1398019494, 1398019488, 1398019496, 1398019490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73183751106262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:53:02.928178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/49/image_05122025_03_49_54_9939.jpg', '/home/pi/Desktop/images/05122025/03/52/image_05122025_03_52_43_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/49/image_05122025_03_49_54_9939.jpg
/home/pi/Desktop/images/05122025/03/52/image_05122025_03_52_43_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019513","1398019512"],"photo_ids_order":["1398019512","1398019513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f2c03b73b872baaf74560e22a7cf59f.jpg","text":"TemporaryFile(/tmp/multipartBody1515284263787717960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903243513,"filename":"image_05122025_03_52_43_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/5/316eb338738eb5852970dab57ff87795.jpg","text":"TemporaryFile(/tmp/multipartBody1906336870168697815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903243513,"filename":"image_05122025_03_49_54_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398019513","file0":"1398019512"},"map_files_photo_id_array":[{"photo_id":"1398019513","filename":"file1"},{"photo_id":"1398019512","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019513":["hashtag1","hashtag2"]},{"1398019512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019513, 1398019512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.42313003540039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:53:22.363865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/52/image_05122025_03_52_54_10840.jpg', '/home/pi/Desktop/images/05122025/03/52/image_05122025_03_53_04_9739.jpg', '/home/pi/Desktop/images/05122025/03/53/image_05122025_03_53_23_9695.jpg', '/home/pi/Desktop/images/05122025/03/53/image_05122025_03_53_44_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/52/image_05122025_03_52_54_10840.jpg
/home/pi/Desktop/images/05122025/03/52/image_05122025_03_53_04_9739.jpg
/home/pi/Desktop/images/05122025/03/53/image_05122025_03_53_23_9695.jpg
/home/pi/Desktop/images/05122025/03/53/image_05122025_03_53_44_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019514","1398019517","1398019519","1398019521"],"photo_ids_order":["1398019514","1398019517","1398019519","1398019521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f3fe0971b876a3d858c31842f47bc289.jpg","text":"TemporaryFile(/tmp/multipartBody818008358142579789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903262960,"filename":"image_05122025_03_52_54_10840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/81fe6f3dcf9839e75c4924bae258ba9e.jpg","text":"TemporaryFile(/tmp/multipartBody2071234092067664531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903262960,"filename":"image_05122025_03_53_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/5/b1405fe0599664b9080ed9530bb77f12.jpg","text":"TemporaryFile(/tmp/multipartBody4882858696910525917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903262960,"filename":"image_05122025_03_53_23_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/5/b6735329393498539ee6fd78d122542a.jpg","text":"TemporaryFile(/tmp/multipartBody9204375708317634254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903262960,"filename":"image_05122025_03_53_44_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019519","file1":"1398019517","file0":"1398019514","file3":"1398019521"},"map_files_photo_id_array":[{"photo_id":"1398019519","filename":"file2"},{"photo_id":"1398019517","filename":"file1"},{"photo_id":"1398019514","filename":"file0"},{"photo_id":"1398019521","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019514":["hashtag1","hashtag2"]},{"1398019517":["hashtag1","hashtag2"]},{"1398019519":["hashtag1","hashtag2"]},{"1398019521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019514, 1398019517, 1398019519, 1398019521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.35174536705017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:54:03.132410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/51/image_02122025_12_51_45_9633.jpg', '/home/pi/Desktop/images/02122025/12/51/image_02122025_12_52_04_10006.jpg', '/home/pi/Desktop/images/02122025/12/52/image_02122025_12_52_15_10781.jpg', '/home/pi/Desktop/images/02122025/12/52/image_02122025_12_52_25_9580.jpg', '/home/pi/Desktop/images/02122025/12/52/image_02122025_12_52_45_9602.jpg', '/home/pi/Desktop/images/02122025/12/52/image_02122025_12_52_55_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/51/image_02122025_12_51_45_9633.jpg
/home/pi/Desktop/images/02122025/12/51/image_02122025_12_52_04_10006.jpg
/home/pi/Desktop/images/02122025/12/52/image_02122025_12_52_15_10781.jpg
/home/pi/Desktop/images/02122025/12/52/image_02122025_12_52_25_9580.jpg
/home/pi/Desktop/images/02122025/12/52/image_02122025_12_52_45_9602.jpg
/home/pi/Desktop/images/02122025/12/52/image_02122025_12_52_55_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019529","1398019526","1398019531","1398019525","1398019524","1398019527"],"photo_ids_order":["1398019524","1398019525","1398019526","1398019527","1398019529","1398019531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4b0d7b328a0bf951bc8b811dace4776f.jpg","text":"TemporaryFile(/tmp/multipartBody6538349592048473640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903304677,"filename":"image_02122025_12_52_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/5/407aaab387221a91716fa944ba969ca8.jpg","text":"TemporaryFile(/tmp/multipartBody6957134178742748932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903304677,"filename":"image_02122025_12_52_15_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/5/65127fc9e96db256c608e0db9320513c.jpg","text":"TemporaryFile(/tmp/multipartBody5635781430110036937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903304677,"filename":"image_02122025_12_52_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/5/d3a703f607fcc021e3f5b83fd329ac81.jpg","text":"TemporaryFile(/tmp/multipartBody7110926965433107378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903304677,"filename":"image_02122025_12_52_04_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/5/96b26c513eb558d0c7a01c000901a3fc.jpg","text":"TemporaryFile(/tmp/multipartBody7401638039921640712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903304677,"filename":"image_02122025_12_51_45_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/5/54672f468d33662c0490d65928c0e579.jpg","text":"TemporaryFile(/tmp/multipartBody1901814393543581186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903304677,"filename":"image_02122025_12_52_25_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019526","file1":"1398019525","file0":"1398019524","file4":"1398019529","file5":"1398019531","file3":"1398019527"},"map_files_photo_id_array":[{"photo_id":"1398019531","filename":"file5"},{"photo_id":"1398019526","filename":"file2"},{"photo_id":"1398019529","filename":"file4"},{"photo_id":"1398019525","filename":"file1"},{"photo_id":"1398019524","filename":"file0"},{"photo_id":"1398019527","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019529":["hashtag1","hashtag2"]},{"1398019526":["hashtag1","hashtag2"]},{"1398019531":["hashtag1","hashtag2"]},{"1398019525":["hashtag1","hashtag2"]},{"1398019524":["hashtag1","hashtag2"]},{"1398019527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019529, 1398019526, 1398019531, 1398019525, 1398019524, 1398019527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.142059564590454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:55:03.283960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/53/image_05122025_03_53_54_9546.jpg', '/home/pi/Desktop/images/05122025/03/53/image_05122025_03_54_04_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/53/image_05122025_03_53_54_9546.jpg
/home/pi/Desktop/images/05122025/03/53/image_05122025_03_54_04_10581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019564","1398019566"],"photo_ids_order":["1398019564","1398019566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/35b5a87f126dccd18393377e04a1da0b.jpg","text":"TemporaryFile(/tmp/multipartBody1057404871695388132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903363834,"filename":"image_05122025_03_53_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/5/65f015a36e00c6a9fa709fc940144f51.jpg","text":"TemporaryFile(/tmp/multipartBody259764773120838955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903363834,"filename":"image_05122025_03_54_04_10581.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398019566","file0":"1398019564"},"map_files_photo_id_array":[{"photo_id":"1398019566","filename":"file1"},{"photo_id":"1398019564","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019564":["hashtag1","hashtag2"]},{"1398019566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019564, 1398019566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.116905212402344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:55:32.755427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/52/image_02122025_12_53_04_9905.jpg', '/home/pi/Desktop/images/02122025/12/53/image_02122025_12_53_15_10687.jpg', '/home/pi/Desktop/images/02122025/12/53/image_02122025_12_53_25_9727.jpg', '/home/pi/Desktop/images/02122025/12/53/image_02122025_12_53_34_9574.jpg', '/home/pi/Desktop/images/02122025/12/53/image_02122025_12_53_45_10807.jpg', '/home/pi/Desktop/images/02122025/12/53/image_02122025_12_53_55_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/52/image_02122025_12_53_04_9905.jpg
/home/pi/Desktop/images/02122025/12/53/image_02122025_12_53_15_10687.jpg
/home/pi/Desktop/images/02122025/12/53/image_02122025_12_53_25_9727.jpg
/home/pi/Desktop/images/02122025/12/53/image_02122025_12_53_34_9574.jpg
/home/pi/Desktop/images/02122025/12/53/image_02122025_12_53_45_10807.jpg
/home/pi/Desktop/images/02122025/12/53/image_02122025_12_53_55_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":["1398019571","1398019579","1398019573","1398019575","1398019578","1398019577"],"photo_ids_order":["1398019571","1398019573","1398019575","1398019577","1398019578","1398019579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb76d0ddc11337159d7c9432c524cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody2879733404515870870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903394762,"filename":"image_02122025_12_53_04_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/5/15a90d58eb82fb21861a53a79c96b791.jpg","text":"TemporaryFile(/tmp/multipartBody3328206307104001859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903394762,"filename":"image_02122025_12_53_55_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/5/19564b622ab19f4e591e24962c2c8f1b.jpg","text":"TemporaryFile(/tmp/multipartBody6152115531445221913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903394762,"filename":"image_02122025_12_53_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/5/bba91e4891b250b4698e160cc312645b.jpg","text":"TemporaryFile(/tmp/multipartBody2813532630946821871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903394762,"filename":"image_02122025_12_53_25_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/5/cea5513dd032c175c445c37cef1c368e.jpg","text":"TemporaryFile(/tmp/multipartBody6982460956597775048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903394762,"filename":"image_02122025_12_53_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/5/f40885fd0a9f3382529b4b81d26567bd.jpg","text":"TemporaryFile(/tmp/multipartBody1907897034270267141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903394762,"filename":"image_02122025_12_53_34_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019575","file1":"1398019573","file0":"1398019571","file4":"1398019578","file5":"1398019579","file3":"1398019577"},"map_files_photo_id_array":[{"photo_id":"1398019579","filename":"file5"},{"photo_id":"1398019575","filename":"file2"},{"photo_id":"1398019578","filename":"file4"},{"photo_id":"1398019573","filename":"file1"},{"photo_id":"1398019571","filename":"file0"},{"photo_id":"1398019577","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019571":["hashtag1","hashtag2"]},{"1398019579":["hashtag1","hashtag2"]},{"1398019573":["hashtag1","hashtag2"]},{"1398019575":["hashtag1","hashtag2"]},{"1398019578":["hashtag1","hashtag2"]},{"1398019577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019571, 1398019579, 1398019573, 1398019575, 1398019578, 1398019577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.191264152526855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 03:56:11.918583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/53/image_02122025_12_54_05_9739.jpg', '/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_15_9749.jpg', '/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_25_10707.jpg', '/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_35_9741.jpg', '/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_45_9760.jpg', '/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_54_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/53/image_02122025_12_54_05_9739.jpg
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_15_9749.jpg
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_25_10707.jpg
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_35_9741.jpg
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_45_9760.jpg
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_54_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: 1.7402818202972412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 03:56:21.914919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/54/image_05122025_03_54_14_9708.jpg', '/home/pi/Desktop/images/05122025/03/55/image_05122025_03_55_24_10625.jpg', '/home/pi/Desktop/images/05122025/03/55/image_05122025_03_56_04_10887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/54/image_05122025_03_54_14_9708.jpg
/home/pi/Desktop/images/05122025/03/55/image_05122025_03_55_24_10625.jpg
/home/pi/Desktop/images/05122025/03/55/image_05122025_03_56_04_10887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019586","1398019590","1398019595"],"photo_ids_order":["1398019586","1398019590","1398019595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a47a28b2d055c5ce0e480ee984f42d2.jpg","text":"TemporaryFile(/tmp/multipartBody1012596796996174072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903442483,"filename":"image_05122025_03_54_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/5/a35cfbfe2fa3c292ef3ce4db1844044a.jpg","text":"TemporaryFile(/tmp/multipartBody6098919040230478673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903442483,"filename":"image_05122025_03_55_24_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/5/b87934a80b5b84b2a942a6052bcd9e29.jpg","text":"TemporaryFile(/tmp/multipartBody7235680651707600885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903442483,"filename":"image_05122025_03_56_04_10887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019595","file1":"1398019590","file0":"1398019586"},"map_files_photo_id_array":[{"photo_id":"1398019595","filename":"file2"},{"photo_id":"1398019590","filename":"file1"},{"photo_id":"1398019586","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019586":["hashtag1","hashtag2"]},{"1398019590":["hashtag1","hashtag2"]},{"1398019595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019586, 1398019590, 1398019595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.985682487487793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:57:02.631699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/53/image_02122025_12_54_05_9739.jpg', '/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_15_9749.jpg', '/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_25_10707.jpg', '/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_35_9741.jpg', '/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_45_9760.jpg', '/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_54_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/53/image_02122025_12_54_05_9739.jpg
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_15_9749.jpg
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_25_10707.jpg
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_35_9741.jpg
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_45_9760.jpg
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_54_54_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":["1398019619","1398019621","1398019615","1398019623","1398019626","1398019611"],"photo_ids_order":["1398019611","1398019615","1398019619","1398019621","1398019623","1398019626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3b056f9ea86e49a3a9b62e1aa6fa8d93.jpg","text":"TemporaryFile(/tmp/multipartBody939781288208546228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903484152,"filename":"image_02122025_12_54_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/5/b9108070455901827ca98a0801458fba.jpg","text":"TemporaryFile(/tmp/multipartBody2154948683156811263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903484152,"filename":"image_02122025_12_54_35_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/5/c34437f4c37e3469645bb5cf78f1509e.jpg","text":"TemporaryFile(/tmp/multipartBody7769948681522640479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903484152,"filename":"image_02122025_12_54_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/5/03ea191b5a19513fa1c74e17f91c3eec.jpg","text":"TemporaryFile(/tmp/multipartBody6742563685168332532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903484152,"filename":"image_02122025_12_54_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/5/a546e8d728bb263e599d368c26546f4f.jpg","text":"TemporaryFile(/tmp/multipartBody5024359647990056146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903484152,"filename":"image_02122025_12_54_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/5/0191e5164924bdad572b684b985f6729.jpg","text":"TemporaryFile(/tmp/multipartBody1734633026952306750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903484152,"filename":"image_02122025_12_54_05_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019619","file1":"1398019615","file0":"1398019611","file4":"1398019623","file5":"1398019626","file3":"1398019621"},"map_files_photo_id_array":[{"photo_id":"1398019626","filename":"file5"},{"photo_id":"1398019619","filename":"file2"},{"photo_id":"1398019623","filename":"file4"},{"photo_id":"1398019615","filename":"file1"},{"photo_id":"1398019611","filename":"file0"},{"photo_id":"1398019621","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019619":["hashtag1","hashtag2"]},{"1398019621":["hashtag1","hashtag2"]},{"1398019615":["hashtag1","hashtag2"]},{"1398019623":["hashtag1","hashtag2"]},{"1398019626":["hashtag1","hashtag2"]},{"1398019611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019619, 1398019621, 1398019615, 1398019623, 1398019626, 1398019611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.454272747039795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 03:57:42.193182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_38_3692.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_44_2666.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_46_2671.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_50_3810.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_55_2673.jpg', '/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_58_2901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_38_3692.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_44_2666.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_46_2671.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_50_3810.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_55_2673.jpg
/home/pi/Desktop/images/31102025/18/26/image_31102025_18_26_58_2901.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019631","1398019634","1398019633","1398019636","1398019635","1398019632"],"photo_ids_order":["1398019631","1398019632","1398019633","1398019634","1398019635","1398019636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/568d9aa2178713b80a46d097c09647d1.jpg","text":"TemporaryFile(/tmp/multipartBody3877065672120258468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903523659,"filename":"image_31102025_18_26_38_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/5/bc7125f3f7f4e2768ebe241645ac7418.jpg","text":"TemporaryFile(/tmp/multipartBody4918643211565234693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903523659,"filename":"image_31102025_18_26_50_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/5/02aaa196d4eb0f7f87da0dc6a8a80ace.jpg","text":"TemporaryFile(/tmp/multipartBody8065927131153832698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903523659,"filename":"image_31102025_18_26_46_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/5/3d6b7f9c698dab20f3998901c01d70fd.jpg","text":"TemporaryFile(/tmp/multipartBody1988538383509058676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903523659,"filename":"image_31102025_18_26_58_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/5/89a20ca19c9dfa8c4b9fdbfc4f5d0463.jpg","text":"TemporaryFile(/tmp/multipartBody47379687652231797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903523659,"filename":"image_31102025_18_26_55_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/5/2094a94715b39886bb8419d4fd215b12.jpg","text":"TemporaryFile(/tmp/multipartBody7670495382496303121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903523659,"filename":"image_31102025_18_26_44_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019633","file1":"1398019632","file0":"1398019631","file4":"1398019635","file5":"1398019636","file3":"1398019634"},"map_files_photo_id_array":[{"photo_id":"1398019636","filename":"file5"},{"photo_id":"1398019633","filename":"file2"},{"photo_id":"1398019635","filename":"file4"},{"photo_id":"1398019632","filename":"file1"},{"photo_id":"1398019631","filename":"file0"},{"photo_id":"1398019634","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019631":["hashtag1","hashtag2"]},{"1398019634":["hashtag1","hashtag2"]},{"1398019633":["hashtag1","hashtag2"]},{"1398019636":["hashtag1","hashtag2"]},{"1398019635":["hashtag1","hashtag2"]},{"1398019632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019631, 1398019634, 1398019633, 1398019636, 1398019635, 1398019632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.924583196640015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 03:59:03.266232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/56/image_05122025_03_56_54_9745.jpg', '/home/pi/Desktop/images/05122025/03/56/image_05122025_03_57_03_9751.jpg', '/home/pi/Desktop/images/05122025/03/57/image_05122025_03_57_14_10724.jpg', '/home/pi/Desktop/images/05122025/03/57/image_05122025_03_57_24_9736.jpg', '/home/pi/Desktop/images/05122025/03/58/image_05122025_03_58_14_9875.jpg', '/home/pi/Desktop/images/05122025/03/58/image_05122025_03_58_23_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/56/image_05122025_03_56_54_9745.jpg
/home/pi/Desktop/images/05122025/03/56/image_05122025_03_57_03_9751.jpg
/home/pi/Desktop/images/05122025/03/57/image_05122025_03_57_14_10724.jpg
/home/pi/Desktop/images/05122025/03/57/image_05122025_03_57_24_9736.jpg
/home/pi/Desktop/images/05122025/03/58/image_05122025_03_58_14_9875.jpg
/home/pi/Desktop/images/05122025/03/58/image_05122025_03_58_23_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":["1398019660","1398019654","1398019647","1398019659","1398019650","1398019644"],"photo_ids_order":["1398019644","1398019647","1398019650","1398019654","1398019659","1398019660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5c91c96f18c8dafe2819b42b58ff21ac.jpg","text":"TemporaryFile(/tmp/multipartBody437053380652157163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903604186,"filename":"image_05122025_03_58_23_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/5/ad7e9d59dcef911ca5e2681c692b6603.jpg","text":"TemporaryFile(/tmp/multipartBody271128775345484621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903604186,"filename":"image_05122025_03_57_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/5/c9bff38be974da7cc6ee3d389bceb86b.jpg","text":"TemporaryFile(/tmp/multipartBody4514757915182510061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903604186,"filename":"image_05122025_03_57_03_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/5/4ae86e05a6e8d4351336862920f40b8e.jpg","text":"TemporaryFile(/tmp/multipartBody4863789754781451891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903604186,"filename":"image_05122025_03_58_14_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9d1c723d311966dec5f847abd3cf8ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8795620785626818307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903604186,"filename":"image_05122025_03_57_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/5/760a31dc1fa7c6d000c33e8b004662ab.jpg","text":"TemporaryFile(/tmp/multipartBody5342999489279933700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903604186,"filename":"image_05122025_03_56_54_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019650","file1":"1398019647","file0":"1398019644","file4":"1398019659","file5":"1398019660","file3":"1398019654"},"map_files_photo_id_array":[{"photo_id":"1398019660","filename":"file5"},{"photo_id":"1398019650","filename":"file2"},{"photo_id":"1398019659","filename":"file4"},{"photo_id":"1398019647","filename":"file1"},{"photo_id":"1398019644","filename":"file0"},{"photo_id":"1398019654","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019660":["hashtag1","hashtag2"]},{"1398019654":["hashtag1","hashtag2"]},{"1398019647":["hashtag1","hashtag2"]},{"1398019659":["hashtag1","hashtag2"]},{"1398019650":["hashtag1","hashtag2"]},{"1398019644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019660, 1398019654, 1398019647, 1398019659, 1398019650, 1398019644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79611110687256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:00:02.984393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/58/image_05122025_03_58_53_9600.jpg', '/home/pi/Desktop/images/05122025/03/58/image_05122025_03_59_04_10894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/58/image_05122025_03_58_53_9600.jpg
/home/pi/Desktop/images/05122025/03/58/image_05122025_03_59_04_10894.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019670","1398019674"],"photo_ids_order":["1398019670","1398019674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4948b3a3b0dc92f953ca6182199d441.jpg","text":"TemporaryFile(/tmp/multipartBody7725727400866703986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903663518,"filename":"image_05122025_03_58_53_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/5/3a33e25b4f519b6becbf8b27fda07a71.jpg","text":"TemporaryFile(/tmp/multipartBody4367389236340018574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903663518,"filename":"image_05122025_03_59_04_10894.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398019674","file0":"1398019670"},"map_files_photo_id_array":[{"photo_id":"1398019674","filename":"file1"},{"photo_id":"1398019670","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019670":["hashtag1","hashtag2"]},{"1398019674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019670, 1398019674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.229546308517456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:00:22.689731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/03/59/image_05122025_03_59_34_9692.jpg', '/home/pi/Desktop/images/05122025/03/59/image_05122025_04_00_04_9807.jpg', '/home/pi/Desktop/images/05122025/04/00/image_05122025_04_00_14_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/03/59/image_05122025_03_59_34_9692.jpg
/home/pi/Desktop/images/05122025/03/59/image_05122025_04_00_04_9807.jpg
/home/pi/Desktop/images/05122025/04/00/image_05122025_04_00_14_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019685","1398019690","1398019692"],"photo_ids_order":["1398019685","1398019690","1398019692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0faed645721c9bc4d80db9f003b53173.jpg","text":"TemporaryFile(/tmp/multipartBody1891543289059741634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903683258,"filename":"image_05122025_03_59_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/5/3e2d96470c57fbbcb474e5efd4da7093.jpg","text":"TemporaryFile(/tmp/multipartBody890719223352401820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903683258,"filename":"image_05122025_04_00_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/5/28f6c7a5616325a94f438c83e9ee6449.jpg","text":"TemporaryFile(/tmp/multipartBody8155982367909719157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903683258,"filename":"image_05122025_04_00_14_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019692","file1":"1398019690","file0":"1398019685"},"map_files_photo_id_array":[{"photo_id":"1398019692","filename":"file2"},{"photo_id":"1398019690","filename":"file1"},{"photo_id":"1398019685","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019685":["hashtag1","hashtag2"]},{"1398019690":["hashtag1","hashtag2"]},{"1398019692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019685, 1398019690, 1398019692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.142383098602295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:01:02.485968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/54/image_02122025_12_55_04_9836.jpg', '/home/pi/Desktop/images/02122025/12/55/image_02122025_12_55_15_10669.jpg', '/home/pi/Desktop/images/02122025/12/55/image_02122025_12_55_25_9682.jpg', '/home/pi/Desktop/images/02122025/12/55/image_02122025_12_55_34_9642.jpg', '/home/pi/Desktop/images/02122025/12/55/image_02122025_12_55_45_10821.jpg', '/home/pi/Desktop/images/02122025/12/55/image_02122025_12_55_55_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/54/image_02122025_12_55_04_9836.jpg
/home/pi/Desktop/images/02122025/12/55/image_02122025_12_55_15_10669.jpg
/home/pi/Desktop/images/02122025/12/55/image_02122025_12_55_25_9682.jpg
/home/pi/Desktop/images/02122025/12/55/image_02122025_12_55_34_9642.jpg
/home/pi/Desktop/images/02122025/12/55/image_02122025_12_55_45_10821.jpg
/home/pi/Desktop/images/02122025/12/55/image_02122025_12_55_55_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019706","1398019717","1398019711","1398019714","1398019708","1398019702"],"photo_ids_order":["1398019702","1398019706","1398019708","1398019711","1398019714","1398019717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/048b03c745f0fc49edd3209dbd36acfa.jpg","text":"TemporaryFile(/tmp/multipartBody4365887780648713663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903724129,"filename":"image_02122025_12_55_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/5/5a50f57f6a0361a129f1f549c6770338.jpg","text":"TemporaryFile(/tmp/multipartBody3762433921179495785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903724129,"filename":"image_02122025_12_55_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/5/b0e34760e84abd1e452f30c6ac83b6aa.jpg","text":"TemporaryFile(/tmp/multipartBody2780459318437440087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903724129,"filename":"image_02122025_12_55_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/79d17ad62cfab0c64f472a4470d59410.jpg","text":"TemporaryFile(/tmp/multipartBody1745821714174337614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903724129,"filename":"image_02122025_12_55_45_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f1b7ce096cad562ef308140b9aabb4e0.jpg","text":"TemporaryFile(/tmp/multipartBody4311655862828716552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903724129,"filename":"image_02122025_12_55_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/5/872d507b748a944c6bc394587310b651.jpg","text":"TemporaryFile(/tmp/multipartBody3392775866998487893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903724129,"filename":"image_02122025_12_55_04_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019708","file1":"1398019706","file0":"1398019702","file4":"1398019714","file5":"1398019717","file3":"1398019711"},"map_files_photo_id_array":[{"photo_id":"1398019717","filename":"file5"},{"photo_id":"1398019708","filename":"file2"},{"photo_id":"1398019714","filename":"file4"},{"photo_id":"1398019706","filename":"file1"},{"photo_id":"1398019702","filename":"file0"},{"photo_id":"1398019711","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019706":["hashtag1","hashtag2"]},{"1398019717":["hashtag1","hashtag2"]},{"1398019711":["hashtag1","hashtag2"]},{"1398019714":["hashtag1","hashtag2"]},{"1398019708":["hashtag1","hashtag2"]},{"1398019702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019706, 1398019717, 1398019711, 1398019714, 1398019708, 1398019702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.553359508514404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:01:41.912316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_05_2512.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_08_3691.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_11_2639.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_16_2841.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_20_3543.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_22_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_05_2512.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_08_3691.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_11_2639.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_16_2841.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_20_3543.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_22_2564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019721","1398019724","1398019741","1398019738","1398019726","1398019734"],"photo_ids_order":["1398019721","1398019724","1398019726","1398019734","1398019738","1398019741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c3b455ac2a34902ca5d5a094d922be3.jpg","text":"TemporaryFile(/tmp/multipartBody6590284333814921168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903763376,"filename":"image_31102025_18_27_05_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/5/6e6e473b735297dee04bf574226d6673.jpg","text":"TemporaryFile(/tmp/multipartBody486728990677020271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903763376,"filename":"image_31102025_18_27_08_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/5/1b405de5a91b98717b1aff5f98b1e904.jpg","text":"TemporaryFile(/tmp/multipartBody614214667225342795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903763376,"filename":"image_31102025_18_27_22_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5c62c563fb0f20c184ab361614c7c2db.jpg","text":"TemporaryFile(/tmp/multipartBody381175394662153556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903763376,"filename":"image_31102025_18_27_20_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6aac11f2c8b66f90143ec226a6c168ca.jpg","text":"TemporaryFile(/tmp/multipartBody7625172932915132167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903763376,"filename":"image_31102025_18_27_11_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/5/377ef95cbd7b0e90b6e26d0c63f89631.jpg","text":"TemporaryFile(/tmp/multipartBody3351597556710971009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903763376,"filename":"image_31102025_18_27_16_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019726","file1":"1398019724","file0":"1398019721","file4":"1398019738","file5":"1398019741","file3":"1398019734"},"map_files_photo_id_array":[{"photo_id":"1398019741","filename":"file5"},{"photo_id":"1398019726","filename":"file2"},{"photo_id":"1398019738","filename":"file4"},{"photo_id":"1398019724","filename":"file1"},{"photo_id":"1398019721","filename":"file0"},{"photo_id":"1398019734","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019721":["hashtag1","hashtag2"]},{"1398019724":["hashtag1","hashtag2"]},{"1398019741":["hashtag1","hashtag2"]},{"1398019738":["hashtag1","hashtag2"]},{"1398019726":["hashtag1","hashtag2"]},{"1398019734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019721, 1398019724, 1398019741, 1398019738, 1398019726, 1398019734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.638155937194824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:02:22.094727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/00/image_05122025_04_00_54_9793.jpg', '/home/pi/Desktop/images/05122025/04/00/image_05122025_04_01_04_10619.jpg', '/home/pi/Desktop/images/05122025/04/01/image_05122025_04_01_14_9670.jpg', '/home/pi/Desktop/images/05122025/04/01/image_05122025_04_01_34_10693.jpg', '/home/pi/Desktop/images/05122025/04/01/image_05122025_04_01_44_9696.jpg', '/home/pi/Desktop/images/05122025/04/01/image_05122025_04_02_04_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/00/image_05122025_04_00_54_9793.jpg
/home/pi/Desktop/images/05122025/04/00/image_05122025_04_01_04_10619.jpg
/home/pi/Desktop/images/05122025/04/01/image_05122025_04_01_14_9670.jpg
/home/pi/Desktop/images/05122025/04/01/image_05122025_04_01_34_10693.jpg
/home/pi/Desktop/images/05122025/04/01/image_05122025_04_01_44_9696.jpg
/home/pi/Desktop/images/05122025/04/01/image_05122025_04_02_04_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019772","1398019751","1398019754","1398019756","1398019747","1398019764"],"photo_ids_order":["1398019747","1398019751","1398019754","1398019756","1398019764","1398019772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f5efcc3b58af333bf0e51e7a835f3c19.jpg","text":"TemporaryFile(/tmp/multipartBody278064763459315141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903802791,"filename":"image_05122025_04_02_04_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/5/7309ebec80d3eca494dffaf6866e6e02.jpg","text":"TemporaryFile(/tmp/multipartBody6313936825137493824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903802791,"filename":"image_05122025_04_01_04_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/5/c3e0f649e8e17f81e10a114de9c5a1a8.jpg","text":"TemporaryFile(/tmp/multipartBody3863190579585887444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903802791,"filename":"image_05122025_04_01_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/5/156ccdc8618da749cdafc246424d34a2.jpg","text":"TemporaryFile(/tmp/multipartBody3507206522670011864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903802791,"filename":"image_05122025_04_01_34_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/5/fd941ca8f4ca6f009501255e0baf29f1.jpg","text":"TemporaryFile(/tmp/multipartBody3876177485225763762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903802791,"filename":"image_05122025_04_00_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/5/cda6e6d9913c0a3f08cc86fbe8f2a781.jpg","text":"TemporaryFile(/tmp/multipartBody6471238947203603851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903802791,"filename":"image_05122025_04_01_44_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019754","file1":"1398019751","file0":"1398019747","file4":"1398019764","file5":"1398019772","file3":"1398019756"},"map_files_photo_id_array":[{"photo_id":"1398019772","filename":"file5"},{"photo_id":"1398019754","filename":"file2"},{"photo_id":"1398019764","filename":"file4"},{"photo_id":"1398019751","filename":"file1"},{"photo_id":"1398019747","filename":"file0"},{"photo_id":"1398019756","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019772":["hashtag1","hashtag2"]},{"1398019751":["hashtag1","hashtag2"]},{"1398019754":["hashtag1","hashtag2"]},{"1398019756":["hashtag1","hashtag2"]},{"1398019747":["hashtag1","hashtag2"]},{"1398019764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019772, 1398019751, 1398019754, 1398019756, 1398019747, 1398019764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.311972856521606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:03:02.998984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/02/image_05122025_04_02_14_9586.jpg', '/home/pi/Desktop/images/05122025/04/02/image_05122025_04_02_44_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/02/image_05122025_04_02_14_9586.jpg
/home/pi/Desktop/images/05122025/04/02/image_05122025_04_02_44_10660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019782","1398019779"],"photo_ids_order":["1398019779","1398019782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f148eebe4d55f649394d04e2fa19aeb.jpg","text":"TemporaryFile(/tmp/multipartBody4412835063211719692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903843544,"filename":"image_05122025_04_02_44_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/85e655eb79784bf838311fd04448f2a5.jpg","text":"TemporaryFile(/tmp/multipartBody5988514274886147197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903843544,"filename":"image_05122025_04_02_14_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398019782","file0":"1398019779"},"map_files_photo_id_array":[{"photo_id":"1398019782","filename":"file1"},{"photo_id":"1398019779","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019782":["hashtag1","hashtag2"]},{"1398019779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019782, 1398019779)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 20.29865264892578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:03:32.271450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/55/image_02122025_12_56_04_9661.jpg', '/home/pi/Desktop/images/02122025/12/56/image_02122025_12_56_15_10894.jpg', '/home/pi/Desktop/images/02122025/12/56/image_02122025_12_56_25_9662.jpg', '/home/pi/Desktop/images/02122025/12/56/image_02122025_12_56_35_9677.jpg', '/home/pi/Desktop/images/02122025/12/56/image_02122025_12_56_44_9677.jpg', '/home/pi/Desktop/images/02122025/12/56/image_02122025_12_56_55_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/55/image_02122025_12_56_04_9661.jpg
/home/pi/Desktop/images/02122025/12/56/image_02122025_12_56_15_10894.jpg
/home/pi/Desktop/images/02122025/12/56/image_02122025_12_56_25_9662.jpg
/home/pi/Desktop/images/02122025/12/56/image_02122025_12_56_35_9677.jpg
/home/pi/Desktop/images/02122025/12/56/image_02122025_12_56_44_9677.jpg
/home/pi/Desktop/images/02122025/12/56/image_02122025_12_56_55_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019799","1398019789","1398019797","1398019791","1398019794","1398019787"],"photo_ids_order":["1398019787","1398019789","1398019791","1398019794","1398019797","1398019799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/447a617523809f5f471187af595d42d3.jpg","text":"TemporaryFile(/tmp/multipartBody3303341506189150974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903874232,"filename":"image_02122025_12_56_55_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/5/12236c22acf94c441ede01657e09ed0b.jpg","text":"TemporaryFile(/tmp/multipartBody3994416408231352291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903874232,"filename":"image_02122025_12_56_15_10894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d29b5098e198416e126b95f2bda0ae8f.jpg","text":"TemporaryFile(/tmp/multipartBody2141109450442188819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903874232,"filename":"image_02122025_12_56_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9266059f2ea11d32674e01108e0ef131.jpg","text":"TemporaryFile(/tmp/multipartBody7881979497899255231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903874232,"filename":"image_02122025_12_56_25_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e9ba85654ba43e64147140baf8da0d36.jpg","text":"TemporaryFile(/tmp/multipartBody1851702533680331757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903874232,"filename":"image_02122025_12_56_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/5/6c9e693e83defcab672990fa44d77e57.jpg","text":"TemporaryFile(/tmp/multipartBody5560649738664458595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903874232,"filename":"image_02122025_12_56_04_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019791","file1":"1398019789","file0":"1398019787","file4":"1398019797","file5":"1398019799","file3":"1398019794"},"map_files_photo_id_array":[{"photo_id":"1398019799","filename":"file5"},{"photo_id":"1398019791","filename":"file2"},{"photo_id":"1398019797","filename":"file4"},{"photo_id":"1398019789","filename":"file1"},{"photo_id":"1398019787","filename":"file0"},{"photo_id":"1398019794","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019799":["hashtag1","hashtag2"]},{"1398019789":["hashtag1","hashtag2"]},{"1398019797":["hashtag1","hashtag2"]},{"1398019791":["hashtag1","hashtag2"]},{"1398019794":["hashtag1","hashtag2"]},{"1398019787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019799, 1398019789, 1398019797, 1398019791, 1398019794, 1398019787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.034958839416504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:04:12.366496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/56/image_02122025_12_57_05_9802.jpg', '/home/pi/Desktop/images/02122025/12/57/image_02122025_12_57_15_10255.jpg', '/home/pi/Desktop/images/02122025/12/57/image_02122025_12_57_25_9584.jpg', '/home/pi/Desktop/images/02122025/12/57/image_02122025_12_57_34_9691.jpg', '/home/pi/Desktop/images/02122025/12/57/image_02122025_12_57_52_17692.jpg', '/home/pi/Desktop/images/02122025/12/57/image_02122025_12_57_55_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/56/image_02122025_12_57_05_9802.jpg
/home/pi/Desktop/images/02122025/12/57/image_02122025_12_57_15_10255.jpg
/home/pi/Desktop/images/02122025/12/57/image_02122025_12_57_25_9584.jpg
/home/pi/Desktop/images/02122025/12/57/image_02122025_12_57_34_9691.jpg
/home/pi/Desktop/images/02122025/12/57/image_02122025_12_57_52_17692.jpg
/home/pi/Desktop/images/02122025/12/57/image_02122025_12_57_55_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019811","1398019804","1398019813","1398019815","1398019809","1398019806"],"photo_ids_order":["1398019804","1398019806","1398019809","1398019811","1398019813","1398019815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d6a5f8f9e5ddc4beb0dfdc3c7ad6593.jpg","text":"TemporaryFile(/tmp/multipartBody2272627867612513588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903914187,"filename":"image_02122025_12_57_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/5/fc4b476422e59d9785ec5122ac4e64bf.jpg","text":"TemporaryFile(/tmp/multipartBody1893866630564382981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903914187,"filename":"image_02122025_12_57_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/5/f01143eab314ac71bac7ba1d0fc01e6f.jpg","text":"TemporaryFile(/tmp/multipartBody438829428162860869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903914187,"filename":"image_02122025_12_57_52_17692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af01a18953f94d569d2000c2ffc94951.jpg","text":"TemporaryFile(/tmp/multipartBody1766201714099404939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903914187,"filename":"image_02122025_12_57_55_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/5/f345f7de92348a1dcdced7e101910025.jpg","text":"TemporaryFile(/tmp/multipartBody7943739403578213124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903914187,"filename":"image_02122025_12_57_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac8da8e0d8b807af09c9e3b1a2275a0f.jpg","text":"TemporaryFile(/tmp/multipartBody8224992828575728780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903914187,"filename":"image_02122025_12_57_15_10255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019809","file1":"1398019806","file0":"1398019804","file4":"1398019813","file5":"1398019815","file3":"1398019811"},"map_files_photo_id_array":[{"photo_id":"1398019815","filename":"file5"},{"photo_id":"1398019809","filename":"file2"},{"photo_id":"1398019813","filename":"file4"},{"photo_id":"1398019806","filename":"file1"},{"photo_id":"1398019804","filename":"file0"},{"photo_id":"1398019811","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019811":["hashtag1","hashtag2"]},{"1398019804":["hashtag1","hashtag2"]},{"1398019813":["hashtag1","hashtag2"]},{"1398019815":["hashtag1","hashtag2"]},{"1398019809":["hashtag1","hashtag2"]},{"1398019806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019811, 1398019804, 1398019813, 1398019815, 1398019809, 1398019806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3787055015564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:05:03.243829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/02/image_05122025_04_02_54_9622.jpg', '/home/pi/Desktop/images/05122025/04/02/image_05122025_04_03_03_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/02/image_05122025_04_02_54_9622.jpg
/home/pi/Desktop/images/05122025/04/02/image_05122025_04_03_03_9726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019831","1398019828"],"photo_ids_order":["1398019828","1398019831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6db9eefe18697589050cf6dfa01c9495.jpg","text":"TemporaryFile(/tmp/multipartBody5140530755235207997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903963815,"filename":"image_05122025_04_03_03_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/5/cbd983b928cc4788ed874b1839a08c6c.jpg","text":"TemporaryFile(/tmp/multipartBody2418253572124934615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903963815,"filename":"image_05122025_04_02_54_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398019831","file0":"1398019828"},"map_files_photo_id_array":[{"photo_id":"1398019831","filename":"file1"},{"photo_id":"1398019828","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019831":["hashtag1","hashtag2"]},{"1398019828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019831, 1398019828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.00987696647644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:05:22.674484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/03/image_05122025_04_03_14_10775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/03/image_05122025_04_03_14_10775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019835"],"photo_id":"1398019835","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/73c0779420eee5dc1688b1e641d1cd67.jpg","text":"TemporaryFile(/tmp/multipartBody4396996444949866644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764903983156,"filename":"image_05122025_04_03_14_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398019835"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398019835"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.486975908279419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:05:42.833999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_26_3687.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_29_2558.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_32_2762.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_34_2822.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_38_3588.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_40_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_26_3687.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_29_2558.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_32_2762.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_34_2822.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_38_3588.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_40_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":["1398019844","1398019855","1398019846","1398019848","1398019842","1398019868"],"photo_ids_order":["1398019842","1398019844","1398019846","1398019848","1398019855","1398019868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ddb814c941436887bd892bc7793751d.jpg","text":"TemporaryFile(/tmp/multipartBody4313694255205526656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904004285,"filename":"image_31102025_18_27_29_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/5/7387525117589b17d2153c535db981c7.jpg","text":"TemporaryFile(/tmp/multipartBody419535391123263566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904004285,"filename":"image_31102025_18_27_38_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/5/c873256d991e0ef1a11b8510bc8125e7.jpg","text":"TemporaryFile(/tmp/multipartBody8924467538405337695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904004285,"filename":"image_31102025_18_27_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/5/387f5b6797aedc9ccc6424bcb52d9ae0.jpg","text":"TemporaryFile(/tmp/multipartBody6809239006296800718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904004285,"filename":"image_31102025_18_27_34_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a3c768ec807cb0726942bfc6a357b35.jpg","text":"TemporaryFile(/tmp/multipartBody2700954315739038701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904004285,"filename":"image_31102025_18_27_26_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/67764af844fbb22b273e3908f6f13dd0.jpg","text":"TemporaryFile(/tmp/multipartBody3991036505968337611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904004285,"filename":"image_31102025_18_27_40_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019846","file1":"1398019844","file0":"1398019842","file4":"1398019855","file5":"1398019868","file3":"1398019848"},"map_files_photo_id_array":[{"photo_id":"1398019868","filename":"file5"},{"photo_id":"1398019846","filename":"file2"},{"photo_id":"1398019855","filename":"file4"},{"photo_id":"1398019844","filename":"file1"},{"photo_id":"1398019842","filename":"file0"},{"photo_id":"1398019848","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019844":["hashtag1","hashtag2"]},{"1398019855":["hashtag1","hashtag2"]},{"1398019846":["hashtag1","hashtag2"]},{"1398019848":["hashtag1","hashtag2"]},{"1398019842":["hashtag1","hashtag2"]},{"1398019868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019844, 1398019855, 1398019846, 1398019848, 1398019842, 1398019868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94415235519409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:06:22.003721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/05/image_05122025_04_05_34_9781.jpg', '/home/pi/Desktop/images/05122025/04/06/image_05122025_04_06_23_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/05/image_05122025_04_05_34_9781.jpg
/home/pi/Desktop/images/05122025/04/06/image_05122025_04_06_23_9660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4228065013885498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:06:31.985720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/12/57/image_02122025_12_58_04_9699.jpg', '/home/pi/Desktop/images/02122025/12/58/image_02122025_12_58_15_10644.jpg', '/home/pi/Desktop/images/02122025/12/59/image_02122025_12_59_15_9719.jpg', '/home/pi/Desktop/images/02122025/12/59/image_02122025_12_59_45_9544.jpg', '/home/pi/Desktop/images/02122025/13/00/image_02122025_13_00_26_10870.jpg', '/home/pi/Desktop/images/02122025/13/00/image_02122025_13_00_41_14595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/12/57/image_02122025_12_58_04_9699.jpg
/home/pi/Desktop/images/02122025/12/58/image_02122025_12_58_15_10644.jpg
/home/pi/Desktop/images/02122025/12/59/image_02122025_12_59_15_9719.jpg
/home/pi/Desktop/images/02122025/12/59/image_02122025_12_59_45_9544.jpg
/home/pi/Desktop/images/02122025/13/00/image_02122025_13_00_26_10870.jpg
/home/pi/Desktop/images/02122025/13/00/image_02122025_13_00_41_14595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019891","1398019878","1398019893","1398019887","1398019895","1398019880"],"photo_ids_order":["1398019878","1398019880","1398019887","1398019891","1398019893","1398019895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80d8d16d7627c529a43ef53a1542bed9.jpg","text":"TemporaryFile(/tmp/multipartBody8306373293511986353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904054025,"filename":"image_02122025_12_59_45_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/5/54eaf7bdda03c0c7a6bde74faf9d0354.jpg","text":"TemporaryFile(/tmp/multipartBody3282820969452995210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904054025,"filename":"image_02122025_12_58_04_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/5/da2db18f3a27947423084d0b56f490fe.jpg","text":"TemporaryFile(/tmp/multipartBody4201669630717756037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904054025,"filename":"image_02122025_13_00_26_10870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/25724f322ef2b661ac8bea946ef7a098.jpg","text":"TemporaryFile(/tmp/multipartBody9191642477785836039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904054025,"filename":"image_02122025_12_59_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/5/61263a16932b9de6439ec4d6b449943f.jpg","text":"TemporaryFile(/tmp/multipartBody1638706194266255637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904054025,"filename":"image_02122025_13_00_41_14595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b60b3ec1a1aea35f88da11ae112f012.jpg","text":"TemporaryFile(/tmp/multipartBody5133644835245469907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904054025,"filename":"image_02122025_12_58_15_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019887","file1":"1398019880","file0":"1398019878","file4":"1398019893","file5":"1398019895","file3":"1398019891"},"map_files_photo_id_array":[{"photo_id":"1398019895","filename":"file5"},{"photo_id":"1398019887","filename":"file2"},{"photo_id":"1398019893","filename":"file4"},{"photo_id":"1398019880","filename":"file1"},{"photo_id":"1398019878","filename":"file0"},{"photo_id":"1398019891","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019891":["hashtag1","hashtag2"]},{"1398019878":["hashtag1","hashtag2"]},{"1398019893":["hashtag1","hashtag2"]},{"1398019887":["hashtag1","hashtag2"]},{"1398019895":["hashtag1","hashtag2"]},{"1398019880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019891, 1398019878, 1398019893, 1398019887, 1398019895, 1398019880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09400916099548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:07:12.210680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/01/image_02122025_13_01_36_9842.jpg', '/home/pi/Desktop/images/02122025/13/01/image_02122025_13_01_46_9857.jpg', '/home/pi/Desktop/images/02122025/13/01/image_02122025_13_01_55_9768.jpg', '/home/pi/Desktop/images/02122025/13/02/image_02122025_13_02_16_9744.jpg', '/home/pi/Desktop/images/02122025/13/02/image_02122025_13_02_25_9567.jpg', '/home/pi/Desktop/images/02122025/13/02/image_02122025_13_02_36_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/01/image_02122025_13_01_36_9842.jpg
/home/pi/Desktop/images/02122025/13/01/image_02122025_13_01_46_9857.jpg
/home/pi/Desktop/images/02122025/13/01/image_02122025_13_01_55_9768.jpg
/home/pi/Desktop/images/02122025/13/02/image_02122025_13_02_16_9744.jpg
/home/pi/Desktop/images/02122025/13/02/image_02122025_13_02_25_9567.jpg
/home/pi/Desktop/images/02122025/13/02/image_02122025_13_02_36_10751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019913","1398019922","1398019915","1398019918","1398019920","1398019911"],"photo_ids_order":["1398019911","1398019913","1398019915","1398019918","1398019920","1398019922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0e81324366b242e2c9de3da634a9de77.jpg","text":"TemporaryFile(/tmp/multipartBody3434050066797121957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904094046,"filename":"image_02122025_13_01_46_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/5/5def879dc478dfa1a8bffda3eb0dabf2.jpg","text":"TemporaryFile(/tmp/multipartBody457782285797586305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904094046,"filename":"image_02122025_13_02_36_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/5/8f7efb7ac5f878d8ad61f5515e37f830.jpg","text":"TemporaryFile(/tmp/multipartBody29575800059637135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904094046,"filename":"image_02122025_13_01_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/5/f3b81149b8f5a6a58f42cf4f3f6bb09c.jpg","text":"TemporaryFile(/tmp/multipartBody3979841681834855343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904094046,"filename":"image_02122025_13_02_16_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/5/f7caa807dcabc4b9023d52e6ad421e2e.jpg","text":"TemporaryFile(/tmp/multipartBody313957898470905193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904094046,"filename":"image_02122025_13_02_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/5/f3bc2bf48f31559d75f93fc8d173899c.jpg","text":"TemporaryFile(/tmp/multipartBody4082887637654781769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904094046,"filename":"image_02122025_13_01_36_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019915","file1":"1398019913","file0":"1398019911","file4":"1398019920","file5":"1398019922","file3":"1398019918"},"map_files_photo_id_array":[{"photo_id":"1398019922","filename":"file5"},{"photo_id":"1398019915","filename":"file2"},{"photo_id":"1398019920","filename":"file4"},{"photo_id":"1398019913","filename":"file1"},{"photo_id":"1398019911","filename":"file0"},{"photo_id":"1398019918","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019913":["hashtag1","hashtag2"]},{"1398019922":["hashtag1","hashtag2"]},{"1398019915":["hashtag1","hashtag2"]},{"1398019918":["hashtag1","hashtag2"]},{"1398019920":["hashtag1","hashtag2"]},{"1398019911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019913, 1398019922, 1398019915, 1398019918, 1398019920, 1398019911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64338946342468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:08:02.769032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/05/image_05122025_04_05_34_9781.jpg', '/home/pi/Desktop/images/05122025/04/06/image_05122025_04_06_23_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/05/image_05122025_04_05_34_9781.jpg
/home/pi/Desktop/images/05122025/04/06/image_05122025_04_06_23_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019932","1398019929"],"photo_ids_order":["1398019929","1398019932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91a2522aadf190537fdd0c0b9d0ebd4e.jpg","text":"TemporaryFile(/tmp/multipartBody1443197220731789315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904143295,"filename":"image_05122025_04_06_23_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/5/f00c49a2288b4b662421caf38d86d8c3.jpg","text":"TemporaryFile(/tmp/multipartBody2936904134428792951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904143295,"filename":"image_05122025_04_05_34_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398019932","file0":"1398019929"},"map_files_photo_id_array":[{"photo_id":"1398019932","filename":"file1"},{"photo_id":"1398019929","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019932":["hashtag1","hashtag2"]},{"1398019929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019932, 1398019929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.000330209732056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:08:22.317531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_47_2546.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_50_2817.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_52_2701.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_56_3685.jpg', '/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_59_2695.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_01_2828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_47_2546.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_50_2817.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_52_2701.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_56_3685.jpg
/home/pi/Desktop/images/31102025/18/27/image_31102025_18_27_59_2695.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_01_2828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019949","1398019952","1398019936","1398019945","1398019947","1398019941"],"photo_ids_order":["1398019936","1398019941","1398019945","1398019947","1398019949","1398019952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f77a3cf9eb2c7f8536f2d3661b84a425.jpg","text":"TemporaryFile(/tmp/multipartBody9112817103562875771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904163763,"filename":"image_31102025_18_27_59_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/5/9f5be7ce0831939298bc155d6fe89fda.jpg","text":"TemporaryFile(/tmp/multipartBody5028277943792438250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904163763,"filename":"image_31102025_18_28_01_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/5/c7555e37acb63c748b17022c17b842c2.jpg","text":"TemporaryFile(/tmp/multipartBody827682711090463242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904163763,"filename":"image_31102025_18_27_47_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/24ec8ae193d3c2b99c9de477cb5c7013.jpg","text":"TemporaryFile(/tmp/multipartBody2697531226159548493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904163763,"filename":"image_31102025_18_27_52_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/5/d45bf816f9f40da350c8d1f81fa575c4.jpg","text":"TemporaryFile(/tmp/multipartBody3838464891724968153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904163763,"filename":"image_31102025_18_27_56_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/5/1b04ace6b367e95b3e0f0d1fd042d6ec.jpg","text":"TemporaryFile(/tmp/multipartBody6866272107031753052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904163763,"filename":"image_31102025_18_27_50_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019945","file1":"1398019941","file0":"1398019936","file4":"1398019949","file5":"1398019952","file3":"1398019947"},"map_files_photo_id_array":[{"photo_id":"1398019952","filename":"file5"},{"photo_id":"1398019945","filename":"file2"},{"photo_id":"1398019949","filename":"file4"},{"photo_id":"1398019941","filename":"file1"},{"photo_id":"1398019936","filename":"file0"},{"photo_id":"1398019947","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398019949":["hashtag1","hashtag2"]},{"1398019952":["hashtag1","hashtag2"]},{"1398019936":["hashtag1","hashtag2"]},{"1398019945":["hashtag1","hashtag2"]},{"1398019947":["hashtag1","hashtag2"]},{"1398019941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398019949, 1398019952, 1398019936, 1398019945, 1398019947, 1398019941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17914700508118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:09:03.457636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/02/image_02122025_13_02_46_9710.jpg', '/home/pi/Desktop/images/02122025/13/02/image_02122025_13_02_55_9702.jpg', '/home/pi/Desktop/images/02122025/13/02/image_02122025_13_03_06_10670.jpg', '/home/pi/Desktop/images/02122025/13/03/image_02122025_13_03_16_9593.jpg', '/home/pi/Desktop/images/02122025/13/03/image_02122025_13_03_25_9794.jpg', '/home/pi/Desktop/images/02122025/13/03/image_02122025_13_03_35_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/02/image_02122025_13_02_46_9710.jpg
/home/pi/Desktop/images/02122025/13/02/image_02122025_13_02_55_9702.jpg
/home/pi/Desktop/images/02122025/13/02/image_02122025_13_03_06_10670.jpg
/home/pi/Desktop/images/02122025/13/03/image_02122025_13_03_16_9593.jpg
/home/pi/Desktop/images/02122025/13/03/image_02122025_13_03_25_9794.jpg
/home/pi/Desktop/images/02122025/13/03/image_02122025_13_03_35_9933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019970","1398019964","1398019958","1398019960","1398019962","1398019967"],"photo_ids_order":["1398019958","1398019960","1398019962","1398019964","1398019967","1398019970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bad4dafd6b51f9a3c1846d3bac0505c4.jpg","text":"TemporaryFile(/tmp/multipartBody943861903481793335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904205129,"filename":"image_02122025_13_03_35_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0952090579f72bf4f9109b58539a5436.jpg","text":"TemporaryFile(/tmp/multipartBody7467189488032836404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904205129,"filename":"image_02122025_13_03_16_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/5/ea3a97caa0d499ec427c6010647ec426.jpg","text":"TemporaryFile(/tmp/multipartBody7145370168112562869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904205129,"filename":"image_02122025_13_02_46_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/5/3f6b9c118a59fbaa5593227910721ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7235757269778385972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904205129,"filename":"image_02122025_13_02_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/5/3769c208049d554e1c44d39d13a2cba2.jpg","text":"TemporaryFile(/tmp/multipartBody361565936419615872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904205129,"filename":"image_02122025_13_03_06_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/5/f91b927e7045b38a7242e2998cd6b139.jpg","text":"TemporaryFile(/tmp/multipartBody7581195531301779270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904205129,"filename":"image_02122025_13_03_25_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019962","file1":"1398019960","file0":"1398019958","file4":"1398019967","file5":"1398019970","file3":"1398019964"},"map_files_photo_id_array":[{"photo_id":"1398019970","filename":"file5"},{"photo_id":"1398019962","filename":"file2"},{"photo_id":"1398019967","filename":"file4"},{"photo_id":"1398019960","filename":"file1"},{"photo_id":"1398019958","filename":"file0"},{"photo_id":"1398019964","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019970":["hashtag1","hashtag2"]},{"1398019964":["hashtag1","hashtag2"]},{"1398019958":["hashtag1","hashtag2"]},{"1398019960":["hashtag1","hashtag2"]},{"1398019962":["hashtag1","hashtag2"]},{"1398019967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019970, 1398019964, 1398019958, 1398019960, 1398019962, 1398019967)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.8756000995636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:10:02.343446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/06/image_05122025_04_06_34_10659.jpg', '/home/pi/Desktop/images/05122025/04/08/image_05122025_04_09_03_9738.jpg', '/home/pi/Desktop/images/05122025/04/09/image_05122025_04_09_24_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/06/image_05122025_04_06_34_10659.jpg
/home/pi/Desktop/images/05122025/04/08/image_05122025_04_09_03_9738.jpg
/home/pi/Desktop/images/05122025/04/09/image_05122025_04_09_24_9857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019984","1398019986","1398019988"],"photo_ids_order":["1398019984","1398019986","1398019988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b01bcc14ebdd1e45b98809f7ee5a1328.jpg","text":"TemporaryFile(/tmp/multipartBody7352732601335797807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904265673,"filename":"image_05122025_04_06_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/5/46e3c389e36e3148bc3116fa188e0569.jpg","text":"TemporaryFile(/tmp/multipartBody4776175989682761455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904265673,"filename":"image_05122025_04_09_03_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/5/ace68da0ddd21f900eb1769268368d53.jpg","text":"TemporaryFile(/tmp/multipartBody9139498816083762394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904265673,"filename":"image_05122025_04_09_24_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019988","file1":"1398019986","file0":"1398019984"},"map_files_photo_id_array":[{"photo_id":"1398019988","filename":"file2"},{"photo_id":"1398019986","filename":"file1"},{"photo_id":"1398019984","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398019984":["hashtag1","hashtag2"]},{"1398019986":["hashtag1","hashtag2"]},{"1398019988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398019984, 1398019986, 1398019988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.587369203567505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:10:32.104569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/03/image_02122025_13_03_46_10587.jpg', '/home/pi/Desktop/images/02122025/13/03/image_02122025_13_03_56_9747.jpg', '/home/pi/Desktop/images/02122025/13/03/image_02122025_13_04_06_9872.jpg', '/home/pi/Desktop/images/02122025/13/04/image_02122025_13_04_15_9677.jpg', '/home/pi/Desktop/images/02122025/13/04/image_02122025_13_04_26_10719.jpg', '/home/pi/Desktop/images/02122025/13/04/image_02122025_13_04_46_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/03/image_02122025_13_03_46_10587.jpg
/home/pi/Desktop/images/02122025/13/03/image_02122025_13_03_56_9747.jpg
/home/pi/Desktop/images/02122025/13/03/image_02122025_13_04_06_9872.jpg
/home/pi/Desktop/images/02122025/13/04/image_02122025_13_04_15_9677.jpg
/home/pi/Desktop/images/02122025/13/04/image_02122025_13_04_26_10719.jpg
/home/pi/Desktop/images/02122025/13/04/image_02122025_13_04_46_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398019997","1398020007","1398019999","1398019993","1398020003","1398020011"],"photo_ids_order":["1398019993","1398019997","1398019999","1398020003","1398020007","1398020011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/28f0f14a8d1ccf00d75791805aef11d3.jpg","text":"TemporaryFile(/tmp/multipartBody7941097267603823149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904293997,"filename":"image_02122025_13_03_56_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/5/dace8d0d97424fdf8af5398f1cb2ae13.jpg","text":"TemporaryFile(/tmp/multipartBody1594576482148900367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904293997,"filename":"image_02122025_13_04_26_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/5/1e2a2db76386e099de35178e163d0f00.jpg","text":"TemporaryFile(/tmp/multipartBody3786237132415236137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904293997,"filename":"image_02122025_13_04_06_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/5/bfdcbfd0d2d6269e5745717217b3bf18.jpg","text":"TemporaryFile(/tmp/multipartBody2404843936652523058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904293997,"filename":"image_02122025_13_03_46_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/5/54cd7e161c75de15d7e9d0f74a8724fc.jpg","text":"TemporaryFile(/tmp/multipartBody7014536054988645235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904293997,"filename":"image_02122025_13_04_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/5/f79700e86f573a77a13e35e91f35c54f.jpg","text":"TemporaryFile(/tmp/multipartBody7569437142391413062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904293997,"filename":"image_02122025_13_04_46_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398019999","file1":"1398019997","file0":"1398019993","file4":"1398020007","file5":"1398020011","file3":"1398020003"},"map_files_photo_id_array":[{"photo_id":"1398020011","filename":"file5"},{"photo_id":"1398019999","filename":"file2"},{"photo_id":"1398020007","filename":"file4"},{"photo_id":"1398019997","filename":"file1"},{"photo_id":"1398019993","filename":"file0"},{"photo_id":"1398020003","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398019997":["hashtag1","hashtag2"]},{"1398020007":["hashtag1","hashtag2"]},{"1398019999":["hashtag1","hashtag2"]},{"1398019993":["hashtag1","hashtag2"]},{"1398020003":["hashtag1","hashtag2"]},{"1398020011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398019997, 1398020007, 1398019999, 1398019993, 1398020003, 1398020011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.715922117233276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:11:12.069786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/04/image_02122025_13_04_55_9564.jpg', '/home/pi/Desktop/images/02122025/13/04/image_02122025_13_05_06_10821.jpg', '/home/pi/Desktop/images/02122025/13/05/image_02122025_13_05_16_9969.jpg', '/home/pi/Desktop/images/02122025/13/05/image_02122025_13_05_26_9721.jpg', '/home/pi/Desktop/images/02122025/13/05/image_02122025_13_05_35_9768.jpg', '/home/pi/Desktop/images/02122025/13/05/image_02122025_13_05_45_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/04/image_02122025_13_04_55_9564.jpg
/home/pi/Desktop/images/02122025/13/04/image_02122025_13_05_06_10821.jpg
/home/pi/Desktop/images/02122025/13/05/image_02122025_13_05_16_9969.jpg
/home/pi/Desktop/images/02122025/13/05/image_02122025_13_05_26_9721.jpg
/home/pi/Desktop/images/02122025/13/05/image_02122025_13_05_35_9768.jpg
/home/pi/Desktop/images/02122025/13/05/image_02122025_13_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":["1398020019","1398020015","1398020020","1398020023","1398020017","1398020014"],"photo_ids_order":["1398020014","1398020015","1398020017","1398020019","1398020020","1398020023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/605951334172273e30835060c4db73ef.jpg","text":"TemporaryFile(/tmp/multipartBody2336295025156178979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904334454,"filename":"image_02122025_13_05_26_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d0ddd1acaf6d4023c5135393a289caf.jpg","text":"TemporaryFile(/tmp/multipartBody2328838532227494498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904334454,"filename":"image_02122025_13_05_06_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/34483c66946ecae54df57a584dbbde0c.jpg","text":"TemporaryFile(/tmp/multipartBody1747487642267964482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904334454,"filename":"image_02122025_13_05_35_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/5/239caa34e328de18a0bc6bd6b4e1a83c.jpg","text":"TemporaryFile(/tmp/multipartBody5854609010362980875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904334454,"filename":"image_02122025_13_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/5/699d96f5a43cf8b78ce93197cf4a67d4.jpg","text":"TemporaryFile(/tmp/multipartBody4863765508387391901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904334454,"filename":"image_02122025_13_05_16_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/5/0631db59c6dacc16bf343983c8b125db.jpg","text":"TemporaryFile(/tmp/multipartBody6329981309872988684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904334454,"filename":"image_02122025_13_04_55_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020017","file1":"1398020015","file0":"1398020014","file4":"1398020020","file5":"1398020023","file3":"1398020019"},"map_files_photo_id_array":[{"photo_id":"1398020023","filename":"file5"},{"photo_id":"1398020017","filename":"file2"},{"photo_id":"1398020020","filename":"file4"},{"photo_id":"1398020015","filename":"file1"},{"photo_id":"1398020014","filename":"file0"},{"photo_id":"1398020019","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020019":["hashtag1","hashtag2"]},{"1398020015":["hashtag1","hashtag2"]},{"1398020020":["hashtag1","hashtag2"]},{"1398020023":["hashtag1","hashtag2"]},{"1398020017":["hashtag1","hashtag2"]},{"1398020014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020019, 1398020015, 1398020020, 1398020023, 1398020017, 1398020014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74244165420532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:12:02.906804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/05/image_02122025_13_05_56_10648.jpg', '/home/pi/Desktop/images/02122025/13/05/image_02122025_13_06_05_9737.jpg', '/home/pi/Desktop/images/02122025/13/06/image_02122025_13_06_15_9822.jpg', '/home/pi/Desktop/images/02122025/13/06/image_02122025_13_06_25_9868.jpg', '/home/pi/Desktop/images/02122025/13/06/image_02122025_13_06_36_10648.jpg', '/home/pi/Desktop/images/02122025/13/06/image_02122025_13_06_46_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/05/image_02122025_13_05_56_10648.jpg
/home/pi/Desktop/images/02122025/13/05/image_02122025_13_06_05_9737.jpg
/home/pi/Desktop/images/02122025/13/06/image_02122025_13_06_15_9822.jpg
/home/pi/Desktop/images/02122025/13/06/image_02122025_13_06_25_9868.jpg
/home/pi/Desktop/images/02122025/13/06/image_02122025_13_06_36_10648.jpg
/home/pi/Desktop/images/02122025/13/06/image_02122025_13_06_46_10045.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020034","1398020037","1398020039","1398020033","1398020035","1398020032"],"photo_ids_order":["1398020032","1398020033","1398020034","1398020035","1398020037","1398020039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d3862d6c62ce245326551cb5a7f2197.jpg","text":"TemporaryFile(/tmp/multipartBody78308517252901903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904384384,"filename":"image_02122025_13_06_15_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/5/21e17755594fe55b08e8b8536affa53a.jpg","text":"TemporaryFile(/tmp/multipartBody470526680154610463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904384384,"filename":"image_02122025_13_06_36_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6fc93c60deb6ac50c648a88d69736849.jpg","text":"TemporaryFile(/tmp/multipartBody7848184169857578531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904384384,"filename":"image_02122025_13_06_46_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/accd86b3efec5041f1ac93a8ae217bd9.jpg","text":"TemporaryFile(/tmp/multipartBody2053435917636835128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904384384,"filename":"image_02122025_13_06_05_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7a60da20c05d4213a7cc3a7794073e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6405266815296793583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904384384,"filename":"image_02122025_13_06_25_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/5/dcf4f0326c49a1806032d954f1481b14.jpg","text":"TemporaryFile(/tmp/multipartBody2440909059237560518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904384384,"filename":"image_02122025_13_05_56_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020034","file1":"1398020033","file0":"1398020032","file4":"1398020037","file5":"1398020039","file3":"1398020035"},"map_files_photo_id_array":[{"photo_id":"1398020039","filename":"file5"},{"photo_id":"1398020034","filename":"file2"},{"photo_id":"1398020037","filename":"file4"},{"photo_id":"1398020033","filename":"file1"},{"photo_id":"1398020032","filename":"file0"},{"photo_id":"1398020035","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020034":["hashtag1","hashtag2"]},{"1398020037":["hashtag1","hashtag2"]},{"1398020039":["hashtag1","hashtag2"]},{"1398020033":["hashtag1","hashtag2"]},{"1398020035":["hashtag1","hashtag2"]},{"1398020032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020034, 1398020037, 1398020039, 1398020033, 1398020035, 1398020032)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.30203104019165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:13:02.570150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/09/image_05122025_04_09_53_9899.jpg', '/home/pi/Desktop/images/05122025/04/12/image_05122025_04_12_24_9886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/09/image_05122025_04_09_53_9899.jpg
/home/pi/Desktop/images/05122025/04/12/image_05122025_04_12_24_9886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020063","1398020062"],"photo_ids_order":["1398020062","1398020063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce106c728f09a4cda7747bffc45b8ee7.jpg","text":"TemporaryFile(/tmp/multipartBody651218561935413509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904444674,"filename":"image_05122025_04_12_24_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8ce11e80b47491db25a48b55b00ec2a5.jpg","text":"TemporaryFile(/tmp/multipartBody6497703208089510440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904444674,"filename":"image_05122025_04_09_53_9899.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398020063","file0":"1398020062"},"map_files_photo_id_array":[{"photo_id":"1398020063","filename":"file1"},{"photo_id":"1398020062","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020063":["hashtag1","hashtag2"]},{"1398020062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020063, 1398020062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.215131044387817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:13:32.152744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/06/image_02122025_13_06_56_9793.jpg', '/home/pi/Desktop/images/02122025/13/06/image_02122025_13_07_05_9700.jpg', '/home/pi/Desktop/images/02122025/13/07/image_02122025_13_07_15_9785.jpg', '/home/pi/Desktop/images/02122025/13/07/image_02122025_13_07_25_10342.jpg', '/home/pi/Desktop/images/02122025/13/07/image_02122025_13_07_35_9624.jpg', '/home/pi/Desktop/images/02122025/13/07/image_02122025_13_07_45_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/06/image_02122025_13_06_56_9793.jpg
/home/pi/Desktop/images/02122025/13/06/image_02122025_13_07_05_9700.jpg
/home/pi/Desktop/images/02122025/13/07/image_02122025_13_07_15_9785.jpg
/home/pi/Desktop/images/02122025/13/07/image_02122025_13_07_25_10342.jpg
/home/pi/Desktop/images/02122025/13/07/image_02122025_13_07_35_9624.jpg
/home/pi/Desktop/images/02122025/13/07/image_02122025_13_07_45_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020072","1398020075","1398020069","1398020077","1398020079","1398020067"],"photo_ids_order":["1398020067","1398020069","1398020072","1398020075","1398020077","1398020079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b5a4b890c8398a32f7b87efb9780732f.jpg","text":"TemporaryFile(/tmp/multipartBody6450346269687217527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904474055,"filename":"image_02122025_13_07_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/5/357c3ebdbe682f33890adcac2a832b23.jpg","text":"TemporaryFile(/tmp/multipartBody5658716276272602604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904474055,"filename":"image_02122025_13_07_25_10342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3182cf1319d21b87b1b7c9b0479e2969.jpg","text":"TemporaryFile(/tmp/multipartBody7309273476751593309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904474055,"filename":"image_02122025_13_07_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/5/99afa18baaa39328419467c605a7878f.jpg","text":"TemporaryFile(/tmp/multipartBody4357309214587376603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904474055,"filename":"image_02122025_13_07_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/5/6a0ba730b60e8fd37397f3a62e1f905e.jpg","text":"TemporaryFile(/tmp/multipartBody4797295129951951496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904474055,"filename":"image_02122025_13_07_45_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/5/71f5104a05b914b51f008dd5053d8c96.jpg","text":"TemporaryFile(/tmp/multipartBody624144462457050941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904474055,"filename":"image_02122025_13_06_56_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020072","file1":"1398020069","file0":"1398020067","file4":"1398020077","file5":"1398020079","file3":"1398020075"},"map_files_photo_id_array":[{"photo_id":"1398020079","filename":"file5"},{"photo_id":"1398020072","filename":"file2"},{"photo_id":"1398020077","filename":"file4"},{"photo_id":"1398020069","filename":"file1"},{"photo_id":"1398020067","filename":"file0"},{"photo_id":"1398020075","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020072":["hashtag1","hashtag2"]},{"1398020075":["hashtag1","hashtag2"]},{"1398020069":["hashtag1","hashtag2"]},{"1398020077":["hashtag1","hashtag2"]},{"1398020079":["hashtag1","hashtag2"]},{"1398020067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020072, 1398020075, 1398020069, 1398020077, 1398020079, 1398020067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.710118770599365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:14:12.163937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/07/image_02122025_13_07_56_10828.jpg', '/home/pi/Desktop/images/02122025/13/07/image_02122025_13_08_06_9691.jpg', '/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_15_9720.jpg', '/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_25_9748.jpg', '/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_36_10660.jpg', '/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_47_11498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/07/image_02122025_13_07_56_10828.jpg
/home/pi/Desktop/images/02122025/13/07/image_02122025_13_08_06_9691.jpg
/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_15_9720.jpg
/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_25_9748.jpg
/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_36_10660.jpg
/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_47_11498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020093","1398020098","1398020102","1398020092","1398020095","1398020094"],"photo_ids_order":["1398020092","1398020093","1398020094","1398020095","1398020098","1398020102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/070e9e08cd14d2735b85176ea3eddc75.jpg","text":"TemporaryFile(/tmp/multipartBody7071999691648626064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904513961,"filename":"image_02122025_13_08_06_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9671f9e8767d22b398e21a6137be4d4b.jpg","text":"TemporaryFile(/tmp/multipartBody1850109374344046850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904513961,"filename":"image_02122025_13_08_36_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/5/9110d23334cecc21e04d365028b2c134.jpg","text":"TemporaryFile(/tmp/multipartBody6361418924286512209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904513961,"filename":"image_02122025_13_08_47_11498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7e63baf818bde4f2777a0e5b5ff43e0f.jpg","text":"TemporaryFile(/tmp/multipartBody4867718230842408952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904513961,"filename":"image_02122025_13_07_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/5/c6a94e278bd987aeadf4c5bec2efd951.jpg","text":"TemporaryFile(/tmp/multipartBody3223725533315531947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904513961,"filename":"image_02122025_13_08_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/5/872c0dbae45ef80fcc7e94789b93b9b4.jpg","text":"TemporaryFile(/tmp/multipartBody9157624992993315435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904513961,"filename":"image_02122025_13_08_15_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020094","file1":"1398020093","file0":"1398020092","file4":"1398020098","file5":"1398020102","file3":"1398020095"},"map_files_photo_id_array":[{"photo_id":"1398020102","filename":"file5"},{"photo_id":"1398020094","filename":"file2"},{"photo_id":"1398020098","filename":"file4"},{"photo_id":"1398020093","filename":"file1"},{"photo_id":"1398020092","filename":"file0"},{"photo_id":"1398020095","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020093":["hashtag1","hashtag2"]},{"1398020098":["hashtag1","hashtag2"]},{"1398020102":["hashtag1","hashtag2"]},{"1398020092":["hashtag1","hashtag2"]},{"1398020095":["hashtag1","hashtag2"]},{"1398020094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020093, 1398020098, 1398020102, 1398020092, 1398020095, 1398020094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.883763790130615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:15:02.957971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/12/image_05122025_04_12_34_10629.jpg', '/home/pi/Desktop/images/05122025/04/12/image_05122025_04_13_04_10717.jpg', '/home/pi/Desktop/images/05122025/04/13/image_05122025_04_13_54_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/12/image_05122025_04_12_34_10629.jpg
/home/pi/Desktop/images/05122025/04/12/image_05122025_04_13_04_10717.jpg
/home/pi/Desktop/images/05122025/04/13/image_05122025_04_13_54_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020123","1398020120","1398020122"],"photo_ids_order":["1398020120","1398020122","1398020123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a15ae7f029f251e521182fdada53add3.jpg","text":"TemporaryFile(/tmp/multipartBody4915688186230044645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904563578,"filename":"image_05122025_04_13_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/5/c17a44c45a8230c802b2e47356e2545f.jpg","text":"TemporaryFile(/tmp/multipartBody5005284902334982591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904563578,"filename":"image_05122025_04_12_34_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/5/64db37774acf04c5c137721e3b2877e2.jpg","text":"TemporaryFile(/tmp/multipartBody1710420612753588508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904563578,"filename":"image_05122025_04_13_04_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020123","file1":"1398020122","file0":"1398020120"},"map_files_photo_id_array":[{"photo_id":"1398020123","filename":"file2"},{"photo_id":"1398020122","filename":"file1"},{"photo_id":"1398020120","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020123":["hashtag1","hashtag2"]},{"1398020120":["hashtag1","hashtag2"]},{"1398020122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020123, 1398020120, 1398020122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.423520803451538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:15:32.242111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_56_8566.jpg', '/home/pi/Desktop/images/02122025/13/08/image_02122025_13_09_05_9612.jpg', '/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_15_9639.jpg', '/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_26_10565.jpg', '/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_35_9595.jpg', '/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_46_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_56_8566.jpg
/home/pi/Desktop/images/02122025/13/08/image_02122025_13_09_05_9612.jpg
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_15_9639.jpg
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_26_10565.jpg
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_35_9595.jpg
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_46_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: 1.8378076553344727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:15:42.326150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_08_2616.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_10_2560.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_14_3683.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_17_2700.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_19_2578.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_23_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_08_2616.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_10_2560.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_14_3683.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_17_2700.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_19_2578.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_23_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":["1398020133","1398020136","1398020141","1398020143","1398020145","1398020139"],"photo_ids_order":["1398020133","1398020136","1398020139","1398020141","1398020143","1398020145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a563a4a1add1b8701d017f69a96e54a.jpg","text":"TemporaryFile(/tmp/multipartBody2527697724518700468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904603785,"filename":"image_31102025_18_28_08_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/5/4eeb4eb35db3fe81aaaaef58818955a7.jpg","text":"TemporaryFile(/tmp/multipartBody976495403979493671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904603785,"filename":"image_31102025_18_28_10_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/baf5d59c68909221f37255744b5d1314.jpg","text":"TemporaryFile(/tmp/multipartBody4132863145500529804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904603785,"filename":"image_31102025_18_28_17_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94003e5589b2dd344dc1c1856c6d3450.jpg","text":"TemporaryFile(/tmp/multipartBody539607621347451007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904603785,"filename":"image_31102025_18_28_19_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/67b4e09d34de792c4a3d5912a5785fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1260421643959574074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904603785,"filename":"image_31102025_18_28_23_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/5/8d3798d3424917fbf1c8a66bc7ebd6ee.jpg","text":"TemporaryFile(/tmp/multipartBody4432322251546760612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904603785,"filename":"image_31102025_18_28_14_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020139","file1":"1398020136","file0":"1398020133","file4":"1398020143","file5":"1398020145","file3":"1398020141"},"map_files_photo_id_array":[{"photo_id":"1398020145","filename":"file5"},{"photo_id":"1398020139","filename":"file2"},{"photo_id":"1398020143","filename":"file4"},{"photo_id":"1398020136","filename":"file1"},{"photo_id":"1398020133","filename":"file0"},{"photo_id":"1398020141","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020133":["hashtag1","hashtag2"]},{"1398020136":["hashtag1","hashtag2"]},{"1398020141":["hashtag1","hashtag2"]},{"1398020143":["hashtag1","hashtag2"]},{"1398020145":["hashtag1","hashtag2"]},{"1398020139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020133, 1398020136, 1398020141, 1398020143, 1398020145, 1398020139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79993438720703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:16:22.606810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_25_2550.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_28_2770.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_32_3562.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_37_2740.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_41_3548.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_43_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_25_2550.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_28_2770.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_32_3562.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_37_2740.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_41_3548.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_43_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":["1398020153","1398020147","1398020155","1398020149","1398020158","1398020151"],"photo_ids_order":["1398020147","1398020149","1398020151","1398020153","1398020155","1398020158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78f1987ef8ab3e46805a88bf183c95b6.jpg","text":"TemporaryFile(/tmp/multipartBody6413017457264201830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904644153,"filename":"image_31102025_18_28_37_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/5/130e0b36d66b9069fce206aa1e35ac69.jpg","text":"TemporaryFile(/tmp/multipartBody3896581037850146083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904644153,"filename":"image_31102025_18_28_25_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/5/da08c86ea0021539cedf7db39430e393.jpg","text":"TemporaryFile(/tmp/multipartBody101608839661316871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904644153,"filename":"image_31102025_18_28_41_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/5/b9b875906ee7fb93ce8efd7b9faed3d0.jpg","text":"TemporaryFile(/tmp/multipartBody98928647083742034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904644153,"filename":"image_31102025_18_28_28_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/5/fe14092fc90da1e3718768dcd8937ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1252080928249189650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904644153,"filename":"image_31102025_18_28_43_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22023fdb1a3387a252c1bf49e5805487.jpg","text":"TemporaryFile(/tmp/multipartBody3555805918002335831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904644153,"filename":"image_31102025_18_28_32_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020151","file1":"1398020149","file0":"1398020147","file4":"1398020155","file5":"1398020158","file3":"1398020153"},"map_files_photo_id_array":[{"photo_id":"1398020158","filename":"file5"},{"photo_id":"1398020151","filename":"file2"},{"photo_id":"1398020155","filename":"file4"},{"photo_id":"1398020149","filename":"file1"},{"photo_id":"1398020147","filename":"file0"},{"photo_id":"1398020153","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020153":["hashtag1","hashtag2"]},{"1398020147":["hashtag1","hashtag2"]},{"1398020155":["hashtag1","hashtag2"]},{"1398020149":["hashtag1","hashtag2"]},{"1398020158":["hashtag1","hashtag2"]},{"1398020151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020153, 1398020147, 1398020155, 1398020149, 1398020158, 1398020151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40139603614807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:17:03.378111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_56_8566.jpg', '/home/pi/Desktop/images/02122025/13/08/image_02122025_13_09_05_9612.jpg', '/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_15_9639.jpg', '/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_26_10565.jpg', '/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_35_9595.jpg', '/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_46_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/08/image_02122025_13_08_56_8566.jpg
/home/pi/Desktop/images/02122025/13/08/image_02122025_13_09_05_9612.jpg
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_15_9639.jpg
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_26_10565.jpg
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_35_9595.jpg
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_46_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":["1398020192","1398020186","1398020165","1398020164","1398020194","1398020190"],"photo_ids_order":["1398020164","1398020165","1398020186","1398020190","1398020192","1398020194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bf4796b3230e447e2c1c2dee5107eb37.jpg","text":"TemporaryFile(/tmp/multipartBody3341207343047029002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904684835,"filename":"image_02122025_13_09_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/5/481e90637cfb391ddd4ffa408fbee123.jpg","text":"TemporaryFile(/tmp/multipartBody5381639784826390772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904684835,"filename":"image_02122025_13_09_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/5/c62e00d26e6b1192bdab6962b5f067c8.jpg","text":"TemporaryFile(/tmp/multipartBody3131183702488297088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904684835,"filename":"image_02122025_13_09_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/5/d9adaa2fc5076edfba4fea73b366746c.jpg","text":"TemporaryFile(/tmp/multipartBody3843894804181316070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904684835,"filename":"image_02122025_13_08_56_8566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e6c988b08cbe312402076e599ea23607.jpg","text":"TemporaryFile(/tmp/multipartBody3622692846341829380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904684835,"filename":"image_02122025_13_09_46_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/33b9c2ae8a3ab679feab633fd422ead9.jpg","text":"TemporaryFile(/tmp/multipartBody8774872617018598408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904684835,"filename":"image_02122025_13_09_26_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020186","file1":"1398020165","file0":"1398020164","file4":"1398020192","file5":"1398020194","file3":"1398020190"},"map_files_photo_id_array":[{"photo_id":"1398020194","filename":"file5"},{"photo_id":"1398020186","filename":"file2"},{"photo_id":"1398020192","filename":"file4"},{"photo_id":"1398020165","filename":"file1"},{"photo_id":"1398020164","filename":"file0"},{"photo_id":"1398020190","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020192":["hashtag1","hashtag2"]},{"1398020186":["hashtag1","hashtag2"]},{"1398020165":["hashtag1","hashtag2"]},{"1398020164":["hashtag1","hashtag2"]},{"1398020194":["hashtag1","hashtag2"]},{"1398020190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020192, 1398020186, 1398020165, 1398020164, 1398020194, 1398020190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26951813697815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:17:42.679117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_47_3699.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_50_2792.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_52_2597.jpg', '/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_55_2692.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_04_2733.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_08_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_47_3699.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_50_2792.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_52_2597.jpg
/home/pi/Desktop/images/31102025/18/28/image_31102025_18_28_55_2692.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_04_2733.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_08_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":["1398020211","1398020205","1398020207","1398020209","1398020200","1398020203"],"photo_ids_order":["1398020200","1398020203","1398020205","1398020207","1398020209","1398020211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0203ace4cc42775752501e1130f6d499.jpg","text":"TemporaryFile(/tmp/multipartBody3309113144298654868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904724123,"filename":"image_31102025_18_29_08_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/5/a56d84f25a78a4718a8b0e196c5421f6.jpg","text":"TemporaryFile(/tmp/multipartBody2959049149287312319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904724123,"filename":"image_31102025_18_28_52_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f252ab9296404daae7065f5c8e629b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5123469937813665872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904724123,"filename":"image_31102025_18_28_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/5/e6df50da1fd2a35125ac3bdac61f6096.jpg","text":"TemporaryFile(/tmp/multipartBody3403910501956332614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904724123,"filename":"image_31102025_18_29_04_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/5/50d5fc13dcf8abf92855972139b71d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5119875101432391122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904724123,"filename":"image_31102025_18_28_47_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/5/36d689a0349c8161878857e1501a81cd.jpg","text":"TemporaryFile(/tmp/multipartBody6456494539305951969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904724123,"filename":"image_31102025_18_28_50_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020205","file1":"1398020203","file0":"1398020200","file4":"1398020209","file5":"1398020211","file3":"1398020207"},"map_files_photo_id_array":[{"photo_id":"1398020211","filename":"file5"},{"photo_id":"1398020205","filename":"file2"},{"photo_id":"1398020209","filename":"file4"},{"photo_id":"1398020203","filename":"file1"},{"photo_id":"1398020200","filename":"file0"},{"photo_id":"1398020207","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020211":["hashtag1","hashtag2"]},{"1398020205":["hashtag1","hashtag2"]},{"1398020207":["hashtag1","hashtag2"]},{"1398020209":["hashtag1","hashtag2"]},{"1398020200":["hashtag1","hashtag2"]},{"1398020203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020211, 1398020205, 1398020207, 1398020209, 1398020200, 1398020203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.522746324539185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:18:21.812370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/14/image_05122025_04_14_14_10760.jpg', '/home/pi/Desktop/images/05122025/04/17/image_05122025_04_17_14_10617.jpg', '/home/pi/Desktop/images/05122025/04/17/image_05122025_04_17_24_9667.jpg', '/home/pi/Desktop/images/05122025/04/17/image_05122025_04_17_44_9729.jpg', '/home/pi/Desktop/images/05122025/04/17/image_05122025_04_17_54_9748.jpg', '/home/pi/Desktop/images/05122025/04/18/image_05122025_04_18_14_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/14/image_05122025_04_14_14_10760.jpg
/home/pi/Desktop/images/05122025/04/17/image_05122025_04_17_14_10617.jpg
/home/pi/Desktop/images/05122025/04/17/image_05122025_04_17_24_9667.jpg
/home/pi/Desktop/images/05122025/04/17/image_05122025_04_17_44_9729.jpg
/home/pi/Desktop/images/05122025/04/17/image_05122025_04_17_54_9748.jpg
/home/pi/Desktop/images/05122025/04/18/image_05122025_04_18_14_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020214","1398020216","1398020225","1398020228","1398020218","1398020212"],"photo_ids_order":["1398020212","1398020214","1398020216","1398020218","1398020225","1398020228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac3783c5a5868dee6be678a0d923f208.jpg","text":"TemporaryFile(/tmp/multipartBody4286209057504500992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904762507,"filename":"image_05122025_04_17_14_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/5/3fda381840b170a25195d09a3d9d96f2.jpg","text":"TemporaryFile(/tmp/multipartBody7953064554491984042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904762507,"filename":"image_05122025_04_17_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/5/33f84f4e99c2f51187fac35e635eb310.jpg","text":"TemporaryFile(/tmp/multipartBody6327010771031199402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904762507,"filename":"image_05122025_04_17_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/5/89d554ec20d93191f802ce344c821d89.jpg","text":"TemporaryFile(/tmp/multipartBody3950522525833457370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904762507,"filename":"image_05122025_04_18_14_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/5/4a7b947938300254bfe2082699942421.jpg","text":"TemporaryFile(/tmp/multipartBody8653829977798324515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904762507,"filename":"image_05122025_04_17_44_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c9f00866cb70b64fb066543714a02a5a.jpg","text":"TemporaryFile(/tmp/multipartBody5254034102785268808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904762507,"filename":"image_05122025_04_14_14_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020216","file1":"1398020214","file0":"1398020212","file4":"1398020225","file5":"1398020228","file3":"1398020218"},"map_files_photo_id_array":[{"photo_id":"1398020228","filename":"file5"},{"photo_id":"1398020216","filename":"file2"},{"photo_id":"1398020225","filename":"file4"},{"photo_id":"1398020214","filename":"file1"},{"photo_id":"1398020212","filename":"file0"},{"photo_id":"1398020218","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020214":["hashtag1","hashtag2"]},{"1398020216":["hashtag1","hashtag2"]},{"1398020225":["hashtag1","hashtag2"]},{"1398020228":["hashtag1","hashtag2"]},{"1398020218":["hashtag1","hashtag2"]},{"1398020212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020214, 1398020216, 1398020225, 1398020228, 1398020218, 1398020212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50718641281128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:19:02.953794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/18/image_05122025_04_18_34_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/18/image_05122025_04_18_34_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020237"],"photo_id":"1398020237","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a3e97e835cec8b80c383cfc28d0efef4.jpg","text":"TemporaryFile(/tmp/multipartBody4134904274675915156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904803504,"filename":"image_05122025_04_18_34_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398020237"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398020237"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.210168838500977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:19:22.154579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/18/image_05122025_04_18_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/18/image_05122025_04_18_54_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020239"],"photo_id":"1398020239","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/175066f1cb84b77a7f071cec9e596eae.jpg","text":"TemporaryFile(/tmp/multipartBody3989464226509044445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904822628,"filename":"image_05122025_04_18_54_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398020239"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398020239"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.09141492843628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:19:42.121337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_11_2703.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_13_2523.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_17_3781.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_19_2596.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_22_2858.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_26_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_11_2703.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_13_2523.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_17_3781.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_19_2596.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_22_2858.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_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":["1398020253","1398020255","1398020249","1398020246","1398020257","1398020251"],"photo_ids_order":["1398020246","1398020249","1398020251","1398020253","1398020255","1398020257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5a75df57c2a7fe38fbc4310cb68bb01e.jpg","text":"TemporaryFile(/tmp/multipartBody2266372796119318851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904843765,"filename":"image_31102025_18_29_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/5/45816de52aee7857c8c215c3f387aa7a.jpg","text":"TemporaryFile(/tmp/multipartBody979883997511477972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904843765,"filename":"image_31102025_18_29_22_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/5/d0328919e8c7ecfebdcf18f6bb293872.jpg","text":"TemporaryFile(/tmp/multipartBody8214739252549330902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904843765,"filename":"image_31102025_18_29_13_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/5/97fdc4fbafeadbbd50b8a517bc6871d6.jpg","text":"TemporaryFile(/tmp/multipartBody8414657443253848191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904843765,"filename":"image_31102025_18_29_11_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/5/0bf6e01820634592b4f1505550ad9944.jpg","text":"TemporaryFile(/tmp/multipartBody5351162743362134104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904843765,"filename":"image_31102025_18_29_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/5/4ca7c48e9b03930419a3312ebf0d9289.jpg","text":"TemporaryFile(/tmp/multipartBody8863992815236636102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904843765,"filename":"image_31102025_18_29_17_3781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020251","file1":"1398020249","file0":"1398020246","file4":"1398020255","file5":"1398020257","file3":"1398020253"},"map_files_photo_id_array":[{"photo_id":"1398020257","filename":"file5"},{"photo_id":"1398020251","filename":"file2"},{"photo_id":"1398020255","filename":"file4"},{"photo_id":"1398020249","filename":"file1"},{"photo_id":"1398020246","filename":"file0"},{"photo_id":"1398020253","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020253":["hashtag1","hashtag2"]},{"1398020255":["hashtag1","hashtag2"]},{"1398020249":["hashtag1","hashtag2"]},{"1398020246":["hashtag1","hashtag2"]},{"1398020257":["hashtag1","hashtag2"]},{"1398020251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020253, 1398020255, 1398020249, 1398020246, 1398020257, 1398020251)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.69666051864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:20:32.624931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_56_9684.jpg', '/home/pi/Desktop/images/02122025/13/09/image_02122025_13_10_05_9804.jpg', '/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_16_10630.jpg', '/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_26_9701.jpg', '/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_35_9598.jpg', '/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_46_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_56_9684.jpg
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_10_05_9804.jpg
/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_16_10630.jpg
/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_26_9701.jpg
/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_35_9598.jpg
/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_46_10670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.9867539405822754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:20:42.708090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_29_2655.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_31_2596.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_44_3659.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_47_2672.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_49_2520.jpg', '/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_53_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_29_2655.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_31_2596.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_44_3659.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_47_2672.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_49_2520.jpg
/home/pi/Desktop/images/31102025/18/29/image_31102025_18_29_53_3687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020270","1398020282","1398020284","1398020280","1398020274","1398020277"],"photo_ids_order":["1398020270","1398020274","1398020277","1398020280","1398020282","1398020284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f5464a2e99bbb607e5456c3964b487c4.jpg","text":"TemporaryFile(/tmp/multipartBody6124565556808679631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904904190,"filename":"image_31102025_18_29_29_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/5/8604469ed386a0a0b81b6b255416a459.jpg","text":"TemporaryFile(/tmp/multipartBody4806437472960429498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904904190,"filename":"image_31102025_18_29_49_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9e148c0277cd965ace5607d68ee1d24c.jpg","text":"TemporaryFile(/tmp/multipartBody4243659371455643904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904904190,"filename":"image_31102025_18_29_53_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5aa91c70f1a56518ef57281755a2fb15.jpg","text":"TemporaryFile(/tmp/multipartBody7474980601748812071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904904190,"filename":"image_31102025_18_29_47_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/5/0de4a3346d2c44268c555abec6c0afaa.jpg","text":"TemporaryFile(/tmp/multipartBody1488579144038832169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904904190,"filename":"image_31102025_18_29_31_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cb6099bc399ff7df3e834eaec199f15c.jpg","text":"TemporaryFile(/tmp/multipartBody4673356041448622104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904904190,"filename":"image_31102025_18_29_44_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020277","file1":"1398020274","file0":"1398020270","file4":"1398020282","file5":"1398020284","file3":"1398020280"},"map_files_photo_id_array":[{"photo_id":"1398020284","filename":"file5"},{"photo_id":"1398020277","filename":"file2"},{"photo_id":"1398020282","filename":"file4"},{"photo_id":"1398020274","filename":"file1"},{"photo_id":"1398020270","filename":"file0"},{"photo_id":"1398020280","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020270":["hashtag1","hashtag2"]},{"1398020282":["hashtag1","hashtag2"]},{"1398020284":["hashtag1","hashtag2"]},{"1398020280":["hashtag1","hashtag2"]},{"1398020274":["hashtag1","hashtag2"]},{"1398020277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020270, 1398020282, 1398020284, 1398020280, 1398020274, 1398020277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.813167095184326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:21:21.872829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/19/image_05122025_04_19_34_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/19/image_05122025_04_19_34_9604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020285"],"photo_id":"1398020285","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22d90a92bbf07811d982438a02ed25d1.jpg","text":"TemporaryFile(/tmp/multipartBody3900943065187609021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904942348,"filename":"image_05122025_04_19_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398020285"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398020285"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.08189868927002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:21:41.889034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_07_3011.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_11_3612.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_13_2718.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_16_2732.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_26_3588.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_29_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_07_3011.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_11_3612.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_13_2718.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_16_2732.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_26_3588.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_29_2807.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.425896406173706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:22:02.424192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_56_9684.jpg', '/home/pi/Desktop/images/02122025/13/09/image_02122025_13_10_05_9804.jpg', '/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_16_10630.jpg', '/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_26_9701.jpg', '/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_35_9598.jpg', '/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_46_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_09_56_9684.jpg
/home/pi/Desktop/images/02122025/13/09/image_02122025_13_10_05_9804.jpg
/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_16_10630.jpg
/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_26_9701.jpg
/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_35_9598.jpg
/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_46_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":["1398020304","1398020307","1398020306","1398020309","1398020302","1398020305"],"photo_ids_order":["1398020302","1398020304","1398020305","1398020306","1398020307","1398020309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4b704c0cc86b7cd1ea9514b2bfc22d86.jpg","text":"TemporaryFile(/tmp/multipartBody4617871311057280143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904983938,"filename":"image_02122025_13_10_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/5/4cd5bbe471fe779ad8123ac99f8afb98.jpg","text":"TemporaryFile(/tmp/multipartBody5999977723845320013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904983938,"filename":"image_02122025_13_10_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/5/45b4524b6b57c1bb5eae109b128e0112.jpg","text":"TemporaryFile(/tmp/multipartBody2857895684398470103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904983938,"filename":"image_02122025_13_10_26_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/5/f67acca10f6298c55250d2f2255af18d.jpg","text":"TemporaryFile(/tmp/multipartBody8537191057688582182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904983938,"filename":"image_02122025_13_10_46_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/5/7a68ac7de2fc820eaa668c943b553a5c.jpg","text":"TemporaryFile(/tmp/multipartBody6595191350586577507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904983938,"filename":"image_02122025_13_09_56_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/5/b62737a9fafffcacdb8ce4691c37c053.jpg","text":"TemporaryFile(/tmp/multipartBody5236231055373603303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764904983938,"filename":"image_02122025_13_10_16_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020305","file1":"1398020304","file0":"1398020302","file4":"1398020307","file5":"1398020309","file3":"1398020306"},"map_files_photo_id_array":[{"photo_id":"1398020309","filename":"file5"},{"photo_id":"1398020305","filename":"file2"},{"photo_id":"1398020307","filename":"file4"},{"photo_id":"1398020304","filename":"file1"},{"photo_id":"1398020302","filename":"file0"},{"photo_id":"1398020306","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020304":["hashtag1","hashtag2"]},{"1398020307":["hashtag1","hashtag2"]},{"1398020306":["hashtag1","hashtag2"]},{"1398020309":["hashtag1","hashtag2"]},{"1398020302":["hashtag1","hashtag2"]},{"1398020305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020304, 1398020307, 1398020306, 1398020309, 1398020302, 1398020305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.444661378860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:22:42.082214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_07_3011.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_11_3612.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_13_2718.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_16_2732.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_26_3588.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_29_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_07_3011.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_11_3612.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_13_2718.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_16_2732.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_26_3588.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_29_2807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020328","1398020321","1398020330","1398020324","1398020332","1398020326"],"photo_ids_order":["1398020321","1398020324","1398020326","1398020328","1398020330","1398020332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/afc4af459ff5d60826818a26b2fd7c18.jpg","text":"TemporaryFile(/tmp/multipartBody3047824236085932489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905023584,"filename":"image_31102025_18_30_16_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/5/91bc8bab764695991e2f2f1140b6c26e.jpg","text":"TemporaryFile(/tmp/multipartBody6070857505816814885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905023584,"filename":"image_31102025_18_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/5/d2e894e88bf76d44eb55b008915e323d.jpg","text":"TemporaryFile(/tmp/multipartBody6317120498169612437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905023584,"filename":"image_31102025_18_30_26_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/5/0ce8a615430ebe55f357e1b3c43d9a14.jpg","text":"TemporaryFile(/tmp/multipartBody5546724901309930214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905023584,"filename":"image_31102025_18_30_11_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/5/9e1eb111a0ea2006ad7331d950e01215.jpg","text":"TemporaryFile(/tmp/multipartBody4998163009916906151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905023584,"filename":"image_31102025_18_30_29_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/5/e5dacc397570f5cb65e669ec75097ff9.jpg","text":"TemporaryFile(/tmp/multipartBody2613112694766988791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905023584,"filename":"image_31102025_18_30_13_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020326","file1":"1398020324","file0":"1398020321","file4":"1398020330","file5":"1398020332","file3":"1398020328"},"map_files_photo_id_array":[{"photo_id":"1398020332","filename":"file5"},{"photo_id":"1398020326","filename":"file2"},{"photo_id":"1398020330","filename":"file4"},{"photo_id":"1398020324","filename":"file1"},{"photo_id":"1398020321","filename":"file0"},{"photo_id":"1398020328","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020328":["hashtag1","hashtag2"]},{"1398020321":["hashtag1","hashtag2"]},{"1398020330":["hashtag1","hashtag2"]},{"1398020324":["hashtag1","hashtag2"]},{"1398020332":["hashtag1","hashtag2"]},{"1398020326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020328, 1398020321, 1398020330, 1398020324, 1398020332, 1398020326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.918137550354004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:23:22.283130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/20/image_05122025_04_21_04_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/20/image_05122025_04_21_04_10693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020333"],"photo_id":"1398020333","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c1f2ae3d3f53c4274f1d82e9b79f573c.jpg","text":"TemporaryFile(/tmp/multipartBody5439850054658128627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905062755,"filename":"image_05122025_04_21_04_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398020333"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398020333"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.282253742218018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:23:42.264931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_31_2668.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_34_2685.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_38_3573.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_44_3559.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_46_2619.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_53_3531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_31_2668.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_34_2685.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_38_3573.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_44_3559.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_46_2619.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_53_3531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020351","1398020345","1398020347","1398020349","1398020340","1398020343"],"photo_ids_order":["1398020340","1398020343","1398020345","1398020347","1398020349","1398020351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/591abc5632743c0904750f45ed9dc05b.jpg","text":"TemporaryFile(/tmp/multipartBody5584800910264697719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905083844,"filename":"image_31102025_18_30_53_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f857d4fb424cdebff86fe1aa10c7df0.jpg","text":"TemporaryFile(/tmp/multipartBody1742560218972042509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905083844,"filename":"image_31102025_18_30_38_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3f1df1655c56bd0d41eb270712217627.jpg","text":"TemporaryFile(/tmp/multipartBody7053997876454442093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905083844,"filename":"image_31102025_18_30_44_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab50c0ff73d083c9540fcfc88b2bd450.jpg","text":"TemporaryFile(/tmp/multipartBody6353705768787410391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905083844,"filename":"image_31102025_18_30_46_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/5/62288361e207ebfa643d88cd4a0a8880.jpg","text":"TemporaryFile(/tmp/multipartBody8232595490157853806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905083844,"filename":"image_31102025_18_30_31_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c9ff0d35a8bbb1f71487d01f89f96ea2.jpg","text":"TemporaryFile(/tmp/multipartBody5605970810106638380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905083844,"filename":"image_31102025_18_30_34_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020345","file1":"1398020343","file0":"1398020340","file4":"1398020349","file5":"1398020351","file3":"1398020347"},"map_files_photo_id_array":[{"photo_id":"1398020351","filename":"file5"},{"photo_id":"1398020345","filename":"file2"},{"photo_id":"1398020349","filename":"file4"},{"photo_id":"1398020343","filename":"file1"},{"photo_id":"1398020340","filename":"file0"},{"photo_id":"1398020347","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020351":["hashtag1","hashtag2"]},{"1398020345":["hashtag1","hashtag2"]},{"1398020347":["hashtag1","hashtag2"]},{"1398020349":["hashtag1","hashtag2"]},{"1398020340":["hashtag1","hashtag2"]},{"1398020343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020351, 1398020345, 1398020347, 1398020349, 1398020340, 1398020343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90096998214722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:24:22.467339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_55_2675.jpg', '/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_58_2676.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_02_3610.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_04_2647.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_11_3781.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_13_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_55_2675.jpg
/home/pi/Desktop/images/31102025/18/30/image_31102025_18_30_58_2676.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_02_3610.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_04_2647.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_11_3781.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_13_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":["1398020366","1398020360","1398020354","1398020362","1398020356","1398020358"],"photo_ids_order":["1398020354","1398020356","1398020358","1398020360","1398020362","1398020366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a1bedb952cb6f60934410c24d22b926e.jpg","text":"TemporaryFile(/tmp/multipartBody7724248904999236354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905123993,"filename":"image_31102025_18_31_13_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ffb31343c957f24a4f41d17dffd1e997.jpg","text":"TemporaryFile(/tmp/multipartBody4290092820286280258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905123993,"filename":"image_31102025_18_31_04_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/5/c7c102d81266d7f58fb3e66ccfc0f363.jpg","text":"TemporaryFile(/tmp/multipartBody5581172348130704187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905123993,"filename":"image_31102025_18_30_55_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/5/e1fab43eda35fd318f1a56474708afe1.jpg","text":"TemporaryFile(/tmp/multipartBody5304965127000486832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905123993,"filename":"image_31102025_18_31_11_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cec97dcbd433e8703a616e374b482c3b.jpg","text":"TemporaryFile(/tmp/multipartBody3024539977053087287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905123993,"filename":"image_31102025_18_30_58_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/5/aaa32fcdb83c869b7bb63d26a6a2b22c.jpg","text":"TemporaryFile(/tmp/multipartBody2375770031880636417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905123993,"filename":"image_31102025_18_31_02_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020358","file1":"1398020356","file0":"1398020354","file4":"1398020362","file5":"1398020366","file3":"1398020360"},"map_files_photo_id_array":[{"photo_id":"1398020366","filename":"file5"},{"photo_id":"1398020358","filename":"file2"},{"photo_id":"1398020362","filename":"file4"},{"photo_id":"1398020356","filename":"file1"},{"photo_id":"1398020354","filename":"file0"},{"photo_id":"1398020360","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020366":["hashtag1","hashtag2"]},{"1398020360":["hashtag1","hashtag2"]},{"1398020354":["hashtag1","hashtag2"]},{"1398020362":["hashtag1","hashtag2"]},{"1398020356":["hashtag1","hashtag2"]},{"1398020358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020366, 1398020360, 1398020354, 1398020362, 1398020356, 1398020358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95040845870972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:25:03.347806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_56_9678.jpg', '/home/pi/Desktop/images/02122025/13/10/image_02122025_13_11_05_9577.jpg', '/home/pi/Desktop/images/02122025/13/11/image_02122025_13_11_16_10688.jpg', '/home/pi/Desktop/images/02122025/13/11/image_02122025_13_11_26_9717.jpg', '/home/pi/Desktop/images/02122025/13/11/image_02122025_13_11_35_9729.jpg', '/home/pi/Desktop/images/02122025/13/11/image_02122025_13_11_45_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/10/image_02122025_13_10_56_9678.jpg
/home/pi/Desktop/images/02122025/13/10/image_02122025_13_11_05_9577.jpg
/home/pi/Desktop/images/02122025/13/11/image_02122025_13_11_16_10688.jpg
/home/pi/Desktop/images/02122025/13/11/image_02122025_13_11_26_9717.jpg
/home/pi/Desktop/images/02122025/13/11/image_02122025_13_11_35_9729.jpg
/home/pi/Desktop/images/02122025/13/11/image_02122025_13_11_45_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":["1398020384","1398020381","1398020383","1398020386","1398020388","1398020382"],"photo_ids_order":["1398020381","1398020382","1398020383","1398020384","1398020386","1398020388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/797f741946c02f9241088727e383d667.jpg","text":"TemporaryFile(/tmp/multipartBody7854174395086386547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905164924,"filename":"image_02122025_13_11_26_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/5/eca170180f139754bb5bf0cbc81b999e.jpg","text":"TemporaryFile(/tmp/multipartBody2667879048751146035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905164924,"filename":"image_02122025_13_10_56_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d944810656774a75ba437fcfcf7647b.jpg","text":"TemporaryFile(/tmp/multipartBody3823739102606629417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905164924,"filename":"image_02122025_13_11_16_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/5/7c933807cf2519b5c79a735f2d711ddd.jpg","text":"TemporaryFile(/tmp/multipartBody6265162435932788269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905164924,"filename":"image_02122025_13_11_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/5/6be57fe52534b6115ca4950b8284ab72.jpg","text":"TemporaryFile(/tmp/multipartBody2630558583099512303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905164924,"filename":"image_02122025_13_11_45_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/5/a9db68e1a6d29b1b48372fcec66d02a2.jpg","text":"TemporaryFile(/tmp/multipartBody1145010282944151019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905164924,"filename":"image_02122025_13_11_05_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020383","file1":"1398020382","file0":"1398020381","file4":"1398020386","file5":"1398020388","file3":"1398020384"},"map_files_photo_id_array":[{"photo_id":"1398020388","filename":"file5"},{"photo_id":"1398020383","filename":"file2"},{"photo_id":"1398020386","filename":"file4"},{"photo_id":"1398020382","filename":"file1"},{"photo_id":"1398020381","filename":"file0"},{"photo_id":"1398020384","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020384":["hashtag1","hashtag2"]},{"1398020381":["hashtag1","hashtag2"]},{"1398020383":["hashtag1","hashtag2"]},{"1398020386":["hashtag1","hashtag2"]},{"1398020388":["hashtag1","hashtag2"]},{"1398020382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020384, 1398020381, 1398020383, 1398020386, 1398020388, 1398020382)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.69152641296387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:26:03.102036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/11/image_02122025_13_11_56_10602.jpg', '/home/pi/Desktop/images/02122025/13/11/image_02122025_13_12_05_9836.jpg', '/home/pi/Desktop/images/02122025/13/12/image_02122025_13_12_15_9848.jpg', '/home/pi/Desktop/images/02122025/13/12/image_02122025_13_12_25_9791.jpg', '/home/pi/Desktop/images/02122025/13/12/image_02122025_13_12_36_10823.jpg', '/home/pi/Desktop/images/02122025/13/12/image_02122025_13_12_46_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/11/image_02122025_13_11_56_10602.jpg
/home/pi/Desktop/images/02122025/13/11/image_02122025_13_12_05_9836.jpg
/home/pi/Desktop/images/02122025/13/12/image_02122025_13_12_15_9848.jpg
/home/pi/Desktop/images/02122025/13/12/image_02122025_13_12_25_9791.jpg
/home/pi/Desktop/images/02122025/13/12/image_02122025_13_12_36_10823.jpg
/home/pi/Desktop/images/02122025/13/12/image_02122025_13_12_46_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":["1398020400","1398020399","1398020402","1398020398","1398020401","1398020404"],"photo_ids_order":["1398020398","1398020399","1398020400","1398020401","1398020402","1398020404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7ba137fbb92b3e5339b95c71709ad39f.jpg","text":"TemporaryFile(/tmp/multipartBody2224961885376615101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905227245,"filename":"image_02122025_13_12_15_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/5/1e3c5f258df4df59586bbdb868812c8a.jpg","text":"TemporaryFile(/tmp/multipartBody145324844770482307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905227245,"filename":"image_02122025_13_12_05_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c7ca1c7d3d9a708440aafb9b20f4d7ce.jpg","text":"TemporaryFile(/tmp/multipartBody3883295287417236785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905227245,"filename":"image_02122025_13_12_36_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/5/d05e38e672e3dc24e469ae2606ad4169.jpg","text":"TemporaryFile(/tmp/multipartBody2613005730109786612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905227245,"filename":"image_02122025_13_11_56_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/5/2d86f080973c72ae2a5d15b7c59411fa.jpg","text":"TemporaryFile(/tmp/multipartBody772969391661704907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905227245,"filename":"image_02122025_13_12_25_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8507e1e22b11089b97c6245d3c6a49ba.jpg","text":"TemporaryFile(/tmp/multipartBody509984752923647090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905227245,"filename":"image_02122025_13_12_46_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020400","file1":"1398020399","file0":"1398020398","file4":"1398020402","file5":"1398020404","file3":"1398020401"},"map_files_photo_id_array":[{"photo_id":"1398020404","filename":"file5"},{"photo_id":"1398020400","filename":"file2"},{"photo_id":"1398020402","filename":"file4"},{"photo_id":"1398020399","filename":"file1"},{"photo_id":"1398020398","filename":"file0"},{"photo_id":"1398020401","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020400":["hashtag1","hashtag2"]},{"1398020399":["hashtag1","hashtag2"]},{"1398020402":["hashtag1","hashtag2"]},{"1398020398":["hashtag1","hashtag2"]},{"1398020401":["hashtag1","hashtag2"]},{"1398020404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020400, 1398020399, 1398020402, 1398020398, 1398020401, 1398020404)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.012404441833496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:27:02.722439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/23/image_05122025_04_23_34_9711.jpg', '/home/pi/Desktop/images/05122025/04/26/image_05122025_04_26_43_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/23/image_05122025_04_23_34_9711.jpg
/home/pi/Desktop/images/05122025/04/26/image_05122025_04_26_43_9745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020420","1398020423"],"photo_ids_order":["1398020420","1398020423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/320582583cf2dcd16ce726a5989fab5a.jpg","text":"TemporaryFile(/tmp/multipartBody8447703746307489044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905283305,"filename":"image_05122025_04_23_34_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/5/6fa990472d461af6b7d6304558f53f18.jpg","text":"TemporaryFile(/tmp/multipartBody5408433073917039190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905283305,"filename":"image_05122025_04_26_43_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398020423","file0":"1398020420"},"map_files_photo_id_array":[{"photo_id":"1398020423","filename":"file1"},{"photo_id":"1398020420","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020420":["hashtag1","hashtag2"]},{"1398020423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020420, 1398020423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.272782802581787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:27:21.906533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/26/image_05122025_04_26_54_10782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/26/image_05122025_04_26_54_10782.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.305136203765869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:27:31.981526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/12/image_02122025_13_12_55_9640.jpg', '/home/pi/Desktop/images/02122025/13/12/image_02122025_13_13_06_10725.jpg', '/home/pi/Desktop/images/02122025/13/13/image_02122025_13_13_16_9645.jpg', '/home/pi/Desktop/images/02122025/13/13/image_02122025_13_13_25_9740.jpg', '/home/pi/Desktop/images/02122025/13/13/image_02122025_13_13_36_10559.jpg', '/home/pi/Desktop/images/02122025/13/13/image_02122025_13_13_55_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/12/image_02122025_13_12_55_9640.jpg
/home/pi/Desktop/images/02122025/13/12/image_02122025_13_13_06_10725.jpg
/home/pi/Desktop/images/02122025/13/13/image_02122025_13_13_16_9645.jpg
/home/pi/Desktop/images/02122025/13/13/image_02122025_13_13_25_9740.jpg
/home/pi/Desktop/images/02122025/13/13/image_02122025_13_13_36_10559.jpg
/home/pi/Desktop/images/02122025/13/13/image_02122025_13_13_55_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":["1398020439","1398020427","1398020435","1398020429","1398020437","1398020431"],"photo_ids_order":["1398020427","1398020429","1398020431","1398020435","1398020437","1398020439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2a14a4e47a47203c95945c4ad02ec35c.jpg","text":"TemporaryFile(/tmp/multipartBody3708850023185914461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905313910,"filename":"image_02122025_13_13_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/5/4ee63172b3784ace761fe41b7458cdf5.jpg","text":"TemporaryFile(/tmp/multipartBody971859400349075200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905313910,"filename":"image_02122025_13_12_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/5/999e35f46018ff7d88e74ae231145eb1.jpg","text":"TemporaryFile(/tmp/multipartBody5673542048337906389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905313910,"filename":"image_02122025_13_13_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/5/10d9704449b64db0aeecbaa41a1ad260.jpg","text":"TemporaryFile(/tmp/multipartBody8799982062859518440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905313910,"filename":"image_02122025_13_13_06_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/5/00721f2fc1aab23efff3fc5c8f9bb9c1.jpg","text":"TemporaryFile(/tmp/multipartBody3739720374638027019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905313910,"filename":"image_02122025_13_13_36_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/5/e5b41cf6222c300db52d7c80b28a37e3.jpg","text":"TemporaryFile(/tmp/multipartBody1344774149620923492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905313910,"filename":"image_02122025_13_13_16_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020431","file1":"1398020429","file0":"1398020427","file4":"1398020437","file5":"1398020439","file3":"1398020435"},"map_files_photo_id_array":[{"photo_id":"1398020439","filename":"file5"},{"photo_id":"1398020431","filename":"file2"},{"photo_id":"1398020437","filename":"file4"},{"photo_id":"1398020429","filename":"file1"},{"photo_id":"1398020427","filename":"file0"},{"photo_id":"1398020435","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020439":["hashtag1","hashtag2"]},{"1398020427":["hashtag1","hashtag2"]},{"1398020435":["hashtag1","hashtag2"]},{"1398020429":["hashtag1","hashtag2"]},{"1398020437":["hashtag1","hashtag2"]},{"1398020431":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020439, 1398020427, 1398020435, 1398020429, 1398020437, 1398020431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51396632194519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:28:12.084207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/13/image_02122025_13_14_06_10543.jpg', '/home/pi/Desktop/images/02122025/13/14/image_02122025_13_14_16_9744.jpg', '/home/pi/Desktop/images/02122025/13/14/image_02122025_13_14_25_9676.jpg', '/home/pi/Desktop/images/02122025/13/14/image_02122025_13_14_36_10694.jpg', '/home/pi/Desktop/images/02122025/13/14/image_02122025_13_14_46_9642.jpg', '/home/pi/Desktop/images/02122025/13/14/image_02122025_13_14_55_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/13/image_02122025_13_14_06_10543.jpg
/home/pi/Desktop/images/02122025/13/14/image_02122025_13_14_16_9744.jpg
/home/pi/Desktop/images/02122025/13/14/image_02122025_13_14_25_9676.jpg
/home/pi/Desktop/images/02122025/13/14/image_02122025_13_14_36_10694.jpg
/home/pi/Desktop/images/02122025/13/14/image_02122025_13_14_46_9642.jpg
/home/pi/Desktop/images/02122025/13/14/image_02122025_13_14_55_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020451","1398020445","1398020447","1398020443","1398020449","1398020442"],"photo_ids_order":["1398020442","1398020443","1398020445","1398020447","1398020449","1398020451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2fefeaac7f75bff46b71b5b832f24c05.jpg","text":"TemporaryFile(/tmp/multipartBody6644432540077247516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905353950,"filename":"image_02122025_13_14_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/5/f664da260cf49350e73849c0f179555a.jpg","text":"TemporaryFile(/tmp/multipartBody8857587614472383183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905353950,"filename":"image_02122025_13_14_25_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/5/4db4f8f59ab865081caf6ad88ae59da4.jpg","text":"TemporaryFile(/tmp/multipartBody6632420702047410905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905353950,"filename":"image_02122025_13_14_36_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/5/7ce027a586c579b28ba254aeef6e9fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3229366161045209099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905353950,"filename":"image_02122025_13_14_16_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/5/a69679470bbcb68ae4a48f056bd9d4f1.jpg","text":"TemporaryFile(/tmp/multipartBody6166211717423768787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905353950,"filename":"image_02122025_13_14_46_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/5/457c307d3602b2b4773f0045e54121d1.jpg","text":"TemporaryFile(/tmp/multipartBody7535785426952074908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905353950,"filename":"image_02122025_13_14_06_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020445","file1":"1398020443","file0":"1398020442","file4":"1398020449","file5":"1398020451","file3":"1398020447"},"map_files_photo_id_array":[{"photo_id":"1398020451","filename":"file5"},{"photo_id":"1398020445","filename":"file2"},{"photo_id":"1398020449","filename":"file4"},{"photo_id":"1398020443","filename":"file1"},{"photo_id":"1398020442","filename":"file0"},{"photo_id":"1398020447","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020451":["hashtag1","hashtag2"]},{"1398020445":["hashtag1","hashtag2"]},{"1398020447":["hashtag1","hashtag2"]},{"1398020443":["hashtag1","hashtag2"]},{"1398020449":["hashtag1","hashtag2"]},{"1398020442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020451, 1398020445, 1398020447, 1398020443, 1398020449, 1398020442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.118600845336914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:29:03.218741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/26/image_05122025_04_26_54_10782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/26/image_05122025_04_26_54_10782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020460"],"photo_id":"1398020460","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/793ac4ed5382ef7a576f4a0fc6f78ae2.jpg","text":"TemporaryFile(/tmp/multipartBody5773504239859742485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905403800,"filename":"image_05122025_04_26_54_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398020460"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398020460"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.990154266357422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:29:22.494133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_16_2584.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_20_3606.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_22_2582.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_25_2688.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_29_3983.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_31_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_16_2584.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_20_3606.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_22_2582.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_25_2688.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_29_3983.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_31_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020465","1398020476","1398020479","1398020470","1398020467","1398020463"],"photo_ids_order":["1398020463","1398020465","1398020467","1398020470","1398020476","1398020479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/55113ca196addab223d1610b806e514f.jpg","text":"TemporaryFile(/tmp/multipartBody6830948567519770746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905424115,"filename":"image_31102025_18_31_20_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/5/8b9a439fa04e699e3a9a47d41a1a49b8.jpg","text":"TemporaryFile(/tmp/multipartBody543402934019147052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905424115,"filename":"image_31102025_18_31_29_3983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b527882d0654aaa0090125122112e43b.jpg","text":"TemporaryFile(/tmp/multipartBody8550594805126707095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905424115,"filename":"image_31102025_18_31_31_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fab0899c8d0f7ec71cc51bda6da0c8f3.jpg","text":"TemporaryFile(/tmp/multipartBody103919026647889919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905424115,"filename":"image_31102025_18_31_25_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d7264ff7b53a02cb55316224073967d.jpg","text":"TemporaryFile(/tmp/multipartBody1089528320713342285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905424115,"filename":"image_31102025_18_31_22_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/5/7e58d42743ea48c9a40fea213369136c.jpg","text":"TemporaryFile(/tmp/multipartBody468762875119962266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905424115,"filename":"image_31102025_18_31_16_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020467","file1":"1398020465","file0":"1398020463","file4":"1398020476","file5":"1398020479","file3":"1398020470"},"map_files_photo_id_array":[{"photo_id":"1398020479","filename":"file5"},{"photo_id":"1398020467","filename":"file2"},{"photo_id":"1398020476","filename":"file4"},{"photo_id":"1398020465","filename":"file1"},{"photo_id":"1398020463","filename":"file0"},{"photo_id":"1398020470","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020465":["hashtag1","hashtag2"]},{"1398020476":["hashtag1","hashtag2"]},{"1398020479":["hashtag1","hashtag2"]},{"1398020470":["hashtag1","hashtag2"]},{"1398020467":["hashtag1","hashtag2"]},{"1398020463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020465, 1398020476, 1398020479, 1398020470, 1398020467, 1398020463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.987966537475586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:30:02.903688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/14/image_02122025_13_15_05_9736.jpg', '/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_16_10713.jpg', '/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_26_9795.jpg', '/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_35_9653.jpg', '/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_45_9926.jpg', '/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_56_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/14/image_02122025_13_15_05_9736.jpg
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_16_10713.jpg
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_26_9795.jpg
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_35_9653.jpg
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_45_9926.jpg
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_56_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: 1.442784070968628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:30:12.495760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/14/image_02122025_13_15_05_9736.jpg', '/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_16_10713.jpg', '/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_26_9795.jpg', '/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_35_9653.jpg', '/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_45_9926.jpg', '/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_56_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/14/image_02122025_13_15_05_9736.jpg
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_16_10713.jpg
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_26_9795.jpg
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_35_9653.jpg
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_45_9926.jpg
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_15_56_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020495","1398020488","1398020497","1398020499","1398020490","1398020493"],"photo_ids_order":["1398020488","1398020490","1398020493","1398020495","1398020497","1398020499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c19347f6ae72135136b2c3c77595b518.jpg","text":"TemporaryFile(/tmp/multipartBody6793008098581848446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905474152,"filename":"image_02122025_13_15_35_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/5/a74d581ec7c1db13912ebab832fcf1cb.jpg","text":"TemporaryFile(/tmp/multipartBody3561024020433303136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905474152,"filename":"image_02122025_13_15_05_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94f193fee8914ab0d22e0959a4d66f54.jpg","text":"TemporaryFile(/tmp/multipartBody8172357205821504154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905474152,"filename":"image_02122025_13_15_45_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/5/2b55cc3ed23776c142e5cf497344d2dc.jpg","text":"TemporaryFile(/tmp/multipartBody7984869778799855288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905474152,"filename":"image_02122025_13_15_56_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/5/982f759e199ff71828ca273983e8d70a.jpg","text":"TemporaryFile(/tmp/multipartBody1430086908818910462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905474152,"filename":"image_02122025_13_15_16_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/5/1e4680137736e4176f8e82f6cc60e6e7.jpg","text":"TemporaryFile(/tmp/multipartBody4953252223155854649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905474152,"filename":"image_02122025_13_15_26_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020493","file1":"1398020490","file0":"1398020488","file4":"1398020497","file5":"1398020499","file3":"1398020495"},"map_files_photo_id_array":[{"photo_id":"1398020499","filename":"file5"},{"photo_id":"1398020493","filename":"file2"},{"photo_id":"1398020497","filename":"file4"},{"photo_id":"1398020490","filename":"file1"},{"photo_id":"1398020488","filename":"file0"},{"photo_id":"1398020495","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020495":["hashtag1","hashtag2"]},{"1398020488":["hashtag1","hashtag2"]},{"1398020497":["hashtag1","hashtag2"]},{"1398020499":["hashtag1","hashtag2"]},{"1398020490":["hashtag1","hashtag2"]},{"1398020493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020495, 1398020488, 1398020497, 1398020499, 1398020490, 1398020493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.066614627838135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:31:03.392468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/15/image_02122025_13_16_06_9705.jpg', '/home/pi/Desktop/images/02122025/13/16/image_02122025_13_16_15_9592.jpg', '/home/pi/Desktop/images/02122025/13/16/image_02122025_13_16_26_10790.jpg', '/home/pi/Desktop/images/02122025/13/16/image_02122025_13_16_36_9691.jpg', '/home/pi/Desktop/images/02122025/13/16/image_02122025_13_16_45_9600.jpg', '/home/pi/Desktop/images/02122025/13/16/image_02122025_13_16_56_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/15/image_02122025_13_16_06_9705.jpg
/home/pi/Desktop/images/02122025/13/16/image_02122025_13_16_15_9592.jpg
/home/pi/Desktop/images/02122025/13/16/image_02122025_13_16_26_10790.jpg
/home/pi/Desktop/images/02122025/13/16/image_02122025_13_16_36_9691.jpg
/home/pi/Desktop/images/02122025/13/16/image_02122025_13_16_45_9600.jpg
/home/pi/Desktop/images/02122025/13/16/image_02122025_13_16_56_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":["1398020514","1398020508","1398020507","1398020510","1398020512","1398020509"],"photo_ids_order":["1398020507","1398020508","1398020509","1398020510","1398020512","1398020514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad6075970ce4a90dc3eb5804376ea59e.jpg","text":"TemporaryFile(/tmp/multipartBody300020264207306590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905524973,"filename":"image_02122025_13_16_56_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/38d41a3b55efedfc24c1e254b7b23b81.jpg","text":"TemporaryFile(/tmp/multipartBody1036172365445381236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905524973,"filename":"image_02122025_13_16_15_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/5/e947f7827f9dcfd4771dbdeb30151a3f.jpg","text":"TemporaryFile(/tmp/multipartBody5261155064178906232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905524973,"filename":"image_02122025_13_16_06_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9dfa72ba70ce1f047f50426fdfb171d7.jpg","text":"TemporaryFile(/tmp/multipartBody6413411818452175827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905524973,"filename":"image_02122025_13_16_36_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/5/67eea0b5de4c405e51742275ba3f7370.jpg","text":"TemporaryFile(/tmp/multipartBody8392713998808568283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905524973,"filename":"image_02122025_13_16_45_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/5/b0bc9c5d638af22bd35b6c5abba27d38.jpg","text":"TemporaryFile(/tmp/multipartBody260266915325491379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905524973,"filename":"image_02122025_13_16_26_10790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020509","file1":"1398020508","file0":"1398020507","file4":"1398020512","file5":"1398020514","file3":"1398020510"},"map_files_photo_id_array":[{"photo_id":"1398020514","filename":"file5"},{"photo_id":"1398020509","filename":"file2"},{"photo_id":"1398020512","filename":"file4"},{"photo_id":"1398020508","filename":"file1"},{"photo_id":"1398020507","filename":"file0"},{"photo_id":"1398020510","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020514":["hashtag1","hashtag2"]},{"1398020508":["hashtag1","hashtag2"]},{"1398020507":["hashtag1","hashtag2"]},{"1398020510":["hashtag1","hashtag2"]},{"1398020512":["hashtag1","hashtag2"]},{"1398020509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020514, 1398020508, 1398020507, 1398020510, 1398020512, 1398020509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.816163539886475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:31:42.692075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_34_2827.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_38_3569.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_41_2726.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_47_3536.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_50_2702.jpg', '/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_52_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_34_2827.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_38_3569.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_41_2726.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_47_3536.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_50_2702.jpg
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_52_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":["1398020526","1398020528","1398020522","1398020519","1398020530","1398020524"],"photo_ids_order":["1398020519","1398020522","1398020524","1398020526","1398020528","1398020530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b6852684617828f5808ea4a07a902802.jpg","text":"TemporaryFile(/tmp/multipartBody9040821326657306691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905564136,"filename":"image_31102025_18_31_47_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1fbe92c3e6318087416392db8cd3d8fa.jpg","text":"TemporaryFile(/tmp/multipartBody4555425157350826141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905564136,"filename":"image_31102025_18_31_50_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/5/fa82fa839db7bcb8aa0c3b2f7a654ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5398484789895487415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905564136,"filename":"image_31102025_18_31_38_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abeae0b987eae7211ccfc826be8102e1.jpg","text":"TemporaryFile(/tmp/multipartBody6920523053519656755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905564136,"filename":"image_31102025_18_31_34_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0be0585df6d157db16ddfb48c5d77baa.jpg","text":"TemporaryFile(/tmp/multipartBody8472569446055818436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905564136,"filename":"image_31102025_18_31_52_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/5/c04d9da0273f9b96181ef04658892071.jpg","text":"TemporaryFile(/tmp/multipartBody2973570417227640753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905564136,"filename":"image_31102025_18_31_41_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020524","file1":"1398020522","file0":"1398020519","file4":"1398020528","file5":"1398020530","file3":"1398020526"},"map_files_photo_id_array":[{"photo_id":"1398020530","filename":"file5"},{"photo_id":"1398020524","filename":"file2"},{"photo_id":"1398020528","filename":"file4"},{"photo_id":"1398020522","filename":"file1"},{"photo_id":"1398020519","filename":"file0"},{"photo_id":"1398020526","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020526":["hashtag1","hashtag2"]},{"1398020528":["hashtag1","hashtag2"]},{"1398020522":["hashtag1","hashtag2"]},{"1398020519":["hashtag1","hashtag2"]},{"1398020530":["hashtag1","hashtag2"]},{"1398020524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020526, 1398020528, 1398020522, 1398020519, 1398020530, 1398020524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01541709899902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:32:21.890117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_59_3794.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_01_2707.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_04_2533.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_10_2583.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_14_3625.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_17_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/31/image_31102025_18_31_59_3794.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_01_2707.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_04_2533.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_10_2583.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_14_3625.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_17_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":["1398020538","1398020532","1398020543","1398020540","1398020534","1398020536"],"photo_ids_order":["1398020532","1398020534","1398020536","1398020538","1398020540","1398020543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5de2b882f35393ccc4f49ecec1963356.jpg","text":"TemporaryFile(/tmp/multipartBody5154512525008060039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905603372,"filename":"image_31102025_18_32_10_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/5/77dc7b429ad84e71b7b142d88c0faddd.jpg","text":"TemporaryFile(/tmp/multipartBody5378777247080012623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905603372,"filename":"image_31102025_18_31_59_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/5/a07497ad10abfe02698575980545eb5a.jpg","text":"TemporaryFile(/tmp/multipartBody5878885917395959492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905603372,"filename":"image_31102025_18_32_17_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/5/fb4fbd7db3b5a3e8b19d53cbc017d65a.jpg","text":"TemporaryFile(/tmp/multipartBody4790153141830441234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905603372,"filename":"image_31102025_18_32_14_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/5/ceb80f068241b90a899bed3827d33343.jpg","text":"TemporaryFile(/tmp/multipartBody5198604109974399489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905603372,"filename":"image_31102025_18_32_01_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/5/4b57613ae35aca3af6fd1fe60e8216d6.jpg","text":"TemporaryFile(/tmp/multipartBody8817782045615776517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905603372,"filename":"image_31102025_18_32_04_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020536","file1":"1398020534","file0":"1398020532","file4":"1398020540","file5":"1398020543","file3":"1398020538"},"map_files_photo_id_array":[{"photo_id":"1398020543","filename":"file5"},{"photo_id":"1398020536","filename":"file2"},{"photo_id":"1398020540","filename":"file4"},{"photo_id":"1398020534","filename":"file1"},{"photo_id":"1398020532","filename":"file0"},{"photo_id":"1398020538","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020538":["hashtag1","hashtag2"]},{"1398020532":["hashtag1","hashtag2"]},{"1398020543":["hashtag1","hashtag2"]},{"1398020540":["hashtag1","hashtag2"]},{"1398020534":["hashtag1","hashtag2"]},{"1398020536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020538, 1398020532, 1398020543, 1398020540, 1398020534, 1398020536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.951592445373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:33:02.689971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/16/image_02122025_13_17_05_9689.jpg', '/home/pi/Desktop/images/02122025/13/17/image_02122025_13_17_16_10177.jpg', '/home/pi/Desktop/images/02122025/13/17/image_02122025_13_17_25_9744.jpg', '/home/pi/Desktop/images/02122025/13/17/image_02122025_13_17_35_9667.jpg', '/home/pi/Desktop/images/02122025/13/17/image_02122025_13_17_46_10671.jpg', '/home/pi/Desktop/images/02122025/13/17/image_02122025_13_17_55_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/16/image_02122025_13_17_05_9689.jpg
/home/pi/Desktop/images/02122025/13/17/image_02122025_13_17_16_10177.jpg
/home/pi/Desktop/images/02122025/13/17/image_02122025_13_17_25_9744.jpg
/home/pi/Desktop/images/02122025/13/17/image_02122025_13_17_35_9667.jpg
/home/pi/Desktop/images/02122025/13/17/image_02122025_13_17_46_10671.jpg
/home/pi/Desktop/images/02122025/13/17/image_02122025_13_17_55_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398020552","1398020554","1398020551","1398020548","1398020553","1398020556"],"photo_ids_order":["1398020548","1398020551","1398020552","1398020553","1398020554","1398020556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/98de8972472f8c992ac3580fa17f5a9f.jpg","text":"TemporaryFile(/tmp/multipartBody1794934915514230350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905644226,"filename":"image_02122025_13_17_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/5/51a43a1bb7c2312c3239976d1735be60.jpg","text":"TemporaryFile(/tmp/multipartBody8238257572141340933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905644226,"filename":"image_02122025_13_17_46_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/5/034f28a7db7d50f296840d6872718311.jpg","text":"TemporaryFile(/tmp/multipartBody6161332836272202577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905644226,"filename":"image_02122025_13_17_16_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/5/19234a0dee53c7ed50878055222371fb.jpg","text":"TemporaryFile(/tmp/multipartBody1925127670474398491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905644226,"filename":"image_02122025_13_17_05_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/5/56bb75055ef5ce6a9cbe9be3ced99c5f.jpg","text":"TemporaryFile(/tmp/multipartBody7468340493702208435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905644226,"filename":"image_02122025_13_17_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/5/f8cf5d78abfd2ebde509835971bee9d6.jpg","text":"TemporaryFile(/tmp/multipartBody5958453278444234770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905644226,"filename":"image_02122025_13_17_55_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020552","file1":"1398020551","file0":"1398020548","file4":"1398020554","file5":"1398020556","file3":"1398020553"},"map_files_photo_id_array":[{"photo_id":"1398020556","filename":"file5"},{"photo_id":"1398020552","filename":"file2"},{"photo_id":"1398020554","filename":"file4"},{"photo_id":"1398020551","filename":"file1"},{"photo_id":"1398020548","filename":"file0"},{"photo_id":"1398020553","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020552":["hashtag1","hashtag2"]},{"1398020554":["hashtag1","hashtag2"]},{"1398020551":["hashtag1","hashtag2"]},{"1398020548":["hashtag1","hashtag2"]},{"1398020553":["hashtag1","hashtag2"]},{"1398020556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020552, 1398020554, 1398020551, 1398020548, 1398020553, 1398020556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.65012741088867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:34:02.586606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/17/image_02122025_13_18_05_9705.jpg', '/home/pi/Desktop/images/02122025/13/18/image_02122025_13_18_16_10561.jpg', '/home/pi/Desktop/images/02122025/13/18/image_02122025_13_18_25_9688.jpg', '/home/pi/Desktop/images/02122025/13/18/image_02122025_13_18_46_10699.jpg', '/home/pi/Desktop/images/02122025/13/19/image_02122025_13_19_16_10663.jpg', '/home/pi/Desktop/images/02122025/13/19/image_02122025_13_19_46_10555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/17/image_02122025_13_18_05_9705.jpg
/home/pi/Desktop/images/02122025/13/18/image_02122025_13_18_16_10561.jpg
/home/pi/Desktop/images/02122025/13/18/image_02122025_13_18_25_9688.jpg
/home/pi/Desktop/images/02122025/13/18/image_02122025_13_18_46_10699.jpg
/home/pi/Desktop/images/02122025/13/19/image_02122025_13_19_16_10663.jpg
/home/pi/Desktop/images/02122025/13/19/image_02122025_13_19_46_10555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020570","1398020573","1398020572","1398020569","1398020571","1398020568"],"photo_ids_order":["1398020568","1398020569","1398020570","1398020571","1398020572","1398020573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a0c5929b07d7dc4e1c80e2dd357f9369.jpg","text":"TemporaryFile(/tmp/multipartBody8063139253964686209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905704097,"filename":"image_02122025_13_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/5/72aee4a94a531055f4596cb9be85705c.jpg","text":"TemporaryFile(/tmp/multipartBody8756163509684674333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905704097,"filename":"image_02122025_13_19_46_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/5/61964161c9b7d70bf5b0ae1e9586c5cd.jpg","text":"TemporaryFile(/tmp/multipartBody672151959771650582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905704097,"filename":"image_02122025_13_19_16_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/5/1bec2c7e8f5ecce7a78ef63906e6ca1e.jpg","text":"TemporaryFile(/tmp/multipartBody4909056310055238061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905704097,"filename":"image_02122025_13_18_16_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/5/b012933bf48318756a7446c245519742.jpg","text":"TemporaryFile(/tmp/multipartBody735348413099486569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905704097,"filename":"image_02122025_13_18_46_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/5/6945aef72a02a612ee155730b4a83c5a.jpg","text":"TemporaryFile(/tmp/multipartBody8559813742897144453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905704097,"filename":"image_02122025_13_18_05_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020570","file1":"1398020569","file0":"1398020568","file4":"1398020572","file5":"1398020573","file3":"1398020571"},"map_files_photo_id_array":[{"photo_id":"1398020573","filename":"file5"},{"photo_id":"1398020570","filename":"file2"},{"photo_id":"1398020572","filename":"file4"},{"photo_id":"1398020569","filename":"file1"},{"photo_id":"1398020568","filename":"file0"},{"photo_id":"1398020571","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020570":["hashtag1","hashtag2"]},{"1398020573":["hashtag1","hashtag2"]},{"1398020572":["hashtag1","hashtag2"]},{"1398020569":["hashtag1","hashtag2"]},{"1398020571":["hashtag1","hashtag2"]},{"1398020568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020570, 1398020573, 1398020572, 1398020569, 1398020571, 1398020568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.898595094680786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:34:42.102098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_26_3539.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_28_2581.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_31_2685.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_35_3772.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_37_2750.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_40_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_26_3539.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_28_2581.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_31_2685.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_35_3772.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_37_2750.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_40_2761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020601","1398020603","1398020598","1398020592","1398020595","1398020589"],"photo_ids_order":["1398020589","1398020592","1398020595","1398020598","1398020601","1398020603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/72db6160b684ed3fe1b9c619b558427a.jpg","text":"TemporaryFile(/tmp/multipartBody1922750441251401788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905743638,"filename":"image_31102025_18_32_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/5/7e568d97f37eca24ce13189c6fff4917.jpg","text":"TemporaryFile(/tmp/multipartBody8557633758568504612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905743638,"filename":"image_31102025_18_32_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/5/84f80d145bb5578047790f29db895628.jpg","text":"TemporaryFile(/tmp/multipartBody1878764196106294074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905743638,"filename":"image_31102025_18_32_35_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/5/5a363f34647ec5729709757b7f93aee3.jpg","text":"TemporaryFile(/tmp/multipartBody3722325043701198437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905743638,"filename":"image_31102025_18_32_28_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/5/25159a76bee33aaf2fe84b332ed69b8d.jpg","text":"TemporaryFile(/tmp/multipartBody7709775465770353006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905743638,"filename":"image_31102025_18_32_31_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2916b986287104e2887db309ca87ef8.jpg","text":"TemporaryFile(/tmp/multipartBody3227849777134270768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905743638,"filename":"image_31102025_18_32_26_3539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020595","file1":"1398020592","file0":"1398020589","file4":"1398020601","file5":"1398020603","file3":"1398020598"},"map_files_photo_id_array":[{"photo_id":"1398020603","filename":"file5"},{"photo_id":"1398020595","filename":"file2"},{"photo_id":"1398020601","filename":"file4"},{"photo_id":"1398020592","filename":"file1"},{"photo_id":"1398020589","filename":"file0"},{"photo_id":"1398020598","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020601":["hashtag1","hashtag2"]},{"1398020603":["hashtag1","hashtag2"]},{"1398020598":["hashtag1","hashtag2"]},{"1398020592":["hashtag1","hashtag2"]},{"1398020595":["hashtag1","hashtag2"]},{"1398020589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020601, 1398020603, 1398020598, 1398020592, 1398020595, 1398020589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51993179321289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:35:22.289004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/27/image_05122025_04_27_14_10259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/27/image_05122025_04_27_14_10259.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020604"],"photo_id":"1398020604","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f3c58d74cbc25b4686d2642f1d2d149e.jpg","text":"TemporaryFile(/tmp/multipartBody7572939122121168591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905782752,"filename":"image_05122025_04_27_14_10259.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398020604"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398020604"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.307742595672607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:35:42.282092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_44_3636.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_46_2604.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_49_3030.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_52_2696.jpg', '/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_59_3686.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_01_2847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_44_3636.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_46_2604.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_49_3030.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_52_2696.jpg
/home/pi/Desktop/images/31102025/18/32/image_31102025_18_32_59_3686.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_01_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":["1398020622","1398020616","1398020618","1398020611","1398020620","1398020614"],"photo_ids_order":["1398020611","1398020614","1398020616","1398020618","1398020620","1398020622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d4274833bcb0b2027f27a7607439b3d0.jpg","text":"TemporaryFile(/tmp/multipartBody42314682769964975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905803849,"filename":"image_31102025_18_33_01_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/5/a87e75cad0a2b79cfb21e2d65e91363d.jpg","text":"TemporaryFile(/tmp/multipartBody4718134496860251626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905803849,"filename":"image_31102025_18_32_49_3030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/15c629597d19df73d9ce88695259de18.jpg","text":"TemporaryFile(/tmp/multipartBody6199878048518560895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905803849,"filename":"image_31102025_18_32_52_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/5/2a9de02dd6b049def4d684cc0772df1a.jpg","text":"TemporaryFile(/tmp/multipartBody8821762842305530469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905803849,"filename":"image_31102025_18_32_44_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/5/14254eb0281db92f7613e4657ee4c8c9.jpg","text":"TemporaryFile(/tmp/multipartBody3486769787135882928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905803849,"filename":"image_31102025_18_32_59_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/5/36a4ef018e9ec46763e19a55908c16a3.jpg","text":"TemporaryFile(/tmp/multipartBody2326549126531822287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905803849,"filename":"image_31102025_18_32_46_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020616","file1":"1398020614","file0":"1398020611","file4":"1398020620","file5":"1398020622","file3":"1398020618"},"map_files_photo_id_array":[{"photo_id":"1398020622","filename":"file5"},{"photo_id":"1398020616","filename":"file2"},{"photo_id":"1398020620","filename":"file4"},{"photo_id":"1398020614","filename":"file1"},{"photo_id":"1398020611","filename":"file0"},{"photo_id":"1398020618","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020622":["hashtag1","hashtag2"]},{"1398020616":["hashtag1","hashtag2"]},{"1398020618":["hashtag1","hashtag2"]},{"1398020611":["hashtag1","hashtag2"]},{"1398020620":["hashtag1","hashtag2"]},{"1398020614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020622, 1398020616, 1398020618, 1398020611, 1398020620, 1398020614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00188851356506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:36:22.521863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_04_2585.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_08_3645.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_10_2743.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_13_2560.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_17_3723.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_19_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_04_2585.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_08_3645.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_10_2743.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_13_2560.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_17_3723.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_19_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":["1398020639","1398020630","1398020624","1398020626","1398020634","1398020628"],"photo_ids_order":["1398020624","1398020626","1398020628","1398020630","1398020634","1398020639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49f56693212537f097512e9e85302553.jpg","text":"TemporaryFile(/tmp/multipartBody6181292359897929703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905844077,"filename":"image_31102025_18_33_19_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fdb178e0e8f1e03db096ec95173ee85e.jpg","text":"TemporaryFile(/tmp/multipartBody9025237722540123103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905844077,"filename":"image_31102025_18_33_13_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/5/31a39a475ff326d84a417ed58885cb5b.jpg","text":"TemporaryFile(/tmp/multipartBody892842411153260137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905844077,"filename":"image_31102025_18_33_04_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/5/09b25a79c27536c6d8e8b8f6e45e0f91.jpg","text":"TemporaryFile(/tmp/multipartBody9206508622272138945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905844077,"filename":"image_31102025_18_33_08_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/5/a7e2e7b160f45083b0a939be51555051.jpg","text":"TemporaryFile(/tmp/multipartBody7154054821777128931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905844077,"filename":"image_31102025_18_33_17_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/5/5d6a8957765d067dc9c950b974353e72.jpg","text":"TemporaryFile(/tmp/multipartBody7862187937040782560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905844077,"filename":"image_31102025_18_33_10_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020628","file1":"1398020626","file0":"1398020624","file4":"1398020634","file5":"1398020639","file3":"1398020630"},"map_files_photo_id_array":[{"photo_id":"1398020639","filename":"file5"},{"photo_id":"1398020628","filename":"file2"},{"photo_id":"1398020634","filename":"file4"},{"photo_id":"1398020626","filename":"file1"},{"photo_id":"1398020624","filename":"file0"},{"photo_id":"1398020630","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020639":["hashtag1","hashtag2"]},{"1398020630":["hashtag1","hashtag2"]},{"1398020624":["hashtag1","hashtag2"]},{"1398020626":["hashtag1","hashtag2"]},{"1398020634":["hashtag1","hashtag2"]},{"1398020628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020639, 1398020630, 1398020624, 1398020626, 1398020634, 1398020628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64475202560425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:37:03.273374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/19/image_02122025_13_19_55_9648.jpg', '/home/pi/Desktop/images/02122025/13/19/image_02122025_13_20_05_9833.jpg', '/home/pi/Desktop/images/02122025/13/20/image_02122025_13_20_16_10665.jpg', '/home/pi/Desktop/images/02122025/13/20/image_02122025_13_20_25_9719.jpg', '/home/pi/Desktop/images/02122025/13/20/image_02122025_13_20_36_10058.jpg', '/home/pi/Desktop/images/02122025/13/20/image_02122025_13_20_45_9535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/19/image_02122025_13_19_55_9648.jpg
/home/pi/Desktop/images/02122025/13/19/image_02122025_13_20_05_9833.jpg
/home/pi/Desktop/images/02122025/13/20/image_02122025_13_20_16_10665.jpg
/home/pi/Desktop/images/02122025/13/20/image_02122025_13_20_25_9719.jpg
/home/pi/Desktop/images/02122025/13/20/image_02122025_13_20_36_10058.jpg
/home/pi/Desktop/images/02122025/13/20/image_02122025_13_20_45_9535.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":["1398020645","1398020648","1398020650","1398020647","1398020652","1398020646"],"photo_ids_order":["1398020645","1398020646","1398020647","1398020648","1398020650","1398020652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a8a6333e0a48ef3d7336b74a2143c8f6.jpg","text":"TemporaryFile(/tmp/multipartBody5330617649678394845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905884952,"filename":"image_02122025_13_19_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d2d4e862c0dc6bd923e3ab80908608e5.jpg","text":"TemporaryFile(/tmp/multipartBody1407334736948627300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905884952,"filename":"image_02122025_13_20_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/5/c9f4d6d5b05ad335f5c77da55acaadfe.jpg","text":"TemporaryFile(/tmp/multipartBody843098525406951229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905884952,"filename":"image_02122025_13_20_36_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/5/a7475afd662b910b6b41826966d0011f.jpg","text":"TemporaryFile(/tmp/multipartBody8773730903955125908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905884952,"filename":"image_02122025_13_20_16_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/5/e7b11e5e0baffea54f056686be81e648.jpg","text":"TemporaryFile(/tmp/multipartBody4617018177890810112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905884952,"filename":"image_02122025_13_20_45_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a1f92668ff6d3fc976ecc6531e14b878.jpg","text":"TemporaryFile(/tmp/multipartBody6320124304560158540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905884952,"filename":"image_02122025_13_20_05_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020647","file1":"1398020646","file0":"1398020645","file4":"1398020650","file5":"1398020652","file3":"1398020648"},"map_files_photo_id_array":[{"photo_id":"1398020652","filename":"file5"},{"photo_id":"1398020647","filename":"file2"},{"photo_id":"1398020650","filename":"file4"},{"photo_id":"1398020646","filename":"file1"},{"photo_id":"1398020645","filename":"file0"},{"photo_id":"1398020648","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020645":["hashtag1","hashtag2"]},{"1398020648":["hashtag1","hashtag2"]},{"1398020650":["hashtag1","hashtag2"]},{"1398020647":["hashtag1","hashtag2"]},{"1398020652":["hashtag1","hashtag2"]},{"1398020646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020645, 1398020648, 1398020650, 1398020647, 1398020652, 1398020646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14501428604126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:38:03.169959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/34/image_05122025_04_34_23_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/34/image_05122025_04_34_23_9665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3715672492980957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:38:12.751480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/20/image_02122025_13_20_56_10598.jpg', '/home/pi/Desktop/images/02122025/13/20/image_02122025_13_21_05_9606.jpg', '/home/pi/Desktop/images/02122025/13/21/image_02122025_13_21_16_10613.jpg', '/home/pi/Desktop/images/02122025/13/21/image_02122025_13_21_26_9712.jpg', '/home/pi/Desktop/images/02122025/13/21/image_02122025_13_21_35_9688.jpg', '/home/pi/Desktop/images/02122025/13/21/image_02122025_13_21_46_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/20/image_02122025_13_20_56_10598.jpg
/home/pi/Desktop/images/02122025/13/20/image_02122025_13_21_05_9606.jpg
/home/pi/Desktop/images/02122025/13/21/image_02122025_13_21_16_10613.jpg
/home/pi/Desktop/images/02122025/13/21/image_02122025_13_21_26_9712.jpg
/home/pi/Desktop/images/02122025/13/21/image_02122025_13_21_35_9688.jpg
/home/pi/Desktop/images/02122025/13/21/image_02122025_13_21_46_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020675","1398020663","1398020666","1398020670","1398020664","1398020673"],"photo_ids_order":["1398020663","1398020664","1398020666","1398020670","1398020673","1398020675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fdf27667e637f5485ad6410a883f70a6.jpg","text":"TemporaryFile(/tmp/multipartBody6855762320244235783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905954503,"filename":"image_02122025_13_21_46_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/339a05ab850f54b0ce384fe57cfdc226.jpg","text":"TemporaryFile(/tmp/multipartBody3623362796958736340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905954503,"filename":"image_02122025_13_20_56_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/5/9e9ad34c7c34194c44a8393446e0f0c1.jpg","text":"TemporaryFile(/tmp/multipartBody8945023800300198599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905954503,"filename":"image_02122025_13_21_16_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/5/8d61fae4e00e87dbf7e5d2baa290353e.jpg","text":"TemporaryFile(/tmp/multipartBody2598374512421308699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905954503,"filename":"image_02122025_13_21_26_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/5/94621b1ee5c7008585174e0b8d447bae.jpg","text":"TemporaryFile(/tmp/multipartBody3697992325775752746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905954503,"filename":"image_02122025_13_21_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/5/354a93fc7c5206c03e53e482ff77b09d.jpg","text":"TemporaryFile(/tmp/multipartBody2169891233883316564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764905954503,"filename":"image_02122025_13_21_35_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020666","file1":"1398020664","file0":"1398020663","file4":"1398020673","file5":"1398020675","file3":"1398020670"},"map_files_photo_id_array":[{"photo_id":"1398020675","filename":"file5"},{"photo_id":"1398020666","filename":"file2"},{"photo_id":"1398020673","filename":"file4"},{"photo_id":"1398020664","filename":"file1"},{"photo_id":"1398020663","filename":"file0"},{"photo_id":"1398020670","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020675":["hashtag1","hashtag2"]},{"1398020663":["hashtag1","hashtag2"]},{"1398020666":["hashtag1","hashtag2"]},{"1398020670":["hashtag1","hashtag2"]},{"1398020664":["hashtag1","hashtag2"]},{"1398020673":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020675, 1398020663, 1398020666, 1398020670, 1398020664, 1398020673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3671817779541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:39:02.810696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/34/image_05122025_04_34_23_9665.jpg', '/home/pi/Desktop/images/05122025/04/37/image_05122025_04_37_44_10633.jpg', '/home/pi/Desktop/images/05122025/04/38/image_05122025_04_38_24_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/34/image_05122025_04_34_23_9665.jpg
/home/pi/Desktop/images/05122025/04/37/image_05122025_04_37_44_10633.jpg
/home/pi/Desktop/images/05122025/04/38/image_05122025_04_38_24_9933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020686","1398020683","1398020685"],"photo_ids_order":["1398020683","1398020685","1398020686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/69a931a95ec697894ef918729b6a522b.jpg","text":"TemporaryFile(/tmp/multipartBody1144233534797709975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906003619,"filename":"image_05122025_04_38_24_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2919a2a5ea407c734c4f358bc2a6bf34.jpg","text":"TemporaryFile(/tmp/multipartBody4490076087615966404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906003619,"filename":"image_05122025_04_34_23_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/5/4618b7795079f43653aac2eabb8fec83.jpg","text":"TemporaryFile(/tmp/multipartBody571856680077233681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906003619,"filename":"image_05122025_04_37_44_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020686","file1":"1398020685","file0":"1398020683"},"map_files_photo_id_array":[{"photo_id":"1398020686","filename":"file2"},{"photo_id":"1398020685","filename":"file1"},{"photo_id":"1398020683","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020686":["hashtag1","hashtag2"]},{"1398020683":["hashtag1","hashtag2"]},{"1398020685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020686, 1398020683, 1398020685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.225597858428955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:39:32.047808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/21/image_02122025_13_21_56_9624.jpg', '/home/pi/Desktop/images/02122025/13/21/image_02122025_13_22_05_9660.jpg', '/home/pi/Desktop/images/02122025/13/22/image_02122025_13_22_16_10674.jpg', '/home/pi/Desktop/images/02122025/13/22/image_02122025_13_22_25_9570.jpg', '/home/pi/Desktop/images/02122025/13/22/image_02122025_13_22_35_9753.jpg', '/home/pi/Desktop/images/02122025/13/22/image_02122025_13_22_46_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/21/image_02122025_13_21_56_9624.jpg
/home/pi/Desktop/images/02122025/13/21/image_02122025_13_22_05_9660.jpg
/home/pi/Desktop/images/02122025/13/22/image_02122025_13_22_16_10674.jpg
/home/pi/Desktop/images/02122025/13/22/image_02122025_13_22_25_9570.jpg
/home/pi/Desktop/images/02122025/13/22/image_02122025_13_22_35_9753.jpg
/home/pi/Desktop/images/02122025/13/22/image_02122025_13_22_46_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":["1398020700","1398020690","1398020698","1398020702","1398020692","1398020695"],"photo_ids_order":["1398020690","1398020692","1398020695","1398020698","1398020700","1398020702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/186e062b00ebf2484553f4e0f2d970f6.jpg","text":"TemporaryFile(/tmp/multipartBody3207042759608939348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906033877,"filename":"image_02122025_13_22_35_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4fda52cd3120e93596e2174babc47e53.jpg","text":"TemporaryFile(/tmp/multipartBody6006973035756894860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906033877,"filename":"image_02122025_13_21_56_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/5/af9dcec2b4fe94144e7714573fdd918f.jpg","text":"TemporaryFile(/tmp/multipartBody1258746565421370458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906033877,"filename":"image_02122025_13_22_25_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/5/1c50e65b2f724e6ceeab5281cd5ecb84.jpg","text":"TemporaryFile(/tmp/multipartBody8184501212700763783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906033877,"filename":"image_02122025_13_22_46_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4940bd1d0f0a33aa92dcde6bc236e9d7.jpg","text":"TemporaryFile(/tmp/multipartBody5002570302415750986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906033877,"filename":"image_02122025_13_22_05_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/5/0f812a01fa3eccdb1584e5ad3725fb2e.jpg","text":"TemporaryFile(/tmp/multipartBody1873930246369840786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906033877,"filename":"image_02122025_13_22_16_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020695","file1":"1398020692","file0":"1398020690","file4":"1398020700","file5":"1398020702","file3":"1398020698"},"map_files_photo_id_array":[{"photo_id":"1398020702","filename":"file5"},{"photo_id":"1398020695","filename":"file2"},{"photo_id":"1398020700","filename":"file4"},{"photo_id":"1398020692","filename":"file1"},{"photo_id":"1398020690","filename":"file0"},{"photo_id":"1398020698","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020700":["hashtag1","hashtag2"]},{"1398020690":["hashtag1","hashtag2"]},{"1398020698":["hashtag1","hashtag2"]},{"1398020702":["hashtag1","hashtag2"]},{"1398020692":["hashtag1","hashtag2"]},{"1398020695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020700, 1398020690, 1398020698, 1398020702, 1398020692, 1398020695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3660831451416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:40:12.190683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/22/image_02122025_13_22_55_9206.jpg', '/home/pi/Desktop/images/02122025/13/22/image_02122025_13_23_06_10818.jpg', '/home/pi/Desktop/images/02122025/13/23/image_02122025_13_23_25_9641.jpg', '/home/pi/Desktop/images/02122025/13/23/image_02122025_13_23_36_10602.jpg', '/home/pi/Desktop/images/02122025/13/23/image_02122025_13_23_45_9790.jpg', '/home/pi/Desktop/images/02122025/13/23/image_02122025_13_23_55_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/22/image_02122025_13_22_55_9206.jpg
/home/pi/Desktop/images/02122025/13/22/image_02122025_13_23_06_10818.jpg
/home/pi/Desktop/images/02122025/13/23/image_02122025_13_23_25_9641.jpg
/home/pi/Desktop/images/02122025/13/23/image_02122025_13_23_36_10602.jpg
/home/pi/Desktop/images/02122025/13/23/image_02122025_13_23_45_9790.jpg
/home/pi/Desktop/images/02122025/13/23/image_02122025_13_23_55_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020706","1398020705","1398020714","1398020716","1398020710","1398020707"],"photo_ids_order":["1398020705","1398020706","1398020707","1398020710","1398020714","1398020716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5470802ea2aa22b120f88918e43fd783.jpg","text":"TemporaryFile(/tmp/multipartBody6992773612035988763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906073984,"filename":"image_02122025_13_23_06_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/5/5be03830c789b83855f4e3806872e5f4.jpg","text":"TemporaryFile(/tmp/multipartBody1464841796823873169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906073984,"filename":"image_02122025_13_22_55_9206.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a982a492a761ab93ea553caafbe5fd33.jpg","text":"TemporaryFile(/tmp/multipartBody9633027918244512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906073984,"filename":"image_02122025_13_23_45_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08257bcde08d16fa0517d4c4844af74c.jpg","text":"TemporaryFile(/tmp/multipartBody8001590541105947380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906073984,"filename":"image_02122025_13_23_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/5/77415e568989f9762c340ec32f674b85.jpg","text":"TemporaryFile(/tmp/multipartBody6183684008137756173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906073984,"filename":"image_02122025_13_23_36_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/5/073176055c347af1c1e4532bd52ea981.jpg","text":"TemporaryFile(/tmp/multipartBody2184556528502403182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906073984,"filename":"image_02122025_13_23_25_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020707","file1":"1398020706","file0":"1398020705","file4":"1398020714","file5":"1398020716","file3":"1398020710"},"map_files_photo_id_array":[{"photo_id":"1398020716","filename":"file5"},{"photo_id":"1398020707","filename":"file2"},{"photo_id":"1398020714","filename":"file4"},{"photo_id":"1398020706","filename":"file1"},{"photo_id":"1398020705","filename":"file0"},{"photo_id":"1398020710","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020706":["hashtag1","hashtag2"]},{"1398020705":["hashtag1","hashtag2"]},{"1398020714":["hashtag1","hashtag2"]},{"1398020716":["hashtag1","hashtag2"]},{"1398020710":["hashtag1","hashtag2"]},{"1398020707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020706, 1398020705, 1398020714, 1398020716, 1398020710, 1398020707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6766517162323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:41:02.844385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/38/image_05122025_04_38_54_10639.jpg', '/home/pi/Desktop/images/05122025/04/39/image_05122025_04_39_34_10794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/38/image_05122025_04_38_54_10639.jpg
/home/pi/Desktop/images/05122025/04/39/image_05122025_04_39_34_10794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020725","1398020728"],"photo_ids_order":["1398020725","1398020728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22420c5d829012cbb63898d044e4a62f.jpg","text":"TemporaryFile(/tmp/multipartBody3749153286418220118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906123418,"filename":"image_05122025_04_38_54_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/5/fb5ce9a537a2359a56d95a7a6cc6f3da.jpg","text":"TemporaryFile(/tmp/multipartBody6461448990638701201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906123418,"filename":"image_05122025_04_39_34_10794.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398020728","file0":"1398020725"},"map_files_photo_id_array":[{"photo_id":"1398020728","filename":"file1"},{"photo_id":"1398020725","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020725":["hashtag1","hashtag2"]},{"1398020728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020725, 1398020728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.21043300628662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:41:22.446687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_22_2665.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_26_3560.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_31_2564.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_37_2685.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_40_2564.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_44_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_22_2665.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_26_3560.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_31_2564.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_37_2685.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_40_2564.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_44_3655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020736","1398020730","1398020741","1398020744","1398020732","1398020734"],"photo_ids_order":["1398020730","1398020732","1398020734","1398020736","1398020741","1398020744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3be86215f3dc3671389f82c88102401f.jpg","text":"TemporaryFile(/tmp/multipartBody8966492050644615845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906143977,"filename":"image_31102025_18_33_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/5/b0b84388812223f7275779fc4240887f.jpg","text":"TemporaryFile(/tmp/multipartBody443200279631596874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906143977,"filename":"image_31102025_18_33_22_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/37a6946548960ccfd68da223844b12c0.jpg","text":"TemporaryFile(/tmp/multipartBody675524983270204523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906143977,"filename":"image_31102025_18_33_40_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5c2ddf01f13df098769135d4c7a9f49.jpg","text":"TemporaryFile(/tmp/multipartBody2413070994714545658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906143977,"filename":"image_31102025_18_33_44_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/5/41aa69e67e2b8559114def8c77d23f35.jpg","text":"TemporaryFile(/tmp/multipartBody3550590785921102385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906143977,"filename":"image_31102025_18_33_26_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/75bcee43b891ac803ef5c5f8f6805be4.jpg","text":"TemporaryFile(/tmp/multipartBody1956249911540690717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906143977,"filename":"image_31102025_18_33_31_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020734","file1":"1398020732","file0":"1398020730","file4":"1398020741","file5":"1398020744","file3":"1398020736"},"map_files_photo_id_array":[{"photo_id":"1398020744","filename":"file5"},{"photo_id":"1398020734","filename":"file2"},{"photo_id":"1398020741","filename":"file4"},{"photo_id":"1398020732","filename":"file1"},{"photo_id":"1398020730","filename":"file0"},{"photo_id":"1398020736","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020736":["hashtag1","hashtag2"]},{"1398020730":["hashtag1","hashtag2"]},{"1398020741":["hashtag1","hashtag2"]},{"1398020744":["hashtag1","hashtag2"]},{"1398020732":["hashtag1","hashtag2"]},{"1398020734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020736, 1398020730, 1398020741, 1398020744, 1398020732, 1398020734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52690362930298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:42:02.880353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/23/image_02122025_13_24_06_10884.jpg', '/home/pi/Desktop/images/02122025/13/24/image_02122025_13_24_16_9774.jpg', '/home/pi/Desktop/images/02122025/13/24/image_02122025_13_24_26_9775.jpg', '/home/pi/Desktop/images/02122025/13/24/image_02122025_13_24_35_9665.jpg', '/home/pi/Desktop/images/02122025/13/24/image_02122025_13_24_46_10692.jpg', '/home/pi/Desktop/images/02122025/13/24/image_02122025_13_24_56_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/23/image_02122025_13_24_06_10884.jpg
/home/pi/Desktop/images/02122025/13/24/image_02122025_13_24_16_9774.jpg
/home/pi/Desktop/images/02122025/13/24/image_02122025_13_24_26_9775.jpg
/home/pi/Desktop/images/02122025/13/24/image_02122025_13_24_35_9665.jpg
/home/pi/Desktop/images/02122025/13/24/image_02122025_13_24_46_10692.jpg
/home/pi/Desktop/images/02122025/13/24/image_02122025_13_24_56_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020756","1398020750","1398020753","1398020752","1398020755","1398020754"],"photo_ids_order":["1398020750","1398020752","1398020753","1398020754","1398020755","1398020756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d35325301130318c335b7d6feb34782.jpg","text":"TemporaryFile(/tmp/multipartBody4363405427027989482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906184339,"filename":"image_02122025_13_24_56_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/5/ea546c0d0719814a41909a121495cdec.jpg","text":"TemporaryFile(/tmp/multipartBody233669274913247613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906184339,"filename":"image_02122025_13_24_06_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/5/cd810b314e8787f9dd5b14c406cb3cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7135560578624682954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906184339,"filename":"image_02122025_13_24_26_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/5/3c4f9598f2c500bc78181cf2c5299b38.jpg","text":"TemporaryFile(/tmp/multipartBody6936547547586322445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906184339,"filename":"image_02122025_13_24_16_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/5/fe656c3792da9fb3889043b5664ff1bc.jpg","text":"TemporaryFile(/tmp/multipartBody723947097800141939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906184339,"filename":"image_02122025_13_24_46_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6fb3e163793ffdf987ce9c5673b41101.jpg","text":"TemporaryFile(/tmp/multipartBody7675714010779549479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906184339,"filename":"image_02122025_13_24_35_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020753","file1":"1398020752","file0":"1398020750","file4":"1398020755","file5":"1398020756","file3":"1398020754"},"map_files_photo_id_array":[{"photo_id":"1398020756","filename":"file5"},{"photo_id":"1398020753","filename":"file2"},{"photo_id":"1398020755","filename":"file4"},{"photo_id":"1398020752","filename":"file1"},{"photo_id":"1398020750","filename":"file0"},{"photo_id":"1398020754","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020756":["hashtag1","hashtag2"]},{"1398020750":["hashtag1","hashtag2"]},{"1398020753":["hashtag1","hashtag2"]},{"1398020752":["hashtag1","hashtag2"]},{"1398020755":["hashtag1","hashtag2"]},{"1398020754":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020756, 1398020750, 1398020753, 1398020752, 1398020755, 1398020754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59866213798523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:42:42.634969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_46_2497.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_49_2668.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_52_3624.jpg', '/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_58_3591.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_01_2683.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_04_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_46_2497.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_49_2668.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_52_3624.jpg
/home/pi/Desktop/images/31102025/18/33/image_31102025_18_33_58_3591.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_01_2683.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_04_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020780","1398020774","1398020768","1398020777","1398020771","1398020764"],"photo_ids_order":["1398020764","1398020768","1398020771","1398020774","1398020777","1398020780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08e820330f19af2642372b653d9265dc.jpg","text":"TemporaryFile(/tmp/multipartBody6771371581164371262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906224090,"filename":"image_31102025_18_34_04_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abe8098a0cb07a784af19340eafb5729.jpg","text":"TemporaryFile(/tmp/multipartBody8925864912136201908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906224090,"filename":"image_31102025_18_33_58_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/5/3c1dc9c818f67f86c275b317d412c858.jpg","text":"TemporaryFile(/tmp/multipartBody9055536370797641729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906224090,"filename":"image_31102025_18_33_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/5/8a86b0a94157149fb9c9f96945015f6f.jpg","text":"TemporaryFile(/tmp/multipartBody3119128772327728247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906224090,"filename":"image_31102025_18_34_01_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/5/cc2d48aae393c13e7deeaa65246f1c94.jpg","text":"TemporaryFile(/tmp/multipartBody1089195339479294173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906224090,"filename":"image_31102025_18_33_52_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/5/41c2d1a78cf479ea7456e9265acf9666.jpg","text":"TemporaryFile(/tmp/multipartBody3359085247494968816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906224090,"filename":"image_31102025_18_33_46_2497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020771","file1":"1398020768","file0":"1398020764","file4":"1398020777","file5":"1398020780","file3":"1398020774"},"map_files_photo_id_array":[{"photo_id":"1398020780","filename":"file5"},{"photo_id":"1398020771","filename":"file2"},{"photo_id":"1398020777","filename":"file4"},{"photo_id":"1398020768","filename":"file1"},{"photo_id":"1398020764","filename":"file0"},{"photo_id":"1398020774","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020780":["hashtag1","hashtag2"]},{"1398020774":["hashtag1","hashtag2"]},{"1398020768":["hashtag1","hashtag2"]},{"1398020777":["hashtag1","hashtag2"]},{"1398020771":["hashtag1","hashtag2"]},{"1398020764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020780, 1398020774, 1398020768, 1398020777, 1398020771, 1398020764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9658305644989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:43:22.840406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/40/image_05122025_04_40_13_9781.jpg', '/home/pi/Desktop/images/05122025/04/42/image_05122025_04_42_54_9792.jpg', '/home/pi/Desktop/images/05122025/04/43/image_05122025_04_43_13_9701.jpg', '/home/pi/Desktop/images/05122025/04/43/image_05122025_04_43_24_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/40/image_05122025_04_40_13_9781.jpg
/home/pi/Desktop/images/05122025/04/42/image_05122025_04_42_54_9792.jpg
/home/pi/Desktop/images/05122025/04/43/image_05122025_04_43_13_9701.jpg
/home/pi/Desktop/images/05122025/04/43/image_05122025_04_43_24_10726.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4979238510131836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:43:32.812774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/24/image_02122025_13_25_05_9743.jpg', '/home/pi/Desktop/images/02122025/13/25/image_02122025_13_25_15_9669.jpg', '/home/pi/Desktop/images/02122025/13/25/image_02122025_13_25_26_10783.jpg', '/home/pi/Desktop/images/02122025/13/25/image_02122025_13_25_35_9604.jpg', '/home/pi/Desktop/images/02122025/13/25/image_02122025_13_25_56_10750.jpg', '/home/pi/Desktop/images/02122025/13/25/image_02122025_13_26_05_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/24/image_02122025_13_25_05_9743.jpg
/home/pi/Desktop/images/02122025/13/25/image_02122025_13_25_15_9669.jpg
/home/pi/Desktop/images/02122025/13/25/image_02122025_13_25_26_10783.jpg
/home/pi/Desktop/images/02122025/13/25/image_02122025_13_25_35_9604.jpg
/home/pi/Desktop/images/02122025/13/25/image_02122025_13_25_56_10750.jpg
/home/pi/Desktop/images/02122025/13/25/image_02122025_13_26_05_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":["1398020792","1398020795","1398020789","1398020797","1398020799","1398020787"],"photo_ids_order":["1398020787","1398020789","1398020792","1398020795","1398020797","1398020799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3622ca9e10f3120175e0372367358935.jpg","text":"TemporaryFile(/tmp/multipartBody7973029295599167692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906274691,"filename":"image_02122025_13_25_26_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/5/f0a6eb9d8a0252d3bf55988da538759d.jpg","text":"TemporaryFile(/tmp/multipartBody4133439729350205792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906274691,"filename":"image_02122025_13_25_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49456542b651a469cf8ca2555686bf66.jpg","text":"TemporaryFile(/tmp/multipartBody3409094615907380335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906274691,"filename":"image_02122025_13_25_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1e15bed164744c917e511c5df7371815.jpg","text":"TemporaryFile(/tmp/multipartBody5598676369273056836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906274691,"filename":"image_02122025_13_25_56_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/5/6f5ec6cbcbb79e26fc90deadf68540fa.jpg","text":"TemporaryFile(/tmp/multipartBody4509777775761240884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906274691,"filename":"image_02122025_13_26_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/5/f9ed59bb7a0a0c5aed7f23c9b38c9a06.jpg","text":"TemporaryFile(/tmp/multipartBody1761772509281907293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906274691,"filename":"image_02122025_13_25_05_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020792","file1":"1398020789","file0":"1398020787","file4":"1398020797","file5":"1398020799","file3":"1398020795"},"map_files_photo_id_array":[{"photo_id":"1398020799","filename":"file5"},{"photo_id":"1398020792","filename":"file2"},{"photo_id":"1398020797","filename":"file4"},{"photo_id":"1398020789","filename":"file1"},{"photo_id":"1398020787","filename":"file0"},{"photo_id":"1398020795","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020792":["hashtag1","hashtag2"]},{"1398020795":["hashtag1","hashtag2"]},{"1398020789":["hashtag1","hashtag2"]},{"1398020797":["hashtag1","hashtag2"]},{"1398020799":["hashtag1","hashtag2"]},{"1398020787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020792, 1398020795, 1398020789, 1398020797, 1398020799, 1398020787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.485825061798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:44:12.032604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/26/image_02122025_13_26_15_9575.jpg', '/home/pi/Desktop/images/02122025/13/26/image_02122025_13_26_26_10555.jpg', '/home/pi/Desktop/images/02122025/13/26/image_02122025_13_26_35_9728.jpg', '/home/pi/Desktop/images/02122025/13/26/image_02122025_13_26_46_10590.jpg', '/home/pi/Desktop/images/02122025/13/26/image_02122025_13_26_56_9639.jpg', '/home/pi/Desktop/images/02122025/13/26/image_02122025_13_27_05_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/26/image_02122025_13_26_15_9575.jpg
/home/pi/Desktop/images/02122025/13/26/image_02122025_13_26_26_10555.jpg
/home/pi/Desktop/images/02122025/13/26/image_02122025_13_26_35_9728.jpg
/home/pi/Desktop/images/02122025/13/26/image_02122025_13_26_46_10590.jpg
/home/pi/Desktop/images/02122025/13/26/image_02122025_13_26_56_9639.jpg
/home/pi/Desktop/images/02122025/13/26/image_02122025_13_27_05_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":["1398020817","1398020804","1398020815","1398020803","1398020806","1398020809"],"photo_ids_order":["1398020803","1398020804","1398020806","1398020809","1398020815","1398020817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6c18b264c2c90b70affee458201953ee.jpg","text":"TemporaryFile(/tmp/multipartBody6569392344159585717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906313895,"filename":"image_02122025_13_27_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/5/56ff48aa6f511ad8e8fbc76f300237fe.jpg","text":"TemporaryFile(/tmp/multipartBody996816727704622004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906313895,"filename":"image_02122025_13_26_26_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/5/441690028c50327da217d72cd18f78d6.jpg","text":"TemporaryFile(/tmp/multipartBody2817890306074370398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906313895,"filename":"image_02122025_13_26_56_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6cd5190635f07922d3d3ca7b34878fb4.jpg","text":"TemporaryFile(/tmp/multipartBody922634918334125334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906313895,"filename":"image_02122025_13_26_15_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/5/d7f1875054fdfc160e32e771eac2ceda.jpg","text":"TemporaryFile(/tmp/multipartBody7705784763619684651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906313895,"filename":"image_02122025_13_26_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/5/9fbb1b4aef3925a196f5713dfacd0187.jpg","text":"TemporaryFile(/tmp/multipartBody3120574322016872542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906313895,"filename":"image_02122025_13_26_46_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020806","file1":"1398020804","file0":"1398020803","file4":"1398020815","file5":"1398020817","file3":"1398020809"},"map_files_photo_id_array":[{"photo_id":"1398020817","filename":"file5"},{"photo_id":"1398020806","filename":"file2"},{"photo_id":"1398020815","filename":"file4"},{"photo_id":"1398020804","filename":"file1"},{"photo_id":"1398020803","filename":"file0"},{"photo_id":"1398020809","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020817":["hashtag1","hashtag2"]},{"1398020804":["hashtag1","hashtag2"]},{"1398020815":["hashtag1","hashtag2"]},{"1398020803":["hashtag1","hashtag2"]},{"1398020806":["hashtag1","hashtag2"]},{"1398020809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020817, 1398020804, 1398020815, 1398020803, 1398020806, 1398020809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48201560974121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:45:03.793845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/40/image_05122025_04_40_13_9781.jpg', '/home/pi/Desktop/images/05122025/04/42/image_05122025_04_42_54_9792.jpg', '/home/pi/Desktop/images/05122025/04/43/image_05122025_04_43_13_9701.jpg', '/home/pi/Desktop/images/05122025/04/43/image_05122025_04_43_24_10726.jpg', '/home/pi/Desktop/images/05122025/04/43/image_05122025_04_43_44_9831.jpg', '/home/pi/Desktop/images/05122025/04/44/image_05122025_04_44_34_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/40/image_05122025_04_40_13_9781.jpg
/home/pi/Desktop/images/05122025/04/42/image_05122025_04_42_54_9792.jpg
/home/pi/Desktop/images/05122025/04/43/image_05122025_04_43_13_9701.jpg
/home/pi/Desktop/images/05122025/04/43/image_05122025_04_43_24_10726.jpg
/home/pi/Desktop/images/05122025/04/43/image_05122025_04_43_44_9831.jpg
/home/pi/Desktop/images/05122025/04/44/image_05122025_04_44_34_10586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020829","1398020834","1398020828","1398020830","1398020827","1398020832"],"photo_ids_order":["1398020827","1398020828","1398020829","1398020830","1398020832","1398020834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b026c56716dd6a8183a71c6117776cb7.jpg","text":"TemporaryFile(/tmp/multipartBody394648654272128580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906364633,"filename":"image_05122025_04_43_13_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/5/7d0322430faf3e8a45185cf788e35711.jpg","text":"TemporaryFile(/tmp/multipartBody6068870335099726633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906364633,"filename":"image_05122025_04_44_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/5/3d9fb53b3be00abdc30bf84ee177e7b3.jpg","text":"TemporaryFile(/tmp/multipartBody3250624064524723196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906364633,"filename":"image_05122025_04_42_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/5/095ae5eb15935f17a3592db62210e817.jpg","text":"TemporaryFile(/tmp/multipartBody4418177866954032277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906364633,"filename":"image_05122025_04_43_24_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/5/e5e1e82ea943d494997e220b891459f9.jpg","text":"TemporaryFile(/tmp/multipartBody115115219756889344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906364633,"filename":"image_05122025_04_40_13_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/5/b85aaa6f443bb3d2121ae370503c4b87.jpg","text":"TemporaryFile(/tmp/multipartBody3608247100660801577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906364633,"filename":"image_05122025_04_43_44_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020829","file1":"1398020828","file0":"1398020827","file4":"1398020832","file5":"1398020834","file3":"1398020830"},"map_files_photo_id_array":[{"photo_id":"1398020834","filename":"file5"},{"photo_id":"1398020829","filename":"file2"},{"photo_id":"1398020832","filename":"file4"},{"photo_id":"1398020828","filename":"file1"},{"photo_id":"1398020827","filename":"file0"},{"photo_id":"1398020830","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020829":["hashtag1","hashtag2"]},{"1398020834":["hashtag1","hashtag2"]},{"1398020828":["hashtag1","hashtag2"]},{"1398020830":["hashtag1","hashtag2"]},{"1398020827":["hashtag1","hashtag2"]},{"1398020832":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020829, 1398020834, 1398020828, 1398020830, 1398020827, 1398020832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17569446563721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:45:43.070005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_08_3695.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_10_2703.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_13_2782.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_16_2688.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_19_3627.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_22_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_08_3695.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_10_2703.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_13_2782.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_16_2688.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_19_3627.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_22_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020846","1398020848","1398020842","1398020839","1398020850","1398020844"],"photo_ids_order":["1398020839","1398020842","1398020844","1398020846","1398020848","1398020850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b55e114650cb016ca6bb88ad3d9f3d62.jpg","text":"TemporaryFile(/tmp/multipartBody8131596581444995852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906404527,"filename":"image_31102025_18_34_16_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/5/7f7db143a972c3aed2d2d93e98072cbf.jpg","text":"TemporaryFile(/tmp/multipartBody5010823074681714442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906404527,"filename":"image_31102025_18_34_19_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/5/28d2ca032858547b9cdd66eae1c3819a.jpg","text":"TemporaryFile(/tmp/multipartBody3017170147687808044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906404527,"filename":"image_31102025_18_34_10_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/5/de986153581942cb2b1a494a1dc40a8d.jpg","text":"TemporaryFile(/tmp/multipartBody5961801212690425614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906404527,"filename":"image_31102025_18_34_08_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/5/4af82fd54accebe4bd9062045b70b6c8.jpg","text":"TemporaryFile(/tmp/multipartBody4260855124296094254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906404527,"filename":"image_31102025_18_34_22_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/5/c6be6ed9e71350eb79e25ec4209cd172.jpg","text":"TemporaryFile(/tmp/multipartBody2745537091691682115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906404527,"filename":"image_31102025_18_34_13_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020844","file1":"1398020842","file0":"1398020839","file4":"1398020848","file5":"1398020850","file3":"1398020846"},"map_files_photo_id_array":[{"photo_id":"1398020850","filename":"file5"},{"photo_id":"1398020844","filename":"file2"},{"photo_id":"1398020848","filename":"file4"},{"photo_id":"1398020842","filename":"file1"},{"photo_id":"1398020839","filename":"file0"},{"photo_id":"1398020846","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020846":["hashtag1","hashtag2"]},{"1398020848":["hashtag1","hashtag2"]},{"1398020842":["hashtag1","hashtag2"]},{"1398020839":["hashtag1","hashtag2"]},{"1398020850":["hashtag1","hashtag2"]},{"1398020844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020846, 1398020848, 1398020842, 1398020839, 1398020850, 1398020844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.321624517440796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:46:22.257555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/44/image_05122025_04_44_44_9763.jpg', '/home/pi/Desktop/images/05122025/04/45/image_05122025_04_45_43_9682.jpg', '/home/pi/Desktop/images/05122025/04/45/image_05122025_04_45_54_10771.jpg', '/home/pi/Desktop/images/05122025/04/46/image_05122025_04_46_34_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/44/image_05122025_04_44_44_9763.jpg
/home/pi/Desktop/images/05122025/04/45/image_05122025_04_45_43_9682.jpg
/home/pi/Desktop/images/05122025/04/45/image_05122025_04_45_54_10771.jpg
/home/pi/Desktop/images/05122025/04/46/image_05122025_04_46_34_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020855","1398020852","1398020854","1398020857"],"photo_ids_order":["1398020852","1398020854","1398020855","1398020857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8e465d8d7db70d94ee5efe018ff9c217.jpg","text":"TemporaryFile(/tmp/multipartBody4935310526852227516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906442865,"filename":"image_05122025_04_45_54_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/5/36f08bdee09fc0c6a94820a84ae51251.jpg","text":"TemporaryFile(/tmp/multipartBody1765144864581767329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906442865,"filename":"image_05122025_04_44_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47a8d5a7163248aa90ead770b1c931a2.jpg","text":"TemporaryFile(/tmp/multipartBody5812521628039767770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906442865,"filename":"image_05122025_04_45_43_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/5/8c8e865ba216edab1107088464d6f088.jpg","text":"TemporaryFile(/tmp/multipartBody894092435892624567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906442865,"filename":"image_05122025_04_46_34_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020855","file1":"1398020854","file0":"1398020852","file3":"1398020857"},"map_files_photo_id_array":[{"photo_id":"1398020855","filename":"file2"},{"photo_id":"1398020854","filename":"file1"},{"photo_id":"1398020852","filename":"file0"},{"photo_id":"1398020857","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020855":["hashtag1","hashtag2"]},{"1398020852":["hashtag1","hashtag2"]},{"1398020854":["hashtag1","hashtag2"]},{"1398020857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020855, 1398020852, 1398020854, 1398020857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.62263536453247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:47:03.207434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/27/image_02122025_13_27_16_10708.jpg', '/home/pi/Desktop/images/02122025/13/27/image_02122025_13_27_26_9692.jpg', '/home/pi/Desktop/images/02122025/13/27/image_02122025_13_27_35_9595.jpg', '/home/pi/Desktop/images/02122025/13/27/image_02122025_13_27_46_10614.jpg', '/home/pi/Desktop/images/02122025/13/27/image_02122025_13_27_56_9829.jpg', '/home/pi/Desktop/images/02122025/13/27/image_02122025_13_28_05_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/27/image_02122025_13_27_16_10708.jpg
/home/pi/Desktop/images/02122025/13/27/image_02122025_13_27_26_9692.jpg
/home/pi/Desktop/images/02122025/13/27/image_02122025_13_27_35_9595.jpg
/home/pi/Desktop/images/02122025/13/27/image_02122025_13_27_46_10614.jpg
/home/pi/Desktop/images/02122025/13/27/image_02122025_13_27_56_9829.jpg
/home/pi/Desktop/images/02122025/13/27/image_02122025_13_28_05_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":["1398020873","1398020879","1398020872","1398020875","1398020874","1398020877"],"photo_ids_order":["1398020872","1398020873","1398020874","1398020875","1398020877","1398020879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e398ec909dd7e59abb49c86c2fc0641c.jpg","text":"TemporaryFile(/tmp/multipartBody1737364132712237329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906484721,"filename":"image_02122025_13_27_26_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/5/e57df6276dac7e84f115bd49a948464d.jpg","text":"TemporaryFile(/tmp/multipartBody7507587463198799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906484721,"filename":"image_02122025_13_28_05_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03b06fad2e3987a66c095f6d8137b53a.jpg","text":"TemporaryFile(/tmp/multipartBody849304176349424915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906484721,"filename":"image_02122025_13_27_16_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/5/8a53fef0cb7959be5a41ceb4bcc8135b.jpg","text":"TemporaryFile(/tmp/multipartBody5474176533635201552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906484721,"filename":"image_02122025_13_27_46_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/5/48aacbb38d6477dc4407570d81d1b973.jpg","text":"TemporaryFile(/tmp/multipartBody8628463943352912104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906484721,"filename":"image_02122025_13_27_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/5/36703d7356646621e443678d004a58db.jpg","text":"TemporaryFile(/tmp/multipartBody8796454780602309154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906484721,"filename":"image_02122025_13_27_56_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020874","file1":"1398020873","file0":"1398020872","file4":"1398020877","file5":"1398020879","file3":"1398020875"},"map_files_photo_id_array":[{"photo_id":"1398020879","filename":"file5"},{"photo_id":"1398020874","filename":"file2"},{"photo_id":"1398020877","filename":"file4"},{"photo_id":"1398020873","filename":"file1"},{"photo_id":"1398020872","filename":"file0"},{"photo_id":"1398020875","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020873":["hashtag1","hashtag2"]},{"1398020879":["hashtag1","hashtag2"]},{"1398020872":["hashtag1","hashtag2"]},{"1398020875":["hashtag1","hashtag2"]},{"1398020874":["hashtag1","hashtag2"]},{"1398020877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020873, 1398020879, 1398020872, 1398020875, 1398020874, 1398020877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0193293094635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:47:42.581498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_25_3540.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_28_2682.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_31_2600.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_34_3512.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_37_2624.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_40_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_25_3540.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_28_2682.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_31_2600.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_34_3512.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_37_2624.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_40_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":["1398020885","1398020894","1398020896","1398020890","1398020892","1398020898"],"photo_ids_order":["1398020885","1398020890","1398020892","1398020894","1398020896","1398020898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/adf36beb4e1dafcd7242123c2b1cbe53.jpg","text":"TemporaryFile(/tmp/multipartBody7403725175160351967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906524066,"filename":"image_31102025_18_34_25_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/5/4a40c10d85bdd8d169af0857823292ea.jpg","text":"TemporaryFile(/tmp/multipartBody6359093239674459334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906524066,"filename":"image_31102025_18_34_34_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f927c68829659af7d27a2b5daf4768cb.jpg","text":"TemporaryFile(/tmp/multipartBody6733112737254902637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906524066,"filename":"image_31102025_18_34_37_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/5/83fb7dc28e3673a6bf6c3875271a23e1.jpg","text":"TemporaryFile(/tmp/multipartBody2161207170712051026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906524066,"filename":"image_31102025_18_34_28_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/5/992e3b5e71faebc186b1a39e061612af.jpg","text":"TemporaryFile(/tmp/multipartBody2873251007857270756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906524066,"filename":"image_31102025_18_34_31_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/5/6aa67a13c9df6dd6034b3d8ad2fd7406.jpg","text":"TemporaryFile(/tmp/multipartBody1860614624663305853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906524066,"filename":"image_31102025_18_34_40_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020892","file1":"1398020890","file0":"1398020885","file4":"1398020896","file5":"1398020898","file3":"1398020894"},"map_files_photo_id_array":[{"photo_id":"1398020898","filename":"file5"},{"photo_id":"1398020892","filename":"file2"},{"photo_id":"1398020896","filename":"file4"},{"photo_id":"1398020890","filename":"file1"},{"photo_id":"1398020885","filename":"file0"},{"photo_id":"1398020894","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020885":["hashtag1","hashtag2"]},{"1398020894":["hashtag1","hashtag2"]},{"1398020896":["hashtag1","hashtag2"]},{"1398020890":["hashtag1","hashtag2"]},{"1398020892":["hashtag1","hashtag2"]},{"1398020898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020885, 1398020894, 1398020896, 1398020890, 1398020892, 1398020898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.855953216552734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:48:22.767771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/46/image_05122025_04_46_53_9837.jpg', '/home/pi/Desktop/images/05122025/04/47/image_05122025_04_47_34_9725.jpg', '/home/pi/Desktop/images/05122025/04/47/image_05122025_04_48_04_9767.jpg', '/home/pi/Desktop/images/05122025/04/48/image_05122025_04_48_34_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/46/image_05122025_04_46_53_9837.jpg
/home/pi/Desktop/images/05122025/04/47/image_05122025_04_47_34_9725.jpg
/home/pi/Desktop/images/05122025/04/47/image_05122025_04_48_04_9767.jpg
/home/pi/Desktop/images/05122025/04/48/image_05122025_04_48_34_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020904","1398020906","1398020900","1398020902"],"photo_ids_order":["1398020900","1398020902","1398020904","1398020906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d314071c900d0aea9065ca67ec7f6ccb.jpg","text":"TemporaryFile(/tmp/multipartBody987220750322811769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906563391,"filename":"image_05122025_04_48_04_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/5/2de1853313777a396b29b8e8a12abea7.jpg","text":"TemporaryFile(/tmp/multipartBody4486830697309439098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906563391,"filename":"image_05122025_04_48_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/5/3b36308648b96b81ea479e0a995907f4.jpg","text":"TemporaryFile(/tmp/multipartBody2633282423802664094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906563391,"filename":"image_05122025_04_46_53_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/5/d218b878af0ea39396bfa1a0a1b3beee.jpg","text":"TemporaryFile(/tmp/multipartBody2275542209225604794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906563391,"filename":"image_05122025_04_47_34_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020904","file1":"1398020902","file0":"1398020900","file3":"1398020906"},"map_files_photo_id_array":[{"photo_id":"1398020904","filename":"file2"},{"photo_id":"1398020902","filename":"file1"},{"photo_id":"1398020900","filename":"file0"},{"photo_id":"1398020906","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020904":["hashtag1","hashtag2"]},{"1398020906":["hashtag1","hashtag2"]},{"1398020900":["hashtag1","hashtag2"]},{"1398020902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020904, 1398020906, 1398020900, 1398020902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.125309705734253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:49:02.872734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/28/image_02122025_13_28_15_9688.jpg', '/home/pi/Desktop/images/02122025/13/28/image_02122025_13_28_26_10875.jpg', '/home/pi/Desktop/images/02122025/13/28/image_02122025_13_28_36_9592.jpg', '/home/pi/Desktop/images/02122025/13/28/image_02122025_13_28_45_9617.jpg', '/home/pi/Desktop/images/02122025/13/28/image_02122025_13_28_56_10771.jpg', '/home/pi/Desktop/images/02122025/13/28/image_02122025_13_29_06_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/28/image_02122025_13_28_15_9688.jpg
/home/pi/Desktop/images/02122025/13/28/image_02122025_13_28_26_10875.jpg
/home/pi/Desktop/images/02122025/13/28/image_02122025_13_28_36_9592.jpg
/home/pi/Desktop/images/02122025/13/28/image_02122025_13_28_45_9617.jpg
/home/pi/Desktop/images/02122025/13/28/image_02122025_13_28_56_10771.jpg
/home/pi/Desktop/images/02122025/13/28/image_02122025_13_29_06_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":["1398020916","1398020921","1398020918","1398020915","1398020920","1398020917"],"photo_ids_order":["1398020915","1398020916","1398020917","1398020918","1398020920","1398020921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2dd75072f531ba97e41f672e7863d650.jpg","text":"TemporaryFile(/tmp/multipartBody2365925464463533571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906604547,"filename":"image_02122025_13_28_26_10875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/298a333b3af108a0a9fcfd2fda17dcb7.jpg","text":"TemporaryFile(/tmp/multipartBody7765135168036228466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906604547,"filename":"image_02122025_13_29_06_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/5/a3663d755199a7d36a46e591fe0f2611.jpg","text":"TemporaryFile(/tmp/multipartBody3321768425008283862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906604547,"filename":"image_02122025_13_28_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/5/2790d5bbbbcb0214dd3d491aec64e2fc.jpg","text":"TemporaryFile(/tmp/multipartBody7104673750355837598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906604547,"filename":"image_02122025_13_28_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/5/8bc329a52636ec4725a59f3b445b9bdc.jpg","text":"TemporaryFile(/tmp/multipartBody270577469532142373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906604547,"filename":"image_02122025_13_28_56_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/5/f7d096ed3c89bf329b06ab7663e44962.jpg","text":"TemporaryFile(/tmp/multipartBody317722692604756676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906604547,"filename":"image_02122025_13_28_36_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020917","file1":"1398020916","file0":"1398020915","file4":"1398020920","file5":"1398020921","file3":"1398020918"},"map_files_photo_id_array":[{"photo_id":"1398020921","filename":"file5"},{"photo_id":"1398020917","filename":"file2"},{"photo_id":"1398020920","filename":"file4"},{"photo_id":"1398020916","filename":"file1"},{"photo_id":"1398020915","filename":"file0"},{"photo_id":"1398020918","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020916":["hashtag1","hashtag2"]},{"1398020921":["hashtag1","hashtag2"]},{"1398020918":["hashtag1","hashtag2"]},{"1398020915":["hashtag1","hashtag2"]},{"1398020920":["hashtag1","hashtag2"]},{"1398020917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020916, 1398020921, 1398020918, 1398020915, 1398020920, 1398020917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20817279815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:49:42.026561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_43_2529.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_46_2635.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_49_3718.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_52_2692.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_55_2558.jpg', '/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_58_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_43_2529.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_46_2635.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_49_3718.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_52_2692.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_55_2558.jpg
/home/pi/Desktop/images/31102025/18/34/image_31102025_18_34_58_3573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020936","1398020930","1398020924","1398020933","1398020927","1398020938"],"photo_ids_order":["1398020924","1398020927","1398020930","1398020933","1398020936","1398020938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b803fb1607ecf594faa2c50aa836a3d.jpg","text":"TemporaryFile(/tmp/multipartBody827697344115896138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906643491,"filename":"image_31102025_18_34_55_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/5/1b9968edc727d757dc071c13b4270e2d.jpg","text":"TemporaryFile(/tmp/multipartBody4919078217759111325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906643491,"filename":"image_31102025_18_34_49_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/5/86043800d5ec764b7ad7e157b54540e0.jpg","text":"TemporaryFile(/tmp/multipartBody2138697896903557801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906643491,"filename":"image_31102025_18_34_43_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/18e4acd7ddcf2a91855013e44df596b2.jpg","text":"TemporaryFile(/tmp/multipartBody8603956919160638380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906643491,"filename":"image_31102025_18_34_52_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/5/ebd129feeb5d2df1e3c9baebcb6f53ab.jpg","text":"TemporaryFile(/tmp/multipartBody990162238979264601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906643491,"filename":"image_31102025_18_34_46_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/5/5826adb1fb9f6360e9f85723ce2eae04.jpg","text":"TemporaryFile(/tmp/multipartBody7759572531386755746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906643491,"filename":"image_31102025_18_34_58_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020930","file1":"1398020927","file0":"1398020924","file4":"1398020936","file5":"1398020938","file3":"1398020933"},"map_files_photo_id_array":[{"photo_id":"1398020938","filename":"file5"},{"photo_id":"1398020930","filename":"file2"},{"photo_id":"1398020936","filename":"file4"},{"photo_id":"1398020927","filename":"file1"},{"photo_id":"1398020924","filename":"file0"},{"photo_id":"1398020933","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020936":["hashtag1","hashtag2"]},{"1398020930":["hashtag1","hashtag2"]},{"1398020924":["hashtag1","hashtag2"]},{"1398020933":["hashtag1","hashtag2"]},{"1398020927":["hashtag1","hashtag2"]},{"1398020938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020936, 1398020930, 1398020924, 1398020933, 1398020927, 1398020938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37728834152222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:50:22.190799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/48/image_05122025_04_48_54_10864.jpg', '/home/pi/Desktop/images/05122025/04/48/image_05122025_04_49_04_9676.jpg', '/home/pi/Desktop/images/05122025/04/50/image_05122025_04_50_14_9724.jpg', '/home/pi/Desktop/images/05122025/04/50/image_05122025_04_50_24_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/48/image_05122025_04_48_54_10864.jpg
/home/pi/Desktop/images/05122025/04/48/image_05122025_04_49_04_9676.jpg
/home/pi/Desktop/images/05122025/04/50/image_05122025_04_50_14_9724.jpg
/home/pi/Desktop/images/05122025/04/50/image_05122025_04_50_24_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":["1398020940","1398020942","1398020939","1398020944"],"photo_ids_order":["1398020939","1398020940","1398020942","1398020944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/207545e597d14bdcabc83bd73382a82c.jpg","text":"TemporaryFile(/tmp/multipartBody6870934348460882369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906682793,"filename":"image_05122025_04_49_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/5/081a181ff66b568e16a9d5e80686a9f7.jpg","text":"TemporaryFile(/tmp/multipartBody1897231146112406265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906682793,"filename":"image_05122025_04_50_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c828955630ae4fb9f09f510352f23bc0.jpg","text":"TemporaryFile(/tmp/multipartBody1584393603036012224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906682793,"filename":"image_05122025_04_48_54_10864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af13387ca806e6b45aa5c8aff92bdee7.jpg","text":"TemporaryFile(/tmp/multipartBody4546066702174096384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906682793,"filename":"image_05122025_04_50_24_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020942","file1":"1398020940","file0":"1398020939","file3":"1398020944"},"map_files_photo_id_array":[{"photo_id":"1398020942","filename":"file2"},{"photo_id":"1398020940","filename":"file1"},{"photo_id":"1398020939","filename":"file0"},{"photo_id":"1398020944","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020940":["hashtag1","hashtag2"]},{"1398020942":["hashtag1","hashtag2"]},{"1398020939":["hashtag1","hashtag2"]},{"1398020944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020940, 1398020942, 1398020939, 1398020944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.60973024368286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:51:02.845283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/29/image_02122025_13_29_15_9591.jpg', '/home/pi/Desktop/images/02122025/13/29/image_02122025_13_29_26_10699.jpg', '/home/pi/Desktop/images/02122025/13/29/image_02122025_13_29_36_9709.jpg', '/home/pi/Desktop/images/02122025/13/29/image_02122025_13_29_45_9788.jpg', '/home/pi/Desktop/images/02122025/13/29/image_02122025_13_29_55_9738.jpg', '/home/pi/Desktop/images/02122025/13/30/image_02122025_13_30_15_10052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/29/image_02122025_13_29_15_9591.jpg
/home/pi/Desktop/images/02122025/13/29/image_02122025_13_29_26_10699.jpg
/home/pi/Desktop/images/02122025/13/29/image_02122025_13_29_36_9709.jpg
/home/pi/Desktop/images/02122025/13/29/image_02122025_13_29_45_9788.jpg
/home/pi/Desktop/images/02122025/13/29/image_02122025_13_29_55_9738.jpg
/home/pi/Desktop/images/02122025/13/30/image_02122025_13_30_15_10052.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398020966","1398020960","1398020962","1398020961","1398020964","1398020958"],"photo_ids_order":["1398020958","1398020960","1398020961","1398020962","1398020964","1398020966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8dd47e30024c901af31b80408f1b503e.jpg","text":"TemporaryFile(/tmp/multipartBody7009026763672705196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906724430,"filename":"image_02122025_13_30_15_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b8573a4af0b78eea53240b9802cf30e.jpg","text":"TemporaryFile(/tmp/multipartBody3987006278557441510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906724430,"filename":"image_02122025_13_29_26_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b6980bbd838fbdd5e9e2142041830a4d.jpg","text":"TemporaryFile(/tmp/multipartBody4513410084285481773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906724430,"filename":"image_02122025_13_29_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/5/cd9f8a7b26ef837962b41f17da8bb252.jpg","text":"TemporaryFile(/tmp/multipartBody1969342596997463376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906724430,"filename":"image_02122025_13_29_36_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4244998fd47e8c296ae141e055ebb477.jpg","text":"TemporaryFile(/tmp/multipartBody944700351879943168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906724430,"filename":"image_02122025_13_29_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/5/174871112618fbef8f60848d1f99ff33.jpg","text":"TemporaryFile(/tmp/multipartBody2654409997180422924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906724430,"filename":"image_02122025_13_29_15_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020961","file1":"1398020960","file0":"1398020958","file4":"1398020964","file5":"1398020966","file3":"1398020962"},"map_files_photo_id_array":[{"photo_id":"1398020966","filename":"file5"},{"photo_id":"1398020961","filename":"file2"},{"photo_id":"1398020964","filename":"file4"},{"photo_id":"1398020960","filename":"file1"},{"photo_id":"1398020958","filename":"file0"},{"photo_id":"1398020962","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398020966":["hashtag1","hashtag2"]},{"1398020960":["hashtag1","hashtag2"]},{"1398020962":["hashtag1","hashtag2"]},{"1398020961":["hashtag1","hashtag2"]},{"1398020964":["hashtag1","hashtag2"]},{"1398020958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398020966, 1398020960, 1398020962, 1398020961, 1398020964, 1398020958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.465842962265015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:51:42.376401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_01_2814.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_04_2828.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_07_3621.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_10_2723.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_13_2594.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_16_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_01_2814.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_04_2828.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_07_3621.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_10_2723.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_13_2594.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_16_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":["1398020972","1398020983","1398020974","1398020976","1398020979","1398020970"],"photo_ids_order":["1398020970","1398020972","1398020974","1398020976","1398020979","1398020983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/080a64e2a672825c03670dd7d7242497.jpg","text":"TemporaryFile(/tmp/multipartBody1694071757290569332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906763896,"filename":"image_31102025_18_35_04_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/5/27beb56799f6fc2d34a22d2de5040cf9.jpg","text":"TemporaryFile(/tmp/multipartBody1775195035199454539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906763896,"filename":"image_31102025_18_35_16_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/5/ef68f569dcb05e468e097f8cf1c89258.jpg","text":"TemporaryFile(/tmp/multipartBody1297775587738338121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906763896,"filename":"image_31102025_18_35_07_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6348d13bb762fc02ecff4426f661b810.jpg","text":"TemporaryFile(/tmp/multipartBody6493321237462123529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906763896,"filename":"image_31102025_18_35_10_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/5/d3b4649a7addc58c2bc20d1aaf9ae71f.jpg","text":"TemporaryFile(/tmp/multipartBody4534468633964544313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906763896,"filename":"image_31102025_18_35_13_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/5/c9ce597e19a1092130997df6531d41a1.jpg","text":"TemporaryFile(/tmp/multipartBody2864506357680505558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906763896,"filename":"image_31102025_18_35_01_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020974","file1":"1398020972","file0":"1398020970","file4":"1398020979","file5":"1398020983","file3":"1398020976"},"map_files_photo_id_array":[{"photo_id":"1398020983","filename":"file5"},{"photo_id":"1398020974","filename":"file2"},{"photo_id":"1398020979","filename":"file4"},{"photo_id":"1398020972","filename":"file1"},{"photo_id":"1398020970","filename":"file0"},{"photo_id":"1398020976","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398020972":["hashtag1","hashtag2"]},{"1398020983":["hashtag1","hashtag2"]},{"1398020974":["hashtag1","hashtag2"]},{"1398020976":["hashtag1","hashtag2"]},{"1398020979":["hashtag1","hashtag2"]},{"1398020970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398020972, 1398020983, 1398020974, 1398020976, 1398020979, 1398020970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17531085014343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:52:22.576825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/50/image_05122025_04_50_54_9614.jpg', '/home/pi/Desktop/images/05122025/04/50/image_05122025_04_51_04_9728.jpg', '/home/pi/Desktop/images/05122025/04/51/image_05122025_04_51_14_10660.jpg', '/home/pi/Desktop/images/05122025/04/51/image_05122025_04_51_34_9579.jpg', '/home/pi/Desktop/images/05122025/04/51/image_05122025_04_51_54_9712.jpg', '/home/pi/Desktop/images/05122025/04/51/image_05122025_04_52_04_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/50/image_05122025_04_50_54_9614.jpg
/home/pi/Desktop/images/05122025/04/50/image_05122025_04_51_04_9728.jpg
/home/pi/Desktop/images/05122025/04/51/image_05122025_04_51_14_10660.jpg
/home/pi/Desktop/images/05122025/04/51/image_05122025_04_51_34_9579.jpg
/home/pi/Desktop/images/05122025/04/51/image_05122025_04_51_54_9712.jpg
/home/pi/Desktop/images/05122025/04/51/image_05122025_04_52_04_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":["1398020993","1398020987","1398020995","1398021001","1398020991","1398020997"],"photo_ids_order":["1398020987","1398020991","1398020993","1398020995","1398020997","1398021001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3b2f101afb6d7d7c5cd76af89e132c64.jpg","text":"TemporaryFile(/tmp/multipartBody5990526916057452592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906803272,"filename":"image_05122025_04_51_14_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/5/7d8d22f8fcbdfc05fe888c43cee167a7.jpg","text":"TemporaryFile(/tmp/multipartBody2658896805276533161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906803272,"filename":"image_05122025_04_50_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/5/83ade5dee813f523ea90c5094ab31904.jpg","text":"TemporaryFile(/tmp/multipartBody2515582174485403908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906803272,"filename":"image_05122025_04_51_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/5/3bce421ce50d71dfd78f0da2e82266d3.jpg","text":"TemporaryFile(/tmp/multipartBody3268339450044672402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906803272,"filename":"image_05122025_04_52_04_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f342148990efec590c0427e1b0325b2.jpg","text":"TemporaryFile(/tmp/multipartBody2900663376627440086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906803272,"filename":"image_05122025_04_51_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0d10792ca0a09fbabec13ef613bf61ab.jpg","text":"TemporaryFile(/tmp/multipartBody3814336437029469310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906803272,"filename":"image_05122025_04_51_54_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398020993","file1":"1398020991","file0":"1398020987","file4":"1398020997","file5":"1398021001","file3":"1398020995"},"map_files_photo_id_array":[{"photo_id":"1398021001","filename":"file5"},{"photo_id":"1398020993","filename":"file2"},{"photo_id":"1398020997","filename":"file4"},{"photo_id":"1398020991","filename":"file1"},{"photo_id":"1398020987","filename":"file0"},{"photo_id":"1398020995","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398020993":["hashtag1","hashtag2"]},{"1398020987":["hashtag1","hashtag2"]},{"1398020995":["hashtag1","hashtag2"]},{"1398021001":["hashtag1","hashtag2"]},{"1398020991":["hashtag1","hashtag2"]},{"1398020997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398020993, 1398020987, 1398020995, 1398021001, 1398020991, 1398020997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25541853904724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:53:03.373414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/52/image_05122025_04_52_13_9687.jpg', '/home/pi/Desktop/images/05122025/04/52/image_05122025_04_52_34_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/52/image_05122025_04_52_13_9687.jpg
/home/pi/Desktop/images/05122025/04/52/image_05122025_04_52_34_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021007","1398021006"],"photo_ids_order":["1398021006","1398021007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08fed625903e47a99e6e0962ba202d61.jpg","text":"TemporaryFile(/tmp/multipartBody6576123575794849679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906843944,"filename":"image_05122025_04_52_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5341daee5b8d3405684feeb33777e97e.jpg","text":"TemporaryFile(/tmp/multipartBody7360625974593569744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906843944,"filename":"image_05122025_04_52_13_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398021007","file0":"1398021006"},"map_files_photo_id_array":[{"photo_id":"1398021007","filename":"file1"},{"photo_id":"1398021006","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398021007":["hashtag1","hashtag2"]},{"1398021006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398021007, 1398021006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.716362714767456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:53:22.687708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/52/image_05122025_04_52_43_9730.jpg', '/home/pi/Desktop/images/05122025/04/52/image_05122025_04_53_04_9712.jpg', '/home/pi/Desktop/images/05122025/04/53/image_05122025_04_53_14_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/52/image_05122025_04_52_43_9730.jpg
/home/pi/Desktop/images/05122025/04/52/image_05122025_04_53_04_9712.jpg
/home/pi/Desktop/images/05122025/04/53/image_05122025_04_53_14_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021008","1398021010","1398021012"],"photo_ids_order":["1398021008","1398021010","1398021012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bf6524a36aab796622026ac502db2c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8849005749814892883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906863243,"filename":"image_05122025_04_52_43_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/5/b026779a67e5e4c5259f1e526ea3c7a7.jpg","text":"TemporaryFile(/tmp/multipartBody171050989503033384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906863243,"filename":"image_05122025_04_53_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/5/de7c70b5bc806112cfd297c55f030602.jpg","text":"TemporaryFile(/tmp/multipartBody9049165075135113293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906863243,"filename":"image_05122025_04_53_14_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398021012","file1":"1398021010","file0":"1398021008"},"map_files_photo_id_array":[{"photo_id":"1398021012","filename":"file2"},{"photo_id":"1398021010","filename":"file1"},{"photo_id":"1398021008","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398021008":["hashtag1","hashtag2"]},{"1398021010":["hashtag1","hashtag2"]},{"1398021012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398021008, 1398021010, 1398021012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.587946891784668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:54:04.991833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/30/image_02122025_13_30_25_10753.jpg', '/home/pi/Desktop/images/02122025/13/30/image_02122025_13_30_35_9748.jpg', '/home/pi/Desktop/images/02122025/13/30/image_02122025_13_30_45_9700.jpg', '/home/pi/Desktop/images/02122025/13/30/image_02122025_13_30_55_10598.jpg', '/home/pi/Desktop/images/02122025/13/30/image_02122025_13_31_05_9748.jpg', '/home/pi/Desktop/images/02122025/13/31/image_02122025_13_31_15_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/30/image_02122025_13_30_25_10753.jpg
/home/pi/Desktop/images/02122025/13/30/image_02122025_13_30_35_9748.jpg
/home/pi/Desktop/images/02122025/13/30/image_02122025_13_30_45_9700.jpg
/home/pi/Desktop/images/02122025/13/30/image_02122025_13_30_55_10598.jpg
/home/pi/Desktop/images/02122025/13/30/image_02122025_13_31_05_9748.jpg
/home/pi/Desktop/images/02122025/13/31/image_02122025_13_31_15_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021029","1398021032","1398021034","1398021028","1398021036","1398021030"],"photo_ids_order":["1398021028","1398021029","1398021030","1398021032","1398021034","1398021036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/673de82ac5aa81080de3cff91e543402.jpg","text":"TemporaryFile(/tmp/multipartBody6797958877836986894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906909557,"filename":"image_02122025_13_30_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/5/c18dff6a18b5ae1caa783a11967ee3cb.jpg","text":"TemporaryFile(/tmp/multipartBody6134757578481465223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906909557,"filename":"image_02122025_13_30_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/5/7f150170f67dd5f7d424aa72c59ac59f.jpg","text":"TemporaryFile(/tmp/multipartBody2746743270603557820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906909557,"filename":"image_02122025_13_31_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/5/b1a5f114d5077763c033becefcbffb30.jpg","text":"TemporaryFile(/tmp/multipartBody4534396058178768138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906909557,"filename":"image_02122025_13_30_25_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/5/56aceec6d2de05854dd66ff9d39735a3.jpg","text":"TemporaryFile(/tmp/multipartBody7210824828727999533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906909557,"filename":"image_02122025_13_31_15_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/5/311ed8e2d7e35f0df5b0d99bed17682f.jpg","text":"TemporaryFile(/tmp/multipartBody6168102690368029025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906909557,"filename":"image_02122025_13_30_45_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398021030","file1":"1398021029","file0":"1398021028","file4":"1398021034","file5":"1398021036","file3":"1398021032"},"map_files_photo_id_array":[{"photo_id":"1398021036","filename":"file5"},{"photo_id":"1398021030","filename":"file2"},{"photo_id":"1398021034","filename":"file4"},{"photo_id":"1398021029","filename":"file1"},{"photo_id":"1398021028","filename":"file0"},{"photo_id":"1398021032","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398021029":["hashtag1","hashtag2"]},{"1398021032":["hashtag1","hashtag2"]},{"1398021034":["hashtag1","hashtag2"]},{"1398021028":["hashtag1","hashtag2"]},{"1398021036":["hashtag1","hashtag2"]},{"1398021030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398021029, 1398021032, 1398021034, 1398021028, 1398021036, 1398021030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.509438276290894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:55:02.819451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/53/image_05122025_04_53_54_10699.jpg', '/home/pi/Desktop/images/05122025/04/54/image_05122025_04_54_14_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/53/image_05122025_04_53_54_10699.jpg
/home/pi/Desktop/images/05122025/04/54/image_05122025_04_54_14_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021047","1398021045"],"photo_ids_order":["1398021045","1398021047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23bb9aeec86791abfd92024504a434b5.jpg","text":"TemporaryFile(/tmp/multipartBody7229740372425220679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906963452,"filename":"image_05122025_04_54_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/5/a9269263fff694bbf35bf9467d05f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody4238855584119494472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906963452,"filename":"image_05122025_04_53_54_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398021047","file0":"1398021045"},"map_files_photo_id_array":[{"photo_id":"1398021047","filename":"file1"},{"photo_id":"1398021045","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398021047":["hashtag1","hashtag2"]},{"1398021045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398021047, 1398021045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.121273517608643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:55:22.478514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/54/image_05122025_04_54_24_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/54/image_05122025_04_54_24_10560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021049"],"photo_id":"1398021049","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/093ec20d2dd60159a7f3b4553d8ac5c8.jpg","text":"TemporaryFile(/tmp/multipartBody102433060078795984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764906982951,"filename":"image_05122025_04_54_24_10560.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398021049"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398021049"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.157727241516113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:55:42.417989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_22_2542.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_25_3653.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_28_2496.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_31_3567.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_34_2672.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_37_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_22_2542.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_25_3653.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_28_2496.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_31_3567.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_34_2672.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_37_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":["1398021062","1398021064","1398021058","1398021055","1398021060","1398021066"],"photo_ids_order":["1398021055","1398021058","1398021060","1398021062","1398021064","1398021066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/00cc6a708edbcdc9093d1abe5e8f22e6.jpg","text":"TemporaryFile(/tmp/multipartBody6567208938422082837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907003879,"filename":"image_31102025_18_35_31_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/5/735148286211bd66822cec89bf020b66.jpg","text":"TemporaryFile(/tmp/multipartBody7370933227202968973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907003879,"filename":"image_31102025_18_35_34_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/5/f43036949eb0288fe3156643fd08d836.jpg","text":"TemporaryFile(/tmp/multipartBody8885883801714584861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907003879,"filename":"image_31102025_18_35_25_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/5/24efaa4137b319726dae25f1c0579344.jpg","text":"TemporaryFile(/tmp/multipartBody4453587089519072171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907003879,"filename":"image_31102025_18_35_22_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/5/d3165ddb69eae69ae83e6264574a2071.jpg","text":"TemporaryFile(/tmp/multipartBody6112368507356765849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907003879,"filename":"image_31102025_18_35_28_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f4d48097c9e65a700fc0f0e08f9e57f6.jpg","text":"TemporaryFile(/tmp/multipartBody660035148768592429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907003879,"filename":"image_31102025_18_35_37_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398021060","file1":"1398021058","file0":"1398021055","file4":"1398021064","file5":"1398021066","file3":"1398021062"},"map_files_photo_id_array":[{"photo_id":"1398021066","filename":"file5"},{"photo_id":"1398021060","filename":"file2"},{"photo_id":"1398021064","filename":"file4"},{"photo_id":"1398021058","filename":"file1"},{"photo_id":"1398021055","filename":"file0"},{"photo_id":"1398021062","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398021062":["hashtag1","hashtag2"]},{"1398021064":["hashtag1","hashtag2"]},{"1398021058":["hashtag1","hashtag2"]},{"1398021055":["hashtag1","hashtag2"]},{"1398021060":["hashtag1","hashtag2"]},{"1398021066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398021062, 1398021064, 1398021058, 1398021055, 1398021060, 1398021066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49461007118225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:56:22.546426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/55/image_05122025_04_55_44_10680.jpg', '/home/pi/Desktop/images/05122025/04/56/image_05122025_04_56_23_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/55/image_05122025_04_55_44_10680.jpg
/home/pi/Desktop/images/05122025/04/56/image_05122025_04_56_23_9762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021068","1398021070"],"photo_ids_order":["1398021068","1398021070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aae620895acb9d0e4e37269d9a7bb775.jpg","text":"TemporaryFile(/tmp/multipartBody6854819973091216216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907043061,"filename":"image_05122025_04_55_44_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/850cb1a588a53ef15e79ebb197c9588d.jpg","text":"TemporaryFile(/tmp/multipartBody8699998724659275308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907043061,"filename":"image_05122025_04_56_23_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398021070","file0":"1398021068"},"map_files_photo_id_array":[{"photo_id":"1398021070","filename":"file1"},{"photo_id":"1398021068","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398021068":["hashtag1","hashtag2"]},{"1398021070":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398021068, 1398021070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.12718439102173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 04:56:42.598838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_40_2660.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_43_3606.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_46_2521.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_49_3555.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_52_2495.jpg', '/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_54_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_40_2660.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_43_3606.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_46_2521.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_49_3555.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_52_2495.jpg
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_54_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021089","1398021091","1398021085","1398021087","1398021075","1398021083"],"photo_ids_order":["1398021075","1398021083","1398021085","1398021087","1398021089","1398021091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7eff820d9bb11a7cbcb5f63693594dba.jpg","text":"TemporaryFile(/tmp/multipartBody5981218666932004991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907064133,"filename":"image_31102025_18_35_52_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3f7e2527392f74cac6f77a163b811d37.jpg","text":"TemporaryFile(/tmp/multipartBody6297955469282496272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907064133,"filename":"image_31102025_18_35_54_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/5/59a198527d07b3b4799a72fd0a13ac17.jpg","text":"TemporaryFile(/tmp/multipartBody1984509191455663424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907064133,"filename":"image_31102025_18_35_46_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/5/5adc894931de6d44b1ef9ea43a6e53f0.jpg","text":"TemporaryFile(/tmp/multipartBody1229477338724026929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907064133,"filename":"image_31102025_18_35_49_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/5/f4fb5945975218745f5f9d461ddb9c03.jpg","text":"TemporaryFile(/tmp/multipartBody3351003047464516066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907064133,"filename":"image_31102025_18_35_40_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/5/a23c1bfe8c2cbb28f7ed8a96f7b9a04a.jpg","text":"TemporaryFile(/tmp/multipartBody2961281148523583924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907064133,"filename":"image_31102025_18_35_43_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398021085","file1":"1398021083","file0":"1398021075","file4":"1398021089","file5":"1398021091","file3":"1398021087"},"map_files_photo_id_array":[{"photo_id":"1398021091","filename":"file5"},{"photo_id":"1398021085","filename":"file2"},{"photo_id":"1398021089","filename":"file4"},{"photo_id":"1398021083","filename":"file1"},{"photo_id":"1398021075","filename":"file0"},{"photo_id":"1398021087","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398021089":["hashtag1","hashtag2"]},{"1398021091":["hashtag1","hashtag2"]},{"1398021085":["hashtag1","hashtag2"]},{"1398021087":["hashtag1","hashtag2"]},{"1398021075":["hashtag1","hashtag2"]},{"1398021083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398021089, 1398021091, 1398021085, 1398021087, 1398021075, 1398021083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13133716583252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 04:57:22.803939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/56/image_05122025_04_56_44_9673.jpg', '/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_14_9770.jpg', '/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_23_9605.jpg', '/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_34_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/56/image_05122025_04_56_44_9673.jpg
/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_14_9770.jpg
/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_23_9605.jpg
/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_34_10373.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5430302619934082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 04:57:32.789149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/31/image_02122025_13_31_35_9691.jpg', '/home/pi/Desktop/images/02122025/13/31/image_02122025_13_31_45_9633.jpg', '/home/pi/Desktop/images/02122025/13/31/image_02122025_13_31_55_10545.jpg', '/home/pi/Desktop/images/02122025/13/31/image_02122025_13_32_05_9720.jpg', '/home/pi/Desktop/images/02122025/13/32/image_02122025_13_32_15_9828.jpg', '/home/pi/Desktop/images/02122025/13/32/image_02122025_13_32_25_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/31/image_02122025_13_31_35_9691.jpg
/home/pi/Desktop/images/02122025/13/31/image_02122025_13_31_45_9633.jpg
/home/pi/Desktop/images/02122025/13/31/image_02122025_13_31_55_10545.jpg
/home/pi/Desktop/images/02122025/13/31/image_02122025_13_32_05_9720.jpg
/home/pi/Desktop/images/02122025/13/32/image_02122025_13_32_15_9828.jpg
/home/pi/Desktop/images/02122025/13/32/image_02122025_13_32_25_10624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021110","1398021106","1398021100","1398021103","1398021108","1398021098"],"photo_ids_order":["1398021098","1398021100","1398021103","1398021106","1398021108","1398021110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc7cb94c504d470fefd62fc8e53f06e5.jpg","text":"TemporaryFile(/tmp/multipartBody1322972346087269832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907114761,"filename":"image_02122025_13_32_25_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/5/f1f27e6a9d3cb0a2a11ed00fe614b40d.jpg","text":"TemporaryFile(/tmp/multipartBody212407418751789863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907114761,"filename":"image_02122025_13_32_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/5/3ec6ada2b4896f7b368e83312c989944.jpg","text":"TemporaryFile(/tmp/multipartBody1069450209230136842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907114761,"filename":"image_02122025_13_31_45_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/5/a299bfc1e629b58090caeafffd49fd96.jpg","text":"TemporaryFile(/tmp/multipartBody421963525473960623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907114761,"filename":"image_02122025_13_31_55_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/5/065992669c5761c6e956315dd29a67ea.jpg","text":"TemporaryFile(/tmp/multipartBody9123480992804549908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907114761,"filename":"image_02122025_13_32_15_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/24c5379f6aea88c593f9e56f8061bc5f.jpg","text":"TemporaryFile(/tmp/multipartBody364747586873874497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907114761,"filename":"image_02122025_13_31_35_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398021103","file1":"1398021100","file0":"1398021098","file4":"1398021108","file5":"1398021110","file3":"1398021106"},"map_files_photo_id_array":[{"photo_id":"1398021110","filename":"file5"},{"photo_id":"1398021103","filename":"file2"},{"photo_id":"1398021108","filename":"file4"},{"photo_id":"1398021100","filename":"file1"},{"photo_id":"1398021098","filename":"file0"},{"photo_id":"1398021106","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398021110":["hashtag1","hashtag2"]},{"1398021106":["hashtag1","hashtag2"]},{"1398021100":["hashtag1","hashtag2"]},{"1398021103":["hashtag1","hashtag2"]},{"1398021108":["hashtag1","hashtag2"]},{"1398021098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398021110, 1398021106, 1398021100, 1398021103, 1398021108, 1398021098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.341036796569824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 04:59:02.962073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/56/image_05122025_04_56_44_9673.jpg', '/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_14_9770.jpg', '/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_23_9605.jpg', '/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_34_10373.jpg', '/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_54_10893.jpg', '/home/pi/Desktop/images/05122025/04/57/image_05122025_04_58_04_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/56/image_05122025_04_56_44_9673.jpg
/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_14_9770.jpg
/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_23_9605.jpg
/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_34_10373.jpg
/home/pi/Desktop/images/05122025/04/57/image_05122025_04_57_54_10893.jpg
/home/pi/Desktop/images/05122025/04/57/image_05122025_04_58_04_9742.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":["1398021130","1398021124","1398021121","1398021118","1398021126","1398021114"],"photo_ids_order":["1398021114","1398021118","1398021121","1398021124","1398021126","1398021130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fe131c9c4d8efccbe064308fad9785b4.jpg","text":"TemporaryFile(/tmp/multipartBody9005585765003988013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907203886,"filename":"image_05122025_04_58_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/5/2c13d09c4c7e4af3a9f9055092301246.jpg","text":"TemporaryFile(/tmp/multipartBody6414469876774091264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907203886,"filename":"image_05122025_04_57_34_10373.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/73fd5b8168174b4678adcbca0a5dea21.jpg","text":"TemporaryFile(/tmp/multipartBody9117293572291305381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907203886,"filename":"image_05122025_04_57_23_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/5/7a58c655499b83f15ec4a7ac61fa3134.jpg","text":"TemporaryFile(/tmp/multipartBody4135889147536357438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907203886,"filename":"image_05122025_04_57_14_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d30554786377265aeda9c115572dcce6.jpg","text":"TemporaryFile(/tmp/multipartBody9084584167825312698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907203886,"filename":"image_05122025_04_57_54_10893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b5904a4dfffffa21acef5e086cc1877.jpg","text":"TemporaryFile(/tmp/multipartBody7559099844137634557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907203886,"filename":"image_05122025_04_56_44_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398021121","file1":"1398021118","file0":"1398021114","file4":"1398021126","file5":"1398021130","file3":"1398021124"},"map_files_photo_id_array":[{"photo_id":"1398021130","filename":"file5"},{"photo_id":"1398021121","filename":"file2"},{"photo_id":"1398021126","filename":"file4"},{"photo_id":"1398021118","filename":"file1"},{"photo_id":"1398021114","filename":"file0"},{"photo_id":"1398021124","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398021130":["hashtag1","hashtag2"]},{"1398021124":["hashtag1","hashtag2"]},{"1398021121":["hashtag1","hashtag2"]},{"1398021118":["hashtag1","hashtag2"]},{"1398021126":["hashtag1","hashtag2"]},{"1398021114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398021130, 1398021124, 1398021121, 1398021118, 1398021126, 1398021114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.43670439720154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:00:02.518234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/58/image_05122025_04_58_23_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/58/image_05122025_04_58_23_9724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021144"],"photo_id":"1398021144","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/002c413ffd0b5115b1e28adfa6f2ceac.jpg","text":"TemporaryFile(/tmp/multipartBody6642779701460723124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907263027,"filename":"image_05122025_04_58_23_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398021144"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398021144"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.334082841873169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:00:22.228864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/58/image_05122025_04_58_34_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/58/image_05122025_04_58_34_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021147"],"photo_id":"1398021147","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e3936d78d06a733f71a0dc4a8d993a6c.jpg","text":"TemporaryFile(/tmp/multipartBody7503963312497394942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907282730,"filename":"image_05122025_04_58_34_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398021147"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398021147"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.869662523269653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:00:42.225447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_58_3660.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_01_2613.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_04_3625.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_07_2628.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_12_2663.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_16_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/35/image_31102025_18_35_58_3660.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_01_2613.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_04_3625.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_07_2628.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_12_2663.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_16_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":["1398021161","1398021163","1398021157","1398021166","1398021154","1398021159"],"photo_ids_order":["1398021154","1398021157","1398021159","1398021161","1398021163","1398021166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0073b98c0b08ae9dc948fdae6b815b72.jpg","text":"TemporaryFile(/tmp/multipartBody4788748151708526663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907303821,"filename":"image_31102025_18_36_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/5/8025b85a362ade119c3b0d812b86aace.jpg","text":"TemporaryFile(/tmp/multipartBody8573859697449180698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907303821,"filename":"image_31102025_18_36_12_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/5/8db5a70f76df6ecb19d339ef177fb46e.jpg","text":"TemporaryFile(/tmp/multipartBody6239841003815380590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907303821,"filename":"image_31102025_18_36_01_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/5/29d5c12196e1e5cabe399ddf132bbc93.jpg","text":"TemporaryFile(/tmp/multipartBody5726409902912536153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907303821,"filename":"image_31102025_18_36_16_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/5/db39f49b818cef02cd9736f7dfcb8415.jpg","text":"TemporaryFile(/tmp/multipartBody5767124929309815569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907303821,"filename":"image_31102025_18_35_58_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/5/1844a110f731d8727b600c80adb3c54c.jpg","text":"TemporaryFile(/tmp/multipartBody1682646515803557577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907303821,"filename":"image_31102025_18_36_04_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398021159","file1":"1398021157","file0":"1398021154","file4":"1398021163","file5":"1398021166","file3":"1398021161"},"map_files_photo_id_array":[{"photo_id":"1398021166","filename":"file5"},{"photo_id":"1398021159","filename":"file2"},{"photo_id":"1398021163","filename":"file4"},{"photo_id":"1398021157","filename":"file1"},{"photo_id":"1398021154","filename":"file0"},{"photo_id":"1398021161","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398021161":["hashtag1","hashtag2"]},{"1398021163":["hashtag1","hashtag2"]},{"1398021157":["hashtag1","hashtag2"]},{"1398021166":["hashtag1","hashtag2"]},{"1398021154":["hashtag1","hashtag2"]},{"1398021159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398021161, 1398021163, 1398021157, 1398021166, 1398021154, 1398021159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.669169664382935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:01:22.477296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/04/59/image_05122025_05_00_04_9692.jpg', '/home/pi/Desktop/images/05122025/05/00/image_05122025_05_01_04_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/04/59/image_05122025_05_00_04_9692.jpg
/home/pi/Desktop/images/05122025/05/00/image_05122025_05_01_04_10824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021167","1398021172"],"photo_ids_order":["1398021167","1398021172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ddaf7b43f441f329841fbda3011732d5.jpg","text":"TemporaryFile(/tmp/multipartBody2553726017727542928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907343021,"filename":"image_05122025_05_00_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/5/b6180af421a74da3db4a0e7b698f13d0.jpg","text":"TemporaryFile(/tmp/multipartBody4177824586568096508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907343021,"filename":"image_05122025_05_01_04_10824.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398021172","file0":"1398021167"},"map_files_photo_id_array":[{"photo_id":"1398021172","filename":"file1"},{"photo_id":"1398021167","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398021167":["hashtag1","hashtag2"]},{"1398021172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398021167, 1398021172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.98638153076172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:01:42.390835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_19_2600.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_22_2770.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_25_3654.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_28_2958.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_34_3588.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_40_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_19_2600.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_22_2770.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_25_3654.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_28_2958.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_34_3588.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_40_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021430","1398021471","1398021351","1398021516","1398021392","1398021312"],"photo_ids_order":["1398021312","1398021351","1398021392","1398021430","1398021471","1398021516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4e40427c4d36ba3f719c104bcbc183d3.jpg","text":"TemporaryFile(/tmp/multipartBody1032970948168054116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907364007,"filename":"image_31102025_18_36_28_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2ae3ebab29ef1c2327e0337a2cbe465.jpg","text":"TemporaryFile(/tmp/multipartBody7869444959772896208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907364007,"filename":"image_31102025_18_36_34_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/5/74df5810add9e9ea52bb0a05173793dc.jpg","text":"TemporaryFile(/tmp/multipartBody1864465312568341906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907364007,"filename":"image_31102025_18_36_22_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/5/454c7c22ef652f51cfbb0e6c7e4926c1.jpg","text":"TemporaryFile(/tmp/multipartBody6798829754220107171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907364007,"filename":"image_31102025_18_36_40_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/5/5c7aed4550b8bbca39aaf8a38378a441.jpg","text":"TemporaryFile(/tmp/multipartBody2041215581885483564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907364007,"filename":"image_31102025_18_36_25_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/5/8751e40705b0775beebb40ed5d61c6b7.jpg","text":"TemporaryFile(/tmp/multipartBody3178394457906502917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907364007,"filename":"image_31102025_18_36_19_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398021392","file1":"1398021351","file0":"1398021312","file4":"1398021471","file5":"1398021516","file3":"1398021430"},"map_files_photo_id_array":[{"photo_id":"1398021516","filename":"file5"},{"photo_id":"1398021392","filename":"file2"},{"photo_id":"1398021471","filename":"file4"},{"photo_id":"1398021351","filename":"file1"},{"photo_id":"1398021312","filename":"file0"},{"photo_id":"1398021430","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398021430":["hashtag1","hashtag2"]},{"1398021471":["hashtag1","hashtag2"]},{"1398021351":["hashtag1","hashtag2"]},{"1398021516":["hashtag1","hashtag2"]},{"1398021392":["hashtag1","hashtag2"]},{"1398021312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398021430, 1398021471, 1398021351, 1398021516, 1398021392, 1398021312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.162829875946045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:02:22.631621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/01/image_05122025_05_01_14_9824.jpg', '/home/pi/Desktop/images/05122025/05/02/image_05122025_05_02_34_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/01/image_05122025_05_01_14_9824.jpg
/home/pi/Desktop/images/05122025/05/02/image_05122025_05_02_34_9688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398021644","1398021692"],"photo_ids_order":["1398021644","1398021692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/516c8e1953f63a23c6ec4a805e1a0f5b.jpg","text":"TemporaryFile(/tmp/multipartBody3892992238054717133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907403194,"filename":"image_05122025_05_01_14_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d8f54a112b6e44b6b7d9f6ff4211bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7893372141701010056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907403194,"filename":"image_05122025_05_02_34_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398021692","file0":"1398021644"},"map_files_photo_id_array":[{"photo_id":"1398021692","filename":"file1"},{"photo_id":"1398021644","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398021644":["hashtag1","hashtag2"]},{"1398021692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398021644, 1398021692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.47297477722168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:02:42.576127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_46_2597.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_49_2755.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_51_2708.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_55_3646.jpg', '/home/pi/Desktop/images/31102025/18/36/image_31102025_18_37_00_2670.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_04_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_46_2597.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_49_2755.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_51_2708.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_36_55_3646.jpg
/home/pi/Desktop/images/31102025/18/36/image_31102025_18_37_00_2670.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_04_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":["1398022177","1398022324","1398022029","1398022101","1398021954","1398022250"],"photo_ids_order":["1398021954","1398022029","1398022101","1398022177","1398022250","1398022324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/695e4405d326a9a917539b6da5586b69.jpg","text":"TemporaryFile(/tmp/multipartBody9217659406993985467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907424167,"filename":"image_31102025_18_36_55_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/5/1b0558f21ca8277b10383029523c783e.jpg","text":"TemporaryFile(/tmp/multipartBody8199127590700671486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907424167,"filename":"image_31102025_18_37_04_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/5/a3383a2c9dc88f5716e4eac9a0c10f87.jpg","text":"TemporaryFile(/tmp/multipartBody7564844748154041943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907424167,"filename":"image_31102025_18_36_49_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/5/89280ddf5be75203883c6816e548363d.jpg","text":"TemporaryFile(/tmp/multipartBody2840172492654258719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907424167,"filename":"image_31102025_18_36_51_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/5/65d2fcffa7ccbb0ac7b8289d04f95de4.jpg","text":"TemporaryFile(/tmp/multipartBody7058817840574934073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907424167,"filename":"image_31102025_18_36_46_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a12fe4a5ada8de642c69bd1c415a2240.jpg","text":"TemporaryFile(/tmp/multipartBody7755752154299432776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907424167,"filename":"image_31102025_18_37_00_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398022101","file1":"1398022029","file0":"1398021954","file4":"1398022250","file5":"1398022324","file3":"1398022177"},"map_files_photo_id_array":[{"photo_id":"1398022324","filename":"file5"},{"photo_id":"1398022101","filename":"file2"},{"photo_id":"1398022250","filename":"file4"},{"photo_id":"1398022029","filename":"file1"},{"photo_id":"1398021954","filename":"file0"},{"photo_id":"1398022177","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398022177":["hashtag1","hashtag2"]},{"1398022324":["hashtag1","hashtag2"]},{"1398022029":["hashtag1","hashtag2"]},{"1398022101":["hashtag1","hashtag2"]},{"1398021954":["hashtag1","hashtag2"]},{"1398022250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398022177, 1398022324, 1398022029, 1398022101, 1398021954, 1398022250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98936700820923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:03:22.834003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/02/image_05122025_05_02_44_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/02/image_05122025_05_02_44_9601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398022598"],"photo_id":"1398022598","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f87793af4287e1aa9787cc97e40c0cc1.jpg","text":"TemporaryFile(/tmp/multipartBody6300492023513571296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907463340,"filename":"image_05122025_05_02_44_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398022598"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398022598"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.53464412689209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:03:42.740545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_07_2716.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_13_1854.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_16_2839.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_18_2594.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_22_3572.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_25_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_07_2716.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_13_1854.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_16_2839.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_18_2594.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_22_3572.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_25_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398023047","1398023008","1398022932","1398022857","1398022895","1398022970"],"photo_ids_order":["1398022857","1398022895","1398022932","1398022970","1398023008","1398023047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17314cc2134337bbce184615d4bd29fc.jpg","text":"TemporaryFile(/tmp/multipartBody5819206545462182668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907484307,"filename":"image_31102025_18_37_25_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/5/782b12994f4d76ed38d5b6f3db523269.jpg","text":"TemporaryFile(/tmp/multipartBody9200409675634594920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907484307,"filename":"image_31102025_18_37_22_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/5/1ae000588df759af1bfbb0f89f6958f7.jpg","text":"TemporaryFile(/tmp/multipartBody5962336070289712046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907484307,"filename":"image_31102025_18_37_16_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/5/532e579ea192f87433643d3c23dd70eb.jpg","text":"TemporaryFile(/tmp/multipartBody2849335772800236468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907484307,"filename":"image_31102025_18_37_07_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/5/f64fec57f025e0c04072875ddc569d4b.jpg","text":"TemporaryFile(/tmp/multipartBody7065737415848414951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907484307,"filename":"image_31102025_18_37_13_1854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/424e5f176540d3be0c2a1f78019bfba6.jpg","text":"TemporaryFile(/tmp/multipartBody4421434272538971695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907484307,"filename":"image_31102025_18_37_18_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398022932","file1":"1398022895","file0":"1398022857","file4":"1398023008","file5":"1398023047","file3":"1398022970"},"map_files_photo_id_array":[{"photo_id":"1398023047","filename":"file5"},{"photo_id":"1398022932","filename":"file2"},{"photo_id":"1398023008","filename":"file4"},{"photo_id":"1398022895","filename":"file1"},{"photo_id":"1398022857","filename":"file0"},{"photo_id":"1398022970","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398023047":["hashtag1","hashtag2"]},{"1398023008":["hashtag1","hashtag2"]},{"1398022932":["hashtag1","hashtag2"]},{"1398022857":["hashtag1","hashtag2"]},{"1398022895":["hashtag1","hashtag2"]},{"1398022970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398023047, 1398023008, 1398022932, 1398022857, 1398022895, 1398022970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.480063915252686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:04:22.063267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/03/image_05122025_05_03_44_9778.jpg', '/home/pi/Desktop/images/05122025/05/03/image_05122025_05_04_03_9798.jpg', '/home/pi/Desktop/images/05122025/05/04/image_05122025_05_04_24_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/03/image_05122025_05_03_44_9778.jpg
/home/pi/Desktop/images/05122025/05/03/image_05122025_05_04_03_9798.jpg
/home/pi/Desktop/images/05122025/05/04/image_05122025_05_04_24_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":["1398023179","1398023259","1398023220"],"photo_ids_order":["1398023179","1398023220","1398023259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4b3b18593d6571f336a16431c01a9fac.jpg","text":"TemporaryFile(/tmp/multipartBody4345229785702799346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907522665,"filename":"image_05122025_05_03_44_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a3cba5d3a82f59d1adcd18f376e1d4b2.jpg","text":"TemporaryFile(/tmp/multipartBody5225762924572677796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907522665,"filename":"image_05122025_05_04_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ddeb1dc41af3196546c93c462967e7bf.jpg","text":"TemporaryFile(/tmp/multipartBody4481026579362524422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907522665,"filename":"image_05122025_05_04_03_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398023259","file1":"1398023220","file0":"1398023179"},"map_files_photo_id_array":[{"photo_id":"1398023259","filename":"file2"},{"photo_id":"1398023220","filename":"file1"},{"photo_id":"1398023179","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398023179":["hashtag1","hashtag2"]},{"1398023259":["hashtag1","hashtag2"]},{"1398023220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398023179, 1398023259, 1398023220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.724181652069092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:05:02.667854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/32/image_02122025_13_32_35_9746.jpg', '/home/pi/Desktop/images/02122025/13/32/image_02122025_13_32_45_9664.jpg', '/home/pi/Desktop/images/02122025/13/32/image_02122025_13_32_55_9780.jpg', '/home/pi/Desktop/images/02122025/13/32/image_02122025_13_33_05_10630.jpg', '/home/pi/Desktop/images/02122025/13/33/image_02122025_13_33_15_9596.jpg', '/home/pi/Desktop/images/02122025/13/33/image_02122025_13_33_25_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/32/image_02122025_13_32_35_9746.jpg
/home/pi/Desktop/images/02122025/13/32/image_02122025_13_32_45_9664.jpg
/home/pi/Desktop/images/02122025/13/32/image_02122025_13_32_55_9780.jpg
/home/pi/Desktop/images/02122025/13/32/image_02122025_13_33_05_10630.jpg
/home/pi/Desktop/images/02122025/13/33/image_02122025_13_33_15_9596.jpg
/home/pi/Desktop/images/02122025/13/33/image_02122025_13_33_25_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":["1398023419","1398023422","1398023607","1398023477","1398023528","1398023438"],"photo_ids_order":["1398023419","1398023422","1398023438","1398023477","1398023528","1398023607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/139514f1235bc02f15860f1f546476b9.jpg","text":"TemporaryFile(/tmp/multipartBody7793417611997543623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907564319,"filename":"image_02122025_13_32_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/5/c36c2ea4b859679ea48e9eae91c7f51c.jpg","text":"TemporaryFile(/tmp/multipartBody3770286379812175397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907564319,"filename":"image_02122025_13_32_45_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/5/d1c789848e6be484e20ec57a5c79ce0c.jpg","text":"TemporaryFile(/tmp/multipartBody5484659754502227253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907564319,"filename":"image_02122025_13_33_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/5/949bc810ed43b834fe4f74a434e2a2f2.jpg","text":"TemporaryFile(/tmp/multipartBody5886200418360347005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907564319,"filename":"image_02122025_13_33_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/5/96130774da0dfa76e8c3a7e3aac68149.jpg","text":"TemporaryFile(/tmp/multipartBody4495165448772093383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907564319,"filename":"image_02122025_13_33_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/5/adf0bc02a583686c85453290d3581e6d.jpg","text":"TemporaryFile(/tmp/multipartBody3779680216404497663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907564319,"filename":"image_02122025_13_32_55_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398023438","file1":"1398023422","file0":"1398023419","file4":"1398023528","file5":"1398023607","file3":"1398023477"},"map_files_photo_id_array":[{"photo_id":"1398023607","filename":"file5"},{"photo_id":"1398023438","filename":"file2"},{"photo_id":"1398023528","filename":"file4"},{"photo_id":"1398023422","filename":"file1"},{"photo_id":"1398023419","filename":"file0"},{"photo_id":"1398023477","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398023419":["hashtag1","hashtag2"]},{"1398023422":["hashtag1","hashtag2"]},{"1398023607":["hashtag1","hashtag2"]},{"1398023477":["hashtag1","hashtag2"]},{"1398023528":["hashtag1","hashtag2"]},{"1398023438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398023419, 1398023422, 1398023607, 1398023477, 1398023528, 1398023438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.267104625701904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:05:42.170326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_28_2834.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_34_2506.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_36_2647.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_40_3632.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_43_2689.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_45_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_28_2834.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_34_2506.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_36_2647.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_40_3632.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_43_2689.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_45_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":["1398024028","1398023875","1398024108","1398024260","1398023954","1398024184"],"photo_ids_order":["1398023875","1398023954","1398024028","1398024108","1398024184","1398024260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5190b6803db33a9300232b3105884975.jpg","text":"TemporaryFile(/tmp/multipartBody239262347036065673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907603816,"filename":"image_31102025_18_37_36_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/5/a39131f466e3eca07f1b13461e121114.jpg","text":"TemporaryFile(/tmp/multipartBody2266301319733103652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907603816,"filename":"image_31102025_18_37_28_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/5/5242d3476d2e1e8954a0d08732b307bf.jpg","text":"TemporaryFile(/tmp/multipartBody6699089461570345962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907603816,"filename":"image_31102025_18_37_40_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/5/53d0254d5847036a8cc184aadb9844de.jpg","text":"TemporaryFile(/tmp/multipartBody1202406560540719344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907603816,"filename":"image_31102025_18_37_45_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/5/3edc148634a9d9407924d39e8abff4df.jpg","text":"TemporaryFile(/tmp/multipartBody8932314745101925606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907603816,"filename":"image_31102025_18_37_34_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6ea35d9698c2ed4f06c9eb74a0e5fcf1.jpg","text":"TemporaryFile(/tmp/multipartBody900617927628235324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907603816,"filename":"image_31102025_18_37_43_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398024028","file1":"1398023954","file0":"1398023875","file4":"1398024184","file5":"1398024260","file3":"1398024108"},"map_files_photo_id_array":[{"photo_id":"1398024260","filename":"file5"},{"photo_id":"1398024028","filename":"file2"},{"photo_id":"1398024184","filename":"file4"},{"photo_id":"1398023954","filename":"file1"},{"photo_id":"1398023875","filename":"file0"},{"photo_id":"1398024108","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398024028":["hashtag1","hashtag2"]},{"1398023875":["hashtag1","hashtag2"]},{"1398024108":["hashtag1","hashtag2"]},{"1398024260":["hashtag1","hashtag2"]},{"1398023954":["hashtag1","hashtag2"]},{"1398024184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398024028, 1398023875, 1398024108, 1398024260, 1398023954, 1398024184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.629626750946045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:06:22.333387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/04/image_05122025_05_04_34_10656.jpg', '/home/pi/Desktop/images/05122025/05/04/image_05122025_05_05_04_9895.jpg', '/home/pi/Desktop/images/05122025/05/05/image_05122025_05_05_24_9742.jpg', '/home/pi/Desktop/images/05122025/05/05/image_05122025_05_05_44_10587.jpg', '/home/pi/Desktop/images/05122025/05/05/image_05122025_05_05_54_10029.jpg', '/home/pi/Desktop/images/05122025/05/06/image_05122025_05_06_14_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/04/image_05122025_05_04_34_10656.jpg
/home/pi/Desktop/images/05122025/05/04/image_05122025_05_05_04_9895.jpg
/home/pi/Desktop/images/05122025/05/05/image_05122025_05_05_24_9742.jpg
/home/pi/Desktop/images/05122025/05/05/image_05122025_05_05_44_10587.jpg
/home/pi/Desktop/images/05122025/05/05/image_05122025_05_05_54_10029.jpg
/home/pi/Desktop/images/05122025/05/06/image_05122025_05_06_14_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":["1398024894","1398024508","1398024585","1398024967","1398024806","1398024685"],"photo_ids_order":["1398024508","1398024585","1398024685","1398024806","1398024894","1398024967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/140d5c6fd730dbc88e7ce788d96d1ac8.jpg","text":"TemporaryFile(/tmp/multipartBody6526056080285729643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907643114,"filename":"image_05122025_05_05_54_10029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c48e86cf4f43a85f0de432391bfae0d.jpg","text":"TemporaryFile(/tmp/multipartBody2742378919802639514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907643114,"filename":"image_05122025_05_04_34_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/5/d2114a66d5e71c9c0babd35dd6519169.jpg","text":"TemporaryFile(/tmp/multipartBody2769642139253766370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907643114,"filename":"image_05122025_05_05_04_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/5/db6bb7f5aab61c30576da28878784ab6.jpg","text":"TemporaryFile(/tmp/multipartBody2261517575680482544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907643114,"filename":"image_05122025_05_06_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/5/7cb9c212fecdaf5d857015ac4e0cf486.jpg","text":"TemporaryFile(/tmp/multipartBody3312374976750081350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907643114,"filename":"image_05122025_05_05_44_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b78664c7ea4433afd4688f630bb715f2.jpg","text":"TemporaryFile(/tmp/multipartBody8943132005987311415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907643114,"filename":"image_05122025_05_05_24_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398024685","file1":"1398024585","file0":"1398024508","file4":"1398024894","file5":"1398024967","file3":"1398024806"},"map_files_photo_id_array":[{"photo_id":"1398024967","filename":"file5"},{"photo_id":"1398024685","filename":"file2"},{"photo_id":"1398024894","filename":"file4"},{"photo_id":"1398024585","filename":"file1"},{"photo_id":"1398024508","filename":"file0"},{"photo_id":"1398024806","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398024894":["hashtag1","hashtag2"]},{"1398024508":["hashtag1","hashtag2"]},{"1398024585":["hashtag1","hashtag2"]},{"1398024967":["hashtag1","hashtag2"]},{"1398024806":["hashtag1","hashtag2"]},{"1398024685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398024894, 1398024508, 1398024585, 1398024967, 1398024806, 1398024685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.102107524871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:07:02.981679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/33/image_02122025_13_33_35_10752.jpg', '/home/pi/Desktop/images/02122025/13/33/image_02122025_13_33_45_9695.jpg', '/home/pi/Desktop/images/02122025/13/33/image_02122025_13_33_55_9570.jpg', '/home/pi/Desktop/images/02122025/13/33/image_02122025_13_34_05_10677.jpg', '/home/pi/Desktop/images/02122025/13/34/image_02122025_13_34_35_10599.jpg', '/home/pi/Desktop/images/02122025/13/34/image_02122025_13_34_45_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/33/image_02122025_13_33_35_10752.jpg
/home/pi/Desktop/images/02122025/13/33/image_02122025_13_33_45_9695.jpg
/home/pi/Desktop/images/02122025/13/33/image_02122025_13_33_55_9570.jpg
/home/pi/Desktop/images/02122025/13/33/image_02122025_13_34_05_10677.jpg
/home/pi/Desktop/images/02122025/13/34/image_02122025_13_34_35_10599.jpg
/home/pi/Desktop/images/02122025/13/34/image_02122025_13_34_45_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398025482","1398025377","1398025713","1398025286","1398025642","1398025567"],"photo_ids_order":["1398025286","1398025377","1398025482","1398025567","1398025642","1398025713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b99aa07dfa8e69aeb29377d4a26555d.jpg","text":"TemporaryFile(/tmp/multipartBody4165111861522418864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907684537,"filename":"image_02122025_13_33_55_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/5/802ff0ce57d21135346f72d48358376d.jpg","text":"TemporaryFile(/tmp/multipartBody7832834053381612533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907684537,"filename":"image_02122025_13_33_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/5/e22b9ffc357bc8b81a6f874acac9249c.jpg","text":"TemporaryFile(/tmp/multipartBody8993925094304974163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907684537,"filename":"image_02122025_13_34_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/33eb58e95744167f17133568f3e13509.jpg","text":"TemporaryFile(/tmp/multipartBody9061893359400977094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907684537,"filename":"image_02122025_13_33_35_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e541529190ac45efdd6ad9f8fe06b6e.jpg","text":"TemporaryFile(/tmp/multipartBody2702471514898867686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907684537,"filename":"image_02122025_13_34_35_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/350e776838cab15180dae17707794646.jpg","text":"TemporaryFile(/tmp/multipartBody6136434945515053176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907684537,"filename":"image_02122025_13_34_05_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398025482","file1":"1398025377","file0":"1398025286","file4":"1398025642","file5":"1398025713","file3":"1398025567"},"map_files_photo_id_array":[{"photo_id":"1398025713","filename":"file5"},{"photo_id":"1398025482","filename":"file2"},{"photo_id":"1398025642","filename":"file4"},{"photo_id":"1398025377","filename":"file1"},{"photo_id":"1398025286","filename":"file0"},{"photo_id":"1398025567","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398025482":["hashtag1","hashtag2"]},{"1398025377":["hashtag1","hashtag2"]},{"1398025713":["hashtag1","hashtag2"]},{"1398025286":["hashtag1","hashtag2"]},{"1398025642":["hashtag1","hashtag2"]},{"1398025567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398025482, 1398025377, 1398025713, 1398025286, 1398025642, 1398025567)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.81212544441223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:08:02.977600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 05:08:12.509420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/34/image_02122025_13_34_55_9671.jpg', '/home/pi/Desktop/images/02122025/13/34/image_02122025_13_35_05_10621.jpg', '/home/pi/Desktop/images/02122025/13/35/image_02122025_13_35_15_9916.jpg', '/home/pi/Desktop/images/02122025/13/35/image_02122025_13_35_25_9787.jpg', '/home/pi/Desktop/images/02122025/13/35/image_02122025_13_35_35_9676.jpg', '/home/pi/Desktop/images/02122025/13/35/image_02122025_13_35_45_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/34/image_02122025_13_34_55_9671.jpg
/home/pi/Desktop/images/02122025/13/34/image_02122025_13_35_05_10621.jpg
/home/pi/Desktop/images/02122025/13/35/image_02122025_13_35_15_9916.jpg
/home/pi/Desktop/images/02122025/13/35/image_02122025_13_35_25_9787.jpg
/home/pi/Desktop/images/02122025/13/35/image_02122025_13_35_35_9676.jpg
/home/pi/Desktop/images/02122025/13/35/image_02122025_13_35_45_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398026891","1398026307","1398026660","1398026426","1398026548","1398026772"],"photo_ids_order":["1398026307","1398026426","1398026548","1398026660","1398026772","1398026891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba8e552dcfebd8a301d2957a031fab1c.jpg","text":"TemporaryFile(/tmp/multipartBody2459668926147597424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907761282,"filename":"image_02122025_13_35_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/5/d02a25c4cb4524887faf94d8910353ea.jpg","text":"TemporaryFile(/tmp/multipartBody2504846172963920342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907761282,"filename":"image_02122025_13_34_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/5/58a80484a0babafaef126fa0413eee36.jpg","text":"TemporaryFile(/tmp/multipartBody5686406071227603533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907761282,"filename":"image_02122025_13_35_25_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/5/6e50eff3ef07999cd4af2a45a05c7a73.jpg","text":"TemporaryFile(/tmp/multipartBody5225646020338322597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907761282,"filename":"image_02122025_13_35_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/5/186c7bfa8fd7fa0858e5fa5c41e5e90f.jpg","text":"TemporaryFile(/tmp/multipartBody3266450653846325257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907761282,"filename":"image_02122025_13_35_15_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dee67d84351038885f92614aed36c6a6.jpg","text":"TemporaryFile(/tmp/multipartBody77204120503313533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907761282,"filename":"image_02122025_13_35_35_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398026548","file1":"1398026426","file0":"1398026307","file4":"1398026772","file5":"1398026891","file3":"1398026660"},"map_files_photo_id_array":[{"photo_id":"1398026891","filename":"file5"},{"photo_id":"1398026548","filename":"file2"},{"photo_id":"1398026772","filename":"file4"},{"photo_id":"1398026426","filename":"file1"},{"photo_id":"1398026307","filename":"file0"},{"photo_id":"1398026660","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398026891":["hashtag1","hashtag2"]},{"1398026307":["hashtag1","hashtag2"]},{"1398026660":["hashtag1","hashtag2"]},{"1398026426":["hashtag1","hashtag2"]},{"1398026548":["hashtag1","hashtag2"]},{"1398026772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398026891, 1398026307, 1398026660, 1398026426, 1398026548, 1398026772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.18213176727295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:09:02.823601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 05:09:16.128559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/35/image_02122025_13_35_55_9647.jpg', '/home/pi/Desktop/images/02122025/13/35/image_02122025_13_36_05_9956.jpg', '/home/pi/Desktop/images/02122025/13/36/image_02122025_13_36_15_9629.jpg', '/home/pi/Desktop/images/02122025/13/36/image_02122025_13_36_25_10782.jpg', '/home/pi/Desktop/images/02122025/13/36/image_02122025_13_36_35_9712.jpg', '/home/pi/Desktop/images/02122025/13/36/image_02122025_13_36_45_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/35/image_02122025_13_35_55_9647.jpg
/home/pi/Desktop/images/02122025/13/35/image_02122025_13_36_05_9956.jpg
/home/pi/Desktop/images/02122025/13/36/image_02122025_13_36_15_9629.jpg
/home/pi/Desktop/images/02122025/13/36/image_02122025_13_36_25_10782.jpg
/home/pi/Desktop/images/02122025/13/36/image_02122025_13_36_35_9712.jpg
/home/pi/Desktop/images/02122025/13/36/image_02122025_13_36_45_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398027746","1398027886","1398027493","1398027619","1398027396","1398028010"],"photo_ids_order":["1398027396","1398027493","1398027619","1398027746","1398027886","1398028010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/29ad049851e3cfb5468d128b95daed71.jpg","text":"TemporaryFile(/tmp/multipartBody642635912222473319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907818999,"filename":"image_02122025_13_36_25_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/5/f10b473346cafe3e77c1976743d0e48e.jpg","text":"TemporaryFile(/tmp/multipartBody8875548709790366190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907818999,"filename":"image_02122025_13_36_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc3399bc3622eefbc53fe10360d87ab3.jpg","text":"TemporaryFile(/tmp/multipartBody1284139598554958405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907818999,"filename":"image_02122025_13_36_05_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/5/91043abca83278c819f1d89f35ce6950.jpg","text":"TemporaryFile(/tmp/multipartBody8295755532396985348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907818999,"filename":"image_02122025_13_36_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91aafdef0ac98890cacc746252cfa648.jpg","text":"TemporaryFile(/tmp/multipartBody3809434318657428694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907818999,"filename":"image_02122025_13_35_55_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/5/45ee455b76f674f6f0d924ec28095fda.jpg","text":"TemporaryFile(/tmp/multipartBody8861634217704175782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907818999,"filename":"image_02122025_13_36_45_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398027619","file1":"1398027493","file0":"1398027396","file4":"1398027886","file5":"1398028010","file3":"1398027746"},"map_files_photo_id_array":[{"photo_id":"1398028010","filename":"file5"},{"photo_id":"1398027619","filename":"file2"},{"photo_id":"1398027886","filename":"file4"},{"photo_id":"1398027493","filename":"file1"},{"photo_id":"1398027396","filename":"file0"},{"photo_id":"1398027746","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398027746":["hashtag1","hashtag2"]},{"1398027886":["hashtag1","hashtag2"]},{"1398027493":["hashtag1","hashtag2"]},{"1398027619":["hashtag1","hashtag2"]},{"1398027396":["hashtag1","hashtag2"]},{"1398028010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398027746, 1398027886, 1398027493, 1398027619, 1398027396, 1398028010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.1776168346405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:10:03.480540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 05:10:13.069894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/36/image_02122025_13_36_55_10648.jpg', '/home/pi/Desktop/images/02122025/13/36/image_02122025_13_37_05_9770.jpg', '/home/pi/Desktop/images/02122025/13/37/image_02122025_13_37_15_10059.jpg', '/home/pi/Desktop/images/02122025/13/37/image_02122025_13_37_25_9696.jpg', '/home/pi/Desktop/images/02122025/13/37/image_02122025_13_37_35_9799.jpg', '/home/pi/Desktop/images/02122025/13/37/image_02122025_13_37_45_10013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/36/image_02122025_13_36_55_10648.jpg
/home/pi/Desktop/images/02122025/13/36/image_02122025_13_37_05_9770.jpg
/home/pi/Desktop/images/02122025/13/37/image_02122025_13_37_15_10059.jpg
/home/pi/Desktop/images/02122025/13/37/image_02122025_13_37_25_9696.jpg
/home/pi/Desktop/images/02122025/13/37/image_02122025_13_37_35_9799.jpg
/home/pi/Desktop/images/02122025/13/37/image_02122025_13_37_45_10013.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398028591","1398028551","1398028458","1398028530","1398028496","1398028415"],"photo_ids_order":["1398028415","1398028458","1398028496","1398028530","1398028551","1398028591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e089be1cefe554329c8cd433abe01f6.jpg","text":"TemporaryFile(/tmp/multipartBody2937394884063262391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907874861,"filename":"image_02122025_13_37_45_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/5/ade97a0407105f74cb9708180f78cda8.jpg","text":"TemporaryFile(/tmp/multipartBody6552415406684618769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907874861,"filename":"image_02122025_13_37_35_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/5/9a5319dab46f4a5d27c19639db777915.jpg","text":"TemporaryFile(/tmp/multipartBody8321064796550536743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907874861,"filename":"image_02122025_13_37_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/5/10341e565ecfabb0480c6a6caa1bd578.jpg","text":"TemporaryFile(/tmp/multipartBody1319163115639997737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907874861,"filename":"image_02122025_13_37_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/5/b3f7f7c84d1383994efb2e009e2d9193.jpg","text":"TemporaryFile(/tmp/multipartBody4193122916794379873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907874861,"filename":"image_02122025_13_37_15_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/5/ae97a8de6b101761d2e5bd018060b552.jpg","text":"TemporaryFile(/tmp/multipartBody2578634216935028271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907874861,"filename":"image_02122025_13_36_55_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398028496","file1":"1398028458","file0":"1398028415","file4":"1398028551","file5":"1398028591","file3":"1398028530"},"map_files_photo_id_array":[{"photo_id":"1398028591","filename":"file5"},{"photo_id":"1398028496","filename":"file2"},{"photo_id":"1398028551","filename":"file4"},{"photo_id":"1398028458","filename":"file1"},{"photo_id":"1398028415","filename":"file0"},{"photo_id":"1398028530","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398028591":["hashtag1","hashtag2"]},{"1398028551":["hashtag1","hashtag2"]},{"1398028458":["hashtag1","hashtag2"]},{"1398028530":["hashtag1","hashtag2"]},{"1398028496":["hashtag1","hashtag2"]},{"1398028415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398028591, 1398028551, 1398028458, 1398028530, 1398028496, 1398028415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78614401817322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:11:03.067054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 05:11:17.287478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/37/image_02122025_13_37_55_10650.jpg', '/home/pi/Desktop/images/02122025/13/37/image_02122025_13_38_05_9649.jpg', '/home/pi/Desktop/images/02122025/13/38/image_02122025_13_38_25_10614.jpg', '/home/pi/Desktop/images/02122025/13/38/image_02122025_13_38_35_9542.jpg', '/home/pi/Desktop/images/02122025/13/38/image_02122025_13_38_45_10524.jpg', '/home/pi/Desktop/images/02122025/13/38/image_02122025_13_38_55_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/37/image_02122025_13_37_55_10650.jpg
/home/pi/Desktop/images/02122025/13/37/image_02122025_13_38_05_9649.jpg
/home/pi/Desktop/images/02122025/13/38/image_02122025_13_38_25_10614.jpg
/home/pi/Desktop/images/02122025/13/38/image_02122025_13_38_35_9542.jpg
/home/pi/Desktop/images/02122025/13/38/image_02122025_13_38_45_10524.jpg
/home/pi/Desktop/images/02122025/13/38/image_02122025_13_38_55_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398028876","1398028936","1398028896","1398028950","1398028979","1398028952"],"photo_ids_order":["1398028876","1398028896","1398028936","1398028950","1398028952","1398028979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c508474767f6d5ec3a140c742726a417.jpg","text":"TemporaryFile(/tmp/multipartBody335276198637288847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907941494,"filename":"image_02122025_13_37_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/5/dbbd07721ee3523289e075b9d3997533.jpg","text":"TemporaryFile(/tmp/multipartBody8826584137686887452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907941494,"filename":"image_02122025_13_38_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/5/6cf3a165c11699d9f9d3b3da86ab0a6a.jpg","text":"TemporaryFile(/tmp/multipartBody3746064620925771530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907941494,"filename":"image_02122025_13_38_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/5/ad4437b40fb4379501cae4407fd126d5.jpg","text":"TemporaryFile(/tmp/multipartBody2884868728137250962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907941494,"filename":"image_02122025_13_38_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/5/20bf8a9c4ffa54f11e6689bcc4cb0205.jpg","text":"TemporaryFile(/tmp/multipartBody1491468639146198371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907941494,"filename":"image_02122025_13_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/5/f1901880263b9269331e5a50f4edce00.jpg","text":"TemporaryFile(/tmp/multipartBody5283213789404911755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907941494,"filename":"image_02122025_13_38_45_10524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398028936","file1":"1398028896","file0":"1398028876","file4":"1398028952","file5":"1398028979","file3":"1398028950"},"map_files_photo_id_array":[{"photo_id":"1398028979","filename":"file5"},{"photo_id":"1398028936","filename":"file2"},{"photo_id":"1398028952","filename":"file4"},{"photo_id":"1398028896","filename":"file1"},{"photo_id":"1398028876","filename":"file0"},{"photo_id":"1398028950","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398028876":["hashtag1","hashtag2"]},{"1398028936":["hashtag1","hashtag2"]},{"1398028896":["hashtag1","hashtag2"]},{"1398028950":["hashtag1","hashtag2"]},{"1398028979":["hashtag1","hashtag2"]},{"1398028952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398028876, 1398028936, 1398028896, 1398028950, 1398028979, 1398028952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35223054885864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:12:02.790672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/06/image_05122025_05_06_23_9771.jpg', '/home/pi/Desktop/images/05122025/05/06/image_05122025_05_07_04_10600.jpg', '/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_14_10622.jpg', '/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_34_9658.jpg', '/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_44_10452.jpg', '/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_54_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/06/image_05122025_05_06_23_9771.jpg
/home/pi/Desktop/images/05122025/05/06/image_05122025_05_07_04_10600.jpg
/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_14_10622.jpg
/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_34_9658.jpg
/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_44_10452.jpg
/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_54_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: 3.136993169784546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:12:12.396711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/38/image_02122025_13_39_05_9703.jpg', '/home/pi/Desktop/images/02122025/13/39/image_02122025_13_39_15_9720.jpg', '/home/pi/Desktop/images/02122025/13/39/image_02122025_13_39_25_10849.jpg', '/home/pi/Desktop/images/02122025/13/39/image_02122025_13_39_35_9673.jpg', '/home/pi/Desktop/images/02122025/13/39/image_02122025_13_39_45_9664.jpg', '/home/pi/Desktop/images/02122025/13/40/image_02122025_13_40_25_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/38/image_02122025_13_39_05_9703.jpg
/home/pi/Desktop/images/02122025/13/39/image_02122025_13_39_15_9720.jpg
/home/pi/Desktop/images/02122025/13/39/image_02122025_13_39_25_10849.jpg
/home/pi/Desktop/images/02122025/13/39/image_02122025_13_39_35_9673.jpg
/home/pi/Desktop/images/02122025/13/39/image_02122025_13_39_45_9664.jpg
/home/pi/Desktop/images/02122025/13/40/image_02122025_13_40_25_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":["1398029020","1398029017","1398029028","1398029030","1398029024","1398029027"],"photo_ids_order":["1398029017","1398029020","1398029024","1398029027","1398029028","1398029030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/813dba4a9baf4e73508a3162fc4183a3.jpg","text":"TemporaryFile(/tmp/multipartBody2600668543282412157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907994238,"filename":"image_02122025_13_39_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e969313386e27af6c003bafac888b18f.jpg","text":"TemporaryFile(/tmp/multipartBody8449653683141220602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907994238,"filename":"image_02122025_13_39_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/5/f3d8c43c96180642f1972dd90b0a4f2c.jpg","text":"TemporaryFile(/tmp/multipartBody5633457447402913705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907994238,"filename":"image_02122025_13_39_45_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/5/3e2d8e95fb878ce1ae6a5846b16116ca.jpg","text":"TemporaryFile(/tmp/multipartBody2719456101286550525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907994238,"filename":"image_02122025_13_40_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/5/0a86afcc5a2cdbb64327b240c41a0c10.jpg","text":"TemporaryFile(/tmp/multipartBody7364940744208947494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907994238,"filename":"image_02122025_13_39_25_10849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8934684c3a7c07d69de497f758251603.jpg","text":"TemporaryFile(/tmp/multipartBody9087641898102015319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764907994238,"filename":"image_02122025_13_39_35_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029024","file1":"1398029020","file0":"1398029017","file4":"1398029028","file5":"1398029030","file3":"1398029027"},"map_files_photo_id_array":[{"photo_id":"1398029030","filename":"file5"},{"photo_id":"1398029024","filename":"file2"},{"photo_id":"1398029028","filename":"file4"},{"photo_id":"1398029020","filename":"file1"},{"photo_id":"1398029017","filename":"file0"},{"photo_id":"1398029027","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029020":["hashtag1","hashtag2"]},{"1398029017":["hashtag1","hashtag2"]},{"1398029028":["hashtag1","hashtag2"]},{"1398029030":["hashtag1","hashtag2"]},{"1398029024":["hashtag1","hashtag2"]},{"1398029027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029020, 1398029017, 1398029028, 1398029030, 1398029024, 1398029027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.004011154174805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:13:07.324654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/06/image_05122025_05_06_23_9771.jpg', '/home/pi/Desktop/images/05122025/05/06/image_05122025_05_07_04_10600.jpg', '/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_14_10622.jpg', '/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_34_9658.jpg', '/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_44_10452.jpg', '/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_54_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/06/image_05122025_05_06_23_9771.jpg
/home/pi/Desktop/images/05122025/05/06/image_05122025_05_07_04_10600.jpg
/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_14_10622.jpg
/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_34_9658.jpg
/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_44_10452.jpg
/home/pi/Desktop/images/05122025/05/08/image_05122025_05_08_54_9731.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":["1398029044","1398029055","1398029046","1398029051","1398029048","1398029057"],"photo_ids_order":["1398029044","1398029046","1398029048","1398029051","1398029055","1398029057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c9494e9e3b0e6cb200845065363835d7.jpg","text":"TemporaryFile(/tmp/multipartBody7683326899455138452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908050502,"filename":"image_05122025_05_06_23_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/5/bf5f181919a1c291438ebb08572af2ed.jpg","text":"TemporaryFile(/tmp/multipartBody7427567433292368433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908050502,"filename":"image_05122025_05_08_44_10452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/93f90bfae5c26e4282ea1bae873c2321.jpg","text":"TemporaryFile(/tmp/multipartBody7041501505295689018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908050502,"filename":"image_05122025_05_07_04_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/5/5659828d6b3b2aa46405cc85db60c69b.jpg","text":"TemporaryFile(/tmp/multipartBody1201626674121026241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908050502,"filename":"image_05122025_05_08_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f6129d1a3a18ccd01b6f0d0378ca0259.jpg","text":"TemporaryFile(/tmp/multipartBody6961213229269945663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908050502,"filename":"image_05122025_05_08_14_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/5/afc276be587691880629d88521e6b396.jpg","text":"TemporaryFile(/tmp/multipartBody854824473967582306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908050502,"filename":"image_05122025_05_08_54_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029048","file1":"1398029046","file0":"1398029044","file4":"1398029055","file5":"1398029057","file3":"1398029051"},"map_files_photo_id_array":[{"photo_id":"1398029057","filename":"file5"},{"photo_id":"1398029048","filename":"file2"},{"photo_id":"1398029055","filename":"file4"},{"photo_id":"1398029046","filename":"file1"},{"photo_id":"1398029044","filename":"file0"},{"photo_id":"1398029051","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029044":["hashtag1","hashtag2"]},{"1398029055":["hashtag1","hashtag2"]},{"1398029046":["hashtag1","hashtag2"]},{"1398029051":["hashtag1","hashtag2"]},{"1398029048":["hashtag1","hashtag2"]},{"1398029057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029044, 1398029055, 1398029046, 1398029051, 1398029048, 1398029057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26939272880554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:14:02.451127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/09/image_05122025_05_09_04_9821.jpg', '/home/pi/Desktop/images/05122025/05/09/image_05122025_05_09_34_10748.jpg', '/home/pi/Desktop/images/05122025/05/09/image_05122025_05_09_44_9511.jpg', '/home/pi/Desktop/images/05122025/05/09/image_05122025_05_10_04_9738.jpg', '/home/pi/Desktop/images/05122025/05/10/image_05122025_05_10_14_10344.jpg', '/home/pi/Desktop/images/05122025/05/10/image_05122025_05_10_34_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/09/image_05122025_05_09_04_9821.jpg
/home/pi/Desktop/images/05122025/05/09/image_05122025_05_09_34_10748.jpg
/home/pi/Desktop/images/05122025/05/09/image_05122025_05_09_44_9511.jpg
/home/pi/Desktop/images/05122025/05/09/image_05122025_05_10_04_9738.jpg
/home/pi/Desktop/images/05122025/05/10/image_05122025_05_10_14_10344.jpg
/home/pi/Desktop/images/05122025/05/10/image_05122025_05_10_34_9793.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":["1398029074","1398029067","1398029064","1398029072","1398029069","1398029063"],"photo_ids_order":["1398029063","1398029064","1398029067","1398029069","1398029072","1398029074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/574fbea724ecb037dbf55390cbea055d.jpg","text":"TemporaryFile(/tmp/multipartBody4820284613177441335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908103216,"filename":"image_05122025_05_10_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/5/919c9ae635cd4806c33e9a31500fe8b7.jpg","text":"TemporaryFile(/tmp/multipartBody529392946683802394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908103216,"filename":"image_05122025_05_09_44_9511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/79890e3d85b0f91d288a8fbebef56cd1.jpg","text":"TemporaryFile(/tmp/multipartBody3055610932003104881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908103216,"filename":"image_05122025_05_09_34_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cbb17a74c45fac1665b60739e749e20c.jpg","text":"TemporaryFile(/tmp/multipartBody5440532689086235301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908103216,"filename":"image_05122025_05_10_14_10344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80e7465a4fb8f3c14475e05d4a157c07.jpg","text":"TemporaryFile(/tmp/multipartBody8252857798676366501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908103216,"filename":"image_05122025_05_10_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/5/5c191cf378a457cee233f255a95e7c6d.jpg","text":"TemporaryFile(/tmp/multipartBody5061177653294586456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908103216,"filename":"image_05122025_05_09_04_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029067","file1":"1398029064","file0":"1398029063","file4":"1398029072","file5":"1398029074","file3":"1398029069"},"map_files_photo_id_array":[{"photo_id":"1398029074","filename":"file5"},{"photo_id":"1398029067","filename":"file2"},{"photo_id":"1398029072","filename":"file4"},{"photo_id":"1398029064","filename":"file1"},{"photo_id":"1398029063","filename":"file0"},{"photo_id":"1398029069","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029074":["hashtag1","hashtag2"]},{"1398029067":["hashtag1","hashtag2"]},{"1398029064":["hashtag1","hashtag2"]},{"1398029072":["hashtag1","hashtag2"]},{"1398029069":["hashtag1","hashtag2"]},{"1398029063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029074, 1398029067, 1398029064, 1398029072, 1398029069, 1398029063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.084118604660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:15:02.865972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/10/image_05122025_05_10_54_9847.jpg', '/home/pi/Desktop/images/05122025/05/11/image_05122025_05_11_24_10567.jpg', '/home/pi/Desktop/images/05122025/05/11/image_05122025_05_11_44_9725.jpg', '/home/pi/Desktop/images/05122025/05/11/image_05122025_05_11_54_10363.jpg', '/home/pi/Desktop/images/05122025/05/12/image_05122025_05_12_14_9934.jpg', '/home/pi/Desktop/images/05122025/05/12/image_05122025_05_12_24_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/10/image_05122025_05_10_54_9847.jpg
/home/pi/Desktop/images/05122025/05/11/image_05122025_05_11_24_10567.jpg
/home/pi/Desktop/images/05122025/05/11/image_05122025_05_11_44_9725.jpg
/home/pi/Desktop/images/05122025/05/11/image_05122025_05_11_54_10363.jpg
/home/pi/Desktop/images/05122025/05/12/image_05122025_05_12_14_9934.jpg
/home/pi/Desktop/images/05122025/05/12/image_05122025_05_12_24_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029110","1398029112","1398029115","1398029105","1398029095","1398029108"],"photo_ids_order":["1398029095","1398029105","1398029108","1398029110","1398029112","1398029115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78b580015af7c4609d71c852d9a8b993.jpg","text":"TemporaryFile(/tmp/multipartBody3413373893348649689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908163631,"filename":"image_05122025_05_11_54_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/5/38c12982a3dc9bac8dff20689d7f01cf.jpg","text":"TemporaryFile(/tmp/multipartBody1331141059154356032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908163631,"filename":"image_05122025_05_12_14_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/5/4c4797c1f1f4d6978f08ba41b76db6d9.jpg","text":"TemporaryFile(/tmp/multipartBody4491220330912635920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908163631,"filename":"image_05122025_05_12_24_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/5/7f1bb5522874a9a998968acab7e9b7c9.jpg","text":"TemporaryFile(/tmp/multipartBody432943615203468359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908163631,"filename":"image_05122025_05_11_24_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/5/d7020199219a6c11c5283d45cdd5d8c7.jpg","text":"TemporaryFile(/tmp/multipartBody7293314547997180197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908163631,"filename":"image_05122025_05_10_54_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/5/10b0fb4bde37976bccdca3bc1de17320.jpg","text":"TemporaryFile(/tmp/multipartBody782029843860530707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908163631,"filename":"image_05122025_05_11_44_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029108","file1":"1398029105","file0":"1398029095","file4":"1398029112","file5":"1398029115","file3":"1398029110"},"map_files_photo_id_array":[{"photo_id":"1398029115","filename":"file5"},{"photo_id":"1398029108","filename":"file2"},{"photo_id":"1398029112","filename":"file4"},{"photo_id":"1398029105","filename":"file1"},{"photo_id":"1398029095","filename":"file0"},{"photo_id":"1398029110","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029110":["hashtag1","hashtag2"]},{"1398029112":["hashtag1","hashtag2"]},{"1398029115":["hashtag1","hashtag2"]},{"1398029105":["hashtag1","hashtag2"]},{"1398029095":["hashtag1","hashtag2"]},{"1398029108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029110, 1398029112, 1398029115, 1398029105, 1398029095, 1398029108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86245894432068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:15:42.147782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_49_3628.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_52_2681.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_54_2735.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_58_3595.jpg', '/home/pi/Desktop/images/31102025/18/37/image_31102025_18_38_00_2524.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_04_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_49_3628.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_52_2681.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_54_2735.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_37_58_3595.jpg
/home/pi/Desktop/images/31102025/18/37/image_31102025_18_38_00_2524.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_04_3683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029131","1398029128","1398029121","1398029130","1398029124","1398029129"],"photo_ids_order":["1398029121","1398029124","1398029128","1398029129","1398029130","1398029131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc09d4c427aa7f8ad58cf839af910205.jpg","text":"TemporaryFile(/tmp/multipartBody2307549879555535575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908203759,"filename":"image_31102025_18_38_04_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c8a81d24fc4b571c31210b2534b1caef.jpg","text":"TemporaryFile(/tmp/multipartBody2317034090730276703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908203759,"filename":"image_31102025_18_37_54_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/5/8d84cc4aba135ad50ebcc0dca996aa7e.jpg","text":"TemporaryFile(/tmp/multipartBody7330040305081035549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908203759,"filename":"image_31102025_18_37_49_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/5/9e6dceb7bfac9b355b445734bddcdc51.jpg","text":"TemporaryFile(/tmp/multipartBody1948975631488002279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908203759,"filename":"image_31102025_18_38_00_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/5/3c9319804b2e78e328eab25a42d57678.jpg","text":"TemporaryFile(/tmp/multipartBody3231319155636242980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908203759,"filename":"image_31102025_18_37_52_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/5/ad217780f9eef22966d3085c1316601a.jpg","text":"TemporaryFile(/tmp/multipartBody6982779575988760898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908203759,"filename":"image_31102025_18_37_58_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029128","file1":"1398029124","file0":"1398029121","file4":"1398029130","file5":"1398029131","file3":"1398029129"},"map_files_photo_id_array":[{"photo_id":"1398029131","filename":"file5"},{"photo_id":"1398029128","filename":"file2"},{"photo_id":"1398029130","filename":"file4"},{"photo_id":"1398029124","filename":"file1"},{"photo_id":"1398029121","filename":"file0"},{"photo_id":"1398029129","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398029131":["hashtag1","hashtag2"]},{"1398029128":["hashtag1","hashtag2"]},{"1398029121":["hashtag1","hashtag2"]},{"1398029130":["hashtag1","hashtag2"]},{"1398029124":["hashtag1","hashtag2"]},{"1398029129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398029131, 1398029128, 1398029121, 1398029130, 1398029124, 1398029129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84409856796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:16:22.316964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/13/image_05122025_05_13_34_10759.jpg', '/home/pi/Desktop/images/05122025/05/13/image_05122025_05_13_43_9214.jpg', '/home/pi/Desktop/images/05122025/05/15/image_05122025_05_15_54_9706.jpg', '/home/pi/Desktop/images/05122025/05/15/image_05122025_05_16_03_9807.jpg', '/home/pi/Desktop/images/05122025/05/16/image_05122025_05_16_14_10630.jpg', '/home/pi/Desktop/images/05122025/05/16/image_05122025_05_16_24_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/13/image_05122025_05_13_34_10759.jpg
/home/pi/Desktop/images/05122025/05/13/image_05122025_05_13_43_9214.jpg
/home/pi/Desktop/images/05122025/05/15/image_05122025_05_15_54_9706.jpg
/home/pi/Desktop/images/05122025/05/15/image_05122025_05_16_03_9807.jpg
/home/pi/Desktop/images/05122025/05/16/image_05122025_05_16_14_10630.jpg
/home/pi/Desktop/images/05122025/05/16/image_05122025_05_16_24_9865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029140","1398029137","1398029154","1398029148","1398029142","1398029151"],"photo_ids_order":["1398029137","1398029140","1398029142","1398029148","1398029151","1398029154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/71a17e70cbf239fe42693e129b3e7bdb.jpg","text":"TemporaryFile(/tmp/multipartBody7956052353484734177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908243054,"filename":"image_05122025_05_13_43_9214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d3a68e0545498cbcdc85c3557810c1eb.jpg","text":"TemporaryFile(/tmp/multipartBody1163450962783840932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908243054,"filename":"image_05122025_05_13_34_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/5/22bc55309be39c138a0d0420301f5509.jpg","text":"TemporaryFile(/tmp/multipartBody8945729758518920449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908243054,"filename":"image_05122025_05_16_24_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/5/85a8de3d1843f3c2f27b30e859336fa4.jpg","text":"TemporaryFile(/tmp/multipartBody2949308564254042555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908243054,"filename":"image_05122025_05_16_03_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/5/58c70ac3f4c7252871decbd98544bb05.jpg","text":"TemporaryFile(/tmp/multipartBody4676214970826154161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908243054,"filename":"image_05122025_05_15_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4bcdb36d005b142e49c9a88882c064f8.jpg","text":"TemporaryFile(/tmp/multipartBody7119993728234312455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908243054,"filename":"image_05122025_05_16_14_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029142","file1":"1398029140","file0":"1398029137","file4":"1398029151","file5":"1398029154","file3":"1398029148"},"map_files_photo_id_array":[{"photo_id":"1398029154","filename":"file5"},{"photo_id":"1398029142","filename":"file2"},{"photo_id":"1398029151","filename":"file4"},{"photo_id":"1398029140","filename":"file1"},{"photo_id":"1398029137","filename":"file0"},{"photo_id":"1398029148","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029140":["hashtag1","hashtag2"]},{"1398029137":["hashtag1","hashtag2"]},{"1398029154":["hashtag1","hashtag2"]},{"1398029148":["hashtag1","hashtag2"]},{"1398029142":["hashtag1","hashtag2"]},{"1398029151":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029140, 1398029137, 1398029154, 1398029148, 1398029142, 1398029151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64086961746216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:17:03.198837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/40/image_02122025_13_40_35_9744.jpg', '/home/pi/Desktop/images/02122025/13/40/image_02122025_13_40_45_10633.jpg', '/home/pi/Desktop/images/02122025/13/40/image_02122025_13_40_55_9717.jpg', '/home/pi/Desktop/images/02122025/13/41/image_02122025_13_41_15_10699.jpg', '/home/pi/Desktop/images/02122025/13/41/image_02122025_13_41_35_9791.jpg', '/home/pi/Desktop/images/02122025/13/41/image_02122025_13_41_45_10549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/40/image_02122025_13_40_35_9744.jpg
/home/pi/Desktop/images/02122025/13/40/image_02122025_13_40_45_10633.jpg
/home/pi/Desktop/images/02122025/13/40/image_02122025_13_40_55_9717.jpg
/home/pi/Desktop/images/02122025/13/41/image_02122025_13_41_15_10699.jpg
/home/pi/Desktop/images/02122025/13/41/image_02122025_13_41_35_9791.jpg
/home/pi/Desktop/images/02122025/13/41/image_02122025_13_41_45_10549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029173","1398029167","1398029175","1398029169","1398029171","1398029161"],"photo_ids_order":["1398029161","1398029167","1398029169","1398029171","1398029173","1398029175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/848aa84f4a87aa49ef47a97dccbf8431.jpg","text":"TemporaryFile(/tmp/multipartBody8494944451109052864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908284832,"filename":"image_02122025_13_41_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/5/9ad7652891301d81e4008c81eb521484.jpg","text":"TemporaryFile(/tmp/multipartBody1747166924021300053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908284832,"filename":"image_02122025_13_40_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/5/a9cc69e396a2efb2351adbea4c41a4ee.jpg","text":"TemporaryFile(/tmp/multipartBody854847108322169752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908284832,"filename":"image_02122025_13_41_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/5/824235b3323555410bb555fd4f412359.jpg","text":"TemporaryFile(/tmp/multipartBody1646314470569443015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908284832,"filename":"image_02122025_13_40_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/5/4f0113b3694dc747d7a5166aaa9244ad.jpg","text":"TemporaryFile(/tmp/multipartBody6822254001300243373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908284832,"filename":"image_02122025_13_41_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/008036ff39d9a3cee171a8d71b919c00.jpg","text":"TemporaryFile(/tmp/multipartBody6101459530988587487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908284832,"filename":"image_02122025_13_40_35_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029169","file1":"1398029167","file0":"1398029161","file4":"1398029173","file5":"1398029175","file3":"1398029171"},"map_files_photo_id_array":[{"photo_id":"1398029175","filename":"file5"},{"photo_id":"1398029169","filename":"file2"},{"photo_id":"1398029173","filename":"file4"},{"photo_id":"1398029167","filename":"file1"},{"photo_id":"1398029161","filename":"file0"},{"photo_id":"1398029171","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029173":["hashtag1","hashtag2"]},{"1398029167":["hashtag1","hashtag2"]},{"1398029175":["hashtag1","hashtag2"]},{"1398029169":["hashtag1","hashtag2"]},{"1398029171":["hashtag1","hashtag2"]},{"1398029161":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029173, 1398029167, 1398029175, 1398029169, 1398029171, 1398029161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40452599525452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:17:42.519507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_07_2694.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_10_2782.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_13_3561.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_16_2778.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_19_2651.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_21_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_07_2694.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_10_2782.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_13_3561.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_16_2778.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_19_2651.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_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":["1398029191","1398029190","1398029193","1398029192","1398029186","1398029189"],"photo_ids_order":["1398029186","1398029189","1398029190","1398029191","1398029192","1398029193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c28af3bd5a22af080aa12cf02090e8b7.jpg","text":"TemporaryFile(/tmp/multipartBody6145349491038631456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908324106,"filename":"image_31102025_18_38_16_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/5/f6419a416bf63442276154f6e8c6fb40.jpg","text":"TemporaryFile(/tmp/multipartBody3008215404469263261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908324106,"filename":"image_31102025_18_38_13_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/5/c26cadf60bc9d1be9f77fa35047fa5bd.jpg","text":"TemporaryFile(/tmp/multipartBody3095580663492120566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908324106,"filename":"image_31102025_18_38_21_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/5/634141f2171d1bb30e920794dfbb9bc7.jpg","text":"TemporaryFile(/tmp/multipartBody8345271220763441381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908324106,"filename":"image_31102025_18_38_19_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/5/f62a45805e1d1a5d15e0e1ca5d5319f7.jpg","text":"TemporaryFile(/tmp/multipartBody4429539496978553710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908324106,"filename":"image_31102025_18_38_07_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d772def7eaa1177205528c591216ae8a.jpg","text":"TemporaryFile(/tmp/multipartBody8880363118257068689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908324106,"filename":"image_31102025_18_38_10_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029190","file1":"1398029189","file0":"1398029186","file4":"1398029192","file5":"1398029193","file3":"1398029191"},"map_files_photo_id_array":[{"photo_id":"1398029193","filename":"file5"},{"photo_id":"1398029190","filename":"file2"},{"photo_id":"1398029192","filename":"file4"},{"photo_id":"1398029189","filename":"file1"},{"photo_id":"1398029186","filename":"file0"},{"photo_id":"1398029191","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398029191":["hashtag1","hashtag2"]},{"1398029190":["hashtag1","hashtag2"]},{"1398029193":["hashtag1","hashtag2"]},{"1398029192":["hashtag1","hashtag2"]},{"1398029186":["hashtag1","hashtag2"]},{"1398029189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398029191, 1398029190, 1398029193, 1398029192, 1398029186, 1398029189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.224714040756226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:18:22.686395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/16/image_05122025_05_16_44_10690.jpg', '/home/pi/Desktop/images/05122025/05/17/image_05122025_05_17_24_10715.jpg', '/home/pi/Desktop/images/05122025/05/17/image_05122025_05_17_34_9776.jpg', '/home/pi/Desktop/images/05122025/05/17/image_05122025_05_17_44_9770.jpg', '/home/pi/Desktop/images/05122025/05/17/image_05122025_05_17_54_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/16/image_05122025_05_16_44_10690.jpg
/home/pi/Desktop/images/05122025/05/17/image_05122025_05_17_24_10715.jpg
/home/pi/Desktop/images/05122025/05/17/image_05122025_05_17_34_9776.jpg
/home/pi/Desktop/images/05122025/05/17/image_05122025_05_17_44_9770.jpg
/home/pi/Desktop/images/05122025/05/17/image_05122025_05_17_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":["1398029199","1398029205","1398029208","1398029210","1398029204"],"photo_ids_order":["1398029199","1398029204","1398029205","1398029208","1398029210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b70e48ed55b46811312fc61095639f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6129581097032291870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908363384,"filename":"image_05122025_05_16_44_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/5/2248f752d777e4a59ec880796688a9e6.jpg","text":"TemporaryFile(/tmp/multipartBody3765795851999978698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908363384,"filename":"image_05122025_05_17_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/5/7e8c97bd93cfbd29f4bb40bfd62c29cc.jpg","text":"TemporaryFile(/tmp/multipartBody9111211508599203655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908363384,"filename":"image_05122025_05_17_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/5/35f6f74717cff2d8d82d935602f244c0.jpg","text":"TemporaryFile(/tmp/multipartBody5715922639356400566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908363384,"filename":"image_05122025_05_17_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/5/1652112d4b6394d706b6e7587be5d998.jpg","text":"TemporaryFile(/tmp/multipartBody4072439853270909493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908363384,"filename":"image_05122025_05_17_24_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029205","file1":"1398029204","file0":"1398029199","file4":"1398029210","file3":"1398029208"},"map_files_photo_id_array":[{"photo_id":"1398029205","filename":"file2"},{"photo_id":"1398029210","filename":"file4"},{"photo_id":"1398029204","filename":"file1"},{"photo_id":"1398029199","filename":"file0"},{"photo_id":"1398029208","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029199":["hashtag1","hashtag2"]},{"1398029205":["hashtag1","hashtag2"]},{"1398029208":["hashtag1","hashtag2"]},{"1398029210":["hashtag1","hashtag2"]},{"1398029204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029199, 1398029205, 1398029208, 1398029210, 1398029204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.7050986289978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:19:02.643225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/41/image_02122025_13_41_55_9641.jpg', '/home/pi/Desktop/images/02122025/13/41/image_02122025_13_42_05_9653.jpg', '/home/pi/Desktop/images/02122025/13/42/image_02122025_13_42_15_10630.jpg', '/home/pi/Desktop/images/02122025/13/42/image_02122025_13_42_34_9705.jpg', '/home/pi/Desktop/images/02122025/13/42/image_02122025_13_42_55_9745.jpg', '/home/pi/Desktop/images/02122025/13/43/image_02122025_13_43_15_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/41/image_02122025_13_41_55_9641.jpg
/home/pi/Desktop/images/02122025/13/41/image_02122025_13_42_05_9653.jpg
/home/pi/Desktop/images/02122025/13/42/image_02122025_13_42_15_10630.jpg
/home/pi/Desktop/images/02122025/13/42/image_02122025_13_42_34_9705.jpg
/home/pi/Desktop/images/02122025/13/42/image_02122025_13_42_55_9745.jpg
/home/pi/Desktop/images/02122025/13/43/image_02122025_13_43_15_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029230","1398029224","1398029218","1398029227","1398029222","1398029219"],"photo_ids_order":["1398029218","1398029219","1398029222","1398029224","1398029227","1398029230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/430f402523d667fa49ac14e8df0198a4.jpg","text":"TemporaryFile(/tmp/multipartBody7162601142779451463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908407050,"filename":"image_02122025_13_43_15_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/5/81420c69ae8d91656927c25cc34c37a6.jpg","text":"TemporaryFile(/tmp/multipartBody4956478696915349417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908407050,"filename":"image_02122025_13_42_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dfffbd55b7a8f2ed9bf48911db151aac.jpg","text":"TemporaryFile(/tmp/multipartBody6601174431128919507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908407050,"filename":"image_02122025_13_41_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c9c836bff2e971d58c408bf5c9a084a.jpg","text":"TemporaryFile(/tmp/multipartBody2000796182968005580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908407050,"filename":"image_02122025_13_42_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/5/f9f9a4680e024d407c4ced9b02b7ee63.jpg","text":"TemporaryFile(/tmp/multipartBody1381248401614700809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908407050,"filename":"image_02122025_13_42_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/5/fb6100894597c7e770c72d85c7838bfc.jpg","text":"TemporaryFile(/tmp/multipartBody4346625187228666839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908407050,"filename":"image_02122025_13_42_05_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029222","file1":"1398029219","file0":"1398029218","file4":"1398029227","file5":"1398029230","file3":"1398029224"},"map_files_photo_id_array":[{"photo_id":"1398029230","filename":"file5"},{"photo_id":"1398029222","filename":"file2"},{"photo_id":"1398029227","filename":"file4"},{"photo_id":"1398029219","filename":"file1"},{"photo_id":"1398029218","filename":"file0"},{"photo_id":"1398029224","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029230":["hashtag1","hashtag2"]},{"1398029224":["hashtag1","hashtag2"]},{"1398029218":["hashtag1","hashtag2"]},{"1398029227":["hashtag1","hashtag2"]},{"1398029222":["hashtag1","hashtag2"]},{"1398029219":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029230, 1398029224, 1398029218, 1398029227, 1398029222, 1398029219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15781283378601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:20:02.653536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/17/image_05122025_05_18_04_10798.jpg', '/home/pi/Desktop/images/05122025/05/19/image_05122025_05_19_34_10657.jpg', '/home/pi/Desktop/images/05122025/05/19/image_05122025_05_19_44_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/17/image_05122025_05_18_04_10798.jpg
/home/pi/Desktop/images/05122025/05/19/image_05122025_05_19_34_10657.jpg
/home/pi/Desktop/images/05122025/05/19/image_05122025_05_19_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":["1398029242","1398029244","1398029243"],"photo_ids_order":["1398029242","1398029243","1398029244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2eddc8aded1c1b973c9b603515a77275.jpg","text":"TemporaryFile(/tmp/multipartBody7409320334436639600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908463254,"filename":"image_05122025_05_18_04_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/5/701a7119642622c344629d2a770d17f1.jpg","text":"TemporaryFile(/tmp/multipartBody5888506481708751620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908463254,"filename":"image_05122025_05_19_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/5/15bd917c0ccec43fdbd1e82ea86a0b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6075067159380389110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908463254,"filename":"image_05122025_05_19_34_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029244","file1":"1398029243","file0":"1398029242"},"map_files_photo_id_array":[{"photo_id":"1398029244","filename":"file2"},{"photo_id":"1398029243","filename":"file1"},{"photo_id":"1398029242","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029242":["hashtag1","hashtag2"]},{"1398029244":["hashtag1","hashtag2"]},{"1398029243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029242, 1398029244, 1398029243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.26186752319336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:20:32.225095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/43/image_02122025_13_43_25_9683.jpg', '/home/pi/Desktop/images/02122025/13/43/image_02122025_13_43_35_9623.jpg', '/home/pi/Desktop/images/02122025/13/43/image_02122025_13_43_45_10635.jpg', '/home/pi/Desktop/images/02122025/13/43/image_02122025_13_43_55_9645.jpg', '/home/pi/Desktop/images/02122025/13/43/image_02122025_13_44_05_9665.jpg', '/home/pi/Desktop/images/02122025/13/44/image_02122025_13_44_15_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/43/image_02122025_13_43_25_9683.jpg
/home/pi/Desktop/images/02122025/13/43/image_02122025_13_43_35_9623.jpg
/home/pi/Desktop/images/02122025/13/43/image_02122025_13_43_45_10635.jpg
/home/pi/Desktop/images/02122025/13/43/image_02122025_13_43_55_9645.jpg
/home/pi/Desktop/images/02122025/13/43/image_02122025_13_44_05_9665.jpg
/home/pi/Desktop/images/02122025/13/44/image_02122025_13_44_15_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029278","1398029257","1398029277","1398029273","1398029252","1398029254"],"photo_ids_order":["1398029252","1398029254","1398029257","1398029273","1398029277","1398029278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5d245a06305a80d7ed33028f342cce4.jpg","text":"TemporaryFile(/tmp/multipartBody9016669059828722996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908494468,"filename":"image_02122025_13_44_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/58e08997dbd47fa0be3f34396b993b98.jpg","text":"TemporaryFile(/tmp/multipartBody750582142320065806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908494468,"filename":"image_02122025_13_43_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3df3310f67548b591c58f4a36c5f1cb6.jpg","text":"TemporaryFile(/tmp/multipartBody987365558335452183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908494468,"filename":"image_02122025_13_44_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/5/9bb116460647d3f6d4fc8794616b3a01.jpg","text":"TemporaryFile(/tmp/multipartBody2676825397317763991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908494468,"filename":"image_02122025_13_43_55_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/5/1f598bda9d164ea40420b9745951f515.jpg","text":"TemporaryFile(/tmp/multipartBody607625775345183843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908494468,"filename":"image_02122025_13_43_25_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/5/bad858a1d8624607c356a88864a72c45.jpg","text":"TemporaryFile(/tmp/multipartBody5717851598945290315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908494468,"filename":"image_02122025_13_43_35_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029257","file1":"1398029254","file0":"1398029252","file4":"1398029277","file5":"1398029278","file3":"1398029273"},"map_files_photo_id_array":[{"photo_id":"1398029278","filename":"file5"},{"photo_id":"1398029257","filename":"file2"},{"photo_id":"1398029277","filename":"file4"},{"photo_id":"1398029254","filename":"file1"},{"photo_id":"1398029252","filename":"file0"},{"photo_id":"1398029273","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029278":["hashtag1","hashtag2"]},{"1398029257":["hashtag1","hashtag2"]},{"1398029277":["hashtag1","hashtag2"]},{"1398029273":["hashtag1","hashtag2"]},{"1398029252":["hashtag1","hashtag2"]},{"1398029254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029278, 1398029257, 1398029277, 1398029273, 1398029252, 1398029254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61694312095642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:21:12.234101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/44/image_02122025_13_44_25_9703.jpg', '/home/pi/Desktop/images/02122025/13/44/image_02122025_13_44_35_9811.jpg', '/home/pi/Desktop/images/02122025/13/44/image_02122025_13_44_45_9860.jpg', '/home/pi/Desktop/images/02122025/13/44/image_02122025_13_45_05_9781.jpg', '/home/pi/Desktop/images/02122025/13/45/image_02122025_13_45_15_9919.jpg', '/home/pi/Desktop/images/02122025/13/45/image_02122025_13_45_45_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/44/image_02122025_13_44_25_9703.jpg
/home/pi/Desktop/images/02122025/13/44/image_02122025_13_44_35_9811.jpg
/home/pi/Desktop/images/02122025/13/44/image_02122025_13_44_45_9860.jpg
/home/pi/Desktop/images/02122025/13/44/image_02122025_13_45_05_9781.jpg
/home/pi/Desktop/images/02122025/13/45/image_02122025_13_45_15_9919.jpg
/home/pi/Desktop/images/02122025/13/45/image_02122025_13_45_45_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029302","1398029304","1398029297","1398029291","1398029300","1398029293"],"photo_ids_order":["1398029291","1398029293","1398029297","1398029300","1398029302","1398029304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80e95b0d2e81f45a999297ae6f01ce1b.jpg","text":"TemporaryFile(/tmp/multipartBody3774441443532550931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908534365,"filename":"image_02122025_13_45_15_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/5/a6431d1993fbdea2a3ed54c4c6f880f8.jpg","text":"TemporaryFile(/tmp/multipartBody3532962233945663450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908534365,"filename":"image_02122025_13_45_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/5/28b02876ac5a02a4a1a4ba11c544704b.jpg","text":"TemporaryFile(/tmp/multipartBody1488010519835901360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908534365,"filename":"image_02122025_13_44_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/5/fbd75137ea943640589087157090b705.jpg","text":"TemporaryFile(/tmp/multipartBody5114579796800874160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908534365,"filename":"image_02122025_13_44_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/5/350406d4a2e1f0d3bb099deb1f8b9704.jpg","text":"TemporaryFile(/tmp/multipartBody456869094212606106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908534365,"filename":"image_02122025_13_45_05_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/5/40ef13d6cbdc619b37eb7c01a0f0126e.jpg","text":"TemporaryFile(/tmp/multipartBody5942922149089344299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908534365,"filename":"image_02122025_13_44_35_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029297","file1":"1398029293","file0":"1398029291","file4":"1398029302","file5":"1398029304","file3":"1398029300"},"map_files_photo_id_array":[{"photo_id":"1398029304","filename":"file5"},{"photo_id":"1398029297","filename":"file2"},{"photo_id":"1398029302","filename":"file4"},{"photo_id":"1398029293","filename":"file1"},{"photo_id":"1398029291","filename":"file0"},{"photo_id":"1398029300","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029302":["hashtag1","hashtag2"]},{"1398029304":["hashtag1","hashtag2"]},{"1398029297":["hashtag1","hashtag2"]},{"1398029291":["hashtag1","hashtag2"]},{"1398029300":["hashtag1","hashtag2"]},{"1398029293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029302, 1398029304, 1398029297, 1398029291, 1398029300, 1398029293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51107168197632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:22:03.035413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/19/image_05122025_05_19_54_9780.jpg', '/home/pi/Desktop/images/05122025/05/20/image_05122025_05_20_14_10781.jpg', '/home/pi/Desktop/images/05122025/05/20/image_05122025_05_20_24_9688.jpg', '/home/pi/Desktop/images/05122025/05/20/image_05122025_05_20_44_10621.jpg', '/home/pi/Desktop/images/05122025/05/20/image_05122025_05_20_54_9812.jpg', '/home/pi/Desktop/images/05122025/05/20/image_05122025_05_21_04_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/19/image_05122025_05_19_54_9780.jpg
/home/pi/Desktop/images/05122025/05/20/image_05122025_05_20_14_10781.jpg
/home/pi/Desktop/images/05122025/05/20/image_05122025_05_20_24_9688.jpg
/home/pi/Desktop/images/05122025/05/20/image_05122025_05_20_44_10621.jpg
/home/pi/Desktop/images/05122025/05/20/image_05122025_05_20_54_9812.jpg
/home/pi/Desktop/images/05122025/05/20/image_05122025_05_21_04_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029311","1398029331","1398029319","1398029313","1398029336","1398029324"],"photo_ids_order":["1398029311","1398029313","1398029319","1398029324","1398029331","1398029336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9d5f1025fa4fb3c436cf4c43c69368cd.jpg","text":"TemporaryFile(/tmp/multipartBody7273129119343390934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908583781,"filename":"image_05122025_05_19_54_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5dda6ee6084ba6b7553ca26023e5e6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5952529255405577109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908583781,"filename":"image_05122025_05_20_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/5/766b148fa7f56436863a04a614830646.jpg","text":"TemporaryFile(/tmp/multipartBody1538583729894527111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908583781,"filename":"image_05122025_05_20_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/5/6d38d94da5e7bd7795d36ed4c4da41d2.jpg","text":"TemporaryFile(/tmp/multipartBody1322991108449863141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908583781,"filename":"image_05122025_05_20_14_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/5/11f952d41a802143f88b018d05fdbdfd.jpg","text":"TemporaryFile(/tmp/multipartBody2516908819830484153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908583781,"filename":"image_05122025_05_21_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/5/a19fda0e51b114f74b503419acfef759.jpg","text":"TemporaryFile(/tmp/multipartBody5920654025965499725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908583781,"filename":"image_05122025_05_20_44_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029319","file1":"1398029313","file0":"1398029311","file4":"1398029331","file5":"1398029336","file3":"1398029324"},"map_files_photo_id_array":[{"photo_id":"1398029336","filename":"file5"},{"photo_id":"1398029319","filename":"file2"},{"photo_id":"1398029331","filename":"file4"},{"photo_id":"1398029313","filename":"file1"},{"photo_id":"1398029311","filename":"file0"},{"photo_id":"1398029324","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029311":["hashtag1","hashtag2"]},{"1398029331":["hashtag1","hashtag2"]},{"1398029319":["hashtag1","hashtag2"]},{"1398029313":["hashtag1","hashtag2"]},{"1398029336":["hashtag1","hashtag2"]},{"1398029324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029311, 1398029331, 1398029319, 1398029313, 1398029336, 1398029324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45254182815552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:22:42.572546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_25_3567.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_28_2614.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_30_2766.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_34_3715.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_37_2771.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_43_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_25_3567.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_28_2614.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_30_2766.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_34_3715.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_37_2771.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_43_3638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029385","1398029379","1398029388","1398029349","1398029345","1398029348"],"photo_ids_order":["1398029345","1398029348","1398029349","1398029379","1398029385","1398029388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/28adf9786b5d66c51b44a8eab49ae223.jpg","text":"TemporaryFile(/tmp/multipartBody6140258132667534339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908624188,"filename":"image_31102025_18_38_37_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/5/47dcb74f19b2049285ac3c5e949dabb5.jpg","text":"TemporaryFile(/tmp/multipartBody3644304183108992298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908624188,"filename":"image_31102025_18_38_34_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6353389213037ab3ae66d14d659537dc.jpg","text":"TemporaryFile(/tmp/multipartBody992749766449034080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908624188,"filename":"image_31102025_18_38_43_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/24d6303d7a3d33e7150a34df0c2a1d64.jpg","text":"TemporaryFile(/tmp/multipartBody3506121072797863916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908624188,"filename":"image_31102025_18_38_30_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/5/6de45dfc6de72a99eb72f3a41eac1869.jpg","text":"TemporaryFile(/tmp/multipartBody4953958830783114434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908624188,"filename":"image_31102025_18_38_25_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/5/374e5940dc48c50076a50bf254bcabf3.jpg","text":"TemporaryFile(/tmp/multipartBody5185477121284510296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908624188,"filename":"image_31102025_18_38_28_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029349","file1":"1398029348","file0":"1398029345","file4":"1398029385","file5":"1398029388","file3":"1398029379"},"map_files_photo_id_array":[{"photo_id":"1398029388","filename":"file5"},{"photo_id":"1398029349","filename":"file2"},{"photo_id":"1398029385","filename":"file4"},{"photo_id":"1398029348","filename":"file1"},{"photo_id":"1398029345","filename":"file0"},{"photo_id":"1398029379","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398029385":["hashtag1","hashtag2"]},{"1398029379":["hashtag1","hashtag2"]},{"1398029388":["hashtag1","hashtag2"]},{"1398029349":["hashtag1","hashtag2"]},{"1398029345":["hashtag1","hashtag2"]},{"1398029348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398029385, 1398029379, 1398029388, 1398029349, 1398029345, 1398029348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50582265853882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:23:22.737356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/21/image_05122025_05_21_13_9847.jpg', '/home/pi/Desktop/images/05122025/05/21/image_05122025_05_21_24_10718.jpg', '/home/pi/Desktop/images/05122025/05/21/image_05122025_05_21_34_9669.jpg', '/home/pi/Desktop/images/05122025/05/21/image_05122025_05_21_43_9644.jpg', '/home/pi/Desktop/images/05122025/05/21/image_05122025_05_21_54_10672.jpg', '/home/pi/Desktop/images/05122025/05/21/image_05122025_05_22_04_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/21/image_05122025_05_21_13_9847.jpg
/home/pi/Desktop/images/05122025/05/21/image_05122025_05_21_24_10718.jpg
/home/pi/Desktop/images/05122025/05/21/image_05122025_05_21_34_9669.jpg
/home/pi/Desktop/images/05122025/05/21/image_05122025_05_21_43_9644.jpg
/home/pi/Desktop/images/05122025/05/21/image_05122025_05_21_54_10672.jpg
/home/pi/Desktop/images/05122025/05/21/image_05122025_05_22_04_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029400","1398029403","1398029406","1398029411","1398029414","1398029408"],"photo_ids_order":["1398029400","1398029403","1398029406","1398029408","1398029411","1398029414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/14c01291499c8160c1d3f931b49ee4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7470154352815772188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908663520,"filename":"image_05122025_05_21_13_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/5/ce70e81e7a2c6eea538bb79d4c465cee.jpg","text":"TemporaryFile(/tmp/multipartBody4255731060876734128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908663520,"filename":"image_05122025_05_21_24_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/5/75f2010d21a9725e97d6ca0f47c95d0a.jpg","text":"TemporaryFile(/tmp/multipartBody6169929526957342507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908663520,"filename":"image_05122025_05_21_34_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e01449bca0dfb2fe71406c0b9ab000c.jpg","text":"TemporaryFile(/tmp/multipartBody3855229938727010892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908663520,"filename":"image_05122025_05_21_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/5/96421130cf9c86f98ebf61ef6e60d1f4.jpg","text":"TemporaryFile(/tmp/multipartBody3897075408719641656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908663520,"filename":"image_05122025_05_22_04_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f29eca5eb00cb773f3612c8da346ac05.jpg","text":"TemporaryFile(/tmp/multipartBody1949928928402821923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908663520,"filename":"image_05122025_05_21_43_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029406","file1":"1398029403","file0":"1398029400","file4":"1398029411","file5":"1398029414","file3":"1398029408"},"map_files_photo_id_array":[{"photo_id":"1398029414","filename":"file5"},{"photo_id":"1398029406","filename":"file2"},{"photo_id":"1398029411","filename":"file4"},{"photo_id":"1398029403","filename":"file1"},{"photo_id":"1398029400","filename":"file0"},{"photo_id":"1398029408","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029400":["hashtag1","hashtag2"]},{"1398029403":["hashtag1","hashtag2"]},{"1398029406":["hashtag1","hashtag2"]},{"1398029411":["hashtag1","hashtag2"]},{"1398029414":["hashtag1","hashtag2"]},{"1398029408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029400, 1398029403, 1398029406, 1398029411, 1398029414, 1398029408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.906068086624146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:24:02.610925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/22/image_05122025_05_22_54_9749.jpg', '/home/pi/Desktop/images/05122025/05/22/image_05122025_05_23_04_10757.jpg', '/home/pi/Desktop/images/05122025/05/23/image_05122025_05_23_14_9775.jpg', '/home/pi/Desktop/images/05122025/05/23/image_05122025_05_23_24_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/22/image_05122025_05_22_54_9749.jpg
/home/pi/Desktop/images/05122025/05/22/image_05122025_05_23_04_10757.jpg
/home/pi/Desktop/images/05122025/05/23/image_05122025_05_23_14_9775.jpg
/home/pi/Desktop/images/05122025/05/23/image_05122025_05_23_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":["1398029422","1398029416","1398029418","1398029420"],"photo_ids_order":["1398029416","1398029418","1398029420","1398029422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/31ca062f3ceb1d79b90e45274f7eedd9.jpg","text":"TemporaryFile(/tmp/multipartBody7686581163577082936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908703266,"filename":"image_05122025_05_23_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/5/fa2d482a198399f83ee7b546bf40a629.jpg","text":"TemporaryFile(/tmp/multipartBody7384274175147513265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908703266,"filename":"image_05122025_05_22_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/5/f44f6ae2109b5a027d9cdc069cc19dac.jpg","text":"TemporaryFile(/tmp/multipartBody7901994710135867949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908703266,"filename":"image_05122025_05_23_04_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff118e41504ca5d08ada67fb7c51ad4a.jpg","text":"TemporaryFile(/tmp/multipartBody2940781442245397543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908703266,"filename":"image_05122025_05_23_14_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029420","file1":"1398029418","file0":"1398029416","file3":"1398029422"},"map_files_photo_id_array":[{"photo_id":"1398029420","filename":"file2"},{"photo_id":"1398029418","filename":"file1"},{"photo_id":"1398029416","filename":"file0"},{"photo_id":"1398029422","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029422":["hashtag1","hashtag2"]},{"1398029416":["hashtag1","hashtag2"]},{"1398029418":["hashtag1","hashtag2"]},{"1398029420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029422, 1398029416, 1398029418, 1398029420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.957767009735107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:24:32.134462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/46/image_02122025_13_46_25_9678.jpg', '/home/pi/Desktop/images/02122025/13/46/image_02122025_13_47_05_10689.jpg', '/home/pi/Desktop/images/02122025/13/47/image_02122025_13_47_45_9615.jpg', '/home/pi/Desktop/images/02122025/13/47/image_02122025_13_47_55_9687.jpg', '/home/pi/Desktop/images/02122025/13/47/image_02122025_13_48_05_10778.jpg', '/home/pi/Desktop/images/02122025/13/48/image_02122025_13_48_15_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/46/image_02122025_13_46_25_9678.jpg
/home/pi/Desktop/images/02122025/13/46/image_02122025_13_47_05_10689.jpg
/home/pi/Desktop/images/02122025/13/47/image_02122025_13_47_45_9615.jpg
/home/pi/Desktop/images/02122025/13/47/image_02122025_13_47_55_9687.jpg
/home/pi/Desktop/images/02122025/13/47/image_02122025_13_48_05_10778.jpg
/home/pi/Desktop/images/02122025/13/48/image_02122025_13_48_15_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: 2.1106691360473633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:24:41.949950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_46_2671.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_48_2540.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_52_3804.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_55_2600.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_57_2668.jpg', '/home/pi/Desktop/images/31102025/18/38/image_31102025_18_39_01_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_46_2671.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_48_2540.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_52_3804.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_55_2600.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_38_57_2668.jpg
/home/pi/Desktop/images/31102025/18/38/image_31102025_18_39_01_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":["1398029434","1398029446","1398029445","1398029438","1398029447","1398029441"],"photo_ids_order":["1398029434","1398029438","1398029441","1398029445","1398029446","1398029447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22305fc81f4abae37fe55d1a7c0f4306.jpg","text":"TemporaryFile(/tmp/multipartBody2014624166535222361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908743564,"filename":"image_31102025_18_38_46_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/5/c4d8a1ca57203201b1846d614a173c52.jpg","text":"TemporaryFile(/tmp/multipartBody4835351758938430017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908743564,"filename":"image_31102025_18_38_57_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/5/80677d9a39c92659317370774b13e067.jpg","text":"TemporaryFile(/tmp/multipartBody1241473459438317455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908743564,"filename":"image_31102025_18_38_55_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/5/4f11d1be1b1a375d3891cb1783dcc3e9.jpg","text":"TemporaryFile(/tmp/multipartBody6565102132741314185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908743564,"filename":"image_31102025_18_38_48_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/5/1928725c529acf726c59a9316295dd7a.jpg","text":"TemporaryFile(/tmp/multipartBody4292865828175946756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908743564,"filename":"image_31102025_18_39_01_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/5/250ae237f3ff4e01a9408123a600b10c.jpg","text":"TemporaryFile(/tmp/multipartBody5945695840442524097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908743564,"filename":"image_31102025_18_38_52_3804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029441","file1":"1398029438","file0":"1398029434","file4":"1398029446","file5":"1398029447","file3":"1398029445"},"map_files_photo_id_array":[{"photo_id":"1398029447","filename":"file5"},{"photo_id":"1398029441","filename":"file2"},{"photo_id":"1398029446","filename":"file4"},{"photo_id":"1398029438","filename":"file1"},{"photo_id":"1398029434","filename":"file0"},{"photo_id":"1398029445","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398029434":["hashtag1","hashtag2"]},{"1398029446":["hashtag1","hashtag2"]},{"1398029445":["hashtag1","hashtag2"]},{"1398029438":["hashtag1","hashtag2"]},{"1398029447":["hashtag1","hashtag2"]},{"1398029441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398029434, 1398029446, 1398029445, 1398029438, 1398029447, 1398029441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74001169204712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:25:22.129048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/23/image_05122025_05_23_44_10576.jpg', '/home/pi/Desktop/images/05122025/05/23/image_05122025_05_24_04_9974.jpg', '/home/pi/Desktop/images/05122025/05/24/image_05122025_05_24_13_9706.jpg', '/home/pi/Desktop/images/05122025/05/24/image_05122025_05_24_34_9726.jpg', '/home/pi/Desktop/images/05122025/05/24/image_05122025_05_24_43_9653.jpg', '/home/pi/Desktop/images/05122025/05/25/image_05122025_05_25_14_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/23/image_05122025_05_23_44_10576.jpg
/home/pi/Desktop/images/05122025/05/23/image_05122025_05_24_04_9974.jpg
/home/pi/Desktop/images/05122025/05/24/image_05122025_05_24_13_9706.jpg
/home/pi/Desktop/images/05122025/05/24/image_05122025_05_24_34_9726.jpg
/home/pi/Desktop/images/05122025/05/24/image_05122025_05_24_43_9653.jpg
/home/pi/Desktop/images/05122025/05/25/image_05122025_05_25_14_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029458","1398029460","1398029462","1398029456","1398029465","1398029453"],"photo_ids_order":["1398029453","1398029456","1398029458","1398029460","1398029462","1398029465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6ca08b602748f054efc452f097082d70.jpg","text":"TemporaryFile(/tmp/multipartBody7266185943990351342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908782907,"filename":"image_05122025_05_24_13_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/5/a83879f000ffa3be2965cad3c82f533b.jpg","text":"TemporaryFile(/tmp/multipartBody1587574432483861200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908782907,"filename":"image_05122025_05_24_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/5/f6d8e1e63389f39f36317bccfe156352.jpg","text":"TemporaryFile(/tmp/multipartBody7820667794157868471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908782907,"filename":"image_05122025_05_24_43_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/5/d72f5114c8c15a1eb3b9b832ca8574a3.jpg","text":"TemporaryFile(/tmp/multipartBody5737803711409645469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908782907,"filename":"image_05122025_05_24_04_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/5/81754ab4e2475a3cb8a2247e225ef79b.jpg","text":"TemporaryFile(/tmp/multipartBody6404116462529445114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908782907,"filename":"image_05122025_05_25_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/5/48a56d145d6aa5247180143b61dbe42c.jpg","text":"TemporaryFile(/tmp/multipartBody8055014063112882363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908782907,"filename":"image_05122025_05_23_44_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029458","file1":"1398029456","file0":"1398029453","file4":"1398029462","file5":"1398029465","file3":"1398029460"},"map_files_photo_id_array":[{"photo_id":"1398029465","filename":"file5"},{"photo_id":"1398029458","filename":"file2"},{"photo_id":"1398029462","filename":"file4"},{"photo_id":"1398029456","filename":"file1"},{"photo_id":"1398029453","filename":"file0"},{"photo_id":"1398029460","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029458":["hashtag1","hashtag2"]},{"1398029460":["hashtag1","hashtag2"]},{"1398029462":["hashtag1","hashtag2"]},{"1398029456":["hashtag1","hashtag2"]},{"1398029465":["hashtag1","hashtag2"]},{"1398029453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029458, 1398029460, 1398029462, 1398029456, 1398029465, 1398029453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93569469451904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:26:02.757604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/25/image_05122025_05_25_24_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/25/image_05122025_05_25_24_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029466"],"photo_id":"1398029466","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3637efa723d1f978ce37b4a60bed8983.jpg","text":"TemporaryFile(/tmp/multipartBody4828576479954041981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908823225,"filename":"image_05122025_05_25_24_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398029466"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398029466"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.844557046890259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:26:22.349916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/25/image_05122025_05_25_34_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/25/image_05122025_05_25_34_9981.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029471"],"photo_id":"1398029471","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a66487f02262c109624ffa10d0a78454.jpg","text":"TemporaryFile(/tmp/multipartBody8076279517956261152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908842854,"filename":"image_05122025_05_25_34_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398029471"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398029471"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.368625164031982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:26:42.313309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_04_2677.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_06_2664.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_10_3658.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_13_2729.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_19_3577.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_22_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_04_2677.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_06_2664.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_10_3658.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_13_2729.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_19_3577.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_22_2861.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5295443534851074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:27:03.141424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/46/image_02122025_13_46_25_9678.jpg', '/home/pi/Desktop/images/02122025/13/46/image_02122025_13_47_05_10689.jpg', '/home/pi/Desktop/images/02122025/13/47/image_02122025_13_47_45_9615.jpg', '/home/pi/Desktop/images/02122025/13/47/image_02122025_13_47_55_9687.jpg', '/home/pi/Desktop/images/02122025/13/47/image_02122025_13_48_05_10778.jpg', '/home/pi/Desktop/images/02122025/13/48/image_02122025_13_48_15_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/46/image_02122025_13_46_25_9678.jpg
/home/pi/Desktop/images/02122025/13/46/image_02122025_13_47_05_10689.jpg
/home/pi/Desktop/images/02122025/13/47/image_02122025_13_47_45_9615.jpg
/home/pi/Desktop/images/02122025/13/47/image_02122025_13_47_55_9687.jpg
/home/pi/Desktop/images/02122025/13/47/image_02122025_13_48_05_10778.jpg
/home/pi/Desktop/images/02122025/13/48/image_02122025_13_48_15_9663.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":["1398029500","1398029502","1398029495","1398029510","1398029507","1398029497"],"photo_ids_order":["1398029495","1398029497","1398029500","1398029502","1398029507","1398029510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0fae703e1f6977c55897cdd13996afa1.jpg","text":"TemporaryFile(/tmp/multipartBody1003521393759094707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908884748,"filename":"image_02122025_13_47_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/5/4bf84cb4ff2020fd0f207221bf76705b.jpg","text":"TemporaryFile(/tmp/multipartBody3675054514054330667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908884748,"filename":"image_02122025_13_47_55_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/5/90d2a727d52663c72410f9df7a9d5e59.jpg","text":"TemporaryFile(/tmp/multipartBody4511138296262155148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908884748,"filename":"image_02122025_13_46_25_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/5/31d377bac8c3b7b17dde3eb66476b963.jpg","text":"TemporaryFile(/tmp/multipartBody4190709371700785688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908884748,"filename":"image_02122025_13_48_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/5/b4e8ca1fa649cbfd025dc851561be32a.jpg","text":"TemporaryFile(/tmp/multipartBody1508370794625411975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908884748,"filename":"image_02122025_13_48_05_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/5/13dcc7986768e21fb48641a1715e040f.jpg","text":"TemporaryFile(/tmp/multipartBody4756756712298672418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908884748,"filename":"image_02122025_13_47_05_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029500","file1":"1398029497","file0":"1398029495","file4":"1398029507","file5":"1398029510","file3":"1398029502"},"map_files_photo_id_array":[{"photo_id":"1398029510","filename":"file5"},{"photo_id":"1398029500","filename":"file2"},{"photo_id":"1398029507","filename":"file4"},{"photo_id":"1398029497","filename":"file1"},{"photo_id":"1398029495","filename":"file0"},{"photo_id":"1398029502","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029500":["hashtag1","hashtag2"]},{"1398029502":["hashtag1","hashtag2"]},{"1398029495":["hashtag1","hashtag2"]},{"1398029510":["hashtag1","hashtag2"]},{"1398029507":["hashtag1","hashtag2"]},{"1398029497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029500, 1398029502, 1398029495, 1398029510, 1398029507, 1398029497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.934277296066284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:28:03.135094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/25/image_05122025_05_26_04_9758.jpg', '/home/pi/Desktop/images/05122025/05/27/image_05122025_05_27_14_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/25/image_05122025_05_26_04_9758.jpg
/home/pi/Desktop/images/05122025/05/27/image_05122025_05_27_14_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029518","1398029517"],"photo_ids_order":["1398029517","1398029518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0383bc45bdcd88de51ebfb49d7e126c.jpg","text":"TemporaryFile(/tmp/multipartBody7176946253584938717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908943691,"filename":"image_05122025_05_27_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/5/21d3a8e4a4747fb4044ce3c5e432e956.jpg","text":"TemporaryFile(/tmp/multipartBody2464705201859999761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908943691,"filename":"image_05122025_05_26_04_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398029518","file0":"1398029517"},"map_files_photo_id_array":[{"photo_id":"1398029518","filename":"file1"},{"photo_id":"1398029517","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029518":["hashtag1","hashtag2"]},{"1398029517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029518, 1398029517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.800139904022217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:28:22.739625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/27/image_05122025_05_27_54_9704.jpg', '/home/pi/Desktop/images/05122025/05/27/image_05122025_05_28_03_9812.jpg', '/home/pi/Desktop/images/05122025/05/28/image_05122025_05_28_14_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/27/image_05122025_05_27_54_9704.jpg
/home/pi/Desktop/images/05122025/05/27/image_05122025_05_28_03_9812.jpg
/home/pi/Desktop/images/05122025/05/28/image_05122025_05_28_14_10755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029526","1398029529","1398029523"],"photo_ids_order":["1398029523","1398029526","1398029529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17ace439d1d6303d14a0a356a4a8a318.jpg","text":"TemporaryFile(/tmp/multipartBody3890646766105630998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908963318,"filename":"image_05122025_05_28_03_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/5/6c1deb82a2e45f10a0e6b69fb0184c64.jpg","text":"TemporaryFile(/tmp/multipartBody2767367796386183362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908963318,"filename":"image_05122025_05_28_14_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/5/187212ca04e7287d9de6f705e25fb2b3.jpg","text":"TemporaryFile(/tmp/multipartBody8013941824086053193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764908963318,"filename":"image_05122025_05_27_54_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029529","file1":"1398029526","file0":"1398029523"},"map_files_photo_id_array":[{"photo_id":"1398029529","filename":"file2"},{"photo_id":"1398029526","filename":"file1"},{"photo_id":"1398029523","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029526":["hashtag1","hashtag2"]},{"1398029529":["hashtag1","hashtag2"]},{"1398029523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029526, 1398029529, 1398029523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.031211137771606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:29:03.654168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/48/image_02122025_13_48_25_9831.jpg', '/home/pi/Desktop/images/02122025/13/48/image_02122025_13_48_35_10571.jpg', '/home/pi/Desktop/images/02122025/13/48/image_02122025_13_48_55_9740.jpg', '/home/pi/Desktop/images/02122025/13/48/image_02122025_13_49_05_9753.jpg', '/home/pi/Desktop/images/02122025/13/49/image_02122025_13_49_15_10698.jpg', '/home/pi/Desktop/images/02122025/13/49/image_02122025_13_49_25_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/48/image_02122025_13_48_25_9831.jpg
/home/pi/Desktop/images/02122025/13/48/image_02122025_13_48_35_10571.jpg
/home/pi/Desktop/images/02122025/13/48/image_02122025_13_48_55_9740.jpg
/home/pi/Desktop/images/02122025/13/48/image_02122025_13_49_05_9753.jpg
/home/pi/Desktop/images/02122025/13/49/image_02122025_13_49_15_10698.jpg
/home/pi/Desktop/images/02122025/13/49/image_02122025_13_49_25_9752.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":["1398029557","1398029556","1398029559","1398029567","1398029561","1398029564"],"photo_ids_order":["1398029556","1398029557","1398029559","1398029561","1398029564","1398029567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4e822eaa9ab73b415299151cafbe49a.jpg","text":"TemporaryFile(/tmp/multipartBody6202405566863563198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909005575,"filename":"image_02122025_13_48_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0052a086b3131975ce9f780cbc5a42d9.jpg","text":"TemporaryFile(/tmp/multipartBody1455101638315971855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909005575,"filename":"image_02122025_13_48_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/5/5539b5050b3a8fbc16b7cce2d68a4d7b.jpg","text":"TemporaryFile(/tmp/multipartBody3394073664781801629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909005575,"filename":"image_02122025_13_48_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/5/c7941ea4569856b11049e923e6c88326.jpg","text":"TemporaryFile(/tmp/multipartBody4762796304568986700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909005575,"filename":"image_02122025_13_49_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/5/38014dc8c2a366d3e59c248e986dcf4a.jpg","text":"TemporaryFile(/tmp/multipartBody6245033794622293070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909005575,"filename":"image_02122025_13_49_05_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/5/f544bb1b954d5f57329f2271ecb32904.jpg","text":"TemporaryFile(/tmp/multipartBody7663429158710859195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909005575,"filename":"image_02122025_13_49_15_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029559","file1":"1398029557","file0":"1398029556","file4":"1398029564","file5":"1398029567","file3":"1398029561"},"map_files_photo_id_array":[{"photo_id":"1398029567","filename":"file5"},{"photo_id":"1398029559","filename":"file2"},{"photo_id":"1398029564","filename":"file4"},{"photo_id":"1398029557","filename":"file1"},{"photo_id":"1398029556","filename":"file0"},{"photo_id":"1398029561","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029557":["hashtag1","hashtag2"]},{"1398029556":["hashtag1","hashtag2"]},{"1398029559":["hashtag1","hashtag2"]},{"1398029567":["hashtag1","hashtag2"]},{"1398029561":["hashtag1","hashtag2"]},{"1398029564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029557, 1398029556, 1398029559, 1398029567, 1398029561, 1398029564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68100070953369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:30:02.411817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/28/image_05122025_05_28_24_9766.jpg', '/home/pi/Desktop/images/05122025/05/28/image_05122025_05_29_04_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/28/image_05122025_05_28_24_9766.jpg
/home/pi/Desktop/images/05122025/05/28/image_05122025_05_29_04_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029583","1398029588"],"photo_ids_order":["1398029583","1398029588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abd723242e1acc82c07f91634c0dadfd.jpg","text":"TemporaryFile(/tmp/multipartBody7215729951549902371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909063008,"filename":"image_05122025_05_28_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/5/c3143571b820ed54b380d657d7c2f8ab.jpg","text":"TemporaryFile(/tmp/multipartBody5016432544555018729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909063008,"filename":"image_05122025_05_29_04_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398029588","file0":"1398029583"},"map_files_photo_id_array":[{"photo_id":"1398029588","filename":"file1"},{"photo_id":"1398029583","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029583":["hashtag1","hashtag2"]},{"1398029588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029583, 1398029588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.879375457763672 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-05 05:30:32.045888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/49/image_02122025_13_49_45_10579.jpg', '/home/pi/Desktop/images/02122025/13/50/image_02122025_13_50_15_9768.jpg', '/home/pi/Desktop/images/02122025/13/50/image_02122025_13_50_25_9909.jpg', '/home/pi/Desktop/images/02122025/13/50/image_02122025_13_50_45_10689.jpg', '/home/pi/Desktop/images/02122025/13/50/image_02122025_13_50_55_9765.jpg', '/home/pi/Desktop/images/02122025/13/50/image_02122025_13_51_05_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/49/image_02122025_13_49_45_10579.jpg
/home/pi/Desktop/images/02122025/13/50/image_02122025_13_50_15_9768.jpg
/home/pi/Desktop/images/02122025/13/50/image_02122025_13_50_25_9909.jpg
/home/pi/Desktop/images/02122025/13/50/image_02122025_13_50_45_10689.jpg
/home/pi/Desktop/images/02122025/13/50/image_02122025_13_50_55_9765.jpg
/home/pi/Desktop/images/02122025/13/50/image_02122025_13_51_05_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029641","1398029620","1398029617","1398029640","1398029634","1398029639"],"photo_ids_order":["1398029617","1398029620","1398029634","1398029639","1398029640","1398029641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9495b13b04a5ca31b7878a7ab5cf0a63.jpg","text":"TemporaryFile(/tmp/multipartBody2584155041997181046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909094138,"filename":"image_02122025_13_51_05_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/5/90d43b484f29f5e62d20577b5513e6d3.jpg","text":"TemporaryFile(/tmp/multipartBody3968117838715802545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909094138,"filename":"image_02122025_13_50_15_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ffa1df40faae9d7fb7742e97f8057cfe.jpg","text":"TemporaryFile(/tmp/multipartBody41667161783935825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909094138,"filename":"image_02122025_13_49_45_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/5/dcd3ec737483c47bbb9f25b24c815801.jpg","text":"TemporaryFile(/tmp/multipartBody2896621026221129216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909094138,"filename":"image_02122025_13_50_55_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/5/ff1c31bd4e334350d85ff36beb80527d.jpg","text":"TemporaryFile(/tmp/multipartBody4474819501813943572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909094138,"filename":"image_02122025_13_50_25_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/5/d7d2c973e83587fec32fc9e0cc888ce7.jpg","text":"TemporaryFile(/tmp/multipartBody3401529357920216061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909094138,"filename":"image_02122025_13_50_45_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029634","file1":"1398029620","file0":"1398029617","file4":"1398029640","file5":"1398029641","file3":"1398029639"},"map_files_photo_id_array":[{"photo_id":"1398029641","filename":"file5"},{"photo_id":"1398029634","filename":"file2"},{"photo_id":"1398029640","filename":"file4"},{"photo_id":"1398029620","filename":"file1"},{"photo_id":"1398029617","filename":"file0"},{"photo_id":"1398029639","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029641":["hashtag1","hashtag2"]},{"1398029620":["hashtag1","hashtag2"]},{"1398029617":["hashtag1","hashtag2"]},{"1398029640":["hashtag1","hashtag2"]},{"1398029634":["hashtag1","hashtag2"]},{"1398029639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029641, 1398029620, 1398029617, 1398029640, 1398029634, 1398029639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14985013008118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:31:12.109394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/51/image_02122025_13_51_15_9596.jpg', '/home/pi/Desktop/images/02122025/13/52/image_02122025_13_52_55_10624.jpg', '/home/pi/Desktop/images/02122025/13/52/image_02122025_13_53_05_9746.jpg', '/home/pi/Desktop/images/02122025/13/53/image_02122025_13_53_15_9653.jpg', '/home/pi/Desktop/images/02122025/13/53/image_02122025_13_53_25_10617.jpg', '/home/pi/Desktop/images/02122025/13/53/image_02122025_13_53_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/51/image_02122025_13_51_15_9596.jpg
/home/pi/Desktop/images/02122025/13/52/image_02122025_13_52_55_10624.jpg
/home/pi/Desktop/images/02122025/13/52/image_02122025_13_53_05_9746.jpg
/home/pi/Desktop/images/02122025/13/53/image_02122025_13_53_15_9653.jpg
/home/pi/Desktop/images/02122025/13/53/image_02122025_13_53_25_10617.jpg
/home/pi/Desktop/images/02122025/13/53/image_02122025_13_53_55_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029653","1398029655","1398029646","1398029648","1398029657","1398029651"],"photo_ids_order":["1398029646","1398029648","1398029651","1398029653","1398029655","1398029657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc153df8342db3ea01b12f2d26ebf2d0.jpg","text":"TemporaryFile(/tmp/multipartBody2330506301128663399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909134163,"filename":"image_02122025_13_53_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/5/48884c858fe53593a10620d8813c4410.jpg","text":"TemporaryFile(/tmp/multipartBody3301106595437572803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909134163,"filename":"image_02122025_13_53_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/5/043028d4e49a54a682adcd918fd3c899.jpg","text":"TemporaryFile(/tmp/multipartBody1936464568657709685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909134163,"filename":"image_02122025_13_51_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/5/676c23beeab7c510b2c2388cb18d8bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3494887016882740106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909134163,"filename":"image_02122025_13_52_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/5/d740fa9565190b5b04841cf66d96767f.jpg","text":"TemporaryFile(/tmp/multipartBody4981638172599679269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909134163,"filename":"image_02122025_13_53_55_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/5/9ff512b91bd703d5c009afcf242839e2.jpg","text":"TemporaryFile(/tmp/multipartBody9032534150095975778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909134163,"filename":"image_02122025_13_53_05_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029651","file1":"1398029648","file0":"1398029646","file4":"1398029655","file5":"1398029657","file3":"1398029653"},"map_files_photo_id_array":[{"photo_id":"1398029657","filename":"file5"},{"photo_id":"1398029651","filename":"file2"},{"photo_id":"1398029655","filename":"file4"},{"photo_id":"1398029648","filename":"file1"},{"photo_id":"1398029646","filename":"file0"},{"photo_id":"1398029653","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029653":["hashtag1","hashtag2"]},{"1398029655":["hashtag1","hashtag2"]},{"1398029646":["hashtag1","hashtag2"]},{"1398029648":["hashtag1","hashtag2"]},{"1398029657":["hashtag1","hashtag2"]},{"1398029651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029653, 1398029655, 1398029646, 1398029648, 1398029657, 1398029651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.039226770401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:32:02.751770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/29/image_05122025_05_29_14_10638.jpg', '/home/pi/Desktop/images/05122025/05/30/image_05122025_05_30_44_10577.jpg', '/home/pi/Desktop/images/05122025/05/30/image_05122025_05_30_54_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/29/image_05122025_05_29_14_10638.jpg
/home/pi/Desktop/images/05122025/05/30/image_05122025_05_30_44_10577.jpg
/home/pi/Desktop/images/05122025/05/30/image_05122025_05_30_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":["1398029668","1398029670","1398029669"],"photo_ids_order":["1398029668","1398029669","1398029670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/61d90d70ee0bec3e528ace0b56887b77.jpg","text":"TemporaryFile(/tmp/multipartBody4441895669330541363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909183358,"filename":"image_05122025_05_29_14_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/5/2a4d6856b6535baf7ccd43aeb29ba275.jpg","text":"TemporaryFile(/tmp/multipartBody9188776472439088629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909183358,"filename":"image_05122025_05_30_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/5/2c7e1f21c1973d3196ce4dea07a1fec4.jpg","text":"TemporaryFile(/tmp/multipartBody7059678413041768146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909183358,"filename":"image_05122025_05_30_44_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029670","file1":"1398029669","file0":"1398029668"},"map_files_photo_id_array":[{"photo_id":"1398029670","filename":"file2"},{"photo_id":"1398029669","filename":"file1"},{"photo_id":"1398029668","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029668":["hashtag1","hashtag2"]},{"1398029670":["hashtag1","hashtag2"]},{"1398029669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029668, 1398029670, 1398029669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.12537145614624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:32:32.331890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/54/image_02122025_13_54_15_9615.jpg', '/home/pi/Desktop/images/02122025/13/54/image_02122025_13_54_25_10722.jpg', '/home/pi/Desktop/images/02122025/13/54/image_02122025_13_54_45_9681.jpg', '/home/pi/Desktop/images/02122025/13/54/image_02122025_13_54_55_10671.jpg', '/home/pi/Desktop/images/02122025/13/55/image_02122025_13_55_15_9674.jpg', '/home/pi/Desktop/images/02122025/13/55/image_02122025_13_55_25_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/54/image_02122025_13_54_15_9615.jpg
/home/pi/Desktop/images/02122025/13/54/image_02122025_13_54_25_10722.jpg
/home/pi/Desktop/images/02122025/13/54/image_02122025_13_54_45_9681.jpg
/home/pi/Desktop/images/02122025/13/54/image_02122025_13_54_55_10671.jpg
/home/pi/Desktop/images/02122025/13/55/image_02122025_13_55_15_9674.jpg
/home/pi/Desktop/images/02122025/13/55/image_02122025_13_55_25_10693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029682","1398029679","1398029690","1398029693","1398029705","1398029686"],"photo_ids_order":["1398029679","1398029682","1398029686","1398029690","1398029693","1398029705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/44bc5dc2d765fab7d99556b77fb087e6.jpg","text":"TemporaryFile(/tmp/multipartBody4508167147228850304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909214540,"filename":"image_02122025_13_54_25_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/5/a9769609fa19c2a7398c37a023b947d9.jpg","text":"TemporaryFile(/tmp/multipartBody5358723843359436396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909214540,"filename":"image_02122025_13_54_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/5/10980a819dc2147d9528bbc7ff21aaa4.jpg","text":"TemporaryFile(/tmp/multipartBody9142033190626413537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909214540,"filename":"image_02122025_13_54_55_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/5/93a6520ad548a8a4db697fc51e460740.jpg","text":"TemporaryFile(/tmp/multipartBody4937938659702892785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909214540,"filename":"image_02122025_13_55_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/008da8411d53c19e8746eba35b0f2b04.jpg","text":"TemporaryFile(/tmp/multipartBody7977448832327154041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909214540,"filename":"image_02122025_13_55_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/5/890ad2419389d22550774555bc85ec3f.jpg","text":"TemporaryFile(/tmp/multipartBody7583143584931750912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909214540,"filename":"image_02122025_13_54_45_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029686","file1":"1398029682","file0":"1398029679","file4":"1398029693","file5":"1398029705","file3":"1398029690"},"map_files_photo_id_array":[{"photo_id":"1398029705","filename":"file5"},{"photo_id":"1398029686","filename":"file2"},{"photo_id":"1398029693","filename":"file4"},{"photo_id":"1398029682","filename":"file1"},{"photo_id":"1398029679","filename":"file0"},{"photo_id":"1398029690","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029682":["hashtag1","hashtag2"]},{"1398029679":["hashtag1","hashtag2"]},{"1398029690":["hashtag1","hashtag2"]},{"1398029693":["hashtag1","hashtag2"]},{"1398029705":["hashtag1","hashtag2"]},{"1398029686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029682, 1398029679, 1398029690, 1398029693, 1398029705, 1398029686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.301857471466064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:33:12.652853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/55/image_02122025_13_55_35_9716.jpg', '/home/pi/Desktop/images/02122025/13/55/image_02122025_13_55_45_9844.jpg', '/home/pi/Desktop/images/02122025/13/55/image_02122025_13_55_55_9563.jpg', '/home/pi/Desktop/images/02122025/13/55/image_02122025_13_56_05_10729.jpg', '/home/pi/Desktop/images/02122025/13/56/image_02122025_13_56_15_9688.jpg', '/home/pi/Desktop/images/02122025/13/56/image_02122025_13_56_25_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/55/image_02122025_13_55_35_9716.jpg
/home/pi/Desktop/images/02122025/13/55/image_02122025_13_55_45_9844.jpg
/home/pi/Desktop/images/02122025/13/55/image_02122025_13_55_55_9563.jpg
/home/pi/Desktop/images/02122025/13/55/image_02122025_13_56_05_10729.jpg
/home/pi/Desktop/images/02122025/13/56/image_02122025_13_56_15_9688.jpg
/home/pi/Desktop/images/02122025/13/56/image_02122025_13_56_25_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029731","1398029728","1398029722","1398029725","1398029719","1398029718"],"photo_ids_order":["1398029718","1398029719","1398029722","1398029725","1398029728","1398029731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/da791c761af9df82add787003ac982fd.jpg","text":"TemporaryFile(/tmp/multipartBody7194977615921751653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909254674,"filename":"image_02122025_13_56_25_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/5/f791a1afa29266ad36f43e1115e0fa95.jpg","text":"TemporaryFile(/tmp/multipartBody8484625645928052154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909254674,"filename":"image_02122025_13_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/5/c8a10b59b72c0590ba70615b6299f09d.jpg","text":"TemporaryFile(/tmp/multipartBody8203372400418169124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909254674,"filename":"image_02122025_13_55_55_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/5/decdfc75a4afb490fe52d6d94a1833e7.jpg","text":"TemporaryFile(/tmp/multipartBody3017554772606634875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909254674,"filename":"image_02122025_13_56_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/5/4d3c18b2661376defa286737800bdc84.jpg","text":"TemporaryFile(/tmp/multipartBody5818698085943699879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909254674,"filename":"image_02122025_13_55_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/5/999fcca52c8b0a5b025f0ce2061199fd.jpg","text":"TemporaryFile(/tmp/multipartBody7598905902618896403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909254674,"filename":"image_02122025_13_55_35_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029722","file1":"1398029719","file0":"1398029718","file4":"1398029728","file5":"1398029731","file3":"1398029725"},"map_files_photo_id_array":[{"photo_id":"1398029731","filename":"file5"},{"photo_id":"1398029722","filename":"file2"},{"photo_id":"1398029728","filename":"file4"},{"photo_id":"1398029719","filename":"file1"},{"photo_id":"1398029718","filename":"file0"},{"photo_id":"1398029725","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029731":["hashtag1","hashtag2"]},{"1398029728":["hashtag1","hashtag2"]},{"1398029722":["hashtag1","hashtag2"]},{"1398029725":["hashtag1","hashtag2"]},{"1398029719":["hashtag1","hashtag2"]},{"1398029718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029731, 1398029728, 1398029722, 1398029725, 1398029719, 1398029718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.337647438049316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:34:02.547033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/31/image_05122025_05_31_33_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/31/image_05122025_05_31_33_9653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029736"],"photo_id":"1398029736","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/92eec905359873505ebd9e65fc3fe4a0.jpg","text":"TemporaryFile(/tmp/multipartBody2208043158367807571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909303070,"filename":"image_05122025_05_31_33_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398029736"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398029736"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.513379096984863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:34:21.865262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/33/image_05122025_05_33_34_9589.jpg', '/home/pi/Desktop/images/05122025/05/33/image_05122025_05_34_04_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/33/image_05122025_05_33_34_9589.jpg
/home/pi/Desktop/images/05122025/05/33/image_05122025_05_34_04_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":["1398029743","1398029748"],"photo_ids_order":["1398029743","1398029748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0dd625890de1ac9bf0e57955a38bc42c.jpg","text":"TemporaryFile(/tmp/multipartBody4388165498965049286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909322412,"filename":"image_05122025_05_33_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/5/9111d925160544551322ba9a270cd675.jpg","text":"TemporaryFile(/tmp/multipartBody9105615551331851673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909322412,"filename":"image_05122025_05_34_04_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398029748","file0":"1398029743"},"map_files_photo_id_array":[{"photo_id":"1398029748","filename":"file1"},{"photo_id":"1398029743","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029743":["hashtag1","hashtag2"]},{"1398029748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029743, 1398029748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.59885811805725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:35:02.523453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/56/image_02122025_13_56_45_9664.jpg', '/home/pi/Desktop/images/02122025/13/57/image_02122025_13_57_15_9682.jpg', '/home/pi/Desktop/images/02122025/13/57/image_02122025_13_58_05_10631.jpg', '/home/pi/Desktop/images/02122025/13/58/image_02122025_13_58_35_10570.jpg', '/home/pi/Desktop/images/02122025/13/58/image_02122025_13_58_45_9536.jpg', '/home/pi/Desktop/images/02122025/13/58/image_02122025_13_58_55_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/56/image_02122025_13_56_45_9664.jpg
/home/pi/Desktop/images/02122025/13/57/image_02122025_13_57_15_9682.jpg
/home/pi/Desktop/images/02122025/13/57/image_02122025_13_58_05_10631.jpg
/home/pi/Desktop/images/02122025/13/58/image_02122025_13_58_35_10570.jpg
/home/pi/Desktop/images/02122025/13/58/image_02122025_13_58_45_9536.jpg
/home/pi/Desktop/images/02122025/13/58/image_02122025_13_58_55_10629.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":["1398029775","1398029778","1398029786","1398029771","1398029788","1398029782"],"photo_ids_order":["1398029771","1398029775","1398029778","1398029782","1398029786","1398029788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c72fb85b525341fe012122f51f2a6b9e.jpg","text":"TemporaryFile(/tmp/multipartBody4601243528755709919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909364195,"filename":"image_02122025_13_57_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/5/44d0397cd8407821993dd8e878c581a0.jpg","text":"TemporaryFile(/tmp/multipartBody8701599624515819115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909364195,"filename":"image_02122025_13_58_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/5/ad04a7b33532575388e62e308457a2d4.jpg","text":"TemporaryFile(/tmp/multipartBody6170777194404543280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909364195,"filename":"image_02122025_13_58_45_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/5/0e533d18140f1cd0d5b2ab03865c40f8.jpg","text":"TemporaryFile(/tmp/multipartBody1051246162191975787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909364195,"filename":"image_02122025_13_56_45_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/5/68489871cbb02a296ad1e794c4209da4.jpg","text":"TemporaryFile(/tmp/multipartBody8963219125105385601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909364195,"filename":"image_02122025_13_58_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/5/15d512999b84d480dd00940195df8622.jpg","text":"TemporaryFile(/tmp/multipartBody2689682992498760075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909364195,"filename":"image_02122025_13_58_35_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029778","file1":"1398029775","file0":"1398029771","file4":"1398029786","file5":"1398029788","file3":"1398029782"},"map_files_photo_id_array":[{"photo_id":"1398029788","filename":"file5"},{"photo_id":"1398029778","filename":"file2"},{"photo_id":"1398029786","filename":"file4"},{"photo_id":"1398029775","filename":"file1"},{"photo_id":"1398029771","filename":"file0"},{"photo_id":"1398029782","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029775":["hashtag1","hashtag2"]},{"1398029778":["hashtag1","hashtag2"]},{"1398029786":["hashtag1","hashtag2"]},{"1398029771":["hashtag1","hashtag2"]},{"1398029788":["hashtag1","hashtag2"]},{"1398029782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029775, 1398029778, 1398029786, 1398029771, 1398029788, 1398029782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0784170627594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:36:02.785074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/13/58/image_02122025_13_59_05_9622.jpg', '/home/pi/Desktop/images/02122025/13/59/image_02122025_13_59_15_9699.jpg', '/home/pi/Desktop/images/02122025/13/59/image_02122025_13_59_35_9543.jpg', '/home/pi/Desktop/images/02122025/13/59/image_02122025_13_59_55_9572.jpg', '/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_14_10050.jpg', '/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_25_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/13/58/image_02122025_13_59_05_9622.jpg
/home/pi/Desktop/images/02122025/13/59/image_02122025_13_59_15_9699.jpg
/home/pi/Desktop/images/02122025/13/59/image_02122025_13_59_35_9543.jpg
/home/pi/Desktop/images/02122025/13/59/image_02122025_13_59_55_9572.jpg
/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_14_10050.jpg
/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_25_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029800","1398029796","1398029798","1398029802","1398029792","1398029794"],"photo_ids_order":["1398029792","1398029794","1398029796","1398029798","1398029800","1398029802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c99a9b5c1eb8dfde5c366920136ffe33.jpg","text":"TemporaryFile(/tmp/multipartBody171761046654076140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909424409,"filename":"image_02122025_14_00_14_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/04a2a1d22c54859b17f41f63a272f14d.jpg","text":"TemporaryFile(/tmp/multipartBody3005075880480300119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909424409,"filename":"image_02122025_13_59_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/5/1a275279414cd3b0dc32c8683b6627e5.jpg","text":"TemporaryFile(/tmp/multipartBody5115633295467250017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909424409,"filename":"image_02122025_13_59_55_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/5/bdbf57ea783fdb88fc1b9ba2a19e19e2.jpg","text":"TemporaryFile(/tmp/multipartBody6108698345310177341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909424409,"filename":"image_02122025_14_00_25_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/5/6eae8ab3091c5b86d66150932bf6066e.jpg","text":"TemporaryFile(/tmp/multipartBody2007351664288507476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909424409,"filename":"image_02122025_13_59_05_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d5393de4e60ae36acc1b8fc7065be425.jpg","text":"TemporaryFile(/tmp/multipartBody7907273790777042546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909424409,"filename":"image_02122025_13_59_15_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029796","file1":"1398029794","file0":"1398029792","file4":"1398029800","file5":"1398029802","file3":"1398029798"},"map_files_photo_id_array":[{"photo_id":"1398029802","filename":"file5"},{"photo_id":"1398029796","filename":"file2"},{"photo_id":"1398029800","filename":"file4"},{"photo_id":"1398029794","filename":"file1"},{"photo_id":"1398029792","filename":"file0"},{"photo_id":"1398029798","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029800":["hashtag1","hashtag2"]},{"1398029796":["hashtag1","hashtag2"]},{"1398029798":["hashtag1","hashtag2"]},{"1398029802":["hashtag1","hashtag2"]},{"1398029792":["hashtag1","hashtag2"]},{"1398029794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029800, 1398029796, 1398029798, 1398029802, 1398029792, 1398029794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36467242240906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:36:42.321624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_04_2677.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_06_2664.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_10_3658.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_13_2729.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_19_3577.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_22_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_04_2677.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_06_2664.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_10_3658.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_13_2729.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_19_3577.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_22_2861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029830","1398029824","1398029832","1398029828","1398029822","1398029819"],"photo_ids_order":["1398029819","1398029822","1398029824","1398029828","1398029830","1398029832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fdaf1e6779476affb7d42cfe20295e4d.jpg","text":"TemporaryFile(/tmp/multipartBody9102802941504846186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909463934,"filename":"image_31102025_18_39_19_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/5/0222fbae04488f943b383c5dd9e695f7.jpg","text":"TemporaryFile(/tmp/multipartBody4645665381982199246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909463934,"filename":"image_31102025_18_39_10_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c3804f4a7416745eb2f57cd3ecb82cd0.jpg","text":"TemporaryFile(/tmp/multipartBody1778264387077842726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909463934,"filename":"image_31102025_18_39_22_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/5/034168724d9182df0d65e4359e725588.jpg","text":"TemporaryFile(/tmp/multipartBody8322408727453627853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909463934,"filename":"image_31102025_18_39_13_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/5/d0d214f2ef9bcbb24253311e071fa937.jpg","text":"TemporaryFile(/tmp/multipartBody4968694640510942162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909463934,"filename":"image_31102025_18_39_06_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/5/a4c7e4544524255e4d3f0b6eb01a6ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2870339823354704059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909463934,"filename":"image_31102025_18_39_04_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029824","file1":"1398029822","file0":"1398029819","file4":"1398029830","file5":"1398029832","file3":"1398029828"},"map_files_photo_id_array":[{"photo_id":"1398029832","filename":"file5"},{"photo_id":"1398029824","filename":"file2"},{"photo_id":"1398029830","filename":"file4"},{"photo_id":"1398029822","filename":"file1"},{"photo_id":"1398029819","filename":"file0"},{"photo_id":"1398029828","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398029830":["hashtag1","hashtag2"]},{"1398029824":["hashtag1","hashtag2"]},{"1398029832":["hashtag1","hashtag2"]},{"1398029828":["hashtag1","hashtag2"]},{"1398029822":["hashtag1","hashtag2"]},{"1398029819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398029830, 1398029824, 1398029832, 1398029828, 1398029822, 1398029819)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.601630210876465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:37:32.593960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_34_9644.jpg', '/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_44_9735.jpg', '/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_55_10788.jpg', '/home/pi/Desktop/images/02122025/14/00/image_02122025_14_01_05_9774.jpg', '/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_14_9603.jpg', '/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_25_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_34_9644.jpg
/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_44_9735.jpg
/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_55_10788.jpg
/home/pi/Desktop/images/02122025/14/00/image_02122025_14_01_05_9774.jpg
/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_14_9603.jpg
/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_25_10708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0363125801086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:37:42.542552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_25_2687.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_27_2625.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_33_2722.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_46_3620.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_48_2562.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_51_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_25_2687.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_27_2625.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_33_2722.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_46_3620.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_48_2562.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_51_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029845","1398029854","1398029848","1398029841","1398029850","1398029852"],"photo_ids_order":["1398029841","1398029845","1398029848","1398029850","1398029852","1398029854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b6b834aef7ea3f4a2ca9f3de4b925a7.jpg","text":"TemporaryFile(/tmp/multipartBody2013375471493181421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909524154,"filename":"image_31102025_18_39_27_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/5/9979c4d2bdacbf3dccde56d19ff75155.jpg","text":"TemporaryFile(/tmp/multipartBody4590132511881608166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909524154,"filename":"image_31102025_18_39_51_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/5/dcc678f9289d62f21f93ccdf5c6ccb2e.jpg","text":"TemporaryFile(/tmp/multipartBody6910233710577700109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909524154,"filename":"image_31102025_18_39_33_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc2da10c40de820454cca016dcd850b5.jpg","text":"TemporaryFile(/tmp/multipartBody5295831055712009920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909524154,"filename":"image_31102025_18_39_25_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/5/571e44f973a3523140cf1c147cf98276.jpg","text":"TemporaryFile(/tmp/multipartBody1117340123443152120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909524154,"filename":"image_31102025_18_39_46_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/5/8e1a525c4fac791cdd4d6849d5de86a1.jpg","text":"TemporaryFile(/tmp/multipartBody2195491226084835647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909524154,"filename":"image_31102025_18_39_48_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029848","file1":"1398029845","file0":"1398029841","file4":"1398029852","file5":"1398029854","file3":"1398029850"},"map_files_photo_id_array":[{"photo_id":"1398029854","filename":"file5"},{"photo_id":"1398029848","filename":"file2"},{"photo_id":"1398029852","filename":"file4"},{"photo_id":"1398029845","filename":"file1"},{"photo_id":"1398029841","filename":"file0"},{"photo_id":"1398029850","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398029845":["hashtag1","hashtag2"]},{"1398029854":["hashtag1","hashtag2"]},{"1398029848":["hashtag1","hashtag2"]},{"1398029841":["hashtag1","hashtag2"]},{"1398029850":["hashtag1","hashtag2"]},{"1398029852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398029845, 1398029854, 1398029848, 1398029841, 1398029850, 1398029852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49370527267456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:38:22.890535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_55_3621.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_57_2764.jpg', '/home/pi/Desktop/images/31102025/18/39/image_31102025_18_40_00_2660.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_04_3769.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_07_2815.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_09_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_55_3621.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_39_57_2764.jpg
/home/pi/Desktop/images/31102025/18/39/image_31102025_18_40_00_2660.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_04_3769.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_07_2815.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_09_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":["1398029877","1398029862","1398029865","1398029867","1398029869","1398029884"],"photo_ids_order":["1398029862","1398029865","1398029867","1398029869","1398029877","1398029884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bfbfbacf8576fb86be01850760dd2d78.jpg","text":"TemporaryFile(/tmp/multipartBody1613182111469654324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909564506,"filename":"image_31102025_18_40_07_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/5/347aa850f9385798bef63e8b7cfd8d5b.jpg","text":"TemporaryFile(/tmp/multipartBody8498836088522571901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909564506,"filename":"image_31102025_18_39_55_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/5/056faa0269d74263dda42bf584005080.jpg","text":"TemporaryFile(/tmp/multipartBody5122241606266512112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909564506,"filename":"image_31102025_18_39_57_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1d716f111276a4e2709e4c3709470c4.jpg","text":"TemporaryFile(/tmp/multipartBody2767568797764538117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909564506,"filename":"image_31102025_18_40_00_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/5/fa303c1b4231055da5e4bc5746dd2c5a.jpg","text":"TemporaryFile(/tmp/multipartBody1236955013204734140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909564506,"filename":"image_31102025_18_40_04_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/5/0b27b7751f950b226ce3963ea7eae382.jpg","text":"TemporaryFile(/tmp/multipartBody1215467598184197870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909564506,"filename":"image_31102025_18_40_09_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029867","file1":"1398029865","file0":"1398029862","file4":"1398029877","file5":"1398029884","file3":"1398029869"},"map_files_photo_id_array":[{"photo_id":"1398029884","filename":"file5"},{"photo_id":"1398029867","filename":"file2"},{"photo_id":"1398029877","filename":"file4"},{"photo_id":"1398029865","filename":"file1"},{"photo_id":"1398029862","filename":"file0"},{"photo_id":"1398029869","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398029877":["hashtag1","hashtag2"]},{"1398029862":["hashtag1","hashtag2"]},{"1398029865":["hashtag1","hashtag2"]},{"1398029867":["hashtag1","hashtag2"]},{"1398029869":["hashtag1","hashtag2"]},{"1398029884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398029877, 1398029862, 1398029865, 1398029867, 1398029869, 1398029884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.516862869262695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:39:02.668362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_34_9644.jpg', '/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_44_9735.jpg', '/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_55_10788.jpg', '/home/pi/Desktop/images/02122025/14/00/image_02122025_14_01_05_9774.jpg', '/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_14_9603.jpg', '/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_25_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_34_9644.jpg
/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_44_9735.jpg
/home/pi/Desktop/images/02122025/14/00/image_02122025_14_00_55_10788.jpg
/home/pi/Desktop/images/02122025/14/00/image_02122025_14_01_05_9774.jpg
/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_14_9603.jpg
/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_25_10708.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":["1398029895","1398029897","1398029891","1398029900","1398029893","1398029890"],"photo_ids_order":["1398029890","1398029891","1398029893","1398029895","1398029897","1398029900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/108156f7667696422ec30d2e2d8cee6d.jpg","text":"TemporaryFile(/tmp/multipartBody1620870547157644364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909604344,"filename":"image_02122025_14_01_05_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/5/a129bc23241bba6ff65413da9fe3e832.jpg","text":"TemporaryFile(/tmp/multipartBody7473068541551891583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909604344,"filename":"image_02122025_14_01_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/5/e832d84d52d0e1afeecccca85aefff93.jpg","text":"TemporaryFile(/tmp/multipartBody930452619091036170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909604344,"filename":"image_02122025_14_00_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/5/755c05eabdda271711d9a5290bc227aa.jpg","text":"TemporaryFile(/tmp/multipartBody4379735546972222536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909604344,"filename":"image_02122025_14_01_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/5/e31392c10557446dc9fe1f2c4688fcf6.jpg","text":"TemporaryFile(/tmp/multipartBody7863773157544827259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909604344,"filename":"image_02122025_14_00_55_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4faf219ca3bb06e6b8008a3ea9c89a2a.jpg","text":"TemporaryFile(/tmp/multipartBody5224105022358003079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909604344,"filename":"image_02122025_14_00_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029893","file1":"1398029891","file0":"1398029890","file4":"1398029897","file5":"1398029900","file3":"1398029895"},"map_files_photo_id_array":[{"photo_id":"1398029900","filename":"file5"},{"photo_id":"1398029893","filename":"file2"},{"photo_id":"1398029897","filename":"file4"},{"photo_id":"1398029891","filename":"file1"},{"photo_id":"1398029890","filename":"file0"},{"photo_id":"1398029895","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029895":["hashtag1","hashtag2"]},{"1398029897":["hashtag1","hashtag2"]},{"1398029891":["hashtag1","hashtag2"]},{"1398029900":["hashtag1","hashtag2"]},{"1398029893":["hashtag1","hashtag2"]},{"1398029890":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029895, 1398029897, 1398029891, 1398029900, 1398029893, 1398029890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.887810945510864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:40:02.346539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/34/image_05122025_05_34_24_10587.jpg', '/home/pi/Desktop/images/05122025/05/38/image_05122025_05_39_04_10695.jpg', '/home/pi/Desktop/images/05122025/05/39/image_05122025_05_39_24_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/34/image_05122025_05_34_24_10587.jpg
/home/pi/Desktop/images/05122025/05/38/image_05122025_05_39_04_10695.jpg
/home/pi/Desktop/images/05122025/05/39/image_05122025_05_39_24_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029914","1398029913","1398029915"],"photo_ids_order":["1398029913","1398029914","1398029915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b0988c136c159346aef684512b9cd88.jpg","text":"TemporaryFile(/tmp/multipartBody2057708675089119223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909662983,"filename":"image_05122025_05_39_04_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/5/8de7e46d1dd4ea07db871faf7e12885d.jpg","text":"TemporaryFile(/tmp/multipartBody5054540118124598389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909662983,"filename":"image_05122025_05_34_24_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/5/1e4e33399fe7afe51c0bbaa59b384df8.jpg","text":"TemporaryFile(/tmp/multipartBody6500845690033643380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909662983,"filename":"image_05122025_05_39_24_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029915","file1":"1398029914","file0":"1398029913"},"map_files_photo_id_array":[{"photo_id":"1398029915","filename":"file2"},{"photo_id":"1398029914","filename":"file1"},{"photo_id":"1398029913","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398029914":["hashtag1","hashtag2"]},{"1398029913":["hashtag1","hashtag2"]},{"1398029915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398029914, 1398029913, 1398029915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.514162063598633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:40:31.974714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_35_9822.jpg', '/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_44_9625.jpg', '/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_54_9599.jpg', '/home/pi/Desktop/images/02122025/14/01/image_02122025_14_02_05_10565.jpg', '/home/pi/Desktop/images/02122025/14/02/image_02122025_14_02_14_9613.jpg', '/home/pi/Desktop/images/02122025/14/02/image_02122025_14_02_25_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_35_9822.jpg
/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_44_9625.jpg
/home/pi/Desktop/images/02122025/14/01/image_02122025_14_01_54_9599.jpg
/home/pi/Desktop/images/02122025/14/01/image_02122025_14_02_05_10565.jpg
/home/pi/Desktop/images/02122025/14/02/image_02122025_14_02_14_9613.jpg
/home/pi/Desktop/images/02122025/14/02/image_02122025_14_02_25_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":["1398029932","1398029935","1398029934","1398029925","1398029928","1398029936"],"photo_ids_order":["1398029925","1398029928","1398029932","1398029934","1398029935","1398029936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/41b27427cd40837f1ca023a2b36d04e4.jpg","text":"TemporaryFile(/tmp/multipartBody7614676729997936966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909694135,"filename":"image_02122025_14_01_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/5/f7c0c4d1ea159e0969169fe329709ce1.jpg","text":"TemporaryFile(/tmp/multipartBody343073508124529753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909694135,"filename":"image_02122025_14_02_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/5/d9a7beac281dbe8eb9b0a5bb9a3ad6e0.jpg","text":"TemporaryFile(/tmp/multipartBody7533894214160994748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909694135,"filename":"image_02122025_14_02_05_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/537373f4124d25047454764e6d4aa07d.jpg","text":"TemporaryFile(/tmp/multipartBody6312579749530399185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909694135,"filename":"image_02122025_14_01_35_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/27fa59f3ac7e10a8bc2b6e1aa6072e12.jpg","text":"TemporaryFile(/tmp/multipartBody8583034415574060248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909694135,"filename":"image_02122025_14_01_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/5/b0f9e87cdd29e5f5e9d121c648948862.jpg","text":"TemporaryFile(/tmp/multipartBody4638524332727864945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909694135,"filename":"image_02122025_14_02_25_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029932","file1":"1398029928","file0":"1398029925","file4":"1398029935","file5":"1398029936","file3":"1398029934"},"map_files_photo_id_array":[{"photo_id":"1398029936","filename":"file5"},{"photo_id":"1398029932","filename":"file2"},{"photo_id":"1398029935","filename":"file4"},{"photo_id":"1398029928","filename":"file1"},{"photo_id":"1398029925","filename":"file0"},{"photo_id":"1398029934","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029932":["hashtag1","hashtag2"]},{"1398029935":["hashtag1","hashtag2"]},{"1398029934":["hashtag1","hashtag2"]},{"1398029925":["hashtag1","hashtag2"]},{"1398029928":["hashtag1","hashtag2"]},{"1398029936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029932, 1398029935, 1398029934, 1398029925, 1398029928, 1398029936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28179955482483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:41:12.202018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/02/image_02122025_14_02_35_9571.jpg', '/home/pi/Desktop/images/02122025/14/02/image_02122025_14_02_44_9613.jpg', '/home/pi/Desktop/images/02122025/14/02/image_02122025_14_02_55_10557.jpg', '/home/pi/Desktop/images/02122025/14/02/image_02122025_14_03_04_9709.jpg', '/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_14_9622.jpg', '/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_25_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/02/image_02122025_14_02_35_9571.jpg
/home/pi/Desktop/images/02122025/14/02/image_02122025_14_02_44_9613.jpg
/home/pi/Desktop/images/02122025/14/02/image_02122025_14_02_55_10557.jpg
/home/pi/Desktop/images/02122025/14/02/image_02122025_14_03_04_9709.jpg
/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_14_9622.jpg
/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_25_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":["1398029959","1398029950","1398029953","1398029955","1398029957","1398029948"],"photo_ids_order":["1398029948","1398029950","1398029953","1398029955","1398029957","1398029959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/88cfb984844d2fd8f83a5ebd9bcfcaac.jpg","text":"TemporaryFile(/tmp/multipartBody6013573038245261436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909734236,"filename":"image_02122025_14_03_25_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/5/14aaa6629cf75ca3e90bf8f4935d5238.jpg","text":"TemporaryFile(/tmp/multipartBody6010837453156217689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909734236,"filename":"image_02122025_14_02_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c18195af91a39829a2717754aa3efdd.jpg","text":"TemporaryFile(/tmp/multipartBody4117267434062761323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909734236,"filename":"image_02122025_14_02_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/5/711303ae1110426cc5bf0905fdb792cd.jpg","text":"TemporaryFile(/tmp/multipartBody1760146708254122475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909734236,"filename":"image_02122025_14_03_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2309c7ea900dbfc8b9a091728392a45.jpg","text":"TemporaryFile(/tmp/multipartBody438740252144907837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909734236,"filename":"image_02122025_14_03_14_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/209147c0cefbdf883fbac828bb1b92cc.jpg","text":"TemporaryFile(/tmp/multipartBody1184506340478128108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909734236,"filename":"image_02122025_14_02_35_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029953","file1":"1398029950","file0":"1398029948","file4":"1398029957","file5":"1398029959","file3":"1398029955"},"map_files_photo_id_array":[{"photo_id":"1398029959","filename":"file5"},{"photo_id":"1398029953","filename":"file2"},{"photo_id":"1398029957","filename":"file4"},{"photo_id":"1398029950","filename":"file1"},{"photo_id":"1398029948","filename":"file0"},{"photo_id":"1398029955","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029959":["hashtag1","hashtag2"]},{"1398029950":["hashtag1","hashtag2"]},{"1398029953":["hashtag1","hashtag2"]},{"1398029955":["hashtag1","hashtag2"]},{"1398029957":["hashtag1","hashtag2"]},{"1398029948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029959, 1398029950, 1398029953, 1398029955, 1398029957, 1398029948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.544206619262695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:42:02.894871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_34_9649.jpg', '/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_44_9719.jpg', '/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_55_10600.jpg', '/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_14_9904.jpg', '/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_25_10616.jpg', '/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_44_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_34_9649.jpg
/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_44_9719.jpg
/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_55_10600.jpg
/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_14_9904.jpg
/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_25_10616.jpg
/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_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: 1.5239324569702148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:42:12.529789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_34_9649.jpg', '/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_44_9719.jpg', '/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_55_10600.jpg', '/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_14_9904.jpg', '/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_25_10616.jpg', '/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_44_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_34_9649.jpg
/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_44_9719.jpg
/home/pi/Desktop/images/02122025/14/03/image_02122025_14_03_55_10600.jpg
/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_14_9904.jpg
/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_25_10616.jpg
/home/pi/Desktop/images/02122025/14/04/image_02122025_14_04_44_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398029979","1398029982","1398029976","1398029984","1398029972","1398029969"],"photo_ids_order":["1398029969","1398029972","1398029976","1398029979","1398029982","1398029984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/755fff379e385c4ce5e09563110571cb.jpg","text":"TemporaryFile(/tmp/multipartBody2638610110739254134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909794209,"filename":"image_02122025_14_04_14_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/5/5c3f9070fe5b553629124e6144233e84.jpg","text":"TemporaryFile(/tmp/multipartBody1224919181363624996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909794209,"filename":"image_02122025_14_04_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5718a058795e6f14aa94ff28bf1681fe.jpg","text":"TemporaryFile(/tmp/multipartBody3877324952211281262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909794209,"filename":"image_02122025_14_03_55_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/5/d81fe1b0bc911939998df449c5f0e071.jpg","text":"TemporaryFile(/tmp/multipartBody4401123870531664124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909794209,"filename":"image_02122025_14_04_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/5/c024290a11fc6bf531a0fd528d20e285.jpg","text":"TemporaryFile(/tmp/multipartBody539974706845078549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909794209,"filename":"image_02122025_14_03_44_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/556cf9492fde068b0f65b223af8920d8.jpg","text":"TemporaryFile(/tmp/multipartBody5672659243939274824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909794209,"filename":"image_02122025_14_03_34_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398029976","file1":"1398029972","file0":"1398029969","file4":"1398029982","file5":"1398029984","file3":"1398029979"},"map_files_photo_id_array":[{"photo_id":"1398029984","filename":"file5"},{"photo_id":"1398029976","filename":"file2"},{"photo_id":"1398029982","filename":"file4"},{"photo_id":"1398029972","filename":"file1"},{"photo_id":"1398029969","filename":"file0"},{"photo_id":"1398029979","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398029979":["hashtag1","hashtag2"]},{"1398029982":["hashtag1","hashtag2"]},{"1398029976":["hashtag1","hashtag2"]},{"1398029984":["hashtag1","hashtag2"]},{"1398029972":["hashtag1","hashtag2"]},{"1398029969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398029979, 1398029982, 1398029976, 1398029984, 1398029972, 1398029969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75790739059448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:43:03.263031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/39/image_05122025_05_39_54_9738.jpg', '/home/pi/Desktop/images/05122025/05/42/image_05122025_05_42_24_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/39/image_05122025_05_39_54_9738.jpg
/home/pi/Desktop/images/05122025/05/42/image_05122025_05_42_24_9703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030002","1398030004"],"photo_ids_order":["1398030002","1398030004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d2b8fe693276aa20ebc8ce0d6e299a5.jpg","text":"TemporaryFile(/tmp/multipartBody5758482088413411444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909843831,"filename":"image_05122025_05_39_54_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c932d933071038819bb70abcab9c12bf.jpg","text":"TemporaryFile(/tmp/multipartBody6093692646902044103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909843831,"filename":"image_05122025_05_42_24_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398030004","file0":"1398030002"},"map_files_photo_id_array":[{"photo_id":"1398030004","filename":"file1"},{"photo_id":"1398030002","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398030002":["hashtag1","hashtag2"]},{"1398030004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398030002, 1398030004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.31241273880005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:43:22.697222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_12_2675.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_16_3718.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_18_2653.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_21_2622.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_24_3005.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_30_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_12_2675.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_16_3718.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_18_2653.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_21_2622.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_24_3005.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_30_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030019","1398030010","1398030022","1398030016","1398030012","1398030014"],"photo_ids_order":["1398030010","1398030012","1398030014","1398030016","1398030019","1398030022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b7ce44016153f623a53dc95b2912c771.jpg","text":"TemporaryFile(/tmp/multipartBody811164448661987461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909864355,"filename":"image_31102025_18_40_24_3005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa0432c464dd2d1fedab48b92a1c5725.jpg","text":"TemporaryFile(/tmp/multipartBody9197744398393057033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909864355,"filename":"image_31102025_18_40_12_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/5/3dbd20068f73f147d229a3255e4cef0e.jpg","text":"TemporaryFile(/tmp/multipartBody6407269694669519650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909864355,"filename":"image_31102025_18_40_30_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a4933b7ae48ad49659716258b80200e6.jpg","text":"TemporaryFile(/tmp/multipartBody5029304818896236176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909864355,"filename":"image_31102025_18_40_21_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/5/2765e72536c3d4c2e3de8368010d65eb.jpg","text":"TemporaryFile(/tmp/multipartBody4324084462924367318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909864355,"filename":"image_31102025_18_40_16_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/5/a39ebb9a26bb9084736a132b0f730c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1882014768287261271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909864355,"filename":"image_31102025_18_40_18_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030014","file1":"1398030012","file0":"1398030010","file4":"1398030019","file5":"1398030022","file3":"1398030016"},"map_files_photo_id_array":[{"photo_id":"1398030022","filename":"file5"},{"photo_id":"1398030014","filename":"file2"},{"photo_id":"1398030019","filename":"file4"},{"photo_id":"1398030012","filename":"file1"},{"photo_id":"1398030010","filename":"file0"},{"photo_id":"1398030016","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398030019":["hashtag1","hashtag2"]},{"1398030010":["hashtag1","hashtag2"]},{"1398030022":["hashtag1","hashtag2"]},{"1398030016":["hashtag1","hashtag2"]},{"1398030012":["hashtag1","hashtag2"]},{"1398030014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398030019, 1398030010, 1398030022, 1398030016, 1398030012, 1398030014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.416146755218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:44:11.937873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/04/image_02122025_14_05_04_9711.jpg', '/home/pi/Desktop/images/02122025/14/05/image_02122025_14_05_25_10650.jpg', '/home/pi/Desktop/images/02122025/14/05/image_02122025_14_05_35_9794.jpg', '/home/pi/Desktop/images/02122025/14/05/image_02122025_14_05_45_10547.jpg', '/home/pi/Desktop/images/02122025/14/07/image_02122025_14_07_55_10613.jpg', '/home/pi/Desktop/images/02122025/14/09/image_02122025_14_09_45_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/04/image_02122025_14_05_04_9711.jpg
/home/pi/Desktop/images/02122025/14/05/image_02122025_14_05_25_10650.jpg
/home/pi/Desktop/images/02122025/14/05/image_02122025_14_05_35_9794.jpg
/home/pi/Desktop/images/02122025/14/05/image_02122025_14_05_45_10547.jpg
/home/pi/Desktop/images/02122025/14/07/image_02122025_14_07_55_10613.jpg
/home/pi/Desktop/images/02122025/14/09/image_02122025_14_09_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":["1398030043","1398030034","1398030028","1398030039","1398030030","1398030032"],"photo_ids_order":["1398030028","1398030030","1398030032","1398030034","1398030039","1398030043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7b3658180568813b8448520d9886deda.jpg","text":"TemporaryFile(/tmp/multipartBody2834364746360940954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909913961,"filename":"image_02122025_14_09_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/5/f3206527c9e153a141f6eb2e8860dc52.jpg","text":"TemporaryFile(/tmp/multipartBody4625538265543956844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909913961,"filename":"image_02122025_14_05_45_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2f87aeadf2e49c5b6e8bc396c25127c0.jpg","text":"TemporaryFile(/tmp/multipartBody3144242658034465837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909913961,"filename":"image_02122025_14_05_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/5/6534230dfe7cfcd206a89bb752e24561.jpg","text":"TemporaryFile(/tmp/multipartBody2101903195570318482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909913961,"filename":"image_02122025_14_07_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/5/b079358831986255ce93bcb15eeaf0fd.jpg","text":"TemporaryFile(/tmp/multipartBody1109636072788103195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909913961,"filename":"image_02122025_14_05_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/5/1e55be703ef5bb137bc4081fbb0f59bf.jpg","text":"TemporaryFile(/tmp/multipartBody4599927928451987466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909913961,"filename":"image_02122025_14_05_35_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030032","file1":"1398030030","file0":"1398030028","file4":"1398030039","file5":"1398030043","file3":"1398030034"},"map_files_photo_id_array":[{"photo_id":"1398030043","filename":"file5"},{"photo_id":"1398030032","filename":"file2"},{"photo_id":"1398030039","filename":"file4"},{"photo_id":"1398030030","filename":"file1"},{"photo_id":"1398030028","filename":"file0"},{"photo_id":"1398030034","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030043":["hashtag1","hashtag2"]},{"1398030034":["hashtag1","hashtag2"]},{"1398030028":["hashtag1","hashtag2"]},{"1398030039":["hashtag1","hashtag2"]},{"1398030030":["hashtag1","hashtag2"]},{"1398030032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030043, 1398030034, 1398030028, 1398030039, 1398030030, 1398030032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.099104166030884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:45:02.810070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/09/image_02122025_14_09_55_10517.jpg', '/home/pi/Desktop/images/02122025/14/10/image_02122025_14_10_14_9554.jpg', '/home/pi/Desktop/images/02122025/14/10/image_02122025_14_10_45_9711.jpg', '/home/pi/Desktop/images/02122025/14/10/image_02122025_14_10_54_9573.jpg', '/home/pi/Desktop/images/02122025/14/10/image_02122025_14_11_05_10741.jpg', '/home/pi/Desktop/images/02122025/14/11/image_02122025_14_11_45_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/09/image_02122025_14_09_55_10517.jpg
/home/pi/Desktop/images/02122025/14/10/image_02122025_14_10_14_9554.jpg
/home/pi/Desktop/images/02122025/14/10/image_02122025_14_10_45_9711.jpg
/home/pi/Desktop/images/02122025/14/10/image_02122025_14_10_54_9573.jpg
/home/pi/Desktop/images/02122025/14/10/image_02122025_14_11_05_10741.jpg
/home/pi/Desktop/images/02122025/14/11/image_02122025_14_11_45_9735.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":["1398030061","1398030064","1398030058","1398030054","1398030050","1398030056"],"photo_ids_order":["1398030050","1398030054","1398030056","1398030058","1398030061","1398030064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/798532782248015f8de9e7634c726eed.jpg","text":"TemporaryFile(/tmp/multipartBody3661355145789152385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909964545,"filename":"image_02122025_14_11_05_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/5/1f4242c517149fae69aaca989964119a.jpg","text":"TemporaryFile(/tmp/multipartBody6517667095105872136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909964545,"filename":"image_02122025_14_11_45_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/5/1488bded30785df3b6ea0d3e1c2c6705.jpg","text":"TemporaryFile(/tmp/multipartBody6903992394411520856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909964545,"filename":"image_02122025_14_10_54_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/5/668961a2379b189ac417614938f0f4f1.jpg","text":"TemporaryFile(/tmp/multipartBody7652155828394450292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909964545,"filename":"image_02122025_14_10_14_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/5/d25dafbe6d7266e66b795899ae40e3a5.jpg","text":"TemporaryFile(/tmp/multipartBody2210965889351618700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909964545,"filename":"image_02122025_14_09_55_10517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e855dfddb69fb06603a701e94c713b0.jpg","text":"TemporaryFile(/tmp/multipartBody8875465593969057492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764909964545,"filename":"image_02122025_14_10_45_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030056","file1":"1398030054","file0":"1398030050","file4":"1398030061","file5":"1398030064","file3":"1398030058"},"map_files_photo_id_array":[{"photo_id":"1398030064","filename":"file5"},{"photo_id":"1398030056","filename":"file2"},{"photo_id":"1398030061","filename":"file4"},{"photo_id":"1398030054","filename":"file1"},{"photo_id":"1398030050","filename":"file0"},{"photo_id":"1398030058","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030061":["hashtag1","hashtag2"]},{"1398030064":["hashtag1","hashtag2"]},{"1398030058":["hashtag1","hashtag2"]},{"1398030054":["hashtag1","hashtag2"]},{"1398030050":["hashtag1","hashtag2"]},{"1398030056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030061, 1398030064, 1398030058, 1398030054, 1398030050, 1398030056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60103750228882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:46:02.863849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/11/image_02122025_14_12_04_9730.jpg', '/home/pi/Desktop/images/02122025/14/12/image_02122025_14_12_15_10675.jpg', '/home/pi/Desktop/images/02122025/14/12/image_02122025_14_12_25_9698.jpg', '/home/pi/Desktop/images/02122025/14/12/image_02122025_14_12_34_9778.jpg', '/home/pi/Desktop/images/02122025/14/12/image_02122025_14_12_44_9781.jpg', '/home/pi/Desktop/images/02122025/14/12/image_02122025_14_12_55_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/11/image_02122025_14_12_04_9730.jpg
/home/pi/Desktop/images/02122025/14/12/image_02122025_14_12_15_10675.jpg
/home/pi/Desktop/images/02122025/14/12/image_02122025_14_12_25_9698.jpg
/home/pi/Desktop/images/02122025/14/12/image_02122025_14_12_34_9778.jpg
/home/pi/Desktop/images/02122025/14/12/image_02122025_14_12_44_9781.jpg
/home/pi/Desktop/images/02122025/14/12/image_02122025_14_12_55_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030082","1398030076","1398030072","1398030078","1398030080","1398030074"],"photo_ids_order":["1398030072","1398030074","1398030076","1398030078","1398030080","1398030082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45af45ad57ac9e3cb25b10fea22545d6.jpg","text":"TemporaryFile(/tmp/multipartBody7573490678568748855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910024539,"filename":"image_02122025_14_12_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4316e27d7bfe4dcd0725592f44971963.jpg","text":"TemporaryFile(/tmp/multipartBody427296750493375807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910024539,"filename":"image_02122025_14_12_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/68f373f5a138726ffd6fc24169e24306.jpg","text":"TemporaryFile(/tmp/multipartBody5698240712322662233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910024539,"filename":"image_02122025_14_12_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/88950a8a58843a787d1fbd9076a269d9.jpg","text":"TemporaryFile(/tmp/multipartBody4754039987436469971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910024539,"filename":"image_02122025_14_12_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/5/1a70190e0e25cafccca5de00a10cbe6e.jpg","text":"TemporaryFile(/tmp/multipartBody575842849964290264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910024539,"filename":"image_02122025_14_12_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/5/d6748d6e098d00ed4c0f4d663737f735.jpg","text":"TemporaryFile(/tmp/multipartBody8385622221784862358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910024539,"filename":"image_02122025_14_12_15_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030076","file1":"1398030074","file0":"1398030072","file4":"1398030080","file5":"1398030082","file3":"1398030078"},"map_files_photo_id_array":[{"photo_id":"1398030082","filename":"file5"},{"photo_id":"1398030076","filename":"file2"},{"photo_id":"1398030080","filename":"file4"},{"photo_id":"1398030074","filename":"file1"},{"photo_id":"1398030072","filename":"file0"},{"photo_id":"1398030078","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030082":["hashtag1","hashtag2"]},{"1398030076":["hashtag1","hashtag2"]},{"1398030072":["hashtag1","hashtag2"]},{"1398030078":["hashtag1","hashtag2"]},{"1398030080":["hashtag1","hashtag2"]},{"1398030074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030082, 1398030076, 1398030072, 1398030078, 1398030080, 1398030074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87624454498291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:46:42.557940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_37_3606.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_39_2674.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_43_3595.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_46_2598.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_48_2635.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_52_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_37_3606.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_39_2674.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_43_3595.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_46_2598.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_48_2635.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_52_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":["1398030101","1398030104","1398030115","1398030100","1398030102","1398030098"],"photo_ids_order":["1398030098","1398030100","1398030101","1398030102","1398030104","1398030115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f4cb450a6a7510373b9332bdf2770611.jpg","text":"TemporaryFile(/tmp/multipartBody7310655086849584061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910064204,"filename":"image_31102025_18_40_43_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/5/d41c09d8f00fea25af119dc6d2b001c0.jpg","text":"TemporaryFile(/tmp/multipartBody1028836950627662891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910064204,"filename":"image_31102025_18_40_48_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ae4221e5bf75137ff2e47328d83014bd.jpg","text":"TemporaryFile(/tmp/multipartBody3755923607801523957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910064204,"filename":"image_31102025_18_40_52_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/5/f11da956bf806da46641fc1dc600bb92.jpg","text":"TemporaryFile(/tmp/multipartBody3367514662697001423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910064204,"filename":"image_31102025_18_40_39_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e6b8e1d838092359feb1a1e0ca191691.jpg","text":"TemporaryFile(/tmp/multipartBody8237244514215858083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910064204,"filename":"image_31102025_18_40_46_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/5/e57f926a81cbaf3f63c5f7b34eada3dc.jpg","text":"TemporaryFile(/tmp/multipartBody6985082692421925803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910064204,"filename":"image_31102025_18_40_37_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030101","file1":"1398030100","file0":"1398030098","file4":"1398030104","file5":"1398030115","file3":"1398030102"},"map_files_photo_id_array":[{"photo_id":"1398030115","filename":"file5"},{"photo_id":"1398030101","filename":"file2"},{"photo_id":"1398030104","filename":"file4"},{"photo_id":"1398030100","filename":"file1"},{"photo_id":"1398030098","filename":"file0"},{"photo_id":"1398030102","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398030101":["hashtag1","hashtag2"]},{"1398030104":["hashtag1","hashtag2"]},{"1398030115":["hashtag1","hashtag2"]},{"1398030100":["hashtag1","hashtag2"]},{"1398030102":["hashtag1","hashtag2"]},{"1398030098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398030101, 1398030104, 1398030115, 1398030100, 1398030102, 1398030098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75745105743408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:47:22.760700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/42/image_05122025_05_42_34_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/42/image_05122025_05_42_34_10633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030120"],"photo_id":"1398030120","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c4720dca8575eb2e09faea8fef54fc90.jpg","text":"TemporaryFile(/tmp/multipartBody7024999873114442603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910103272,"filename":"image_05122025_05_42_34_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398030120"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398030120"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.486041069030762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:47:42.762269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_55_2890.jpg', '/home/pi/Desktop/images/31102025/18/40/image_31102025_18_41_00_2681.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_04_3693.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_06_2567.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_10_3651.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_13_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_40_55_2890.jpg
/home/pi/Desktop/images/31102025/18/40/image_31102025_18_41_00_2681.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_04_3693.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_06_2567.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_10_3651.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_13_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030136","1398030133","1398030129","1398030132","1398030131","1398030134"],"photo_ids_order":["1398030129","1398030131","1398030132","1398030133","1398030134","1398030136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3fc6a1f256c4d91c2497aa9b98345e59.jpg","text":"TemporaryFile(/tmp/multipartBody4436922880692958148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910124379,"filename":"image_31102025_18_41_13_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/5/65ea487fddad2121527b060199f5099a.jpg","text":"TemporaryFile(/tmp/multipartBody8586148880593789659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910124379,"filename":"image_31102025_18_41_06_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/5/1eb427bffd112b1720f8d0a4e2d8ea07.jpg","text":"TemporaryFile(/tmp/multipartBody6732334703117561810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910124379,"filename":"image_31102025_18_40_55_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d06c659358f0a70e23d0d0c4979b2b5.jpg","text":"TemporaryFile(/tmp/multipartBody1508573204284302573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910124379,"filename":"image_31102025_18_41_04_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/5/52c9074867297ac9bce2adf981a711e2.jpg","text":"TemporaryFile(/tmp/multipartBody511703038600806253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910124379,"filename":"image_31102025_18_41_00_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/5/e5099249c9b5c3e0cd17a821eeaaf546.jpg","text":"TemporaryFile(/tmp/multipartBody6702320329496422062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910124379,"filename":"image_31102025_18_41_10_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030132","file1":"1398030131","file0":"1398030129","file4":"1398030134","file5":"1398030136","file3":"1398030133"},"map_files_photo_id_array":[{"photo_id":"1398030136","filename":"file5"},{"photo_id":"1398030132","filename":"file2"},{"photo_id":"1398030134","filename":"file4"},{"photo_id":"1398030131","filename":"file1"},{"photo_id":"1398030129","filename":"file0"},{"photo_id":"1398030133","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398030136":["hashtag1","hashtag2"]},{"1398030133":["hashtag1","hashtag2"]},{"1398030129":["hashtag1","hashtag2"]},{"1398030132":["hashtag1","hashtag2"]},{"1398030131":["hashtag1","hashtag2"]},{"1398030134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398030136, 1398030133, 1398030129, 1398030132, 1398030131, 1398030134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45179200172424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:48:21.931594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_15_2541.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_18_2794.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_22_3725.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_24_2526.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_28_3618.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_30_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_15_2541.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_18_2794.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_22_3725.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_24_2526.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_28_3618.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_30_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":["1398030154","1398030142","1398030156","1398030144","1398030152","1398030146"],"photo_ids_order":["1398030142","1398030144","1398030146","1398030152","1398030154","1398030156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1f82cbfed338d4177f5fa4284ea2d138.jpg","text":"TemporaryFile(/tmp/multipartBody608846636537885640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910163552,"filename":"image_31102025_18_41_28_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/5/5d32d208614f17807b6e7be747dda7e6.jpg","text":"TemporaryFile(/tmp/multipartBody6563257341090028911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910163552,"filename":"image_31102025_18_41_15_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/5/b5a22b7a4c554e6d343eabe522f9b908.jpg","text":"TemporaryFile(/tmp/multipartBody8503438307998713130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910163552,"filename":"image_31102025_18_41_30_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/5/738aa92b5c01244b6e079979ab54c76d.jpg","text":"TemporaryFile(/tmp/multipartBody5293319110640643883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910163552,"filename":"image_31102025_18_41_18_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/5/6340e04ae0076b33f15ffc94d2076273.jpg","text":"TemporaryFile(/tmp/multipartBody2567973029045702449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910163552,"filename":"image_31102025_18_41_24_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d810148c010b8be31ae7b3beb2f765b6.jpg","text":"TemporaryFile(/tmp/multipartBody6502687909276259721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910163552,"filename":"image_31102025_18_41_22_3725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030146","file1":"1398030144","file0":"1398030142","file4":"1398030154","file5":"1398030156","file3":"1398030152"},"map_files_photo_id_array":[{"photo_id":"1398030156","filename":"file5"},{"photo_id":"1398030146","filename":"file2"},{"photo_id":"1398030154","filename":"file4"},{"photo_id":"1398030144","filename":"file1"},{"photo_id":"1398030142","filename":"file0"},{"photo_id":"1398030152","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398030154":["hashtag1","hashtag2"]},{"1398030142":["hashtag1","hashtag2"]},{"1398030156":["hashtag1","hashtag2"]},{"1398030144":["hashtag1","hashtag2"]},{"1398030152":["hashtag1","hashtag2"]},{"1398030146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398030154, 1398030142, 1398030156, 1398030144, 1398030152, 1398030146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82977795600891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:49:02.983533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/13/image_02122025_14_13_14_9662.jpg', '/home/pi/Desktop/images/02122025/14/13/image_02122025_14_13_25_10819.jpg', '/home/pi/Desktop/images/02122025/14/13/image_02122025_14_13_35_9662.jpg', '/home/pi/Desktop/images/02122025/14/13/image_02122025_14_14_05_10612.jpg', '/home/pi/Desktop/images/02122025/14/14/image_02122025_14_14_25_10616.jpg', '/home/pi/Desktop/images/02122025/14/14/image_02122025_14_14_35_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/13/image_02122025_14_13_14_9662.jpg
/home/pi/Desktop/images/02122025/14/13/image_02122025_14_13_25_10819.jpg
/home/pi/Desktop/images/02122025/14/13/image_02122025_14_13_35_9662.jpg
/home/pi/Desktop/images/02122025/14/13/image_02122025_14_14_05_10612.jpg
/home/pi/Desktop/images/02122025/14/14/image_02122025_14_14_25_10616.jpg
/home/pi/Desktop/images/02122025/14/14/image_02122025_14_14_35_9558.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":["1398030163","1398030165","1398030159","1398030168","1398030161","1398030158"],"photo_ids_order":["1398030158","1398030159","1398030161","1398030163","1398030165","1398030168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d418456ed2091d97c29d0d0342093185.jpg","text":"TemporaryFile(/tmp/multipartBody7304679554843989387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910204778,"filename":"image_02122025_14_14_05_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/5/c67503ae4ff7912fd52efd049eff8c97.jpg","text":"TemporaryFile(/tmp/multipartBody9141421578203049972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910204778,"filename":"image_02122025_14_14_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/5/52f5e823979202c5bd5f75ad3bfc15ea.jpg","text":"TemporaryFile(/tmp/multipartBody3179624610012306766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910204778,"filename":"image_02122025_14_13_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/5/5d167cf0db78558a4d3653b599fd0fd2.jpg","text":"TemporaryFile(/tmp/multipartBody7713593449941405834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910204778,"filename":"image_02122025_14_14_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/5/0690452d167aff781b2a957ac40dddb4.jpg","text":"TemporaryFile(/tmp/multipartBody4099586949952691459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910204778,"filename":"image_02122025_14_13_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/5/985d3a653569759a54aae0e8d4586d07.jpg","text":"TemporaryFile(/tmp/multipartBody2085778934130841331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910204778,"filename":"image_02122025_14_13_14_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030161","file1":"1398030159","file0":"1398030158","file4":"1398030165","file5":"1398030168","file3":"1398030163"},"map_files_photo_id_array":[{"photo_id":"1398030168","filename":"file5"},{"photo_id":"1398030161","filename":"file2"},{"photo_id":"1398030165","filename":"file4"},{"photo_id":"1398030159","filename":"file1"},{"photo_id":"1398030158","filename":"file0"},{"photo_id":"1398030163","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030163":["hashtag1","hashtag2"]},{"1398030165":["hashtag1","hashtag2"]},{"1398030159":["hashtag1","hashtag2"]},{"1398030168":["hashtag1","hashtag2"]},{"1398030161":["hashtag1","hashtag2"]},{"1398030158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030163, 1398030165, 1398030159, 1398030168, 1398030161, 1398030158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17653751373291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:50:02.699224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/14/image_02122025_14_14_55_10642.jpg', '/home/pi/Desktop/images/02122025/14/14/image_02122025_14_15_05_9820.jpg', '/home/pi/Desktop/images/02122025/14/15/image_02122025_14_15_14_9660.jpg', '/home/pi/Desktop/images/02122025/14/15/image_02122025_14_15_24_9634.jpg', '/home/pi/Desktop/images/02122025/14/15/image_02122025_14_15_35_10618.jpg', '/home/pi/Desktop/images/02122025/14/15/image_02122025_14_15_45_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/14/image_02122025_14_14_55_10642.jpg
/home/pi/Desktop/images/02122025/14/14/image_02122025_14_15_05_9820.jpg
/home/pi/Desktop/images/02122025/14/15/image_02122025_14_15_14_9660.jpg
/home/pi/Desktop/images/02122025/14/15/image_02122025_14_15_24_9634.jpg
/home/pi/Desktop/images/02122025/14/15/image_02122025_14_15_35_10618.jpg
/home/pi/Desktop/images/02122025/14/15/image_02122025_14_15_45_9832.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":["1398030184","1398030186","1398030194","1398030188","1398030197","1398030191"],"photo_ids_order":["1398030184","1398030186","1398030188","1398030191","1398030194","1398030197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/692116e84381842768aea53355256c12.jpg","text":"TemporaryFile(/tmp/multipartBody2283016921717476373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910264334,"filename":"image_02122025_14_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/5/aaf6c76971f1293b6572f46766f5fd07.jpg","text":"TemporaryFile(/tmp/multipartBody6596178363742121597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910264334,"filename":"image_02122025_14_15_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/5/e409ec17d88219b2adf6c68a13a209f4.jpg","text":"TemporaryFile(/tmp/multipartBody3329061437037469665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910264334,"filename":"image_02122025_14_15_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/71c53789cecd069d6f1b0601b3ed2fe4.jpg","text":"TemporaryFile(/tmp/multipartBody8277472341835452518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910264334,"filename":"image_02122025_14_15_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/5/8180e68080ac89f63e1433f7dfae38dc.jpg","text":"TemporaryFile(/tmp/multipartBody1034203771800034367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910264334,"filename":"image_02122025_14_15_45_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/5/f88e43307f5c0cb5ac53dca333f8c85f.jpg","text":"TemporaryFile(/tmp/multipartBody7309817046804615396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910264334,"filename":"image_02122025_14_15_24_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030188","file1":"1398030186","file0":"1398030184","file4":"1398030194","file5":"1398030197","file3":"1398030191"},"map_files_photo_id_array":[{"photo_id":"1398030197","filename":"file5"},{"photo_id":"1398030188","filename":"file2"},{"photo_id":"1398030194","filename":"file4"},{"photo_id":"1398030186","filename":"file1"},{"photo_id":"1398030184","filename":"file0"},{"photo_id":"1398030191","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030184":["hashtag1","hashtag2"]},{"1398030186":["hashtag1","hashtag2"]},{"1398030194":["hashtag1","hashtag2"]},{"1398030188":["hashtag1","hashtag2"]},{"1398030197":["hashtag1","hashtag2"]},{"1398030191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030184, 1398030186, 1398030194, 1398030188, 1398030197, 1398030191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.328431844711304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:51:03.047254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/46/image_05122025_05_46_33_9550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/46/image_05122025_05_46_33_9550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030208"],"photo_id":"1398030208","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17216a335004349b74b6d9f675ce91be.jpg","text":"TemporaryFile(/tmp/multipartBody6593391107714275253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910323590,"filename":"image_05122025_05_46_33_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398030208"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398030208"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.624076843261719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:51:22.423418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_33_2548.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_37_3633.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_39_2598.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_42_2641.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_45_3579.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_52_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_33_2548.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_37_3633.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_39_2598.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_42_2641.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_45_3579.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_52_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":["1398030229","1398030234","1398030237","1398030231","1398030224","1398030227"],"photo_ids_order":["1398030224","1398030227","1398030229","1398030231","1398030234","1398030237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4b6a66d5ccb97283f69790ae5989d528.jpg","text":"TemporaryFile(/tmp/multipartBody6524645259645315988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910344132,"filename":"image_31102025_18_41_39_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/5/7761173877f828a472109c5c509191a0.jpg","text":"TemporaryFile(/tmp/multipartBody4788018551921599925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910344132,"filename":"image_31102025_18_41_45_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/37fa8128f4a682d2554f48afdbe6d5f5.jpg","text":"TemporaryFile(/tmp/multipartBody4581829408757570578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910344132,"filename":"image_31102025_18_41_52_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/5/311b8ab803ed4094c53b50eb0a422105.jpg","text":"TemporaryFile(/tmp/multipartBody743536162197109485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910344132,"filename":"image_31102025_18_41_42_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/5/f1e5cf96a16b9a47f2073e57eedf9aae.jpg","text":"TemporaryFile(/tmp/multipartBody7965041355257057931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910344132,"filename":"image_31102025_18_41_33_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7efdeadb86527c064b50df56b587a32d.jpg","text":"TemporaryFile(/tmp/multipartBody2692141764431200226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910344132,"filename":"image_31102025_18_41_37_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030229","file1":"1398030227","file0":"1398030224","file4":"1398030234","file5":"1398030237","file3":"1398030231"},"map_files_photo_id_array":[{"photo_id":"1398030237","filename":"file5"},{"photo_id":"1398030229","filename":"file2"},{"photo_id":"1398030234","filename":"file4"},{"photo_id":"1398030227","filename":"file1"},{"photo_id":"1398030224","filename":"file0"},{"photo_id":"1398030231","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398030229":["hashtag1","hashtag2"]},{"1398030234":["hashtag1","hashtag2"]},{"1398030237":["hashtag1","hashtag2"]},{"1398030231":["hashtag1","hashtag2"]},{"1398030224":["hashtag1","hashtag2"]},{"1398030227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398030229, 1398030234, 1398030237, 1398030231, 1398030224, 1398030227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97638440132141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:52:03.122300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/15/image_02122025_14_16_05_10772.jpg', '/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_15_9686.jpg', '/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_35_10583.jpg', '/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_45_9648.jpg', '/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_54_9695.jpg', '/home/pi/Desktop/images/02122025/14/16/image_02122025_14_17_04_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/15/image_02122025_14_16_05_10772.jpg
/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_15_9686.jpg
/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_35_10583.jpg
/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_45_9648.jpg
/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_54_9695.jpg
/home/pi/Desktop/images/02122025/14/16/image_02122025_14_17_04_9669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5409290790557861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 05:52:12.700238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/15/image_02122025_14_16_05_10772.jpg', '/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_15_9686.jpg', '/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_35_10583.jpg', '/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_45_9648.jpg', '/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_54_9695.jpg', '/home/pi/Desktop/images/02122025/14/16/image_02122025_14_17_04_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/15/image_02122025_14_16_05_10772.jpg
/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_15_9686.jpg
/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_35_10583.jpg
/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_45_9648.jpg
/home/pi/Desktop/images/02122025/14/16/image_02122025_14_16_54_9695.jpg
/home/pi/Desktop/images/02122025/14/16/image_02122025_14_17_04_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030253","1398030256","1398030258","1398030242","1398030251","1398030245"],"photo_ids_order":["1398030242","1398030245","1398030251","1398030253","1398030256","1398030258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ab001d68eee1ac2cf0c775962932b6a.jpg","text":"TemporaryFile(/tmp/multipartBody7694379940130618591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910394496,"filename":"image_02122025_14_16_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f3c0a23955c984b7dfbc617adcd57a1.jpg","text":"TemporaryFile(/tmp/multipartBody7702931802435072459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910394496,"filename":"image_02122025_14_16_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/5/6cc943825ec852613e08b9c2e670de6b.jpg","text":"TemporaryFile(/tmp/multipartBody459263098478587615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910394496,"filename":"image_02122025_14_17_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/5/62709b37f32814b08089f06fde05ca44.jpg","text":"TemporaryFile(/tmp/multipartBody6426251737595485236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910394496,"filename":"image_02122025_14_16_05_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/5/3a75e49634e4d69a9a005a3d34879f60.jpg","text":"TemporaryFile(/tmp/multipartBody6586950911361176122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910394496,"filename":"image_02122025_14_16_35_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/5/4a9cd20acd0e55e29e51df89c8cf272e.jpg","text":"TemporaryFile(/tmp/multipartBody7988690071240655243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910394496,"filename":"image_02122025_14_16_15_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030251","file1":"1398030245","file0":"1398030242","file4":"1398030256","file5":"1398030258","file3":"1398030253"},"map_files_photo_id_array":[{"photo_id":"1398030258","filename":"file5"},{"photo_id":"1398030251","filename":"file2"},{"photo_id":"1398030256","filename":"file4"},{"photo_id":"1398030245","filename":"file1"},{"photo_id":"1398030242","filename":"file0"},{"photo_id":"1398030253","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030253":["hashtag1","hashtag2"]},{"1398030256":["hashtag1","hashtag2"]},{"1398030258":["hashtag1","hashtag2"]},{"1398030242":["hashtag1","hashtag2"]},{"1398030251":["hashtag1","hashtag2"]},{"1398030245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030253, 1398030256, 1398030258, 1398030242, 1398030251, 1398030245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53235197067261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:53:02.620242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/17/image_02122025_14_17_15_10835.jpg', '/home/pi/Desktop/images/02122025/14/17/image_02122025_14_17_44_9825.jpg', '/home/pi/Desktop/images/02122025/14/17/image_02122025_14_17_55_10719.jpg', '/home/pi/Desktop/images/02122025/14/17/image_02122025_14_18_04_9583.jpg', '/home/pi/Desktop/images/02122025/14/18/image_02122025_14_18_15_10644.jpg', '/home/pi/Desktop/images/02122025/14/18/image_02122025_14_18_25_10024.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/17/image_02122025_14_17_15_10835.jpg
/home/pi/Desktop/images/02122025/14/17/image_02122025_14_17_44_9825.jpg
/home/pi/Desktop/images/02122025/14/17/image_02122025_14_17_55_10719.jpg
/home/pi/Desktop/images/02122025/14/17/image_02122025_14_18_04_9583.jpg
/home/pi/Desktop/images/02122025/14/18/image_02122025_14_18_15_10644.jpg
/home/pi/Desktop/images/02122025/14/18/image_02122025_14_18_25_10024.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030292","1398030286","1398030283","1398030288","1398030275","1398030290"],"photo_ids_order":["1398030275","1398030283","1398030286","1398030288","1398030290","1398030292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ac744f52f305ad9e5afe1bd374b97a6.jpg","text":"TemporaryFile(/tmp/multipartBody7873858855512372901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910444236,"filename":"image_02122025_14_18_25_10024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/685c6d25eaec9b09072168e88594bc44.jpg","text":"TemporaryFile(/tmp/multipartBody5656836870569332283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910444236,"filename":"image_02122025_14_17_55_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/5/8305cf105f8e3f1895dce026b061335d.jpg","text":"TemporaryFile(/tmp/multipartBody6480702562979564721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910444236,"filename":"image_02122025_14_17_44_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/5/2569b4ffaa683f3ad991c8334afe58df.jpg","text":"TemporaryFile(/tmp/multipartBody2472861594367041285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910444236,"filename":"image_02122025_14_18_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/5/5974650a8cc02393fd0b0464a556ba09.jpg","text":"TemporaryFile(/tmp/multipartBody70068654535531976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910444236,"filename":"image_02122025_14_17_15_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c0cbe9b1f59288db334e786e46d747f.jpg","text":"TemporaryFile(/tmp/multipartBody7763963498978516517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910444236,"filename":"image_02122025_14_18_15_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030286","file1":"1398030283","file0":"1398030275","file4":"1398030290","file5":"1398030292","file3":"1398030288"},"map_files_photo_id_array":[{"photo_id":"1398030292","filename":"file5"},{"photo_id":"1398030286","filename":"file2"},{"photo_id":"1398030290","filename":"file4"},{"photo_id":"1398030283","filename":"file1"},{"photo_id":"1398030275","filename":"file0"},{"photo_id":"1398030288","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030292":["hashtag1","hashtag2"]},{"1398030286":["hashtag1","hashtag2"]},{"1398030283":["hashtag1","hashtag2"]},{"1398030288":["hashtag1","hashtag2"]},{"1398030275":["hashtag1","hashtag2"]},{"1398030290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030292, 1398030286, 1398030283, 1398030288, 1398030275, 1398030290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.117685079574585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:53:41.841362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_54_2807.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_57_2735.jpg', '/home/pi/Desktop/images/31102025/18/41/image_31102025_18_42_00_2763.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_04_3662.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_06_2637.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_09_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_54_2807.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_41_57_2735.jpg
/home/pi/Desktop/images/31102025/18/41/image_31102025_18_42_00_2763.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_04_3662.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_06_2637.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_09_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":["1398030298","1398030302","1398030301","1398030300","1398030303","1398030305"],"photo_ids_order":["1398030298","1398030300","1398030301","1398030302","1398030303","1398030305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0cc325e926cccfc59e4387cb199a1ca6.jpg","text":"TemporaryFile(/tmp/multipartBody7972204756437448614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910483514,"filename":"image_31102025_18_41_54_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/5/5798a8c6c4ceaa6c9749db82fac06df5.jpg","text":"TemporaryFile(/tmp/multipartBody6587860142394186626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910483514,"filename":"image_31102025_18_42_04_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/48cd3128780a59d8695cf183855b6bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4100158613462337534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910483514,"filename":"image_31102025_18_42_00_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/5/a85a054dc301aba633a6575da12e0eb4.jpg","text":"TemporaryFile(/tmp/multipartBody6689451023326435210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910483514,"filename":"image_31102025_18_41_57_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/5/3ec62f608b6ec6d83a68166576ccc9fe.jpg","text":"TemporaryFile(/tmp/multipartBody7086115836429208818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910483514,"filename":"image_31102025_18_42_06_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/5/dd3b942eeb40d63f83eb5d1857b2bddb.jpg","text":"TemporaryFile(/tmp/multipartBody2804164544616753887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910483514,"filename":"image_31102025_18_42_09_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030301","file1":"1398030300","file0":"1398030298","file4":"1398030303","file5":"1398030305","file3":"1398030302"},"map_files_photo_id_array":[{"photo_id":"1398030305","filename":"file5"},{"photo_id":"1398030301","filename":"file2"},{"photo_id":"1398030303","filename":"file4"},{"photo_id":"1398030300","filename":"file1"},{"photo_id":"1398030298","filename":"file0"},{"photo_id":"1398030302","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398030298":["hashtag1","hashtag2"]},{"1398030302":["hashtag1","hashtag2"]},{"1398030301":["hashtag1","hashtag2"]},{"1398030300":["hashtag1","hashtag2"]},{"1398030303":["hashtag1","hashtag2"]},{"1398030305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398030298, 1398030302, 1398030301, 1398030300, 1398030303, 1398030305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.190269231796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:54:21.993261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/50/image_05122025_05_50_54_9904.jpg', '/home/pi/Desktop/images/05122025/05/53/image_05122025_05_54_04_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/50/image_05122025_05_50_54_9904.jpg
/home/pi/Desktop/images/05122025/05/53/image_05122025_05_54_04_10765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030308","1398030306"],"photo_ids_order":["1398030306","1398030308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c099a0bcc5908c6ca8b00bbe81cf7d2a.jpg","text":"TemporaryFile(/tmp/multipartBody8112884991813837837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910522539,"filename":"image_05122025_05_54_04_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/5/902e7207f373c60e3bf81b9484c92982.jpg","text":"TemporaryFile(/tmp/multipartBody7546782999003002029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910522539,"filename":"image_05122025_05_50_54_9904.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398030308","file0":"1398030306"},"map_files_photo_id_array":[{"photo_id":"1398030308","filename":"file1"},{"photo_id":"1398030306","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398030308":["hashtag1","hashtag2"]},{"1398030306":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398030308, 1398030306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.137508630752563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:54:41.972143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_13_3625.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_15_2781.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_18_2763.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_21_2697.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_33_2648.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_36_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_13_3625.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_15_2781.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_18_2763.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_21_2697.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_33_2648.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_36_3648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030320","1398030322","1398030321","1398030318","1398030323","1398030326"],"photo_ids_order":["1398030318","1398030320","1398030321","1398030322","1398030323","1398030326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/58f187637b425ace73284553427969b7.jpg","text":"TemporaryFile(/tmp/multipartBody4520164556915499768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910543616,"filename":"image_31102025_18_42_15_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/5/a14a3750669d76101e8ae14530045540.jpg","text":"TemporaryFile(/tmp/multipartBody3853482173994619994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910543616,"filename":"image_31102025_18_42_21_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/05d735de0137d1724174e90e85429753.jpg","text":"TemporaryFile(/tmp/multipartBody6801084647304174313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910543616,"filename":"image_31102025_18_42_18_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/5/67ad276f67c23c6d3846bddcc282eaef.jpg","text":"TemporaryFile(/tmp/multipartBody7912314400881105825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910543616,"filename":"image_31102025_18_42_13_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/5/375833e04230b1cf8821082297c9756d.jpg","text":"TemporaryFile(/tmp/multipartBody5755928178829781254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910543616,"filename":"image_31102025_18_42_33_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/5/4403a1b8387defec640b9c59f192efaf.jpg","text":"TemporaryFile(/tmp/multipartBody1246272366922863587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910543616,"filename":"image_31102025_18_42_36_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030321","file1":"1398030320","file0":"1398030318","file4":"1398030323","file5":"1398030326","file3":"1398030322"},"map_files_photo_id_array":[{"photo_id":"1398030326","filename":"file5"},{"photo_id":"1398030321","filename":"file2"},{"photo_id":"1398030323","filename":"file4"},{"photo_id":"1398030320","filename":"file1"},{"photo_id":"1398030318","filename":"file0"},{"photo_id":"1398030322","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398030320":["hashtag1","hashtag2"]},{"1398030322":["hashtag1","hashtag2"]},{"1398030321":["hashtag1","hashtag2"]},{"1398030318":["hashtag1","hashtag2"]},{"1398030323":["hashtag1","hashtag2"]},{"1398030326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398030320, 1398030322, 1398030321, 1398030318, 1398030323, 1398030326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10784411430359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 05:55:22.108795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_39_2714.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_42_2588.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_45_3601.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_48_2561.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_54_2636.jpg', '/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_58_3499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_39_2714.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_42_2588.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_45_3601.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_48_2561.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_54_2636.jpg
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_42_58_3499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030343","1398030337","1398030339","1398030336","1398030341","1398030347"],"photo_ids_order":["1398030336","1398030337","1398030339","1398030341","1398030343","1398030347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6322c7c3ac561ed73d12a18e9d949cdf.jpg","text":"TemporaryFile(/tmp/multipartBody1423597666530427870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910583716,"filename":"image_31102025_18_42_54_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/251a70e6b48b3bebaae6e6655901e3de.jpg","text":"TemporaryFile(/tmp/multipartBody8499067001693918025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910583716,"filename":"image_31102025_18_42_42_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/5/922ddefa40bf50699f63d89c6e504c94.jpg","text":"TemporaryFile(/tmp/multipartBody4797502045465470676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910583716,"filename":"image_31102025_18_42_45_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/5/003c2df5b306bd1bfdb1837e6a179d58.jpg","text":"TemporaryFile(/tmp/multipartBody3449911121023016576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910583716,"filename":"image_31102025_18_42_39_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/5/ed5d77c6cb6b08cdc9a8b68d00241c5f.jpg","text":"TemporaryFile(/tmp/multipartBody5778944373345674801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910583716,"filename":"image_31102025_18_42_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/5/edb5514f755238ee952f720cb3427ad9.jpg","text":"TemporaryFile(/tmp/multipartBody341021685985770063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910583716,"filename":"image_31102025_18_42_58_3499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030339","file1":"1398030337","file0":"1398030336","file4":"1398030343","file5":"1398030347","file3":"1398030341"},"map_files_photo_id_array":[{"photo_id":"1398030347","filename":"file5"},{"photo_id":"1398030339","filename":"file2"},{"photo_id":"1398030343","filename":"file4"},{"photo_id":"1398030337","filename":"file1"},{"photo_id":"1398030336","filename":"file0"},{"photo_id":"1398030341","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398030343":["hashtag1","hashtag2"]},{"1398030337":["hashtag1","hashtag2"]},{"1398030339":["hashtag1","hashtag2"]},{"1398030336":["hashtag1","hashtag2"]},{"1398030341":["hashtag1","hashtag2"]},{"1398030347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398030343, 1398030337, 1398030339, 1398030336, 1398030341, 1398030347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.449074029922485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:56:02.819118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/18/image_02122025_14_18_35_9728.jpg', '/home/pi/Desktop/images/02122025/14/18/image_02122025_14_18_45_9727.jpg', '/home/pi/Desktop/images/02122025/14/18/image_02122025_14_19_05_10750.jpg', '/home/pi/Desktop/images/02122025/14/19/image_02122025_14_19_15_9725.jpg', '/home/pi/Desktop/images/02122025/14/19/image_02122025_14_19_35_10584.jpg', '/home/pi/Desktop/images/02122025/14/19/image_02122025_14_19_45_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/18/image_02122025_14_18_35_9728.jpg
/home/pi/Desktop/images/02122025/14/18/image_02122025_14_18_45_9727.jpg
/home/pi/Desktop/images/02122025/14/18/image_02122025_14_19_05_10750.jpg
/home/pi/Desktop/images/02122025/14/19/image_02122025_14_19_15_9725.jpg
/home/pi/Desktop/images/02122025/14/19/image_02122025_14_19_35_10584.jpg
/home/pi/Desktop/images/02122025/14/19/image_02122025_14_19_45_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030364","1398030363","1398030357","1398030366","1398030368","1398030362"],"photo_ids_order":["1398030357","1398030362","1398030363","1398030364","1398030366","1398030368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/11f4aee79751102ce068e84495683070.jpg","text":"TemporaryFile(/tmp/multipartBody6992021485477644234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910624465,"filename":"image_02122025_14_19_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/5/869d6982cff23b05c75e2102edade694.jpg","text":"TemporaryFile(/tmp/multipartBody3803234413843287426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910624465,"filename":"image_02122025_14_19_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/5/fc472797b10b8932de954eb0e3242b10.jpg","text":"TemporaryFile(/tmp/multipartBody3613881112431775077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910624465,"filename":"image_02122025_14_18_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/5/972de3a675cc95ebbf9c91d5fcbe0e7a.jpg","text":"TemporaryFile(/tmp/multipartBody479466204783118864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910624465,"filename":"image_02122025_14_19_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/5/b76ce0fd6aeaefeda46bd3ef3fcde7e4.jpg","text":"TemporaryFile(/tmp/multipartBody4374036790228076676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910624465,"filename":"image_02122025_14_19_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/5/73704af4785b9def858c1e3d0efbcb01.jpg","text":"TemporaryFile(/tmp/multipartBody6294293564870785035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910624465,"filename":"image_02122025_14_18_45_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030363","file1":"1398030362","file0":"1398030357","file4":"1398030366","file5":"1398030368","file3":"1398030364"},"map_files_photo_id_array":[{"photo_id":"1398030368","filename":"file5"},{"photo_id":"1398030363","filename":"file2"},{"photo_id":"1398030366","filename":"file4"},{"photo_id":"1398030362","filename":"file1"},{"photo_id":"1398030357","filename":"file0"},{"photo_id":"1398030364","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030364":["hashtag1","hashtag2"]},{"1398030363":["hashtag1","hashtag2"]},{"1398030357":["hashtag1","hashtag2"]},{"1398030366":["hashtag1","hashtag2"]},{"1398030368":["hashtag1","hashtag2"]},{"1398030362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030364, 1398030363, 1398030357, 1398030366, 1398030368, 1398030362)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.135374307632446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:57:03.155510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/19/image_02122025_14_20_05_10580.jpg', '/home/pi/Desktop/images/02122025/14/20/image_02122025_14_20_24_9797.jpg', '/home/pi/Desktop/images/02122025/14/20/image_02122025_14_20_34_9715.jpg', '/home/pi/Desktop/images/02122025/14/20/image_02122025_14_20_45_10921.jpg', '/home/pi/Desktop/images/02122025/14/20/image_02122025_14_20_55_9730.jpg', '/home/pi/Desktop/images/02122025/14/20/image_02122025_14_21_04_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/19/image_02122025_14_20_05_10580.jpg
/home/pi/Desktop/images/02122025/14/20/image_02122025_14_20_24_9797.jpg
/home/pi/Desktop/images/02122025/14/20/image_02122025_14_20_34_9715.jpg
/home/pi/Desktop/images/02122025/14/20/image_02122025_14_20_45_10921.jpg
/home/pi/Desktop/images/02122025/14/20/image_02122025_14_20_55_9730.jpg
/home/pi/Desktop/images/02122025/14/20/image_02122025_14_21_04_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030397","1398030401","1398030388","1398030396","1398030381","1398030399"],"photo_ids_order":["1398030381","1398030388","1398030396","1398030397","1398030399","1398030401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3b150c708b367540b8a145ee70171870.jpg","text":"TemporaryFile(/tmp/multipartBody5288437962195646170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910685035,"filename":"image_02122025_14_20_45_10921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d0f2e0b38bec19ea42def4dae9e6bd30.jpg","text":"TemporaryFile(/tmp/multipartBody5689945309219913520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910685035,"filename":"image_02122025_14_21_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/5/2d1799a28929c8e3d767e18e221eeffa.jpg","text":"TemporaryFile(/tmp/multipartBody1094161759823095783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910685035,"filename":"image_02122025_14_20_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/5/c2d0348a81921904ec7e9ebdd4c966db.jpg","text":"TemporaryFile(/tmp/multipartBody1457847144906386704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910685035,"filename":"image_02122025_14_20_34_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a6f174dbb2aff1fb1f86e912ba5ffc82.jpg","text":"TemporaryFile(/tmp/multipartBody2280463262612887291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910685035,"filename":"image_02122025_14_20_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/5/f3e6f1b71461f83cc49cac2f56e76a52.jpg","text":"TemporaryFile(/tmp/multipartBody4341439428767553013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910685035,"filename":"image_02122025_14_20_55_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030396","file1":"1398030388","file0":"1398030381","file4":"1398030399","file5":"1398030401","file3":"1398030397"},"map_files_photo_id_array":[{"photo_id":"1398030401","filename":"file5"},{"photo_id":"1398030396","filename":"file2"},{"photo_id":"1398030399","filename":"file4"},{"photo_id":"1398030388","filename":"file1"},{"photo_id":"1398030381","filename":"file0"},{"photo_id":"1398030397","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030397":["hashtag1","hashtag2"]},{"1398030401":["hashtag1","hashtag2"]},{"1398030388":["hashtag1","hashtag2"]},{"1398030396":["hashtag1","hashtag2"]},{"1398030381":["hashtag1","hashtag2"]},{"1398030399":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030397, 1398030401, 1398030388, 1398030396, 1398030381, 1398030399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47044038772583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 05:57:42.605461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/42/image_31102025_18_43_00_2552.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_03_2708.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_07_3614.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_09_2555.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_12_2697.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_15_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_43_00_2552.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_03_2708.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_07_3614.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_09_2555.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_12_2697.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_15_3656.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4855458736419678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 05:59:02.992301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/21/image_02122025_14_21_14_9653.jpg', '/home/pi/Desktop/images/02122025/14/21/image_02122025_14_21_25_10836.jpg', '/home/pi/Desktop/images/02122025/14/21/image_02122025_14_21_35_9728.jpg', '/home/pi/Desktop/images/02122025/14/21/image_02122025_14_21_44_9693.jpg', '/home/pi/Desktop/images/02122025/14/21/image_02122025_14_21_54_9691.jpg', '/home/pi/Desktop/images/02122025/14/21/image_02122025_14_22_05_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/21/image_02122025_14_21_14_9653.jpg
/home/pi/Desktop/images/02122025/14/21/image_02122025_14_21_25_10836.jpg
/home/pi/Desktop/images/02122025/14/21/image_02122025_14_21_35_9728.jpg
/home/pi/Desktop/images/02122025/14/21/image_02122025_14_21_44_9693.jpg
/home/pi/Desktop/images/02122025/14/21/image_02122025_14_21_54_9691.jpg
/home/pi/Desktop/images/02122025/14/21/image_02122025_14_22_05_10717.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":["1398030500","1398030463","1398030541","1398030421","1398030581","1398030419"],"photo_ids_order":["1398030419","1398030421","1398030463","1398030500","1398030541","1398030581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/766a0baa9f02be08e7cbcb90755deff5.jpg","text":"TemporaryFile(/tmp/multipartBody2976840450444731330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910804798,"filename":"image_02122025_14_21_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/5/7bbacb37adf43362d65b6c0f3dcc9703.jpg","text":"TemporaryFile(/tmp/multipartBody3841801210716976109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910804798,"filename":"image_02122025_14_21_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/5/eaa02c38bb416c480a8d602825938e32.jpg","text":"TemporaryFile(/tmp/multipartBody848748026360440627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910804798,"filename":"image_02122025_14_21_54_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ffd7c61fd653f695307432ac5e6ffba.jpg","text":"TemporaryFile(/tmp/multipartBody2780977339861966385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910804798,"filename":"image_02122025_14_21_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/5/147ef9a6836fcfb47dd648785508ae42.jpg","text":"TemporaryFile(/tmp/multipartBody8894657180912580869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910804798,"filename":"image_02122025_14_22_05_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/5/5e8daef575d375dd4a8d02a05ffe6efe.jpg","text":"TemporaryFile(/tmp/multipartBody4238039913779106932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910804798,"filename":"image_02122025_14_21_14_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030463","file1":"1398030421","file0":"1398030419","file4":"1398030541","file5":"1398030581","file3":"1398030500"},"map_files_photo_id_array":[{"photo_id":"1398030581","filename":"file5"},{"photo_id":"1398030463","filename":"file2"},{"photo_id":"1398030541","filename":"file4"},{"photo_id":"1398030421","filename":"file1"},{"photo_id":"1398030419","filename":"file0"},{"photo_id":"1398030500","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030500":["hashtag1","hashtag2"]},{"1398030463":["hashtag1","hashtag2"]},{"1398030541":["hashtag1","hashtag2"]},{"1398030421":["hashtag1","hashtag2"]},{"1398030581":["hashtag1","hashtag2"]},{"1398030419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030500, 1398030463, 1398030541, 1398030421, 1398030581, 1398030419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63055610656738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:00:02.476844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/22/image_02122025_14_22_14_9630.jpg', '/home/pi/Desktop/images/02122025/14/22/image_02122025_14_22_24_9794.jpg', '/home/pi/Desktop/images/02122025/14/22/image_02122025_14_22_45_9749.jpg', '/home/pi/Desktop/images/02122025/14/22/image_02122025_14_22_54_9673.jpg', '/home/pi/Desktop/images/02122025/14/22/image_02122025_14_23_05_10737.jpg', '/home/pi/Desktop/images/02122025/14/23/image_02122025_14_23_15_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/22/image_02122025_14_22_14_9630.jpg
/home/pi/Desktop/images/02122025/14/22/image_02122025_14_22_24_9794.jpg
/home/pi/Desktop/images/02122025/14/22/image_02122025_14_22_45_9749.jpg
/home/pi/Desktop/images/02122025/14/22/image_02122025_14_22_54_9673.jpg
/home/pi/Desktop/images/02122025/14/22/image_02122025_14_23_05_10737.jpg
/home/pi/Desktop/images/02122025/14/23/image_02122025_14_23_15_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398030824","1398030882","1398030829","1398030831","1398030827","1398030842"],"photo_ids_order":["1398030824","1398030827","1398030829","1398030831","1398030842","1398030882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5eac8bada178d8adddf44c42627d1dab.jpg","text":"TemporaryFile(/tmp/multipartBody5421377092654522433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910864187,"filename":"image_02122025_14_22_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/5/e654b714fbe9b4bf4aa3f964cc6bfe0f.jpg","text":"TemporaryFile(/tmp/multipartBody1756908181746575463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910864187,"filename":"image_02122025_14_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/5/8484b03edaa6c5c87eb7cfbf6bb89ee1.jpg","text":"TemporaryFile(/tmp/multipartBody3650625859979508197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910864187,"filename":"image_02122025_14_22_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/5/e48d35a8b5febe6b4701b640fbc79d1e.jpg","text":"TemporaryFile(/tmp/multipartBody5594588115443034367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910864187,"filename":"image_02122025_14_22_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/5/ce0bc20258e34c5df5410901d254fdc5.jpg","text":"TemporaryFile(/tmp/multipartBody799845943429746291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910864187,"filename":"image_02122025_14_22_24_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/5/dbc1f0054bea9e51610d2e3a3ab0dc4c.jpg","text":"TemporaryFile(/tmp/multipartBody8844082761402207820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910864187,"filename":"image_02122025_14_23_05_10737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398030829","file1":"1398030827","file0":"1398030824","file4":"1398030842","file5":"1398030882","file3":"1398030831"},"map_files_photo_id_array":[{"photo_id":"1398030882","filename":"file5"},{"photo_id":"1398030829","filename":"file2"},{"photo_id":"1398030842","filename":"file4"},{"photo_id":"1398030827","filename":"file1"},{"photo_id":"1398030824","filename":"file0"},{"photo_id":"1398030831","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398030824":["hashtag1","hashtag2"]},{"1398030882":["hashtag1","hashtag2"]},{"1398030829":["hashtag1","hashtag2"]},{"1398030831":["hashtag1","hashtag2"]},{"1398030827":["hashtag1","hashtag2"]},{"1398030842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398030824, 1398030882, 1398030829, 1398030831, 1398030827, 1398030842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.267733097076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:01:02.784304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/23/image_02122025_14_23_24_9600.jpg', '/home/pi/Desktop/images/02122025/14/23/image_02122025_14_23_35_10656.jpg', '/home/pi/Desktop/images/02122025/14/23/image_02122025_14_23_44_9635.jpg', '/home/pi/Desktop/images/02122025/14/24/image_02122025_14_24_15_9758.jpg', '/home/pi/Desktop/images/02122025/14/24/image_02122025_14_24_25_9727.jpg', '/home/pi/Desktop/images/02122025/14/24/image_02122025_14_24_34_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/23/image_02122025_14_23_24_9600.jpg
/home/pi/Desktop/images/02122025/14/23/image_02122025_14_23_35_10656.jpg
/home/pi/Desktop/images/02122025/14/23/image_02122025_14_23_44_9635.jpg
/home/pi/Desktop/images/02122025/14/24/image_02122025_14_24_15_9758.jpg
/home/pi/Desktop/images/02122025/14/24/image_02122025_14_24_25_9727.jpg
/home/pi/Desktop/images/02122025/14/24/image_02122025_14_24_34_9849.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":["1398031036","1398031024","1398031032","1398031026","1398031028","1398031022"],"photo_ids_order":["1398031022","1398031024","1398031026","1398031028","1398031032","1398031036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a922a5449fd8d2514922873dd7076066.jpg","text":"TemporaryFile(/tmp/multipartBody2681291528775833694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910924586,"filename":"image_02122025_14_24_34_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bed78b20a2d811375e13d4c450daa384.jpg","text":"TemporaryFile(/tmp/multipartBody1341714040284762547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910924586,"filename":"image_02122025_14_23_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b98f2f9f8470b5fa2a857a9f9e51c40f.jpg","text":"TemporaryFile(/tmp/multipartBody7679389587759875943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910924586,"filename":"image_02122025_14_24_25_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/5/369ed5bcf087e0d5383d6657c3238078.jpg","text":"TemporaryFile(/tmp/multipartBody3561708716452281709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910924586,"filename":"image_02122025_14_23_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/5/79221819bedcac331775129e1257443a.jpg","text":"TemporaryFile(/tmp/multipartBody8314731596380939603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910924586,"filename":"image_02122025_14_24_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/5/24c5d186a6e1d22f032975c4f8a01b6c.jpg","text":"TemporaryFile(/tmp/multipartBody4914902032176340764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910924586,"filename":"image_02122025_14_23_24_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398031026","file1":"1398031024","file0":"1398031022","file4":"1398031032","file5":"1398031036","file3":"1398031028"},"map_files_photo_id_array":[{"photo_id":"1398031036","filename":"file5"},{"photo_id":"1398031026","filename":"file2"},{"photo_id":"1398031032","filename":"file4"},{"photo_id":"1398031024","filename":"file1"},{"photo_id":"1398031022","filename":"file0"},{"photo_id":"1398031028","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398031036":["hashtag1","hashtag2"]},{"1398031024":["hashtag1","hashtag2"]},{"1398031032":["hashtag1","hashtag2"]},{"1398031026":["hashtag1","hashtag2"]},{"1398031028":["hashtag1","hashtag2"]},{"1398031022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398031036, 1398031024, 1398031032, 1398031026, 1398031028, 1398031022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.55794048309326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:02:02.913558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/24/image_02122025_14_24_45_10661.jpg', '/home/pi/Desktop/images/02122025/14/24/image_02122025_14_24_55_9593.jpg', '/home/pi/Desktop/images/02122025/14/24/image_02122025_14_25_04_9740.jpg', '/home/pi/Desktop/images/02122025/14/25/image_02122025_14_25_15_10573.jpg', '/home/pi/Desktop/images/02122025/14/25/image_02122025_14_25_25_9590.jpg', '/home/pi/Desktop/images/02122025/14/25/image_02122025_14_25_34_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/24/image_02122025_14_24_45_10661.jpg
/home/pi/Desktop/images/02122025/14/24/image_02122025_14_24_55_9593.jpg
/home/pi/Desktop/images/02122025/14/24/image_02122025_14_25_04_9740.jpg
/home/pi/Desktop/images/02122025/14/25/image_02122025_14_25_15_10573.jpg
/home/pi/Desktop/images/02122025/14/25/image_02122025_14_25_25_9590.jpg
/home/pi/Desktop/images/02122025/14/25/image_02122025_14_25_34_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":["1398031048","1398031045","1398031039","1398031050","1398031041","1398031043"],"photo_ids_order":["1398031039","1398031041","1398031043","1398031045","1398031048","1398031050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d9ae8787b6947b2f22485ad9552e7bb9.jpg","text":"TemporaryFile(/tmp/multipartBody723037425969939613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910984469,"filename":"image_02122025_14_25_25_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/5/445bfe28d088bc0e72e6208d888bcb47.jpg","text":"TemporaryFile(/tmp/multipartBody4911150037468995213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910984469,"filename":"image_02122025_14_25_15_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2a1da7f3222b311c02faca7aee0e2a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8612874327482457966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910984469,"filename":"image_02122025_14_24_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/06c3f399b8c69099844136d12e414012.jpg","text":"TemporaryFile(/tmp/multipartBody5362282379246363162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910984469,"filename":"image_02122025_14_25_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/5/58e122612eeeb9b25d905e54aed85e87.jpg","text":"TemporaryFile(/tmp/multipartBody2639884955938176547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910984469,"filename":"image_02122025_14_24_55_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/5/8f60fed168e1d00a22fd7ab028b3c73d.jpg","text":"TemporaryFile(/tmp/multipartBody474714571803323813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764910984469,"filename":"image_02122025_14_25_04_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398031043","file1":"1398031041","file0":"1398031039","file4":"1398031048","file5":"1398031050","file3":"1398031045"},"map_files_photo_id_array":[{"photo_id":"1398031050","filename":"file5"},{"photo_id":"1398031043","filename":"file2"},{"photo_id":"1398031048","filename":"file4"},{"photo_id":"1398031041","filename":"file1"},{"photo_id":"1398031039","filename":"file0"},{"photo_id":"1398031045","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398031048":["hashtag1","hashtag2"]},{"1398031045":["hashtag1","hashtag2"]},{"1398031039":["hashtag1","hashtag2"]},{"1398031050":["hashtag1","hashtag2"]},{"1398031041":["hashtag1","hashtag2"]},{"1398031043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398031048, 1398031045, 1398031039, 1398031050, 1398031041, 1398031043)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.976829051971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:03:03.132671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/25/image_02122025_14_25_45_10755.jpg', '/home/pi/Desktop/images/02122025/14/25/image_02122025_14_25_55_9650.jpg', '/home/pi/Desktop/images/02122025/14/25/image_02122025_14_26_04_9773.jpg', '/home/pi/Desktop/images/02122025/14/26/image_02122025_14_26_15_10572.jpg', '/home/pi/Desktop/images/02122025/14/26/image_02122025_14_26_25_9723.jpg', '/home/pi/Desktop/images/02122025/14/26/image_02122025_14_26_34_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/25/image_02122025_14_25_45_10755.jpg
/home/pi/Desktop/images/02122025/14/25/image_02122025_14_25_55_9650.jpg
/home/pi/Desktop/images/02122025/14/25/image_02122025_14_26_04_9773.jpg
/home/pi/Desktop/images/02122025/14/26/image_02122025_14_26_15_10572.jpg
/home/pi/Desktop/images/02122025/14/26/image_02122025_14_26_25_9723.jpg
/home/pi/Desktop/images/02122025/14/26/image_02122025_14_26_34_9623.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":["1398031075","1398031069","1398031071","1398031073","1398031070","1398031067"],"photo_ids_order":["1398031067","1398031069","1398031070","1398031071","1398031073","1398031075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17a525e3f3edee469efead22879e0745.jpg","text":"TemporaryFile(/tmp/multipartBody3681606274491796800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911044821,"filename":"image_02122025_14_26_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/5/7cae6dc61df1fc4733fb64f5f16fc3ca.jpg","text":"TemporaryFile(/tmp/multipartBody8636016957503211581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911044821,"filename":"image_02122025_14_25_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/5/cfffad63335202919f163a2b896eb7da.jpg","text":"TemporaryFile(/tmp/multipartBody739662752647823996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911044821,"filename":"image_02122025_14_26_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/5/480e21bae75b89c5f03619ba416efe1c.jpg","text":"TemporaryFile(/tmp/multipartBody4398637327246551628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911044821,"filename":"image_02122025_14_26_25_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/764db9c10080d08ad03805bf2fb465e0.jpg","text":"TemporaryFile(/tmp/multipartBody8323547661929929854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911044821,"filename":"image_02122025_14_26_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/5/39e801e7fbd390d51119644e97c3f8d8.jpg","text":"TemporaryFile(/tmp/multipartBody7166972751978173690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911044821,"filename":"image_02122025_14_25_45_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398031070","file1":"1398031069","file0":"1398031067","file4":"1398031073","file5":"1398031075","file3":"1398031071"},"map_files_photo_id_array":[{"photo_id":"1398031075","filename":"file5"},{"photo_id":"1398031070","filename":"file2"},{"photo_id":"1398031073","filename":"file4"},{"photo_id":"1398031069","filename":"file1"},{"photo_id":"1398031067","filename":"file0"},{"photo_id":"1398031071","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398031075":["hashtag1","hashtag2"]},{"1398031069":["hashtag1","hashtag2"]},{"1398031071":["hashtag1","hashtag2"]},{"1398031073":["hashtag1","hashtag2"]},{"1398031070":["hashtag1","hashtag2"]},{"1398031067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398031075, 1398031069, 1398031071, 1398031073, 1398031070, 1398031067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98197412490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:04:02.537147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/26/image_02122025_14_26_45_10689.jpg', '/home/pi/Desktop/images/02122025/14/26/image_02122025_14_26_55_9598.jpg', '/home/pi/Desktop/images/02122025/14/26/image_02122025_14_27_04_9557.jpg', '/home/pi/Desktop/images/02122025/14/27/image_02122025_14_27_24_9579.jpg', '/home/pi/Desktop/images/02122025/14/27/image_02122025_14_27_34_9789.jpg', '/home/pi/Desktop/images/02122025/14/27/image_02122025_14_27_54_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/26/image_02122025_14_26_45_10689.jpg
/home/pi/Desktop/images/02122025/14/26/image_02122025_14_26_55_9598.jpg
/home/pi/Desktop/images/02122025/14/26/image_02122025_14_27_04_9557.jpg
/home/pi/Desktop/images/02122025/14/27/image_02122025_14_27_24_9579.jpg
/home/pi/Desktop/images/02122025/14/27/image_02122025_14_27_34_9789.jpg
/home/pi/Desktop/images/02122025/14/27/image_02122025_14_27_54_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":["1398031114","1398031083","1398031196","1398031154","1398031082","1398031084"],"photo_ids_order":["1398031082","1398031083","1398031084","1398031114","1398031154","1398031196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4e755a27b8e0a9dd42f585cc91044d3f.jpg","text":"TemporaryFile(/tmp/multipartBody6723330315819080242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911104041,"filename":"image_02122025_14_27_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/5/97c8a12fad3887772f18731f0db1a05f.jpg","text":"TemporaryFile(/tmp/multipartBody9145286490072497842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911104041,"filename":"image_02122025_14_26_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78ed1a398d1a5271c8f51a0400a84c16.jpg","text":"TemporaryFile(/tmp/multipartBody3327461442969367179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911104041,"filename":"image_02122025_14_27_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/5/8023873b62ea296ec237ae01cf3e5be9.jpg","text":"TemporaryFile(/tmp/multipartBody2348802654679390476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911104041,"filename":"image_02122025_14_27_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/5/c176ab04c459466476b1b03e31cc77af.jpg","text":"TemporaryFile(/tmp/multipartBody2995747866170847910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911104041,"filename":"image_02122025_14_26_45_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/5/59f07099f50e0544a6f4e81a0ba74684.jpg","text":"TemporaryFile(/tmp/multipartBody4737646262742702556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911104041,"filename":"image_02122025_14_27_04_9557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398031084","file1":"1398031083","file0":"1398031082","file4":"1398031154","file5":"1398031196","file3":"1398031114"},"map_files_photo_id_array":[{"photo_id":"1398031196","filename":"file5"},{"photo_id":"1398031084","filename":"file2"},{"photo_id":"1398031154","filename":"file4"},{"photo_id":"1398031083","filename":"file1"},{"photo_id":"1398031082","filename":"file0"},{"photo_id":"1398031114","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398031114":["hashtag1","hashtag2"]},{"1398031083":["hashtag1","hashtag2"]},{"1398031196":["hashtag1","hashtag2"]},{"1398031154":["hashtag1","hashtag2"]},{"1398031082":["hashtag1","hashtag2"]},{"1398031084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398031114, 1398031083, 1398031196, 1398031154, 1398031082, 1398031084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.520135164260864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:04:41.999978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/42/image_31102025_18_43_00_2552.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_03_2708.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_07_3614.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_09_2555.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_12_2697.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_15_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/42/image_31102025_18_43_00_2552.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_03_2708.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_07_3614.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_09_2555.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_12_2697.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_15_3656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398031459","1398031372","1398031417","1398031539","1398031500","1398031331"],"photo_ids_order":["1398031331","1398031372","1398031417","1398031459","1398031500","1398031539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ee10c17001638376f1efe0497d698a5.jpg","text":"TemporaryFile(/tmp/multipartBody4147237298528556734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911143500,"filename":"image_31102025_18_43_09_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/5/56bd808bcb1912e4320ee5b9ab8fc3cd.jpg","text":"TemporaryFile(/tmp/multipartBody7943227568628007994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911143500,"filename":"image_31102025_18_43_03_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/5/56d22e35057ed78f2cc5932e51d09810.jpg","text":"TemporaryFile(/tmp/multipartBody3065001874557548353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911143500,"filename":"image_31102025_18_43_07_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0857c4ab9d4b12109859c0d0c4cdc276.jpg","text":"TemporaryFile(/tmp/multipartBody4613051092630018933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911143500,"filename":"image_31102025_18_43_15_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/5/8c626f08a7229c603823f7631976befe.jpg","text":"TemporaryFile(/tmp/multipartBody5410212555804939726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911143500,"filename":"image_31102025_18_43_12_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/5/4ab2f283ba58cedd98e37aa2dd8e400b.jpg","text":"TemporaryFile(/tmp/multipartBody4487020716201107949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911143500,"filename":"image_31102025_18_43_00_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398031417","file1":"1398031372","file0":"1398031331","file4":"1398031500","file5":"1398031539","file3":"1398031459"},"map_files_photo_id_array":[{"photo_id":"1398031539","filename":"file5"},{"photo_id":"1398031417","filename":"file2"},{"photo_id":"1398031500","filename":"file4"},{"photo_id":"1398031372","filename":"file1"},{"photo_id":"1398031331","filename":"file0"},{"photo_id":"1398031459","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398031459":["hashtag1","hashtag2"]},{"1398031372":["hashtag1","hashtag2"]},{"1398031417":["hashtag1","hashtag2"]},{"1398031539":["hashtag1","hashtag2"]},{"1398031500":["hashtag1","hashtag2"]},{"1398031331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398031459, 1398031372, 1398031417, 1398031539, 1398031500, 1398031331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44274854660034 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-05 06:05:32.178598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/27/image_02122025_14_28_04_9757.jpg', '/home/pi/Desktop/images/02122025/14/28/image_02122025_14_28_15_10588.jpg', '/home/pi/Desktop/images/02122025/14/28/image_02122025_14_28_24_9609.jpg', '/home/pi/Desktop/images/02122025/14/28/image_02122025_14_28_35_10645.jpg', '/home/pi/Desktop/images/02122025/14/28/image_02122025_14_28_45_9615.jpg', '/home/pi/Desktop/images/02122025/14/28/image_02122025_14_28_54_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/27/image_02122025_14_28_04_9757.jpg
/home/pi/Desktop/images/02122025/14/28/image_02122025_14_28_15_10588.jpg
/home/pi/Desktop/images/02122025/14/28/image_02122025_14_28_24_9609.jpg
/home/pi/Desktop/images/02122025/14/28/image_02122025_14_28_35_10645.jpg
/home/pi/Desktop/images/02122025/14/28/image_02122025_14_28_45_9615.jpg
/home/pi/Desktop/images/02122025/14/28/image_02122025_14_28_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":["1398031762","1398031880","1398031877","1398031847","1398031805","1398031879"],"photo_ids_order":["1398031762","1398031805","1398031847","1398031877","1398031879","1398031880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1073d8ba2a13c79e6a651cce92a386c0.jpg","text":"TemporaryFile(/tmp/multipartBody2366616970429106609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911194327,"filename":"image_02122025_14_28_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/5/78d0974c5cc8197ed3f32fe9259bf5d5.jpg","text":"TemporaryFile(/tmp/multipartBody5006252412948366115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911194327,"filename":"image_02122025_14_28_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/5/7c33540431f92943d38dfadace236fce.jpg","text":"TemporaryFile(/tmp/multipartBody8597254538795187435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911194327,"filename":"image_02122025_14_28_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/5/024f445ff013f541a2b2cb8e73010f77.jpg","text":"TemporaryFile(/tmp/multipartBody967952022826812687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911194327,"filename":"image_02122025_14_28_24_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/5/a2481efeb0f207af1f378317a801aaba.jpg","text":"TemporaryFile(/tmp/multipartBody9039452217681946324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911194327,"filename":"image_02122025_14_28_15_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/5/c0b71e1b6d8f1be0631ee9471f2d5301.jpg","text":"TemporaryFile(/tmp/multipartBody6059618021217132401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911194327,"filename":"image_02122025_14_28_45_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398031847","file1":"1398031805","file0":"1398031762","file4":"1398031879","file5":"1398031880","file3":"1398031877"},"map_files_photo_id_array":[{"photo_id":"1398031880","filename":"file5"},{"photo_id":"1398031847","filename":"file2"},{"photo_id":"1398031879","filename":"file4"},{"photo_id":"1398031805","filename":"file1"},{"photo_id":"1398031762","filename":"file0"},{"photo_id":"1398031877","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398031762":["hashtag1","hashtag2"]},{"1398031880":["hashtag1","hashtag2"]},{"1398031877":["hashtag1","hashtag2"]},{"1398031847":["hashtag1","hashtag2"]},{"1398031805":["hashtag1","hashtag2"]},{"1398031879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398031762, 1398031880, 1398031877, 1398031847, 1398031805, 1398031879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.384745597839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:06:12.445281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/28/image_02122025_14_29_05_10633.jpg', '/home/pi/Desktop/images/02122025/14/29/image_02122025_14_29_24_9570.jpg', '/home/pi/Desktop/images/02122025/14/29/image_02122025_14_29_35_10704.jpg', '/home/pi/Desktop/images/02122025/14/29/image_02122025_14_29_45_9612.jpg', '/home/pi/Desktop/images/02122025/14/29/image_02122025_14_29_54_9790.jpg', '/home/pi/Desktop/images/02122025/14/30/image_02122025_14_30_14_10048.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/28/image_02122025_14_29_05_10633.jpg
/home/pi/Desktop/images/02122025/14/29/image_02122025_14_29_24_9570.jpg
/home/pi/Desktop/images/02122025/14/29/image_02122025_14_29_35_10704.jpg
/home/pi/Desktop/images/02122025/14/29/image_02122025_14_29_45_9612.jpg
/home/pi/Desktop/images/02122025/14/29/image_02122025_14_29_54_9790.jpg
/home/pi/Desktop/images/02122025/14/30/image_02122025_14_30_14_10048.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398031900","1398031903","1398031896","1398031908","1398031898","1398031895"],"photo_ids_order":["1398031895","1398031896","1398031898","1398031900","1398031903","1398031908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d864e10637d5ec9d0a4ab1d53154384d.jpg","text":"TemporaryFile(/tmp/multipartBody5384027313372067088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911234556,"filename":"image_02122025_14_29_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d8b779384688b5fc071c7afe27e55cd.jpg","text":"TemporaryFile(/tmp/multipartBody3894170694654859979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911234556,"filename":"image_02122025_14_29_54_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a3921c7555bed7de64c92783a27b1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3811384304447936771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911234556,"filename":"image_02122025_14_29_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/5/a2afdd2c93d78b0cc8a0bb35cafbb70e.jpg","text":"TemporaryFile(/tmp/multipartBody3990035202177088140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911234556,"filename":"image_02122025_14_30_14_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/40f3bd57013c4e94015d859f3bcd201d.jpg","text":"TemporaryFile(/tmp/multipartBody8141413008257542534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911234556,"filename":"image_02122025_14_29_35_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/5/7c0cc08c5e8d2bf22b4707a2e1cc2a3f.jpg","text":"TemporaryFile(/tmp/multipartBody9077161961201866205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911234556,"filename":"image_02122025_14_29_05_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398031898","file1":"1398031896","file0":"1398031895","file4":"1398031903","file5":"1398031908","file3":"1398031900"},"map_files_photo_id_array":[{"photo_id":"1398031908","filename":"file5"},{"photo_id":"1398031898","filename":"file2"},{"photo_id":"1398031903","filename":"file4"},{"photo_id":"1398031896","filename":"file1"},{"photo_id":"1398031895","filename":"file0"},{"photo_id":"1398031900","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398031900":["hashtag1","hashtag2"]},{"1398031903":["hashtag1","hashtag2"]},{"1398031896":["hashtag1","hashtag2"]},{"1398031908":["hashtag1","hashtag2"]},{"1398031898":["hashtag1","hashtag2"]},{"1398031895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398031900, 1398031903, 1398031896, 1398031908, 1398031898, 1398031895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80929636955261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:07:03.207528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/30/image_02122025_14_30_25_10773.jpg', '/home/pi/Desktop/images/02122025/14/30/image_02122025_14_30_35_9842.jpg', '/home/pi/Desktop/images/02122025/14/30/image_02122025_14_30_44_9734.jpg', '/home/pi/Desktop/images/02122025/14/30/image_02122025_14_30_54_9607.jpg', '/home/pi/Desktop/images/02122025/14/30/image_02122025_14_31_05_10848.jpg', '/home/pi/Desktop/images/02122025/14/31/image_02122025_14_31_15_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/30/image_02122025_14_30_25_10773.jpg
/home/pi/Desktop/images/02122025/14/30/image_02122025_14_30_35_9842.jpg
/home/pi/Desktop/images/02122025/14/30/image_02122025_14_30_44_9734.jpg
/home/pi/Desktop/images/02122025/14/30/image_02122025_14_30_54_9607.jpg
/home/pi/Desktop/images/02122025/14/30/image_02122025_14_31_05_10848.jpg
/home/pi/Desktop/images/02122025/14/31/image_02122025_14_31_15_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":["1398032492","1398032339","1398032102","1398032417","1398032179","1398032254"],"photo_ids_order":["1398032102","1398032179","1398032254","1398032339","1398032417","1398032492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0e45e313d4b422ab97b00db464116f14.jpg","text":"TemporaryFile(/tmp/multipartBody3662632557510854161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911284895,"filename":"image_02122025_14_31_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/5/78793789865ea9ebf5ed20a5bf023cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5523174497869265860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911284895,"filename":"image_02122025_14_30_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/046e813f97e960d0b26836c2977ad878.jpg","text":"TemporaryFile(/tmp/multipartBody1806766331730987201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911284895,"filename":"image_02122025_14_30_25_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/5/f2e4fa5eacb215c4628e23991c9a3bb7.jpg","text":"TemporaryFile(/tmp/multipartBody875488948327773687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911284895,"filename":"image_02122025_14_31_05_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/5/94a191149b45c7cdabfe227046d2b9a1.jpg","text":"TemporaryFile(/tmp/multipartBody889754565979399493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911284895,"filename":"image_02122025_14_30_35_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/10066802129c43babcec5b2b7b9440e9.jpg","text":"TemporaryFile(/tmp/multipartBody2120067240227906200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911284895,"filename":"image_02122025_14_30_44_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398032254","file1":"1398032179","file0":"1398032102","file4":"1398032417","file5":"1398032492","file3":"1398032339"},"map_files_photo_id_array":[{"photo_id":"1398032492","filename":"file5"},{"photo_id":"1398032254","filename":"file2"},{"photo_id":"1398032417","filename":"file4"},{"photo_id":"1398032179","filename":"file1"},{"photo_id":"1398032102","filename":"file0"},{"photo_id":"1398032339","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398032492":["hashtag1","hashtag2"]},{"1398032339":["hashtag1","hashtag2"]},{"1398032102":["hashtag1","hashtag2"]},{"1398032417":["hashtag1","hashtag2"]},{"1398032179":["hashtag1","hashtag2"]},{"1398032254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398032492, 1398032339, 1398032102, 1398032417, 1398032179, 1398032254)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.87470626831055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:08:03.254722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/31/image_02122025_14_31_24_9676.jpg', '/home/pi/Desktop/images/02122025/14/31/image_02122025_14_31_34_9939.jpg', '/home/pi/Desktop/images/02122025/14/31/image_02122025_14_31_55_9747.jpg', '/home/pi/Desktop/images/02122025/14/31/image_02122025_14_32_04_9756.jpg', '/home/pi/Desktop/images/02122025/14/32/image_02122025_14_32_14_9663.jpg', '/home/pi/Desktop/images/02122025/14/32/image_02122025_14_32_25_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/31/image_02122025_14_31_24_9676.jpg
/home/pi/Desktop/images/02122025/14/31/image_02122025_14_31_34_9939.jpg
/home/pi/Desktop/images/02122025/14/31/image_02122025_14_31_55_9747.jpg
/home/pi/Desktop/images/02122025/14/31/image_02122025_14_32_04_9756.jpg
/home/pi/Desktop/images/02122025/14/32/image_02122025_14_32_14_9663.jpg
/home/pi/Desktop/images/02122025/14/32/image_02122025_14_32_25_10760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398032982","1398033027","1398033125","1398033085","1398033139","1398032926"],"photo_ids_order":["1398032926","1398032982","1398033027","1398033085","1398033125","1398033139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/25c0bbe418fbcfcf15fc39a8ab99f965.jpg","text":"TemporaryFile(/tmp/multipartBody4483656035854900402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911345023,"filename":"image_02122025_14_31_34_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/5/06e3fa2c0ea4ce6fff1ea0a01421353d.jpg","text":"TemporaryFile(/tmp/multipartBody2255147207019620915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911345023,"filename":"image_02122025_14_31_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/5/ce63050b581f7f6eb83569b7cc044897.jpg","text":"TemporaryFile(/tmp/multipartBody6381912947120570058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911345023,"filename":"image_02122025_14_32_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/5/ca028222a44f034245ad0cd5e5549876.jpg","text":"TemporaryFile(/tmp/multipartBody6843170403466016396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911345023,"filename":"image_02122025_14_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/5/11ad5c09fd65c83eebd9cdc890de3bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3900124709456213592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911345023,"filename":"image_02122025_14_32_25_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bda65204fc89ac32c46a538237b74755.jpg","text":"TemporaryFile(/tmp/multipartBody5759312649536418182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911345023,"filename":"image_02122025_14_31_24_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033027","file1":"1398032982","file0":"1398032926","file4":"1398033125","file5":"1398033139","file3":"1398033085"},"map_files_photo_id_array":[{"photo_id":"1398033139","filename":"file5"},{"photo_id":"1398033027","filename":"file2"},{"photo_id":"1398033125","filename":"file4"},{"photo_id":"1398032982","filename":"file1"},{"photo_id":"1398032926","filename":"file0"},{"photo_id":"1398033085","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398032982":["hashtag1","hashtag2"]},{"1398033027":["hashtag1","hashtag2"]},{"1398033125":["hashtag1","hashtag2"]},{"1398033085":["hashtag1","hashtag2"]},{"1398033139":["hashtag1","hashtag2"]},{"1398032926":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398032982, 1398033027, 1398033125, 1398033085, 1398033139, 1398032926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8007447719574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:08:42.873183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_19_3043.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_25_3633.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_27_2577.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_30_2801.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_34_3596.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_36_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_19_3043.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_25_3633.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_27_2577.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_30_2801.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_34_3596.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_36_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":["1398033168","1398033213","1398033144","1398033158","1398033167","1398033172"],"photo_ids_order":["1398033144","1398033158","1398033167","1398033168","1398033172","1398033213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/406bb9d97c2b69272ed490b22c20a7d7.jpg","text":"TemporaryFile(/tmp/multipartBody2496984721554934478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911384518,"filename":"image_31102025_18_43_30_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d8d54c0cc0f27c846c01f622adc76eee.jpg","text":"TemporaryFile(/tmp/multipartBody6588689237040213667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911384518,"filename":"image_31102025_18_43_36_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/5/085e0f616adc704a463d01b29887db0c.jpg","text":"TemporaryFile(/tmp/multipartBody5900271907337780597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911384518,"filename":"image_31102025_18_43_19_3043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/52b4dab57455cbc2e225b8e3fc53cfa0.jpg","text":"TemporaryFile(/tmp/multipartBody9174548541452639743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911384518,"filename":"image_31102025_18_43_25_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/5/aff06835e93d0559f32bc179d7f3eb39.jpg","text":"TemporaryFile(/tmp/multipartBody8828271813118744782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911384518,"filename":"image_31102025_18_43_27_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/5/d148a6ec1b0de1395ef8587e4288052f.jpg","text":"TemporaryFile(/tmp/multipartBody1156283609642277575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911384518,"filename":"image_31102025_18_43_34_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033167","file1":"1398033158","file0":"1398033144","file4":"1398033172","file5":"1398033213","file3":"1398033168"},"map_files_photo_id_array":[{"photo_id":"1398033213","filename":"file5"},{"photo_id":"1398033167","filename":"file2"},{"photo_id":"1398033172","filename":"file4"},{"photo_id":"1398033158","filename":"file1"},{"photo_id":"1398033144","filename":"file0"},{"photo_id":"1398033168","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398033168":["hashtag1","hashtag2"]},{"1398033213":["hashtag1","hashtag2"]},{"1398033144":["hashtag1","hashtag2"]},{"1398033158":["hashtag1","hashtag2"]},{"1398033167":["hashtag1","hashtag2"]},{"1398033172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398033168, 1398033213, 1398033144, 1398033158, 1398033167, 1398033172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13344860076904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:09:32.041574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/32/image_02122025_14_32_44_9693.jpg', '/home/pi/Desktop/images/02122025/14/32/image_02122025_14_33_05_9707.jpg', '/home/pi/Desktop/images/02122025/14/33/image_02122025_14_33_14_9603.jpg', '/home/pi/Desktop/images/02122025/14/33/image_02122025_14_33_24_9893.jpg', '/home/pi/Desktop/images/02122025/14/33/image_02122025_14_33_35_10743.jpg', '/home/pi/Desktop/images/02122025/14/33/image_02122025_14_33_45_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/32/image_02122025_14_32_44_9693.jpg
/home/pi/Desktop/images/02122025/14/32/image_02122025_14_33_05_9707.jpg
/home/pi/Desktop/images/02122025/14/33/image_02122025_14_33_14_9603.jpg
/home/pi/Desktop/images/02122025/14/33/image_02122025_14_33_24_9893.jpg
/home/pi/Desktop/images/02122025/14/33/image_02122025_14_33_35_10743.jpg
/home/pi/Desktop/images/02122025/14/33/image_02122025_14_33_45_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":["1398033455","1398033449","1398033413","1398033415","1398033400","1398033375"],"photo_ids_order":["1398033375","1398033400","1398033413","1398033415","1398033449","1398033455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc400104505a12586877cab2e509c237.jpg","text":"TemporaryFile(/tmp/multipartBody8420960370283644818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911434229,"filename":"image_02122025_14_33_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/5/3b0febee0f2fd5e0852b046d390d66e4.jpg","text":"TemporaryFile(/tmp/multipartBody2063049914433063230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911434229,"filename":"image_02122025_14_33_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/5/7bc9ec7c5757ad1a754a175da7c3d775.jpg","text":"TemporaryFile(/tmp/multipartBody5621925804062885677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911434229,"filename":"image_02122025_14_33_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/5/ee8e050f6f34480f6f1675ed2e640e7d.jpg","text":"TemporaryFile(/tmp/multipartBody9132906056078092563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911434229,"filename":"image_02122025_14_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/5/4c6d2ee14bc190c8814d326b1085a682.jpg","text":"TemporaryFile(/tmp/multipartBody1112225011687237557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911434229,"filename":"image_02122025_14_33_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/5/7bfa8401e2650659787519c11b65653b.jpg","text":"TemporaryFile(/tmp/multipartBody4309209150992170357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911434229,"filename":"image_02122025_14_32_44_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033413","file1":"1398033400","file0":"1398033375","file4":"1398033449","file5":"1398033455","file3":"1398033415"},"map_files_photo_id_array":[{"photo_id":"1398033455","filename":"file5"},{"photo_id":"1398033413","filename":"file2"},{"photo_id":"1398033449","filename":"file4"},{"photo_id":"1398033400","filename":"file1"},{"photo_id":"1398033375","filename":"file0"},{"photo_id":"1398033415","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033455":["hashtag1","hashtag2"]},{"1398033449":["hashtag1","hashtag2"]},{"1398033413":["hashtag1","hashtag2"]},{"1398033415":["hashtag1","hashtag2"]},{"1398033400":["hashtag1","hashtag2"]},{"1398033375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033455, 1398033449, 1398033413, 1398033415, 1398033400, 1398033375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41021251678467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:10:12.156218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/33/image_02122025_14_33_54_9823.jpg', '/home/pi/Desktop/images/02122025/14/33/image_02122025_14_34_04_9859.jpg', '/home/pi/Desktop/images/02122025/14/34/image_02122025_14_34_15_10701.jpg', '/home/pi/Desktop/images/02122025/14/34/image_02122025_14_34_25_9668.jpg', '/home/pi/Desktop/images/02122025/14/34/image_02122025_14_34_34_9593.jpg', '/home/pi/Desktop/images/02122025/14/34/image_02122025_14_34_44_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/33/image_02122025_14_33_54_9823.jpg
/home/pi/Desktop/images/02122025/14/33/image_02122025_14_34_04_9859.jpg
/home/pi/Desktop/images/02122025/14/34/image_02122025_14_34_15_10701.jpg
/home/pi/Desktop/images/02122025/14/34/image_02122025_14_34_25_9668.jpg
/home/pi/Desktop/images/02122025/14/34/image_02122025_14_34_34_9593.jpg
/home/pi/Desktop/images/02122025/14/34/image_02122025_14_34_44_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033465","1398033458","1398033460","1398033474","1398033468","1398033462"],"photo_ids_order":["1398033458","1398033460","1398033462","1398033465","1398033468","1398033474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c47b9c13865c63ab8dd509e08bfb0d2.jpg","text":"TemporaryFile(/tmp/multipartBody4562058838791987784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911474247,"filename":"image_02122025_14_34_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/5/74550f85da12c241508dcc38404ee1c6.jpg","text":"TemporaryFile(/tmp/multipartBody3330658544901639558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911474247,"filename":"image_02122025_14_33_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/5/23da87055649dbf334f6a90c675ff736.jpg","text":"TemporaryFile(/tmp/multipartBody1411971518478734302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911474247,"filename":"image_02122025_14_34_04_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/5/ed25f98ea82deba4777ae935e4350468.jpg","text":"TemporaryFile(/tmp/multipartBody5950188129101410386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911474247,"filename":"image_02122025_14_34_44_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/5/0a2598d0de0d892218bbed3e9396a8d0.jpg","text":"TemporaryFile(/tmp/multipartBody5886414442611460464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911474247,"filename":"image_02122025_14_34_34_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/5/01d5ac56f30ff877a5376633f06c7a00.jpg","text":"TemporaryFile(/tmp/multipartBody560214088950082465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911474247,"filename":"image_02122025_14_34_15_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033462","file1":"1398033460","file0":"1398033458","file4":"1398033468","file5":"1398033474","file3":"1398033465"},"map_files_photo_id_array":[{"photo_id":"1398033474","filename":"file5"},{"photo_id":"1398033462","filename":"file2"},{"photo_id":"1398033468","filename":"file4"},{"photo_id":"1398033460","filename":"file1"},{"photo_id":"1398033458","filename":"file0"},{"photo_id":"1398033465","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033465":["hashtag1","hashtag2"]},{"1398033458":["hashtag1","hashtag2"]},{"1398033460":["hashtag1","hashtag2"]},{"1398033474":["hashtag1","hashtag2"]},{"1398033468":["hashtag1","hashtag2"]},{"1398033462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033465, 1398033458, 1398033460, 1398033474, 1398033468, 1398033462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63821339607239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:11:03.271250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/34/image_02122025_14_35_05_9932.jpg', '/home/pi/Desktop/images/02122025/14/35/image_02122025_14_35_14_9676.jpg', '/home/pi/Desktop/images/02122025/14/35/image_02122025_14_35_25_10688.jpg', '/home/pi/Desktop/images/02122025/14/35/image_02122025_14_35_35_9576.jpg', '/home/pi/Desktop/images/02122025/14/35/image_02122025_14_35_44_9778.jpg', '/home/pi/Desktop/images/02122025/14/35/image_02122025_14_35_55_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/34/image_02122025_14_35_05_9932.jpg
/home/pi/Desktop/images/02122025/14/35/image_02122025_14_35_14_9676.jpg
/home/pi/Desktop/images/02122025/14/35/image_02122025_14_35_25_10688.jpg
/home/pi/Desktop/images/02122025/14/35/image_02122025_14_35_35_9576.jpg
/home/pi/Desktop/images/02122025/14/35/image_02122025_14_35_44_9778.jpg
/home/pi/Desktop/images/02122025/14/35/image_02122025_14_35_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":["1398033488","1398033493","1398033490","1398033484","1398033486","1398033495"],"photo_ids_order":["1398033484","1398033486","1398033488","1398033490","1398033493","1398033495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb88134e87f70fdaea2d9cdea2388c6b.jpg","text":"TemporaryFile(/tmp/multipartBody6616240665177325648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911524896,"filename":"image_02122025_14_35_25_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e2f23c2250aa89416be5e9323b254be3.jpg","text":"TemporaryFile(/tmp/multipartBody2230796220651211888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911524896,"filename":"image_02122025_14_35_44_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fdd9ae59583b9a31a364e1737e679498.jpg","text":"TemporaryFile(/tmp/multipartBody7661717214855406378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911524896,"filename":"image_02122025_14_35_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/5/362882628d301b3ea2e0ed8370c4fa57.jpg","text":"TemporaryFile(/tmp/multipartBody1708973289239120374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911524896,"filename":"image_02122025_14_35_05_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/5/48cb9142ed978c2a44394e2e1e3ac3c2.jpg","text":"TemporaryFile(/tmp/multipartBody8523580458771157019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911524896,"filename":"image_02122025_14_35_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/5/5bfa6d7bf87f280e922891608fdb3b34.jpg","text":"TemporaryFile(/tmp/multipartBody1857921520659144388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911524896,"filename":"image_02122025_14_35_55_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033488","file1":"1398033486","file0":"1398033484","file4":"1398033493","file5":"1398033495","file3":"1398033490"},"map_files_photo_id_array":[{"photo_id":"1398033495","filename":"file5"},{"photo_id":"1398033488","filename":"file2"},{"photo_id":"1398033493","filename":"file4"},{"photo_id":"1398033486","filename":"file1"},{"photo_id":"1398033484","filename":"file0"},{"photo_id":"1398033490","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033488":["hashtag1","hashtag2"]},{"1398033493":["hashtag1","hashtag2"]},{"1398033490":["hashtag1","hashtag2"]},{"1398033484":["hashtag1","hashtag2"]},{"1398033486":["hashtag1","hashtag2"]},{"1398033495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033488, 1398033493, 1398033490, 1398033484, 1398033486, 1398033495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61692571640015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:11:42.616615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_39_2621.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_42_3555.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_45_2726.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_48_2671.jpg', '/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_51_3619.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_02_10509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_39_2621.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_42_3555.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_45_2726.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_48_2671.jpg
/home/pi/Desktop/images/31102025/18/43/image_31102025_18_43_51_3619.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_02_10509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033531","1398033528","1398033527","1398033500","1398033526","1398033505"],"photo_ids_order":["1398033500","1398033505","1398033526","1398033527","1398033528","1398033531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab464c3e3fae6e32f54d6865de27732c.jpg","text":"TemporaryFile(/tmp/multipartBody6540494265523454229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911564222,"filename":"image_31102025_18_44_02_10509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/691dc248550000f1ac5f6605cddd14fe.jpg","text":"TemporaryFile(/tmp/multipartBody1765750485005704626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911564222,"filename":"image_31102025_18_43_51_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/5/be51a430b2b26a18aa8d85f2f7c2eab5.jpg","text":"TemporaryFile(/tmp/multipartBody6596951447876693451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911564222,"filename":"image_31102025_18_43_48_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/5/21c466d33004f6b5fdd2e93383faccbd.jpg","text":"TemporaryFile(/tmp/multipartBody1009529769032224381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911564222,"filename":"image_31102025_18_43_39_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/5/ba872bbd9dc48876ff6b3458efcc49c6.jpg","text":"TemporaryFile(/tmp/multipartBody3452920275821864047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911564222,"filename":"image_31102025_18_43_45_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aaf67845059b67b58adbcadd471393ab.jpg","text":"TemporaryFile(/tmp/multipartBody8165022198396414785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911564222,"filename":"image_31102025_18_43_42_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033526","file1":"1398033505","file0":"1398033500","file4":"1398033528","file5":"1398033531","file3":"1398033527"},"map_files_photo_id_array":[{"photo_id":"1398033531","filename":"file5"},{"photo_id":"1398033526","filename":"file2"},{"photo_id":"1398033528","filename":"file4"},{"photo_id":"1398033505","filename":"file1"},{"photo_id":"1398033500","filename":"file0"},{"photo_id":"1398033527","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398033531":["hashtag1","hashtag2"]},{"1398033528":["hashtag1","hashtag2"]},{"1398033527":["hashtag1","hashtag2"]},{"1398033500":["hashtag1","hashtag2"]},{"1398033526":["hashtag1","hashtag2"]},{"1398033505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398033531, 1398033528, 1398033527, 1398033500, 1398033526, 1398033505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64262056350708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:12:22.805290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_05_3094.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_07_1768.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_09_1798.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_12_1532.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_14_1711.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_15_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_05_3094.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_07_1768.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_09_1798.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_12_1532.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_14_1711.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_15_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":["1398033537","1398033539","1398033553","1398033541","1398033555","1398033549"],"photo_ids_order":["1398033537","1398033539","1398033541","1398033549","1398033553","1398033555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0090b0d9dd3b7aeb1dfd393978eb6158.jpg","text":"TemporaryFile(/tmp/multipartBody7533012723235642861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911604410,"filename":"image_31102025_18_44_05_3094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/85840ba144404e244fc88fe49ee1205f.jpg","text":"TemporaryFile(/tmp/multipartBody4915652106806299421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911604410,"filename":"image_31102025_18_44_07_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/5/cb00e9f5c0093ed82db2f3832ae36502.jpg","text":"TemporaryFile(/tmp/multipartBody6961964540616618886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911604410,"filename":"image_31102025_18_44_14_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/5/383a811638490d821dd2ca20096a8802.jpg","text":"TemporaryFile(/tmp/multipartBody2841807714591826621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911604410,"filename":"image_31102025_18_44_09_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/caa8d3c8ac60c9ba58a35600ec2c778a.jpg","text":"TemporaryFile(/tmp/multipartBody9006525950017427030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911604410,"filename":"image_31102025_18_44_15_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/5/9a93c12ef2d4bdcc1fccd056e220c2d2.jpg","text":"TemporaryFile(/tmp/multipartBody8935278691054573573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911604410,"filename":"image_31102025_18_44_12_1532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033541","file1":"1398033539","file0":"1398033537","file4":"1398033553","file5":"1398033555","file3":"1398033549"},"map_files_photo_id_array":[{"photo_id":"1398033555","filename":"file5"},{"photo_id":"1398033541","filename":"file2"},{"photo_id":"1398033553","filename":"file4"},{"photo_id":"1398033539","filename":"file1"},{"photo_id":"1398033537","filename":"file0"},{"photo_id":"1398033549","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398033537":["hashtag1","hashtag2"]},{"1398033539":["hashtag1","hashtag2"]},{"1398033553":["hashtag1","hashtag2"]},{"1398033541":["hashtag1","hashtag2"]},{"1398033555":["hashtag1","hashtag2"]},{"1398033549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398033537, 1398033539, 1398033553, 1398033541, 1398033555, 1398033549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.946250677108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:13:02.632055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/35/image_02122025_14_36_05_9635.jpg', '/home/pi/Desktop/images/02122025/14/36/image_02122025_14_36_14_9782.jpg', '/home/pi/Desktop/images/02122025/14/36/image_02122025_14_36_24_9782.jpg', '/home/pi/Desktop/images/02122025/14/36/image_02122025_14_36_35_10742.jpg', '/home/pi/Desktop/images/02122025/14/36/image_02122025_14_36_45_9802.jpg', '/home/pi/Desktop/images/02122025/14/36/image_02122025_14_36_54_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/35/image_02122025_14_36_05_9635.jpg
/home/pi/Desktop/images/02122025/14/36/image_02122025_14_36_14_9782.jpg
/home/pi/Desktop/images/02122025/14/36/image_02122025_14_36_24_9782.jpg
/home/pi/Desktop/images/02122025/14/36/image_02122025_14_36_35_10742.jpg
/home/pi/Desktop/images/02122025/14/36/image_02122025_14_36_45_9802.jpg
/home/pi/Desktop/images/02122025/14/36/image_02122025_14_36_54_9741.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":["1398033570","1398033563","1398033565","1398033573","1398033567","1398033561"],"photo_ids_order":["1398033561","1398033563","1398033565","1398033567","1398033570","1398033573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3fc4474a3e9cbc20d4665716d054c2a6.jpg","text":"TemporaryFile(/tmp/multipartBody1669378382287759778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911644426,"filename":"image_02122025_14_36_45_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/5/0a973d65ff441081319a5d7727cb8f21.jpg","text":"TemporaryFile(/tmp/multipartBody689618467959630381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911644426,"filename":"image_02122025_14_36_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/5/dbbf2bd33fb574d31eac76de62fde800.jpg","text":"TemporaryFile(/tmp/multipartBody8131499908715615510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911644426,"filename":"image_02122025_14_36_24_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/937c568c2fc201cc88802cbe4a0f6dff.jpg","text":"TemporaryFile(/tmp/multipartBody542505032650661300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911644426,"filename":"image_02122025_14_36_54_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2f7467faae40d0538233a11ee284a65b.jpg","text":"TemporaryFile(/tmp/multipartBody7815475981769173679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911644426,"filename":"image_02122025_14_36_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/5/7e97e617f26756943432df414a6cfee9.jpg","text":"TemporaryFile(/tmp/multipartBody8434512178767864913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911644426,"filename":"image_02122025_14_36_05_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033565","file1":"1398033563","file0":"1398033561","file4":"1398033570","file5":"1398033573","file3":"1398033567"},"map_files_photo_id_array":[{"photo_id":"1398033573","filename":"file5"},{"photo_id":"1398033565","filename":"file2"},{"photo_id":"1398033570","filename":"file4"},{"photo_id":"1398033563","filename":"file1"},{"photo_id":"1398033561","filename":"file0"},{"photo_id":"1398033567","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033570":["hashtag1","hashtag2"]},{"1398033563":["hashtag1","hashtag2"]},{"1398033565":["hashtag1","hashtag2"]},{"1398033573":["hashtag1","hashtag2"]},{"1398033567":["hashtag1","hashtag2"]},{"1398033561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033570, 1398033563, 1398033565, 1398033573, 1398033567, 1398033561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36410069465637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:14:02.744343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/36/image_02122025_14_37_04_9746.jpg', '/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_15_10726.jpg', '/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_25_9687.jpg', '/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_34_9649.jpg', '/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_45_10554.jpg', '/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_55_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/36/image_02122025_14_37_04_9746.jpg
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_15_10726.jpg
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_25_9687.jpg
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_34_9649.jpg
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_45_10554.jpg
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_55_9805.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4860398769378662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:14:12.066490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/36/image_02122025_14_37_04_9746.jpg', '/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_15_10726.jpg', '/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_25_9687.jpg', '/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_34_9649.jpg', '/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_45_10554.jpg', '/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_55_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/36/image_02122025_14_37_04_9746.jpg
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_15_10726.jpg
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_25_9687.jpg
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_34_9649.jpg
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_45_10554.jpg
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_37_55_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":["1398033603","1398033590","1398033593","1398033595","1398033586","1398033582"],"photo_ids_order":["1398033582","1398033586","1398033590","1398033593","1398033595","1398033603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/645276b1705a5eba31acc0ee25a5e559.jpg","text":"TemporaryFile(/tmp/multipartBody5642425948701460645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911714060,"filename":"image_02122025_14_37_55_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d643df5aa3e6f484292c825e7da01f1f.jpg","text":"TemporaryFile(/tmp/multipartBody5117461873554456088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911714060,"filename":"image_02122025_14_37_25_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/09079d966c54371acbaa3990a33c0bc4.jpg","text":"TemporaryFile(/tmp/multipartBody2031686637918917669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911714060,"filename":"image_02122025_14_37_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f09711cc91d4600aa44179dab11d94d3.jpg","text":"TemporaryFile(/tmp/multipartBody2954208586862173631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911714060,"filename":"image_02122025_14_37_45_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/5/222b1acf89bfbb93cf5999fb3934c496.jpg","text":"TemporaryFile(/tmp/multipartBody4606608594558537300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911714060,"filename":"image_02122025_14_37_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/5/8aebfd3b4ff520c61ae7687a89ef1f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6404245361570390153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911714060,"filename":"image_02122025_14_37_04_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033590","file1":"1398033586","file0":"1398033582","file4":"1398033595","file5":"1398033603","file3":"1398033593"},"map_files_photo_id_array":[{"photo_id":"1398033603","filename":"file5"},{"photo_id":"1398033590","filename":"file2"},{"photo_id":"1398033595","filename":"file4"},{"photo_id":"1398033586","filename":"file1"},{"photo_id":"1398033582","filename":"file0"},{"photo_id":"1398033593","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033603":["hashtag1","hashtag2"]},{"1398033590":["hashtag1","hashtag2"]},{"1398033593":["hashtag1","hashtag2"]},{"1398033595":["hashtag1","hashtag2"]},{"1398033586":["hashtag1","hashtag2"]},{"1398033582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033603, 1398033590, 1398033593, 1398033595, 1398033586, 1398033582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48397254943848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:15:03.149319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/37/image_02122025_14_38_04_9754.jpg', '/home/pi/Desktop/images/02122025/14/38/image_02122025_14_38_14_9827.jpg', '/home/pi/Desktop/images/02122025/14/38/image_02122025_14_38_25_10684.jpg', '/home/pi/Desktop/images/02122025/14/38/image_02122025_14_38_35_9736.jpg', '/home/pi/Desktop/images/02122025/14/38/image_02122025_14_38_44_9646.jpg', '/home/pi/Desktop/images/02122025/14/38/image_02122025_14_38_54_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/37/image_02122025_14_38_04_9754.jpg
/home/pi/Desktop/images/02122025/14/38/image_02122025_14_38_14_9827.jpg
/home/pi/Desktop/images/02122025/14/38/image_02122025_14_38_25_10684.jpg
/home/pi/Desktop/images/02122025/14/38/image_02122025_14_38_35_9736.jpg
/home/pi/Desktop/images/02122025/14/38/image_02122025_14_38_44_9646.jpg
/home/pi/Desktop/images/02122025/14/38/image_02122025_14_38_54_9759.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":["1398033636","1398033627","1398033629","1398033631","1398033625","1398033634"],"photo_ids_order":["1398033625","1398033627","1398033629","1398033631","1398033634","1398033636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2a24272e83cc80b63ae8394ab4e24e1c.jpg","text":"TemporaryFile(/tmp/multipartBody238231735307263945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911764755,"filename":"image_02122025_14_38_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/5/6163df14c5e3284c1f334e3ce504eb27.jpg","text":"TemporaryFile(/tmp/multipartBody917087001041305304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911764755,"filename":"image_02122025_14_38_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/5/093b6c68eacd09d66382bb55e0553bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4191591924352026599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911764755,"filename":"image_02122025_14_38_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/5/6a4dec3260f54bd45ed416850085aa1a.jpg","text":"TemporaryFile(/tmp/multipartBody8965017193087991490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911764755,"filename":"image_02122025_14_38_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/5/61796d5e7b2f10531f347faf5049a858.jpg","text":"TemporaryFile(/tmp/multipartBody4491026077026504493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911764755,"filename":"image_02122025_14_38_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/5/cf6c5a3140d857f275b9dfa37ffc3777.jpg","text":"TemporaryFile(/tmp/multipartBody4353616718865268033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911764755,"filename":"image_02122025_14_38_44_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033629","file1":"1398033627","file0":"1398033625","file4":"1398033634","file5":"1398033636","file3":"1398033631"},"map_files_photo_id_array":[{"photo_id":"1398033636","filename":"file5"},{"photo_id":"1398033629","filename":"file2"},{"photo_id":"1398033634","filename":"file4"},{"photo_id":"1398033627","filename":"file1"},{"photo_id":"1398033625","filename":"file0"},{"photo_id":"1398033631","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033636":["hashtag1","hashtag2"]},{"1398033627":["hashtag1","hashtag2"]},{"1398033629":["hashtag1","hashtag2"]},{"1398033631":["hashtag1","hashtag2"]},{"1398033625":["hashtag1","hashtag2"]},{"1398033634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033636, 1398033627, 1398033629, 1398033631, 1398033625, 1398033634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37926363945007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:16:02.980669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/38/image_02122025_14_39_05_10956.jpg', '/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_15_9627.jpg', '/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_24_9748.jpg', '/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_34_9682.jpg', '/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_45_10775.jpg', '/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/38/image_02122025_14_39_05_10956.jpg
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_15_9627.jpg
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_24_9748.jpg
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_34_9682.jpg
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_45_10775.jpg
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_54_9619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6424894332885742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:16:12.511228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/38/image_02122025_14_39_05_10956.jpg', '/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_15_9627.jpg', '/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_24_9748.jpg', '/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_34_9682.jpg', '/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_45_10775.jpg', '/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/38/image_02122025_14_39_05_10956.jpg
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_15_9627.jpg
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_24_9748.jpg
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_34_9682.jpg
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_45_10775.jpg
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_39_54_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033657","1398033651","1398033659","1398033655","1398033667","1398033648"],"photo_ids_order":["1398033648","1398033651","1398033655","1398033657","1398033659","1398033667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b181b3bfc64cb6362ef0cf9c4e87662.jpg","text":"TemporaryFile(/tmp/multipartBody1764625572052600336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911834487,"filename":"image_02122025_14_39_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4fc72c3f0642f436e2cbafa4bdcdce3f.jpg","text":"TemporaryFile(/tmp/multipartBody5059120397597817578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911834487,"filename":"image_02122025_14_39_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b9ce9f9098212c8c1b85d3fc64670878.jpg","text":"TemporaryFile(/tmp/multipartBody2679818328613597999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911834487,"filename":"image_02122025_14_39_45_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/5/0cbae00fe53108d139dfe928a9324b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6477753495407655913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911834487,"filename":"image_02122025_14_39_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/5/9f8151e78e695580e0d256f952bee0f7.jpg","text":"TemporaryFile(/tmp/multipartBody1458004811944689962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911834487,"filename":"image_02122025_14_39_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/5/036f525cdb47e8a54235b7562bf06224.jpg","text":"TemporaryFile(/tmp/multipartBody9216506268108713325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911834487,"filename":"image_02122025_14_39_05_10956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033655","file1":"1398033651","file0":"1398033648","file4":"1398033659","file5":"1398033667","file3":"1398033657"},"map_files_photo_id_array":[{"photo_id":"1398033667","filename":"file5"},{"photo_id":"1398033655","filename":"file2"},{"photo_id":"1398033659","filename":"file4"},{"photo_id":"1398033651","filename":"file1"},{"photo_id":"1398033648","filename":"file0"},{"photo_id":"1398033657","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033657":["hashtag1","hashtag2"]},{"1398033651":["hashtag1","hashtag2"]},{"1398033659":["hashtag1","hashtag2"]},{"1398033655":["hashtag1","hashtag2"]},{"1398033667":["hashtag1","hashtag2"]},{"1398033648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033657, 1398033651, 1398033659, 1398033655, 1398033667, 1398033648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5518364906311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:17:03.423165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/39/image_02122025_14_40_04_9731.jpg', '/home/pi/Desktop/images/02122025/14/40/image_02122025_14_40_15_10721.jpg', '/home/pi/Desktop/images/02122025/14/40/image_02122025_14_40_25_9912.jpg', '/home/pi/Desktop/images/02122025/14/40/image_02122025_14_40_35_9832.jpg', '/home/pi/Desktop/images/02122025/14/40/image_02122025_14_40_44_9677.jpg', '/home/pi/Desktop/images/02122025/14/40/image_02122025_14_40_54_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/39/image_02122025_14_40_04_9731.jpg
/home/pi/Desktop/images/02122025/14/40/image_02122025_14_40_15_10721.jpg
/home/pi/Desktop/images/02122025/14/40/image_02122025_14_40_25_9912.jpg
/home/pi/Desktop/images/02122025/14/40/image_02122025_14_40_35_9832.jpg
/home/pi/Desktop/images/02122025/14/40/image_02122025_14_40_44_9677.jpg
/home/pi/Desktop/images/02122025/14/40/image_02122025_14_40_54_9830.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":["1398033678","1398033671","1398033673","1398033684","1398033681","1398033675"],"photo_ids_order":["1398033671","1398033673","1398033675","1398033678","1398033681","1398033684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d99f99acfc0c96bd88af4fc89447222d.jpg","text":"TemporaryFile(/tmp/multipartBody2024718187350644250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911885161,"filename":"image_02122025_14_40_35_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6cc8e4ab8a94805329b860efc0350ef5.jpg","text":"TemporaryFile(/tmp/multipartBody7315283299746968192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911885161,"filename":"image_02122025_14_40_04_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e5df32f9dd119eba4ccef5da2bc4a15e.jpg","text":"TemporaryFile(/tmp/multipartBody3939127906640643692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911885161,"filename":"image_02122025_14_40_15_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fccad164f676b296d42f0b43e0ba3a39.jpg","text":"TemporaryFile(/tmp/multipartBody5489513968292643582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911885161,"filename":"image_02122025_14_40_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/5/71edf1dde6d95a0571a793f92afee5d9.jpg","text":"TemporaryFile(/tmp/multipartBody4439478437418152586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911885161,"filename":"image_02122025_14_40_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c014dc3f9260ebc5ddb149a8c5217b3.jpg","text":"TemporaryFile(/tmp/multipartBody1453111108243163604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911885161,"filename":"image_02122025_14_40_25_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033675","file1":"1398033673","file0":"1398033671","file4":"1398033681","file5":"1398033684","file3":"1398033678"},"map_files_photo_id_array":[{"photo_id":"1398033684","filename":"file5"},{"photo_id":"1398033675","filename":"file2"},{"photo_id":"1398033681","filename":"file4"},{"photo_id":"1398033673","filename":"file1"},{"photo_id":"1398033671","filename":"file0"},{"photo_id":"1398033678","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033678":["hashtag1","hashtag2"]},{"1398033671":["hashtag1","hashtag2"]},{"1398033673":["hashtag1","hashtag2"]},{"1398033684":["hashtag1","hashtag2"]},{"1398033681":["hashtag1","hashtag2"]},{"1398033675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033678, 1398033671, 1398033673, 1398033684, 1398033681, 1398033675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68243050575256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:18:03.275874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/40/image_02122025_14_41_05_10727.jpg', '/home/pi/Desktop/images/02122025/14/41/image_02122025_14_41_15_9818.jpg', '/home/pi/Desktop/images/02122025/14/41/image_02122025_14_41_24_9627.jpg', '/home/pi/Desktop/images/02122025/14/41/image_02122025_14_41_34_9744.jpg', '/home/pi/Desktop/images/02122025/14/41/image_02122025_14_41_45_10884.jpg', '/home/pi/Desktop/images/02122025/14/41/image_02122025_14_41_55_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/40/image_02122025_14_41_05_10727.jpg
/home/pi/Desktop/images/02122025/14/41/image_02122025_14_41_15_9818.jpg
/home/pi/Desktop/images/02122025/14/41/image_02122025_14_41_24_9627.jpg
/home/pi/Desktop/images/02122025/14/41/image_02122025_14_41_34_9744.jpg
/home/pi/Desktop/images/02122025/14/41/image_02122025_14_41_45_10884.jpg
/home/pi/Desktop/images/02122025/14/41/image_02122025_14_41_55_9740.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":["1398033717","1398033711","1398033714","1398033707","1398033719","1398033709"],"photo_ids_order":["1398033707","1398033709","1398033711","1398033714","1398033717","1398033719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f500712940d06f4ef3031856ddc545b6.jpg","text":"TemporaryFile(/tmp/multipartBody2534167170534944167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911944983,"filename":"image_02122025_14_41_45_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/5/605c278294467ec38ff70643b411a835.jpg","text":"TemporaryFile(/tmp/multipartBody3196989490316323857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911944983,"filename":"image_02122025_14_41_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/5/fb8cd0db5127d5647f4d5fac60653006.jpg","text":"TemporaryFile(/tmp/multipartBody7931672627357069799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911944983,"filename":"image_02122025_14_41_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/5/73f16aa7689fa13371960d63c7530ca0.jpg","text":"TemporaryFile(/tmp/multipartBody2942387456192002120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911944983,"filename":"image_02122025_14_41_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/5/8ad7a4660024025d90677d98019c56de.jpg","text":"TemporaryFile(/tmp/multipartBody275222525440467711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911944983,"filename":"image_02122025_14_41_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/5/010079a1b619130dffb19d2edc707a7b.jpg","text":"TemporaryFile(/tmp/multipartBody8374199668620645291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764911944983,"filename":"image_02122025_14_41_15_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033711","file1":"1398033709","file0":"1398033707","file4":"1398033717","file5":"1398033719","file3":"1398033714"},"map_files_photo_id_array":[{"photo_id":"1398033719","filename":"file5"},{"photo_id":"1398033711","filename":"file2"},{"photo_id":"1398033717","filename":"file4"},{"photo_id":"1398033709","filename":"file1"},{"photo_id":"1398033707","filename":"file0"},{"photo_id":"1398033714","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033717":["hashtag1","hashtag2"]},{"1398033711":["hashtag1","hashtag2"]},{"1398033714":["hashtag1","hashtag2"]},{"1398033707":["hashtag1","hashtag2"]},{"1398033719":["hashtag1","hashtag2"]},{"1398033709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033717, 1398033711, 1398033714, 1398033707, 1398033719, 1398033709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44423842430115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:19:02.975426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/41/image_02122025_14_42_04_9734.jpg', '/home/pi/Desktop/images/02122025/14/42/image_02122025_14_42_14_9740.jpg', '/home/pi/Desktop/images/02122025/14/42/image_02122025_14_42_25_10777.jpg', '/home/pi/Desktop/images/02122025/14/42/image_02122025_14_42_35_9689.jpg', '/home/pi/Desktop/images/02122025/14/42/image_02122025_14_42_44_9649.jpg', '/home/pi/Desktop/images/02122025/14/42/image_02122025_14_42_54_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/41/image_02122025_14_42_04_9734.jpg
/home/pi/Desktop/images/02122025/14/42/image_02122025_14_42_14_9740.jpg
/home/pi/Desktop/images/02122025/14/42/image_02122025_14_42_25_10777.jpg
/home/pi/Desktop/images/02122025/14/42/image_02122025_14_42_35_9689.jpg
/home/pi/Desktop/images/02122025/14/42/image_02122025_14_42_44_9649.jpg
/home/pi/Desktop/images/02122025/14/42/image_02122025_14_42_54_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":["1398033738","1398033740","1398033742","1398033736","1398033745","1398033747"],"photo_ids_order":["1398033736","1398033738","1398033740","1398033742","1398033745","1398033747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e5f458aa212fefe19dda7ef42390455a.jpg","text":"TemporaryFile(/tmp/multipartBody7190002635993447055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912004757,"filename":"image_02122025_14_42_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/5/d42518719338ad1e4c96cb0dcabeb7a2.jpg","text":"TemporaryFile(/tmp/multipartBody2588043844633747434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912004757,"filename":"image_02122025_14_42_25_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e5a9f3c796757efce34628a029a00f9.jpg","text":"TemporaryFile(/tmp/multipartBody1092033900325957048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912004757,"filename":"image_02122025_14_42_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/5/c2c91863ca3f79bb86987064dd640274.jpg","text":"TemporaryFile(/tmp/multipartBody4641098585555174633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912004757,"filename":"image_02122025_14_42_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/5/bccd54758009cd52ca7bf244f9506583.jpg","text":"TemporaryFile(/tmp/multipartBody1108740338010576292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912004757,"filename":"image_02122025_14_42_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b4beea506ef5e15c174bbdbcdfa9ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1767846495396371337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912004757,"filename":"image_02122025_14_42_54_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033740","file1":"1398033738","file0":"1398033736","file4":"1398033745","file5":"1398033747","file3":"1398033742"},"map_files_photo_id_array":[{"photo_id":"1398033747","filename":"file5"},{"photo_id":"1398033740","filename":"file2"},{"photo_id":"1398033745","filename":"file4"},{"photo_id":"1398033738","filename":"file1"},{"photo_id":"1398033736","filename":"file0"},{"photo_id":"1398033742","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033738":["hashtag1","hashtag2"]},{"1398033740":["hashtag1","hashtag2"]},{"1398033742":["hashtag1","hashtag2"]},{"1398033736":["hashtag1","hashtag2"]},{"1398033745":["hashtag1","hashtag2"]},{"1398033747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033738, 1398033740, 1398033742, 1398033736, 1398033745, 1398033747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40631723403931 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-05 06:20:02.848663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/05/54/image_05122025_05_54_34_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/05/54/image_05122025_05_54_34_10691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033754"],"photo_id":"1398033754","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b59979edf59b6e28f6ba2fc02a4fe1f3.jpg","text":"TemporaryFile(/tmp/multipartBody5259137522101519026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912063326,"filename":"image_05122025_05_54_34_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398033754"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398033754"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.196768283843994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:20:22.316242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_21_3647.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_36_2694.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_39_3523.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_43_3933.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_45_1552.jpg', '/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_51_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_21_3647.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_36_2694.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_39_3523.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_43_3933.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_45_1552.jpg
/home/pi/Desktop/images/31102025/18/44/image_31102025_18_44_51_2799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033773","1398033767","1398033772","1398033769","1398033760","1398033763"],"photo_ids_order":["1398033760","1398033763","1398033767","1398033769","1398033772","1398033773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e00e9c4559717e66c8330c2c2e6d217c.jpg","text":"TemporaryFile(/tmp/multipartBody3644090871597103985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912084005,"filename":"image_31102025_18_44_51_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/5/c7cacf8f7852e4e4440756a39279a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody2641338121141276820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912084005,"filename":"image_31102025_18_44_39_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/5/937e30b379c09ea378b18a406dcb27f2.jpg","text":"TemporaryFile(/tmp/multipartBody6311280116243322990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912084005,"filename":"image_31102025_18_44_45_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/5/ceed08f9571e5b1bf8e779fc09bfd7b4.jpg","text":"TemporaryFile(/tmp/multipartBody7821403102179474387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912084005,"filename":"image_31102025_18_44_43_3933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5bab71a94f6dc9f1a6777c7976896c2a.jpg","text":"TemporaryFile(/tmp/multipartBody7607871112148049280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912084005,"filename":"image_31102025_18_44_21_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f2749f255e5405a8a1884140c6d5c5b.jpg","text":"TemporaryFile(/tmp/multipartBody8395588618566380433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912084005,"filename":"image_31102025_18_44_36_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033767","file1":"1398033763","file0":"1398033760","file4":"1398033772","file5":"1398033773","file3":"1398033769"},"map_files_photo_id_array":[{"photo_id":"1398033773","filename":"file5"},{"photo_id":"1398033767","filename":"file2"},{"photo_id":"1398033772","filename":"file4"},{"photo_id":"1398033763","filename":"file1"},{"photo_id":"1398033760","filename":"file0"},{"photo_id":"1398033769","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398033773":["hashtag1","hashtag2"]},{"1398033767":["hashtag1","hashtag2"]},{"1398033772":["hashtag1","hashtag2"]},{"1398033769":["hashtag1","hashtag2"]},{"1398033760":["hashtag1","hashtag2"]},{"1398033763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398033773, 1398033767, 1398033772, 1398033769, 1398033760, 1398033763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.095776319503784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:21:03.229763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/42/image_02122025_14_43_05_10792.jpg', '/home/pi/Desktop/images/02122025/14/43/image_02122025_14_43_15_9716.jpg', '/home/pi/Desktop/images/02122025/14/43/image_02122025_14_43_24_9597.jpg', '/home/pi/Desktop/images/02122025/14/43/image_02122025_14_43_34_9850.jpg', '/home/pi/Desktop/images/02122025/14/43/image_02122025_14_43_45_10634.jpg', '/home/pi/Desktop/images/02122025/14/43/image_02122025_14_43_55_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/42/image_02122025_14_43_05_10792.jpg
/home/pi/Desktop/images/02122025/14/43/image_02122025_14_43_15_9716.jpg
/home/pi/Desktop/images/02122025/14/43/image_02122025_14_43_24_9597.jpg
/home/pi/Desktop/images/02122025/14/43/image_02122025_14_43_34_9850.jpg
/home/pi/Desktop/images/02122025/14/43/image_02122025_14_43_45_10634.jpg
/home/pi/Desktop/images/02122025/14/43/image_02122025_14_43_55_9844.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":["1398033777","1398033779","1398033781","1398033783","1398033786","1398033789"],"photo_ids_order":["1398033777","1398033779","1398033781","1398033783","1398033786","1398033789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e52d2511729768c04ea3d58b3da9ee61.jpg","text":"TemporaryFile(/tmp/multipartBody1181774456699916930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912124887,"filename":"image_02122025_14_43_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/5/0fdfa6acaa8f27c8477b709d7f99c65f.jpg","text":"TemporaryFile(/tmp/multipartBody2271016925944490889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912124887,"filename":"image_02122025_14_43_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/5/080a5f22a5a15659f066453e4dafdc38.jpg","text":"TemporaryFile(/tmp/multipartBody6979282800583994053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912124887,"filename":"image_02122025_14_43_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/5/a251fbe59fa131f9303547f875239e82.jpg","text":"TemporaryFile(/tmp/multipartBody5874973821295939814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912124887,"filename":"image_02122025_14_43_34_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/5/16efd24df17ff19373993a505701c3f3.jpg","text":"TemporaryFile(/tmp/multipartBody6350983359126634424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912124887,"filename":"image_02122025_14_43_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/5/a10c32e30cacc7601bb489ad7166738c.jpg","text":"TemporaryFile(/tmp/multipartBody2976056945763391095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912124887,"filename":"image_02122025_14_43_55_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033781","file1":"1398033779","file0":"1398033777","file4":"1398033786","file5":"1398033789","file3":"1398033783"},"map_files_photo_id_array":[{"photo_id":"1398033789","filename":"file5"},{"photo_id":"1398033781","filename":"file2"},{"photo_id":"1398033786","filename":"file4"},{"photo_id":"1398033779","filename":"file1"},{"photo_id":"1398033777","filename":"file0"},{"photo_id":"1398033783","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033777":["hashtag1","hashtag2"]},{"1398033779":["hashtag1","hashtag2"]},{"1398033781":["hashtag1","hashtag2"]},{"1398033783":["hashtag1","hashtag2"]},{"1398033786":["hashtag1","hashtag2"]},{"1398033789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033777, 1398033779, 1398033781, 1398033783, 1398033786, 1398033789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70796179771423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:22:03.214800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/18/image_05122025_06_19_04_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/18/image_05122025_06_19_04_9733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033799"],"photo_id":"1398033799","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6cea79f5af0c0f6182e380f022f1505a.jpg","text":"TemporaryFile(/tmp/multipartBody2392732797687313718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912183691,"filename":"image_05122025_06_19_04_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398033799"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398033799"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.605098247528076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:22:22.716605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/21/image_05122025_06_21_24_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/21/image_05122025_06_21_24_9852.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033804"],"photo_id":"1398033804","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/81d9ee4d725aa1c0633a6fb0dee21b2f.jpg","text":"TemporaryFile(/tmp/multipartBody417579527774323863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912203215,"filename":"image_05122025_06_21_24_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398033804"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398033804"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.235796213150024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:22:42.785910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_02_10532.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_03_1615.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_05_1541.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_07_1607.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_08_1649.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_14_4165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_02_10532.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_03_1615.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_05_1541.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_07_1607.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_08_1649.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_14_4165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033849","1398033831","1398033824","1398033833","1398033835","1398033829"],"photo_ids_order":["1398033824","1398033829","1398033831","1398033833","1398033835","1398033849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b3b7386c8dfc7683245e6cbc44067ef.jpg","text":"TemporaryFile(/tmp/multipartBody5055227061460334168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912224417,"filename":"image_31102025_18_45_14_4165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7cc79e4e0b583faccbf71e60a33c85ee.jpg","text":"TemporaryFile(/tmp/multipartBody7453225494121377251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912224417,"filename":"image_31102025_18_45_05_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/edc6a4e455fa7915f48d9ece751026b6.jpg","text":"TemporaryFile(/tmp/multipartBody6196646831822589314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912224417,"filename":"image_31102025_18_45_02_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bac3a02904d3069c1c8b57b7bd58277b.jpg","text":"TemporaryFile(/tmp/multipartBody7716211079550440188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912224417,"filename":"image_31102025_18_45_07_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/5/ffbf43897970a35521b4b9e22e583437.jpg","text":"TemporaryFile(/tmp/multipartBody1012389992252486892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912224417,"filename":"image_31102025_18_45_08_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/5/3942b3e345c780809b910d2fcbbe03b5.jpg","text":"TemporaryFile(/tmp/multipartBody8698576655569878556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912224417,"filename":"image_31102025_18_45_03_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033831","file1":"1398033829","file0":"1398033824","file4":"1398033835","file5":"1398033849","file3":"1398033833"},"map_files_photo_id_array":[{"photo_id":"1398033849","filename":"file5"},{"photo_id":"1398033831","filename":"file2"},{"photo_id":"1398033835","filename":"file4"},{"photo_id":"1398033829","filename":"file1"},{"photo_id":"1398033824","filename":"file0"},{"photo_id":"1398033833","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398033849":["hashtag1","hashtag2"]},{"1398033831":["hashtag1","hashtag2"]},{"1398033824":["hashtag1","hashtag2"]},{"1398033833":["hashtag1","hashtag2"]},{"1398033835":["hashtag1","hashtag2"]},{"1398033829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398033849, 1398033831, 1398033824, 1398033833, 1398033835, 1398033829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17247009277344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:23:32.078290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/43/image_02122025_14_44_04_9676.jpg', '/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_15_10685.jpg', '/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_25_9627.jpg', '/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_34_9773.jpg', '/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_44_9752.jpg', '/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_55_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/43/image_02122025_14_44_04_9676.jpg
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_15_10685.jpg
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_25_9627.jpg
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_34_9773.jpg
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_44_9752.jpg
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_55_10606.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.210071325302124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:23:42.035832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_16_1755.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_18_1763.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_21_3527.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_29_7465.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_32_2999.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_33_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_16_1755.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_18_1763.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_21_3527.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_29_7465.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_32_2999.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_33_1617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033869","1398033871","1398033868","1398033870","1398033864","1398033873"],"photo_ids_order":["1398033864","1398033868","1398033869","1398033870","1398033871","1398033873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f61fcae86bc772d74c7d233a3975b659.jpg","text":"TemporaryFile(/tmp/multipartBody3650195265582082645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912283632,"filename":"image_31102025_18_45_21_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/5/3b045d6a9becfcd90b685641e3a24427.jpg","text":"TemporaryFile(/tmp/multipartBody1080663296419056012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912283632,"filename":"image_31102025_18_45_32_2999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0024ae9613e324a8dda708d484195d59.jpg","text":"TemporaryFile(/tmp/multipartBody1543970801556492626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912283632,"filename":"image_31102025_18_45_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/5/3eee943a23639fb8c779ef03542af7af.jpg","text":"TemporaryFile(/tmp/multipartBody8832292419396798032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912283632,"filename":"image_31102025_18_45_29_7465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/163f0a27ac5b941c87c5d8f9d4171c88.jpg","text":"TemporaryFile(/tmp/multipartBody3873253888761937670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912283632,"filename":"image_31102025_18_45_16_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/5/313734ab9a64e5a54c3b3ad584ef1d95.jpg","text":"TemporaryFile(/tmp/multipartBody4614618117735273042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912283632,"filename":"image_31102025_18_45_33_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033869","file1":"1398033868","file0":"1398033864","file4":"1398033871","file5":"1398033873","file3":"1398033870"},"map_files_photo_id_array":[{"photo_id":"1398033873","filename":"file5"},{"photo_id":"1398033869","filename":"file2"},{"photo_id":"1398033871","filename":"file4"},{"photo_id":"1398033868","filename":"file1"},{"photo_id":"1398033864","filename":"file0"},{"photo_id":"1398033870","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398033869":["hashtag1","hashtag2"]},{"1398033871":["hashtag1","hashtag2"]},{"1398033868":["hashtag1","hashtag2"]},{"1398033870":["hashtag1","hashtag2"]},{"1398033864":["hashtag1","hashtag2"]},{"1398033873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398033869, 1398033871, 1398033868, 1398033870, 1398033864, 1398033873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87712812423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:24:32.198813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/43/image_02122025_14_44_04_9676.jpg', '/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_15_10685.jpg', '/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_25_9627.jpg', '/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_34_9773.jpg', '/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_44_9752.jpg', '/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_55_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/43/image_02122025_14_44_04_9676.jpg
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_15_10685.jpg
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_25_9627.jpg
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_34_9773.jpg
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_44_9752.jpg
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_44_55_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033887","1398033892","1398033880","1398033882","1398033885","1398033888"],"photo_ids_order":["1398033880","1398033882","1398033885","1398033887","1398033888","1398033892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/61898b29daa374c76dceaa9116bcc678.jpg","text":"TemporaryFile(/tmp/multipartBody324862301145161346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912334286,"filename":"image_02122025_14_44_34_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5de439b1ec069952d8e87c2ff928332e.jpg","text":"TemporaryFile(/tmp/multipartBody7829012459119485674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912334286,"filename":"image_02122025_14_44_55_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b6b572cdd297728fa1de3880c2eb929d.jpg","text":"TemporaryFile(/tmp/multipartBody8178602239852032018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912334286,"filename":"image_02122025_14_44_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/5/cc310b89568f92d45423bc5f45957ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2710091638675851308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912334286,"filename":"image_02122025_14_44_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9d9787cb245c42d67d07429b9def973d.jpg","text":"TemporaryFile(/tmp/multipartBody2360047763872979287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912334286,"filename":"image_02122025_14_44_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/5/800a3f746d7ac1113fc4f913805317b9.jpg","text":"TemporaryFile(/tmp/multipartBody5833196929243251356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912334286,"filename":"image_02122025_14_44_44_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033885","file1":"1398033882","file0":"1398033880","file4":"1398033888","file5":"1398033892","file3":"1398033887"},"map_files_photo_id_array":[{"photo_id":"1398033892","filename":"file5"},{"photo_id":"1398033885","filename":"file2"},{"photo_id":"1398033888","filename":"file4"},{"photo_id":"1398033882","filename":"file1"},{"photo_id":"1398033880","filename":"file0"},{"photo_id":"1398033887","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033887":["hashtag1","hashtag2"]},{"1398033892":["hashtag1","hashtag2"]},{"1398033880":["hashtag1","hashtag2"]},{"1398033882":["hashtag1","hashtag2"]},{"1398033885":["hashtag1","hashtag2"]},{"1398033888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033887, 1398033892, 1398033880, 1398033882, 1398033885, 1398033888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57847499847412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:25:12.356758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/44/image_02122025_14_45_04_9609.jpg', '/home/pi/Desktop/images/02122025/14/45/image_02122025_14_45_45_10620.jpg', '/home/pi/Desktop/images/02122025/14/45/image_02122025_14_45_55_9719.jpg', '/home/pi/Desktop/images/02122025/14/45/image_02122025_14_46_04_9730.jpg', '/home/pi/Desktop/images/02122025/14/46/image_02122025_14_46_14_9652.jpg', '/home/pi/Desktop/images/02122025/14/46/image_02122025_14_46_25_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/44/image_02122025_14_45_04_9609.jpg
/home/pi/Desktop/images/02122025/14/45/image_02122025_14_45_45_10620.jpg
/home/pi/Desktop/images/02122025/14/45/image_02122025_14_45_55_9719.jpg
/home/pi/Desktop/images/02122025/14/45/image_02122025_14_46_04_9730.jpg
/home/pi/Desktop/images/02122025/14/46/image_02122025_14_46_14_9652.jpg
/home/pi/Desktop/images/02122025/14/46/image_02122025_14_46_25_10566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033903","1398033899","1398033895","1398033904","1398033897","1398033901"],"photo_ids_order":["1398033895","1398033897","1398033899","1398033901","1398033903","1398033904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9896bd01f6555c65e47e9b8679104d87.jpg","text":"TemporaryFile(/tmp/multipartBody7945018472017652899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912374515,"filename":"image_02122025_14_46_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/5/253198f62bfedab50ab225dbfe2c79ed.jpg","text":"TemporaryFile(/tmp/multipartBody585002656510828485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912374515,"filename":"image_02122025_14_45_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/5/32367f53ed7f5b47d8a280a9c42eb552.jpg","text":"TemporaryFile(/tmp/multipartBody3150536968851510131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912374515,"filename":"image_02122025_14_45_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f85926be2bcbe4cb63b449f45df8dd6f.jpg","text":"TemporaryFile(/tmp/multipartBody4764329632557813420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912374515,"filename":"image_02122025_14_46_25_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d15258190a39f0eb696273360a4fddc8.jpg","text":"TemporaryFile(/tmp/multipartBody9082726737983019943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912374515,"filename":"image_02122025_14_45_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/5/7a00f7c0a74102bd7b72fd5996f13c93.jpg","text":"TemporaryFile(/tmp/multipartBody6494929508901563051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912374515,"filename":"image_02122025_14_46_04_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033899","file1":"1398033897","file0":"1398033895","file4":"1398033903","file5":"1398033904","file3":"1398033901"},"map_files_photo_id_array":[{"photo_id":"1398033904","filename":"file5"},{"photo_id":"1398033899","filename":"file2"},{"photo_id":"1398033903","filename":"file4"},{"photo_id":"1398033897","filename":"file1"},{"photo_id":"1398033895","filename":"file0"},{"photo_id":"1398033901","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033903":["hashtag1","hashtag2"]},{"1398033899":["hashtag1","hashtag2"]},{"1398033895":["hashtag1","hashtag2"]},{"1398033904":["hashtag1","hashtag2"]},{"1398033897":["hashtag1","hashtag2"]},{"1398033901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033903, 1398033899, 1398033895, 1398033904, 1398033897, 1398033901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50589179992676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:26:03.174629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/22/image_05122025_06_22_34_10535.jpg', '/home/pi/Desktop/images/05122025/06/23/image_05122025_06_24_04_9856.jpg', '/home/pi/Desktop/images/05122025/06/24/image_05122025_06_24_24_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/22/image_05122025_06_22_34_10535.jpg
/home/pi/Desktop/images/05122025/06/23/image_05122025_06_24_04_9856.jpg
/home/pi/Desktop/images/05122025/06/24/image_05122025_06_24_24_10596.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.509519100189209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:26:12.623996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/46/image_02122025_14_46_34_9786.jpg', '/home/pi/Desktop/images/02122025/14/46/image_02122025_14_46_44_9924.jpg', '/home/pi/Desktop/images/02122025/14/46/image_02122025_14_46_55_10702.jpg', '/home/pi/Desktop/images/02122025/14/46/image_02122025_14_47_05_9677.jpg', '/home/pi/Desktop/images/02122025/14/47/image_02122025_14_47_15_9805.jpg', '/home/pi/Desktop/images/02122025/14/47/image_02122025_14_47_25_10181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/46/image_02122025_14_46_34_9786.jpg
/home/pi/Desktop/images/02122025/14/46/image_02122025_14_46_44_9924.jpg
/home/pi/Desktop/images/02122025/14/46/image_02122025_14_46_55_10702.jpg
/home/pi/Desktop/images/02122025/14/46/image_02122025_14_47_05_9677.jpg
/home/pi/Desktop/images/02122025/14/47/image_02122025_14_47_15_9805.jpg
/home/pi/Desktop/images/02122025/14/47/image_02122025_14_47_25_10181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033918","1398033911","1398033920","1398033916","1398033919","1398033913"],"photo_ids_order":["1398033911","1398033913","1398033916","1398033918","1398033919","1398033920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cb299219db5c7eb3b8bd93e4d967615f.jpg","text":"TemporaryFile(/tmp/multipartBody6745831899670734207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912434494,"filename":"image_02122025_14_47_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/5/ea70acb576a6599abc4e86646dac83a3.jpg","text":"TemporaryFile(/tmp/multipartBody2675826765786414205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912434494,"filename":"image_02122025_14_46_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/5/032207c14f5567a166ca24548f256c38.jpg","text":"TemporaryFile(/tmp/multipartBody8895248851454696736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912434494,"filename":"image_02122025_14_47_25_10181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ef8bdbba338ead01059ed10eeb26e87.jpg","text":"TemporaryFile(/tmp/multipartBody7437421173954528930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912434494,"filename":"image_02122025_14_46_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/5/7a631fadf43b877b7c35d05f3a557bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8688524884183699170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912434494,"filename":"image_02122025_14_47_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bc69593711075b3d6eb858ef471663af.jpg","text":"TemporaryFile(/tmp/multipartBody2331686182491752217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912434494,"filename":"image_02122025_14_46_44_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033916","file1":"1398033913","file0":"1398033911","file4":"1398033919","file5":"1398033920","file3":"1398033918"},"map_files_photo_id_array":[{"photo_id":"1398033920","filename":"file5"},{"photo_id":"1398033916","filename":"file2"},{"photo_id":"1398033919","filename":"file4"},{"photo_id":"1398033913","filename":"file1"},{"photo_id":"1398033911","filename":"file0"},{"photo_id":"1398033918","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033918":["hashtag1","hashtag2"]},{"1398033911":["hashtag1","hashtag2"]},{"1398033920":["hashtag1","hashtag2"]},{"1398033916":["hashtag1","hashtag2"]},{"1398033919":["hashtag1","hashtag2"]},{"1398033913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033918, 1398033911, 1398033920, 1398033916, 1398033919, 1398033913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39116430282593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:27:03.376848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/22/image_05122025_06_22_34_10535.jpg', '/home/pi/Desktop/images/05122025/06/23/image_05122025_06_24_04_9856.jpg', '/home/pi/Desktop/images/05122025/06/24/image_05122025_06_24_24_10596.jpg', '/home/pi/Desktop/images/05122025/06/25/image_05122025_06_25_43_9649.jpg', '/home/pi/Desktop/images/05122025/06/25/image_05122025_06_26_04_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/22/image_05122025_06_22_34_10535.jpg
/home/pi/Desktop/images/05122025/06/23/image_05122025_06_24_04_9856.jpg
/home/pi/Desktop/images/05122025/06/24/image_05122025_06_24_24_10596.jpg
/home/pi/Desktop/images/05122025/06/25/image_05122025_06_25_43_9649.jpg
/home/pi/Desktop/images/05122025/06/25/image_05122025_06_26_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":["1398033942","1398033936","1398033941","1398033938","1398033940"],"photo_ids_order":["1398033936","1398033938","1398033940","1398033941","1398033942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8f1179219fd18997f7c4681650f5f0d4.jpg","text":"TemporaryFile(/tmp/multipartBody7402005976308020828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912484142,"filename":"image_05122025_06_26_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/5/543d6ec073de2bbb327b5dee18d418d1.jpg","text":"TemporaryFile(/tmp/multipartBody8792019490854914512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912484142,"filename":"image_05122025_06_22_34_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/5/8e02f5034efbf6bb7cd6f0c4ede03ef5.jpg","text":"TemporaryFile(/tmp/multipartBody8014148138476199340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912484142,"filename":"image_05122025_06_25_43_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/5/f1b310a886b1df12e978b0f53f4b8089.jpg","text":"TemporaryFile(/tmp/multipartBody3059267372495882870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912484142,"filename":"image_05122025_06_24_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/5/e4acf7ae7c05c7d0e42c39fe0b3e2aa5.jpg","text":"TemporaryFile(/tmp/multipartBody7668235132052948464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912484142,"filename":"image_05122025_06_24_24_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033940","file1":"1398033938","file0":"1398033936","file4":"1398033942","file3":"1398033941"},"map_files_photo_id_array":[{"photo_id":"1398033940","filename":"file2"},{"photo_id":"1398033942","filename":"file4"},{"photo_id":"1398033938","filename":"file1"},{"photo_id":"1398033936","filename":"file0"},{"photo_id":"1398033941","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398033942":["hashtag1","hashtag2"]},{"1398033936":["hashtag1","hashtag2"]},{"1398033941":["hashtag1","hashtag2"]},{"1398033938":["hashtag1","hashtag2"]},{"1398033940":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398033942, 1398033936, 1398033941, 1398033938, 1398033940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.982980251312256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:27:42.848049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_37_1773.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_39_2598.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_42_2315.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_45_3647.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_50_4303.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_51_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_37_1773.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_39_2598.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_42_2315.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_45_3647.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_50_4303.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_51_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033954","1398033948","1398033950","1398033953","1398033952","1398033951"],"photo_ids_order":["1398033948","1398033950","1398033951","1398033952","1398033953","1398033954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/de1d71891adf45ca2420e0dd261496da.jpg","text":"TemporaryFile(/tmp/multipartBody2066412854015763283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912524549,"filename":"image_31102025_18_45_51_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/5/f9faf805992fd70a5a1f461bb36026e5.jpg","text":"TemporaryFile(/tmp/multipartBody5950842485302623993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912524549,"filename":"image_31102025_18_45_37_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2435021bc3265036d138a57d177ef25.jpg","text":"TemporaryFile(/tmp/multipartBody2655671491274954267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912524549,"filename":"image_31102025_18_45_39_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/5/dc1fae12d609968008c5ec40016cf17b.jpg","text":"TemporaryFile(/tmp/multipartBody6158850352737742242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912524549,"filename":"image_31102025_18_45_50_4303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/02050c7da3e6f64f0bb3351c350df4a0.jpg","text":"TemporaryFile(/tmp/multipartBody8892234602222914821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912524549,"filename":"image_31102025_18_45_45_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/5/67b19ae0f30d932f36c5fb59cc74d512.jpg","text":"TemporaryFile(/tmp/multipartBody3773196194347462240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912524549,"filename":"image_31102025_18_45_42_2315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033951","file1":"1398033950","file0":"1398033948","file4":"1398033953","file5":"1398033954","file3":"1398033952"},"map_files_photo_id_array":[{"photo_id":"1398033954","filename":"file5"},{"photo_id":"1398033951","filename":"file2"},{"photo_id":"1398033953","filename":"file4"},{"photo_id":"1398033950","filename":"file1"},{"photo_id":"1398033948","filename":"file0"},{"photo_id":"1398033952","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398033954":["hashtag1","hashtag2"]},{"1398033948":["hashtag1","hashtag2"]},{"1398033950":["hashtag1","hashtag2"]},{"1398033953":["hashtag1","hashtag2"]},{"1398033952":["hashtag1","hashtag2"]},{"1398033951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398033954, 1398033948, 1398033950, 1398033953, 1398033952, 1398033951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.840620040893555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:28:22.109564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_55_4331.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_57_1577.jpg', '/home/pi/Desktop/images/31102025/18/45/image_31102025_18_46_00_2665.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_03_3681.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_06_2714.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_09_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_55_4331.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_45_57_1577.jpg
/home/pi/Desktop/images/31102025/18/45/image_31102025_18_46_00_2665.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_03_3681.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_06_2714.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_09_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398033960","1398033968","1398033970","1398033973","1398033963","1398033966"],"photo_ids_order":["1398033960","1398033963","1398033966","1398033968","1398033970","1398033973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/34bfd0499baabaa3ac2e70e1ae3c210c.jpg","text":"TemporaryFile(/tmp/multipartBody7948272676591533075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912563751,"filename":"image_31102025_18_45_55_4331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/04fb4c35538a77580d6bd69a4cfc69d3.jpg","text":"TemporaryFile(/tmp/multipartBody2916752395959832158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912563751,"filename":"image_31102025_18_46_03_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/5/30529e5dd4a97cd4239e33bddcbaa356.jpg","text":"TemporaryFile(/tmp/multipartBody5463521982312368289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912563751,"filename":"image_31102025_18_46_06_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/5/c23810824c1c75c41d24a9c3f33ab5b2.jpg","text":"TemporaryFile(/tmp/multipartBody9125109249992305473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912563751,"filename":"image_31102025_18_46_09_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/5/a82bde1f7bc4d5608e50cd3714be5bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1894133760415584167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912563751,"filename":"image_31102025_18_45_57_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/5/20a2ab358b1001231aa1595b5f37b047.jpg","text":"TemporaryFile(/tmp/multipartBody5915007215917081027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912563751,"filename":"image_31102025_18_46_00_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033966","file1":"1398033963","file0":"1398033960","file4":"1398033970","file5":"1398033973","file3":"1398033968"},"map_files_photo_id_array":[{"photo_id":"1398033973","filename":"file5"},{"photo_id":"1398033966","filename":"file2"},{"photo_id":"1398033970","filename":"file4"},{"photo_id":"1398033963","filename":"file1"},{"photo_id":"1398033960","filename":"file0"},{"photo_id":"1398033968","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398033960":["hashtag1","hashtag2"]},{"1398033968":["hashtag1","hashtag2"]},{"1398033970":["hashtag1","hashtag2"]},{"1398033973":["hashtag1","hashtag2"]},{"1398033963":["hashtag1","hashtag2"]},{"1398033966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398033960, 1398033968, 1398033970, 1398033973, 1398033963, 1398033966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28453707695007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:29:03.134179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/47/image_02122025_14_47_34_9634.jpg', '/home/pi/Desktop/images/02122025/14/47/image_02122025_14_47_51_16401.jpg', '/home/pi/Desktop/images/02122025/14/47/image_02122025_14_48_04_9645.jpg', '/home/pi/Desktop/images/02122025/14/48/image_02122025_14_48_15_10640.jpg', '/home/pi/Desktop/images/02122025/14/48/image_02122025_14_48_47_17802.jpg', '/home/pi/Desktop/images/02122025/14/48/image_02122025_14_48_50_3138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/47/image_02122025_14_47_34_9634.jpg
/home/pi/Desktop/images/02122025/14/47/image_02122025_14_47_51_16401.jpg
/home/pi/Desktop/images/02122025/14/47/image_02122025_14_48_04_9645.jpg
/home/pi/Desktop/images/02122025/14/48/image_02122025_14_48_15_10640.jpg
/home/pi/Desktop/images/02122025/14/48/image_02122025_14_48_47_17802.jpg
/home/pi/Desktop/images/02122025/14/48/image_02122025_14_48_50_3138.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":["1398033980","1398033974","1398033983","1398033975","1398033978","1398033987"],"photo_ids_order":["1398033974","1398033975","1398033978","1398033980","1398033983","1398033987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f439366b9a99768affbe1ee971ba6d1b.jpg","text":"TemporaryFile(/tmp/multipartBody896137394854523227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912604958,"filename":"image_02122025_14_48_15_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/5/26943aad062f4c05e7292c5ed28209bb.jpg","text":"TemporaryFile(/tmp/multipartBody1438221673565964297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912604958,"filename":"image_02122025_14_47_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/5/d7034d1c518ec689757bb3e5e0fc906f.jpg","text":"TemporaryFile(/tmp/multipartBody6854525768279578548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912604958,"filename":"image_02122025_14_48_47_17802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f930271d39cc0c8d99fe0e83645a971.jpg","text":"TemporaryFile(/tmp/multipartBody68628022121509123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912604958,"filename":"image_02122025_14_47_51_16401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/50daf0e85a53d3a5130769457bac82a9.jpg","text":"TemporaryFile(/tmp/multipartBody7660434599847818656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912604958,"filename":"image_02122025_14_48_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/5/fa57533986661c55eb6d00a36341606b.jpg","text":"TemporaryFile(/tmp/multipartBody3303556443756489861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912604958,"filename":"image_02122025_14_48_50_3138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398033978","file1":"1398033975","file0":"1398033974","file4":"1398033983","file5":"1398033987","file3":"1398033980"},"map_files_photo_id_array":[{"photo_id":"1398033987","filename":"file5"},{"photo_id":"1398033978","filename":"file2"},{"photo_id":"1398033983","filename":"file4"},{"photo_id":"1398033975","filename":"file1"},{"photo_id":"1398033974","filename":"file0"},{"photo_id":"1398033980","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398033980":["hashtag1","hashtag2"]},{"1398033974":["hashtag1","hashtag2"]},{"1398033983":["hashtag1","hashtag2"]},{"1398033975":["hashtag1","hashtag2"]},{"1398033978":["hashtag1","hashtag2"]},{"1398033987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398033980, 1398033974, 1398033983, 1398033975, 1398033978, 1398033987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27886891365051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:30:02.804916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/48/image_02122025_14_48_54_3739.jpg', '/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_14_19868.jpg', '/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_16_1722.jpg', '/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_25_8893.jpg', '/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_34_9664.jpg', '/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_45_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/48/image_02122025_14_48_54_3739.jpg
/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_14_19868.jpg
/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_16_1722.jpg
/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_25_8893.jpg
/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_34_9664.jpg
/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_45_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":["1398034002","1398034011","1398034001","1398034015","1398034003","1398034006"],"photo_ids_order":["1398034001","1398034002","1398034003","1398034006","1398034011","1398034015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/338e53b3d9d5e7d4290e8fb9ab5dcf7c.jpg","text":"TemporaryFile(/tmp/multipartBody1048313718817115885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912664543,"filename":"image_02122025_14_49_14_19868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/89b1561bb77acab8883db40b86cdf670.jpg","text":"TemporaryFile(/tmp/multipartBody4977535322060162791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912664543,"filename":"image_02122025_14_49_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84e75a21fbf261b368b42851735a97c6.jpg","text":"TemporaryFile(/tmp/multipartBody2296117418981006490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912664543,"filename":"image_02122025_14_48_54_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/5/d07eeedb69fbdf8c8ebc703235a4d98c.jpg","text":"TemporaryFile(/tmp/multipartBody2635303520564261339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912664543,"filename":"image_02122025_14_49_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/5/4d6adf9c75387e012dde7d9ff7911399.jpg","text":"TemporaryFile(/tmp/multipartBody6822708373093500670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912664543,"filename":"image_02122025_14_49_16_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/5/1a4ee71691a5e1b328ada5ed2f9dceae.jpg","text":"TemporaryFile(/tmp/multipartBody6512659278474814473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912664543,"filename":"image_02122025_14_49_25_8893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034003","file1":"1398034002","file0":"1398034001","file4":"1398034011","file5":"1398034015","file3":"1398034006"},"map_files_photo_id_array":[{"photo_id":"1398034015","filename":"file5"},{"photo_id":"1398034003","filename":"file2"},{"photo_id":"1398034011","filename":"file4"},{"photo_id":"1398034002","filename":"file1"},{"photo_id":"1398034001","filename":"file0"},{"photo_id":"1398034006","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034002":["hashtag1","hashtag2"]},{"1398034011":["hashtag1","hashtag2"]},{"1398034001":["hashtag1","hashtag2"]},{"1398034015":["hashtag1","hashtag2"]},{"1398034003":["hashtag1","hashtag2"]},{"1398034006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034002, 1398034011, 1398034001, 1398034015, 1398034003, 1398034006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25690674781799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:31:03.303219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_54_9598.jpg', '/home/pi/Desktop/images/02122025/14/49/image_02122025_14_50_04_9672.jpg', '/home/pi/Desktop/images/02122025/14/50/image_02122025_14_50_15_10923.jpg', '/home/pi/Desktop/images/02122025/14/50/image_02122025_14_50_25_9750.jpg', '/home/pi/Desktop/images/02122025/14/50/image_02122025_14_50_34_9648.jpg', '/home/pi/Desktop/images/02122025/14/50/image_02122025_14_50_44_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/49/image_02122025_14_49_54_9598.jpg
/home/pi/Desktop/images/02122025/14/49/image_02122025_14_50_04_9672.jpg
/home/pi/Desktop/images/02122025/14/50/image_02122025_14_50_15_10923.jpg
/home/pi/Desktop/images/02122025/14/50/image_02122025_14_50_25_9750.jpg
/home/pi/Desktop/images/02122025/14/50/image_02122025_14_50_34_9648.jpg
/home/pi/Desktop/images/02122025/14/50/image_02122025_14_50_44_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034040","1398034034","1398034042","1398034036","1398034044","1398034038"],"photo_ids_order":["1398034034","1398034036","1398034038","1398034040","1398034042","1398034044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c974bfeb244a1acdf57b17534d296994.jpg","text":"TemporaryFile(/tmp/multipartBody7367390128896753232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912725051,"filename":"image_02122025_14_50_25_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/5/92e9abf0af8680624e34791d06aa292b.jpg","text":"TemporaryFile(/tmp/multipartBody6692452822132397236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912725051,"filename":"image_02122025_14_49_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/5/e1f9d8a448e76adc99f95f49793c27b9.jpg","text":"TemporaryFile(/tmp/multipartBody6274173875755943577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912725051,"filename":"image_02122025_14_50_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/5/a5671a3a521f351c1a9e25baa0efc537.jpg","text":"TemporaryFile(/tmp/multipartBody4887540896890119967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912725051,"filename":"image_02122025_14_50_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/5/726527f2fffa6912abb451ead3ee0024.jpg","text":"TemporaryFile(/tmp/multipartBody497420290610204852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912725051,"filename":"image_02122025_14_50_44_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/5/f36ed2ccfe710b88060069854b41515e.jpg","text":"TemporaryFile(/tmp/multipartBody4676798936712054062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912725051,"filename":"image_02122025_14_50_15_10923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034038","file1":"1398034036","file0":"1398034034","file4":"1398034042","file5":"1398034044","file3":"1398034040"},"map_files_photo_id_array":[{"photo_id":"1398034044","filename":"file5"},{"photo_id":"1398034038","filename":"file2"},{"photo_id":"1398034042","filename":"file4"},{"photo_id":"1398034036","filename":"file1"},{"photo_id":"1398034034","filename":"file0"},{"photo_id":"1398034040","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034040":["hashtag1","hashtag2"]},{"1398034034":["hashtag1","hashtag2"]},{"1398034042":["hashtag1","hashtag2"]},{"1398034036":["hashtag1","hashtag2"]},{"1398034044":["hashtag1","hashtag2"]},{"1398034038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034040, 1398034034, 1398034042, 1398034036, 1398034044, 1398034038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.438032150268555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:31:42.621612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_18_2568.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_21_2672.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_24_3650.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_32_1618.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_34_1957.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_39_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_18_2568.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_21_2672.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_24_3650.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_32_1618.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_34_1957.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_39_2832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034049","1398034052","1398034051","1398034060","1398034062","1398034056"],"photo_ids_order":["1398034049","1398034051","1398034052","1398034056","1398034060","1398034062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eec84feeb0f68bdd8b99cc3c883cec92.jpg","text":"TemporaryFile(/tmp/multipartBody576110200802135680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912764349,"filename":"image_31102025_18_46_18_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/5/c78377cbd5e2a16caa92a7c3a04318ea.jpg","text":"TemporaryFile(/tmp/multipartBody2274311458854163814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912764349,"filename":"image_31102025_18_46_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/5/258eccd32ff2e56dd0f1f2e1faf0b501.jpg","text":"TemporaryFile(/tmp/multipartBody6196120957874127219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912764349,"filename":"image_31102025_18_46_21_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/013000bf558e3253e180d5321c35d771.jpg","text":"TemporaryFile(/tmp/multipartBody5809650041903160017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912764349,"filename":"image_31102025_18_46_34_1957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2689ea8bc39d0bbdc05543a4240a8c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1547423930045295223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912764349,"filename":"image_31102025_18_46_39_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e69369546b4dfeedb098f42647f7b013.jpg","text":"TemporaryFile(/tmp/multipartBody6768878097502747407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912764349,"filename":"image_31102025_18_46_32_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034052","file1":"1398034051","file0":"1398034049","file4":"1398034060","file5":"1398034062","file3":"1398034056"},"map_files_photo_id_array":[{"photo_id":"1398034062","filename":"file5"},{"photo_id":"1398034052","filename":"file2"},{"photo_id":"1398034060","filename":"file4"},{"photo_id":"1398034051","filename":"file1"},{"photo_id":"1398034049","filename":"file0"},{"photo_id":"1398034056","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034049":["hashtag1","hashtag2"]},{"1398034052":["hashtag1","hashtag2"]},{"1398034051":["hashtag1","hashtag2"]},{"1398034060":["hashtag1","hashtag2"]},{"1398034062":["hashtag1","hashtag2"]},{"1398034056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034049, 1398034052, 1398034051, 1398034060, 1398034062, 1398034056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95118594169617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:32:22.887994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/26/image_05122025_06_26_54_10624.jpg', '/home/pi/Desktop/images/05122025/06/31/image_05122025_06_31_24_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/26/image_05122025_06_26_54_10624.jpg
/home/pi/Desktop/images/05122025/06/31/image_05122025_06_31_24_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.43374061584472656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:32:32.787461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/50/image_02122025_14_50_55_10660.jpg', '/home/pi/Desktop/images/02122025/14/50/image_02122025_14_51_05_9823.jpg', '/home/pi/Desktop/images/02122025/14/51/image_02122025_14_51_15_9751.jpg', '/home/pi/Desktop/images/02122025/14/51/image_02122025_14_51_24_9602.jpg', '/home/pi/Desktop/images/02122025/14/51/image_02122025_14_51_35_10771.jpg', '/home/pi/Desktop/images/02122025/14/51/image_02122025_14_51_45_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/50/image_02122025_14_50_55_10660.jpg
/home/pi/Desktop/images/02122025/14/50/image_02122025_14_51_05_9823.jpg
/home/pi/Desktop/images/02122025/14/51/image_02122025_14_51_15_9751.jpg
/home/pi/Desktop/images/02122025/14/51/image_02122025_14_51_24_9602.jpg
/home/pi/Desktop/images/02122025/14/51/image_02122025_14_51_35_10771.jpg
/home/pi/Desktop/images/02122025/14/51/image_02122025_14_51_45_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034085","1398034079","1398034084","1398034069","1398034077","1398034071"],"photo_ids_order":["1398034069","1398034071","1398034077","1398034079","1398034084","1398034085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f23f1a3660f5df100958188465d9d72.jpg","text":"TemporaryFile(/tmp/multipartBody4690314317941754523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912815000,"filename":"image_02122025_14_51_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dacb7d910639400158849e9bc7ed4bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4618453319970990202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912815000,"filename":"image_02122025_14_51_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/5/fe520ff267b740bab1b9e7e3b1559300.jpg","text":"TemporaryFile(/tmp/multipartBody15408285265586155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912815000,"filename":"image_02122025_14_51_35_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/5/2936f4fe9a9df54625a87928234de989.jpg","text":"TemporaryFile(/tmp/multipartBody6637984979834059940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912815000,"filename":"image_02122025_14_50_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/5/a191a0ee6f3fc0b1921b0e1ee93d7e49.jpg","text":"TemporaryFile(/tmp/multipartBody3769004458470307393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912815000,"filename":"image_02122025_14_51_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/5/7b2bed18436fa2818450f70930505f0f.jpg","text":"TemporaryFile(/tmp/multipartBody5404248092319345688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912815000,"filename":"image_02122025_14_51_05_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034077","file1":"1398034071","file0":"1398034069","file4":"1398034084","file5":"1398034085","file3":"1398034079"},"map_files_photo_id_array":[{"photo_id":"1398034085","filename":"file5"},{"photo_id":"1398034077","filename":"file2"},{"photo_id":"1398034084","filename":"file4"},{"photo_id":"1398034071","filename":"file1"},{"photo_id":"1398034069","filename":"file0"},{"photo_id":"1398034079","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034085":["hashtag1","hashtag2"]},{"1398034079":["hashtag1","hashtag2"]},{"1398034084":["hashtag1","hashtag2"]},{"1398034069":["hashtag1","hashtag2"]},{"1398034077":["hashtag1","hashtag2"]},{"1398034071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034085, 1398034079, 1398034084, 1398034069, 1398034077, 1398034071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.624255418777466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:33:22.041161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/26/image_05122025_06_26_54_10624.jpg', '/home/pi/Desktop/images/05122025/06/31/image_05122025_06_31_24_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/26/image_05122025_06_26_54_10624.jpg
/home/pi/Desktop/images/05122025/06/31/image_05122025_06_31_24_9732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034090","1398034092"],"photo_ids_order":["1398034090","1398034092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ae0003b4a47f48bf156b23fef7db523.jpg","text":"TemporaryFile(/tmp/multipartBody1063769854038022426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912862582,"filename":"image_05122025_06_26_54_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/5/b4b58516d8a03dac2f167c607df7443e.jpg","text":"TemporaryFile(/tmp/multipartBody94786506676571825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912862582,"filename":"image_05122025_06_31_24_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398034092","file0":"1398034090"},"map_files_photo_id_array":[{"photo_id":"1398034092","filename":"file1"},{"photo_id":"1398034090","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398034090":["hashtag1","hashtag2"]},{"1398034092":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398034090, 1398034092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.154335737228394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:33:42.111293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_45_1705.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_51_3510.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_54_2593.jpg', '/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_57_3516.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_03_1636.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_12_8903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_45_1705.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_51_3510.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_54_2593.jpg
/home/pi/Desktop/images/31102025/18/46/image_31102025_18_46_57_3516.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_03_1636.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_12_8903.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034101","1398034104","1398034103","1398034102","1398034105","1398034098"],"photo_ids_order":["1398034098","1398034101","1398034102","1398034103","1398034104","1398034105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c3269b3e75539c935a94877df60bebb.jpg","text":"TemporaryFile(/tmp/multipartBody631045486604257379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912883748,"filename":"image_31102025_18_46_51_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e26a7eaf1eff4f55ab200bef92bc5390.jpg","text":"TemporaryFile(/tmp/multipartBody7788939125371455546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912883748,"filename":"image_31102025_18_47_03_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/5/5dcc7c9ea154a1747905307498beb89c.jpg","text":"TemporaryFile(/tmp/multipartBody1583751152687321318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912883748,"filename":"image_31102025_18_46_57_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/5/4a2cfeba43cd0e2ca80267f9eab32d60.jpg","text":"TemporaryFile(/tmp/multipartBody2934556251910553653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912883748,"filename":"image_31102025_18_46_54_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/5/9852304f053228094cad24da20435df7.jpg","text":"TemporaryFile(/tmp/multipartBody7117822189444289628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912883748,"filename":"image_31102025_18_47_12_8903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0e3e5415dcd3d1c7c57aa14f44830f98.jpg","text":"TemporaryFile(/tmp/multipartBody4460929619819179229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912883748,"filename":"image_31102025_18_46_45_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034102","file1":"1398034101","file0":"1398034098","file4":"1398034104","file5":"1398034105","file3":"1398034103"},"map_files_photo_id_array":[{"photo_id":"1398034105","filename":"file5"},{"photo_id":"1398034102","filename":"file2"},{"photo_id":"1398034104","filename":"file4"},{"photo_id":"1398034101","filename":"file1"},{"photo_id":"1398034098","filename":"file0"},{"photo_id":"1398034103","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034101":["hashtag1","hashtag2"]},{"1398034104":["hashtag1","hashtag2"]},{"1398034103":["hashtag1","hashtag2"]},{"1398034102":["hashtag1","hashtag2"]},{"1398034105":["hashtag1","hashtag2"]},{"1398034098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034101, 1398034104, 1398034103, 1398034102, 1398034105, 1398034098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.165459632873535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:34:22.258940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_14_1703.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_21_7714.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_25_1624.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_26_1643.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_28_1710.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_30_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_14_1703.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_21_7714.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_25_1624.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_26_1643.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_28_1710.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_30_1631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034116","1398034121","1398034118","1398034132","1398034114","1398034111"],"photo_ids_order":["1398034111","1398034114","1398034116","1398034118","1398034121","1398034132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4b983d6783c343c3e5931570889a5b8.jpg","text":"TemporaryFile(/tmp/multipartBody2803636462205565062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912923861,"filename":"image_31102025_18_47_25_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/5/6a5757da08cb75ba32c6d39a05a329cb.jpg","text":"TemporaryFile(/tmp/multipartBody111905543490235796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912923861,"filename":"image_31102025_18_47_28_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/5/21c44e06dd412fec65923cb7f25d0de6.jpg","text":"TemporaryFile(/tmp/multipartBody2119667694973954612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912923861,"filename":"image_31102025_18_47_26_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/5/c7799e80666cc371c184c7b9c1b7bfae.jpg","text":"TemporaryFile(/tmp/multipartBody1858165635139927857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912923861,"filename":"image_31102025_18_47_30_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/5/1580f1e5000ba469164f8f69d3b6b023.jpg","text":"TemporaryFile(/tmp/multipartBody785063454439171445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912923861,"filename":"image_31102025_18_47_21_7714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f3fb0a8d1b08af0c170c6a0090bc87a.jpg","text":"TemporaryFile(/tmp/multipartBody6628556324815842921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912923861,"filename":"image_31102025_18_47_14_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034116","file1":"1398034114","file0":"1398034111","file4":"1398034121","file5":"1398034132","file3":"1398034118"},"map_files_photo_id_array":[{"photo_id":"1398034132","filename":"file5"},{"photo_id":"1398034116","filename":"file2"},{"photo_id":"1398034121","filename":"file4"},{"photo_id":"1398034114","filename":"file1"},{"photo_id":"1398034111","filename":"file0"},{"photo_id":"1398034118","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034116":["hashtag1","hashtag2"]},{"1398034121":["hashtag1","hashtag2"]},{"1398034118":["hashtag1","hashtag2"]},{"1398034132":["hashtag1","hashtag2"]},{"1398034114":["hashtag1","hashtag2"]},{"1398034111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034116, 1398034121, 1398034118, 1398034132, 1398034114, 1398034111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61730241775513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:35:03.202603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/51/image_02122025_14_51_54_9779.jpg', '/home/pi/Desktop/images/02122025/14/51/image_02122025_14_52_04_9684.jpg', '/home/pi/Desktop/images/02122025/14/52/image_02122025_14_52_15_10824.jpg', '/home/pi/Desktop/images/02122025/14/52/image_02122025_14_52_25_9733.jpg', '/home/pi/Desktop/images/02122025/14/52/image_02122025_14_52_34_9664.jpg', '/home/pi/Desktop/images/02122025/14/52/image_02122025_14_52_44_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/51/image_02122025_14_51_54_9779.jpg
/home/pi/Desktop/images/02122025/14/51/image_02122025_14_52_04_9684.jpg
/home/pi/Desktop/images/02122025/14/52/image_02122025_14_52_15_10824.jpg
/home/pi/Desktop/images/02122025/14/52/image_02122025_14_52_25_9733.jpg
/home/pi/Desktop/images/02122025/14/52/image_02122025_14_52_34_9664.jpg
/home/pi/Desktop/images/02122025/14/52/image_02122025_14_52_44_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034154","1398034159","1398034147","1398034156","1398034161","1398034152"],"photo_ids_order":["1398034147","1398034152","1398034154","1398034156","1398034159","1398034161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0d8a2f023ed8b77ae6424474224b9481.jpg","text":"TemporaryFile(/tmp/multipartBody5367946341485067325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912964721,"filename":"image_02122025_14_52_15_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/5/6665f8e74047728f6141b01979fcdabf.jpg","text":"TemporaryFile(/tmp/multipartBody3843597331334850237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912964721,"filename":"image_02122025_14_52_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9dbb8ade0f93a0d52809faeec9143505.jpg","text":"TemporaryFile(/tmp/multipartBody60845133507137961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912964721,"filename":"image_02122025_14_51_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/5/c1ae3e03f0e8efc0568ba543ca872b12.jpg","text":"TemporaryFile(/tmp/multipartBody5625835808068490040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912964721,"filename":"image_02122025_14_52_25_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c8e9815a6bc1b3cdeb52d1f6103691f7.jpg","text":"TemporaryFile(/tmp/multipartBody3884898896329358590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912964721,"filename":"image_02122025_14_52_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/5/adcac27cee30664b619ea0870c7a1759.jpg","text":"TemporaryFile(/tmp/multipartBody8850303584947046645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764912964721,"filename":"image_02122025_14_52_04_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034154","file1":"1398034152","file0":"1398034147","file4":"1398034159","file5":"1398034161","file3":"1398034156"},"map_files_photo_id_array":[{"photo_id":"1398034161","filename":"file5"},{"photo_id":"1398034154","filename":"file2"},{"photo_id":"1398034159","filename":"file4"},{"photo_id":"1398034152","filename":"file1"},{"photo_id":"1398034147","filename":"file0"},{"photo_id":"1398034156","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034154":["hashtag1","hashtag2"]},{"1398034159":["hashtag1","hashtag2"]},{"1398034147":["hashtag1","hashtag2"]},{"1398034156":["hashtag1","hashtag2"]},{"1398034161":["hashtag1","hashtag2"]},{"1398034152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034154, 1398034159, 1398034147, 1398034156, 1398034161, 1398034152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96483540534973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:35:42.440486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_31_1797.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_33_1651.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_38_2681.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_42_3598.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_45_2706.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_47_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_31_1797.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_33_1651.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_38_2681.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_42_3598.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_45_2706.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_47_2835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034166","1398034169","1398034178","1398034177","1398034173","1398034179"],"photo_ids_order":["1398034166","1398034169","1398034173","1398034177","1398034178","1398034179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/14030a6162dacc97787b6b150070521c.jpg","text":"TemporaryFile(/tmp/multipartBody1298233517344836629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913004035,"filename":"image_31102025_18_47_31_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/5/fc52358950ff999df26ed59ebb7c22af.jpg","text":"TemporaryFile(/tmp/multipartBody1325143863015909792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913004035,"filename":"image_31102025_18_47_33_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/5/ae405d808d4515aa90450f7b975ef15d.jpg","text":"TemporaryFile(/tmp/multipartBody4627367139637152369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913004035,"filename":"image_31102025_18_47_45_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/5/0d510fa70dd89c01ab1d7d52f56952f6.jpg","text":"TemporaryFile(/tmp/multipartBody2044200125677628119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913004035,"filename":"image_31102025_18_47_42_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/5/423ec7a6e0281d48b79fadefd54dd4cb.jpg","text":"TemporaryFile(/tmp/multipartBody9105161407302122812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913004035,"filename":"image_31102025_18_47_38_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/5/1c369e1e986e523985af7f43dbc0dd89.jpg","text":"TemporaryFile(/tmp/multipartBody5083116579209751075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913004035,"filename":"image_31102025_18_47_47_2835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034173","file1":"1398034169","file0":"1398034166","file4":"1398034178","file5":"1398034179","file3":"1398034177"},"map_files_photo_id_array":[{"photo_id":"1398034179","filename":"file5"},{"photo_id":"1398034173","filename":"file2"},{"photo_id":"1398034178","filename":"file4"},{"photo_id":"1398034169","filename":"file1"},{"photo_id":"1398034166","filename":"file0"},{"photo_id":"1398034177","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034166":["hashtag1","hashtag2"]},{"1398034169":["hashtag1","hashtag2"]},{"1398034178":["hashtag1","hashtag2"]},{"1398034177":["hashtag1","hashtag2"]},{"1398034173":["hashtag1","hashtag2"]},{"1398034179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034166, 1398034169, 1398034178, 1398034177, 1398034173, 1398034179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57496666908264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:36:22.614120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/31/image_05122025_06_31_44_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/31/image_05122025_06_31_44_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034185"],"photo_id":"1398034185","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/38d00035dc6d217a16f352b70fa91bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3241588563374312833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913043124,"filename":"image_05122025_06_31_44_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398034185"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398034185"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.739638090133667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:36:42.623111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_51_3627.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_55_4302.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_57_1554.jpg', '/home/pi/Desktop/images/31102025/18/47/image_31102025_18_48_00_2620.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_06_2988.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_09_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_51_3627.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_55_4302.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_47_57_1554.jpg
/home/pi/Desktop/images/31102025/18/47/image_31102025_18_48_00_2620.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_06_2988.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_09_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":["1398034199","1398034203","1398034202","1398034205","1398034195","1398034197"],"photo_ids_order":["1398034195","1398034197","1398034199","1398034202","1398034203","1398034205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9051755227a599987b335518c6e40237.jpg","text":"TemporaryFile(/tmp/multipartBody3773923034979777407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913064214,"filename":"image_31102025_18_47_57_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/5/43fe468b8adae35ac2c41e2aa0067e13.jpg","text":"TemporaryFile(/tmp/multipartBody7796025692442142701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913064214,"filename":"image_31102025_18_48_06_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/5/7f838ec896e8ed944368aa149bd59168.jpg","text":"TemporaryFile(/tmp/multipartBody1368161773842981304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913064214,"filename":"image_31102025_18_48_00_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/5/375f38cb8f1dff7cd6bf8a12d55ea42a.jpg","text":"TemporaryFile(/tmp/multipartBody4805772755018767620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913064214,"filename":"image_31102025_18_48_09_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/5/449fd1f3e077eef1d9e4dd9105772235.jpg","text":"TemporaryFile(/tmp/multipartBody4202333147470548748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913064214,"filename":"image_31102025_18_47_51_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/214f97ebb00913b4fb01d722d9516af8.jpg","text":"TemporaryFile(/tmp/multipartBody8698651737870601799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913064214,"filename":"image_31102025_18_47_55_4302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034199","file1":"1398034197","file0":"1398034195","file4":"1398034203","file5":"1398034205","file3":"1398034202"},"map_files_photo_id_array":[{"photo_id":"1398034205","filename":"file5"},{"photo_id":"1398034199","filename":"file2"},{"photo_id":"1398034203","filename":"file4"},{"photo_id":"1398034197","filename":"file1"},{"photo_id":"1398034195","filename":"file0"},{"photo_id":"1398034202","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034199":["hashtag1","hashtag2"]},{"1398034203":["hashtag1","hashtag2"]},{"1398034202":["hashtag1","hashtag2"]},{"1398034205":["hashtag1","hashtag2"]},{"1398034195":["hashtag1","hashtag2"]},{"1398034197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034199, 1398034203, 1398034202, 1398034205, 1398034195, 1398034197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59365177154541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:37:22.802448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/36/image_05122025_06_36_44_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/36/image_05122025_06_36_44_9577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034210"],"photo_id":"1398034210","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7346c1086e9104158f3b7f2d6533ed47.jpg","text":"TemporaryFile(/tmp/multipartBody7001006633467089267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913103307,"filename":"image_05122025_06_36_44_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398034210"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398034210"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.302335739135742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:37:42.864542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_11_2572.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_14_2846.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_18_3638.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_25_7322.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_27_1528.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_33_3270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_11_2572.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_14_2846.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_18_3638.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_25_7322.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_27_1528.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_33_3270.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034221","1398034220","1398034222","1398034216","1398034219","1398034224"],"photo_ids_order":["1398034216","1398034219","1398034220","1398034221","1398034222","1398034224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/354f7504ef55686c372fc2120208b3c3.jpg","text":"TemporaryFile(/tmp/multipartBody1610066693327395334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913124514,"filename":"image_31102025_18_48_25_7322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/57242f2ca212028c9ecbea9f0b3bf169.jpg","text":"TemporaryFile(/tmp/multipartBody4035671562131528697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913124514,"filename":"image_31102025_18_48_18_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/489935ea1c3d53139293cab1ac84408e.jpg","text":"TemporaryFile(/tmp/multipartBody2512377883469150429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913124514,"filename":"image_31102025_18_48_27_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/5/eaf11f700326fa9d9a8fa0dfe4298991.jpg","text":"TemporaryFile(/tmp/multipartBody1414103312369237382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913124514,"filename":"image_31102025_18_48_11_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2faeab6ca473f6da18bed2faa1881b63.jpg","text":"TemporaryFile(/tmp/multipartBody5697089126015360533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913124514,"filename":"image_31102025_18_48_14_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e33b10f30291021cd998dc150efa83bf.jpg","text":"TemporaryFile(/tmp/multipartBody8065440927180017276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913124514,"filename":"image_31102025_18_48_33_3270.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034220","file1":"1398034219","file0":"1398034216","file4":"1398034222","file5":"1398034224","file3":"1398034221"},"map_files_photo_id_array":[{"photo_id":"1398034224","filename":"file5"},{"photo_id":"1398034220","filename":"file2"},{"photo_id":"1398034222","filename":"file4"},{"photo_id":"1398034219","filename":"file1"},{"photo_id":"1398034216","filename":"file0"},{"photo_id":"1398034221","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034221":["hashtag1","hashtag2"]},{"1398034220":["hashtag1","hashtag2"]},{"1398034222":["hashtag1","hashtag2"]},{"1398034216":["hashtag1","hashtag2"]},{"1398034219":["hashtag1","hashtag2"]},{"1398034224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034221, 1398034220, 1398034222, 1398034216, 1398034219, 1398034224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75185942649841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:38:32.066575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/52/image_02122025_14_52_55_10800.jpg', '/home/pi/Desktop/images/02122025/14/52/image_02122025_14_53_04_9293.jpg', '/home/pi/Desktop/images/02122025/14/53/image_02122025_14_53_15_10697.jpg', '/home/pi/Desktop/images/02122025/14/53/image_02122025_14_53_25_9777.jpg', '/home/pi/Desktop/images/02122025/14/53/image_02122025_14_53_34_9629.jpg', '/home/pi/Desktop/images/02122025/14/53/image_02122025_14_53_44_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/52/image_02122025_14_52_55_10800.jpg
/home/pi/Desktop/images/02122025/14/52/image_02122025_14_53_04_9293.jpg
/home/pi/Desktop/images/02122025/14/53/image_02122025_14_53_15_10697.jpg
/home/pi/Desktop/images/02122025/14/53/image_02122025_14_53_25_9777.jpg
/home/pi/Desktop/images/02122025/14/53/image_02122025_14_53_34_9629.jpg
/home/pi/Desktop/images/02122025/14/53/image_02122025_14_53_44_9841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034241","1398034232","1398034243","1398034242","1398034236","1398034239"],"photo_ids_order":["1398034232","1398034236","1398034239","1398034241","1398034242","1398034243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/960f196fb7ad01335bdd58b69f5e7413.jpg","text":"TemporaryFile(/tmp/multipartBody5904621563377139990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913174195,"filename":"image_02122025_14_53_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/5/f954b907ebf5f7750d8f10fafeebef17.jpg","text":"TemporaryFile(/tmp/multipartBody1705263882440043940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913174195,"filename":"image_02122025_14_52_55_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/5/df8700e2e62c513d835efb0025f4e190.jpg","text":"TemporaryFile(/tmp/multipartBody6972065040842756618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913174195,"filename":"image_02122025_14_53_44_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d28eee95e660cd9dabfc4389cfa4215a.jpg","text":"TemporaryFile(/tmp/multipartBody2026521360668768066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913174195,"filename":"image_02122025_14_53_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/5/71ccf44db6b0f572fcabe8c75be6147b.jpg","text":"TemporaryFile(/tmp/multipartBody1008237117938246795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913174195,"filename":"image_02122025_14_53_04_9293.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6bd86c1e5ec14e6b304a1a3b96f09bac.jpg","text":"TemporaryFile(/tmp/multipartBody6298303328000460687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913174195,"filename":"image_02122025_14_53_15_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034239","file1":"1398034236","file0":"1398034232","file4":"1398034242","file5":"1398034243","file3":"1398034241"},"map_files_photo_id_array":[{"photo_id":"1398034243","filename":"file5"},{"photo_id":"1398034239","filename":"file2"},{"photo_id":"1398034242","filename":"file4"},{"photo_id":"1398034236","filename":"file1"},{"photo_id":"1398034232","filename":"file0"},{"photo_id":"1398034241","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034241":["hashtag1","hashtag2"]},{"1398034232":["hashtag1","hashtag2"]},{"1398034243":["hashtag1","hashtag2"]},{"1398034242":["hashtag1","hashtag2"]},{"1398034236":["hashtag1","hashtag2"]},{"1398034239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034241, 1398034232, 1398034243, 1398034242, 1398034236, 1398034239)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.34163498878479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:39:22.206612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/37/image_05122025_06_37_13_10030.jpg', '/home/pi/Desktop/images/05122025/06/39/image_05122025_06_39_24_9821.jpg', '/home/pi/Desktop/images/05122025/06/39/image_05122025_06_39_34_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/37/image_05122025_06_37_13_10030.jpg
/home/pi/Desktop/images/05122025/06/39/image_05122025_06_39_24_9821.jpg
/home/pi/Desktop/images/05122025/06/39/image_05122025_06_39_34_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":["1398034261","1398034258","1398034255"],"photo_ids_order":["1398034255","1398034258","1398034261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e0cdcec1ea069dbd08e5c6353074c5a6.jpg","text":"TemporaryFile(/tmp/multipartBody7735880702013022748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913222777,"filename":"image_05122025_06_39_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/5/f85cdaa44cbb2b17821858d8f3a97c38.jpg","text":"TemporaryFile(/tmp/multipartBody7043461343499576346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913222777,"filename":"image_05122025_06_39_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/5/8b71c63885fe178146c4bfa263c2bb55.jpg","text":"TemporaryFile(/tmp/multipartBody1881270082988734995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913222777,"filename":"image_05122025_06_37_13_10030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034261","file1":"1398034258","file0":"1398034255"},"map_files_photo_id_array":[{"photo_id":"1398034261","filename":"file2"},{"photo_id":"1398034258","filename":"file1"},{"photo_id":"1398034255","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398034261":["hashtag1","hashtag2"]},{"1398034258":["hashtag1","hashtag2"]},{"1398034255":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398034261, 1398034258, 1398034255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.141018629074097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:40:02.824573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/53/image_02122025_14_53_55_10726.jpg', '/home/pi/Desktop/images/02122025/14/53/image_02122025_14_54_05_9668.jpg', '/home/pi/Desktop/images/02122025/14/54/image_02122025_14_54_14_9695.jpg', '/home/pi/Desktop/images/02122025/14/54/image_02122025_14_54_25_10702.jpg', '/home/pi/Desktop/images/02122025/14/54/image_02122025_14_54_35_9622.jpg', '/home/pi/Desktop/images/02122025/14/54/image_02122025_14_54_44_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/53/image_02122025_14_53_55_10726.jpg
/home/pi/Desktop/images/02122025/14/53/image_02122025_14_54_05_9668.jpg
/home/pi/Desktop/images/02122025/14/54/image_02122025_14_54_14_9695.jpg
/home/pi/Desktop/images/02122025/14/54/image_02122025_14_54_25_10702.jpg
/home/pi/Desktop/images/02122025/14/54/image_02122025_14_54_35_9622.jpg
/home/pi/Desktop/images/02122025/14/54/image_02122025_14_54_44_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034274","1398034276","1398034279","1398034281","1398034284","1398034278"],"photo_ids_order":["1398034274","1398034276","1398034278","1398034279","1398034281","1398034284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c74f6a48de5440c27ed601660ba9b343.jpg","text":"TemporaryFile(/tmp/multipartBody2676457014047924511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913264545,"filename":"image_02122025_14_53_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/5/fb6481d163a0440bcb696883371619c5.jpg","text":"TemporaryFile(/tmp/multipartBody6150614718134370707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913264545,"filename":"image_02122025_14_54_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/5/fdbd8ba2b1ad0cfe3fd3046307562c17.jpg","text":"TemporaryFile(/tmp/multipartBody871882210269019320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913264545,"filename":"image_02122025_14_54_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/5/3c41a21dd2cce74be0e23e7bdbbee35f.jpg","text":"TemporaryFile(/tmp/multipartBody1372985433943462822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913264545,"filename":"image_02122025_14_54_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/5/fc14d13d679e57469c84c7de59561ab8.jpg","text":"TemporaryFile(/tmp/multipartBody4549135281433931833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913264545,"filename":"image_02122025_14_54_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/5/3033ba88b0d9a52fdd19fe46f2ef6183.jpg","text":"TemporaryFile(/tmp/multipartBody7018182351951537361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913264545,"filename":"image_02122025_14_54_14_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034278","file1":"1398034276","file0":"1398034274","file4":"1398034281","file5":"1398034284","file3":"1398034279"},"map_files_photo_id_array":[{"photo_id":"1398034284","filename":"file5"},{"photo_id":"1398034278","filename":"file2"},{"photo_id":"1398034281","filename":"file4"},{"photo_id":"1398034276","filename":"file1"},{"photo_id":"1398034274","filename":"file0"},{"photo_id":"1398034279","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034274":["hashtag1","hashtag2"]},{"1398034276":["hashtag1","hashtag2"]},{"1398034279":["hashtag1","hashtag2"]},{"1398034281":["hashtag1","hashtag2"]},{"1398034284":["hashtag1","hashtag2"]},{"1398034278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034274, 1398034276, 1398034279, 1398034281, 1398034284, 1398034278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8401734828949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:40:42.458898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_36_2587.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_39_2612.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_42_3566.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_50_2776.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_53_2844.jpg', '/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_57_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_36_2587.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_39_2612.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_42_3566.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_50_2776.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_53_2844.jpg
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_57_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":["1398034302","1398034301","1398034304","1398034306","1398034303","1398034293"],"photo_ids_order":["1398034293","1398034301","1398034302","1398034303","1398034304","1398034306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e66af9f944fd5f40bf1af1f008adddb.jpg","text":"TemporaryFile(/tmp/multipartBody1640423309175734284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913304138,"filename":"image_31102025_18_48_42_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/160e61209041f0c77f60a10165d17e00.jpg","text":"TemporaryFile(/tmp/multipartBody53662659351452473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913304138,"filename":"image_31102025_18_48_39_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/5/11c7cc288547eee9041722cc7b6e4dd5.jpg","text":"TemporaryFile(/tmp/multipartBody1414002064914219917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913304138,"filename":"image_31102025_18_48_53_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/5/35aed8f606753e310f7bd66ff077ccd7.jpg","text":"TemporaryFile(/tmp/multipartBody8694396623663616621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913304138,"filename":"image_31102025_18_48_57_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/5/e12ce8bfc9dffe324674f619b2085c51.jpg","text":"TemporaryFile(/tmp/multipartBody4239439935097737256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913304138,"filename":"image_31102025_18_48_50_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/5/608c40ae9da13f166de9d17b391728af.jpg","text":"TemporaryFile(/tmp/multipartBody8081263401087152564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913304138,"filename":"image_31102025_18_48_36_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034302","file1":"1398034301","file0":"1398034293","file4":"1398034304","file5":"1398034306","file3":"1398034303"},"map_files_photo_id_array":[{"photo_id":"1398034306","filename":"file5"},{"photo_id":"1398034302","filename":"file2"},{"photo_id":"1398034304","filename":"file4"},{"photo_id":"1398034301","filename":"file1"},{"photo_id":"1398034293","filename":"file0"},{"photo_id":"1398034303","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034302":["hashtag1","hashtag2"]},{"1398034301":["hashtag1","hashtag2"]},{"1398034304":["hashtag1","hashtag2"]},{"1398034306":["hashtag1","hashtag2"]},{"1398034303":["hashtag1","hashtag2"]},{"1398034293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034302, 1398034301, 1398034304, 1398034306, 1398034303, 1398034293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80585289001465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:41:22.573478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_59_2564.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_03_3524.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_06_2605.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_09_3544.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_12_2733.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_14_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/48/image_31102025_18_48_59_2564.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_03_3524.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_06_2605.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_09_3544.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_12_2733.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_14_2535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034320","1398034322","1398034316","1398034312","1398034315","1398034318"],"photo_ids_order":["1398034312","1398034315","1398034316","1398034318","1398034320","1398034322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c9b065e61d11715a9cbe1d16a7ec4d7.jpg","text":"TemporaryFile(/tmp/multipartBody7952717989297400071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913344239,"filename":"image_31102025_18_49_12_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/5/bc66165fffaf2355e114f36180353648.jpg","text":"TemporaryFile(/tmp/multipartBody5444113467364475637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913344239,"filename":"image_31102025_18_49_14_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/5/0cc51b521fc521ade8a3d67202a42245.jpg","text":"TemporaryFile(/tmp/multipartBody3115076178507366087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913344239,"filename":"image_31102025_18_49_06_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d5ed456c2189667202ff8ba42657eb0f.jpg","text":"TemporaryFile(/tmp/multipartBody1025760514721401149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913344239,"filename":"image_31102025_18_48_59_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d3b5e87439942e1ca5f2ae1cd647544e.jpg","text":"TemporaryFile(/tmp/multipartBody6638953861474816355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913344239,"filename":"image_31102025_18_49_03_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8772704b5af23d67352b7df618c66544.jpg","text":"TemporaryFile(/tmp/multipartBody1059981984636991756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913344239,"filename":"image_31102025_18_49_09_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034316","file1":"1398034315","file0":"1398034312","file4":"1398034320","file5":"1398034322","file3":"1398034318"},"map_files_photo_id_array":[{"photo_id":"1398034322","filename":"file5"},{"photo_id":"1398034316","filename":"file2"},{"photo_id":"1398034320","filename":"file4"},{"photo_id":"1398034315","filename":"file1"},{"photo_id":"1398034312","filename":"file0"},{"photo_id":"1398034318","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034320":["hashtag1","hashtag2"]},{"1398034322":["hashtag1","hashtag2"]},{"1398034316":["hashtag1","hashtag2"]},{"1398034312":["hashtag1","hashtag2"]},{"1398034315":["hashtag1","hashtag2"]},{"1398034318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034320, 1398034322, 1398034316, 1398034312, 1398034315, 1398034318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4113552570343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:42:03.221766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/54/image_02122025_14_54_55_10613.jpg', '/home/pi/Desktop/images/02122025/14/55/image_02122025_14_55_14_9805.jpg', '/home/pi/Desktop/images/02122025/14/55/image_02122025_14_55_24_9733.jpg', '/home/pi/Desktop/images/02122025/14/55/image_02122025_14_55_45_9819.jpg', '/home/pi/Desktop/images/02122025/14/55/image_02122025_14_55_54_9750.jpg', '/home/pi/Desktop/images/02122025/14/55/image_02122025_14_56_04_9902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/54/image_02122025_14_54_55_10613.jpg
/home/pi/Desktop/images/02122025/14/55/image_02122025_14_55_14_9805.jpg
/home/pi/Desktop/images/02122025/14/55/image_02122025_14_55_24_9733.jpg
/home/pi/Desktop/images/02122025/14/55/image_02122025_14_55_45_9819.jpg
/home/pi/Desktop/images/02122025/14/55/image_02122025_14_55_54_9750.jpg
/home/pi/Desktop/images/02122025/14/55/image_02122025_14_56_04_9902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034328","1398034330","1398034335","1398034338","1398034332","1398034326"],"photo_ids_order":["1398034326","1398034328","1398034330","1398034332","1398034335","1398034338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8fcb65a72766350ab42bf9121c82c56a.jpg","text":"TemporaryFile(/tmp/multipartBody3965815542502962583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913384941,"filename":"image_02122025_14_55_14_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/5/570e7b7e0c93340e3712943ab268686f.jpg","text":"TemporaryFile(/tmp/multipartBody539605648889317543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913384941,"filename":"image_02122025_14_55_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/5/e22f284596cd0a909e0e544bbad9a19f.jpg","text":"TemporaryFile(/tmp/multipartBody3470111793962524488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913384941,"filename":"image_02122025_14_55_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/5/8e453f3d14239678dad9481536e5b105.jpg","text":"TemporaryFile(/tmp/multipartBody4713700255441734506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913384941,"filename":"image_02122025_14_56_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/5/2bef16299d82a098fdd457b7c66da50a.jpg","text":"TemporaryFile(/tmp/multipartBody1721467023024741908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913384941,"filename":"image_02122025_14_55_45_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/5/29e87f847dac1b62bb396e7a2dcf1b85.jpg","text":"TemporaryFile(/tmp/multipartBody6464117378454796307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913384941,"filename":"image_02122025_14_54_55_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034330","file1":"1398034328","file0":"1398034326","file4":"1398034335","file5":"1398034338","file3":"1398034332"},"map_files_photo_id_array":[{"photo_id":"1398034338","filename":"file5"},{"photo_id":"1398034330","filename":"file2"},{"photo_id":"1398034335","filename":"file4"},{"photo_id":"1398034328","filename":"file1"},{"photo_id":"1398034326","filename":"file0"},{"photo_id":"1398034332","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034328":["hashtag1","hashtag2"]},{"1398034330":["hashtag1","hashtag2"]},{"1398034335":["hashtag1","hashtag2"]},{"1398034338":["hashtag1","hashtag2"]},{"1398034332":["hashtag1","hashtag2"]},{"1398034326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034328, 1398034330, 1398034335, 1398034338, 1398034332, 1398034326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.214839696884155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:42:42.803995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_17_2804.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_21_3649.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_26_2685.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_30_3708.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_32_2558.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_35_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_17_2804.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_21_3649.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_26_2685.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_30_3708.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_32_2558.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_35_2670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.554288625717163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:43:02.688747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/56/image_02122025_14_56_15_10609.jpg', '/home/pi/Desktop/images/02122025/14/56/image_02122025_14_56_25_9749.jpg', '/home/pi/Desktop/images/02122025/14/56/image_02122025_14_56_34_9638.jpg', '/home/pi/Desktop/images/02122025/14/56/image_02122025_14_56_45_10716.jpg', '/home/pi/Desktop/images/02122025/14/56/image_02122025_14_56_55_9580.jpg', '/home/pi/Desktop/images/02122025/14/56/image_02122025_14_57_05_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/56/image_02122025_14_56_15_10609.jpg
/home/pi/Desktop/images/02122025/14/56/image_02122025_14_56_25_9749.jpg
/home/pi/Desktop/images/02122025/14/56/image_02122025_14_56_34_9638.jpg
/home/pi/Desktop/images/02122025/14/56/image_02122025_14_56_45_10716.jpg
/home/pi/Desktop/images/02122025/14/56/image_02122025_14_56_55_9580.jpg
/home/pi/Desktop/images/02122025/14/56/image_02122025_14_57_05_9955.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":["1398034364","1398034361","1398034363","1398034366","1398034368","1398034359"],"photo_ids_order":["1398034359","1398034361","1398034363","1398034364","1398034366","1398034368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a3ffd861459ca36c423be05662a640f7.jpg","text":"TemporaryFile(/tmp/multipartBody5788632057270076035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913444407,"filename":"image_02122025_14_56_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/5/b540909050e68b6c76bcac498fc23a9a.jpg","text":"TemporaryFile(/tmp/multipartBody5269560316760507248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913444407,"filename":"image_02122025_14_56_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/5/8b003a1154387961feaa0391356d373e.jpg","text":"TemporaryFile(/tmp/multipartBody1142727937355962986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913444407,"filename":"image_02122025_14_56_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/5/f57b506d1fb7260b027fa2341336f2cb.jpg","text":"TemporaryFile(/tmp/multipartBody6346962814433341471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913444407,"filename":"image_02122025_14_56_55_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/5/12d6304d705aacb27b9ab62ffdb3a93a.jpg","text":"TemporaryFile(/tmp/multipartBody8787886002796347946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913444407,"filename":"image_02122025_14_57_05_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/5/62d5cdc23dc63d4d9ee8ec6e2aac0f25.jpg","text":"TemporaryFile(/tmp/multipartBody3910776486320300596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913444407,"filename":"image_02122025_14_56_15_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034363","file1":"1398034361","file0":"1398034359","file4":"1398034366","file5":"1398034368","file3":"1398034364"},"map_files_photo_id_array":[{"photo_id":"1398034368","filename":"file5"},{"photo_id":"1398034363","filename":"file2"},{"photo_id":"1398034366","filename":"file4"},{"photo_id":"1398034361","filename":"file1"},{"photo_id":"1398034359","filename":"file0"},{"photo_id":"1398034364","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034364":["hashtag1","hashtag2"]},{"1398034361":["hashtag1","hashtag2"]},{"1398034363":["hashtag1","hashtag2"]},{"1398034366":["hashtag1","hashtag2"]},{"1398034368":["hashtag1","hashtag2"]},{"1398034359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034364, 1398034361, 1398034363, 1398034366, 1398034368, 1398034359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82671117782593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:44:02.730992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_14_9595.jpg', '/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_25_10647.jpg', '/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_44_9857.jpg', '/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_54_9674.jpg', '/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_14_9552.jpg', '/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_35_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_14_9595.jpg
/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_25_10647.jpg
/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_44_9857.jpg
/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_54_9674.jpg
/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_14_9552.jpg
/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_35_10678.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5221903324127197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:44:12.160558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_14_9595.jpg', '/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_25_10647.jpg', '/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_44_9857.jpg', '/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_54_9674.jpg', '/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_14_9552.jpg', '/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_35_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_14_9595.jpg
/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_25_10647.jpg
/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_44_9857.jpg
/home/pi/Desktop/images/02122025/14/57/image_02122025_14_57_54_9674.jpg
/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_14_9552.jpg
/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_35_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034382","1398034391","1398034385","1398034379","1398034393","1398034389"],"photo_ids_order":["1398034379","1398034382","1398034385","1398034389","1398034391","1398034393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/85fcefe58435906ef06849eef52cd3ee.jpg","text":"TemporaryFile(/tmp/multipartBody2228057589163234114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913514168,"filename":"image_02122025_14_57_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/5/d630c6283191be67cb11a6910702d74c.jpg","text":"TemporaryFile(/tmp/multipartBody2020634067880690739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913514168,"filename":"image_02122025_14_58_14_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fe0b1241d9449198103272bcab52fd3a.jpg","text":"TemporaryFile(/tmp/multipartBody4831060379726413856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913514168,"filename":"image_02122025_14_57_44_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a25ebabfe0487e08a067f74d919f8776.jpg","text":"TemporaryFile(/tmp/multipartBody696575461545237720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913514168,"filename":"image_02122025_14_57_14_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/5/3d389ab197e6f482097e0003b3d19942.jpg","text":"TemporaryFile(/tmp/multipartBody1805364902840847542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913514168,"filename":"image_02122025_14_58_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/5/f1327df098df00a10b4b6159e25d8179.jpg","text":"TemporaryFile(/tmp/multipartBody8744698520449352177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913514168,"filename":"image_02122025_14_57_54_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034385","file1":"1398034382","file0":"1398034379","file4":"1398034391","file5":"1398034393","file3":"1398034389"},"map_files_photo_id_array":[{"photo_id":"1398034393","filename":"file5"},{"photo_id":"1398034385","filename":"file2"},{"photo_id":"1398034391","filename":"file4"},{"photo_id":"1398034382","filename":"file1"},{"photo_id":"1398034379","filename":"file0"},{"photo_id":"1398034389","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034382":["hashtag1","hashtag2"]},{"1398034391":["hashtag1","hashtag2"]},{"1398034385":["hashtag1","hashtag2"]},{"1398034379":["hashtag1","hashtag2"]},{"1398034393":["hashtag1","hashtag2"]},{"1398034389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034382, 1398034391, 1398034385, 1398034379, 1398034393, 1398034389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69933867454529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:45:02.985650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/39/image_05122025_06_39_44_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/39/image_05122025_06_39_44_10777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034408"],"photo_id":"1398034408","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c4d2417db72d135863a3fe84162aa67.jpg","text":"TemporaryFile(/tmp/multipartBody5257128982871869453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913563516,"filename":"image_05122025_06_39_44_10777.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398034408"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398034408"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.679373502731323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:45:22.363739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/44/image_05122025_06_44_54_10733.jpg', '/home/pi/Desktop/images/05122025/06/45/image_05122025_06_45_14_9716.jpg', '/home/pi/Desktop/images/05122025/06/45/image_05122025_06_45_34_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/44/image_05122025_06_44_54_10733.jpg
/home/pi/Desktop/images/05122025/06/45/image_05122025_06_45_14_9716.jpg
/home/pi/Desktop/images/05122025/06/45/image_05122025_06_45_34_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":["1398034421","1398034423","1398034419"],"photo_ids_order":["1398034419","1398034421","1398034423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/14d5cbb29a8f70979adbdc3fb6b7bd6b.jpg","text":"TemporaryFile(/tmp/multipartBody4291875498864589482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913582946,"filename":"image_05122025_06_45_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/5/71bc733d1874ffb95b920e22962ee50f.jpg","text":"TemporaryFile(/tmp/multipartBody5799440464872952918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913582946,"filename":"image_05122025_06_45_34_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/5/b49a535b2f924cc8749e83a61af27fa3.jpg","text":"TemporaryFile(/tmp/multipartBody6952978300500727540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913582946,"filename":"image_05122025_06_44_54_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034423","file1":"1398034421","file0":"1398034419"},"map_files_photo_id_array":[{"photo_id":"1398034423","filename":"file2"},{"photo_id":"1398034421","filename":"file1"},{"photo_id":"1398034419","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398034421":["hashtag1","hashtag2"]},{"1398034423":["hashtag1","hashtag2"]},{"1398034419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398034421, 1398034423, 1398034419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.39215660095215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:46:02.907548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_44_9695.jpg', '/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_54_9579.jpg', '/home/pi/Desktop/images/02122025/14/58/image_02122025_14_59_05_10825.jpg', '/home/pi/Desktop/images/02122025/14/59/image_02122025_14_59_15_9657.jpg', '/home/pi/Desktop/images/02122025/14/59/image_02122025_14_59_24_9754.jpg', '/home/pi/Desktop/images/02122025/15/00/image_02122025_15_00_14_10048.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_44_9695.jpg
/home/pi/Desktop/images/02122025/14/58/image_02122025_14_58_54_9579.jpg
/home/pi/Desktop/images/02122025/14/58/image_02122025_14_59_05_10825.jpg
/home/pi/Desktop/images/02122025/14/59/image_02122025_14_59_15_9657.jpg
/home/pi/Desktop/images/02122025/14/59/image_02122025_14_59_24_9754.jpg
/home/pi/Desktop/images/02122025/15/00/image_02122025_15_00_14_10048.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034439","1398034436","1398034430","1398034432","1398034440","1398034434"],"photo_ids_order":["1398034430","1398034432","1398034434","1398034436","1398034439","1398034440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d294692ab80cd2b7141ef4be010c09e8.jpg","text":"TemporaryFile(/tmp/multipartBody3447943456332247502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913624780,"filename":"image_02122025_14_59_24_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/81583f67d723a3b22ba96d2d10de1c09.jpg","text":"TemporaryFile(/tmp/multipartBody7401239193032664945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913624780,"filename":"image_02122025_14_59_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/5/88f425727777cb80269d751090213538.jpg","text":"TemporaryFile(/tmp/multipartBody4712042881798841470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913624780,"filename":"image_02122025_14_58_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b56706cf565d0f6c766428710043457b.jpg","text":"TemporaryFile(/tmp/multipartBody8063304957479705736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913624780,"filename":"image_02122025_14_58_54_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/5/c45138f59d5c93c4da87fdc181471ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2273893369412370687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913624780,"filename":"image_02122025_15_00_14_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dfcfc2a09bb2b2c94fd26a62121f804a.jpg","text":"TemporaryFile(/tmp/multipartBody1831687865458936264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913624780,"filename":"image_02122025_14_59_05_10825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034434","file1":"1398034432","file0":"1398034430","file4":"1398034439","file5":"1398034440","file3":"1398034436"},"map_files_photo_id_array":[{"photo_id":"1398034440","filename":"file5"},{"photo_id":"1398034434","filename":"file2"},{"photo_id":"1398034439","filename":"file4"},{"photo_id":"1398034432","filename":"file1"},{"photo_id":"1398034430","filename":"file0"},{"photo_id":"1398034436","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034439":["hashtag1","hashtag2"]},{"1398034436":["hashtag1","hashtag2"]},{"1398034430":["hashtag1","hashtag2"]},{"1398034432":["hashtag1","hashtag2"]},{"1398034440":["hashtag1","hashtag2"]},{"1398034434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034439, 1398034436, 1398034430, 1398034432, 1398034440, 1398034434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14739418029785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:46:42.544524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_17_2804.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_21_3649.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_26_2685.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_30_3708.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_32_2558.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_35_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_17_2804.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_21_3649.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_26_2685.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_30_3708.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_32_2558.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_35_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":["1398034451","1398034448","1398034450","1398034452","1398034449","1398034446"],"photo_ids_order":["1398034446","1398034448","1398034449","1398034450","1398034451","1398034452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/435066106e471ea99c7539acf9c4efd5.jpg","text":"TemporaryFile(/tmp/multipartBody6207807876253053373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913664141,"filename":"image_31102025_18_49_32_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/5/88ce5bf40dd7330edf5afdf562db1d01.jpg","text":"TemporaryFile(/tmp/multipartBody7792566249346315399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913664141,"filename":"image_31102025_18_49_21_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/5/9db90aaacb76ebe5802132eaff4779cd.jpg","text":"TemporaryFile(/tmp/multipartBody7586873537844711322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913664141,"filename":"image_31102025_18_49_30_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4cb625a08044201c55f4cf5e2dcb83cf.jpg","text":"TemporaryFile(/tmp/multipartBody1007173144288628308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913664141,"filename":"image_31102025_18_49_35_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb188c1ea830562e63220dbb4c1fa9a5.jpg","text":"TemporaryFile(/tmp/multipartBody4137109981360122547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913664141,"filename":"image_31102025_18_49_26_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/5/6f3793cc32dc11085d45bf45c8b401bf.jpg","text":"TemporaryFile(/tmp/multipartBody4179483342980319846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913664141,"filename":"image_31102025_18_49_17_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034449","file1":"1398034448","file0":"1398034446","file4":"1398034451","file5":"1398034452","file3":"1398034450"},"map_files_photo_id_array":[{"photo_id":"1398034452","filename":"file5"},{"photo_id":"1398034449","filename":"file2"},{"photo_id":"1398034451","filename":"file4"},{"photo_id":"1398034448","filename":"file1"},{"photo_id":"1398034446","filename":"file0"},{"photo_id":"1398034450","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034451":["hashtag1","hashtag2"]},{"1398034448":["hashtag1","hashtag2"]},{"1398034450":["hashtag1","hashtag2"]},{"1398034452":["hashtag1","hashtag2"]},{"1398034449":["hashtag1","hashtag2"]},{"1398034446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034451, 1398034448, 1398034450, 1398034452, 1398034449, 1398034446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37080240249634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:47:22.719860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/45/image_05122025_06_45_44_9729.jpg', '/home/pi/Desktop/images/05122025/06/46/image_05122025_06_46_24_9734.jpg', '/home/pi/Desktop/images/05122025/06/46/image_05122025_06_46_54_9733.jpg', '/home/pi/Desktop/images/05122025/06/47/image_05122025_06_47_14_10609.jpg', '/home/pi/Desktop/images/05122025/06/47/image_05122025_06_47_34_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/45/image_05122025_06_45_44_9729.jpg
/home/pi/Desktop/images/05122025/06/46/image_05122025_06_46_24_9734.jpg
/home/pi/Desktop/images/05122025/06/46/image_05122025_06_46_54_9733.jpg
/home/pi/Desktop/images/05122025/06/47/image_05122025_06_47_14_10609.jpg
/home/pi/Desktop/images/05122025/06/47/image_05122025_06_47_34_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":["1398034463","1398034457","1398034466","1398034461","1398034464"],"photo_ids_order":["1398034457","1398034461","1398034463","1398034464","1398034466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2cc86744fca07b35778e0c0bb3e1c6f8.jpg","text":"TemporaryFile(/tmp/multipartBody4295724879431942994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913703403,"filename":"image_05122025_06_46_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e5a2ea83a5f4c518a16f365134ae1bcf.jpg","text":"TemporaryFile(/tmp/multipartBody5884106142471509208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913703403,"filename":"image_05122025_06_45_44_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/722e4c1b582a4c623d636dac04ac7b33.jpg","text":"TemporaryFile(/tmp/multipartBody5326499439135888130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913703403,"filename":"image_05122025_06_47_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/5/8d1602663579fd881dfc41e192f2622b.jpg","text":"TemporaryFile(/tmp/multipartBody165151156520468495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913703403,"filename":"image_05122025_06_46_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/5/70529e04cd883a2548341eb6bca1c19d.jpg","text":"TemporaryFile(/tmp/multipartBody8707511260615240739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913703403,"filename":"image_05122025_06_47_14_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034463","file1":"1398034461","file0":"1398034457","file4":"1398034466","file3":"1398034464"},"map_files_photo_id_array":[{"photo_id":"1398034463","filename":"file2"},{"photo_id":"1398034466","filename":"file4"},{"photo_id":"1398034461","filename":"file1"},{"photo_id":"1398034457","filename":"file0"},{"photo_id":"1398034464","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398034463":["hashtag1","hashtag2"]},{"1398034457":["hashtag1","hashtag2"]},{"1398034466":["hashtag1","hashtag2"]},{"1398034461":["hashtag1","hashtag2"]},{"1398034464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398034463, 1398034457, 1398034466, 1398034461, 1398034464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.44607901573181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:48:02.291229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/00/image_02122025_15_00_35_9825.jpg', '/home/pi/Desktop/images/02122025/15/00/image_02122025_15_00_44_9767.jpg', '/home/pi/Desktop/images/02122025/15/00/image_02122025_15_00_55_10640.jpg', '/home/pi/Desktop/images/02122025/15/00/image_02122025_15_01_05_9658.jpg', '/home/pi/Desktop/images/02122025/15/01/image_02122025_15_01_15_9783.jpg', '/home/pi/Desktop/images/02122025/15/01/image_02122025_15_01_35_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/00/image_02122025_15_00_35_9825.jpg
/home/pi/Desktop/images/02122025/15/00/image_02122025_15_00_44_9767.jpg
/home/pi/Desktop/images/02122025/15/00/image_02122025_15_00_55_10640.jpg
/home/pi/Desktop/images/02122025/15/00/image_02122025_15_01_05_9658.jpg
/home/pi/Desktop/images/02122025/15/01/image_02122025_15_01_15_9783.jpg
/home/pi/Desktop/images/02122025/15/01/image_02122025_15_01_35_10713.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":["1398034472","1398034486","1398034474","1398034483","1398034479","1398034473"],"photo_ids_order":["1398034472","1398034473","1398034474","1398034479","1398034483","1398034486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c849602e5a9e30fee8990244647b06be.jpg","text":"TemporaryFile(/tmp/multipartBody2298693962787165314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913743975,"filename":"image_02122025_15_00_35_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/5/71405a2eb3b79cf1a4f4aee04b9d8629.jpg","text":"TemporaryFile(/tmp/multipartBody6800499926003261854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913743975,"filename":"image_02122025_15_01_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/5/3c8c3c3857b9fc972cd094ff7327b920.jpg","text":"TemporaryFile(/tmp/multipartBody8011326345018712187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913743975,"filename":"image_02122025_15_00_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/5/7d5238ca8f6daa2c78ab256e70f0aeca.jpg","text":"TemporaryFile(/tmp/multipartBody1130592472801929348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913743975,"filename":"image_02122025_15_01_15_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cee1c434ea3855f0b8b156266d2a3d0e.jpg","text":"TemporaryFile(/tmp/multipartBody7284473279664321378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913743975,"filename":"image_02122025_15_01_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/5/c6285803568de09314faebc617ec3a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5802279048045188560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913743975,"filename":"image_02122025_15_00_44_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034474","file1":"1398034473","file0":"1398034472","file4":"1398034483","file5":"1398034486","file3":"1398034479"},"map_files_photo_id_array":[{"photo_id":"1398034486","filename":"file5"},{"photo_id":"1398034474","filename":"file2"},{"photo_id":"1398034483","filename":"file4"},{"photo_id":"1398034473","filename":"file1"},{"photo_id":"1398034472","filename":"file0"},{"photo_id":"1398034479","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034472":["hashtag1","hashtag2"]},{"1398034486":["hashtag1","hashtag2"]},{"1398034474":["hashtag1","hashtag2"]},{"1398034483":["hashtag1","hashtag2"]},{"1398034479":["hashtag1","hashtag2"]},{"1398034473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034472, 1398034486, 1398034474, 1398034483, 1398034479, 1398034473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22003722190857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:49:03.156789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/47/image_05122025_06_47_44_10645.jpg', '/home/pi/Desktop/images/05122025/06/48/image_05122025_06_48_44_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/47/image_05122025_06_47_44_10645.jpg
/home/pi/Desktop/images/05122025/06/48/image_05122025_06_48_44_10590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034499","1398034508"],"photo_ids_order":["1398034499","1398034508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc9318970814ab987d833cca37b5bf1d.jpg","text":"TemporaryFile(/tmp/multipartBody2791212319443437629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913803760,"filename":"image_05122025_06_47_44_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/5/31ef2b6a1a397cf0b6f44970fb45d21a.jpg","text":"TemporaryFile(/tmp/multipartBody4047630738672186405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913803760,"filename":"image_05122025_06_48_44_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398034508","file0":"1398034499"},"map_files_photo_id_array":[{"photo_id":"1398034508","filename":"file1"},{"photo_id":"1398034499","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398034499":["hashtag1","hashtag2"]},{"1398034508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398034499, 1398034508)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 18.322089910507202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:49:32.165908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/01/image_02122025_15_02_05_10574.jpg', '/home/pi/Desktop/images/02122025/15/02/image_02122025_15_02_14_9611.jpg', '/home/pi/Desktop/images/02122025/15/02/image_02122025_15_02_25_10711.jpg', '/home/pi/Desktop/images/02122025/15/02/image_02122025_15_02_35_9667.jpg', '/home/pi/Desktop/images/02122025/15/02/image_02122025_15_02_44_9694.jpg', '/home/pi/Desktop/images/02122025/15/03/image_02122025_15_03_24_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/01/image_02122025_15_02_05_10574.jpg
/home/pi/Desktop/images/02122025/15/02/image_02122025_15_02_14_9611.jpg
/home/pi/Desktop/images/02122025/15/02/image_02122025_15_02_25_10711.jpg
/home/pi/Desktop/images/02122025/15/02/image_02122025_15_02_35_9667.jpg
/home/pi/Desktop/images/02122025/15/02/image_02122025_15_02_44_9694.jpg
/home/pi/Desktop/images/02122025/15/03/image_02122025_15_03_24_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":["1398034527","1398034520","1398034523","1398034531","1398034533","1398034530"],"photo_ids_order":["1398034520","1398034523","1398034527","1398034530","1398034531","1398034533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b9ef44bc370e4d8b3f1566198be98733.jpg","text":"TemporaryFile(/tmp/multipartBody6898233651031785568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913834391,"filename":"image_02122025_15_02_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/5/d74b99bf73cb673d83a73c6466442c25.jpg","text":"TemporaryFile(/tmp/multipartBody7831355435043652366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913834391,"filename":"image_02122025_15_02_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/5/88fb4df55db47937cda0e946b1d275db.jpg","text":"TemporaryFile(/tmp/multipartBody5159599870809488550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913834391,"filename":"image_02122025_15_02_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/5/b24e6e7d0efb2ecb06b2149d197cb768.jpg","text":"TemporaryFile(/tmp/multipartBody4121789454423275397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913834391,"filename":"image_02122025_15_02_44_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/5/a788c183319b0632205ee7c36da8aee8.jpg","text":"TemporaryFile(/tmp/multipartBody8968660495353499117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913834391,"filename":"image_02122025_15_03_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/5/a1ad3202d3c23f4af6a737bf8f6bf60c.jpg","text":"TemporaryFile(/tmp/multipartBody567185943876730619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913834391,"filename":"image_02122025_15_02_35_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034527","file1":"1398034523","file0":"1398034520","file4":"1398034531","file5":"1398034533","file3":"1398034530"},"map_files_photo_id_array":[{"photo_id":"1398034533","filename":"file5"},{"photo_id":"1398034527","filename":"file2"},{"photo_id":"1398034531","filename":"file4"},{"photo_id":"1398034523","filename":"file1"},{"photo_id":"1398034520","filename":"file0"},{"photo_id":"1398034530","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034527":["hashtag1","hashtag2"]},{"1398034520":["hashtag1","hashtag2"]},{"1398034523":["hashtag1","hashtag2"]},{"1398034531":["hashtag1","hashtag2"]},{"1398034533":["hashtag1","hashtag2"]},{"1398034530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034527, 1398034520, 1398034523, 1398034531, 1398034533, 1398034530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.131237506866455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:50:12.813800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/03/image_02122025_15_03_35_10834.jpg', '/home/pi/Desktop/images/02122025/15/03/image_02122025_15_03_45_9667.jpg', '/home/pi/Desktop/images/02122025/15/03/image_02122025_15_04_04_9761.jpg', '/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_15_10782.jpg', '/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_45_10648.jpg', '/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_55_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/03/image_02122025_15_03_35_10834.jpg
/home/pi/Desktop/images/02122025/15/03/image_02122025_15_03_45_9667.jpg
/home/pi/Desktop/images/02122025/15/03/image_02122025_15_04_04_9761.jpg
/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_15_10782.jpg
/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_45_10648.jpg
/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_55_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: 2.018218994140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:50:22.904624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_39_3597.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_41_2603.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_45_3669.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_48_2798.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_50_2633.jpg', '/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_53_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_39_3597.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_41_2603.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_45_3669.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_48_2798.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_50_2633.jpg
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_53_2664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034553","1398034547","1398034570","1398034564","1398034551","1398034542"],"photo_ids_order":["1398034542","1398034547","1398034551","1398034553","1398034564","1398034570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb6487e13ab29779fbf4e0c90e88f098.jpg","text":"TemporaryFile(/tmp/multipartBody7269513442209785281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913884715,"filename":"image_31102025_18_49_48_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/5/7dea875c6cce2381e6377a9f36d7d253.jpg","text":"TemporaryFile(/tmp/multipartBody8469420165627139037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913884715,"filename":"image_31102025_18_49_41_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1538c84dbb8bf17fc290e11366a37486.jpg","text":"TemporaryFile(/tmp/multipartBody1920507200726329939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913884715,"filename":"image_31102025_18_49_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/5/bf0477bb62e2ed84f3906435279cdf97.jpg","text":"TemporaryFile(/tmp/multipartBody7066061481697620344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913884715,"filename":"image_31102025_18_49_50_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/5/d92cc24716cd7c92c63fe56b75c41b98.jpg","text":"TemporaryFile(/tmp/multipartBody9207227258556338541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913884715,"filename":"image_31102025_18_49_45_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/5/e456f619b3efd03269d315f757d03069.jpg","text":"TemporaryFile(/tmp/multipartBody5963293002396595090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913884715,"filename":"image_31102025_18_49_39_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034551","file1":"1398034547","file0":"1398034542","file4":"1398034564","file5":"1398034570","file3":"1398034553"},"map_files_photo_id_array":[{"photo_id":"1398034570","filename":"file5"},{"photo_id":"1398034551","filename":"file2"},{"photo_id":"1398034564","filename":"file4"},{"photo_id":"1398034547","filename":"file1"},{"photo_id":"1398034542","filename":"file0"},{"photo_id":"1398034553","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034553":["hashtag1","hashtag2"]},{"1398034547":["hashtag1","hashtag2"]},{"1398034570":["hashtag1","hashtag2"]},{"1398034564":["hashtag1","hashtag2"]},{"1398034551":["hashtag1","hashtag2"]},{"1398034542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034553, 1398034547, 1398034570, 1398034564, 1398034551, 1398034542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29704427719116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:51:11.885379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/03/image_02122025_15_03_35_10834.jpg', '/home/pi/Desktop/images/02122025/15/03/image_02122025_15_03_45_9667.jpg', '/home/pi/Desktop/images/02122025/15/03/image_02122025_15_04_04_9761.jpg', '/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_15_10782.jpg', '/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_45_10648.jpg', '/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_55_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/03/image_02122025_15_03_35_10834.jpg
/home/pi/Desktop/images/02122025/15/03/image_02122025_15_03_45_9667.jpg
/home/pi/Desktop/images/02122025/15/03/image_02122025_15_04_04_9761.jpg
/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_15_10782.jpg
/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_45_10648.jpg
/home/pi/Desktop/images/02122025/15/04/image_02122025_15_04_55_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034580","1398034577","1398034585","1398034573","1398034582","1398034575"],"photo_ids_order":["1398034573","1398034575","1398034577","1398034580","1398034582","1398034585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/195bd3199311b4be0c00f93dcc12fe56.jpg","text":"TemporaryFile(/tmp/multipartBody1568649536616657903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913933599,"filename":"image_02122025_15_04_15_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/5/610a177aa7925ab5f5963e863d858afb.jpg","text":"TemporaryFile(/tmp/multipartBody271277235634063432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913933599,"filename":"image_02122025_15_04_04_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bd25252480ccf91c9a3cde11d81591e0.jpg","text":"TemporaryFile(/tmp/multipartBody4464667414038238849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913933599,"filename":"image_02122025_15_04_55_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/5/ed35d6d3c980e1576ffded966fe901d5.jpg","text":"TemporaryFile(/tmp/multipartBody164538139989581398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913933599,"filename":"image_02122025_15_03_35_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ebb615485655adc65e05cc17966efe91.jpg","text":"TemporaryFile(/tmp/multipartBody3414252633203824927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913933599,"filename":"image_02122025_15_04_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/faca32c9510561fdbea64afbd407b4f5.jpg","text":"TemporaryFile(/tmp/multipartBody2180676101597724402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913933599,"filename":"image_02122025_15_03_45_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034577","file1":"1398034575","file0":"1398034573","file4":"1398034582","file5":"1398034585","file3":"1398034580"},"map_files_photo_id_array":[{"photo_id":"1398034585","filename":"file5"},{"photo_id":"1398034577","filename":"file2"},{"photo_id":"1398034582","filename":"file4"},{"photo_id":"1398034575","filename":"file1"},{"photo_id":"1398034573","filename":"file0"},{"photo_id":"1398034580","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034580":["hashtag1","hashtag2"]},{"1398034577":["hashtag1","hashtag2"]},{"1398034585":["hashtag1","hashtag2"]},{"1398034573":["hashtag1","hashtag2"]},{"1398034582":["hashtag1","hashtag2"]},{"1398034575":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034580, 1398034577, 1398034585, 1398034573, 1398034582, 1398034575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81927752494812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:52:02.662907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/48/image_05122025_06_48_54_9691.jpg', '/home/pi/Desktop/images/05122025/06/51/image_05122025_06_51_24_10644.jpg', '/home/pi/Desktop/images/05122025/06/51/image_05122025_06_51_34_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/48/image_05122025_06_48_54_9691.jpg
/home/pi/Desktop/images/05122025/06/51/image_05122025_06_51_24_10644.jpg
/home/pi/Desktop/images/05122025/06/51/image_05122025_06_51_34_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":["1398034598","1398034600","1398034602"],"photo_ids_order":["1398034598","1398034600","1398034602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e47b3feec67cd98391d71d6a413b1f7.jpg","text":"TemporaryFile(/tmp/multipartBody2581823696194755238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913983276,"filename":"image_05122025_06_48_54_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/662b9af4dd2436d2b2fa621c423b007b.jpg","text":"TemporaryFile(/tmp/multipartBody587433654750657224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913983276,"filename":"image_05122025_06_51_24_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/5/c8114382729bfa06c3c9644a2b3d3166.jpg","text":"TemporaryFile(/tmp/multipartBody3752620192262076794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764913983276,"filename":"image_05122025_06_51_34_9879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034602","file1":"1398034600","file0":"1398034598"},"map_files_photo_id_array":[{"photo_id":"1398034602","filename":"file2"},{"photo_id":"1398034600","filename":"file1"},{"photo_id":"1398034598","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398034598":["hashtag1","hashtag2"]},{"1398034600":["hashtag1","hashtag2"]},{"1398034602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398034598, 1398034600, 1398034602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.978481769561768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 06:52:32.178277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/04/image_02122025_15_05_04_9862.jpg', '/home/pi/Desktop/images/02122025/15/05/image_02122025_15_05_15_10657.jpg', '/home/pi/Desktop/images/02122025/15/05/image_02122025_15_05_25_9732.jpg', '/home/pi/Desktop/images/02122025/15/05/image_02122025_15_05_35_9751.jpg', '/home/pi/Desktop/images/02122025/15/05/image_02122025_15_05_44_9665.jpg', '/home/pi/Desktop/images/02122025/15/05/image_02122025_15_05_55_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/04/image_02122025_15_05_04_9862.jpg
/home/pi/Desktop/images/02122025/15/05/image_02122025_15_05_15_10657.jpg
/home/pi/Desktop/images/02122025/15/05/image_02122025_15_05_25_9732.jpg
/home/pi/Desktop/images/02122025/15/05/image_02122025_15_05_35_9751.jpg
/home/pi/Desktop/images/02122025/15/05/image_02122025_15_05_44_9665.jpg
/home/pi/Desktop/images/02122025/15/05/image_02122025_15_05_55_10581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034619","1398034610","1398034622","1398034621","1398034627","1398034608"],"photo_ids_order":["1398034608","1398034610","1398034619","1398034621","1398034622","1398034627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d122cc864969bd87d7982941e8a7c70f.jpg","text":"TemporaryFile(/tmp/multipartBody1824670431443456696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914014438,"filename":"image_02122025_15_05_25_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/5/08cb7d696887af6e791c14a25c11ee99.jpg","text":"TemporaryFile(/tmp/multipartBody7965315097746838063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914014438,"filename":"image_02122025_15_05_15_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/5/8e32c5b96b5f1e0dedc1660b371715da.jpg","text":"TemporaryFile(/tmp/multipartBody7175997606918456446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914014438,"filename":"image_02122025_15_05_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/5/718c5ad2b2a83a5cc3ba28de3dbd0643.jpg","text":"TemporaryFile(/tmp/multipartBody3256564905960805350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914014438,"filename":"image_02122025_15_05_35_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0072739b0193f05c93cf3f5817af8631.jpg","text":"TemporaryFile(/tmp/multipartBody8617639903114864830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914014438,"filename":"image_02122025_15_05_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/5/39dc141a036dc3a75f19bc68c2e10f59.jpg","text":"TemporaryFile(/tmp/multipartBody1864368408430447152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914014438,"filename":"image_02122025_15_05_04_9862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034619","file1":"1398034610","file0":"1398034608","file4":"1398034622","file5":"1398034627","file3":"1398034621"},"map_files_photo_id_array":[{"photo_id":"1398034627","filename":"file5"},{"photo_id":"1398034619","filename":"file2"},{"photo_id":"1398034622","filename":"file4"},{"photo_id":"1398034610","filename":"file1"},{"photo_id":"1398034608","filename":"file0"},{"photo_id":"1398034621","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034619":["hashtag1","hashtag2"]},{"1398034610":["hashtag1","hashtag2"]},{"1398034622":["hashtag1","hashtag2"]},{"1398034621":["hashtag1","hashtag2"]},{"1398034627":["hashtag1","hashtag2"]},{"1398034608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034619, 1398034610, 1398034622, 1398034621, 1398034627, 1398034608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48589897155762 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 40
2025-12-05 06:53:22.349393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/51/image_05122025_06_51_54_9882.jpg', '/home/pi/Desktop/images/05122025/06/51/image_05122025_06_52_04_10621.jpg', '/home/pi/Desktop/images/05122025/06/52/image_05122025_06_52_24_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/51/image_05122025_06_51_54_9882.jpg
/home/pi/Desktop/images/05122025/06/51/image_05122025_06_52_04_10621.jpg
/home/pi/Desktop/images/05122025/06/52/image_05122025_06_52_24_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":["1398034636","1398034632","1398034638"],"photo_ids_order":["1398034632","1398034636","1398034638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8a6b9edf5d1fb68cbb12970fd8e19db2.jpg","text":"TemporaryFile(/tmp/multipartBody3739388494759541573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914062975,"filename":"image_05122025_06_52_04_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/5/f2630029dfefb1bf557aa15db45d02d6.jpg","text":"TemporaryFile(/tmp/multipartBody9201858767903223577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914062975,"filename":"image_05122025_06_51_54_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/5/6a65551281fe11619c64a9d0712e14cc.jpg","text":"TemporaryFile(/tmp/multipartBody4270363233340479972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914062975,"filename":"image_05122025_06_52_24_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034638","file1":"1398034636","file0":"1398034632"},"map_files_photo_id_array":[{"photo_id":"1398034638","filename":"file2"},{"photo_id":"1398034636","filename":"file1"},{"photo_id":"1398034632","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398034636":["hashtag1","hashtag2"]},{"1398034632":["hashtag1","hashtag2"]},{"1398034638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398034636, 1398034632, 1398034638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.727306842803955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:54:03.381977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/05/image_02122025_15_06_05_9703.jpg', '/home/pi/Desktop/images/02122025/15/06/image_02122025_15_06_14_9703.jpg', '/home/pi/Desktop/images/02122025/15/06/image_02122025_15_06_54_9771.jpg', '/home/pi/Desktop/images/02122025/15/07/image_02122025_15_07_15_9649.jpg', '/home/pi/Desktop/images/02122025/15/07/image_02122025_15_07_24_9686.jpg', '/home/pi/Desktop/images/02122025/15/07/image_02122025_15_07_34_9897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/05/image_02122025_15_06_05_9703.jpg
/home/pi/Desktop/images/02122025/15/06/image_02122025_15_06_14_9703.jpg
/home/pi/Desktop/images/02122025/15/06/image_02122025_15_06_54_9771.jpg
/home/pi/Desktop/images/02122025/15/07/image_02122025_15_07_15_9649.jpg
/home/pi/Desktop/images/02122025/15/07/image_02122025_15_07_24_9686.jpg
/home/pi/Desktop/images/02122025/15/07/image_02122025_15_07_34_9897.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":["1398034658","1398034646","1398034648","1398034651","1398034653","1398034656"],"photo_ids_order":["1398034646","1398034648","1398034651","1398034653","1398034656","1398034658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2a07ee228c52a509a0753d9b6c3f22f3.jpg","text":"TemporaryFile(/tmp/multipartBody5846148803183997354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914104991,"filename":"image_02122025_15_07_34_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/5/77c942974621e5ebc4282c02554d65fa.jpg","text":"TemporaryFile(/tmp/multipartBody2062698569062698950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914104991,"filename":"image_02122025_15_06_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/5/8f0a525b7b183797a2be88d8f782ae78.jpg","text":"TemporaryFile(/tmp/multipartBody1406921554488005341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914104991,"filename":"image_02122025_15_06_14_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/5/c2aca9dca1213de3638fc35c8ca5cb5d.jpg","text":"TemporaryFile(/tmp/multipartBody2048105575613383630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914104991,"filename":"image_02122025_15_06_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/12b8c7b9a98b65a5262c2ded7402a49f.jpg","text":"TemporaryFile(/tmp/multipartBody8892529604803386844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914104991,"filename":"image_02122025_15_07_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/5/55744d721d0d93e65218ed95532018b6.jpg","text":"TemporaryFile(/tmp/multipartBody4062691875799470784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914104991,"filename":"image_02122025_15_07_24_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034651","file1":"1398034648","file0":"1398034646","file4":"1398034656","file5":"1398034658","file3":"1398034653"},"map_files_photo_id_array":[{"photo_id":"1398034658","filename":"file5"},{"photo_id":"1398034651","filename":"file2"},{"photo_id":"1398034656","filename":"file4"},{"photo_id":"1398034648","filename":"file1"},{"photo_id":"1398034646","filename":"file0"},{"photo_id":"1398034653","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034658":["hashtag1","hashtag2"]},{"1398034646":["hashtag1","hashtag2"]},{"1398034648":["hashtag1","hashtag2"]},{"1398034651":["hashtag1","hashtag2"]},{"1398034653":["hashtag1","hashtag2"]},{"1398034656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034658, 1398034646, 1398034648, 1398034651, 1398034653, 1398034656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.666258096694946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:55:03.440163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/52/image_05122025_06_52_44_10730.jpg', '/home/pi/Desktop/images/05122025/06/54/image_05122025_06_54_14_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/52/image_05122025_06_52_44_10730.jpg
/home/pi/Desktop/images/05122025/06/54/image_05122025_06_54_14_10740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034672","1398034674"],"photo_ids_order":["1398034672","1398034674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/607947764c094a05ccd54be241a8b90f.jpg","text":"TemporaryFile(/tmp/multipartBody7233138975349866458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914164014,"filename":"image_05122025_06_52_44_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/5/08f6f68b3ac1455a5a78ef058763d8b0.jpg","text":"TemporaryFile(/tmp/multipartBody6660443694561379014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914164014,"filename":"image_05122025_06_54_14_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398034674","file0":"1398034672"},"map_files_photo_id_array":[{"photo_id":"1398034674","filename":"file1"},{"photo_id":"1398034672","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398034672":["hashtag1","hashtag2"]},{"1398034674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398034672, 1398034674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.614187479019165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:55:22.858515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/54/image_05122025_06_54_24_9652.jpg', '/home/pi/Desktop/images/05122025/06/54/image_05122025_06_55_04_9876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/54/image_05122025_06_54_24_9652.jpg
/home/pi/Desktop/images/05122025/06/54/image_05122025_06_55_04_9876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034679","1398034681"],"photo_ids_order":["1398034679","1398034681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c4daf859256b65594d3e3df03a42535e.jpg","text":"TemporaryFile(/tmp/multipartBody3112365341736750912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914183427,"filename":"image_05122025_06_54_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eab8af54def22fc0e55fba535d3302ae.jpg","text":"TemporaryFile(/tmp/multipartBody1640572958130945585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914183427,"filename":"image_05122025_06_55_04_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398034681","file0":"1398034679"},"map_files_photo_id_array":[{"photo_id":"1398034681","filename":"file1"},{"photo_id":"1398034679","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398034679":["hashtag1","hashtag2"]},{"1398034681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398034679, 1398034681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.591234922409058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:55:42.780419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_57_3660.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_03_3649.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_06_2920.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_09_2641.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_15_3659.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_17_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/49/image_31102025_18_49_57_3660.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_03_3649.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_06_2920.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_09_2641.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_15_3659.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_17_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":["1398034694","1398034688","1398034696","1398034693","1398034692","1398034691"],"photo_ids_order":["1398034688","1398034691","1398034692","1398034693","1398034694","1398034696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c01ab6068e23012c329cf4c2c78f58a4.jpg","text":"TemporaryFile(/tmp/multipartBody5764147541520214197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914204434,"filename":"image_31102025_18_50_15_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/5/54bba56d1f8c423060f88f3e32b4bdf8.jpg","text":"TemporaryFile(/tmp/multipartBody3564088627960881879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914204434,"filename":"image_31102025_18_49_57_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/5/dfbd18688c6eec2559b5d736c4252450.jpg","text":"TemporaryFile(/tmp/multipartBody6055667819084029233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914204434,"filename":"image_31102025_18_50_17_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/5/6f9665467a0ae26e8fb3b8ffe057b54c.jpg","text":"TemporaryFile(/tmp/multipartBody3309960059984538465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914204434,"filename":"image_31102025_18_50_09_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/5/d7017b8da6905cf114ec7c2c8064582e.jpg","text":"TemporaryFile(/tmp/multipartBody2793843959094859415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914204434,"filename":"image_31102025_18_50_06_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0691bd9f798b694b961aa99a9881a389.jpg","text":"TemporaryFile(/tmp/multipartBody3113305961008748468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914204434,"filename":"image_31102025_18_50_03_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034692","file1":"1398034691","file0":"1398034688","file4":"1398034694","file5":"1398034696","file3":"1398034693"},"map_files_photo_id_array":[{"photo_id":"1398034696","filename":"file5"},{"photo_id":"1398034692","filename":"file2"},{"photo_id":"1398034694","filename":"file4"},{"photo_id":"1398034691","filename":"file1"},{"photo_id":"1398034688","filename":"file0"},{"photo_id":"1398034693","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034694":["hashtag1","hashtag2"]},{"1398034688":["hashtag1","hashtag2"]},{"1398034696":["hashtag1","hashtag2"]},{"1398034693":["hashtag1","hashtag2"]},{"1398034692":["hashtag1","hashtag2"]},{"1398034691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034694, 1398034688, 1398034696, 1398034693, 1398034692, 1398034691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8530650138855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 06:56:21.939185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_20_2659.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_23_2919.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_27_3721.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_29_2640.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_32_2659.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_36_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_20_2659.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_23_2919.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_27_3721.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_29_2640.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_32_2659.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_36_3608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398034710","1398034704","1398034712","1398034706","1398034715","1398034701"],"photo_ids_order":["1398034701","1398034704","1398034706","1398034710","1398034712","1398034715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/79bf9d015ac038e360284e2bb14764bb.jpg","text":"TemporaryFile(/tmp/multipartBody3665940686736061436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914243592,"filename":"image_31102025_18_50_29_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/5/2b55e9554e115666bc57e85d17e30487.jpg","text":"TemporaryFile(/tmp/multipartBody2668317031696656931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914243592,"filename":"image_31102025_18_50_23_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/27f1db75388c8e7ab6bd51bcaa255350.jpg","text":"TemporaryFile(/tmp/multipartBody1622033369333222018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914243592,"filename":"image_31102025_18_50_32_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/5/b1e95568db22bec15205fa9f4888a6d1.jpg","text":"TemporaryFile(/tmp/multipartBody5631952120644393113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914243592,"filename":"image_31102025_18_50_27_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/5/16d5f20340166607b1561d8d44de7f42.jpg","text":"TemporaryFile(/tmp/multipartBody2043355816192626211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914243592,"filename":"image_31102025_18_50_36_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/5/8442aaa82396b2ccac50bf9e5e89cb9a.jpg","text":"TemporaryFile(/tmp/multipartBody3324502663530067015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914243592,"filename":"image_31102025_18_50_20_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034706","file1":"1398034704","file0":"1398034701","file4":"1398034712","file5":"1398034715","file3":"1398034710"},"map_files_photo_id_array":[{"photo_id":"1398034715","filename":"file5"},{"photo_id":"1398034706","filename":"file2"},{"photo_id":"1398034712","filename":"file4"},{"photo_id":"1398034704","filename":"file1"},{"photo_id":"1398034701","filename":"file0"},{"photo_id":"1398034710","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034710":["hashtag1","hashtag2"]},{"1398034704":["hashtag1","hashtag2"]},{"1398034712":["hashtag1","hashtag2"]},{"1398034706":["hashtag1","hashtag2"]},{"1398034715":["hashtag1","hashtag2"]},{"1398034701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034710, 1398034704, 1398034712, 1398034706, 1398034715, 1398034701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.406081438064575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:57:02.951101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/07/image_02122025_15_07_47_12684.jpg', '/home/pi/Desktop/images/02122025/15/07/image_02122025_15_07_55_7822.jpg', '/home/pi/Desktop/images/02122025/15/07/image_02122025_15_08_04_9535.jpg', '/home/pi/Desktop/images/02122025/15/08/image_02122025_15_08_15_10735.jpg', '/home/pi/Desktop/images/02122025/15/08/image_02122025_15_08_25_9739.jpg', '/home/pi/Desktop/images/02122025/15/08/image_02122025_15_08_35_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/07/image_02122025_15_07_47_12684.jpg
/home/pi/Desktop/images/02122025/15/07/image_02122025_15_07_55_7822.jpg
/home/pi/Desktop/images/02122025/15/07/image_02122025_15_08_04_9535.jpg
/home/pi/Desktop/images/02122025/15/08/image_02122025_15_08_15_10735.jpg
/home/pi/Desktop/images/02122025/15/08/image_02122025_15_08_25_9739.jpg
/home/pi/Desktop/images/02122025/15/08/image_02122025_15_08_35_9917.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":["1398034718","1398034727","1398034720","1398034725","1398034722","1398034716"],"photo_ids_order":["1398034716","1398034718","1398034720","1398034722","1398034725","1398034727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b4c57e0cd9f0f421068469c7a94ebac.jpg","text":"TemporaryFile(/tmp/multipartBody1837512472697589392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914284627,"filename":"image_02122025_15_07_55_7822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee492fbc30d886e7e50c828077332747.jpg","text":"TemporaryFile(/tmp/multipartBody1174366115077842674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914284627,"filename":"image_02122025_15_08_35_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/5/8dc9d4713ddf631bbdb6ba607611c902.jpg","text":"TemporaryFile(/tmp/multipartBody653708674440025770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914284627,"filename":"image_02122025_15_08_04_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1478aa36f0254ca0a4bf4fc05966b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8917412775260782754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914284627,"filename":"image_02122025_15_08_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/5/99722bce0fd0ad5a4ed198e5dd378b16.jpg","text":"TemporaryFile(/tmp/multipartBody1455902359054466529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914284627,"filename":"image_02122025_15_08_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/5/404319a4e51fe8976794674702a8e68d.jpg","text":"TemporaryFile(/tmp/multipartBody6154115892100643862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914284627,"filename":"image_02122025_15_07_47_12684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034720","file1":"1398034718","file0":"1398034716","file4":"1398034725","file5":"1398034727","file3":"1398034722"},"map_files_photo_id_array":[{"photo_id":"1398034727","filename":"file5"},{"photo_id":"1398034720","filename":"file2"},{"photo_id":"1398034725","filename":"file4"},{"photo_id":"1398034718","filename":"file1"},{"photo_id":"1398034716","filename":"file0"},{"photo_id":"1398034722","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034718":["hashtag1","hashtag2"]},{"1398034727":["hashtag1","hashtag2"]},{"1398034720":["hashtag1","hashtag2"]},{"1398034725":["hashtag1","hashtag2"]},{"1398034722":["hashtag1","hashtag2"]},{"1398034716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034718, 1398034727, 1398034720, 1398034725, 1398034722, 1398034716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88444685935974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 06:59:03.331637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/55/image_05122025_06_55_14_9567.jpg', '/home/pi/Desktop/images/05122025/06/58/image_05122025_06_58_24_9635.jpg', '/home/pi/Desktop/images/05122025/06/58/image_05122025_06_58_34_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/55/image_05122025_06_55_14_9567.jpg
/home/pi/Desktop/images/05122025/06/58/image_05122025_06_58_24_9635.jpg
/home/pi/Desktop/images/05122025/06/58/image_05122025_06_58_34_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":["1398034741","1398034746","1398034749"],"photo_ids_order":["1398034741","1398034746","1398034749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9af02f488517a770ec1966d1e19d0674.jpg","text":"TemporaryFile(/tmp/multipartBody2510100888783350768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914404027,"filename":"image_05122025_06_55_14_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/5/7ce041a8def0d254936f06f084b71869.jpg","text":"TemporaryFile(/tmp/multipartBody4839586623133388279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914404027,"filename":"image_05122025_06_58_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/5/854e4700f86b1d2c1a3050b8ce71aa2f.jpg","text":"TemporaryFile(/tmp/multipartBody3505865629989087169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914404027,"filename":"image_05122025_06_58_34_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034749","file1":"1398034746","file0":"1398034741"},"map_files_photo_id_array":[{"photo_id":"1398034749","filename":"file2"},{"photo_id":"1398034746","filename":"file1"},{"photo_id":"1398034741","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398034741":["hashtag1","hashtag2"]},{"1398034746":["hashtag1","hashtag2"]},{"1398034749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398034741, 1398034746, 1398034749)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 3 photos
time to upload: 30.221190452575684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 06:59:42.435915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_38_2724.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_41_2702.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_45_3715.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_47_2644.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_50_2651.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_54_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_38_2724.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_41_2702.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_45_3715.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_47_2644.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_50_2651.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_54_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":["1398034769","1398034771","1398034765","1398034774","1398034761","1398034767"],"photo_ids_order":["1398034761","1398034765","1398034767","1398034769","1398034771","1398034774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d473c9489f6677466e2f4bbb6e7b540.jpg","text":"TemporaryFile(/tmp/multipartBody3081854249295547053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914444051,"filename":"image_31102025_18_50_47_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/5/13c20853e6c411eaf7f5c7d6c907922b.jpg","text":"TemporaryFile(/tmp/multipartBody7431217161825506680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914444051,"filename":"image_31102025_18_50_50_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/5/4d01f3ab64d74034d3f0996a7f201f34.jpg","text":"TemporaryFile(/tmp/multipartBody7281767285651316540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914444051,"filename":"image_31102025_18_50_41_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/5/b3029a09123f304b64298159eb62ffc3.jpg","text":"TemporaryFile(/tmp/multipartBody9031873297639574606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914444051,"filename":"image_31102025_18_50_54_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/5/0784bd6d88ca11976c1b9272fa2bdd4e.jpg","text":"TemporaryFile(/tmp/multipartBody1308958840616812931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914444051,"filename":"image_31102025_18_50_38_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/5/f4e5355576ac5a22958a19c65cf8e5c7.jpg","text":"TemporaryFile(/tmp/multipartBody7027091201015331658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914444051,"filename":"image_31102025_18_50_45_3715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034767","file1":"1398034765","file0":"1398034761","file4":"1398034771","file5":"1398034774","file3":"1398034769"},"map_files_photo_id_array":[{"photo_id":"1398034774","filename":"file5"},{"photo_id":"1398034767","filename":"file2"},{"photo_id":"1398034771","filename":"file4"},{"photo_id":"1398034765","filename":"file1"},{"photo_id":"1398034761","filename":"file0"},{"photo_id":"1398034769","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398034769":["hashtag1","hashtag2"]},{"1398034771":["hashtag1","hashtag2"]},{"1398034765":["hashtag1","hashtag2"]},{"1398034774":["hashtag1","hashtag2"]},{"1398034761":["hashtag1","hashtag2"]},{"1398034767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398034769, 1398034771, 1398034765, 1398034774, 1398034761, 1398034767)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.71714639663696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:00:32.609186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/08/image_02122025_15_08_44_9787.jpg', '/home/pi/Desktop/images/02122025/15/08/image_02122025_15_08_55_10724.jpg', '/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_04_9147.jpg', '/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_15_10747.jpg', '/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_25_9759.jpg', '/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_34_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/08/image_02122025_15_08_44_9787.jpg
/home/pi/Desktop/images/02122025/15/08/image_02122025_15_08_55_10724.jpg
/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_04_9147.jpg
/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_15_10747.jpg
/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_25_9759.jpg
/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_34_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398034787","1398034783","1398034789","1398034791","1398034785","1398034790"],"photo_ids_order":["1398034783","1398034785","1398034787","1398034789","1398034790","1398034791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d923e531b0f8f7781d3ac95d5b8d3c4.jpg","text":"TemporaryFile(/tmp/multipartBody2228608016767981474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914494869,"filename":"image_02122025_15_09_04_9147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/04e95611dc75dabdf8edbd627a01382d.jpg","text":"TemporaryFile(/tmp/multipartBody962594124557200823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914494869,"filename":"image_02122025_15_08_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b7f0510613cff36a20f6b8821dd5b07e.jpg","text":"TemporaryFile(/tmp/multipartBody5962707249277903932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914494869,"filename":"image_02122025_15_09_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/5/1366f088060c944f6bbc5ccc39107692.jpg","text":"TemporaryFile(/tmp/multipartBody7824559083715914326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914494869,"filename":"image_02122025_15_09_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/5/e24c80833c4e1498a40334821981199f.jpg","text":"TemporaryFile(/tmp/multipartBody7656519346729326543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914494869,"filename":"image_02122025_15_08_55_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e9a6733c62ae11f7100c07c9d4b0fc2f.jpg","text":"TemporaryFile(/tmp/multipartBody9617273588291250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914494869,"filename":"image_02122025_15_09_25_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398034787","file1":"1398034785","file0":"1398034783","file4":"1398034790","file5":"1398034791","file3":"1398034789"},"map_files_photo_id_array":[{"photo_id":"1398034791","filename":"file5"},{"photo_id":"1398034787","filename":"file2"},{"photo_id":"1398034790","filename":"file4"},{"photo_id":"1398034785","filename":"file1"},{"photo_id":"1398034783","filename":"file0"},{"photo_id":"1398034789","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398034787":["hashtag1","hashtag2"]},{"1398034783":["hashtag1","hashtag2"]},{"1398034789":["hashtag1","hashtag2"]},{"1398034791":["hashtag1","hashtag2"]},{"1398034785":["hashtag1","hashtag2"]},{"1398034790":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398034787, 1398034783, 1398034789, 1398034791, 1398034785, 1398034790)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.42068815231323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:01:32.812100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_45_10683.jpg', '/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_55_9813.jpg', '/home/pi/Desktop/images/02122025/15/09/image_02122025_15_10_05_9696.jpg', '/home/pi/Desktop/images/02122025/15/10/image_02122025_15_10_14_9648.jpg', '/home/pi/Desktop/images/02122025/15/10/image_02122025_15_10_25_10656.jpg', '/home/pi/Desktop/images/02122025/15/10/image_02122025_15_10_35_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_45_10683.jpg
/home/pi/Desktop/images/02122025/15/09/image_02122025_15_09_55_9813.jpg
/home/pi/Desktop/images/02122025/15/09/image_02122025_15_10_05_9696.jpg
/home/pi/Desktop/images/02122025/15/10/image_02122025_15_10_14_9648.jpg
/home/pi/Desktop/images/02122025/15/10/image_02122025_15_10_25_10656.jpg
/home/pi/Desktop/images/02122025/15/10/image_02122025_15_10_35_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":["1398035447","1398035303","1398035374","1398035518","1398035212","1398035589"],"photo_ids_order":["1398035212","1398035303","1398035374","1398035447","1398035518","1398035589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b5c0b313d80d6b1904bcdf08d1b672ac.jpg","text":"TemporaryFile(/tmp/multipartBody6211901402350860060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914555111,"filename":"image_02122025_15_10_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/5/ce5e5d55243efef562f5440a89352beb.jpg","text":"TemporaryFile(/tmp/multipartBody8480828837721216615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914555111,"filename":"image_02122025_15_09_55_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/26dc8808753290a7c5a7cd56b627ddea.jpg","text":"TemporaryFile(/tmp/multipartBody8857279870267526176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914555111,"filename":"image_02122025_15_10_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/5/d0b1cbf12861e9eda637991362a27071.jpg","text":"TemporaryFile(/tmp/multipartBody9202493962539710643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914555111,"filename":"image_02122025_15_10_25_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/5/6a94320b316489827f60d6ca9470d884.jpg","text":"TemporaryFile(/tmp/multipartBody4510369722430653767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914555111,"filename":"image_02122025_15_09_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/5/8f7083db9d2ba7a6ea1b0affe5297ee2.jpg","text":"TemporaryFile(/tmp/multipartBody7400581518805043427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914555111,"filename":"image_02122025_15_10_35_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398035374","file1":"1398035303","file0":"1398035212","file4":"1398035518","file5":"1398035589","file3":"1398035447"},"map_files_photo_id_array":[{"photo_id":"1398035589","filename":"file5"},{"photo_id":"1398035374","filename":"file2"},{"photo_id":"1398035518","filename":"file4"},{"photo_id":"1398035303","filename":"file1"},{"photo_id":"1398035212","filename":"file0"},{"photo_id":"1398035447","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398035447":["hashtag1","hashtag2"]},{"1398035303":["hashtag1","hashtag2"]},{"1398035374":["hashtag1","hashtag2"]},{"1398035518":["hashtag1","hashtag2"]},{"1398035212":["hashtag1","hashtag2"]},{"1398035589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398035447, 1398035303, 1398035374, 1398035518, 1398035212, 1398035589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62331581115723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:02:21.917118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/06/58/image_05122025_06_58_44_10693.jpg', '/home/pi/Desktop/images/05122025/06/59/image_05122025_06_59_34_10779.jpg', '/home/pi/Desktop/images/05122025/07/01/image_05122025_07_01_14_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/06/58/image_05122025_06_58_44_10693.jpg
/home/pi/Desktop/images/05122025/06/59/image_05122025_06_59_34_10779.jpg
/home/pi/Desktop/images/05122025/07/01/image_05122025_07_01_14_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":["1398036098","1398035963","1398036035"],"photo_ids_order":["1398035963","1398036035","1398036098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/782d866a653f7ed12a6a392541fcd9f4.jpg","text":"TemporaryFile(/tmp/multipartBody6423577852460105619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914602491,"filename":"image_05122025_07_01_14_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/5/51138157629f2eac68dbc6b1dc5369d9.jpg","text":"TemporaryFile(/tmp/multipartBody8606864068487657865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914602491,"filename":"image_05122025_06_58_44_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5aed75ffe3ea5183507eb9ca879e00dc.jpg","text":"TemporaryFile(/tmp/multipartBody2989342806662399685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914602491,"filename":"image_05122025_06_59_34_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398036098","file1":"1398036035","file0":"1398035963"},"map_files_photo_id_array":[{"photo_id":"1398036098","filename":"file2"},{"photo_id":"1398036035","filename":"file1"},{"photo_id":"1398035963","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398036098":["hashtag1","hashtag2"]},{"1398035963":["hashtag1","hashtag2"]},{"1398036035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398036098, 1398035963, 1398036035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.596567630767822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:03:02.711310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/10/image_02122025_15_10_44_9576.jpg', '/home/pi/Desktop/images/02122025/15/10/image_02122025_15_11_05_9603.jpg', '/home/pi/Desktop/images/02122025/15/11/image_02122025_15_11_14_9725.jpg', '/home/pi/Desktop/images/02122025/15/11/image_02122025_15_11_24_9834.jpg', '/home/pi/Desktop/images/02122025/15/11/image_02122025_15_11_35_10807.jpg', '/home/pi/Desktop/images/02122025/15/11/image_02122025_15_11_45_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/10/image_02122025_15_10_44_9576.jpg
/home/pi/Desktop/images/02122025/15/10/image_02122025_15_11_05_9603.jpg
/home/pi/Desktop/images/02122025/15/11/image_02122025_15_11_14_9725.jpg
/home/pi/Desktop/images/02122025/15/11/image_02122025_15_11_24_9834.jpg
/home/pi/Desktop/images/02122025/15/11/image_02122025_15_11_35_10807.jpg
/home/pi/Desktop/images/02122025/15/11/image_02122025_15_11_45_9655.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":["1398036580","1398036478","1398036558","1398036435","1398036398","1398036515"],"photo_ids_order":["1398036398","1398036435","1398036478","1398036515","1398036558","1398036580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/77e9c76c4b1547f311532b0f23699120.jpg","text":"TemporaryFile(/tmp/multipartBody9028903118160856532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914644495,"filename":"image_02122025_15_11_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/5/bda575d985ff08103874679ccbe6350a.jpg","text":"TemporaryFile(/tmp/multipartBody7196613031336638488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914644495,"filename":"image_02122025_15_11_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/5/ab1e3dc911a5f9cb55d91d4187e1c9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1104401682676993107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914644495,"filename":"image_02122025_15_11_35_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03a805a6137723a9674b2346c81a7777.jpg","text":"TemporaryFile(/tmp/multipartBody8910996644747873139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914644495,"filename":"image_02122025_15_11_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/5/49842367d4d72ddf9199342635b6fb33.jpg","text":"TemporaryFile(/tmp/multipartBody3738981568898620189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914644495,"filename":"image_02122025_15_10_44_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/667554ad59eeabc3d418f52de0d97b05.jpg","text":"TemporaryFile(/tmp/multipartBody1402900515651133355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914644495,"filename":"image_02122025_15_11_24_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398036478","file1":"1398036435","file0":"1398036398","file4":"1398036558","file5":"1398036580","file3":"1398036515"},"map_files_photo_id_array":[{"photo_id":"1398036580","filename":"file5"},{"photo_id":"1398036478","filename":"file2"},{"photo_id":"1398036558","filename":"file4"},{"photo_id":"1398036435","filename":"file1"},{"photo_id":"1398036398","filename":"file0"},{"photo_id":"1398036515","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398036580":["hashtag1","hashtag2"]},{"1398036478":["hashtag1","hashtag2"]},{"1398036558":["hashtag1","hashtag2"]},{"1398036435":["hashtag1","hashtag2"]},{"1398036398":["hashtag1","hashtag2"]},{"1398036515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398036580, 1398036478, 1398036558, 1398036435, 1398036398, 1398036515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76136517524719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:04:02.871887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/11/image_02122025_15_11_54_9717.jpg', '/home/pi/Desktop/images/02122025/15/11/image_02122025_15_12_05_10640.jpg', '/home/pi/Desktop/images/02122025/15/12/image_02122025_15_12_15_9602.jpg', '/home/pi/Desktop/images/02122025/15/12/image_02122025_15_12_24_9672.jpg', '/home/pi/Desktop/images/02122025/15/12/image_02122025_15_12_35_10831.jpg', '/home/pi/Desktop/images/02122025/15/12/image_02122025_15_12_45_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/11/image_02122025_15_11_54_9717.jpg
/home/pi/Desktop/images/02122025/15/11/image_02122025_15_12_05_10640.jpg
/home/pi/Desktop/images/02122025/15/12/image_02122025_15_12_15_9602.jpg
/home/pi/Desktop/images/02122025/15/12/image_02122025_15_12_24_9672.jpg
/home/pi/Desktop/images/02122025/15/12/image_02122025_15_12_35_10831.jpg
/home/pi/Desktop/images/02122025/15/12/image_02122025_15_12_45_9602.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":["1398037057","1398036894","1398036861","1398037118","1398037019","1398036956"],"photo_ids_order":["1398036861","1398036894","1398036956","1398037019","1398037057","1398037118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/adfe5017cf30aa6488c593f80a10d1bc.jpg","text":"TemporaryFile(/tmp/multipartBody4142284312166004559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914705810,"filename":"image_02122025_15_12_35_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/5/dc9bae09564b00164e478ea2c75c308d.jpg","text":"TemporaryFile(/tmp/multipartBody2761667104630815367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914705810,"filename":"image_02122025_15_12_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/5/a866286f3472c9155f51f4868852bd62.jpg","text":"TemporaryFile(/tmp/multipartBody1893209222677311452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914705810,"filename":"image_02122025_15_11_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f05d76442323ba3b7beaee1ac61fe9ff.jpg","text":"TemporaryFile(/tmp/multipartBody6192612091963967373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914705810,"filename":"image_02122025_15_12_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/5/403d95176e45df4b2a59964e5d2b72ce.jpg","text":"TemporaryFile(/tmp/multipartBody5257129124298233012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914705810,"filename":"image_02122025_15_12_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e2a762b37addaad4ffd592cf24555288.jpg","text":"TemporaryFile(/tmp/multipartBody6225380677206099765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914705810,"filename":"image_02122025_15_12_15_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398036956","file1":"1398036894","file0":"1398036861","file4":"1398037057","file5":"1398037118","file3":"1398037019"},"map_files_photo_id_array":[{"photo_id":"1398037118","filename":"file5"},{"photo_id":"1398036956","filename":"file2"},{"photo_id":"1398037057","filename":"file4"},{"photo_id":"1398036894","filename":"file1"},{"photo_id":"1398036861","filename":"file0"},{"photo_id":"1398037019","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398037057":["hashtag1","hashtag2"]},{"1398036894":["hashtag1","hashtag2"]},{"1398036861":["hashtag1","hashtag2"]},{"1398037118":["hashtag1","hashtag2"]},{"1398037019":["hashtag1","hashtag2"]},{"1398036956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398037057, 1398036894, 1398036861, 1398037118, 1398037019, 1398036956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51098394393921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:05:03.022367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/01/image_05122025_07_01_24_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/01/image_05122025_07_01_24_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398037451"],"photo_id":"1398037451","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/621382ee2db83fb3d0c8c0aa2379b03f.jpg","text":"TemporaryFile(/tmp/multipartBody2331862577742428758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914763571,"filename":"image_05122025_07_01_24_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398037451"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398037451"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.93874716758728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:05:22.358271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/04/image_05122025_07_04_44_10740.jpg', '/home/pi/Desktop/images/05122025/07/04/image_05122025_07_05_04_10438.jpg', '/home/pi/Desktop/images/05122025/07/05/image_05122025_07_05_14_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/04/image_05122025_07_04_44_10740.jpg
/home/pi/Desktop/images/05122025/07/04/image_05122025_07_05_04_10438.jpg
/home/pi/Desktop/images/05122025/07/05/image_05122025_07_05_14_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":["1398037918","1398037845","1398037757"],"photo_ids_order":["1398037757","1398037845","1398037918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a703693ad4cadd8b1ad7fa3b7574465a.jpg","text":"TemporaryFile(/tmp/multipartBody8135612182859262447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914782976,"filename":"image_05122025_07_05_14_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e85041730ba154e286f6f99e30faa2bc.jpg","text":"TemporaryFile(/tmp/multipartBody7692394688650173496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914782976,"filename":"image_05122025_07_05_04_10438.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80c3c6ab982d348803bdcf1b66e28c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3931114306073152746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914782976,"filename":"image_05122025_07_04_44_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398037918","file1":"1398037845","file0":"1398037757"},"map_files_photo_id_array":[{"photo_id":"1398037918","filename":"file2"},{"photo_id":"1398037845","filename":"file1"},{"photo_id":"1398037757","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398037918":["hashtag1","hashtag2"]},{"1398037845":["hashtag1","hashtag2"]},{"1398037757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398037918, 1398037845, 1398037757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.150418996810913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:06:03.110505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/12/image_02122025_15_12_54_9699.jpg', '/home/pi/Desktop/images/02122025/15/12/image_02122025_15_13_05_10701.jpg', '/home/pi/Desktop/images/02122025/15/13/image_02122025_15_13_15_9672.jpg', '/home/pi/Desktop/images/02122025/15/13/image_02122025_15_13_25_9720.jpg', '/home/pi/Desktop/images/02122025/15/13/image_02122025_15_13_34_9753.jpg', '/home/pi/Desktop/images/02122025/15/13/image_02122025_15_13_45_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/12/image_02122025_15_12_54_9699.jpg
/home/pi/Desktop/images/02122025/15/12/image_02122025_15_13_05_10701.jpg
/home/pi/Desktop/images/02122025/15/13/image_02122025_15_13_15_9672.jpg
/home/pi/Desktop/images/02122025/15/13/image_02122025_15_13_25_9720.jpg
/home/pi/Desktop/images/02122025/15/13/image_02122025_15_13_34_9753.jpg
/home/pi/Desktop/images/02122025/15/13/image_02122025_15_13_45_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038232","1398038229","1398038297","1398038261","1398038234","1398038305"],"photo_ids_order":["1398038229","1398038232","1398038234","1398038261","1398038297","1398038305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c491bf4e560b1687a171097e62e4d75.jpg","text":"TemporaryFile(/tmp/multipartBody6912830769434593409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914824858,"filename":"image_02122025_15_13_05_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/5/0fefb0074d4fb576d9de1718078b9d23.jpg","text":"TemporaryFile(/tmp/multipartBody6222985117504535477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914824858,"filename":"image_02122025_15_12_54_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/5/f782bac6cc1ef8286c4c1c3d97e79a0f.jpg","text":"TemporaryFile(/tmp/multipartBody7894053790451974708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914824858,"filename":"image_02122025_15_13_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/5/dd2652c576cf441901cb6c3205c27fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7207146016012323935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914824858,"filename":"image_02122025_15_13_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/5/907dd30dfc2593b164c05cb5f9426b72.jpg","text":"TemporaryFile(/tmp/multipartBody3665159693156479086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914824858,"filename":"image_02122025_15_13_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/5/39f51cde2f386992ea65853902f9a0a6.jpg","text":"TemporaryFile(/tmp/multipartBody1679881192206071803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914824858,"filename":"image_02122025_15_13_45_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038234","file1":"1398038232","file0":"1398038229","file4":"1398038297","file5":"1398038305","file3":"1398038261"},"map_files_photo_id_array":[{"photo_id":"1398038305","filename":"file5"},{"photo_id":"1398038234","filename":"file2"},{"photo_id":"1398038297","filename":"file4"},{"photo_id":"1398038232","filename":"file1"},{"photo_id":"1398038229","filename":"file0"},{"photo_id":"1398038261","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398038232":["hashtag1","hashtag2"]},{"1398038229":["hashtag1","hashtag2"]},{"1398038297":["hashtag1","hashtag2"]},{"1398038261":["hashtag1","hashtag2"]},{"1398038234":["hashtag1","hashtag2"]},{"1398038305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398038232, 1398038229, 1398038297, 1398038261, 1398038234, 1398038305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88477897644043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:06:42.618359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_56_2585.jpg', '/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_59_2899.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_03_3687.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_06_2771.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_08_2575.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_12_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_56_2585.jpg
/home/pi/Desktop/images/31102025/18/50/image_31102025_18_50_59_2899.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_03_3687.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_06_2771.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_08_2575.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_12_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":["1398038484","1398038591","1398038522","1398038423","1398038618","1398038557"],"photo_ids_order":["1398038423","1398038484","1398038522","1398038557","1398038591","1398038618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43968f3d587d915db8e664bc64d271ce.jpg","text":"TemporaryFile(/tmp/multipartBody7324006676922318880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914864316,"filename":"image_31102025_18_50_59_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/5/782c4e8db9fa06edb75f4167b6638462.jpg","text":"TemporaryFile(/tmp/multipartBody5369673960552438554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914864316,"filename":"image_31102025_18_51_08_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/5/7a8c9721e8f27d486cbe61ed58b4382e.jpg","text":"TemporaryFile(/tmp/multipartBody704007854186092833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914864316,"filename":"image_31102025_18_51_03_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/efc6b4e2140382731a090dcc772302db.jpg","text":"TemporaryFile(/tmp/multipartBody6890974886744767515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914864316,"filename":"image_31102025_18_50_56_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/5/0a36a139a28a5613e414379dbb68cc8a.jpg","text":"TemporaryFile(/tmp/multipartBody215969403421533021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914864316,"filename":"image_31102025_18_51_12_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/5/0af3ffc507d75b918a3e27a4b2442460.jpg","text":"TemporaryFile(/tmp/multipartBody2973652714428685899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914864316,"filename":"image_31102025_18_51_06_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038522","file1":"1398038484","file0":"1398038423","file4":"1398038591","file5":"1398038618","file3":"1398038557"},"map_files_photo_id_array":[{"photo_id":"1398038618","filename":"file5"},{"photo_id":"1398038522","filename":"file2"},{"photo_id":"1398038591","filename":"file4"},{"photo_id":"1398038484","filename":"file1"},{"photo_id":"1398038423","filename":"file0"},{"photo_id":"1398038557","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398038484":["hashtag1","hashtag2"]},{"1398038591":["hashtag1","hashtag2"]},{"1398038522":["hashtag1","hashtag2"]},{"1398038423":["hashtag1","hashtag2"]},{"1398038618":["hashtag1","hashtag2"]},{"1398038557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398038484, 1398038591, 1398038522, 1398038423, 1398038618, 1398038557)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.62536144256592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:07:32.781509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/13/image_02122025_15_13_55_9822.jpg', '/home/pi/Desktop/images/02122025/15/13/image_02122025_15_14_05_9705.jpg', '/home/pi/Desktop/images/02122025/15/14/image_02122025_15_14_15_10590.jpg', '/home/pi/Desktop/images/02122025/15/14/image_02122025_15_14_25_9698.jpg', '/home/pi/Desktop/images/02122025/15/14/image_02122025_15_14_35_9763.jpg', '/home/pi/Desktop/images/02122025/15/14/image_02122025_15_14_55_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/13/image_02122025_15_13_55_9822.jpg
/home/pi/Desktop/images/02122025/15/13/image_02122025_15_14_05_9705.jpg
/home/pi/Desktop/images/02122025/15/14/image_02122025_15_14_15_10590.jpg
/home/pi/Desktop/images/02122025/15/14/image_02122025_15_14_25_9698.jpg
/home/pi/Desktop/images/02122025/15/14/image_02122025_15_14_35_9763.jpg
/home/pi/Desktop/images/02122025/15/14/image_02122025_15_14_55_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038694","1398038697","1398038706","1398038700","1398038692","1398038701"],"photo_ids_order":["1398038692","1398038694","1398038697","1398038700","1398038701","1398038706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e2029b659f3435e7ae8a99b481d626ab.jpg","text":"TemporaryFile(/tmp/multipartBody516475737100065466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914915097,"filename":"image_02122025_15_14_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/5/8b31f4127ab842a7b5007c71c370156e.jpg","text":"TemporaryFile(/tmp/multipartBody4224844136188759773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914915097,"filename":"image_02122025_15_14_15_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/5/cbd926ad50a55b12a420ed1838e05a15.jpg","text":"TemporaryFile(/tmp/multipartBody4423833318038013889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914915097,"filename":"image_02122025_15_14_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/5/8f0c641953938a781e96239cecab1108.jpg","text":"TemporaryFile(/tmp/multipartBody1450395115537997630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914915097,"filename":"image_02122025_15_14_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab1562905b227cf9358683e0e7f9d235.jpg","text":"TemporaryFile(/tmp/multipartBody7994399573152826289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914915097,"filename":"image_02122025_15_13_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/5/85638e6887c7532c68bf941a4d4c3f29.jpg","text":"TemporaryFile(/tmp/multipartBody2079161719984597045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914915097,"filename":"image_02122025_15_14_35_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038697","file1":"1398038694","file0":"1398038692","file4":"1398038701","file5":"1398038706","file3":"1398038700"},"map_files_photo_id_array":[{"photo_id":"1398038706","filename":"file5"},{"photo_id":"1398038697","filename":"file2"},{"photo_id":"1398038701","filename":"file4"},{"photo_id":"1398038694","filename":"file1"},{"photo_id":"1398038692","filename":"file0"},{"photo_id":"1398038700","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398038694":["hashtag1","hashtag2"]},{"1398038697":["hashtag1","hashtag2"]},{"1398038706":["hashtag1","hashtag2"]},{"1398038700":["hashtag1","hashtag2"]},{"1398038692":["hashtag1","hashtag2"]},{"1398038701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398038694, 1398038697, 1398038706, 1398038700, 1398038692, 1398038701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33623194694519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:08:21.972038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/05/image_05122025_07_05_44_10636.jpg', '/home/pi/Desktop/images/05122025/07/06/image_05122025_07_06_54_9669.jpg', '/home/pi/Desktop/images/05122025/07/07/image_05122025_07_07_13_9755.jpg', '/home/pi/Desktop/images/05122025/07/07/image_05122025_07_07_34_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/05/image_05122025_07_05_44_10636.jpg
/home/pi/Desktop/images/05122025/07/06/image_05122025_07_06_54_9669.jpg
/home/pi/Desktop/images/05122025/07/07/image_05122025_07_07_13_9755.jpg
/home/pi/Desktop/images/05122025/07/07/image_05122025_07_07_34_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038714","1398038717","1398038711","1398038719"],"photo_ids_order":["1398038711","1398038714","1398038717","1398038719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/febff713ab69fd560042ae19b4edb495.jpg","text":"TemporaryFile(/tmp/multipartBody2791897737144775886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914962614,"filename":"image_05122025_07_06_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/5/6e5f0c71331683e77a4db2020d4ae85b.jpg","text":"TemporaryFile(/tmp/multipartBody7718580872445626727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914962614,"filename":"image_05122025_07_07_13_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d082e8973996d01a173d58466f3dd103.jpg","text":"TemporaryFile(/tmp/multipartBody7970086826754496559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914962614,"filename":"image_05122025_07_05_44_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/5/636e25d94b8f028644fc8f12e30e44f4.jpg","text":"TemporaryFile(/tmp/multipartBody8276425790062707017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764914962614,"filename":"image_05122025_07_07_34_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038717","file1":"1398038714","file0":"1398038711","file3":"1398038719"},"map_files_photo_id_array":[{"photo_id":"1398038717","filename":"file2"},{"photo_id":"1398038714","filename":"file1"},{"photo_id":"1398038711","filename":"file0"},{"photo_id":"1398038719","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398038714":["hashtag1","hashtag2"]},{"1398038717":["hashtag1","hashtag2"]},{"1398038711":["hashtag1","hashtag2"]},{"1398038719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398038714, 1398038717, 1398038711, 1398038719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.965131998062134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:09:04.977793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 07:09:14.404886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/14/image_02122025_15_15_05_9671.jpg', '/home/pi/Desktop/images/02122025/15/15/image_02122025_15_15_14_9791.jpg', '/home/pi/Desktop/images/02122025/15/15/image_02122025_15_15_25_10611.jpg', '/home/pi/Desktop/images/02122025/15/15/image_02122025_15_15_35_9645.jpg', '/home/pi/Desktop/images/02122025/15/15/image_02122025_15_15_44_9641.jpg', '/home/pi/Desktop/images/02122025/15/15/image_02122025_15_15_55_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/14/image_02122025_15_15_05_9671.jpg
/home/pi/Desktop/images/02122025/15/15/image_02122025_15_15_14_9791.jpg
/home/pi/Desktop/images/02122025/15/15/image_02122025_15_15_25_10611.jpg
/home/pi/Desktop/images/02122025/15/15/image_02122025_15_15_35_9645.jpg
/home/pi/Desktop/images/02122025/15/15/image_02122025_15_15_44_9641.jpg
/home/pi/Desktop/images/02122025/15/15/image_02122025_15_15_55_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038736","1398038747","1398038741","1398038744","1398038738","1398038749"],"photo_ids_order":["1398038736","1398038738","1398038741","1398038744","1398038747","1398038749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/52ec28bca2554536974ef10e444fccef.jpg","text":"TemporaryFile(/tmp/multipartBody6566296929274076452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915017753,"filename":"image_02122025_15_15_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/5/fee8fa3cd6a7f8c19d2cf6d01683e9ed.jpg","text":"TemporaryFile(/tmp/multipartBody414490152402130676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915017753,"filename":"image_02122025_15_15_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/5/3c3dd1562e39c279f092e5c1d88a20a7.jpg","text":"TemporaryFile(/tmp/multipartBody6667189527169303794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915017753,"filename":"image_02122025_15_15_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/5/174b5808437def83e0ba6dc7f7119f1d.jpg","text":"TemporaryFile(/tmp/multipartBody8207595677962360651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915017753,"filename":"image_02122025_15_15_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/5/fd356a8ffc32b69b023cbcc17b6f9eba.jpg","text":"TemporaryFile(/tmp/multipartBody7595796511856034902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915017753,"filename":"image_02122025_15_15_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/5/5cf328aaf943d7cb1c062b7e4fe5c9c1.jpg","text":"TemporaryFile(/tmp/multipartBody1418761890818477552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915017753,"filename":"image_02122025_15_15_55_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038741","file1":"1398038738","file0":"1398038736","file4":"1398038747","file5":"1398038749","file3":"1398038744"},"map_files_photo_id_array":[{"photo_id":"1398038749","filename":"file5"},{"photo_id":"1398038741","filename":"file2"},{"photo_id":"1398038747","filename":"file4"},{"photo_id":"1398038738","filename":"file1"},{"photo_id":"1398038736","filename":"file0"},{"photo_id":"1398038744","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398038736":["hashtag1","hashtag2"]},{"1398038747":["hashtag1","hashtag2"]},{"1398038741":["hashtag1","hashtag2"]},{"1398038744":["hashtag1","hashtag2"]},{"1398038738":["hashtag1","hashtag2"]},{"1398038749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398038736, 1398038747, 1398038741, 1398038744, 1398038738, 1398038749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63007473945618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:10:03.023967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/08/image_05122025_07_08_44_9672.jpg', '/home/pi/Desktop/images/05122025/07/08/image_05122025_07_09_04_10736.jpg', '/home/pi/Desktop/images/05122025/07/09/image_05122025_07_09_24_9692.jpg', '/home/pi/Desktop/images/05122025/07/09/image_05122025_07_09_44_10775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/08/image_05122025_07_08_44_9672.jpg
/home/pi/Desktop/images/05122025/07/08/image_05122025_07_09_04_10736.jpg
/home/pi/Desktop/images/05122025/07/09/image_05122025_07_09_24_9692.jpg
/home/pi/Desktop/images/05122025/07/09/image_05122025_07_09_44_10775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038766","1398038769","1398038771","1398038770"],"photo_ids_order":["1398038766","1398038769","1398038770","1398038771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c8024d386b59073d4a395db0d11a442e.jpg","text":"TemporaryFile(/tmp/multipartBody2637672852816053158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915063738,"filename":"image_05122025_07_08_44_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/5/da6c50911dc71f64ed165ae0cecb9130.jpg","text":"TemporaryFile(/tmp/multipartBody2789801003200728494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915063738,"filename":"image_05122025_07_09_04_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/5/e944165e8171c72721ba7a75f171e9c5.jpg","text":"TemporaryFile(/tmp/multipartBody2379178424582767290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915063738,"filename":"image_05122025_07_09_44_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/5/3e7a25f5fb0b7c3cfe06a7dbbb0ba633.jpg","text":"TemporaryFile(/tmp/multipartBody5798466719781813281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915063738,"filename":"image_05122025_07_09_24_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038770","file1":"1398038769","file0":"1398038766","file3":"1398038771"},"map_files_photo_id_array":[{"photo_id":"1398038770","filename":"file2"},{"photo_id":"1398038769","filename":"file1"},{"photo_id":"1398038766","filename":"file0"},{"photo_id":"1398038771","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398038766":["hashtag1","hashtag2"]},{"1398038769":["hashtag1","hashtag2"]},{"1398038771":["hashtag1","hashtag2"]},{"1398038770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398038766, 1398038769, 1398038771, 1398038770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.217784643173218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:10:32.522802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/15/image_02122025_15_16_05_9746.jpg', '/home/pi/Desktop/images/02122025/15/16/image_02122025_15_16_14_9684.jpg', '/home/pi/Desktop/images/02122025/15/16/image_02122025_15_16_25_10715.jpg', '/home/pi/Desktop/images/02122025/15/16/image_02122025_15_16_35_9709.jpg', '/home/pi/Desktop/images/02122025/15/16/image_02122025_15_16_44_9627.jpg', '/home/pi/Desktop/images/02122025/15/16/image_02122025_15_16_55_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/15/image_02122025_15_16_05_9746.jpg
/home/pi/Desktop/images/02122025/15/16/image_02122025_15_16_14_9684.jpg
/home/pi/Desktop/images/02122025/15/16/image_02122025_15_16_25_10715.jpg
/home/pi/Desktop/images/02122025/15/16/image_02122025_15_16_35_9709.jpg
/home/pi/Desktop/images/02122025/15/16/image_02122025_15_16_44_9627.jpg
/home/pi/Desktop/images/02122025/15/16/image_02122025_15_16_55_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038793","1398038781","1398038778","1398038795","1398038791","1398038794"],"photo_ids_order":["1398038778","1398038781","1398038791","1398038793","1398038794","1398038795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/025589b485f65cd2374784b8a66f3649.jpg","text":"TemporaryFile(/tmp/multipartBody938825086971894700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915094792,"filename":"image_02122025_15_16_35_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b944afaa20f52151c60f923b78087ba.jpg","text":"TemporaryFile(/tmp/multipartBody7386163360959439901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915094792,"filename":"image_02122025_15_16_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/5/4e85a683e8e7ddfc977b43c16661dac5.jpg","text":"TemporaryFile(/tmp/multipartBody9173641243877223245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915094792,"filename":"image_02122025_15_16_05_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/5/153b6248a9d30e8b097da0836db3c4bd.jpg","text":"TemporaryFile(/tmp/multipartBody4195730182095600315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915094792,"filename":"image_02122025_15_16_55_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8665ce4b730a8b4674ae255ed9815b4c.jpg","text":"TemporaryFile(/tmp/multipartBody1131758121254657322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915094792,"filename":"image_02122025_15_16_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/5/ca4f561407412a2b6ec3dad6c93fca51.jpg","text":"TemporaryFile(/tmp/multipartBody5394309679980024659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915094792,"filename":"image_02122025_15_16_44_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038791","file1":"1398038781","file0":"1398038778","file4":"1398038794","file5":"1398038795","file3":"1398038793"},"map_files_photo_id_array":[{"photo_id":"1398038795","filename":"file5"},{"photo_id":"1398038791","filename":"file2"},{"photo_id":"1398038794","filename":"file4"},{"photo_id":"1398038781","filename":"file1"},{"photo_id":"1398038778","filename":"file0"},{"photo_id":"1398038793","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398038793":["hashtag1","hashtag2"]},{"1398038781":["hashtag1","hashtag2"]},{"1398038778":["hashtag1","hashtag2"]},{"1398038795":["hashtag1","hashtag2"]},{"1398038791":["hashtag1","hashtag2"]},{"1398038794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398038793, 1398038781, 1398038778, 1398038795, 1398038791, 1398038794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.097742319107056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:11:12.635593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/16/image_02122025_15_17_05_9842.jpg', '/home/pi/Desktop/images/02122025/15/17/image_02122025_15_17_15_9678.jpg', '/home/pi/Desktop/images/02122025/15/17/image_02122025_15_17_24_9714.jpg', '/home/pi/Desktop/images/02122025/15/17/image_02122025_15_17_35_10680.jpg', '/home/pi/Desktop/images/02122025/15/17/image_02122025_15_17_45_10046.jpg', '/home/pi/Desktop/images/02122025/15/17/image_02122025_15_17_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/16/image_02122025_15_17_05_9842.jpg
/home/pi/Desktop/images/02122025/15/17/image_02122025_15_17_15_9678.jpg
/home/pi/Desktop/images/02122025/15/17/image_02122025_15_17_24_9714.jpg
/home/pi/Desktop/images/02122025/15/17/image_02122025_15_17_35_10680.jpg
/home/pi/Desktop/images/02122025/15/17/image_02122025_15_17_45_10046.jpg
/home/pi/Desktop/images/02122025/15/17/image_02122025_15_17_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":["1398038811","1398038813","1398038804","1398038806","1398038815","1398038809"],"photo_ids_order":["1398038804","1398038806","1398038809","1398038811","1398038813","1398038815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/44eb284e36026016b868fbff7160710d.jpg","text":"TemporaryFile(/tmp/multipartBody7157660827150134782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915134790,"filename":"image_02122025_15_17_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/5/4f134e84ba72e4654718dc100f3dc44d.jpg","text":"TemporaryFile(/tmp/multipartBody1938429040192258095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915134790,"filename":"image_02122025_15_17_45_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/98883648c0171de94386decb68b62c0d.jpg","text":"TemporaryFile(/tmp/multipartBody2811065141958956400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915134790,"filename":"image_02122025_15_17_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/5/2e96d7316db0f75f27561c821ba99f49.jpg","text":"TemporaryFile(/tmp/multipartBody104253439373736668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915134790,"filename":"image_02122025_15_17_15_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/5/a3f01304dd76034f1f06edb471ab196c.jpg","text":"TemporaryFile(/tmp/multipartBody2058869617273705771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915134790,"filename":"image_02122025_15_17_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/5/8eb2da971424549c22cc78d749d8d198.jpg","text":"TemporaryFile(/tmp/multipartBody4604288433587084067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915134790,"filename":"image_02122025_15_17_24_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038809","file1":"1398038806","file0":"1398038804","file4":"1398038813","file5":"1398038815","file3":"1398038811"},"map_files_photo_id_array":[{"photo_id":"1398038815","filename":"file5"},{"photo_id":"1398038809","filename":"file2"},{"photo_id":"1398038813","filename":"file4"},{"photo_id":"1398038806","filename":"file1"},{"photo_id":"1398038804","filename":"file0"},{"photo_id":"1398038811","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398038811":["hashtag1","hashtag2"]},{"1398038813":["hashtag1","hashtag2"]},{"1398038804":["hashtag1","hashtag2"]},{"1398038806":["hashtag1","hashtag2"]},{"1398038815":["hashtag1","hashtag2"]},{"1398038809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398038811, 1398038813, 1398038804, 1398038806, 1398038815, 1398038809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06080079078674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:12:02.359539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 07:12:11.804072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/17/image_02122025_15_18_05_9798.jpg', '/home/pi/Desktop/images/02122025/15/18/image_02122025_15_18_15_10597.jpg', '/home/pi/Desktop/images/02122025/15/18/image_02122025_15_18_25_9632.jpg', '/home/pi/Desktop/images/02122025/15/18/image_02122025_15_18_34_9735.jpg', '/home/pi/Desktop/images/02122025/15/18/image_02122025_15_18_45_10643.jpg', '/home/pi/Desktop/images/02122025/15/18/image_02122025_15_18_55_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/17/image_02122025_15_18_05_9798.jpg
/home/pi/Desktop/images/02122025/15/18/image_02122025_15_18_15_10597.jpg
/home/pi/Desktop/images/02122025/15/18/image_02122025_15_18_25_9632.jpg
/home/pi/Desktop/images/02122025/15/18/image_02122025_15_18_34_9735.jpg
/home/pi/Desktop/images/02122025/15/18/image_02122025_15_18_45_10643.jpg
/home/pi/Desktop/images/02122025/15/18/image_02122025_15_18_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":["1398038826","1398038831","1398038840","1398038822","1398038842","1398038824"],"photo_ids_order":["1398038822","1398038824","1398038826","1398038831","1398038840","1398038842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/720da38fac6b905f78387d93f55f57f1.jpg","text":"TemporaryFile(/tmp/multipartBody897189149673116677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915193663,"filename":"image_02122025_15_18_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/5/540d472dce438457860ff50dceefa1df.jpg","text":"TemporaryFile(/tmp/multipartBody2649942497021892064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915193663,"filename":"image_02122025_15_18_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/5/dea4059305862d388d0a24cd30fc6b56.jpg","text":"TemporaryFile(/tmp/multipartBody3848853317235203810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915193663,"filename":"image_02122025_15_18_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/5/3713b80f94a8cc65efa092f303336c64.jpg","text":"TemporaryFile(/tmp/multipartBody3309147533830751131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915193663,"filename":"image_02122025_15_18_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/5/a9cb8c7d2455d1b2d8cbf0246e583e3f.jpg","text":"TemporaryFile(/tmp/multipartBody2940016434944119816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915193663,"filename":"image_02122025_15_18_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/5/2171222c28856c7f64d79a7fe77ad547.jpg","text":"TemporaryFile(/tmp/multipartBody2782110011268646464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915193663,"filename":"image_02122025_15_18_15_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038826","file1":"1398038824","file0":"1398038822","file4":"1398038840","file5":"1398038842","file3":"1398038831"},"map_files_photo_id_array":[{"photo_id":"1398038842","filename":"file5"},{"photo_id":"1398038826","filename":"file2"},{"photo_id":"1398038840","filename":"file4"},{"photo_id":"1398038824","filename":"file1"},{"photo_id":"1398038822","filename":"file0"},{"photo_id":"1398038831","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398038826":["hashtag1","hashtag2"]},{"1398038831":["hashtag1","hashtag2"]},{"1398038840":["hashtag1","hashtag2"]},{"1398038822":["hashtag1","hashtag2"]},{"1398038842":["hashtag1","hashtag2"]},{"1398038824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398038826, 1398038831, 1398038840, 1398038822, 1398038842, 1398038824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86178517341614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:13:02.907205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/09/image_05122025_07_09_54_9641.jpg', '/home/pi/Desktop/images/05122025/07/09/image_05122025_07_10_04_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/09/image_05122025_07_09_54_9641.jpg
/home/pi/Desktop/images/05122025/07/09/image_05122025_07_10_04_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038868","1398038870"],"photo_ids_order":["1398038868","1398038870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ae860250a6da4471f7da9339e89d2b3e.jpg","text":"TemporaryFile(/tmp/multipartBody8677765712835727302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915243498,"filename":"image_05122025_07_09_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/5/123cfcf1b11822f6e0c6f618be5f58d1.jpg","text":"TemporaryFile(/tmp/multipartBody4405509509908032989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915243498,"filename":"image_05122025_07_10_04_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398038870","file0":"1398038868"},"map_files_photo_id_array":[{"photo_id":"1398038870","filename":"file1"},{"photo_id":"1398038868","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398038868":["hashtag1","hashtag2"]},{"1398038870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398038868, 1398038870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.17922806739807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:13:22.165393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/11/image_05122025_07_12_04_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/11/image_05122025_07_12_04_9847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038874"],"photo_id":"1398038874","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6ca4cf7939bd60fcd0e2db8d1e341b33.jpg","text":"TemporaryFile(/tmp/multipartBody5715764165544887680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915262673,"filename":"image_05122025_07_12_04_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398038874"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398038874"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.103229761123657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:13:42.135421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_15_2686.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_17_2571.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_21_3783.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_23_2584.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_30_3749.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_32_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_15_2686.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_17_2571.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_21_3783.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_23_2584.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_30_3749.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_32_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":["1398038880","1398038879","1398038881","1398038884","1398038895","1398038898"],"photo_ids_order":["1398038879","1398038880","1398038881","1398038884","1398038895","1398038898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23293fbdf68169a7a376864b06e2bc10.jpg","text":"TemporaryFile(/tmp/multipartBody1350223256065800880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915283821,"filename":"image_31102025_18_51_17_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/5/92c7a03f7cb94525dbc6202d32f6cf5e.jpg","text":"TemporaryFile(/tmp/multipartBody8830727075933450749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915283821,"filename":"image_31102025_18_51_15_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/5/64ecb0537e6b27cf69375edafec78eec.jpg","text":"TemporaryFile(/tmp/multipartBody9107029202053028837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915283821,"filename":"image_31102025_18_51_21_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9310e3714de50462f055b4f5b4454a63.jpg","text":"TemporaryFile(/tmp/multipartBody4498238963166235386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915283821,"filename":"image_31102025_18_51_23_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/32d50e5f07860342732ab3e902988592.jpg","text":"TemporaryFile(/tmp/multipartBody377895960258928308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915283821,"filename":"image_31102025_18_51_30_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/5/eba057928c70927e699e209333efd0af.jpg","text":"TemporaryFile(/tmp/multipartBody3878332341535271416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915283821,"filename":"image_31102025_18_51_32_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038881","file1":"1398038880","file0":"1398038879","file4":"1398038895","file5":"1398038898","file3":"1398038884"},"map_files_photo_id_array":[{"photo_id":"1398038898","filename":"file5"},{"photo_id":"1398038881","filename":"file2"},{"photo_id":"1398038895","filename":"file4"},{"photo_id":"1398038880","filename":"file1"},{"photo_id":"1398038879","filename":"file0"},{"photo_id":"1398038884","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398038880":["hashtag1","hashtag2"]},{"1398038879":["hashtag1","hashtag2"]},{"1398038881":["hashtag1","hashtag2"]},{"1398038884":["hashtag1","hashtag2"]},{"1398038895":["hashtag1","hashtag2"]},{"1398038898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398038880, 1398038879, 1398038881, 1398038884, 1398038895, 1398038898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67408776283264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:14:22.394630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/13/image_05122025_07_13_34_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/13/image_05122025_07_13_34_10655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038921"],"photo_id":"1398038921","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f1d455f36ce69c117082aa8954714c3.jpg","text":"TemporaryFile(/tmp/multipartBody5790454798400431609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915322953,"filename":"image_05122025_07_13_34_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398038921"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398038921"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.486491918563843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:14:42.403020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_39_3699.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_41_2566.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_44_2536.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_48_3557.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_56_3551.jpg', '/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_59_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_39_3699.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_41_2566.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_44_2536.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_48_3557.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_56_3551.jpg
/home/pi/Desktop/images/31102025/18/51/image_31102025_18_51_59_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038940","1398038943","1398038942","1398038941","1398038935","1398038944"],"photo_ids_order":["1398038935","1398038940","1398038941","1398038942","1398038943","1398038944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/29665d3a13905496b561ab49603258b5.jpg","text":"TemporaryFile(/tmp/multipartBody8607422261324212245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915344014,"filename":"image_31102025_18_51_41_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/5/34aa68397f7abe3b9e0d2db42bf6aefa.jpg","text":"TemporaryFile(/tmp/multipartBody5653633728659628496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915344014,"filename":"image_31102025_18_51_56_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/5/51dc65aac246c378e5f4e6dbef15dedd.jpg","text":"TemporaryFile(/tmp/multipartBody5599081061217598119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915344014,"filename":"image_31102025_18_51_48_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/5/9d106349a3eed2502fafb1973331832a.jpg","text":"TemporaryFile(/tmp/multipartBody6659523662729223433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915344014,"filename":"image_31102025_18_51_44_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/5/c1e1bb1f8649b0d25b42cb6b5e313735.jpg","text":"TemporaryFile(/tmp/multipartBody5603740712496658246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915344014,"filename":"image_31102025_18_51_39_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/5/4b4d752d97f4ce942bedf20e62e89e27.jpg","text":"TemporaryFile(/tmp/multipartBody3721004738963041348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915344014,"filename":"image_31102025_18_51_59_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398038941","file1":"1398038940","file0":"1398038935","file4":"1398038943","file5":"1398038944","file3":"1398038942"},"map_files_photo_id_array":[{"photo_id":"1398038944","filename":"file5"},{"photo_id":"1398038941","filename":"file2"},{"photo_id":"1398038943","filename":"file4"},{"photo_id":"1398038940","filename":"file1"},{"photo_id":"1398038935","filename":"file0"},{"photo_id":"1398038942","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398038940":["hashtag1","hashtag2"]},{"1398038943":["hashtag1","hashtag2"]},{"1398038942":["hashtag1","hashtag2"]},{"1398038941":["hashtag1","hashtag2"]},{"1398038935":["hashtag1","hashtag2"]},{"1398038944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398038940, 1398038943, 1398038942, 1398038941, 1398038935, 1398038944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.153876543045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:15:22.554539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/13/image_05122025_07_14_03_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/13/image_05122025_07_14_03_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398038950"],"photo_id":"1398038950","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/144a23167cf37fa787668fde201846a5.jpg","text":"TemporaryFile(/tmp/multipartBody1982736793041859847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915383044,"filename":"image_05122025_07_14_03_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398038950"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398038950"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.238412380218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:15:42.607091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_05_2655.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_08_2681.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_12_3722.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_14_2668.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_20_2717.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_24_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_05_2655.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_08_2681.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_12_3722.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_14_2668.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_20_2717.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_24_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":["1398039092","1398039095","1398039094","1398039082","1398039093","1398039096"],"photo_ids_order":["1398039082","1398039092","1398039093","1398039094","1398039095","1398039096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9664f9415e1407d1de521abe0d1a465a.jpg","text":"TemporaryFile(/tmp/multipartBody5842269001676279609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915404296,"filename":"image_31102025_18_52_08_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/5/03ea39a63f87c9c335ec903484d7afc6.jpg","text":"TemporaryFile(/tmp/multipartBody5595066824878127280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915404296,"filename":"image_31102025_18_52_20_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/5/f030be60b5314e07c656b151c80ebe7d.jpg","text":"TemporaryFile(/tmp/multipartBody7777578332501733736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915404296,"filename":"image_31102025_18_52_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/5/27a1d2d0a0be145db3164aa878f38723.jpg","text":"TemporaryFile(/tmp/multipartBody3518857384936216257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915404296,"filename":"image_31102025_18_52_05_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/5/edb558fb780af8185958cbdcb1a4cce5.jpg","text":"TemporaryFile(/tmp/multipartBody8720505656768058552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915404296,"filename":"image_31102025_18_52_12_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d3841de0c1bd09f6e2ea972e3e8d2f2.jpg","text":"TemporaryFile(/tmp/multipartBody4339042136683314536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915404296,"filename":"image_31102025_18_52_24_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039093","file1":"1398039092","file0":"1398039082","file4":"1398039095","file5":"1398039096","file3":"1398039094"},"map_files_photo_id_array":[{"photo_id":"1398039096","filename":"file5"},{"photo_id":"1398039093","filename":"file2"},{"photo_id":"1398039095","filename":"file4"},{"photo_id":"1398039092","filename":"file1"},{"photo_id":"1398039082","filename":"file0"},{"photo_id":"1398039094","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398039092":["hashtag1","hashtag2"]},{"1398039095":["hashtag1","hashtag2"]},{"1398039094":["hashtag1","hashtag2"]},{"1398039082":["hashtag1","hashtag2"]},{"1398039093":["hashtag1","hashtag2"]},{"1398039096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398039092, 1398039095, 1398039094, 1398039082, 1398039093, 1398039096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17608642578125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:16:22.910626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_26_2779.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_29_2831.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_33_3541.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_35_2711.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_38_2594.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_44_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_26_2779.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_29_2831.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_33_3541.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_35_2711.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_38_2594.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_44_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":["1398039114","1398039105","1398039107","1398039116","1398039118","1398039109"],"photo_ids_order":["1398039105","1398039107","1398039109","1398039114","1398039116","1398039118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/11ca7b9454221cdbca16d15d8504aa1c.jpg","text":"TemporaryFile(/tmp/multipartBody7827832624308197624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915444557,"filename":"image_31102025_18_52_35_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/5/548eed5d1fe732d8743780833d6c4b62.jpg","text":"TemporaryFile(/tmp/multipartBody535610084017224819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915444557,"filename":"image_31102025_18_52_26_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7098389050a8419ea18bc704f17ad495.jpg","text":"TemporaryFile(/tmp/multipartBody945698586080671604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915444557,"filename":"image_31102025_18_52_29_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f950e780e1523ce24e195c0cfb9e474.jpg","text":"TemporaryFile(/tmp/multipartBody6766641632860593137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915444557,"filename":"image_31102025_18_52_38_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/5/3c506bc42428e977b89355eb0f0cd3bd.jpg","text":"TemporaryFile(/tmp/multipartBody4515161081967778882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915444557,"filename":"image_31102025_18_52_44_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c8791367e718c4e98ab79adabcf9c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4615790060921819812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915444557,"filename":"image_31102025_18_52_33_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039109","file1":"1398039107","file0":"1398039105","file4":"1398039116","file5":"1398039118","file3":"1398039114"},"map_files_photo_id_array":[{"photo_id":"1398039118","filename":"file5"},{"photo_id":"1398039109","filename":"file2"},{"photo_id":"1398039116","filename":"file4"},{"photo_id":"1398039107","filename":"file1"},{"photo_id":"1398039105","filename":"file0"},{"photo_id":"1398039114","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398039114":["hashtag1","hashtag2"]},{"1398039105":["hashtag1","hashtag2"]},{"1398039107":["hashtag1","hashtag2"]},{"1398039116":["hashtag1","hashtag2"]},{"1398039118":["hashtag1","hashtag2"]},{"1398039109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398039114, 1398039105, 1398039107, 1398039116, 1398039118, 1398039109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15133023262024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:17:02.713688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/18/image_02122025_15_19_05_9880.jpg', '/home/pi/Desktop/images/02122025/15/19/image_02122025_15_19_14_9604.jpg', '/home/pi/Desktop/images/02122025/15/19/image_02122025_15_19_25_10741.jpg', '/home/pi/Desktop/images/02122025/15/19/image_02122025_15_19_35_9745.jpg', '/home/pi/Desktop/images/02122025/15/19/image_02122025_15_19_45_9808.jpg', '/home/pi/Desktop/images/02122025/15/19/image_02122025_15_19_54_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/18/image_02122025_15_19_05_9880.jpg
/home/pi/Desktop/images/02122025/15/19/image_02122025_15_19_14_9604.jpg
/home/pi/Desktop/images/02122025/15/19/image_02122025_15_19_25_10741.jpg
/home/pi/Desktop/images/02122025/15/19/image_02122025_15_19_35_9745.jpg
/home/pi/Desktop/images/02122025/15/19/image_02122025_15_19_45_9808.jpg
/home/pi/Desktop/images/02122025/15/19/image_02122025_15_19_54_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039132","1398039126","1398039135","1398039128","1398039130","1398039124"],"photo_ids_order":["1398039124","1398039126","1398039128","1398039130","1398039132","1398039135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d21543a52579e80cf21a8e1f1d93c284.jpg","text":"TemporaryFile(/tmp/multipartBody7104361857970939696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915484516,"filename":"image_02122025_15_19_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/5/c441f60cd1d4db263c5c58f67c4b8cd1.jpg","text":"TemporaryFile(/tmp/multipartBody6611173103917224401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915484516,"filename":"image_02122025_15_19_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/5/561e9ed7dbcf338ca6f02312c8b45dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6769323526231283555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915484516,"filename":"image_02122025_15_19_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/5/9d811332af315474b73730508c5ac3fe.jpg","text":"TemporaryFile(/tmp/multipartBody7237648411129569826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915484516,"filename":"image_02122025_15_19_25_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/5/599cc2c1ea26d7b5a0c7c4be706ed410.jpg","text":"TemporaryFile(/tmp/multipartBody1542691719333865469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915484516,"filename":"image_02122025_15_19_35_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/55e31779acdfdfd7644756ea943ebf8b.jpg","text":"TemporaryFile(/tmp/multipartBody2731534143465513541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915484516,"filename":"image_02122025_15_19_05_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039128","file1":"1398039126","file0":"1398039124","file4":"1398039132","file5":"1398039135","file3":"1398039130"},"map_files_photo_id_array":[{"photo_id":"1398039135","filename":"file5"},{"photo_id":"1398039128","filename":"file2"},{"photo_id":"1398039132","filename":"file4"},{"photo_id":"1398039126","filename":"file1"},{"photo_id":"1398039124","filename":"file0"},{"photo_id":"1398039130","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039132":["hashtag1","hashtag2"]},{"1398039126":["hashtag1","hashtag2"]},{"1398039135":["hashtag1","hashtag2"]},{"1398039128":["hashtag1","hashtag2"]},{"1398039130":["hashtag1","hashtag2"]},{"1398039124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039132, 1398039126, 1398039135, 1398039128, 1398039130, 1398039124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57787847518921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:18:02.612080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/14/image_05122025_07_15_04_9643.jpg', '/home/pi/Desktop/images/05122025/07/16/image_05122025_07_17_04_9714.jpg', '/home/pi/Desktop/images/05122025/07/17/image_05122025_07_17_14_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/14/image_05122025_07_15_04_9643.jpg
/home/pi/Desktop/images/05122025/07/16/image_05122025_07_17_04_9714.jpg
/home/pi/Desktop/images/05122025/07/17/image_05122025_07_17_14_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":["1398039141","1398039149","1398039154"],"photo_ids_order":["1398039141","1398039149","1398039154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d3dcff52bc4c34b9e8fadc335372b0e.jpg","text":"TemporaryFile(/tmp/multipartBody3972836664986937669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915543232,"filename":"image_05122025_07_15_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/5/3460fb72e6c65a40affae0021be1bdd7.jpg","text":"TemporaryFile(/tmp/multipartBody1147990177505649213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915543232,"filename":"image_05122025_07_17_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/929e552cebdbb5692828c79ed719639f.jpg","text":"TemporaryFile(/tmp/multipartBody2019654356679051595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915543232,"filename":"image_05122025_07_17_14_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039154","file1":"1398039149","file0":"1398039141"},"map_files_photo_id_array":[{"photo_id":"1398039154","filename":"file2"},{"photo_id":"1398039149","filename":"file1"},{"photo_id":"1398039141","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398039141":["hashtag1","hashtag2"]},{"1398039149":["hashtag1","hashtag2"]},{"1398039154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398039141, 1398039149, 1398039154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.795358896255493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:18:32.304559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/19/image_02122025_15_20_05_10721.jpg', '/home/pi/Desktop/images/02122025/15/20/image_02122025_15_20_15_9621.jpg', '/home/pi/Desktop/images/02122025/15/20/image_02122025_15_20_25_9899.jpg', '/home/pi/Desktop/images/02122025/15/20/image_02122025_15_20_34_9613.jpg', '/home/pi/Desktop/images/02122025/15/20/image_02122025_15_20_45_10658.jpg', '/home/pi/Desktop/images/02122025/15/20/image_02122025_15_20_55_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/19/image_02122025_15_20_05_10721.jpg
/home/pi/Desktop/images/02122025/15/20/image_02122025_15_20_15_9621.jpg
/home/pi/Desktop/images/02122025/15/20/image_02122025_15_20_25_9899.jpg
/home/pi/Desktop/images/02122025/15/20/image_02122025_15_20_34_9613.jpg
/home/pi/Desktop/images/02122025/15/20/image_02122025_15_20_45_10658.jpg
/home/pi/Desktop/images/02122025/15/20/image_02122025_15_20_55_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":["1398039176","1398039161","1398039179","1398039164","1398039178","1398039172"],"photo_ids_order":["1398039161","1398039164","1398039172","1398039176","1398039178","1398039179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf0a149da95f9d4f7184b86fa31e9dfb.jpg","text":"TemporaryFile(/tmp/multipartBody5130098932070330898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915574551,"filename":"image_02122025_15_20_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/70cd810ae975bc71fcda82d58a36eb9b.jpg","text":"TemporaryFile(/tmp/multipartBody8967472372466160224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915574551,"filename":"image_02122025_15_20_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/5/75726f8729fcd47faae158618b2d547a.jpg","text":"TemporaryFile(/tmp/multipartBody8651649396954977107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915574551,"filename":"image_02122025_15_20_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/5/6a96790d708e14fb6fecb37eb1c843e7.jpg","text":"TemporaryFile(/tmp/multipartBody7011257952941885320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915574551,"filename":"image_02122025_15_20_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/5/bc3585263344d66d794c1837eeee720b.jpg","text":"TemporaryFile(/tmp/multipartBody6846327511482934344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915574551,"filename":"image_02122025_15_20_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/5/152bcb5d8afe3c69f1b3add56a453062.jpg","text":"TemporaryFile(/tmp/multipartBody5398175067377242488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915574551,"filename":"image_02122025_15_20_25_9899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039172","file1":"1398039164","file0":"1398039161","file4":"1398039178","file5":"1398039179","file3":"1398039176"},"map_files_photo_id_array":[{"photo_id":"1398039179","filename":"file5"},{"photo_id":"1398039172","filename":"file2"},{"photo_id":"1398039178","filename":"file4"},{"photo_id":"1398039164","filename":"file1"},{"photo_id":"1398039161","filename":"file0"},{"photo_id":"1398039176","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039176":["hashtag1","hashtag2"]},{"1398039161":["hashtag1","hashtag2"]},{"1398039179":["hashtag1","hashtag2"]},{"1398039164":["hashtag1","hashtag2"]},{"1398039178":["hashtag1","hashtag2"]},{"1398039172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039176, 1398039161, 1398039179, 1398039164, 1398039178, 1398039172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52751564979553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:19:12.348880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/20/image_02122025_15_21_04_9616.jpg', '/home/pi/Desktop/images/02122025/15/21/image_02122025_15_21_15_10675.jpg', '/home/pi/Desktop/images/02122025/15/21/image_02122025_15_21_24_9572.jpg', '/home/pi/Desktop/images/02122025/15/21/image_02122025_15_21_34_9932.jpg', '/home/pi/Desktop/images/02122025/15/21/image_02122025_15_21_45_10740.jpg', '/home/pi/Desktop/images/02122025/15/21/image_02122025_15_21_55_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/20/image_02122025_15_21_04_9616.jpg
/home/pi/Desktop/images/02122025/15/21/image_02122025_15_21_15_10675.jpg
/home/pi/Desktop/images/02122025/15/21/image_02122025_15_21_24_9572.jpg
/home/pi/Desktop/images/02122025/15/21/image_02122025_15_21_34_9932.jpg
/home/pi/Desktop/images/02122025/15/21/image_02122025_15_21_45_10740.jpg
/home/pi/Desktop/images/02122025/15/21/image_02122025_15_21_55_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039213","1398039207","1398039204","1398039215","1398039211","1398039198"],"photo_ids_order":["1398039198","1398039204","1398039207","1398039211","1398039213","1398039215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2caf91201f9f0c0ad3265711a6cd6e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5017804914866652042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915614431,"filename":"image_02122025_15_21_45_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7e667ed97cc30d1f0d15610544b74001.jpg","text":"TemporaryFile(/tmp/multipartBody5233963773143148345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915614431,"filename":"image_02122025_15_21_24_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/5/32bf8a57d36ef6b6acf753064a565a48.jpg","text":"TemporaryFile(/tmp/multipartBody1381777829368620550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915614431,"filename":"image_02122025_15_21_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/5/fa73cdd9f2597d9d4fe456d8ef710c0f.jpg","text":"TemporaryFile(/tmp/multipartBody1942954768116645025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915614431,"filename":"image_02122025_15_21_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/5/dc376fa3de646df038b1f13f4ccb90fb.jpg","text":"TemporaryFile(/tmp/multipartBody7969278603006839901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915614431,"filename":"image_02122025_15_21_34_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/5/bf7f77710cfd88b81688676c453d4abb.jpg","text":"TemporaryFile(/tmp/multipartBody7960213051195312893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915614431,"filename":"image_02122025_15_21_04_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039207","file1":"1398039204","file0":"1398039198","file4":"1398039213","file5":"1398039215","file3":"1398039211"},"map_files_photo_id_array":[{"photo_id":"1398039215","filename":"file5"},{"photo_id":"1398039207","filename":"file2"},{"photo_id":"1398039213","filename":"file4"},{"photo_id":"1398039204","filename":"file1"},{"photo_id":"1398039198","filename":"file0"},{"photo_id":"1398039211","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039213":["hashtag1","hashtag2"]},{"1398039207":["hashtag1","hashtag2"]},{"1398039204":["hashtag1","hashtag2"]},{"1398039215":["hashtag1","hashtag2"]},{"1398039211":["hashtag1","hashtag2"]},{"1398039198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039213, 1398039207, 1398039204, 1398039215, 1398039211, 1398039198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43990468978882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:20:03.078321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/21/image_02122025_15_22_05_9786.jpg', '/home/pi/Desktop/images/02122025/15/22/image_02122025_15_22_14_9883.jpg', '/home/pi/Desktop/images/02122025/15/22/image_02122025_15_22_25_10640.jpg', '/home/pi/Desktop/images/02122025/15/22/image_02122025_15_22_35_9531.jpg', '/home/pi/Desktop/images/02122025/15/22/image_02122025_15_22_44_9644.jpg', '/home/pi/Desktop/images/02122025/15/22/image_02122025_15_22_55_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/21/image_02122025_15_22_05_9786.jpg
/home/pi/Desktop/images/02122025/15/22/image_02122025_15_22_14_9883.jpg
/home/pi/Desktop/images/02122025/15/22/image_02122025_15_22_25_10640.jpg
/home/pi/Desktop/images/02122025/15/22/image_02122025_15_22_35_9531.jpg
/home/pi/Desktop/images/02122025/15/22/image_02122025_15_22_44_9644.jpg
/home/pi/Desktop/images/02122025/15/22/image_02122025_15_22_55_10581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039234","1398039228","1398039236","1398039230","1398039232","1398039226"],"photo_ids_order":["1398039226","1398039228","1398039230","1398039232","1398039234","1398039236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/243bbb048c16de53ecd7d5898b6e3bbb.jpg","text":"TemporaryFile(/tmp/multipartBody6342915524697568892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915664727,"filename":"image_02122025_15_22_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/5/ecb112b53132d16dbb81c405097598a6.jpg","text":"TemporaryFile(/tmp/multipartBody3730979469309121448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915664727,"filename":"image_02122025_15_22_14_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/5/22331c66dd2531e543eb0da981f24090.jpg","text":"TemporaryFile(/tmp/multipartBody2061005447198231938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915664727,"filename":"image_02122025_15_22_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/5/576d34815799d2f981cabf9231d53752.jpg","text":"TemporaryFile(/tmp/multipartBody30292881465846880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915664727,"filename":"image_02122025_15_22_25_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/5/bb17ab2968be287a882455bc9320f9ee.jpg","text":"TemporaryFile(/tmp/multipartBody937797493689148517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915664727,"filename":"image_02122025_15_22_35_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/5/f5e829098cdd5fa342783c456b5c55ac.jpg","text":"TemporaryFile(/tmp/multipartBody1476922348658326342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915664727,"filename":"image_02122025_15_22_05_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039230","file1":"1398039228","file0":"1398039226","file4":"1398039234","file5":"1398039236","file3":"1398039232"},"map_files_photo_id_array":[{"photo_id":"1398039236","filename":"file5"},{"photo_id":"1398039230","filename":"file2"},{"photo_id":"1398039234","filename":"file4"},{"photo_id":"1398039228","filename":"file1"},{"photo_id":"1398039226","filename":"file0"},{"photo_id":"1398039232","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039234":["hashtag1","hashtag2"]},{"1398039228":["hashtag1","hashtag2"]},{"1398039236":["hashtag1","hashtag2"]},{"1398039230":["hashtag1","hashtag2"]},{"1398039232":["hashtag1","hashtag2"]},{"1398039226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039234, 1398039228, 1398039236, 1398039230, 1398039232, 1398039226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6214759349823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:20:42.753398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_47_2687.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_50_3531.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_53_2767.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_56_2828.jpg', '/home/pi/Desktop/images/31102025/18/52/image_31102025_18_53_00_3643.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_02_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_47_2687.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_50_3531.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_53_2767.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_52_56_2828.jpg
/home/pi/Desktop/images/31102025/18/52/image_31102025_18_53_00_3643.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_02_2755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039252","1398039254","1398039257","1398039256","1398039255","1398039258"],"photo_ids_order":["1398039252","1398039254","1398039255","1398039256","1398039257","1398039258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/41da319b57c6c921b4c50e629a0fdd85.jpg","text":"TemporaryFile(/tmp/multipartBody8070196869901781371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915704445,"filename":"image_31102025_18_52_47_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/5/ed3e78364794179192062c1b0558ab12.jpg","text":"TemporaryFile(/tmp/multipartBody8476245380652067509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915704445,"filename":"image_31102025_18_52_50_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8a3f5a192412261c3dcfa40c7ee55913.jpg","text":"TemporaryFile(/tmp/multipartBody4431826153636654278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915704445,"filename":"image_31102025_18_53_00_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/5/08af3d9e369d80f8a2e7c90109c78c79.jpg","text":"TemporaryFile(/tmp/multipartBody1645667326244219195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915704445,"filename":"image_31102025_18_52_56_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/5/07c8fde13e50e101f43d963435cde40e.jpg","text":"TemporaryFile(/tmp/multipartBody3320303645761282686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915704445,"filename":"image_31102025_18_52_53_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/5/28d9dd57ee309868d3a52b442ed6da75.jpg","text":"TemporaryFile(/tmp/multipartBody2924660798511491157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915704445,"filename":"image_31102025_18_53_02_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039255","file1":"1398039254","file0":"1398039252","file4":"1398039257","file5":"1398039258","file3":"1398039256"},"map_files_photo_id_array":[{"photo_id":"1398039258","filename":"file5"},{"photo_id":"1398039255","filename":"file2"},{"photo_id":"1398039257","filename":"file4"},{"photo_id":"1398039254","filename":"file1"},{"photo_id":"1398039252","filename":"file0"},{"photo_id":"1398039256","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398039252":["hashtag1","hashtag2"]},{"1398039254":["hashtag1","hashtag2"]},{"1398039257":["hashtag1","hashtag2"]},{"1398039256":["hashtag1","hashtag2"]},{"1398039255":["hashtag1","hashtag2"]},{"1398039258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398039252, 1398039254, 1398039257, 1398039256, 1398039255, 1398039258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.922693967819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:21:21.928333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_05_2595.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_09_3583.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_11_2693.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_14_2752.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_17_2717.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_23_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_05_2595.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_09_3583.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_11_2693.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_14_2752.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_17_2717.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_23_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039267","1398039269","1398039271","1398039265","1398039274","1398039264"],"photo_ids_order":["1398039264","1398039265","1398039267","1398039269","1398039271","1398039274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/81fdf01f5e14b3cf52f60b22a0ce72c6.jpg","text":"TemporaryFile(/tmp/multipartBody6973073637917462825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915743632,"filename":"image_31102025_18_53_11_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/5/9ab3af3772e29895cdc9ce3214dbfd82.jpg","text":"TemporaryFile(/tmp/multipartBody7277453765788106223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915743632,"filename":"image_31102025_18_53_14_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23a0099a5b36fa0a2803eda495fb0721.jpg","text":"TemporaryFile(/tmp/multipartBody3459910927769541811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915743632,"filename":"image_31102025_18_53_17_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/5/5740afafc5c5a6e9c92665d9d3f2dff3.jpg","text":"TemporaryFile(/tmp/multipartBody3370500947878118828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915743632,"filename":"image_31102025_18_53_09_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/5/9c825bdd4428f86d4db6786f3d1d7660.jpg","text":"TemporaryFile(/tmp/multipartBody6204252030419485477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915743632,"filename":"image_31102025_18_53_23_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/5/2c4bd7bca237f10810901066e7e18146.jpg","text":"TemporaryFile(/tmp/multipartBody5688255866678063636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915743632,"filename":"image_31102025_18_53_05_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039267","file1":"1398039265","file0":"1398039264","file4":"1398039271","file5":"1398039274","file3":"1398039269"},"map_files_photo_id_array":[{"photo_id":"1398039274","filename":"file5"},{"photo_id":"1398039267","filename":"file2"},{"photo_id":"1398039271","filename":"file4"},{"photo_id":"1398039265","filename":"file1"},{"photo_id":"1398039264","filename":"file0"},{"photo_id":"1398039269","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398039267":["hashtag1","hashtag2"]},{"1398039269":["hashtag1","hashtag2"]},{"1398039271":["hashtag1","hashtag2"]},{"1398039265":["hashtag1","hashtag2"]},{"1398039274":["hashtag1","hashtag2"]},{"1398039264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398039267, 1398039269, 1398039271, 1398039265, 1398039274, 1398039264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94550275802612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:22:02.575989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/22/image_02122025_15_23_05_9621.jpg', '/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_14_9742.jpg', '/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_35_9618.jpg', '/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_44_9547.jpg', '/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_55_10644.jpg', '/home/pi/Desktop/images/02122025/15/23/image_02122025_15_24_05_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/22/image_02122025_15_23_05_9621.jpg
/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_14_9742.jpg
/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_35_9618.jpg
/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_44_9547.jpg
/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_55_10644.jpg
/home/pi/Desktop/images/02122025/15/23/image_02122025_15_24_05_9643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5223355293273926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:22:12.037278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/22/image_02122025_15_23_05_9621.jpg', '/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_14_9742.jpg', '/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_35_9618.jpg', '/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_44_9547.jpg', '/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_55_10644.jpg', '/home/pi/Desktop/images/02122025/15/23/image_02122025_15_24_05_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/22/image_02122025_15_23_05_9621.jpg
/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_14_9742.jpg
/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_35_9618.jpg
/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_44_9547.jpg
/home/pi/Desktop/images/02122025/15/23/image_02122025_15_23_55_10644.jpg
/home/pi/Desktop/images/02122025/15/23/image_02122025_15_24_05_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":["1398039290","1398039289","1398039292","1398039294","1398039282","1398039285"],"photo_ids_order":["1398039282","1398039285","1398039289","1398039290","1398039292","1398039294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80d4b9df2b969c174665f17737b38191.jpg","text":"TemporaryFile(/tmp/multipartBody1442004173624510269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915794070,"filename":"image_02122025_15_23_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/5/1b7631f196a0c2abb12b7adddb468ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5987501521146835255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915794070,"filename":"image_02122025_15_23_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/5/04e597c46cdac968434045d78d42d117.jpg","text":"TemporaryFile(/tmp/multipartBody4825810873683800678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915794070,"filename":"image_02122025_15_23_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/5/d496e4e3feeaa204e8e86505597f779e.jpg","text":"TemporaryFile(/tmp/multipartBody6570745134522070783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915794070,"filename":"image_02122025_15_24_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/5/f642d804ca61291c3ffb535446ff0406.jpg","text":"TemporaryFile(/tmp/multipartBody5283898220127157563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915794070,"filename":"image_02122025_15_23_05_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/5/bbf0a265c2b787eaa3092271b22c5ee0.jpg","text":"TemporaryFile(/tmp/multipartBody6219972298922583861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915794070,"filename":"image_02122025_15_23_14_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039289","file1":"1398039285","file0":"1398039282","file4":"1398039292","file5":"1398039294","file3":"1398039290"},"map_files_photo_id_array":[{"photo_id":"1398039294","filename":"file5"},{"photo_id":"1398039289","filename":"file2"},{"photo_id":"1398039292","filename":"file4"},{"photo_id":"1398039285","filename":"file1"},{"photo_id":"1398039282","filename":"file0"},{"photo_id":"1398039290","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039290":["hashtag1","hashtag2"]},{"1398039289":["hashtag1","hashtag2"]},{"1398039292":["hashtag1","hashtag2"]},{"1398039294":["hashtag1","hashtag2"]},{"1398039282":["hashtag1","hashtag2"]},{"1398039285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039290, 1398039289, 1398039292, 1398039294, 1398039282, 1398039285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.601073026657104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:23:03.018948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/24/image_02122025_15_24_14_9666.jpg', '/home/pi/Desktop/images/02122025/15/24/image_02122025_15_24_35_9591.jpg', '/home/pi/Desktop/images/02122025/15/24/image_02122025_15_24_44_9717.jpg', '/home/pi/Desktop/images/02122025/15/24/image_02122025_15_25_05_9619.jpg', '/home/pi/Desktop/images/02122025/15/25/image_02122025_15_25_14_9689.jpg', '/home/pi/Desktop/images/02122025/15/25/image_02122025_15_25_25_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/24/image_02122025_15_24_14_9666.jpg
/home/pi/Desktop/images/02122025/15/24/image_02122025_15_24_35_9591.jpg
/home/pi/Desktop/images/02122025/15/24/image_02122025_15_24_44_9717.jpg
/home/pi/Desktop/images/02122025/15/24/image_02122025_15_25_05_9619.jpg
/home/pi/Desktop/images/02122025/15/25/image_02122025_15_25_14_9689.jpg
/home/pi/Desktop/images/02122025/15/25/image_02122025_15_25_25_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":["1398039324","1398039329","1398039320","1398039326","1398039331","1398039322"],"photo_ids_order":["1398039320","1398039322","1398039324","1398039326","1398039329","1398039331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4e795fc8d816c293d058b0c35ca2c792.jpg","text":"TemporaryFile(/tmp/multipartBody7693180946034504071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915844602,"filename":"image_02122025_15_24_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/5/c8f20f92c053f6206621e5d74dcd3715.jpg","text":"TemporaryFile(/tmp/multipartBody2167830271460426998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915844602,"filename":"image_02122025_15_25_14_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/5/89c6eaae1eae945612dad47f02cb9dc9.jpg","text":"TemporaryFile(/tmp/multipartBody901868030542152177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915844602,"filename":"image_02122025_15_24_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c9053b2cf2475e6e073765ffb65ea35.jpg","text":"TemporaryFile(/tmp/multipartBody4021787688177577593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915844602,"filename":"image_02122025_15_25_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/5/0c7a227e5d1c6c3d427e18bfdbf7e64d.jpg","text":"TemporaryFile(/tmp/multipartBody2975531784768472678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915844602,"filename":"image_02122025_15_25_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/5/c5c0ccc807f287b031a9d84968372445.jpg","text":"TemporaryFile(/tmp/multipartBody7014660418858762152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915844602,"filename":"image_02122025_15_24_35_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039324","file1":"1398039322","file0":"1398039320","file4":"1398039329","file5":"1398039331","file3":"1398039326"},"map_files_photo_id_array":[{"photo_id":"1398039331","filename":"file5"},{"photo_id":"1398039324","filename":"file2"},{"photo_id":"1398039329","filename":"file4"},{"photo_id":"1398039322","filename":"file1"},{"photo_id":"1398039320","filename":"file0"},{"photo_id":"1398039326","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039324":["hashtag1","hashtag2"]},{"1398039329":["hashtag1","hashtag2"]},{"1398039320":["hashtag1","hashtag2"]},{"1398039326":["hashtag1","hashtag2"]},{"1398039331":["hashtag1","hashtag2"]},{"1398039322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039324, 1398039329, 1398039320, 1398039326, 1398039331, 1398039322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.509238719940186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:23:42.373298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_29_3639.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_32_2712.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_35_2618.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_38_3565.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_41_2681.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_44_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_29_3639.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_32_2712.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_35_2618.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_38_3565.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_41_2681.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_44_3536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039351","1398039359","1398039352","1398039337","1398039354","1398039357"],"photo_ids_order":["1398039337","1398039351","1398039352","1398039354","1398039357","1398039359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6e235af06136e9b8503e8b4c585c3ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6484083966066181721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915884013,"filename":"image_31102025_18_53_32_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/5/9a46e76329da0333aada6d1d1cab27f9.jpg","text":"TemporaryFile(/tmp/multipartBody6299567972655563593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915884013,"filename":"image_31102025_18_53_44_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d218c9f62e674ec47510137fe4bc31bb.jpg","text":"TemporaryFile(/tmp/multipartBody4446546324004387256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915884013,"filename":"image_31102025_18_53_35_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/5/ed57571b18e8d0c46609cfa93e9c63cd.jpg","text":"TemporaryFile(/tmp/multipartBody458718496845252290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915884013,"filename":"image_31102025_18_53_29_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/27715c5ea66c65c64266ea7b18515683.jpg","text":"TemporaryFile(/tmp/multipartBody6836429420960590705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915884013,"filename":"image_31102025_18_53_38_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/5/1a290e54f1e2286e31d0cecd28a169a6.jpg","text":"TemporaryFile(/tmp/multipartBody1497884876150642385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915884013,"filename":"image_31102025_18_53_41_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039352","file1":"1398039351","file0":"1398039337","file4":"1398039357","file5":"1398039359","file3":"1398039354"},"map_files_photo_id_array":[{"photo_id":"1398039359","filename":"file5"},{"photo_id":"1398039352","filename":"file2"},{"photo_id":"1398039357","filename":"file4"},{"photo_id":"1398039351","filename":"file1"},{"photo_id":"1398039337","filename":"file0"},{"photo_id":"1398039354","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398039351":["hashtag1","hashtag2"]},{"1398039359":["hashtag1","hashtag2"]},{"1398039352":["hashtag1","hashtag2"]},{"1398039337":["hashtag1","hashtag2"]},{"1398039354":["hashtag1","hashtag2"]},{"1398039357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398039351, 1398039359, 1398039352, 1398039337, 1398039354, 1398039357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07736611366272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:24:22.632924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/17/image_05122025_07_17_44_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/17/image_05122025_07_17_44_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039365"],"photo_id":"1398039365","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/332ca7952ba44632468c9cc44789e5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4130770967244782560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915923144,"filename":"image_05122025_07_17_44_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398039365"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398039365"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.964356422424316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:24:42.522132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_47_2716.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_50_2642.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_53_3654.jpg', '/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_59_2624.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_03_3745.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_05_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_47_2716.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_50_2642.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_53_3654.jpg
/home/pi/Desktop/images/31102025/18/53/image_31102025_18_53_59_2624.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_03_3745.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_05_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398039405","1398039383","1398039380","1398039382","1398039381","1398039378"],"photo_ids_order":["1398039378","1398039380","1398039381","1398039382","1398039383","1398039405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/42c87278e56b4f63bc11933840320a76.jpg","text":"TemporaryFile(/tmp/multipartBody5299278267865428252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915944138,"filename":"image_31102025_18_54_05_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/5/b597f49db661f1b53d02f4e24b704df6.jpg","text":"TemporaryFile(/tmp/multipartBody1692425339601836804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915944138,"filename":"image_31102025_18_54_03_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/5/10e765b18b75dc1912317d39ec6402bd.jpg","text":"TemporaryFile(/tmp/multipartBody4137856196156751252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915944138,"filename":"image_31102025_18_53_50_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4708bf5ff1f3940ced663528e7367aec.jpg","text":"TemporaryFile(/tmp/multipartBody1416262727167174282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915944138,"filename":"image_31102025_18_53_59_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/5/bb61ad34dd4744e016faa52ce8362172.jpg","text":"TemporaryFile(/tmp/multipartBody5519787819282987997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915944138,"filename":"image_31102025_18_53_53_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/5/62c96ca859858ab7e517e9cb346cc0d7.jpg","text":"TemporaryFile(/tmp/multipartBody2724919244033120161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915944138,"filename":"image_31102025_18_53_47_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039381","file1":"1398039380","file0":"1398039378","file4":"1398039383","file5":"1398039405","file3":"1398039382"},"map_files_photo_id_array":[{"photo_id":"1398039405","filename":"file5"},{"photo_id":"1398039381","filename":"file2"},{"photo_id":"1398039383","filename":"file4"},{"photo_id":"1398039380","filename":"file1"},{"photo_id":"1398039378","filename":"file0"},{"photo_id":"1398039382","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398039405":["hashtag1","hashtag2"]},{"1398039383":["hashtag1","hashtag2"]},{"1398039380":["hashtag1","hashtag2"]},{"1398039382":["hashtag1","hashtag2"]},{"1398039381":["hashtag1","hashtag2"]},{"1398039378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398039405, 1398039383, 1398039380, 1398039382, 1398039381, 1398039378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.227699518203735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:25:32.784765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/25/image_02122025_15_25_54_9835.jpg', '/home/pi/Desktop/images/02122025/15/26/image_02122025_15_26_45_10512.jpg', '/home/pi/Desktop/images/02122025/15/26/image_02122025_15_26_54_9606.jpg', '/home/pi/Desktop/images/02122025/15/26/image_02122025_15_27_05_10684.jpg', '/home/pi/Desktop/images/02122025/15/27/image_02122025_15_27_15_9662.jpg', '/home/pi/Desktop/images/02122025/15/28/image_02122025_15_28_55_10531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/25/image_02122025_15_25_54_9835.jpg
/home/pi/Desktop/images/02122025/15/26/image_02122025_15_26_45_10512.jpg
/home/pi/Desktop/images/02122025/15/26/image_02122025_15_26_54_9606.jpg
/home/pi/Desktop/images/02122025/15/26/image_02122025_15_27_05_10684.jpg
/home/pi/Desktop/images/02122025/15/27/image_02122025_15_27_15_9662.jpg
/home/pi/Desktop/images/02122025/15/28/image_02122025_15_28_55_10531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039444","1398039452","1398039446","1398039449","1398039451","1398039453"],"photo_ids_order":["1398039444","1398039446","1398039449","1398039451","1398039452","1398039453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ca2ab430ef163d85c79a3016cdf2b306.jpg","text":"TemporaryFile(/tmp/multipartBody5790558363840367597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915994985,"filename":"image_02122025_15_25_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/5/7c62c19d0e589d3ee99415498865dd33.jpg","text":"TemporaryFile(/tmp/multipartBody6666868158676879097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915994985,"filename":"image_02122025_15_27_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/5/910cd03f7360300ebbe24b7c2078ac41.jpg","text":"TemporaryFile(/tmp/multipartBody6904630670974359759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915994985,"filename":"image_02122025_15_26_45_10512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/62bcef118aa4a0089a93d62ee423d25b.jpg","text":"TemporaryFile(/tmp/multipartBody2560251236115257259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915994985,"filename":"image_02122025_15_26_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/643c060915b87f49a28ecbf5cf15dd37.jpg","text":"TemporaryFile(/tmp/multipartBody4309364106461397993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915994985,"filename":"image_02122025_15_27_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/5/8e58be2f5728bd34554a2f50a04c233d.jpg","text":"TemporaryFile(/tmp/multipartBody5624282438752644959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764915994985,"filename":"image_02122025_15_28_55_10531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039449","file1":"1398039446","file0":"1398039444","file4":"1398039452","file5":"1398039453","file3":"1398039451"},"map_files_photo_id_array":[{"photo_id":"1398039453","filename":"file5"},{"photo_id":"1398039449","filename":"file2"},{"photo_id":"1398039452","filename":"file4"},{"photo_id":"1398039446","filename":"file1"},{"photo_id":"1398039444","filename":"file0"},{"photo_id":"1398039451","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039444":["hashtag1","hashtag2"]},{"1398039452":["hashtag1","hashtag2"]},{"1398039446":["hashtag1","hashtag2"]},{"1398039449":["hashtag1","hashtag2"]},{"1398039451":["hashtag1","hashtag2"]},{"1398039453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039444, 1398039452, 1398039446, 1398039449, 1398039451, 1398039453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20015525817871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:26:21.845131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/24/image_05122025_07_24_54_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/24/image_05122025_07_24_54_10694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039522"],"photo_id":"1398039522","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4925e2e0f67e1daac6658409a070fb7b.jpg","text":"TemporaryFile(/tmp/multipartBody2503015640042243594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916042350,"filename":"image_05122025_07_24_54_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398039522"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398039522"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.652132034301758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:26:41.955353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_08_2594.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_11_3627.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_17_2717.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_20_3672.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_23_2740.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_26_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_08_2594.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_11_3627.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_17_2717.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_20_3672.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_23_2740.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_26_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":["1398039683","1398039644","1398039676","1398039643","1398039672","1398039675"],"photo_ids_order":["1398039643","1398039644","1398039672","1398039675","1398039676","1398039683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/015265a55849550e19435bbecb4e1e4d.jpg","text":"TemporaryFile(/tmp/multipartBody1290966503834662005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916063597,"filename":"image_31102025_18_54_26_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/5/6a652fbe515dc206ad531d4fd4a62194.jpg","text":"TemporaryFile(/tmp/multipartBody8468825108432737007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916063597,"filename":"image_31102025_18_54_11_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/5/5bf531d0daece232bf6a5bd024bc2dbd.jpg","text":"TemporaryFile(/tmp/multipartBody1917633660152087294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916063597,"filename":"image_31102025_18_54_23_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/5/df78cd4c3662a6eecacc69254517c8ac.jpg","text":"TemporaryFile(/tmp/multipartBody678926144052786404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916063597,"filename":"image_31102025_18_54_08_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/5/874a95b04388534a2e095e0bb1be810a.jpg","text":"TemporaryFile(/tmp/multipartBody4554925831264438665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916063597,"filename":"image_31102025_18_54_17_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/5/50a26b7152c8e680035d944d7b138245.jpg","text":"TemporaryFile(/tmp/multipartBody3156006612006687859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916063597,"filename":"image_31102025_18_54_20_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039672","file1":"1398039644","file0":"1398039643","file4":"1398039676","file5":"1398039683","file3":"1398039675"},"map_files_photo_id_array":[{"photo_id":"1398039683","filename":"file5"},{"photo_id":"1398039672","filename":"file2"},{"photo_id":"1398039676","filename":"file4"},{"photo_id":"1398039644","filename":"file1"},{"photo_id":"1398039643","filename":"file0"},{"photo_id":"1398039675","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398039683":["hashtag1","hashtag2"]},{"1398039644":["hashtag1","hashtag2"]},{"1398039676":["hashtag1","hashtag2"]},{"1398039643":["hashtag1","hashtag2"]},{"1398039672":["hashtag1","hashtag2"]},{"1398039675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398039683, 1398039644, 1398039676, 1398039643, 1398039672, 1398039675)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.39089632034302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:27:32.210434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/28/image_02122025_15_29_05_9699.jpg', '/home/pi/Desktop/images/02122025/15/29/image_02122025_15_29_15_9717.jpg', '/home/pi/Desktop/images/02122025/15/29/image_02122025_15_29_24_9766.jpg', '/home/pi/Desktop/images/02122025/15/29/image_02122025_15_29_35_10768.jpg', '/home/pi/Desktop/images/02122025/15/29/image_02122025_15_29_54_9644.jpg', '/home/pi/Desktop/images/02122025/15/30/image_02122025_15_30_26_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/28/image_02122025_15_29_05_9699.jpg
/home/pi/Desktop/images/02122025/15/29/image_02122025_15_29_15_9717.jpg
/home/pi/Desktop/images/02122025/15/29/image_02122025_15_29_24_9766.jpg
/home/pi/Desktop/images/02122025/15/29/image_02122025_15_29_35_10768.jpg
/home/pi/Desktop/images/02122025/15/29/image_02122025_15_29_54_9644.jpg
/home/pi/Desktop/images/02122025/15/30/image_02122025_15_30_26_10769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039791","1398039794","1398039797","1398039796","1398039789","1398039777"],"photo_ids_order":["1398039777","1398039789","1398039791","1398039794","1398039796","1398039797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/02170e27166b1d12af6d705add380494.jpg","text":"TemporaryFile(/tmp/multipartBody4412157992951265392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916114333,"filename":"image_02122025_15_29_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/5/77e3d675ebf669772e0a9715035e7362.jpg","text":"TemporaryFile(/tmp/multipartBody2798640068640848899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916114333,"filename":"image_02122025_15_29_35_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/804c7188647a92aa738b3bbf95074569.jpg","text":"TemporaryFile(/tmp/multipartBody1772523633552912712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916114333,"filename":"image_02122025_15_30_26_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/5/fc451ace1d1a00aebc11cfe89452ad18.jpg","text":"TemporaryFile(/tmp/multipartBody2550282487857784957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916114333,"filename":"image_02122025_15_29_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/5/97f9eb257085d8d2825bbc3ba5c417bb.jpg","text":"TemporaryFile(/tmp/multipartBody4383303879062148980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916114333,"filename":"image_02122025_15_29_15_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8636d8dd834b8c469ed617744008574e.jpg","text":"TemporaryFile(/tmp/multipartBody6248835568045841159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916114333,"filename":"image_02122025_15_29_05_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039791","file1":"1398039789","file0":"1398039777","file4":"1398039796","file5":"1398039797","file3":"1398039794"},"map_files_photo_id_array":[{"photo_id":"1398039797","filename":"file5"},{"photo_id":"1398039791","filename":"file2"},{"photo_id":"1398039796","filename":"file4"},{"photo_id":"1398039789","filename":"file1"},{"photo_id":"1398039777","filename":"file0"},{"photo_id":"1398039794","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039791":["hashtag1","hashtag2"]},{"1398039794":["hashtag1","hashtag2"]},{"1398039797":["hashtag1","hashtag2"]},{"1398039796":["hashtag1","hashtag2"]},{"1398039789":["hashtag1","hashtag2"]},{"1398039777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039791, 1398039794, 1398039797, 1398039796, 1398039789, 1398039777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56603384017944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:28:12.438792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/30/image_02122025_15_30_35_9649.jpg', '/home/pi/Desktop/images/02122025/15/30/image_02122025_15_30_45_9546.jpg', '/home/pi/Desktop/images/02122025/15/31/image_02122025_15_31_36_9686.jpg', '/home/pi/Desktop/images/02122025/15/31/image_02122025_15_31_45_9771.jpg', '/home/pi/Desktop/images/02122025/15/31/image_02122025_15_31_55_9646.jpg', '/home/pi/Desktop/images/02122025/15/31/image_02122025_15_32_06_10813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/30/image_02122025_15_30_35_9649.jpg
/home/pi/Desktop/images/02122025/15/30/image_02122025_15_30_45_9546.jpg
/home/pi/Desktop/images/02122025/15/31/image_02122025_15_31_36_9686.jpg
/home/pi/Desktop/images/02122025/15/31/image_02122025_15_31_45_9771.jpg
/home/pi/Desktop/images/02122025/15/31/image_02122025_15_31_55_9646.jpg
/home/pi/Desktop/images/02122025/15/31/image_02122025_15_32_06_10813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039807","1398039804","1398039815","1398039817","1398039811","1398039814"],"photo_ids_order":["1398039804","1398039807","1398039811","1398039814","1398039815","1398039817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d2ac5bf1869afac26ff47d7df3486d85.jpg","text":"TemporaryFile(/tmp/multipartBody3683471965994076997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916154511,"filename":"image_02122025_15_30_45_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/5/4acd81ef769f1a9f86d2595fe05c4a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8109637705288729727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916154511,"filename":"image_02122025_15_30_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/5/b58bbc35cb6fd9f431bedea99ad17fe0.jpg","text":"TemporaryFile(/tmp/multipartBody6391301376546002323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916154511,"filename":"image_02122025_15_31_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20f0dfadbeee2e75575cc5290650971a.jpg","text":"TemporaryFile(/tmp/multipartBody6017980256029323575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916154511,"filename":"image_02122025_15_32_06_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/5/922ffd0268bbadd764c8870387d036ed.jpg","text":"TemporaryFile(/tmp/multipartBody5103366120159266434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916154511,"filename":"image_02122025_15_31_36_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/5/4aba458affb1a9b36b6bf3a60344e52a.jpg","text":"TemporaryFile(/tmp/multipartBody4519756097727650538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916154511,"filename":"image_02122025_15_31_45_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039811","file1":"1398039807","file0":"1398039804","file4":"1398039815","file5":"1398039817","file3":"1398039814"},"map_files_photo_id_array":[{"photo_id":"1398039817","filename":"file5"},{"photo_id":"1398039811","filename":"file2"},{"photo_id":"1398039815","filename":"file4"},{"photo_id":"1398039807","filename":"file1"},{"photo_id":"1398039804","filename":"file0"},{"photo_id":"1398039814","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039807":["hashtag1","hashtag2"]},{"1398039804":["hashtag1","hashtag2"]},{"1398039815":["hashtag1","hashtag2"]},{"1398039817":["hashtag1","hashtag2"]},{"1398039811":["hashtag1","hashtag2"]},{"1398039814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039807, 1398039804, 1398039815, 1398039817, 1398039811, 1398039814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39330458641052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:29:03.752221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/32/image_02122025_15_32_15_9592.jpg', '/home/pi/Desktop/images/02122025/15/32/image_02122025_15_32_46_9840.jpg', '/home/pi/Desktop/images/02122025/15/33/image_02122025_15_33_16_10642.jpg', '/home/pi/Desktop/images/02122025/15/33/image_02122025_15_33_35_9905.jpg', '/home/pi/Desktop/images/02122025/15/33/image_02122025_15_33_46_10773.jpg', '/home/pi/Desktop/images/02122025/15/33/image_02122025_15_33_56_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/32/image_02122025_15_32_15_9592.jpg
/home/pi/Desktop/images/02122025/15/32/image_02122025_15_32_46_9840.jpg
/home/pi/Desktop/images/02122025/15/33/image_02122025_15_33_16_10642.jpg
/home/pi/Desktop/images/02122025/15/33/image_02122025_15_33_35_9905.jpg
/home/pi/Desktop/images/02122025/15/33/image_02122025_15_33_46_10773.jpg
/home/pi/Desktop/images/02122025/15/33/image_02122025_15_33_56_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":["1398039828","1398039839","1398039830","1398039835","1398039832","1398039825"],"photo_ids_order":["1398039825","1398039828","1398039830","1398039832","1398039835","1398039839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c306d6c596ec9820a9f185a4d9f9e38.jpg","text":"TemporaryFile(/tmp/multipartBody5545168936401480206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916205517,"filename":"image_02122025_15_32_46_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/5/53fb46962714a2cb3dd25cd1184ba196.jpg","text":"TemporaryFile(/tmp/multipartBody2356674808247360457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916205517,"filename":"image_02122025_15_33_56_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/5/92c220cef5aec57241ab0156a577c48d.jpg","text":"TemporaryFile(/tmp/multipartBody6733182723647143454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916205517,"filename":"image_02122025_15_33_16_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/5/45a16a9fc4a06f2496e990cea0e0d638.jpg","text":"TemporaryFile(/tmp/multipartBody4604573027834072524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916205517,"filename":"image_02122025_15_33_46_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/5/8f2cbbb9cc4e8cd7dc6ca26ac3afba90.jpg","text":"TemporaryFile(/tmp/multipartBody8709754269350397347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916205517,"filename":"image_02122025_15_33_35_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/5/89679348d6a2d2125c3c372b7e1b2f70.jpg","text":"TemporaryFile(/tmp/multipartBody7756237252427957590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916205517,"filename":"image_02122025_15_32_15_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039830","file1":"1398039828","file0":"1398039825","file4":"1398039835","file5":"1398039839","file3":"1398039832"},"map_files_photo_id_array":[{"photo_id":"1398039839","filename":"file5"},{"photo_id":"1398039830","filename":"file2"},{"photo_id":"1398039835","filename":"file4"},{"photo_id":"1398039828","filename":"file1"},{"photo_id":"1398039825","filename":"file0"},{"photo_id":"1398039832","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039828":["hashtag1","hashtag2"]},{"1398039839":["hashtag1","hashtag2"]},{"1398039830":["hashtag1","hashtag2"]},{"1398039835":["hashtag1","hashtag2"]},{"1398039832":["hashtag1","hashtag2"]},{"1398039825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039828, 1398039839, 1398039830, 1398039835, 1398039832, 1398039825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68989610671997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:29:42.743437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_32_2486.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_35_2796.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_38_3548.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_41_2616.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_47_3601.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_50_2959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_32_2486.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_35_2796.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_38_3548.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_41_2616.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_47_3601.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_50_2959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039855","1398039849","1398039854","1398039857","1398039856","1398039858"],"photo_ids_order":["1398039849","1398039854","1398039855","1398039856","1398039857","1398039858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf673683ca32f1b218b8676a8a34bbe2.jpg","text":"TemporaryFile(/tmp/multipartBody7194176103376160437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916244366,"filename":"image_31102025_18_54_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/5/9f84e53ff3530660f0b1b090ad446301.jpg","text":"TemporaryFile(/tmp/multipartBody6757614925579478962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916244366,"filename":"image_31102025_18_54_32_2486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d78504acef1d2a31f17aff0e1da59ed.jpg","text":"TemporaryFile(/tmp/multipartBody1674295841016283491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916244366,"filename":"image_31102025_18_54_35_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f88178f8e0a6c3e571dcc280dacd1d5.jpg","text":"TemporaryFile(/tmp/multipartBody2026213435024597896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916244366,"filename":"image_31102025_18_54_47_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/5/b0f39f5a2c44106e73f970ed9387b267.jpg","text":"TemporaryFile(/tmp/multipartBody3994113881158829642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916244366,"filename":"image_31102025_18_54_41_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/5/3ec86edf128571ba0d999a50673b4ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7872029075001478133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916244366,"filename":"image_31102025_18_54_50_2959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039855","file1":"1398039854","file0":"1398039849","file4":"1398039857","file5":"1398039858","file3":"1398039856"},"map_files_photo_id_array":[{"photo_id":"1398039858","filename":"file5"},{"photo_id":"1398039855","filename":"file2"},{"photo_id":"1398039857","filename":"file4"},{"photo_id":"1398039854","filename":"file1"},{"photo_id":"1398039849","filename":"file0"},{"photo_id":"1398039856","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398039855":["hashtag1","hashtag2"]},{"1398039849":["hashtag1","hashtag2"]},{"1398039854":["hashtag1","hashtag2"]},{"1398039857":["hashtag1","hashtag2"]},{"1398039856":["hashtag1","hashtag2"]},{"1398039858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398039855, 1398039849, 1398039854, 1398039857, 1398039856, 1398039858)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.64839744567871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:30:31.942179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/33/image_02122025_15_34_05_9708.jpg', '/home/pi/Desktop/images/02122025/15/34/image_02122025_15_34_45_9633.jpg', '/home/pi/Desktop/images/02122025/15/34/image_02122025_15_34_56_10626.jpg', '/home/pi/Desktop/images/02122025/15/34/image_02122025_15_35_05_9668.jpg', '/home/pi/Desktop/images/02122025/15/35/image_02122025_15_35_45_9687.jpg', '/home/pi/Desktop/images/02122025/15/35/image_02122025_15_36_05_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/33/image_02122025_15_34_05_9708.jpg
/home/pi/Desktop/images/02122025/15/34/image_02122025_15_34_45_9633.jpg
/home/pi/Desktop/images/02122025/15/34/image_02122025_15_34_56_10626.jpg
/home/pi/Desktop/images/02122025/15/34/image_02122025_15_35_05_9668.jpg
/home/pi/Desktop/images/02122025/15/35/image_02122025_15_35_45_9687.jpg
/home/pi/Desktop/images/02122025/15/35/image_02122025_15_36_05_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":["1398039878","1398039866","1398039877","1398039871","1398039874","1398039879"],"photo_ids_order":["1398039866","1398039871","1398039874","1398039877","1398039878","1398039879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8ec910f25fe6d9292e9e222dcd4d1b96.jpg","text":"TemporaryFile(/tmp/multipartBody3829824801590338420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916294154,"filename":"image_02122025_15_35_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/5/577c0773de8448b5f74f56366a64beed.jpg","text":"TemporaryFile(/tmp/multipartBody2472950911184758765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916294154,"filename":"image_02122025_15_34_05_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/5/547dd8ed4a2e95b3165409d4b8be90a0.jpg","text":"TemporaryFile(/tmp/multipartBody2148055846595035130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916294154,"filename":"image_02122025_15_35_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/5/619c541d8d6d2e85c771b829f7993657.jpg","text":"TemporaryFile(/tmp/multipartBody7710224841120088057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916294154,"filename":"image_02122025_15_34_45_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/5/7195ebbd08c35dee9415b81153079f6f.jpg","text":"TemporaryFile(/tmp/multipartBody8703774515086965121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916294154,"filename":"image_02122025_15_34_56_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/5/0e679973744b726e9ef1a69ecc2fcde7.jpg","text":"TemporaryFile(/tmp/multipartBody6231140588102536769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916294154,"filename":"image_02122025_15_36_05_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039874","file1":"1398039871","file0":"1398039866","file4":"1398039878","file5":"1398039879","file3":"1398039877"},"map_files_photo_id_array":[{"photo_id":"1398039879","filename":"file5"},{"photo_id":"1398039874","filename":"file2"},{"photo_id":"1398039878","filename":"file4"},{"photo_id":"1398039871","filename":"file1"},{"photo_id":"1398039866","filename":"file0"},{"photo_id":"1398039877","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039878":["hashtag1","hashtag2"]},{"1398039866":["hashtag1","hashtag2"]},{"1398039877":["hashtag1","hashtag2"]},{"1398039871":["hashtag1","hashtag2"]},{"1398039874":["hashtag1","hashtag2"]},{"1398039879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039878, 1398039866, 1398039877, 1398039871, 1398039874, 1398039879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0997269153595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:31:12.077682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/36/image_02122025_15_36_26_10582.jpg', '/home/pi/Desktop/images/02122025/15/36/image_02122025_15_36_35_9680.jpg', '/home/pi/Desktop/images/02122025/15/36/image_02122025_15_36_45_9800.jpg', '/home/pi/Desktop/images/02122025/15/36/image_02122025_15_36_55_9783.jpg', '/home/pi/Desktop/images/02122025/15/36/image_02122025_15_37_05_9893.jpg', '/home/pi/Desktop/images/02122025/15/37/image_02122025_15_37_16_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/36/image_02122025_15_36_26_10582.jpg
/home/pi/Desktop/images/02122025/15/36/image_02122025_15_36_35_9680.jpg
/home/pi/Desktop/images/02122025/15/36/image_02122025_15_36_45_9800.jpg
/home/pi/Desktop/images/02122025/15/36/image_02122025_15_36_55_9783.jpg
/home/pi/Desktop/images/02122025/15/36/image_02122025_15_37_05_9893.jpg
/home/pi/Desktop/images/02122025/15/37/image_02122025_15_37_16_10732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039884","1398039886","1398039894","1398039888","1398039882","1398039891"],"photo_ids_order":["1398039882","1398039884","1398039886","1398039888","1398039891","1398039894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/31916b95348fc93218921f3ef525a8b2.jpg","text":"TemporaryFile(/tmp/multipartBody5570359925192381699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916335628,"filename":"image_02122025_15_36_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b01418e98394451a0eb0fe73f90972cf.jpg","text":"TemporaryFile(/tmp/multipartBody2522781814895488964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916335628,"filename":"image_02122025_15_36_45_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/5/94fa4b9518eb7c1bf93fe0029aa7be5d.jpg","text":"TemporaryFile(/tmp/multipartBody2175402031932044196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916335628,"filename":"image_02122025_15_37_16_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/5/6db1f5c7812d61f72ddd7c2a8baaa0a5.jpg","text":"TemporaryFile(/tmp/multipartBody1491884459690486194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916335628,"filename":"image_02122025_15_36_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/5/f0a1d3de333d0ca5d8afa12260fe898e.jpg","text":"TemporaryFile(/tmp/multipartBody5601559657644014985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916335628,"filename":"image_02122025_15_36_26_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/5/237e445696557389a46fb689881e59f1.jpg","text":"TemporaryFile(/tmp/multipartBody6957424133371295903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916335628,"filename":"image_02122025_15_37_05_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039886","file1":"1398039884","file0":"1398039882","file4":"1398039891","file5":"1398039894","file3":"1398039888"},"map_files_photo_id_array":[{"photo_id":"1398039894","filename":"file5"},{"photo_id":"1398039886","filename":"file2"},{"photo_id":"1398039891","filename":"file4"},{"photo_id":"1398039884","filename":"file1"},{"photo_id":"1398039882","filename":"file0"},{"photo_id":"1398039888","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039884":["hashtag1","hashtag2"]},{"1398039886":["hashtag1","hashtag2"]},{"1398039894":["hashtag1","hashtag2"]},{"1398039888":["hashtag1","hashtag2"]},{"1398039882":["hashtag1","hashtag2"]},{"1398039891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039884, 1398039886, 1398039894, 1398039888, 1398039882, 1398039891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68957805633545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:32:02.947507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/37/image_02122025_15_37_25_9577.jpg', '/home/pi/Desktop/images/02122025/15/37/image_02122025_15_37_35_9723.jpg', '/home/pi/Desktop/images/02122025/15/37/image_02122025_15_37_46_10631.jpg', '/home/pi/Desktop/images/02122025/15/37/image_02122025_15_37_55_9676.jpg', '/home/pi/Desktop/images/02122025/15/37/image_02122025_15_38_06_10604.jpg', '/home/pi/Desktop/images/02122025/15/38/image_02122025_15_38_16_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/37/image_02122025_15_37_25_9577.jpg
/home/pi/Desktop/images/02122025/15/37/image_02122025_15_37_35_9723.jpg
/home/pi/Desktop/images/02122025/15/37/image_02122025_15_37_46_10631.jpg
/home/pi/Desktop/images/02122025/15/37/image_02122025_15_37_55_9676.jpg
/home/pi/Desktop/images/02122025/15/37/image_02122025_15_38_06_10604.jpg
/home/pi/Desktop/images/02122025/15/38/image_02122025_15_38_16_9667.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":["1398039927","1398039915","1398039903","1398039923","1398039905","1398039929"],"photo_ids_order":["1398039903","1398039905","1398039915","1398039923","1398039927","1398039929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0fccd2b65d5c56f2e2727b8c6fe8e123.jpg","text":"TemporaryFile(/tmp/multipartBody2022678826268983158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916384614,"filename":"image_02122025_15_38_06_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/5/183ffeef2532f970bad729fabbe3b852.jpg","text":"TemporaryFile(/tmp/multipartBody1949110713965683115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916384614,"filename":"image_02122025_15_37_46_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/5/f3a4da936a8ed923f17946bc5735caaa.jpg","text":"TemporaryFile(/tmp/multipartBody7716774558130667264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916384614,"filename":"image_02122025_15_37_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/5/187d34998e74d32c3ab7f0023cbf7e80.jpg","text":"TemporaryFile(/tmp/multipartBody5721967404656815507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916384614,"filename":"image_02122025_15_37_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/5/d31494c9fc21997f227151983c31bd6b.jpg","text":"TemporaryFile(/tmp/multipartBody5538484612858554274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916384614,"filename":"image_02122025_15_37_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/5/3730c0c333eedc5db4611e7f6666f50f.jpg","text":"TemporaryFile(/tmp/multipartBody403846489327607591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916384614,"filename":"image_02122025_15_38_16_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039915","file1":"1398039905","file0":"1398039903","file4":"1398039927","file5":"1398039929","file3":"1398039923"},"map_files_photo_id_array":[{"photo_id":"1398039929","filename":"file5"},{"photo_id":"1398039915","filename":"file2"},{"photo_id":"1398039927","filename":"file4"},{"photo_id":"1398039905","filename":"file1"},{"photo_id":"1398039903","filename":"file0"},{"photo_id":"1398039923","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039927":["hashtag1","hashtag2"]},{"1398039915":["hashtag1","hashtag2"]},{"1398039903":["hashtag1","hashtag2"]},{"1398039923":["hashtag1","hashtag2"]},{"1398039905":["hashtag1","hashtag2"]},{"1398039929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039927, 1398039915, 1398039903, 1398039923, 1398039905, 1398039929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25887441635132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:33:03.376380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/38/image_02122025_15_38_25_9773.jpg', '/home/pi/Desktop/images/02122025/15/38/image_02122025_15_38_36_10527.jpg', '/home/pi/Desktop/images/02122025/15/38/image_02122025_15_38_55_9755.jpg', '/home/pi/Desktop/images/02122025/15/38/image_02122025_15_39_05_9727.jpg', '/home/pi/Desktop/images/02122025/15/39/image_02122025_15_39_16_10751.jpg', '/home/pi/Desktop/images/02122025/15/39/image_02122025_15_39_35_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/38/image_02122025_15_38_25_9773.jpg
/home/pi/Desktop/images/02122025/15/38/image_02122025_15_38_36_10527.jpg
/home/pi/Desktop/images/02122025/15/38/image_02122025_15_38_55_9755.jpg
/home/pi/Desktop/images/02122025/15/38/image_02122025_15_39_05_9727.jpg
/home/pi/Desktop/images/02122025/15/39/image_02122025_15_39_16_10751.jpg
/home/pi/Desktop/images/02122025/15/39/image_02122025_15_39_35_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039954","1398039948","1398039965","1398039946","1398039960","1398039963"],"photo_ids_order":["1398039946","1398039948","1398039954","1398039960","1398039963","1398039965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d582c11408cb079288a71e1c8e646c4.jpg","text":"TemporaryFile(/tmp/multipartBody6261406840913964835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916445073,"filename":"image_02122025_15_38_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/5/00ebc244ecb2c2bd2ac9ffc4611a818e.jpg","text":"TemporaryFile(/tmp/multipartBody9103828148857174770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916445073,"filename":"image_02122025_15_38_36_10527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/121469e5a3e81b5aac294f9293eff1a9.jpg","text":"TemporaryFile(/tmp/multipartBody5793315089692388130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916445073,"filename":"image_02122025_15_39_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/5/a49077dd033798cd24e97eef072914ea.jpg","text":"TemporaryFile(/tmp/multipartBody34272250709777380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916445073,"filename":"image_02122025_15_38_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/5/1a90463c561f89dccb522772f399ff85.jpg","text":"TemporaryFile(/tmp/multipartBody6820407770114526411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916445073,"filename":"image_02122025_15_39_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/5/3034d8636f4ebba7e7ad298a5a117234.jpg","text":"TemporaryFile(/tmp/multipartBody2360753950920318266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916445073,"filename":"image_02122025_15_39_16_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039954","file1":"1398039948","file0":"1398039946","file4":"1398039963","file5":"1398039965","file3":"1398039960"},"map_files_photo_id_array":[{"photo_id":"1398039965","filename":"file5"},{"photo_id":"1398039954","filename":"file2"},{"photo_id":"1398039963","filename":"file4"},{"photo_id":"1398039948","filename":"file1"},{"photo_id":"1398039946","filename":"file0"},{"photo_id":"1398039960","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398039954":["hashtag1","hashtag2"]},{"1398039948":["hashtag1","hashtag2"]},{"1398039965":["hashtag1","hashtag2"]},{"1398039946":["hashtag1","hashtag2"]},{"1398039960":["hashtag1","hashtag2"]},{"1398039963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398039954, 1398039948, 1398039965, 1398039946, 1398039960, 1398039963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.920875787734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:33:42.698744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_53_2673.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_56_2682.jpg', '/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_59_3657.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_02_2611.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_05_2775.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_08_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_53_2673.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_56_2682.jpg
/home/pi/Desktop/images/31102025/18/54/image_31102025_18_54_59_3657.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_02_2611.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_05_2775.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_08_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039971","1398039974","1398039973","1398039975","1398039969","1398039972"],"photo_ids_order":["1398039969","1398039971","1398039972","1398039973","1398039974","1398039975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fb1d9a21da772bee87bd8e8a0630b48c.jpg","text":"TemporaryFile(/tmp/multipartBody8712245996192036076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916484374,"filename":"image_31102025_18_54_56_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/5/f4fb33f72ef9d16af6387cb94b6e36e0.jpg","text":"TemporaryFile(/tmp/multipartBody7373844826219067755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916484374,"filename":"image_31102025_18_55_05_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/5/aadf149209f3dc425dfb58f92622f953.jpg","text":"TemporaryFile(/tmp/multipartBody2746641547471724653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916484374,"filename":"image_31102025_18_55_02_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ace14a170579105a800f61ddc71817b6.jpg","text":"TemporaryFile(/tmp/multipartBody1998117778228648775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916484374,"filename":"image_31102025_18_55_08_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/5/d18435f3120afe5acfb3c184fc54091f.jpg","text":"TemporaryFile(/tmp/multipartBody7268282746814744942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916484374,"filename":"image_31102025_18_54_53_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/5/be37123318afed1436aa0e8c0b748095.jpg","text":"TemporaryFile(/tmp/multipartBody6982144378014671643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916484374,"filename":"image_31102025_18_54_59_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039972","file1":"1398039971","file0":"1398039969","file4":"1398039974","file5":"1398039975","file3":"1398039973"},"map_files_photo_id_array":[{"photo_id":"1398039975","filename":"file5"},{"photo_id":"1398039972","filename":"file2"},{"photo_id":"1398039974","filename":"file4"},{"photo_id":"1398039971","filename":"file1"},{"photo_id":"1398039969","filename":"file0"},{"photo_id":"1398039973","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398039971":["hashtag1","hashtag2"]},{"1398039974":["hashtag1","hashtag2"]},{"1398039973":["hashtag1","hashtag2"]},{"1398039975":["hashtag1","hashtag2"]},{"1398039969":["hashtag1","hashtag2"]},{"1398039972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398039971, 1398039974, 1398039973, 1398039975, 1398039969, 1398039972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.376843214035034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:34:21.894627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_11_2785.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_17_3641.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_20_2672.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_23_2667.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_26_2792.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_29_3766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_11_2785.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_17_3641.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_20_2672.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_23_2667.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_26_2792.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_29_3766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398039992","1398039986","1398039989","1398039982","1398039988","1398039984"],"photo_ids_order":["1398039982","1398039984","1398039986","1398039988","1398039989","1398039992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b10346b466c8e51d10bcb81d37f0fe5.jpg","text":"TemporaryFile(/tmp/multipartBody2608217092001188266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916523607,"filename":"image_31102025_18_55_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/5/5a4856a0048e1d759a582554773dd93f.jpg","text":"TemporaryFile(/tmp/multipartBody983898855686087398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916523607,"filename":"image_31102025_18_55_20_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/5/2bf694f183185c51d2ec31279666ec8c.jpg","text":"TemporaryFile(/tmp/multipartBody4512746668124936754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916523607,"filename":"image_31102025_18_55_26_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/5/a41443bbb6a83a098831cf23dc51a276.jpg","text":"TemporaryFile(/tmp/multipartBody3218347988406015270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916523607,"filename":"image_31102025_18_55_11_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/5/1b091c7b88649d4541caad2191916499.jpg","text":"TemporaryFile(/tmp/multipartBody5025329526182052685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916523607,"filename":"image_31102025_18_55_23_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/5/d1192eb53983b4102f312f6550264370.jpg","text":"TemporaryFile(/tmp/multipartBody3861669992141658767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916523607,"filename":"image_31102025_18_55_17_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398039986","file1":"1398039984","file0":"1398039982","file4":"1398039989","file5":"1398039992","file3":"1398039988"},"map_files_photo_id_array":[{"photo_id":"1398039992","filename":"file5"},{"photo_id":"1398039986","filename":"file2"},{"photo_id":"1398039989","filename":"file4"},{"photo_id":"1398039984","filename":"file1"},{"photo_id":"1398039982","filename":"file0"},{"photo_id":"1398039988","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398039992":["hashtag1","hashtag2"]},{"1398039986":["hashtag1","hashtag2"]},{"1398039989":["hashtag1","hashtag2"]},{"1398039982":["hashtag1","hashtag2"]},{"1398039988":["hashtag1","hashtag2"]},{"1398039984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398039992, 1398039986, 1398039989, 1398039982, 1398039988, 1398039984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.672125816345215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:35:02.713648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/39/image_02122025_15_40_05_9730.jpg', '/home/pi/Desktop/images/02122025/15/40/image_02122025_15_40_45_9662.jpg', '/home/pi/Desktop/images/02122025/15/40/image_02122025_15_40_56_10672.jpg', '/home/pi/Desktop/images/02122025/15/40/image_02122025_15_41_05_9812.jpg', '/home/pi/Desktop/images/02122025/15/41/image_02122025_15_41_15_9574.jpg', '/home/pi/Desktop/images/02122025/15/41/image_02122025_15_41_26_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/39/image_02122025_15_40_05_9730.jpg
/home/pi/Desktop/images/02122025/15/40/image_02122025_15_40_45_9662.jpg
/home/pi/Desktop/images/02122025/15/40/image_02122025_15_40_56_10672.jpg
/home/pi/Desktop/images/02122025/15/40/image_02122025_15_41_05_9812.jpg
/home/pi/Desktop/images/02122025/15/41/image_02122025_15_41_15_9574.jpg
/home/pi/Desktop/images/02122025/15/41/image_02122025_15_41_26_10667.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":["1398040012","1398040002","1398040005","1398040010","1398040007","1398039999"],"photo_ids_order":["1398039999","1398040002","1398040005","1398040007","1398040010","1398040012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e29b957d5db3aa31175f5b08e4be435d.jpg","text":"TemporaryFile(/tmp/multipartBody8354563141191298057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916567114,"filename":"image_02122025_15_41_26_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/5/0df5b15c8acc9d16591efabc22d57682.jpg","text":"TemporaryFile(/tmp/multipartBody3715468650126484868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916567114,"filename":"image_02122025_15_40_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/5/ca7227138e469e125d1a259e167e388f.jpg","text":"TemporaryFile(/tmp/multipartBody6474696722823598423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916567114,"filename":"image_02122025_15_40_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/5/cd75548400080b3234470787131e5497.jpg","text":"TemporaryFile(/tmp/multipartBody5847433769779112236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916567114,"filename":"image_02122025_15_41_15_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/5/344fc327042c43f86d2bfc8efd8e4646.jpg","text":"TemporaryFile(/tmp/multipartBody2895315732031186331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916567114,"filename":"image_02122025_15_41_05_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/5/b2302cf0cd299e4b624b993eda7bf65e.jpg","text":"TemporaryFile(/tmp/multipartBody2966637812416695777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916567114,"filename":"image_02122025_15_40_05_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040005","file1":"1398040002","file0":"1398039999","file4":"1398040010","file5":"1398040012","file3":"1398040007"},"map_files_photo_id_array":[{"photo_id":"1398040012","filename":"file5"},{"photo_id":"1398040005","filename":"file2"},{"photo_id":"1398040010","filename":"file4"},{"photo_id":"1398040002","filename":"file1"},{"photo_id":"1398039999","filename":"file0"},{"photo_id":"1398040007","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040012":["hashtag1","hashtag2"]},{"1398040002":["hashtag1","hashtag2"]},{"1398040005":["hashtag1","hashtag2"]},{"1398040010":["hashtag1","hashtag2"]},{"1398040007":["hashtag1","hashtag2"]},{"1398039999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040012, 1398040002, 1398040005, 1398040010, 1398040007, 1398039999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.177427768707275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:36:02.703096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/41/image_02122025_15_41_35_9757.jpg', '/home/pi/Desktop/images/02122025/15/41/image_02122025_15_41_45_9639.jpg', '/home/pi/Desktop/images/02122025/15/42/image_02122025_15_42_15_9632.jpg', '/home/pi/Desktop/images/02122025/15/42/image_02122025_15_42_26_10721.jpg', '/home/pi/Desktop/images/02122025/15/42/image_02122025_15_42_36_9833.jpg', '/home/pi/Desktop/images/02122025/15/42/image_02122025_15_42_45_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/41/image_02122025_15_41_35_9757.jpg
/home/pi/Desktop/images/02122025/15/41/image_02122025_15_41_45_9639.jpg
/home/pi/Desktop/images/02122025/15/42/image_02122025_15_42_15_9632.jpg
/home/pi/Desktop/images/02122025/15/42/image_02122025_15_42_26_10721.jpg
/home/pi/Desktop/images/02122025/15/42/image_02122025_15_42_36_9833.jpg
/home/pi/Desktop/images/02122025/15/42/image_02122025_15_42_45_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":["1398040032","1398040029","1398040023","1398040025","1398040027","1398040021"],"photo_ids_order":["1398040021","1398040023","1398040025","1398040027","1398040029","1398040032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e26ccbbf9bcae3232722e75c11fdfa04.jpg","text":"TemporaryFile(/tmp/multipartBody2519180239736200698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916624351,"filename":"image_02122025_15_42_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/5/8083a7b6a19d85b65b850291df12faa7.jpg","text":"TemporaryFile(/tmp/multipartBody6330784917660436532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916624351,"filename":"image_02122025_15_42_36_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/5/b785749e4bb686061e5f5f08586fd26c.jpg","text":"TemporaryFile(/tmp/multipartBody3426541041817145012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916624351,"filename":"image_02122025_15_41_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1dc2186b6cba3b507cb5a7aa5229f1c8.jpg","text":"TemporaryFile(/tmp/multipartBody4443164186757978860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916624351,"filename":"image_02122025_15_42_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/5/d645e6d6668e8fd27825a9c2eb006bd1.jpg","text":"TemporaryFile(/tmp/multipartBody127839212821687608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916624351,"filename":"image_02122025_15_42_26_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/5/722c6f1c7e2e14dbf4a2098f7ac71af2.jpg","text":"TemporaryFile(/tmp/multipartBody5699089421295269591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916624351,"filename":"image_02122025_15_41_35_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040025","file1":"1398040023","file0":"1398040021","file4":"1398040029","file5":"1398040032","file3":"1398040027"},"map_files_photo_id_array":[{"photo_id":"1398040032","filename":"file5"},{"photo_id":"1398040025","filename":"file2"},{"photo_id":"1398040029","filename":"file4"},{"photo_id":"1398040023","filename":"file1"},{"photo_id":"1398040021","filename":"file0"},{"photo_id":"1398040027","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040032":["hashtag1","hashtag2"]},{"1398040029":["hashtag1","hashtag2"]},{"1398040023":["hashtag1","hashtag2"]},{"1398040025":["hashtag1","hashtag2"]},{"1398040027":["hashtag1","hashtag2"]},{"1398040021":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040032, 1398040029, 1398040023, 1398040025, 1398040027, 1398040021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63274073600769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:36:42.280854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_35_2753.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_41_2779.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_44_2691.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_47_2579.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_50_3727.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_53_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_35_2753.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_41_2779.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_44_2691.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_47_2579.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_50_3727.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_53_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":["1398040050","1398040044","1398040038","1398040040","1398040052","1398040051"],"photo_ids_order":["1398040038","1398040040","1398040044","1398040050","1398040051","1398040052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a1a9fa820dda547b506fbd3a4f55c9c.jpg","text":"TemporaryFile(/tmp/multipartBody8799318618976200450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916663947,"filename":"image_31102025_18_55_47_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/5/9545ec87f126f2fc76354ed07e4b9cdf.jpg","text":"TemporaryFile(/tmp/multipartBody9016191175610805301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916663947,"filename":"image_31102025_18_55_44_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/5/b0f42650429326339eb1d50d927fc8a2.jpg","text":"TemporaryFile(/tmp/multipartBody7841441913036842329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916663947,"filename":"image_31102025_18_55_35_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/5/9caf6e72f1d8761d020d5541294e35bd.jpg","text":"TemporaryFile(/tmp/multipartBody1237573355191711023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916663947,"filename":"image_31102025_18_55_41_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/11a9fbe8abeccb36118b3cce73b64bba.jpg","text":"TemporaryFile(/tmp/multipartBody5176185149504006182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916663947,"filename":"image_31102025_18_55_53_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/5/2b294b1f2f551f3d362eb545b538e39c.jpg","text":"TemporaryFile(/tmp/multipartBody2681101752108391924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916663947,"filename":"image_31102025_18_55_50_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040044","file1":"1398040040","file0":"1398040038","file4":"1398040051","file5":"1398040052","file3":"1398040050"},"map_files_photo_id_array":[{"photo_id":"1398040052","filename":"file5"},{"photo_id":"1398040044","filename":"file2"},{"photo_id":"1398040051","filename":"file4"},{"photo_id":"1398040040","filename":"file1"},{"photo_id":"1398040038","filename":"file0"},{"photo_id":"1398040050","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040050":["hashtag1","hashtag2"]},{"1398040044":["hashtag1","hashtag2"]},{"1398040038":["hashtag1","hashtag2"]},{"1398040040":["hashtag1","hashtag2"]},{"1398040052":["hashtag1","hashtag2"]},{"1398040051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040050, 1398040044, 1398040038, 1398040040, 1398040052, 1398040051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10844850540161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:37:22.538422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/24/image_05122025_07_25_04_9756.jpg', '/home/pi/Desktop/images/05122025/07/36/image_05122025_07_36_44_9752.jpg', '/home/pi/Desktop/images/05122025/07/36/image_05122025_07_36_54_9722.jpg', '/home/pi/Desktop/images/05122025/07/36/image_05122025_07_37_04_10746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/24/image_05122025_07_25_04_9756.jpg
/home/pi/Desktop/images/05122025/07/36/image_05122025_07_36_44_9752.jpg
/home/pi/Desktop/images/05122025/07/36/image_05122025_07_36_54_9722.jpg
/home/pi/Desktop/images/05122025/07/36/image_05122025_07_37_04_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":["1398040062","1398040064","1398040066","1398040057"],"photo_ids_order":["1398040057","1398040062","1398040064","1398040066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7a0b08cd7095dd4eb915d19c84383c74.jpg","text":"TemporaryFile(/tmp/multipartBody2409677833171791630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916703214,"filename":"image_05122025_07_36_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/5/dc66046249145af1ba195d0715adddda.jpg","text":"TemporaryFile(/tmp/multipartBody5858597013153139072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916703214,"filename":"image_05122025_07_36_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/5/786cba90576696a50f33d0ee6ff06807.jpg","text":"TemporaryFile(/tmp/multipartBody5189851162245550970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916703214,"filename":"image_05122025_07_37_04_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/5/1a01ca1faccd1fe98295474149ece5b0.jpg","text":"TemporaryFile(/tmp/multipartBody8113827551199454610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916703214,"filename":"image_05122025_07_25_04_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040064","file1":"1398040062","file0":"1398040057","file3":"1398040066"},"map_files_photo_id_array":[{"photo_id":"1398040064","filename":"file2"},{"photo_id":"1398040062","filename":"file1"},{"photo_id":"1398040057","filename":"file0"},{"photo_id":"1398040066","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040062":["hashtag1","hashtag2"]},{"1398040064":["hashtag1","hashtag2"]},{"1398040066":["hashtag1","hashtag2"]},{"1398040057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040062, 1398040064, 1398040066, 1398040057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.633843660354614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:38:02.978102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/43/image_02122025_15_43_16_10657.jpg', '/home/pi/Desktop/images/02122025/15/43/image_02122025_15_43_25_9679.jpg', '/home/pi/Desktop/images/02122025/15/44/image_02122025_15_44_16_10802.jpg', '/home/pi/Desktop/images/02122025/15/44/image_02122025_15_44_25_9553.jpg', '/home/pi/Desktop/images/02122025/15/44/image_02122025_15_45_05_9856.jpg', '/home/pi/Desktop/images/02122025/15/45/image_02122025_15_45_45_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/43/image_02122025_15_43_16_10657.jpg
/home/pi/Desktop/images/02122025/15/43/image_02122025_15_43_25_9679.jpg
/home/pi/Desktop/images/02122025/15/44/image_02122025_15_44_16_10802.jpg
/home/pi/Desktop/images/02122025/15/44/image_02122025_15_44_25_9553.jpg
/home/pi/Desktop/images/02122025/15/44/image_02122025_15_45_05_9856.jpg
/home/pi/Desktop/images/02122025/15/45/image_02122025_15_45_45_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040085","1398040133","1398040082","1398040076","1398040096","1398040087"],"photo_ids_order":["1398040076","1398040082","1398040085","1398040087","1398040096","1398040133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c05bed272b76952fac85c3a362e9d8d6.jpg","text":"TemporaryFile(/tmp/multipartBody848791998378120041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916744619,"filename":"image_02122025_15_44_16_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/5/2bbd7e2b10d14d5180784803f786e73f.jpg","text":"TemporaryFile(/tmp/multipartBody4761641035789670245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916744619,"filename":"image_02122025_15_45_45_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/5/10a8ec0277b6de0a0e47ca564af02bca.jpg","text":"TemporaryFile(/tmp/multipartBody207020445091133209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916744619,"filename":"image_02122025_15_43_25_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7ad06812549471475250cbc07094919d.jpg","text":"TemporaryFile(/tmp/multipartBody2739118746467852609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916744619,"filename":"image_02122025_15_43_16_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/5/956ac4759670ec3e4cd7ac0989f33f07.jpg","text":"TemporaryFile(/tmp/multipartBody7308752562710333233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916744619,"filename":"image_02122025_15_45_05_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/5/4b581fbe239f5b325502bf3e881c94cf.jpg","text":"TemporaryFile(/tmp/multipartBody2076378824895413023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916744619,"filename":"image_02122025_15_44_25_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040085","file1":"1398040082","file0":"1398040076","file4":"1398040096","file5":"1398040133","file3":"1398040087"},"map_files_photo_id_array":[{"photo_id":"1398040133","filename":"file5"},{"photo_id":"1398040085","filename":"file2"},{"photo_id":"1398040096","filename":"file4"},{"photo_id":"1398040082","filename":"file1"},{"photo_id":"1398040076","filename":"file0"},{"photo_id":"1398040087","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040085":["hashtag1","hashtag2"]},{"1398040133":["hashtag1","hashtag2"]},{"1398040082":["hashtag1","hashtag2"]},{"1398040076":["hashtag1","hashtag2"]},{"1398040096":["hashtag1","hashtag2"]},{"1398040087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040085, 1398040133, 1398040082, 1398040076, 1398040096, 1398040087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01894211769104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:38:42.551139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_56_2742.jpg', '/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_59_3667.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_02_2564.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_08_3571.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_17_3616.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_20_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_56_2742.jpg
/home/pi/Desktop/images/31102025/18/55/image_31102025_18_55_59_3667.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_02_2564.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_08_3571.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_17_3616.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_20_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040188","1398040185","1398040190","1398040187","1398040175","1398040186"],"photo_ids_order":["1398040175","1398040185","1398040186","1398040187","1398040188","1398040190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/66f1c0c87a59d2bc57d7a5a4708a035f.jpg","text":"TemporaryFile(/tmp/multipartBody6834017309775370875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916784220,"filename":"image_31102025_18_56_17_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/5/79d051e7d88d7c124784ba3853ed075a.jpg","text":"TemporaryFile(/tmp/multipartBody7231861978214258377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916784220,"filename":"image_31102025_18_55_59_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/5/dcf1e6cc4ed66d771de6c3467a5f663e.jpg","text":"TemporaryFile(/tmp/multipartBody7307358496854997083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916784220,"filename":"image_31102025_18_56_20_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/5/d91a4c77a1b7a05519bcf7b08fbf4002.jpg","text":"TemporaryFile(/tmp/multipartBody4640369151053756588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916784220,"filename":"image_31102025_18_56_08_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/5/fc97f383635c59b863b5f8171ab60e09.jpg","text":"TemporaryFile(/tmp/multipartBody1772542481359400281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916784220,"filename":"image_31102025_18_55_56_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b722c783fd306c0d733ff458e65cfc37.jpg","text":"TemporaryFile(/tmp/multipartBody8486095403529422671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916784220,"filename":"image_31102025_18_56_02_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040186","file1":"1398040185","file0":"1398040175","file4":"1398040188","file5":"1398040190","file3":"1398040187"},"map_files_photo_id_array":[{"photo_id":"1398040190","filename":"file5"},{"photo_id":"1398040186","filename":"file2"},{"photo_id":"1398040188","filename":"file4"},{"photo_id":"1398040185","filename":"file1"},{"photo_id":"1398040175","filename":"file0"},{"photo_id":"1398040187","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040188":["hashtag1","hashtag2"]},{"1398040185":["hashtag1","hashtag2"]},{"1398040190":["hashtag1","hashtag2"]},{"1398040187":["hashtag1","hashtag2"]},{"1398040175":["hashtag1","hashtag2"]},{"1398040186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040188, 1398040185, 1398040190, 1398040187, 1398040175, 1398040186)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.309354305267334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:39:32.857740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/45/image_02122025_15_45_56_10623.jpg', '/home/pi/Desktop/images/02122025/15/45/image_02122025_15_46_06_9846.jpg', '/home/pi/Desktop/images/02122025/15/46/image_02122025_15_46_15_9589.jpg', '/home/pi/Desktop/images/02122025/15/46/image_02122025_15_46_36_10678.jpg', '/home/pi/Desktop/images/02122025/15/46/image_02122025_15_46_46_9767.jpg', '/home/pi/Desktop/images/02122025/15/46/image_02122025_15_46_55_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/45/image_02122025_15_45_56_10623.jpg
/home/pi/Desktop/images/02122025/15/45/image_02122025_15_46_06_9846.jpg
/home/pi/Desktop/images/02122025/15/46/image_02122025_15_46_15_9589.jpg
/home/pi/Desktop/images/02122025/15/46/image_02122025_15_46_36_10678.jpg
/home/pi/Desktop/images/02122025/15/46/image_02122025_15_46_46_9767.jpg
/home/pi/Desktop/images/02122025/15/46/image_02122025_15_46_55_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398040212","1398040221","1398040215","1398040209","1398040217","1398040207"],"photo_ids_order":["1398040207","1398040209","1398040212","1398040215","1398040217","1398040221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1f2aaf06a23ec7dba4657c6af682c281.jpg","text":"TemporaryFile(/tmp/multipartBody6930709383089341711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916834975,"filename":"image_02122025_15_46_15_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/5/fe11f692e0a17c25013184e1e8465709.jpg","text":"TemporaryFile(/tmp/multipartBody2111175979475391271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916834975,"filename":"image_02122025_15_46_55_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a76c16e60b75c43a96ce5a91be79cb2.jpg","text":"TemporaryFile(/tmp/multipartBody8828622001630346675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916834975,"filename":"image_02122025_15_46_36_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/5/8f7cc1943aeee5a7fb20a5bbfd93a25f.jpg","text":"TemporaryFile(/tmp/multipartBody839072849047569653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916834975,"filename":"image_02122025_15_46_06_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/5/f3f712995771f9d9f071859ef02e6c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2825949198558094349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916834975,"filename":"image_02122025_15_46_46_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/5/5eb2e62f8d263124e10437e130514971.jpg","text":"TemporaryFile(/tmp/multipartBody4967619024136742811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916834975,"filename":"image_02122025_15_45_56_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040212","file1":"1398040209","file0":"1398040207","file4":"1398040217","file5":"1398040221","file3":"1398040215"},"map_files_photo_id_array":[{"photo_id":"1398040221","filename":"file5"},{"photo_id":"1398040212","filename":"file2"},{"photo_id":"1398040217","filename":"file4"},{"photo_id":"1398040209","filename":"file1"},{"photo_id":"1398040207","filename":"file0"},{"photo_id":"1398040215","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040212":["hashtag1","hashtag2"]},{"1398040221":["hashtag1","hashtag2"]},{"1398040215":["hashtag1","hashtag2"]},{"1398040209":["hashtag1","hashtag2"]},{"1398040217":["hashtag1","hashtag2"]},{"1398040207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040212, 1398040221, 1398040215, 1398040209, 1398040217, 1398040207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.104421854019165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:40:22.835258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/37/image_05122025_07_37_54_10683.jpg', '/home/pi/Desktop/images/05122025/07/38/image_05122025_07_38_23_9639.jpg', '/home/pi/Desktop/images/05122025/07/38/image_05122025_07_38_34_10723.jpg', '/home/pi/Desktop/images/05122025/07/38/image_05122025_07_38_44_9758.jpg', '/home/pi/Desktop/images/05122025/07/38/image_05122025_07_38_54_9894.jpg', '/home/pi/Desktop/images/05122025/07/38/image_05122025_07_39_04_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/37/image_05122025_07_37_54_10683.jpg
/home/pi/Desktop/images/05122025/07/38/image_05122025_07_38_23_9639.jpg
/home/pi/Desktop/images/05122025/07/38/image_05122025_07_38_34_10723.jpg
/home/pi/Desktop/images/05122025/07/38/image_05122025_07_38_44_9758.jpg
/home/pi/Desktop/images/05122025/07/38/image_05122025_07_38_54_9894.jpg
/home/pi/Desktop/images/05122025/07/38/image_05122025_07_39_04_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040236","1398040233","1398040229","1398040238","1398040249","1398040240"],"photo_ids_order":["1398040229","1398040233","1398040236","1398040238","1398040240","1398040249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5348f9d1e2ef4381df8680a2672e9017.jpg","text":"TemporaryFile(/tmp/multipartBody4026679285390812067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916883601,"filename":"image_05122025_07_38_34_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/5/993f0867ef31cef1953edd10f8023460.jpg","text":"TemporaryFile(/tmp/multipartBody8746420700267314010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916883601,"filename":"image_05122025_07_38_23_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/5/f9cf2b0138f51b8408799816f2761abb.jpg","text":"TemporaryFile(/tmp/multipartBody7130238335302944226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916883601,"filename":"image_05122025_07_37_54_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/5/512ee4034a38ab208db2c79cdd12b820.jpg","text":"TemporaryFile(/tmp/multipartBody4390378654056582092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916883601,"filename":"image_05122025_07_38_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/5/2d568c6f760779d55e328f1c51f09e2d.jpg","text":"TemporaryFile(/tmp/multipartBody3873603711955787539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916883601,"filename":"image_05122025_07_39_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c140f599499a010e782316c3d12f16c.jpg","text":"TemporaryFile(/tmp/multipartBody3597645013700768115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916883601,"filename":"image_05122025_07_38_54_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040236","file1":"1398040233","file0":"1398040229","file4":"1398040240","file5":"1398040249","file3":"1398040238"},"map_files_photo_id_array":[{"photo_id":"1398040249","filename":"file5"},{"photo_id":"1398040236","filename":"file2"},{"photo_id":"1398040240","filename":"file4"},{"photo_id":"1398040233","filename":"file1"},{"photo_id":"1398040229","filename":"file0"},{"photo_id":"1398040238","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040236":["hashtag1","hashtag2"]},{"1398040233":["hashtag1","hashtag2"]},{"1398040229":["hashtag1","hashtag2"]},{"1398040238":["hashtag1","hashtag2"]},{"1398040249":["hashtag1","hashtag2"]},{"1398040240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040236, 1398040233, 1398040229, 1398040238, 1398040249, 1398040240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.025017499923706 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-05 07:41:12.494465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/46/image_02122025_15_47_05_9763.jpg', '/home/pi/Desktop/images/02122025/15/47/image_02122025_15_47_16_10630.jpg', '/home/pi/Desktop/images/02122025/15/47/image_02122025_15_47_25_9736.jpg', '/home/pi/Desktop/images/02122025/15/48/image_02122025_15_48_25_9597.jpg', '/home/pi/Desktop/images/02122025/15/48/image_02122025_15_48_35_9932.jpg', '/home/pi/Desktop/images/02122025/15/48/image_02122025_15_48_45_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/46/image_02122025_15_47_05_9763.jpg
/home/pi/Desktop/images/02122025/15/47/image_02122025_15_47_16_10630.jpg
/home/pi/Desktop/images/02122025/15/47/image_02122025_15_47_25_9736.jpg
/home/pi/Desktop/images/02122025/15/48/image_02122025_15_48_25_9597.jpg
/home/pi/Desktop/images/02122025/15/48/image_02122025_15_48_35_9932.jpg
/home/pi/Desktop/images/02122025/15/48/image_02122025_15_48_45_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":["1398040269","1398040277","1398040265","1398040280","1398040262","1398040273"],"photo_ids_order":["1398040262","1398040265","1398040269","1398040273","1398040277","1398040280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45a13f76237e5cbdfbdb236b6372c3c4.jpg","text":"TemporaryFile(/tmp/multipartBody8641003556516818582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916934249,"filename":"image_02122025_15_47_25_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/5/987b9ae6714dd2e9537248a0612f4052.jpg","text":"TemporaryFile(/tmp/multipartBody4077660828899360624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916934249,"filename":"image_02122025_15_48_35_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/5/c2626fda89b6288402343281a5168791.jpg","text":"TemporaryFile(/tmp/multipartBody1339458574911779685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916934249,"filename":"image_02122025_15_47_16_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f1f63c83ed46818c51a4f9261e3d21c.jpg","text":"TemporaryFile(/tmp/multipartBody5996238173980974119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916934249,"filename":"image_02122025_15_48_45_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/5/0c730a3e99360330a6846a268f256dda.jpg","text":"TemporaryFile(/tmp/multipartBody6323322988670822371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916934249,"filename":"image_02122025_15_47_05_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7a6aa5676791640e2e5b49bf88a8c2bb.jpg","text":"TemporaryFile(/tmp/multipartBody5649165073529492186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916934249,"filename":"image_02122025_15_48_25_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040269","file1":"1398040265","file0":"1398040262","file4":"1398040277","file5":"1398040280","file3":"1398040273"},"map_files_photo_id_array":[{"photo_id":"1398040280","filename":"file5"},{"photo_id":"1398040269","filename":"file2"},{"photo_id":"1398040277","filename":"file4"},{"photo_id":"1398040265","filename":"file1"},{"photo_id":"1398040262","filename":"file0"},{"photo_id":"1398040273","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040269":["hashtag1","hashtag2"]},{"1398040277":["hashtag1","hashtag2"]},{"1398040265":["hashtag1","hashtag2"]},{"1398040280":["hashtag1","hashtag2"]},{"1398040262":["hashtag1","hashtag2"]},{"1398040273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040269, 1398040277, 1398040265, 1398040280, 1398040262, 1398040273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85106134414673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:42:04.465571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/39/image_05122025_07_39_14_10744.jpg', '/home/pi/Desktop/images/05122025/07/39/image_05122025_07_39_24_9638.jpg', '/home/pi/Desktop/images/05122025/07/39/image_05122025_07_39_34_9789.jpg', '/home/pi/Desktop/images/05122025/07/39/image_05122025_07_39_44_9911.jpg', '/home/pi/Desktop/images/05122025/07/40/image_05122025_07_40_04_9870.jpg', '/home/pi/Desktop/images/05122025/07/40/image_05122025_07_40_14_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/39/image_05122025_07_39_14_10744.jpg
/home/pi/Desktop/images/05122025/07/39/image_05122025_07_39_24_9638.jpg
/home/pi/Desktop/images/05122025/07/39/image_05122025_07_39_34_9789.jpg
/home/pi/Desktop/images/05122025/07/39/image_05122025_07_39_44_9911.jpg
/home/pi/Desktop/images/05122025/07/40/image_05122025_07_40_04_9870.jpg
/home/pi/Desktop/images/05122025/07/40/image_05122025_07_40_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":["1398040287","1398040296","1398040289","1398040294","1398040291","1398040285"],"photo_ids_order":["1398040285","1398040287","1398040289","1398040291","1398040294","1398040296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1446835469da5ab0533ff06aa372a4b8.jpg","text":"TemporaryFile(/tmp/multipartBody2901004025548198674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916985273,"filename":"image_05122025_07_39_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/5/51dea73abe94e5bb652a600df1b63b46.jpg","text":"TemporaryFile(/tmp/multipartBody3064875084774517370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916985273,"filename":"image_05122025_07_40_14_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f3c365572f74e66bf2edf01887e0a354.jpg","text":"TemporaryFile(/tmp/multipartBody4501456792484814482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916985273,"filename":"image_05122025_07_39_34_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/baf96720edebec468295d71504bb7e71.jpg","text":"TemporaryFile(/tmp/multipartBody4627455080438464208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916985273,"filename":"image_05122025_07_40_04_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dcbd0d32a00bc5022436556a572155f9.jpg","text":"TemporaryFile(/tmp/multipartBody8530507186302316582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916985273,"filename":"image_05122025_07_39_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/5/9caa72aecf311cf09c65b8cc14aa54d9.jpg","text":"TemporaryFile(/tmp/multipartBody7782389317598395717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764916985273,"filename":"image_05122025_07_39_14_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040289","file1":"1398040287","file0":"1398040285","file4":"1398040294","file5":"1398040296","file3":"1398040291"},"map_files_photo_id_array":[{"photo_id":"1398040296","filename":"file5"},{"photo_id":"1398040289","filename":"file2"},{"photo_id":"1398040294","filename":"file4"},{"photo_id":"1398040287","filename":"file1"},{"photo_id":"1398040285","filename":"file0"},{"photo_id":"1398040291","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040287":["hashtag1","hashtag2"]},{"1398040296":["hashtag1","hashtag2"]},{"1398040289":["hashtag1","hashtag2"]},{"1398040294":["hashtag1","hashtag2"]},{"1398040291":["hashtag1","hashtag2"]},{"1398040285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040287, 1398040296, 1398040289, 1398040294, 1398040291, 1398040285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8842499256134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:42:43.982490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_23_2678.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_26_3712.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_29_2661.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_32_2648.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_38_2540.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_41_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_23_2678.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_26_3712.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_29_2661.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_32_2648.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_38_2540.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_41_2762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040303","1398040305","1398040304","1398040307","1398040306","1398040309"],"photo_ids_order":["1398040303","1398040304","1398040305","1398040306","1398040307","1398040309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dd9cf62ca4880c6fd4b9c6c0df8c26ca.jpg","text":"TemporaryFile(/tmp/multipartBody5963336322021819279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917025644,"filename":"image_31102025_18_56_23_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/5/472072758b715586a4949ba7b14f2d13.jpg","text":"TemporaryFile(/tmp/multipartBody3408247450967321015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917025644,"filename":"image_31102025_18_56_29_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/5/445a9b5afb744cecae2bc5388a4c038f.jpg","text":"TemporaryFile(/tmp/multipartBody736630493643787372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917025644,"filename":"image_31102025_18_56_26_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/5/48816f7b3dd8e2dff8ad781931772b6b.jpg","text":"TemporaryFile(/tmp/multipartBody156290551639537974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917025644,"filename":"image_31102025_18_56_38_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/5/2d73ec9d414ca2550eaa0b747555f851.jpg","text":"TemporaryFile(/tmp/multipartBody3408224119621133236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917025644,"filename":"image_31102025_18_56_32_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/5/29d57b871c1de9c0a8e24dba075bfa44.jpg","text":"TemporaryFile(/tmp/multipartBody3105739761277886131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917025644,"filename":"image_31102025_18_56_41_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040305","file1":"1398040304","file0":"1398040303","file4":"1398040307","file5":"1398040309","file3":"1398040306"},"map_files_photo_id_array":[{"photo_id":"1398040309","filename":"file5"},{"photo_id":"1398040305","filename":"file2"},{"photo_id":"1398040307","filename":"file4"},{"photo_id":"1398040304","filename":"file1"},{"photo_id":"1398040303","filename":"file0"},{"photo_id":"1398040306","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040303":["hashtag1","hashtag2"]},{"1398040305":["hashtag1","hashtag2"]},{"1398040304":["hashtag1","hashtag2"]},{"1398040307":["hashtag1","hashtag2"]},{"1398040306":["hashtag1","hashtag2"]},{"1398040309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040303, 1398040305, 1398040304, 1398040307, 1398040306, 1398040309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65471053123474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:43:32.152486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 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 --only_old 1
2025-12-05 07:43:51.019841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_47_2702.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_50_2629.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_53_3550.jpg', '/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_58_2715.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_02_3620.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_11_2524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_47_2702.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_50_2629.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_53_3550.jpg
/home/pi/Desktop/images/31102025/18/56/image_31102025_18_56_58_2715.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_02_3620.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_11_2524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040329","1398040332","1398040326","1398040322","1398040327","1398040321"],"photo_ids_order":["1398040321","1398040322","1398040326","1398040327","1398040329","1398040332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b65aeb5cea12a502bd3dbf20fe25a400.jpg","text":"TemporaryFile(/tmp/multipartBody6185462883215448854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917092689,"filename":"image_31102025_18_57_02_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d76461cd7fb1a1a293a184a009b8fa75.jpg","text":"TemporaryFile(/tmp/multipartBody5849514422253745042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917092689,"filename":"image_31102025_18_57_11_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/5/6080d0f75e89eda33078c9920396f887.jpg","text":"TemporaryFile(/tmp/multipartBody7124871585224296900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917092689,"filename":"image_31102025_18_56_53_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ba3c09ce6e3c9246d6f5fc239786603.jpg","text":"TemporaryFile(/tmp/multipartBody6065545119320523556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917092689,"filename":"image_31102025_18_56_50_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/5/0ff8e2e434ce30631a225761bdd87efc.jpg","text":"TemporaryFile(/tmp/multipartBody681136581827644912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917092689,"filename":"image_31102025_18_56_58_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/5/97345295c10b01679cb45ad9080fb17d.jpg","text":"TemporaryFile(/tmp/multipartBody7074765836005899634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917092689,"filename":"image_31102025_18_56_47_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040326","file1":"1398040322","file0":"1398040321","file4":"1398040329","file5":"1398040332","file3":"1398040327"},"map_files_photo_id_array":[{"photo_id":"1398040332","filename":"file5"},{"photo_id":"1398040326","filename":"file2"},{"photo_id":"1398040329","filename":"file4"},{"photo_id":"1398040322","filename":"file1"},{"photo_id":"1398040321","filename":"file0"},{"photo_id":"1398040327","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040329":["hashtag1","hashtag2"]},{"1398040332":["hashtag1","hashtag2"]},{"1398040326":["hashtag1","hashtag2"]},{"1398040322":["hashtag1","hashtag2"]},{"1398040327":["hashtag1","hashtag2"]},{"1398040321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040329, 1398040332, 1398040326, 1398040322, 1398040327, 1398040321)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.776304483413696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:44:42.087235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_13_2675.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_17_3761.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_20_2664.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_26_3703.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_29_2787.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_32_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_13_2675.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_17_3761.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_20_2664.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_26_3703.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_29_2787.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_32_2571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040365","1398040353","1398040358","1398040355","1398040369","1398040351"],"photo_ids_order":["1398040351","1398040353","1398040355","1398040358","1398040365","1398040369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49bb7ad935238d55ff7cccec17c65a32.jpg","text":"TemporaryFile(/tmp/multipartBody1652943713989210844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917143672,"filename":"image_31102025_18_57_29_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/5/e5d40046fd4a795aec036886cf90e911.jpg","text":"TemporaryFile(/tmp/multipartBody3888346215991666364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917143672,"filename":"image_31102025_18_57_17_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/5/8e1966ccd721fb0779364a41c2e18850.jpg","text":"TemporaryFile(/tmp/multipartBody3064604338361367520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917143672,"filename":"image_31102025_18_57_26_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/5/a5e6df9270c964de5802f567f10cd676.jpg","text":"TemporaryFile(/tmp/multipartBody2667490277511612454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917143672,"filename":"image_31102025_18_57_20_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/5/813be71b4bbf9e8628f6cde8c5e2ea5b.jpg","text":"TemporaryFile(/tmp/multipartBody1645475591516525954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917143672,"filename":"image_31102025_18_57_32_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/5/9612e3ff78fce1be4cff65c8fa4d620a.jpg","text":"TemporaryFile(/tmp/multipartBody4829312401860202391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917143672,"filename":"image_31102025_18_57_13_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040355","file1":"1398040353","file0":"1398040351","file4":"1398040365","file5":"1398040369","file3":"1398040358"},"map_files_photo_id_array":[{"photo_id":"1398040369","filename":"file5"},{"photo_id":"1398040355","filename":"file2"},{"photo_id":"1398040365","filename":"file4"},{"photo_id":"1398040353","filename":"file1"},{"photo_id":"1398040351","filename":"file0"},{"photo_id":"1398040358","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040365":["hashtag1","hashtag2"]},{"1398040353":["hashtag1","hashtag2"]},{"1398040358":["hashtag1","hashtag2"]},{"1398040355":["hashtag1","hashtag2"]},{"1398040369":["hashtag1","hashtag2"]},{"1398040351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040365, 1398040353, 1398040358, 1398040355, 1398040369, 1398040351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.25235056877136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:45:35.390471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/48/image_02122025_15_48_56_10676.jpg', '/home/pi/Desktop/images/02122025/15/49/image_02122025_15_49_25_9694.jpg', '/home/pi/Desktop/images/02122025/15/49/image_02122025_15_49_36_10593.jpg', '/home/pi/Desktop/images/02122025/15/49/image_02122025_15_49_45_9638.jpg', '/home/pi/Desktop/images/02122025/15/49/image_02122025_15_49_55_9567.jpg', '/home/pi/Desktop/images/02122025/15/49/image_02122025_15_50_06_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/48/image_02122025_15_48_56_10676.jpg
/home/pi/Desktop/images/02122025/15/49/image_02122025_15_49_25_9694.jpg
/home/pi/Desktop/images/02122025/15/49/image_02122025_15_49_36_10593.jpg
/home/pi/Desktop/images/02122025/15/49/image_02122025_15_49_45_9638.jpg
/home/pi/Desktop/images/02122025/15/49/image_02122025_15_49_55_9567.jpg
/home/pi/Desktop/images/02122025/15/49/image_02122025_15_50_06_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040386","1398040389","1398040382","1398040385","1398040379","1398040388"],"photo_ids_order":["1398040379","1398040382","1398040385","1398040386","1398040388","1398040389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/85a5be43cc56ab4b5293503c276004d9.jpg","text":"TemporaryFile(/tmp/multipartBody4506987755728815866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917200090,"filename":"image_02122025_15_49_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/5/74d7620c791fb1fe000e62c98492bd45.jpg","text":"TemporaryFile(/tmp/multipartBody3373561493129981924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917200090,"filename":"image_02122025_15_50_06_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/5/7b895275df90aeb5a2c47ee08275d6b6.jpg","text":"TemporaryFile(/tmp/multipartBody2757277082684855348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917200090,"filename":"image_02122025_15_49_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/5/b5e6c007f17bb094d0cacc94348b0e92.jpg","text":"TemporaryFile(/tmp/multipartBody6234191991847226377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917200090,"filename":"image_02122025_15_49_36_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/5/023bac206c4b6e848b14d2645cc7d0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2125483578651103106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917200090,"filename":"image_02122025_15_48_56_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ef23c6203956e85145aac7bf2ba5514.jpg","text":"TemporaryFile(/tmp/multipartBody2687863920083618475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917200090,"filename":"image_02122025_15_49_55_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040385","file1":"1398040382","file0":"1398040379","file4":"1398040388","file5":"1398040389","file3":"1398040386"},"map_files_photo_id_array":[{"photo_id":"1398040389","filename":"file5"},{"photo_id":"1398040385","filename":"file2"},{"photo_id":"1398040388","filename":"file4"},{"photo_id":"1398040382","filename":"file1"},{"photo_id":"1398040379","filename":"file0"},{"photo_id":"1398040386","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040386":["hashtag1","hashtag2"]},{"1398040389":["hashtag1","hashtag2"]},{"1398040382":["hashtag1","hashtag2"]},{"1398040385":["hashtag1","hashtag2"]},{"1398040379":["hashtag1","hashtag2"]},{"1398040388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040386, 1398040389, 1398040382, 1398040385, 1398040379, 1398040388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.69909334182739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:46:26.607091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/40/image_05122025_07_40_24_9902.jpg', '/home/pi/Desktop/images/05122025/07/40/image_05122025_07_40_34_9740.jpg', '/home/pi/Desktop/images/05122025/07/40/image_05122025_07_40_44_10756.jpg', '/home/pi/Desktop/images/05122025/07/40/image_05122025_07_41_04_10119.jpg', '/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_24_9899.jpg', '/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_33_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/40/image_05122025_07_40_24_9902.jpg
/home/pi/Desktop/images/05122025/07/40/image_05122025_07_40_34_9740.jpg
/home/pi/Desktop/images/05122025/07/40/image_05122025_07_40_44_10756.jpg
/home/pi/Desktop/images/05122025/07/40/image_05122025_07_41_04_10119.jpg
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_24_9899.jpg
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_33_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":["1398040402","1398040395","1398040397","1398040399","1398040406","1398040405"],"photo_ids_order":["1398040395","1398040397","1398040399","1398040402","1398040405","1398040406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ec65d2ffdde8aecc115024d4bfe97fc5.jpg","text":"TemporaryFile(/tmp/multipartBody8334247077762313228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917247349,"filename":"image_05122025_07_41_04_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/5/b43838f8ec0b2f372aa55b949471d958.jpg","text":"TemporaryFile(/tmp/multipartBody6957403247226084769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917247349,"filename":"image_05122025_07_40_24_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/5/28ad42b99ac024d8e57b7d2e1a4f9ac7.jpg","text":"TemporaryFile(/tmp/multipartBody847355075954421432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917247349,"filename":"image_05122025_07_40_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/5/76e5f7475648a3781b8d1f0bc54d4a0e.jpg","text":"TemporaryFile(/tmp/multipartBody7661498014813842527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917247349,"filename":"image_05122025_07_40_44_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/5/170a2a5a32dc67886d788614272370c4.jpg","text":"TemporaryFile(/tmp/multipartBody870175628064937243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917247349,"filename":"image_05122025_07_41_33_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/5/90eece718d0ae397bb3d5063d36cbb2f.jpg","text":"TemporaryFile(/tmp/multipartBody6351377967278897679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917247349,"filename":"image_05122025_07_41_24_9899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040399","file1":"1398040397","file0":"1398040395","file4":"1398040405","file5":"1398040406","file3":"1398040402"},"map_files_photo_id_array":[{"photo_id":"1398040406","filename":"file5"},{"photo_id":"1398040399","filename":"file2"},{"photo_id":"1398040405","filename":"file4"},{"photo_id":"1398040397","filename":"file1"},{"photo_id":"1398040395","filename":"file0"},{"photo_id":"1398040402","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040402":["hashtag1","hashtag2"]},{"1398040395":["hashtag1","hashtag2"]},{"1398040397":["hashtag1","hashtag2"]},{"1398040399":["hashtag1","hashtag2"]},{"1398040406":["hashtag1","hashtag2"]},{"1398040405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040402, 1398040395, 1398040397, 1398040399, 1398040406, 1398040405)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.85803246498108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:47:14.558061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/50/image_02122025_15_50_15_9582.jpg', '/home/pi/Desktop/images/02122025/15/50/image_02122025_15_50_25_9695.jpg', '/home/pi/Desktop/images/02122025/15/50/image_02122025_15_50_36_10700.jpg', '/home/pi/Desktop/images/02122025/15/50/image_02122025_15_50_55_9698.jpg', '/home/pi/Desktop/images/02122025/15/50/image_02122025_15_51_05_9677.jpg', '/home/pi/Desktop/images/02122025/15/51/image_02122025_15_51_26_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/50/image_02122025_15_50_15_9582.jpg
/home/pi/Desktop/images/02122025/15/50/image_02122025_15_50_25_9695.jpg
/home/pi/Desktop/images/02122025/15/50/image_02122025_15_50_36_10700.jpg
/home/pi/Desktop/images/02122025/15/50/image_02122025_15_50_55_9698.jpg
/home/pi/Desktop/images/02122025/15/50/image_02122025_15_51_05_9677.jpg
/home/pi/Desktop/images/02122025/15/51/image_02122025_15_51_26_9930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040428","1398040422","1398040425","1398040430","1398040432","1398040420"],"photo_ids_order":["1398040420","1398040422","1398040425","1398040428","1398040430","1398040432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/035d84d276447e6cddf4540b3ecd5dc6.jpg","text":"TemporaryFile(/tmp/multipartBody7990801979478402273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917296662,"filename":"image_02122025_15_50_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/5/dbb525e18747b9f6f40a4e758ac4214f.jpg","text":"TemporaryFile(/tmp/multipartBody4753493677992387787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917296662,"filename":"image_02122025_15_50_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/5/2e8cc471a6ed29b633690d0b84c79a11.jpg","text":"TemporaryFile(/tmp/multipartBody8594131593495643550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917296662,"filename":"image_02122025_15_50_36_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/5/6a2f2dd8029604ed26330c8f36904115.jpg","text":"TemporaryFile(/tmp/multipartBody2450261996432960354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917296662,"filename":"image_02122025_15_51_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/5/b9517711f5af7678f81b7fe43a808735.jpg","text":"TemporaryFile(/tmp/multipartBody294559656193485118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917296662,"filename":"image_02122025_15_51_26_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/5/abec2798022b3ccff5064c2fd494f995.jpg","text":"TemporaryFile(/tmp/multipartBody4745228087988768378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917296662,"filename":"image_02122025_15_50_15_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040425","file1":"1398040422","file0":"1398040420","file4":"1398040430","file5":"1398040432","file3":"1398040428"},"map_files_photo_id_array":[{"photo_id":"1398040432","filename":"file5"},{"photo_id":"1398040425","filename":"file2"},{"photo_id":"1398040430","filename":"file4"},{"photo_id":"1398040422","filename":"file1"},{"photo_id":"1398040420","filename":"file0"},{"photo_id":"1398040428","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040428":["hashtag1","hashtag2"]},{"1398040422":["hashtag1","hashtag2"]},{"1398040425":["hashtag1","hashtag2"]},{"1398040430":["hashtag1","hashtag2"]},{"1398040432":["hashtag1","hashtag2"]},{"1398040420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040428, 1398040422, 1398040425, 1398040430, 1398040432, 1398040420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75702118873596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:48:02.441591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_44_10756.jpg', '/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_54_9983.jpg', '/home/pi/Desktop/images/05122025/07/41/image_05122025_07_42_04_9917.jpg', '/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_14_9876.jpg', '/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_44_10608.jpg', '/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_44_10756.jpg
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_54_9983.jpg
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_42_04_9917.jpg
/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_14_9876.jpg
/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_44_10608.jpg
/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_54_9654.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7218828201293945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:48:11.942756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/51/image_02122025_15_51_56_10909.jpg', '/home/pi/Desktop/images/02122025/15/52/image_02122025_15_52_15_9777.jpg', '/home/pi/Desktop/images/02122025/15/52/image_02122025_15_53_06_9797.jpg', '/home/pi/Desktop/images/02122025/15/53/image_02122025_15_53_15_9641.jpg', '/home/pi/Desktop/images/02122025/15/53/image_02122025_15_53_25_9656.jpg', '/home/pi/Desktop/images/02122025/15/53/image_02122025_15_53_36_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/51/image_02122025_15_51_56_10909.jpg
/home/pi/Desktop/images/02122025/15/52/image_02122025_15_52_15_9777.jpg
/home/pi/Desktop/images/02122025/15/52/image_02122025_15_53_06_9797.jpg
/home/pi/Desktop/images/02122025/15/53/image_02122025_15_53_15_9641.jpg
/home/pi/Desktop/images/02122025/15/53/image_02122025_15_53_25_9656.jpg
/home/pi/Desktop/images/02122025/15/53/image_02122025_15_53_36_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040455","1398040458","1398040454","1398040450","1398040444","1398040447"],"photo_ids_order":["1398040444","1398040447","1398040450","1398040454","1398040455","1398040458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6bf4cd39c1f3ec65dfa954819ef3ca60.jpg","text":"TemporaryFile(/tmp/multipartBody6154095239209532767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917353714,"filename":"image_02122025_15_53_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/5/f5b494108995f00703a0c91dcb29719b.jpg","text":"TemporaryFile(/tmp/multipartBody3005669523015291884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917353714,"filename":"image_02122025_15_53_36_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/5/23fe6440cb03d1d01d2716d6e02f73f5.jpg","text":"TemporaryFile(/tmp/multipartBody2082776769199376344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917353714,"filename":"image_02122025_15_53_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/25f25f63e965e8dd84629cf109515ac4.jpg","text":"TemporaryFile(/tmp/multipartBody8045897933613744274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917353714,"filename":"image_02122025_15_53_06_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/5/5ca942a504ef66e782a309b3ef03f17f.jpg","text":"TemporaryFile(/tmp/multipartBody579991383512848355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917353714,"filename":"image_02122025_15_51_56_10909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22005474dc73387a239aafc032db2931.jpg","text":"TemporaryFile(/tmp/multipartBody1445377167346552173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917353714,"filename":"image_02122025_15_52_15_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040450","file1":"1398040447","file0":"1398040444","file4":"1398040455","file5":"1398040458","file3":"1398040454"},"map_files_photo_id_array":[{"photo_id":"1398040458","filename":"file5"},{"photo_id":"1398040450","filename":"file2"},{"photo_id":"1398040455","filename":"file4"},{"photo_id":"1398040447","filename":"file1"},{"photo_id":"1398040444","filename":"file0"},{"photo_id":"1398040454","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040455":["hashtag1","hashtag2"]},{"1398040458":["hashtag1","hashtag2"]},{"1398040454":["hashtag1","hashtag2"]},{"1398040450":["hashtag1","hashtag2"]},{"1398040444":["hashtag1","hashtag2"]},{"1398040447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040455, 1398040458, 1398040454, 1398040450, 1398040444, 1398040447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59812045097351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:49:03.071214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_44_10756.jpg', '/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_54_9983.jpg', '/home/pi/Desktop/images/05122025/07/41/image_05122025_07_42_04_9917.jpg', '/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_14_9876.jpg', '/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_44_10608.jpg', '/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_44_10756.jpg
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_54_9983.jpg
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_42_04_9917.jpg
/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_14_9876.jpg
/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_44_10608.jpg
/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_54_9654.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8727664947509766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:49:12.170532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/53/image_02122025_15_53_59_13525.jpg', '/home/pi/Desktop/images/02122025/15/54/image_02122025_15_54_06_6835.jpg', '/home/pi/Desktop/images/02122025/15/54/image_02122025_15_54_36_9760.jpg', '/home/pi/Desktop/images/02122025/15/54/image_02122025_15_54_45_9822.jpg', '/home/pi/Desktop/images/02122025/15/54/image_02122025_15_55_06_10717.jpg', '/home/pi/Desktop/images/02122025/15/58/image_02122025_15_58_26_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/53/image_02122025_15_53_59_13525.jpg
/home/pi/Desktop/images/02122025/15/54/image_02122025_15_54_06_6835.jpg
/home/pi/Desktop/images/02122025/15/54/image_02122025_15_54_36_9760.jpg
/home/pi/Desktop/images/02122025/15/54/image_02122025_15_54_45_9822.jpg
/home/pi/Desktop/images/02122025/15/54/image_02122025_15_55_06_10717.jpg
/home/pi/Desktop/images/02122025/15/58/image_02122025_15_58_26_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":["1398040488","1398040493","1398040490","1398040484","1398040480","1398040477"],"photo_ids_order":["1398040477","1398040480","1398040484","1398040488","1398040490","1398040493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/89d728edf296618a7b70243a49058741.jpg","text":"TemporaryFile(/tmp/multipartBody3461192072667507948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917414228,"filename":"image_02122025_15_54_45_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80d186495ecf9e98297e44577246c30f.jpg","text":"TemporaryFile(/tmp/multipartBody8191188131233064499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917414228,"filename":"image_02122025_15_58_26_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/72b473d6b2d8230ef4dd65b1fd6d15e3.jpg","text":"TemporaryFile(/tmp/multipartBody2169091347550425958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917414228,"filename":"image_02122025_15_55_06_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/5/50a5a708f72dcedda38db65173dbb58c.jpg","text":"TemporaryFile(/tmp/multipartBody7846922853779646132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917414228,"filename":"image_02122025_15_54_36_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/5/2014e46dd1db1a1b8ee98877bc1be568.jpg","text":"TemporaryFile(/tmp/multipartBody8065361328777518342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917414228,"filename":"image_02122025_15_54_06_6835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/202704d736c546378379b665d9cf02b5.jpg","text":"TemporaryFile(/tmp/multipartBody7863316598818647257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917414228,"filename":"image_02122025_15_53_59_13525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040484","file1":"1398040480","file0":"1398040477","file4":"1398040490","file5":"1398040493","file3":"1398040488"},"map_files_photo_id_array":[{"photo_id":"1398040493","filename":"file5"},{"photo_id":"1398040484","filename":"file2"},{"photo_id":"1398040490","filename":"file4"},{"photo_id":"1398040480","filename":"file1"},{"photo_id":"1398040477","filename":"file0"},{"photo_id":"1398040488","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040488":["hashtag1","hashtag2"]},{"1398040493":["hashtag1","hashtag2"]},{"1398040490":["hashtag1","hashtag2"]},{"1398040484":["hashtag1","hashtag2"]},{"1398040480":["hashtag1","hashtag2"]},{"1398040477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040488, 1398040493, 1398040490, 1398040484, 1398040480, 1398040477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16912317276001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:50:02.782126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_44_10756.jpg', '/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_54_9983.jpg', '/home/pi/Desktop/images/05122025/07/41/image_05122025_07_42_04_9917.jpg', '/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_14_9876.jpg', '/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_44_10608.jpg', '/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_44_10756.jpg
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_41_54_9983.jpg
/home/pi/Desktop/images/05122025/07/41/image_05122025_07_42_04_9917.jpg
/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_14_9876.jpg
/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_44_10608.jpg
/home/pi/Desktop/images/05122025/07/42/image_05122025_07_42_54_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040509","1398040503","1398040512","1398040506","1398040505","1398040504"],"photo_ids_order":["1398040503","1398040504","1398040505","1398040506","1398040509","1398040512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0cf2490fdda4d763db19e8b652617c70.jpg","text":"TemporaryFile(/tmp/multipartBody2800586196982198028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917463655,"filename":"image_05122025_07_42_44_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/5/139ec15c86eb5afff61bf119be3f4d6d.jpg","text":"TemporaryFile(/tmp/multipartBody8091046674389926759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917463655,"filename":"image_05122025_07_41_44_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/5/ca4229208658a77dcabb4883ba22af9e.jpg","text":"TemporaryFile(/tmp/multipartBody7346580917592643965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917463655,"filename":"image_05122025_07_42_54_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/5/fa8721e93b3918943470e188358e430b.jpg","text":"TemporaryFile(/tmp/multipartBody6566833216564537818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917463655,"filename":"image_05122025_07_42_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/5/ded52c935e7d3d77099a2e61facb089c.jpg","text":"TemporaryFile(/tmp/multipartBody1353719205744499691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917463655,"filename":"image_05122025_07_42_04_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/5/4083942ea5f2e2db4a59f88576901474.jpg","text":"TemporaryFile(/tmp/multipartBody3965232383267049680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917463655,"filename":"image_05122025_07_41_54_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040505","file1":"1398040504","file0":"1398040503","file4":"1398040509","file5":"1398040512","file3":"1398040506"},"map_files_photo_id_array":[{"photo_id":"1398040512","filename":"file5"},{"photo_id":"1398040505","filename":"file2"},{"photo_id":"1398040509","filename":"file4"},{"photo_id":"1398040504","filename":"file1"},{"photo_id":"1398040503","filename":"file0"},{"photo_id":"1398040506","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040509":["hashtag1","hashtag2"]},{"1398040503":["hashtag1","hashtag2"]},{"1398040512":["hashtag1","hashtag2"]},{"1398040506":["hashtag1","hashtag2"]},{"1398040505":["hashtag1","hashtag2"]},{"1398040504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040509, 1398040503, 1398040512, 1398040506, 1398040505, 1398040504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70687532424927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:50:42.468943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_34_2658.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_38_3683.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_43_2572.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_47_3637.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_50_2666.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_52_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_34_2658.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_38_3683.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_43_2572.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_47_3637.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_50_2666.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_52_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040545","1398040536","1398040532","1398040535","1398040534","1398040543"],"photo_ids_order":["1398040532","1398040534","1398040535","1398040536","1398040543","1398040545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/15981fdbfa98eb54c0a41de089b22a78.jpg","text":"TemporaryFile(/tmp/multipartBody1371033975888988661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917504140,"filename":"image_31102025_18_57_52_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dcdad52189fc3139ff235b9b4c8f791f.jpg","text":"TemporaryFile(/tmp/multipartBody3562354241906768555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917504140,"filename":"image_31102025_18_57_47_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/5/6b4b2d132bc3741401939208cc47772c.jpg","text":"TemporaryFile(/tmp/multipartBody7648110141175693079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917504140,"filename":"image_31102025_18_57_34_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/5/f9251f439b47276ab670192b2c1d86af.jpg","text":"TemporaryFile(/tmp/multipartBody1849195623523958456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917504140,"filename":"image_31102025_18_57_43_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/5/dc56c9849f5fcbff80bc9d46b549f53e.jpg","text":"TemporaryFile(/tmp/multipartBody6685436206683485599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917504140,"filename":"image_31102025_18_57_38_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c9fc9522b42680941756c048589563dc.jpg","text":"TemporaryFile(/tmp/multipartBody1648596571682319932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917504140,"filename":"image_31102025_18_57_50_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040535","file1":"1398040534","file0":"1398040532","file4":"1398040543","file5":"1398040545","file3":"1398040536"},"map_files_photo_id_array":[{"photo_id":"1398040545","filename":"file5"},{"photo_id":"1398040535","filename":"file2"},{"photo_id":"1398040543","filename":"file4"},{"photo_id":"1398040534","filename":"file1"},{"photo_id":"1398040532","filename":"file0"},{"photo_id":"1398040536","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040545":["hashtag1","hashtag2"]},{"1398040536":["hashtag1","hashtag2"]},{"1398040532":["hashtag1","hashtag2"]},{"1398040535":["hashtag1","hashtag2"]},{"1398040534":["hashtag1","hashtag2"]},{"1398040543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040545, 1398040536, 1398040532, 1398040535, 1398040534, 1398040543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75038552284241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:51:22.619119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/42/image_05122025_07_43_03_9626.jpg', '/home/pi/Desktop/images/05122025/07/43/image_05122025_07_43_14_10824.jpg', '/home/pi/Desktop/images/05122025/07/43/image_05122025_07_43_24_9674.jpg', '/home/pi/Desktop/images/05122025/07/43/image_05122025_07_43_34_9569.jpg', '/home/pi/Desktop/images/05122025/07/43/image_05122025_07_43_44_10496.jpg', '/home/pi/Desktop/images/05122025/07/43/image_05122025_07_43_54_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/42/image_05122025_07_43_03_9626.jpg
/home/pi/Desktop/images/05122025/07/43/image_05122025_07_43_14_10824.jpg
/home/pi/Desktop/images/05122025/07/43/image_05122025_07_43_24_9674.jpg
/home/pi/Desktop/images/05122025/07/43/image_05122025_07_43_34_9569.jpg
/home/pi/Desktop/images/05122025/07/43/image_05122025_07_43_44_10496.jpg
/home/pi/Desktop/images/05122025/07/43/image_05122025_07_43_54_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040560","1398040554","1398040562","1398040567","1398040564","1398040558"],"photo_ids_order":["1398040554","1398040558","1398040560","1398040562","1398040564","1398040567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d91e481fa34a6c85a13202f8107f52b4.jpg","text":"TemporaryFile(/tmp/multipartBody4414302624981405237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917543374,"filename":"image_05122025_07_43_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/de103007ab910c6a86615a70f7289f36.jpg","text":"TemporaryFile(/tmp/multipartBody6536560896225627930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917543374,"filename":"image_05122025_07_43_03_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/5/7290001d380bc503f62da3c1751824d2.jpg","text":"TemporaryFile(/tmp/multipartBody2867943806375203976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917543374,"filename":"image_05122025_07_43_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91b91155d3ef07e0f19298f3c1c88802.jpg","text":"TemporaryFile(/tmp/multipartBody7763623239794065962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917543374,"filename":"image_05122025_07_43_54_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/26d6f8c25685e9e1feb05663d1008e68.jpg","text":"TemporaryFile(/tmp/multipartBody4487793576028479625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917543374,"filename":"image_05122025_07_43_44_10496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6c6fec1d6a1a206af5e31adce695bc38.jpg","text":"TemporaryFile(/tmp/multipartBody2779739135856876170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917543374,"filename":"image_05122025_07_43_14_10824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040560","file1":"1398040558","file0":"1398040554","file4":"1398040564","file5":"1398040567","file3":"1398040562"},"map_files_photo_id_array":[{"photo_id":"1398040567","filename":"file5"},{"photo_id":"1398040560","filename":"file2"},{"photo_id":"1398040564","filename":"file4"},{"photo_id":"1398040558","filename":"file1"},{"photo_id":"1398040554","filename":"file0"},{"photo_id":"1398040562","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040560":["hashtag1","hashtag2"]},{"1398040554":["hashtag1","hashtag2"]},{"1398040562":["hashtag1","hashtag2"]},{"1398040567":["hashtag1","hashtag2"]},{"1398040564":["hashtag1","hashtag2"]},{"1398040558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040560, 1398040554, 1398040562, 1398040567, 1398040564, 1398040558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06299543380737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:52:02.300747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/44/image_05122025_07_44_14_10725.jpg', '/home/pi/Desktop/images/05122025/07/44/image_05122025_07_44_51_16842.jpg', '/home/pi/Desktop/images/05122025/07/44/image_05122025_07_44_54_2705.jpg', '/home/pi/Desktop/images/05122025/07/46/image_05122025_07_46_14_9942.jpg', '/home/pi/Desktop/images/05122025/07/46/image_05122025_07_46_34_10222.jpg', '/home/pi/Desktop/images/05122025/07/46/image_05122025_07_46_54_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/44/image_05122025_07_44_14_10725.jpg
/home/pi/Desktop/images/05122025/07/44/image_05122025_07_44_51_16842.jpg
/home/pi/Desktop/images/05122025/07/44/image_05122025_07_44_54_2705.jpg
/home/pi/Desktop/images/05122025/07/46/image_05122025_07_46_14_9942.jpg
/home/pi/Desktop/images/05122025/07/46/image_05122025_07_46_34_10222.jpg
/home/pi/Desktop/images/05122025/07/46/image_05122025_07_46_54_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040572","1398040583","1398040577","1398040571","1398040591","1398040570"],"photo_ids_order":["1398040570","1398040571","1398040572","1398040577","1398040583","1398040591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6e8b593ae02b80c64f58fe959acc6f97.jpg","text":"TemporaryFile(/tmp/multipartBody2262546326768236436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917583051,"filename":"image_05122025_07_44_54_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/5/73287ebfe238b3ee3021f911fc7c81c6.jpg","text":"TemporaryFile(/tmp/multipartBody5827073107597686794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917583051,"filename":"image_05122025_07_46_34_10222.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87ff3e3adb3dba266f690995392329b8.jpg","text":"TemporaryFile(/tmp/multipartBody2977998611629909649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917583051,"filename":"image_05122025_07_46_14_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/5/c38a08c6130133a813cb99919c4083b1.jpg","text":"TemporaryFile(/tmp/multipartBody8855891949507216658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917583051,"filename":"image_05122025_07_44_51_16842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74128d2b0353c6e31ca188b0fa47ebd6.jpg","text":"TemporaryFile(/tmp/multipartBody8580529491986890797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917583051,"filename":"image_05122025_07_46_54_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/5/66154fcd5684bb0fce0532da0b49a166.jpg","text":"TemporaryFile(/tmp/multipartBody3102825038123974217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917583051,"filename":"image_05122025_07_44_14_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040572","file1":"1398040571","file0":"1398040570","file4":"1398040583","file5":"1398040591","file3":"1398040577"},"map_files_photo_id_array":[{"photo_id":"1398040591","filename":"file5"},{"photo_id":"1398040572","filename":"file2"},{"photo_id":"1398040583","filename":"file4"},{"photo_id":"1398040571","filename":"file1"},{"photo_id":"1398040570","filename":"file0"},{"photo_id":"1398040577","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040572":["hashtag1","hashtag2"]},{"1398040583":["hashtag1","hashtag2"]},{"1398040577":["hashtag1","hashtag2"]},{"1398040571":["hashtag1","hashtag2"]},{"1398040591":["hashtag1","hashtag2"]},{"1398040570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040572, 1398040583, 1398040577, 1398040571, 1398040591, 1398040570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34018063545227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:53:02.711754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/47/image_05122025_07_47_14_9778.jpg', '/home/pi/Desktop/images/05122025/07/47/image_05122025_07_47_24_10784.jpg', '/home/pi/Desktop/images/05122025/07/48/image_05122025_07_48_14_9756.jpg', '/home/pi/Desktop/images/05122025/07/48/image_05122025_07_48_34_10732.jpg', '/home/pi/Desktop/images/05122025/07/48/image_05122025_07_48_44_9813.jpg', '/home/pi/Desktop/images/05122025/07/48/image_05122025_07_49_03_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/47/image_05122025_07_47_14_9778.jpg
/home/pi/Desktop/images/05122025/07/47/image_05122025_07_47_24_10784.jpg
/home/pi/Desktop/images/05122025/07/48/image_05122025_07_48_14_9756.jpg
/home/pi/Desktop/images/05122025/07/48/image_05122025_07_48_34_10732.jpg
/home/pi/Desktop/images/05122025/07/48/image_05122025_07_48_44_9813.jpg
/home/pi/Desktop/images/05122025/07/48/image_05122025_07_49_03_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":["1398040600","1398040602","1398040598","1398040604","1398040606","1398040596"],"photo_ids_order":["1398040596","1398040598","1398040600","1398040602","1398040604","1398040606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/128ccd00bb9e3b3184c171544b794596.jpg","text":"TemporaryFile(/tmp/multipartBody2974608697330382802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917643507,"filename":"image_05122025_07_48_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/5/d8cc273dca59c725741eea92656d6ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2087564305577575855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917643507,"filename":"image_05122025_07_48_34_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/5/5e42ea9679d043b790bcf7777a7de8de.jpg","text":"TemporaryFile(/tmp/multipartBody7425254265224428627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917643507,"filename":"image_05122025_07_47_24_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/5/21786c7d39cca1d864cae51d43374148.jpg","text":"TemporaryFile(/tmp/multipartBody7082084320745702487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917643507,"filename":"image_05122025_07_48_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/5/3b586818ec3a33c4ac1cb9b90e7b358e.jpg","text":"TemporaryFile(/tmp/multipartBody3017987036925294412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917643507,"filename":"image_05122025_07_49_03_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/5/f26fe6b7240069354d05b5bebf6cb483.jpg","text":"TemporaryFile(/tmp/multipartBody6543231599444300635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917643507,"filename":"image_05122025_07_47_14_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040600","file1":"1398040598","file0":"1398040596","file4":"1398040604","file5":"1398040606","file3":"1398040602"},"map_files_photo_id_array":[{"photo_id":"1398040606","filename":"file5"},{"photo_id":"1398040600","filename":"file2"},{"photo_id":"1398040604","filename":"file4"},{"photo_id":"1398040598","filename":"file1"},{"photo_id":"1398040596","filename":"file0"},{"photo_id":"1398040602","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040600":["hashtag1","hashtag2"]},{"1398040602":["hashtag1","hashtag2"]},{"1398040598":["hashtag1","hashtag2"]},{"1398040604":["hashtag1","hashtag2"]},{"1398040606":["hashtag1","hashtag2"]},{"1398040596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040600, 1398040602, 1398040598, 1398040604, 1398040606, 1398040596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.629615783691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:53:41.975392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_56_3797.jpg', '/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_59_2743.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_02_2686.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_05_3593.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_08_2566.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_11_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_56_3797.jpg
/home/pi/Desktop/images/31102025/18/57/image_31102025_18_57_59_2743.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_02_2686.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_05_3593.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_08_2566.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_11_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040617","1398040619","1398040616","1398040615","1398040618","1398040612"],"photo_ids_order":["1398040612","1398040615","1398040616","1398040617","1398040618","1398040619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b67999b17edf59c123fc593e033d6a23.jpg","text":"TemporaryFile(/tmp/multipartBody4513251671352757082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917683631,"filename":"image_31102025_18_58_05_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/5/3aa0cc8d170abf3b72588bf3b0a86896.jpg","text":"TemporaryFile(/tmp/multipartBody7072771553310375590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917683631,"filename":"image_31102025_18_58_11_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/511364da97d3c4c6fc89bb0d19d3aba1.jpg","text":"TemporaryFile(/tmp/multipartBody5169290039081841731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917683631,"filename":"image_31102025_18_58_02_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/5/5a6639c759cdba91d129bc56b1489cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7133416914245705926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917683631,"filename":"image_31102025_18_57_59_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/5/8f55e4088641101973e1969b7ff7733b.jpg","text":"TemporaryFile(/tmp/multipartBody4040495558555376944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917683631,"filename":"image_31102025_18_58_08_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/5/c7e808244ed6d864b59d185254b0179e.jpg","text":"TemporaryFile(/tmp/multipartBody1408219775006535407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917683631,"filename":"image_31102025_18_57_56_3797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040616","file1":"1398040615","file0":"1398040612","file4":"1398040618","file5":"1398040619","file3":"1398040617"},"map_files_photo_id_array":[{"photo_id":"1398040619","filename":"file5"},{"photo_id":"1398040616","filename":"file2"},{"photo_id":"1398040618","filename":"file4"},{"photo_id":"1398040615","filename":"file1"},{"photo_id":"1398040612","filename":"file0"},{"photo_id":"1398040617","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040617":["hashtag1","hashtag2"]},{"1398040619":["hashtag1","hashtag2"]},{"1398040616":["hashtag1","hashtag2"]},{"1398040615":["hashtag1","hashtag2"]},{"1398040618":["hashtag1","hashtag2"]},{"1398040612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040617, 1398040619, 1398040616, 1398040615, 1398040618, 1398040612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.157461404800415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 07:54:22.182127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/49/image_05122025_07_49_14_10620.jpg', '/home/pi/Desktop/images/05122025/07/49/image_05122025_07_49_44_10666.jpg', '/home/pi/Desktop/images/05122025/07/49/image_05122025_07_49_54_9865.jpg', '/home/pi/Desktop/images/05122025/07/49/image_05122025_07_50_04_9751.jpg', '/home/pi/Desktop/images/05122025/07/50/image_05122025_07_50_14_9812.jpg', '/home/pi/Desktop/images/05122025/07/50/image_05122025_07_50_34_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/49/image_05122025_07_49_14_10620.jpg
/home/pi/Desktop/images/05122025/07/49/image_05122025_07_49_44_10666.jpg
/home/pi/Desktop/images/05122025/07/49/image_05122025_07_49_54_9865.jpg
/home/pi/Desktop/images/05122025/07/49/image_05122025_07_50_04_9751.jpg
/home/pi/Desktop/images/05122025/07/50/image_05122025_07_50_14_9812.jpg
/home/pi/Desktop/images/05122025/07/50/image_05122025_07_50_34_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":["1398040644","1398040626","1398040641","1398040634","1398040628","1398040624"],"photo_ids_order":["1398040624","1398040626","1398040628","1398040634","1398040641","1398040644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/441fcecd72ec62f6d5a2a3356b34f65c.jpg","text":"TemporaryFile(/tmp/multipartBody754286863746335202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917722965,"filename":"image_05122025_07_50_34_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/5/68d829a92958b692ec62785fd0d45748.jpg","text":"TemporaryFile(/tmp/multipartBody2783292104789703685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917722965,"filename":"image_05122025_07_49_44_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/5/dde79be656947189fef31e2bd408ff04.jpg","text":"TemporaryFile(/tmp/multipartBody5154781162848629709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917722965,"filename":"image_05122025_07_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/5/52ef42e4d6ee9863669847e2361539ef.jpg","text":"TemporaryFile(/tmp/multipartBody7993296666140889041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917722965,"filename":"image_05122025_07_50_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/5/bd4ddc27a75a98ab44cc20df2047d452.jpg","text":"TemporaryFile(/tmp/multipartBody5470908692408369629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917722965,"filename":"image_05122025_07_49_54_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/5/ed8f5606461b1ba6207d6d2fdaf754f7.jpg","text":"TemporaryFile(/tmp/multipartBody8530822776476958398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917722965,"filename":"image_05122025_07_49_14_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040628","file1":"1398040626","file0":"1398040624","file4":"1398040641","file5":"1398040644","file3":"1398040634"},"map_files_photo_id_array":[{"photo_id":"1398040644","filename":"file5"},{"photo_id":"1398040628","filename":"file2"},{"photo_id":"1398040641","filename":"file4"},{"photo_id":"1398040626","filename":"file1"},{"photo_id":"1398040624","filename":"file0"},{"photo_id":"1398040634","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040644":["hashtag1","hashtag2"]},{"1398040626":["hashtag1","hashtag2"]},{"1398040641":["hashtag1","hashtag2"]},{"1398040634":["hashtag1","hashtag2"]},{"1398040628":["hashtag1","hashtag2"]},{"1398040624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040644, 1398040626, 1398040641, 1398040634, 1398040628, 1398040624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.241738080978394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:55:03.093201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/50/image_05122025_07_50_44_9932.jpg', '/home/pi/Desktop/images/05122025/07/51/image_05122025_07_51_34_9735.jpg', '/home/pi/Desktop/images/05122025/07/51/image_05122025_07_51_44_9743.jpg', '/home/pi/Desktop/images/05122025/07/52/image_05122025_07_52_34_10673.jpg', '/home/pi/Desktop/images/05122025/07/53/image_05122025_07_53_24_9617.jpg', '/home/pi/Desktop/images/05122025/07/53/image_05122025_07_53_34_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/50/image_05122025_07_50_44_9932.jpg
/home/pi/Desktop/images/05122025/07/51/image_05122025_07_51_34_9735.jpg
/home/pi/Desktop/images/05122025/07/51/image_05122025_07_51_44_9743.jpg
/home/pi/Desktop/images/05122025/07/52/image_05122025_07_52_34_10673.jpg
/home/pi/Desktop/images/05122025/07/53/image_05122025_07_53_24_9617.jpg
/home/pi/Desktop/images/05122025/07/53/image_05122025_07_53_34_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":["1398040650","1398040656","1398040652","1398040646","1398040654","1398040648"],"photo_ids_order":["1398040646","1398040648","1398040650","1398040652","1398040654","1398040656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49ace317485324e0532da4e6905f9354.jpg","text":"TemporaryFile(/tmp/multipartBody8268294680261223659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917763876,"filename":"image_05122025_07_51_44_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/5/ba70798141c9d1d429f07285f209f0f9.jpg","text":"TemporaryFile(/tmp/multipartBody8282046286676982945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917763876,"filename":"image_05122025_07_53_34_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/5/45fc7a08c859b3734126e0cbb86f0038.jpg","text":"TemporaryFile(/tmp/multipartBody4843973159642545516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917763876,"filename":"image_05122025_07_52_34_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/58db15d47c34e626dfc2908e92d08cec.jpg","text":"TemporaryFile(/tmp/multipartBody2178667343843171976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917763876,"filename":"image_05122025_07_50_44_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cdc38e02f06e2ab051588c2db84d8137.jpg","text":"TemporaryFile(/tmp/multipartBody5180584329724657243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917763876,"filename":"image_05122025_07_53_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/5/69f646ea208931016dd0e041b2528b74.jpg","text":"TemporaryFile(/tmp/multipartBody8523672327744634794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917763876,"filename":"image_05122025_07_51_34_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040650","file1":"1398040648","file0":"1398040646","file4":"1398040654","file5":"1398040656","file3":"1398040652"},"map_files_photo_id_array":[{"photo_id":"1398040656","filename":"file5"},{"photo_id":"1398040650","filename":"file2"},{"photo_id":"1398040654","filename":"file4"},{"photo_id":"1398040648","filename":"file1"},{"photo_id":"1398040646","filename":"file0"},{"photo_id":"1398040652","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040650":["hashtag1","hashtag2"]},{"1398040656":["hashtag1","hashtag2"]},{"1398040652":["hashtag1","hashtag2"]},{"1398040646":["hashtag1","hashtag2"]},{"1398040654":["hashtag1","hashtag2"]},{"1398040648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040650, 1398040656, 1398040652, 1398040646, 1398040654, 1398040648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.038238286972046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:56:02.936420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/53/image_05122025_07_53_54_10593.jpg', '/home/pi/Desktop/images/05122025/07/53/image_05122025_07_54_04_9797.jpg', '/home/pi/Desktop/images/05122025/07/54/image_05122025_07_54_14_9706.jpg', '/home/pi/Desktop/images/05122025/07/54/image_05122025_07_54_23_9813.jpg', '/home/pi/Desktop/images/05122025/07/54/image_05122025_07_54_44_9643.jpg', '/home/pi/Desktop/images/05122025/07/55/image_05122025_07_55_24_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/53/image_05122025_07_53_54_10593.jpg
/home/pi/Desktop/images/05122025/07/53/image_05122025_07_54_04_9797.jpg
/home/pi/Desktop/images/05122025/07/54/image_05122025_07_54_14_9706.jpg
/home/pi/Desktop/images/05122025/07/54/image_05122025_07_54_23_9813.jpg
/home/pi/Desktop/images/05122025/07/54/image_05122025_07_54_44_9643.jpg
/home/pi/Desktop/images/05122025/07/55/image_05122025_07_55_24_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040671","1398040673","1398040667","1398040679","1398040664","1398040669"],"photo_ids_order":["1398040664","1398040667","1398040669","1398040671","1398040673","1398040679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/79156e3cb442a6d82c6af8e56472b84a.jpg","text":"TemporaryFile(/tmp/multipartBody4833752933710751558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917823754,"filename":"image_05122025_07_54_23_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/5/1b9e253b675a0eeb0d306ac06baee022.jpg","text":"TemporaryFile(/tmp/multipartBody542479795269449430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917823754,"filename":"image_05122025_07_54_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/5/4d1e8b9feecf491bab6e46e6e400a407.jpg","text":"TemporaryFile(/tmp/multipartBody1267419407015039267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917823754,"filename":"image_05122025_07_54_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/5/beaab94fd170835dd2eaf2a6aaf96760.jpg","text":"TemporaryFile(/tmp/multipartBody2845013648431786987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917823754,"filename":"image_05122025_07_55_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/5/36abb085d5b927b24543818a21c33ee0.jpg","text":"TemporaryFile(/tmp/multipartBody603298956034266303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917823754,"filename":"image_05122025_07_53_54_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3daec6287932d7009e9301a85496c3e5.jpg","text":"TemporaryFile(/tmp/multipartBody6238823565939565539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917823754,"filename":"image_05122025_07_54_14_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040669","file1":"1398040667","file0":"1398040664","file4":"1398040673","file5":"1398040679","file3":"1398040671"},"map_files_photo_id_array":[{"photo_id":"1398040679","filename":"file5"},{"photo_id":"1398040669","filename":"file2"},{"photo_id":"1398040673","filename":"file4"},{"photo_id":"1398040667","filename":"file1"},{"photo_id":"1398040664","filename":"file0"},{"photo_id":"1398040671","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040671":["hashtag1","hashtag2"]},{"1398040673":["hashtag1","hashtag2"]},{"1398040667":["hashtag1","hashtag2"]},{"1398040679":["hashtag1","hashtag2"]},{"1398040664":["hashtag1","hashtag2"]},{"1398040669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040671, 1398040673, 1398040667, 1398040679, 1398040664, 1398040669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57942843437195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:56:42.609404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_13_2815.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_17_3628.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_20_2645.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_22_2706.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_26_3598.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_29_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_13_2815.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_17_3628.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_20_2645.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_22_2706.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_26_3598.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_29_2850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040701","1398040704","1398040697","1398040696","1398040702","1398040695"],"photo_ids_order":["1398040695","1398040696","1398040697","1398040701","1398040702","1398040704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f4a35956a7fcedf4118d2cd2ee122c8.jpg","text":"TemporaryFile(/tmp/multipartBody6566786426498647548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917867325,"filename":"image_31102025_18_58_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/5/f04aed5c5b31cec782a3526af9bc33a8.jpg","text":"TemporaryFile(/tmp/multipartBody6297792330286966491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917867325,"filename":"image_31102025_18_58_29_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/5/6ad58e3656c9ac9010f26cd664e30eeb.jpg","text":"TemporaryFile(/tmp/multipartBody7314697906146429596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917867325,"filename":"image_31102025_18_58_20_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/5/2b1837f0b4a23cce5ebfbda121b0cc13.jpg","text":"TemporaryFile(/tmp/multipartBody2664138504832419772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917867325,"filename":"image_31102025_18_58_17_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/5/97496db5b7d31b56bee1dee879735848.jpg","text":"TemporaryFile(/tmp/multipartBody6067458617021208285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917867325,"filename":"image_31102025_18_58_26_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5600e378257c6d330e990d80529c0a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2820806494408579358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917867325,"filename":"image_31102025_18_58_13_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040697","file1":"1398040696","file0":"1398040695","file4":"1398040702","file5":"1398040704","file3":"1398040701"},"map_files_photo_id_array":[{"photo_id":"1398040704","filename":"file5"},{"photo_id":"1398040697","filename":"file2"},{"photo_id":"1398040702","filename":"file4"},{"photo_id":"1398040696","filename":"file1"},{"photo_id":"1398040695","filename":"file0"},{"photo_id":"1398040701","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040701":["hashtag1","hashtag2"]},{"1398040704":["hashtag1","hashtag2"]},{"1398040697":["hashtag1","hashtag2"]},{"1398040696":["hashtag1","hashtag2"]},{"1398040702":["hashtag1","hashtag2"]},{"1398040695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040701, 1398040704, 1398040697, 1398040696, 1398040702, 1398040695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85434627532959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 07:57:32.894932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/15/58/image_02122025_15_59_05_9578.jpg', '/home/pi/Desktop/images/02122025/15/59/image_02122025_15_59_55_9527.jpg', '/home/pi/Desktop/images/02122025/16/00/image_02122025_16_00_15_10050.jpg', '/home/pi/Desktop/images/02122025/16/00/image_02122025_16_00_55_9723.jpg', '/home/pi/Desktop/images/02122025/16/03/image_02122025_16_04_05_10767.jpg', '/home/pi/Desktop/images/02122025/16/04/image_02122025_16_04_55_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/15/58/image_02122025_15_59_05_9578.jpg
/home/pi/Desktop/images/02122025/15/59/image_02122025_15_59_55_9527.jpg
/home/pi/Desktop/images/02122025/16/00/image_02122025_16_00_15_10050.jpg
/home/pi/Desktop/images/02122025/16/00/image_02122025_16_00_55_9723.jpg
/home/pi/Desktop/images/02122025/16/03/image_02122025_16_04_05_10767.jpg
/home/pi/Desktop/images/02122025/16/04/image_02122025_16_04_55_9808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040722","1398040724","1398040720","1398040714","1398040717","1398040711"],"photo_ids_order":["1398040711","1398040714","1398040717","1398040720","1398040722","1398040724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c73401266a9cb5e27bb4b2aca601e4d.jpg","text":"TemporaryFile(/tmp/multipartBody2711126387305090048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917915095,"filename":"image_02122025_16_04_05_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/5/ff93d716cbea0a713e3c1ec0b050c4de.jpg","text":"TemporaryFile(/tmp/multipartBody5691640664177213407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917915095,"filename":"image_02122025_16_04_55_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/5/b64874ed73f0f50375754fc8efdcaa38.jpg","text":"TemporaryFile(/tmp/multipartBody8601677446562979376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917915095,"filename":"image_02122025_16_00_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/5/57ac6a96f091b5555a2fbe19dfc64350.jpg","text":"TemporaryFile(/tmp/multipartBody4279191821770375208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917915095,"filename":"image_02122025_15_59_55_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/5/db722162c380b7264af9e8020ef8a627.jpg","text":"TemporaryFile(/tmp/multipartBody8059304408470919542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917915095,"filename":"image_02122025_16_00_15_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/5/ad2a0e65aead7b40dbcf8ef52113e718.jpg","text":"TemporaryFile(/tmp/multipartBody406101266278263682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764917915095,"filename":"image_02122025_15_59_05_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040717","file1":"1398040714","file0":"1398040711","file4":"1398040722","file5":"1398040724","file3":"1398040720"},"map_files_photo_id_array":[{"photo_id":"1398040724","filename":"file5"},{"photo_id":"1398040717","filename":"file2"},{"photo_id":"1398040722","filename":"file4"},{"photo_id":"1398040714","filename":"file1"},{"photo_id":"1398040711","filename":"file0"},{"photo_id":"1398040720","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040722":["hashtag1","hashtag2"]},{"1398040724":["hashtag1","hashtag2"]},{"1398040720":["hashtag1","hashtag2"]},{"1398040714":["hashtag1","hashtag2"]},{"1398040717":["hashtag1","hashtag2"]},{"1398040711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040722, 1398040724, 1398040720, 1398040714, 1398040717, 1398040711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33932828903198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 07:59:03.035509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/55/image_05122025_07_55_33_9922.jpg', '/home/pi/Desktop/images/05122025/07/56/image_05122025_07_56_44_10706.jpg', '/home/pi/Desktop/images/05122025/07/56/image_05122025_07_57_04_9875.jpg', '/home/pi/Desktop/images/05122025/07/57/image_05122025_07_57_34_10715.jpg', '/home/pi/Desktop/images/05122025/07/57/image_05122025_07_57_53_9524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/55/image_05122025_07_55_33_9922.jpg
/home/pi/Desktop/images/05122025/07/56/image_05122025_07_56_44_10706.jpg
/home/pi/Desktop/images/05122025/07/56/image_05122025_07_57_04_9875.jpg
/home/pi/Desktop/images/05122025/07/57/image_05122025_07_57_34_10715.jpg
/home/pi/Desktop/images/05122025/07/57/image_05122025_07_57_53_9524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040725","1398040728","1398040730","1398040733","1398040735"],"photo_ids_order":["1398040725","1398040728","1398040730","1398040733","1398040735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1e46115b0cc1d2b230712d5abf5fec3b.jpg","text":"TemporaryFile(/tmp/multipartBody8280494819642177738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918003843,"filename":"image_05122025_07_55_33_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/5/d92437772319f58a1458a478ad385b70.jpg","text":"TemporaryFile(/tmp/multipartBody3344969381606403722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918003843,"filename":"image_05122025_07_56_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/5/c62900b77e6c66ecce9a4e697527b03a.jpg","text":"TemporaryFile(/tmp/multipartBody2660813111191959983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918003843,"filename":"image_05122025_07_57_04_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/5/2136dd0d37c12456c8963b9fdfbf56d3.jpg","text":"TemporaryFile(/tmp/multipartBody2803734561387135019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918003843,"filename":"image_05122025_07_57_34_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c65c8f845dee05c5c3d66827813cc301.jpg","text":"TemporaryFile(/tmp/multipartBody4537952459481760557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918003843,"filename":"image_05122025_07_57_53_9524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040730","file1":"1398040728","file0":"1398040725","file4":"1398040735","file3":"1398040733"},"map_files_photo_id_array":[{"photo_id":"1398040730","filename":"file2"},{"photo_id":"1398040735","filename":"file4"},{"photo_id":"1398040728","filename":"file1"},{"photo_id":"1398040725","filename":"file0"},{"photo_id":"1398040733","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040725":["hashtag1","hashtag2"]},{"1398040728":["hashtag1","hashtag2"]},{"1398040730":["hashtag1","hashtag2"]},{"1398040733":["hashtag1","hashtag2"]},{"1398040735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040725, 1398040728, 1398040730, 1398040733, 1398040735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.129637241363525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 07:59:42.286561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_31_2684.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_35_3673.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_41_2652.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_43_2655.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_47_3697.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_50_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_31_2684.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_35_3673.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_41_2652.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_43_2655.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_47_3697.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_50_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":["1398040764","1398040743","1398040749","1398040757","1398040751","1398040762"],"photo_ids_order":["1398040743","1398040749","1398040751","1398040757","1398040762","1398040764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a2e1ac1d90e1d60734af355087089bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3173546472287397491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918043935,"filename":"image_31102025_18_58_50_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/5/f371d726304e3f54be84b4b5fff267ac.jpg","text":"TemporaryFile(/tmp/multipartBody191769162054172249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918043935,"filename":"image_31102025_18_58_31_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/5/ccdb006d81f966ea0d6a34864fb4d9a0.jpg","text":"TemporaryFile(/tmp/multipartBody4789596287553553866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918043935,"filename":"image_31102025_18_58_35_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/5/757c7c8de3254e4f1d773f39aa529c71.jpg","text":"TemporaryFile(/tmp/multipartBody4881331523632052283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918043935,"filename":"image_31102025_18_58_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/5/382eb41b57849185225033344f952d95.jpg","text":"TemporaryFile(/tmp/multipartBody3878495119547833906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918043935,"filename":"image_31102025_18_58_41_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/5/ad2970d5534de424d8aa59118862bba6.jpg","text":"TemporaryFile(/tmp/multipartBody7005701530528789121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918043935,"filename":"image_31102025_18_58_47_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040751","file1":"1398040749","file0":"1398040743","file4":"1398040762","file5":"1398040764","file3":"1398040757"},"map_files_photo_id_array":[{"photo_id":"1398040764","filename":"file5"},{"photo_id":"1398040751","filename":"file2"},{"photo_id":"1398040762","filename":"file4"},{"photo_id":"1398040749","filename":"file1"},{"photo_id":"1398040743","filename":"file0"},{"photo_id":"1398040757","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040764":["hashtag1","hashtag2"]},{"1398040743":["hashtag1","hashtag2"]},{"1398040749":["hashtag1","hashtag2"]},{"1398040757":["hashtag1","hashtag2"]},{"1398040751":["hashtag1","hashtag2"]},{"1398040762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040764, 1398040743, 1398040749, 1398040757, 1398040751, 1398040762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16125988960266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:00:22.413568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/58/image_05122025_07_58_44_9846.jpg', '/home/pi/Desktop/images/05122025/07/58/image_05122025_07_59_04_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/58/image_05122025_07_58_44_9846.jpg
/home/pi/Desktop/images/05122025/07/58/image_05122025_07_59_04_10442.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040767","1398040765"],"photo_ids_order":["1398040765","1398040767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/83eca8d4a3524404f7c11cd6a45b7cb0.jpg","text":"TemporaryFile(/tmp/multipartBody1577182283254966336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918082957,"filename":"image_05122025_07_59_04_10442.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abc780e007d94cc51ff86375bc90e353.jpg","text":"TemporaryFile(/tmp/multipartBody8232939003592822137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918082957,"filename":"image_05122025_07_58_44_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398040767","file0":"1398040765"},"map_files_photo_id_array":[{"photo_id":"1398040767","filename":"file1"},{"photo_id":"1398040765","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040767":["hashtag1","hashtag2"]},{"1398040765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040767, 1398040765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.937179565429688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:00:42.473092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_52_2673.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_56_3510.jpg', '/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_58_2497.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_02_3719.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_07_2546.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_11_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_52_2673.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_56_3510.jpg
/home/pi/Desktop/images/31102025/18/58/image_31102025_18_58_58_2497.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_02_3719.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_07_2546.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_11_3723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040782","1398040784","1398040781","1398040775","1398040783","1398040786"],"photo_ids_order":["1398040775","1398040781","1398040782","1398040783","1398040784","1398040786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e7c399b33ce0f165db0cc0ec272f0b04.jpg","text":"TemporaryFile(/tmp/multipartBody4537957941505068086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918104018,"filename":"image_31102025_18_58_58_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/5/4fe6d0ebded5d01be37acec4ddcb949e.jpg","text":"TemporaryFile(/tmp/multipartBody7935014770698230950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918104018,"filename":"image_31102025_18_59_07_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/049acece23161ff229d0d66fa981cdd4.jpg","text":"TemporaryFile(/tmp/multipartBody1416485713905921278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918104018,"filename":"image_31102025_18_58_56_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51a286187070d18e567de372941da3e1.jpg","text":"TemporaryFile(/tmp/multipartBody4361942437345386689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918104018,"filename":"image_31102025_18_58_52_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/5/c3f31708ce5d84d370380f359086fa37.jpg","text":"TemporaryFile(/tmp/multipartBody1820277109223685075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918104018,"filename":"image_31102025_18_59_02_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47c3782eac45577a01d6e91bef893a1d.jpg","text":"TemporaryFile(/tmp/multipartBody2368375532392472069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918104018,"filename":"image_31102025_18_59_11_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040782","file1":"1398040781","file0":"1398040775","file4":"1398040784","file5":"1398040786","file3":"1398040783"},"map_files_photo_id_array":[{"photo_id":"1398040786","filename":"file5"},{"photo_id":"1398040782","filename":"file2"},{"photo_id":"1398040784","filename":"file4"},{"photo_id":"1398040781","filename":"file1"},{"photo_id":"1398040775","filename":"file0"},{"photo_id":"1398040783","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040782":["hashtag1","hashtag2"]},{"1398040784":["hashtag1","hashtag2"]},{"1398040781":["hashtag1","hashtag2"]},{"1398040775":["hashtag1","hashtag2"]},{"1398040783":["hashtag1","hashtag2"]},{"1398040786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040782, 1398040784, 1398040781, 1398040775, 1398040783, 1398040786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.862871408462524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:01:22.767923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/07/59/image_05122025_07_59_54_9626.jpg', '/home/pi/Desktop/images/05122025/08/01/image_05122025_08_01_14_10039.jpg', '/home/pi/Desktop/images/05122025/08/01/image_05122025_08_01_34_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/07/59/image_05122025_07_59_54_9626.jpg
/home/pi/Desktop/images/05122025/08/01/image_05122025_08_01_14_10039.jpg
/home/pi/Desktop/images/05122025/08/01/image_05122025_08_01_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":["1398040791","1398040787","1398040789"],"photo_ids_order":["1398040787","1398040789","1398040791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e9296035cd64ff9064d314eb464cccc4.jpg","text":"TemporaryFile(/tmp/multipartBody7237427598699255671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918143362,"filename":"image_05122025_08_01_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/5/26c8438b05b5a0a5d1c7cc77f2b82379.jpg","text":"TemporaryFile(/tmp/multipartBody9198072070308510837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918143362,"filename":"image_05122025_07_59_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b75b8bee511714acfc99a4df790b3a2.jpg","text":"TemporaryFile(/tmp/multipartBody1813743022060297289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918143362,"filename":"image_05122025_08_01_14_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040791","file1":"1398040789","file0":"1398040787"},"map_files_photo_id_array":[{"photo_id":"1398040791","filename":"file2"},{"photo_id":"1398040789","filename":"file1"},{"photo_id":"1398040787","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040791":["hashtag1","hashtag2"]},{"1398040787":["hashtag1","hashtag2"]},{"1398040789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040791, 1398040787, 1398040789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.043846607208252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:02:02.396061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_14_10417.jpg', '/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_35_10721.jpg', '/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_44_9692.jpg', '/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_54_9826.jpg', '/home/pi/Desktop/images/02122025/16/06/image_02122025_16_06_15_10592.jpg', '/home/pi/Desktop/images/02122025/16/06/image_02122025_16_06_55_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_14_10417.jpg
/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_35_10721.jpg
/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_44_9692.jpg
/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_54_9826.jpg
/home/pi/Desktop/images/02122025/16/06/image_02122025_16_06_15_10592.jpg
/home/pi/Desktop/images/02122025/16/06/image_02122025_16_06_55_9800.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5179944038391113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:02:11.933121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_14_10417.jpg', '/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_35_10721.jpg', '/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_44_9692.jpg', '/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_54_9826.jpg', '/home/pi/Desktop/images/02122025/16/06/image_02122025_16_06_15_10592.jpg', '/home/pi/Desktop/images/02122025/16/06/image_02122025_16_06_55_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_14_10417.jpg
/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_35_10721.jpg
/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_44_9692.jpg
/home/pi/Desktop/images/02122025/16/05/image_02122025_16_05_54_9826.jpg
/home/pi/Desktop/images/02122025/16/06/image_02122025_16_06_15_10592.jpg
/home/pi/Desktop/images/02122025/16/06/image_02122025_16_06_55_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040807","1398040809","1398040799","1398040803","1398040805","1398040801"],"photo_ids_order":["1398040799","1398040801","1398040803","1398040805","1398040807","1398040809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb1df108971626df3c1dc8a3c4ad8a97.jpg","text":"TemporaryFile(/tmp/multipartBody3107692879234390814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918193649,"filename":"image_02122025_16_06_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/5/5c8118ffe77fc8fb39cd11605307113d.jpg","text":"TemporaryFile(/tmp/multipartBody4908007001409027252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918193649,"filename":"image_02122025_16_06_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/5/f38e80ca87ded210d2d935bdc768c9ba.jpg","text":"TemporaryFile(/tmp/multipartBody6434947909232371549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918193649,"filename":"image_02122025_16_05_14_10417.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c6f7579de3087e19a8148e69fd08416.jpg","text":"TemporaryFile(/tmp/multipartBody5393712430296319966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918193649,"filename":"image_02122025_16_05_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/5/545f6a0104097a96af0ef3c87f1f827b.jpg","text":"TemporaryFile(/tmp/multipartBody4619237809643066634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918193649,"filename":"image_02122025_16_05_54_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20fb663d9638383a0a5c82b6e2dfea81.jpg","text":"TemporaryFile(/tmp/multipartBody5519164436082364047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918193649,"filename":"image_02122025_16_05_35_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040803","file1":"1398040801","file0":"1398040799","file4":"1398040807","file5":"1398040809","file3":"1398040805"},"map_files_photo_id_array":[{"photo_id":"1398040809","filename":"file5"},{"photo_id":"1398040803","filename":"file2"},{"photo_id":"1398040807","filename":"file4"},{"photo_id":"1398040801","filename":"file1"},{"photo_id":"1398040799","filename":"file0"},{"photo_id":"1398040805","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040807":["hashtag1","hashtag2"]},{"1398040809":["hashtag1","hashtag2"]},{"1398040799":["hashtag1","hashtag2"]},{"1398040803":["hashtag1","hashtag2"]},{"1398040805":["hashtag1","hashtag2"]},{"1398040801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040807, 1398040809, 1398040799, 1398040803, 1398040805, 1398040801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68611431121826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:03:02.676613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/01/image_05122025_08_01_54_10644.jpg', '/home/pi/Desktop/images/05122025/08/01/image_05122025_08_02_04_9659.jpg', '/home/pi/Desktop/images/05122025/08/02/image_05122025_08_02_14_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/01/image_05122025_08_01_54_10644.jpg
/home/pi/Desktop/images/05122025/08/01/image_05122025_08_02_04_9659.jpg
/home/pi/Desktop/images/05122025/08/02/image_05122025_08_02_14_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040827","1398040826","1398040828"],"photo_ids_order":["1398040826","1398040827","1398040828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3adb270d7eed1ace9a6367de9c15b337.jpg","text":"TemporaryFile(/tmp/multipartBody2022848061935430234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918243388,"filename":"image_05122025_08_02_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c0093dd492e0a62217ffbc2d5e662256.jpg","text":"TemporaryFile(/tmp/multipartBody6292936269650501998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918243388,"filename":"image_05122025_08_01_54_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/5/624cd08fee346fff53843eabed981a90.jpg","text":"TemporaryFile(/tmp/multipartBody7265978407813503189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918243388,"filename":"image_05122025_08_02_14_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040828","file1":"1398040827","file0":"1398040826"},"map_files_photo_id_array":[{"photo_id":"1398040828","filename":"file2"},{"photo_id":"1398040827","filename":"file1"},{"photo_id":"1398040826","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398040827":["hashtag1","hashtag2"]},{"1398040826":["hashtag1","hashtag2"]},{"1398040828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398040827, 1398040826, 1398040828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.316354751586914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:03:32.124174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/08/image_02122025_16_08_05_10697.jpg', '/home/pi/Desktop/images/02122025/16/08/image_02122025_16_08_14_8637.jpg', '/home/pi/Desktop/images/02122025/16/08/image_02122025_16_08_25_10632.jpg', '/home/pi/Desktop/images/02122025/16/08/image_02122025_16_08_34_9678.jpg', '/home/pi/Desktop/images/02122025/16/08/image_02122025_16_08_44_9577.jpg', '/home/pi/Desktop/images/02122025/16/09/image_02122025_16_09_16_11302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/08/image_02122025_16_08_05_10697.jpg
/home/pi/Desktop/images/02122025/16/08/image_02122025_16_08_14_8637.jpg
/home/pi/Desktop/images/02122025/16/08/image_02122025_16_08_25_10632.jpg
/home/pi/Desktop/images/02122025/16/08/image_02122025_16_08_34_9678.jpg
/home/pi/Desktop/images/02122025/16/08/image_02122025_16_08_44_9577.jpg
/home/pi/Desktop/images/02122025/16/09/image_02122025_16_09_16_11302.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040842","1398040841","1398040832","1398040840","1398040834","1398040837"],"photo_ids_order":["1398040832","1398040834","1398040837","1398040840","1398040841","1398040842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03a8377313fb176a00dc9b258a9a6491.jpg","text":"TemporaryFile(/tmp/multipartBody5360401618696080625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918274313,"filename":"image_02122025_16_09_16_11302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94af2ab48c60b98a08a4fd823116430c.jpg","text":"TemporaryFile(/tmp/multipartBody6953718862168509490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918274313,"filename":"image_02122025_16_08_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/5/ff10441abfc42acc7b465d9ffded539d.jpg","text":"TemporaryFile(/tmp/multipartBody4458308935582100123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918274313,"filename":"image_02122025_16_08_05_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d6ad60b9cadbfb88d6a7d2d66620cae.jpg","text":"TemporaryFile(/tmp/multipartBody5430130523275113568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918274313,"filename":"image_02122025_16_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/5/0b12d38491da811c511f38bf4aaddf96.jpg","text":"TemporaryFile(/tmp/multipartBody5411484152800591747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918274313,"filename":"image_02122025_16_08_14_8637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e00d119f832164bfc96528abfe98f99b.jpg","text":"TemporaryFile(/tmp/multipartBody3534277972106442652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918274313,"filename":"image_02122025_16_08_25_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040837","file1":"1398040834","file0":"1398040832","file4":"1398040841","file5":"1398040842","file3":"1398040840"},"map_files_photo_id_array":[{"photo_id":"1398040842","filename":"file5"},{"photo_id":"1398040837","filename":"file2"},{"photo_id":"1398040841","filename":"file4"},{"photo_id":"1398040834","filename":"file1"},{"photo_id":"1398040832","filename":"file0"},{"photo_id":"1398040840","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040842":["hashtag1","hashtag2"]},{"1398040841":["hashtag1","hashtag2"]},{"1398040832":["hashtag1","hashtag2"]},{"1398040840":["hashtag1","hashtag2"]},{"1398040834":["hashtag1","hashtag2"]},{"1398040837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040842, 1398040841, 1398040832, 1398040840, 1398040834, 1398040837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43931460380554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:04:12.635628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/09/image_02122025_16_09_24_8740.jpg', '/home/pi/Desktop/images/02122025/16/09/image_02122025_16_09_44_9805.jpg', '/home/pi/Desktop/images/02122025/16/09/image_02122025_16_09_55_10635.jpg', '/home/pi/Desktop/images/02122025/16/10/image_02122025_16_10_25_10732.jpg', '/home/pi/Desktop/images/02122025/16/10/image_02122025_16_10_45_9805.jpg', '/home/pi/Desktop/images/02122025/16/10/image_02122025_16_11_05_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/09/image_02122025_16_09_24_8740.jpg
/home/pi/Desktop/images/02122025/16/09/image_02122025_16_09_44_9805.jpg
/home/pi/Desktop/images/02122025/16/09/image_02122025_16_09_55_10635.jpg
/home/pi/Desktop/images/02122025/16/10/image_02122025_16_10_25_10732.jpg
/home/pi/Desktop/images/02122025/16/10/image_02122025_16_10_45_9805.jpg
/home/pi/Desktop/images/02122025/16/10/image_02122025_16_11_05_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040857","1398040853","1398040862","1398040859","1398040852","1398040855"],"photo_ids_order":["1398040852","1398040853","1398040855","1398040857","1398040859","1398040862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b1981f80b38deab77576fb3719f9681.jpg","text":"TemporaryFile(/tmp/multipartBody2590848520557118214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918314663,"filename":"image_02122025_16_10_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/5/ffb6d10cf065c9fbdc2166ccf332c518.jpg","text":"TemporaryFile(/tmp/multipartBody539231348137219887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918314663,"filename":"image_02122025_16_09_44_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/5/ce982bf2b495bafc45402de54ae62e58.jpg","text":"TemporaryFile(/tmp/multipartBody4288769711980262847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918314663,"filename":"image_02122025_16_11_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/5/faa907b551aae3c7e50a09363871f6c8.jpg","text":"TemporaryFile(/tmp/multipartBody456298039960536170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918314663,"filename":"image_02122025_16_10_45_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/5/1bac1bb2e2a88ad94a1b4da2e5fa0b2a.jpg","text":"TemporaryFile(/tmp/multipartBody3490465353910923932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918314663,"filename":"image_02122025_16_09_24_8740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3952c495084d7c65ee5ffa4458b59c75.jpg","text":"TemporaryFile(/tmp/multipartBody8893893981389149780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918314663,"filename":"image_02122025_16_09_55_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040855","file1":"1398040853","file0":"1398040852","file4":"1398040859","file5":"1398040862","file3":"1398040857"},"map_files_photo_id_array":[{"photo_id":"1398040862","filename":"file5"},{"photo_id":"1398040855","filename":"file2"},{"photo_id":"1398040859","filename":"file4"},{"photo_id":"1398040853","filename":"file1"},{"photo_id":"1398040852","filename":"file0"},{"photo_id":"1398040857","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040857":["hashtag1","hashtag2"]},{"1398040853":["hashtag1","hashtag2"]},{"1398040862":["hashtag1","hashtag2"]},{"1398040859":["hashtag1","hashtag2"]},{"1398040852":["hashtag1","hashtag2"]},{"1398040855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040857, 1398040853, 1398040862, 1398040859, 1398040852, 1398040855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80302333831787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:05:02.474197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/02/image_05122025_08_02_54_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/02/image_05122025_08_02_54_9859.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040870"],"photo_id":"1398040870","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/39a9efde54e44c28538a6a41d8288c78.jpg","text":"TemporaryFile(/tmp/multipartBody4891117932262608777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918363027,"filename":"image_05122025_08_02_54_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398040870"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398040870"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.23574185371399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:05:21.823296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_20_3609.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_22_2621.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_26_3590.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_29_2754.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_32_2775.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_34_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_20_3609.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_22_2621.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_26_3590.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_29_2754.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_32_2775.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_34_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398040884","1398040886","1398040925","1398040904","1398040897","1398040903"],"photo_ids_order":["1398040884","1398040886","1398040897","1398040903","1398040904","1398040925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0cb1b50819220ab12bd08297554f8f74.jpg","text":"TemporaryFile(/tmp/multipartBody4026632269104487564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918383525,"filename":"image_31102025_18_59_20_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/5/a1c5c51be23a3e204040548eb838d753.jpg","text":"TemporaryFile(/tmp/multipartBody2512876905288016956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918383525,"filename":"image_31102025_18_59_22_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/623ac419796ee29e74c3d4bbd2d60775.jpg","text":"TemporaryFile(/tmp/multipartBody2578460518066363325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918383525,"filename":"image_31102025_18_59_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/5/314f478cad02cd83d885aa998c387891.jpg","text":"TemporaryFile(/tmp/multipartBody3406366383719239577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918383525,"filename":"image_31102025_18_59_32_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/5/e4af8ce7b12e7e752d2649e15b613659.jpg","text":"TemporaryFile(/tmp/multipartBody1826772059647223190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918383525,"filename":"image_31102025_18_59_26_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/5/29fdf33df250ae2d5e4a9e8c16094506.jpg","text":"TemporaryFile(/tmp/multipartBody7328661568177087104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918383525,"filename":"image_31102025_18_59_29_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040897","file1":"1398040886","file0":"1398040884","file4":"1398040904","file5":"1398040925","file3":"1398040903"},"map_files_photo_id_array":[{"photo_id":"1398040925","filename":"file5"},{"photo_id":"1398040897","filename":"file2"},{"photo_id":"1398040904","filename":"file4"},{"photo_id":"1398040886","filename":"file1"},{"photo_id":"1398040884","filename":"file0"},{"photo_id":"1398040903","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040884":["hashtag1","hashtag2"]},{"1398040886":["hashtag1","hashtag2"]},{"1398040925":["hashtag1","hashtag2"]},{"1398040904":["hashtag1","hashtag2"]},{"1398040897":["hashtag1","hashtag2"]},{"1398040903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040884, 1398040886, 1398040925, 1398040904, 1398040897, 1398040903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19740176200867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:06:02.264158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/11/image_02122025_16_11_26_10641.jpg', '/home/pi/Desktop/images/02122025/16/12/image_02122025_16_12_16_10370.jpg', '/home/pi/Desktop/images/02122025/16/12/image_02122025_16_12_45_10566.jpg', '/home/pi/Desktop/images/02122025/16/13/image_02122025_16_13_25_10643.jpg', '/home/pi/Desktop/images/02122025/16/14/image_02122025_16_14_35_9555.jpg', '/home/pi/Desktop/images/02122025/16/14/image_02122025_16_14_45_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/11/image_02122025_16_11_26_10641.jpg
/home/pi/Desktop/images/02122025/16/12/image_02122025_16_12_16_10370.jpg
/home/pi/Desktop/images/02122025/16/12/image_02122025_16_12_45_10566.jpg
/home/pi/Desktop/images/02122025/16/13/image_02122025_16_13_25_10643.jpg
/home/pi/Desktop/images/02122025/16/14/image_02122025_16_14_35_9555.jpg
/home/pi/Desktop/images/02122025/16/14/image_02122025_16_14_45_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":["1398040935","1398040938","1398040932","1398040934","1398040933","1398040936"],"photo_ids_order":["1398040932","1398040933","1398040934","1398040935","1398040936","1398040938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dd2f561a2bbc42d6e00491a1fcb562f6.jpg","text":"TemporaryFile(/tmp/multipartBody4785798945291077285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918423928,"filename":"image_02122025_16_13_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/5/917f0c226da0974bc51cc710f9ff0aa8.jpg","text":"TemporaryFile(/tmp/multipartBody8504081639488962019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918423928,"filename":"image_02122025_16_14_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/5/10785cd08d541b9c2212f28fa7820cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8479415657626215947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918423928,"filename":"image_02122025_16_11_26_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/5/4ffafa4844d1709256388a90dfd8017e.jpg","text":"TemporaryFile(/tmp/multipartBody1411519054864414086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918423928,"filename":"image_02122025_16_12_45_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/02bcc7b794a459cbb9b297f6b47a7fc7.jpg","text":"TemporaryFile(/tmp/multipartBody7160256904672293173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918423928,"filename":"image_02122025_16_12_16_10370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/be62396df82453fa97fc8e9e761b7388.jpg","text":"TemporaryFile(/tmp/multipartBody2624584458475318478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918423928,"filename":"image_02122025_16_14_35_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040934","file1":"1398040933","file0":"1398040932","file4":"1398040936","file5":"1398040938","file3":"1398040935"},"map_files_photo_id_array":[{"photo_id":"1398040938","filename":"file5"},{"photo_id":"1398040934","filename":"file2"},{"photo_id":"1398040936","filename":"file4"},{"photo_id":"1398040933","filename":"file1"},{"photo_id":"1398040932","filename":"file0"},{"photo_id":"1398040935","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398040935":["hashtag1","hashtag2"]},{"1398040938":["hashtag1","hashtag2"]},{"1398040932":["hashtag1","hashtag2"]},{"1398040934":["hashtag1","hashtag2"]},{"1398040933":["hashtag1","hashtag2"]},{"1398040936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398040935, 1398040938, 1398040932, 1398040934, 1398040933, 1398040936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20606327056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:06:41.948018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_38_3660.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_41_2609.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_43_2612.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_47_3658.jpg', '/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_49_2592.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_38_3660.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_41_2609.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_43_2612.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_47_3658.jpg
/home/pi/Desktop/images/31102025/18/59/image_31102025_18_59_49_2592.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_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":["1398040974","1398040991","1398040952","1398040961","1398040990","1398040984"],"photo_ids_order":["1398040952","1398040961","1398040974","1398040984","1398040990","1398040991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db47c3fce003453fa9bf181a588f4290.jpg","text":"TemporaryFile(/tmp/multipartBody8675191188229282377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918463600,"filename":"image_31102025_18_59_43_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/5/eb7f9f9c4f2c9228d4b3db1f44aa8338.jpg","text":"TemporaryFile(/tmp/multipartBody4637558947026187862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918463600,"filename":"image_31102025_19_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/5/6dc88c6d0efef19ab544da1f6cf33749.jpg","text":"TemporaryFile(/tmp/multipartBody671066019169330885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918463600,"filename":"image_31102025_18_59_38_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8cc4b4a2c86fa5fd0e09dc052e6fa91d.jpg","text":"TemporaryFile(/tmp/multipartBody1831272772841505935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918463600,"filename":"image_31102025_18_59_41_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/5/869c674d0d44ece0ec1c39470c910e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8964754943639498354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918463600,"filename":"image_31102025_18_59_49_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/5/b38d4746d6d2574d267855339205bbb1.jpg","text":"TemporaryFile(/tmp/multipartBody2662135969711685666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918463600,"filename":"image_31102025_18_59_47_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398040974","file1":"1398040961","file0":"1398040952","file4":"1398040990","file5":"1398040991","file3":"1398040984"},"map_files_photo_id_array":[{"photo_id":"1398040991","filename":"file5"},{"photo_id":"1398040974","filename":"file2"},{"photo_id":"1398040990","filename":"file4"},{"photo_id":"1398040961","filename":"file1"},{"photo_id":"1398040952","filename":"file0"},{"photo_id":"1398040984","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398040974":["hashtag1","hashtag2"]},{"1398040991":["hashtag1","hashtag2"]},{"1398040952":["hashtag1","hashtag2"]},{"1398040961":["hashtag1","hashtag2"]},{"1398040990":["hashtag1","hashtag2"]},{"1398040984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398040974, 1398040991, 1398040952, 1398040961, 1398040990, 1398040984)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.637176275253296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:07:35.167921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/16/image_02122025_16_16_45_9677.jpg', '/home/pi/Desktop/images/02122025/16/16/image_02122025_16_16_54_9815.jpg', '/home/pi/Desktop/images/02122025/16/17/image_02122025_16_17_54_9606.jpg', '/home/pi/Desktop/images/02122025/16/18/image_02122025_16_19_04_9666.jpg', '/home/pi/Desktop/images/02122025/16/19/image_02122025_16_19_45_10633.jpg', '/home/pi/Desktop/images/02122025/16/19/image_02122025_16_19_55_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/16/image_02122025_16_16_45_9677.jpg
/home/pi/Desktop/images/02122025/16/16/image_02122025_16_16_54_9815.jpg
/home/pi/Desktop/images/02122025/16/17/image_02122025_16_17_54_9606.jpg
/home/pi/Desktop/images/02122025/16/18/image_02122025_16_19_04_9666.jpg
/home/pi/Desktop/images/02122025/16/19/image_02122025_16_19_45_10633.jpg
/home/pi/Desktop/images/02122025/16/19/image_02122025_16_19_55_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398041118","1398041046","1398041033","1398041156","1398041030","1398041083"],"photo_ids_order":["1398041030","1398041033","1398041046","1398041083","1398041118","1398041156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/def4e20a9c4f37cab806ad6622ba4e9f.jpg","text":"TemporaryFile(/tmp/multipartBody3497205444658471036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918517329,"filename":"image_02122025_16_19_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d7e8c545d7c55800ea807a35e5d5840f.jpg","text":"TemporaryFile(/tmp/multipartBody8325091059101767943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918517329,"filename":"image_02122025_16_17_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6ecd765be0d4e4aab3e91af9a9b282d4.jpg","text":"TemporaryFile(/tmp/multipartBody6958701618202645471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918517329,"filename":"image_02122025_16_16_54_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/38b0e9407c84c87b689ecab175d75e03.jpg","text":"TemporaryFile(/tmp/multipartBody6913295756851063690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918517329,"filename":"image_02122025_16_19_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/5/bd82c1574f8aa369531f94e03b02ac5b.jpg","text":"TemporaryFile(/tmp/multipartBody9212756326255557825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918517329,"filename":"image_02122025_16_16_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d348aa26094351610e3131f930b778b.jpg","text":"TemporaryFile(/tmp/multipartBody2589524892921285830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918517329,"filename":"image_02122025_16_19_04_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398041046","file1":"1398041033","file0":"1398041030","file4":"1398041118","file5":"1398041156","file3":"1398041083"},"map_files_photo_id_array":[{"photo_id":"1398041156","filename":"file5"},{"photo_id":"1398041046","filename":"file2"},{"photo_id":"1398041118","filename":"file4"},{"photo_id":"1398041033","filename":"file1"},{"photo_id":"1398041030","filename":"file0"},{"photo_id":"1398041083","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398041118":["hashtag1","hashtag2"]},{"1398041046":["hashtag1","hashtag2"]},{"1398041033":["hashtag1","hashtag2"]},{"1398041156":["hashtag1","hashtag2"]},{"1398041030":["hashtag1","hashtag2"]},{"1398041083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398041118, 1398041046, 1398041033, 1398041156, 1398041030, 1398041083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91103386878967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:08:22.319421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/03/image_05122025_08_03_44_9737.jpg', '/home/pi/Desktop/images/05122025/08/05/image_05122025_08_06_04_10663.jpg', '/home/pi/Desktop/images/05122025/08/06/image_05122025_08_06_15_10051.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/03/image_05122025_08_03_44_9737.jpg
/home/pi/Desktop/images/05122025/08/05/image_05122025_08_06_04_10663.jpg
/home/pi/Desktop/images/05122025/08/06/image_05122025_08_06_15_10051.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4599769115447998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:08:32.207252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/21/image_02122025_16_21_14_10037.jpg', '/home/pi/Desktop/images/02122025/16/21/image_02122025_16_21_34_9650.jpg', '/home/pi/Desktop/images/02122025/16/21/image_02122025_16_21_55_9616.jpg', '/home/pi/Desktop/images/02122025/16/22/image_02122025_16_22_15_10705.jpg', '/home/pi/Desktop/images/02122025/16/22/image_02122025_16_22_34_9659.jpg', '/home/pi/Desktop/images/02122025/16/23/image_02122025_16_23_25_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/21/image_02122025_16_21_14_10037.jpg
/home/pi/Desktop/images/02122025/16/21/image_02122025_16_21_34_9650.jpg
/home/pi/Desktop/images/02122025/16/21/image_02122025_16_21_55_9616.jpg
/home/pi/Desktop/images/02122025/16/22/image_02122025_16_22_15_10705.jpg
/home/pi/Desktop/images/02122025/16/22/image_02122025_16_22_34_9659.jpg
/home/pi/Desktop/images/02122025/16/23/image_02122025_16_23_25_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":["1398041751","1398041516","1398041603","1398041677","1398041560","1398041472"],"photo_ids_order":["1398041472","1398041516","1398041560","1398041603","1398041677","1398041751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f3f390d920376ecfdc0cc111ae14dab.jpg","text":"TemporaryFile(/tmp/multipartBody6885175793431795770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918578610,"filename":"image_02122025_16_23_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/5/6deceb5c4cb206902cb08a74cde2177a.jpg","text":"TemporaryFile(/tmp/multipartBody7331915575274861809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918578610,"filename":"image_02122025_16_21_34_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/5/34b4f579b76cba2913b881eaaac74c81.jpg","text":"TemporaryFile(/tmp/multipartBody3928893222165394753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918578610,"filename":"image_02122025_16_22_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/5/942e5541a8965db1b7dd2a313eb6064e.jpg","text":"TemporaryFile(/tmp/multipartBody3330929331187177795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918578610,"filename":"image_02122025_16_22_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/5/310eb8ec70cf4ee09cd0e34a6d86e79e.jpg","text":"TemporaryFile(/tmp/multipartBody1086325479286577570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918578610,"filename":"image_02122025_16_21_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/5/8d7acd2041b79a7d08787e5e96b6609a.jpg","text":"TemporaryFile(/tmp/multipartBody4204876157574180160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918578610,"filename":"image_02122025_16_21_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398041560","file1":"1398041516","file0":"1398041472","file4":"1398041677","file5":"1398041751","file3":"1398041603"},"map_files_photo_id_array":[{"photo_id":"1398041751","filename":"file5"},{"photo_id":"1398041560","filename":"file2"},{"photo_id":"1398041677","filename":"file4"},{"photo_id":"1398041516","filename":"file1"},{"photo_id":"1398041472","filename":"file0"},{"photo_id":"1398041603","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398041751":["hashtag1","hashtag2"]},{"1398041516":["hashtag1","hashtag2"]},{"1398041603":["hashtag1","hashtag2"]},{"1398041677":["hashtag1","hashtag2"]},{"1398041560":["hashtag1","hashtag2"]},{"1398041472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398041751, 1398041516, 1398041603, 1398041677, 1398041560, 1398041472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.86519432067871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:09:22.535339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/03/image_05122025_08_03_44_9737.jpg', '/home/pi/Desktop/images/05122025/08/05/image_05122025_08_06_04_10663.jpg', '/home/pi/Desktop/images/05122025/08/06/image_05122025_08_06_15_10051.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/03/image_05122025_08_03_44_9737.jpg
/home/pi/Desktop/images/05122025/08/05/image_05122025_08_06_04_10663.jpg
/home/pi/Desktop/images/05122025/08/06/image_05122025_08_06_15_10051.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398042140","1398042142","1398042103"],"photo_ids_order":["1398042103","1398042140","1398042142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c7a664a1ecc35c07ce84b5b604b06cc.jpg","text":"TemporaryFile(/tmp/multipartBody7941246534409797955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918623115,"filename":"image_05122025_08_06_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/5/41da8985c4aea7e88638cf24deece5f8.jpg","text":"TemporaryFile(/tmp/multipartBody5684003884979625192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918623115,"filename":"image_05122025_08_06_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/5/039da0ca5203af57424a308dbf79dcc2.jpg","text":"TemporaryFile(/tmp/multipartBody924093158317281673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918623115,"filename":"image_05122025_08_03_44_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042142","file1":"1398042140","file0":"1398042103"},"map_files_photo_id_array":[{"photo_id":"1398042142","filename":"file2"},{"photo_id":"1398042140","filename":"file1"},{"photo_id":"1398042103","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398042140":["hashtag1","hashtag2"]},{"1398042142":["hashtag1","hashtag2"]},{"1398042103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398042140, 1398042142, 1398042103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.9000723361969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:10:03.192350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 08:10:12.920030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/23/image_02122025_16_23_34_9723.jpg', '/home/pi/Desktop/images/02122025/16/23/image_02122025_16_23_44_9688.jpg', '/home/pi/Desktop/images/02122025/16/23/image_02122025_16_23_55_10721.jpg', '/home/pi/Desktop/images/02122025/16/24/image_02122025_16_24_25_10629.jpg', '/home/pi/Desktop/images/02122025/16/25/image_02122025_16_25_26_10832.jpg', '/home/pi/Desktop/images/02122025/16/25/image_02122025_16_25_35_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/23/image_02122025_16_23_34_9723.jpg
/home/pi/Desktop/images/02122025/16/23/image_02122025_16_23_44_9688.jpg
/home/pi/Desktop/images/02122025/16/23/image_02122025_16_23_55_10721.jpg
/home/pi/Desktop/images/02122025/16/24/image_02122025_16_24_25_10629.jpg
/home/pi/Desktop/images/02122025/16/25/image_02122025_16_25_26_10832.jpg
/home/pi/Desktop/images/02122025/16/25/image_02122025_16_25_35_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":["1398042281","1398042283","1398042277","1398042294","1398042285","1398042279"],"photo_ids_order":["1398042277","1398042279","1398042281","1398042283","1398042285","1398042294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e9f1108e9001e02849c7e26bb7c3b7fb.jpg","text":"TemporaryFile(/tmp/multipartBody1326090613067963405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918681024,"filename":"image_02122025_16_23_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4116facd1f49f39c50aede8bad4ecbf.jpg","text":"TemporaryFile(/tmp/multipartBody3792858599514282216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918681024,"filename":"image_02122025_16_24_25_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/5/6c23bde4f63ea5b7c1189373cbda1ad9.jpg","text":"TemporaryFile(/tmp/multipartBody8688687474591152538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918681024,"filename":"image_02122025_16_23_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/5/13c2f38a28e1187fe51902c8f8c768a5.jpg","text":"TemporaryFile(/tmp/multipartBody9187699366191068040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918681024,"filename":"image_02122025_16_25_35_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/5/16a84dd7bb9a08b8c358d775451d3100.jpg","text":"TemporaryFile(/tmp/multipartBody7136698689869700725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918681024,"filename":"image_02122025_16_25_26_10832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/21312b065272ab8c62f66c310872832e.jpg","text":"TemporaryFile(/tmp/multipartBody3912932531089008930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918681024,"filename":"image_02122025_16_23_44_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042281","file1":"1398042279","file0":"1398042277","file4":"1398042285","file5":"1398042294","file3":"1398042283"},"map_files_photo_id_array":[{"photo_id":"1398042294","filename":"file5"},{"photo_id":"1398042281","filename":"file2"},{"photo_id":"1398042285","filename":"file4"},{"photo_id":"1398042279","filename":"file1"},{"photo_id":"1398042277","filename":"file0"},{"photo_id":"1398042283","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398042281":["hashtag1","hashtag2"]},{"1398042283":["hashtag1","hashtag2"]},{"1398042277":["hashtag1","hashtag2"]},{"1398042294":["hashtag1","hashtag2"]},{"1398042285":["hashtag1","hashtag2"]},{"1398042279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398042281, 1398042283, 1398042277, 1398042294, 1398042285, 1398042279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.95648908615112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:11:02.857052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/25/image_02122025_16_25_45_9764.jpg', '/home/pi/Desktop/images/02122025/16/25/image_02122025_16_25_56_10748.jpg', '/home/pi/Desktop/images/02122025/16/26/image_02122025_16_26_56_10264.jpg', '/home/pi/Desktop/images/02122025/16/26/image_02122025_16_27_06_9654.jpg', '/home/pi/Desktop/images/02122025/16/30/image_02122025_16_30_14_10047.jpg', '/home/pi/Desktop/images/02122025/16/31/image_02122025_16_31_15_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/25/image_02122025_16_25_45_9764.jpg
/home/pi/Desktop/images/02122025/16/25/image_02122025_16_25_56_10748.jpg
/home/pi/Desktop/images/02122025/16/26/image_02122025_16_26_56_10264.jpg
/home/pi/Desktop/images/02122025/16/26/image_02122025_16_27_06_9654.jpg
/home/pi/Desktop/images/02122025/16/30/image_02122025_16_30_14_10047.jpg
/home/pi/Desktop/images/02122025/16/31/image_02122025_16_31_15_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":["1398042470","1398042551","1398042629","1398042509","1398042670","1398042591"],"photo_ids_order":["1398042470","1398042509","1398042551","1398042591","1398042629","1398042670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/545743421dc57f6270c3d6a3ddca66af.jpg","text":"TemporaryFile(/tmp/multipartBody5696924467398386544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918724538,"filename":"image_02122025_16_25_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/5/b8ba1e179007489d39ec6a9cff4be031.jpg","text":"TemporaryFile(/tmp/multipartBody7214780828751954004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918724538,"filename":"image_02122025_16_26_56_10264.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84e4e83135406e80851372c01dc8d618.jpg","text":"TemporaryFile(/tmp/multipartBody3092294321980065337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918724538,"filename":"image_02122025_16_30_14_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/631de04eb940ac1c14f49a8759237b59.jpg","text":"TemporaryFile(/tmp/multipartBody438175752503523459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918724538,"filename":"image_02122025_16_25_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/5/c8969896ff610303ae9f3f16bb597dac.jpg","text":"TemporaryFile(/tmp/multipartBody1486785675981757465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918724538,"filename":"image_02122025_16_31_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/5/6a7407440cce4c99edc7ca58d0428b20.jpg","text":"TemporaryFile(/tmp/multipartBody1896348226533859128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918724538,"filename":"image_02122025_16_27_06_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042551","file1":"1398042509","file0":"1398042470","file4":"1398042629","file5":"1398042670","file3":"1398042591"},"map_files_photo_id_array":[{"photo_id":"1398042670","filename":"file5"},{"photo_id":"1398042551","filename":"file2"},{"photo_id":"1398042629","filename":"file4"},{"photo_id":"1398042509","filename":"file1"},{"photo_id":"1398042470","filename":"file0"},{"photo_id":"1398042591","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398042470":["hashtag1","hashtag2"]},{"1398042551":["hashtag1","hashtag2"]},{"1398042629":["hashtag1","hashtag2"]},{"1398042509":["hashtag1","hashtag2"]},{"1398042670":["hashtag1","hashtag2"]},{"1398042591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398042470, 1398042551, 1398042629, 1398042509, 1398042670, 1398042591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91422939300537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:11:42.201680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_13_2743.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_17_3643.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_20_2716.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_26_3616.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_28_2696.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_31_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_13_2743.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_17_3643.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_20_2716.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_26_3616.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_28_2696.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_31_2852.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.530839204788208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:12:02.735181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/06/image_05122025_08_06_24_9782.jpg', '/home/pi/Desktop/images/05122025/08/10/image_05122025_08_10_54_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/06/image_05122025_08_06_24_9782.jpg
/home/pi/Desktop/images/05122025/08/10/image_05122025_08_10_54_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398042797","1398042778"],"photo_ids_order":["1398042778","1398042797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a874547e2a5b07558ab242624bf62727.jpg","text":"TemporaryFile(/tmp/multipartBody3577162444451468467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918783298,"filename":"image_05122025_08_10_54_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/959f34e971b7163d410ef65321f3c1aa.jpg","text":"TemporaryFile(/tmp/multipartBody6271169291816997885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918783298,"filename":"image_05122025_08_06_24_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398042797","file0":"1398042778"},"map_files_photo_id_array":[{"photo_id":"1398042797","filename":"file1"},{"photo_id":"1398042778","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398042797":["hashtag1","hashtag2"]},{"1398042778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398042797, 1398042778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.148016452789307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:12:22.363212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_13_2743.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_17_3643.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_20_2716.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_26_3616.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_28_2696.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_31_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_13_2743.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_17_3643.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_20_2716.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_26_3616.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_28_2696.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_31_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":["1398042812","1398042809","1398042817","1398042811","1398042814","1398042807"],"photo_ids_order":["1398042807","1398042809","1398042811","1398042812","1398042814","1398042817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/79f90ee69db1d999d978a595e36de2bc.jpg","text":"TemporaryFile(/tmp/multipartBody9117322104684469227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918804038,"filename":"image_31102025_19_00_26_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/5/f1b61067081b0c143e05c42ab15e4f8a.jpg","text":"TemporaryFile(/tmp/multipartBody728884854244766967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918804038,"filename":"image_31102025_19_00_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/5/73940508a1fe506cd5fc848a239b7f1c.jpg","text":"TemporaryFile(/tmp/multipartBody8627940503865076380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918804038,"filename":"image_31102025_19_00_31_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/5/74fe5a3c9718efd2abe6aafa746f5518.jpg","text":"TemporaryFile(/tmp/multipartBody8232589945535187292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918804038,"filename":"image_31102025_19_00_20_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/5/689fd912c7d81811bf4b844aadbc12c9.jpg","text":"TemporaryFile(/tmp/multipartBody4953348521792169673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918804038,"filename":"image_31102025_19_00_28_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/5/89e33baa11158fb24a32fe9d12c0177b.jpg","text":"TemporaryFile(/tmp/multipartBody4082550753360474192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918804038,"filename":"image_31102025_19_00_13_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042811","file1":"1398042809","file0":"1398042807","file4":"1398042814","file5":"1398042817","file3":"1398042812"},"map_files_photo_id_array":[{"photo_id":"1398042817","filename":"file5"},{"photo_id":"1398042811","filename":"file2"},{"photo_id":"1398042814","filename":"file4"},{"photo_id":"1398042809","filename":"file1"},{"photo_id":"1398042807","filename":"file0"},{"photo_id":"1398042812","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398042812":["hashtag1","hashtag2"]},{"1398042809":["hashtag1","hashtag2"]},{"1398042817":["hashtag1","hashtag2"]},{"1398042811":["hashtag1","hashtag2"]},{"1398042814":["hashtag1","hashtag2"]},{"1398042807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398042812, 1398042809, 1398042817, 1398042811, 1398042814, 1398042807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.316986322402954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:13:03.255434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/31/image_02122025_16_31_25_10609.jpg', '/home/pi/Desktop/images/02122025/16/31/image_02122025_16_31_35_9668.jpg', '/home/pi/Desktop/images/02122025/16/31/image_02122025_16_32_05_10680.jpg', '/home/pi/Desktop/images/02122025/16/32/image_02122025_16_32_35_10729.jpg', '/home/pi/Desktop/images/02122025/16/34/image_02122025_16_34_25_10587.jpg', '/home/pi/Desktop/images/02122025/16/35/image_02122025_16_35_34_9517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/31/image_02122025_16_31_25_10609.jpg
/home/pi/Desktop/images/02122025/16/31/image_02122025_16_31_35_9668.jpg
/home/pi/Desktop/images/02122025/16/31/image_02122025_16_32_05_10680.jpg
/home/pi/Desktop/images/02122025/16/32/image_02122025_16_32_35_10729.jpg
/home/pi/Desktop/images/02122025/16/34/image_02122025_16_34_25_10587.jpg
/home/pi/Desktop/images/02122025/16/35/image_02122025_16_35_34_9517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398042836","1398042848","1398042850","1398042852","1398042828","1398042837"],"photo_ids_order":["1398042828","1398042836","1398042837","1398042848","1398042850","1398042852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/90e1addf0e0b038eaa78ae94cf873fc4.jpg","text":"TemporaryFile(/tmp/multipartBody5484262165394336428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918844918,"filename":"image_02122025_16_31_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/5/a04c735fdc15bcb0451e7730bff3754c.jpg","text":"TemporaryFile(/tmp/multipartBody3710579222136917547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918844918,"filename":"image_02122025_16_32_35_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f37ede1c8a001f6f225df885294db68b.jpg","text":"TemporaryFile(/tmp/multipartBody2950580276990329080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918844918,"filename":"image_02122025_16_34_25_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/5/c2a026cc1174f370a699f8993fb5633b.jpg","text":"TemporaryFile(/tmp/multipartBody5729677614840724512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918844918,"filename":"image_02122025_16_35_34_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f1d661a321228a082327b3f9fc78720a.jpg","text":"TemporaryFile(/tmp/multipartBody7427853850168775860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918844918,"filename":"image_02122025_16_31_25_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/5/477c2beda4802ac7b2f93f14fb590a7a.jpg","text":"TemporaryFile(/tmp/multipartBody2935044817874976959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918844918,"filename":"image_02122025_16_32_05_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042837","file1":"1398042836","file0":"1398042828","file4":"1398042850","file5":"1398042852","file3":"1398042848"},"map_files_photo_id_array":[{"photo_id":"1398042852","filename":"file5"},{"photo_id":"1398042837","filename":"file2"},{"photo_id":"1398042850","filename":"file4"},{"photo_id":"1398042836","filename":"file1"},{"photo_id":"1398042828","filename":"file0"},{"photo_id":"1398042848","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398042836":["hashtag1","hashtag2"]},{"1398042848":["hashtag1","hashtag2"]},{"1398042850":["hashtag1","hashtag2"]},{"1398042852":["hashtag1","hashtag2"]},{"1398042828":["hashtag1","hashtag2"]},{"1398042837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398042836, 1398042848, 1398042850, 1398042852, 1398042828, 1398042837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.870047092437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:13:42.689957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_34_2682.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_37_3540.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_40_2654.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_44_3537.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_46_2646.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_49_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_34_2682.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_37_3540.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_40_2654.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_44_3537.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_46_2646.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_49_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398042884","1398042886","1398042874","1398042888","1398042885","1398042887"],"photo_ids_order":["1398042874","1398042884","1398042885","1398042886","1398042887","1398042888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7b2f496b4989683a47068dd4e242ec0d.jpg","text":"TemporaryFile(/tmp/multipartBody1137852526728631710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918884315,"filename":"image_31102025_19_00_37_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/5/d824f46590b0abd591dc6d7b68853852.jpg","text":"TemporaryFile(/tmp/multipartBody4870723740915769952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918884315,"filename":"image_31102025_19_00_44_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/5/3292697e92f741fffa7edc65a226af1c.jpg","text":"TemporaryFile(/tmp/multipartBody6882794086329939675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918884315,"filename":"image_31102025_19_00_34_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/5/d4d2e21ae94763891357c34c3c45ee6e.jpg","text":"TemporaryFile(/tmp/multipartBody5839497006622990380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918884315,"filename":"image_31102025_19_00_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/5/387446a609f65c7bcb3547e5a24625c0.jpg","text":"TemporaryFile(/tmp/multipartBody4250256423878956146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918884315,"filename":"image_31102025_19_00_40_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b9496c73ddcf2b559c1e6fba941dbcca.jpg","text":"TemporaryFile(/tmp/multipartBody3097132820418436421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918884315,"filename":"image_31102025_19_00_46_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042885","file1":"1398042884","file0":"1398042874","file4":"1398042887","file5":"1398042888","file3":"1398042886"},"map_files_photo_id_array":[{"photo_id":"1398042888","filename":"file5"},{"photo_id":"1398042885","filename":"file2"},{"photo_id":"1398042887","filename":"file4"},{"photo_id":"1398042884","filename":"file1"},{"photo_id":"1398042874","filename":"file0"},{"photo_id":"1398042886","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398042884":["hashtag1","hashtag2"]},{"1398042886":["hashtag1","hashtag2"]},{"1398042874":["hashtag1","hashtag2"]},{"1398042888":["hashtag1","hashtag2"]},{"1398042885":["hashtag1","hashtag2"]},{"1398042887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398042884, 1398042886, 1398042874, 1398042888, 1398042885, 1398042887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.453757524490356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:14:21.946860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/10/image_05122025_08_11_04_10598.jpg', '/home/pi/Desktop/images/05122025/08/13/image_05122025_08_13_44_9645.jpg', '/home/pi/Desktop/images/05122025/08/13/image_05122025_08_14_04_9686.jpg', '/home/pi/Desktop/images/05122025/08/14/image_05122025_08_14_14_10476.jpg', '/home/pi/Desktop/images/05122025/08/14/image_05122025_08_14_24_9768.jpg', '/home/pi/Desktop/images/05122025/08/14/image_05122025_08_14_35_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/10/image_05122025_08_11_04_10598.jpg
/home/pi/Desktop/images/05122025/08/13/image_05122025_08_13_44_9645.jpg
/home/pi/Desktop/images/05122025/08/13/image_05122025_08_14_04_9686.jpg
/home/pi/Desktop/images/05122025/08/14/image_05122025_08_14_14_10476.jpg
/home/pi/Desktop/images/05122025/08/14/image_05122025_08_14_24_9768.jpg
/home/pi/Desktop/images/05122025/08/14/image_05122025_08_14_35_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398042895","1398042902","1398042897","1398042891","1398042900","1398042893"],"photo_ids_order":["1398042891","1398042893","1398042895","1398042897","1398042900","1398042902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ccce835cdd19298d48ae3bce3da9f004.jpg","text":"TemporaryFile(/tmp/multipartBody1023620394237280224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918922677,"filename":"image_05122025_08_14_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/5/39446d8fa4f3cdff2d13aca0022d41da.jpg","text":"TemporaryFile(/tmp/multipartBody1289287947704521698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918922677,"filename":"image_05122025_08_14_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22f7bda0bcfdc4adc3dff9814b29991c.jpg","text":"TemporaryFile(/tmp/multipartBody3316740016693115924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918922677,"filename":"image_05122025_08_14_14_10476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab626d3d922ba03a9c386525ed8a9392.jpg","text":"TemporaryFile(/tmp/multipartBody4143987896706459059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918922677,"filename":"image_05122025_08_11_04_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/5/bec6545fac48d2d2326078f53265f405.jpg","text":"TemporaryFile(/tmp/multipartBody5188198991913098339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918922677,"filename":"image_05122025_08_14_24_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/5/a0a84fb5ebfbd0e9fe95f8b48f8f03bd.jpg","text":"TemporaryFile(/tmp/multipartBody8195718325426345011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918922677,"filename":"image_05122025_08_13_44_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042895","file1":"1398042893","file0":"1398042891","file4":"1398042900","file5":"1398042902","file3":"1398042897"},"map_files_photo_id_array":[{"photo_id":"1398042902","filename":"file5"},{"photo_id":"1398042895","filename":"file2"},{"photo_id":"1398042900","filename":"file4"},{"photo_id":"1398042893","filename":"file1"},{"photo_id":"1398042891","filename":"file0"},{"photo_id":"1398042897","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398042895":["hashtag1","hashtag2"]},{"1398042902":["hashtag1","hashtag2"]},{"1398042897":["hashtag1","hashtag2"]},{"1398042891":["hashtag1","hashtag2"]},{"1398042900":["hashtag1","hashtag2"]},{"1398042893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398042895, 1398042902, 1398042897, 1398042891, 1398042900, 1398042893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.149253129959106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:15:02.693834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/36/image_02122025_16_36_14_9963.jpg', '/home/pi/Desktop/images/02122025/16/36/image_02122025_16_36_55_10652.jpg', '/home/pi/Desktop/images/02122025/16/36/image_02122025_16_37_04_9712.jpg', '/home/pi/Desktop/images/02122025/16/37/image_02122025_16_37_14_9997.jpg', '/home/pi/Desktop/images/02122025/16/37/image_02122025_16_37_24_9756.jpg', '/home/pi/Desktop/images/02122025/16/37/image_02122025_16_37_35_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/36/image_02122025_16_36_14_9963.jpg
/home/pi/Desktop/images/02122025/16/36/image_02122025_16_36_55_10652.jpg
/home/pi/Desktop/images/02122025/16/36/image_02122025_16_37_04_9712.jpg
/home/pi/Desktop/images/02122025/16/37/image_02122025_16_37_14_9997.jpg
/home/pi/Desktop/images/02122025/16/37/image_02122025_16_37_24_9756.jpg
/home/pi/Desktop/images/02122025/16/37/image_02122025_16_37_35_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398042923","1398042917","1398042932","1398042934","1398042933","1398042936"],"photo_ids_order":["1398042917","1398042923","1398042932","1398042933","1398042934","1398042936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a8b98ea95043adb50d474650bbcf263d.jpg","text":"TemporaryFile(/tmp/multipartBody5059034014720484115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918964206,"filename":"image_02122025_16_36_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/5/084a50beaa7c3a9a00ef859503b1c3b1.jpg","text":"TemporaryFile(/tmp/multipartBody7846725384148305223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918964206,"filename":"image_02122025_16_36_14_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/5/238a152419b453032131519414f754d2.jpg","text":"TemporaryFile(/tmp/multipartBody7632522682627203741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918964206,"filename":"image_02122025_16_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/5/9be505b2133009fbf18d9a365ce1eaf0.jpg","text":"TemporaryFile(/tmp/multipartBody1065748759241403865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918964206,"filename":"image_02122025_16_37_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/daa32c594a9f5dc4d98322822621ef52.jpg","text":"TemporaryFile(/tmp/multipartBody476705422405361239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918964206,"filename":"image_02122025_16_37_14_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f8a6bcd34d34d25b2afd4e5607c39f13.jpg","text":"TemporaryFile(/tmp/multipartBody344445725204560021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764918964206,"filename":"image_02122025_16_37_35_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042932","file1":"1398042923","file0":"1398042917","file4":"1398042934","file5":"1398042936","file3":"1398042933"},"map_files_photo_id_array":[{"photo_id":"1398042936","filename":"file5"},{"photo_id":"1398042932","filename":"file2"},{"photo_id":"1398042934","filename":"file4"},{"photo_id":"1398042923","filename":"file1"},{"photo_id":"1398042917","filename":"file0"},{"photo_id":"1398042933","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398042923":["hashtag1","hashtag2"]},{"1398042917":["hashtag1","hashtag2"]},{"1398042932":["hashtag1","hashtag2"]},{"1398042934":["hashtag1","hashtag2"]},{"1398042933":["hashtag1","hashtag2"]},{"1398042936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398042923, 1398042917, 1398042932, 1398042934, 1398042933, 1398042936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22461819648743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:15:42.235026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_52_3601.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_55_2656.jpg', '/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_58_2638.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_04_2523.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_08_3662.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_10_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_52_3601.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_55_2656.jpg
/home/pi/Desktop/images/31102025/19/00/image_31102025_19_00_58_2638.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_04_2523.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_08_3662.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_10_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398042944","1398042947","1398042946","1398042943","1398042945","1398042948"],"photo_ids_order":["1398042943","1398042944","1398042945","1398042946","1398042947","1398042948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/320997c232f231d9cb846db872111f54.jpg","text":"TemporaryFile(/tmp/multipartBody9165796414352781968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919011287,"filename":"image_31102025_19_00_55_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/5/9b5d179234b9f70c5a6cb5584f5dd2f3.jpg","text":"TemporaryFile(/tmp/multipartBody7466811055313998513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919011287,"filename":"image_31102025_19_01_08_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20cd1aaaa8c3530a76e9e2db08f9e219.jpg","text":"TemporaryFile(/tmp/multipartBody8278958034974464824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919011287,"filename":"image_31102025_19_01_04_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/5/a6a1191a978043e1f798fd6f07c77156.jpg","text":"TemporaryFile(/tmp/multipartBody4981135510271409758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919011287,"filename":"image_31102025_19_00_52_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/5/fee8243f787dfc319c8fca0024b5bb99.jpg","text":"TemporaryFile(/tmp/multipartBody188059548435858729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919011287,"filename":"image_31102025_19_00_58_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc2b8e10d73bf5a102fab36301f409f3.jpg","text":"TemporaryFile(/tmp/multipartBody7485257608748075171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919011287,"filename":"image_31102025_19_01_10_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042945","file1":"1398042944","file0":"1398042943","file4":"1398042947","file5":"1398042948","file3":"1398042946"},"map_files_photo_id_array":[{"photo_id":"1398042948","filename":"file5"},{"photo_id":"1398042945","filename":"file2"},{"photo_id":"1398042947","filename":"file4"},{"photo_id":"1398042944","filename":"file1"},{"photo_id":"1398042943","filename":"file0"},{"photo_id":"1398042946","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398042944":["hashtag1","hashtag2"]},{"1398042947":["hashtag1","hashtag2"]},{"1398042946":["hashtag1","hashtag2"]},{"1398042943":["hashtag1","hashtag2"]},{"1398042945":["hashtag1","hashtag2"]},{"1398042948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398042944, 1398042947, 1398042946, 1398042943, 1398042945, 1398042948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.19835901260376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:16:32.399680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/37/image_02122025_16_37_54_9559.jpg', '/home/pi/Desktop/images/02122025/16/37/image_02122025_16_38_05_10581.jpg', '/home/pi/Desktop/images/02122025/16/39/image_02122025_16_39_14_9701.jpg', '/home/pi/Desktop/images/02122025/16/39/image_02122025_16_39_54_9301.jpg', '/home/pi/Desktop/images/02122025/16/40/image_02122025_16_40_35_9747.jpg', '/home/pi/Desktop/images/02122025/16/40/image_02122025_16_41_05_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/37/image_02122025_16_37_54_9559.jpg
/home/pi/Desktop/images/02122025/16/37/image_02122025_16_38_05_10581.jpg
/home/pi/Desktop/images/02122025/16/39/image_02122025_16_39_14_9701.jpg
/home/pi/Desktop/images/02122025/16/39/image_02122025_16_39_54_9301.jpg
/home/pi/Desktop/images/02122025/16/40/image_02122025_16_40_35_9747.jpg
/home/pi/Desktop/images/02122025/16/40/image_02122025_16_41_05_10729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398042965","1398042967","1398042960","1398042963","1398042957","1398042966"],"photo_ids_order":["1398042957","1398042960","1398042963","1398042965","1398042966","1398042967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/207965a6cacf8d0eb6afaa9d680a3af4.jpg","text":"TemporaryFile(/tmp/multipartBody7509390350579298115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919054523,"filename":"image_02122025_16_39_54_9301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c2e238046a5ea3355e0455888af68d3.jpg","text":"TemporaryFile(/tmp/multipartBody12564175378760747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919054523,"filename":"image_02122025_16_41_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/5/d019303f0d1ed8db5b97448247d54707.jpg","text":"TemporaryFile(/tmp/multipartBody586628704114516771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919054523,"filename":"image_02122025_16_38_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/5/8776b0e2e33828a8fbe08d6c9d06c3ef.jpg","text":"TemporaryFile(/tmp/multipartBody5143892945565223753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919054523,"filename":"image_02122025_16_39_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/5/c7a3af9a673040790aa8f69bee340fab.jpg","text":"TemporaryFile(/tmp/multipartBody6800277081997390689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919054523,"filename":"image_02122025_16_37_54_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c6e887f799429a43bd6c7c15369f608.jpg","text":"TemporaryFile(/tmp/multipartBody3945350048236960834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919054523,"filename":"image_02122025_16_40_35_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042963","file1":"1398042960","file0":"1398042957","file4":"1398042966","file5":"1398042967","file3":"1398042965"},"map_files_photo_id_array":[{"photo_id":"1398042967","filename":"file5"},{"photo_id":"1398042963","filename":"file2"},{"photo_id":"1398042966","filename":"file4"},{"photo_id":"1398042960","filename":"file1"},{"photo_id":"1398042957","filename":"file0"},{"photo_id":"1398042965","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398042965":["hashtag1","hashtag2"]},{"1398042967":["hashtag1","hashtag2"]},{"1398042960":["hashtag1","hashtag2"]},{"1398042963":["hashtag1","hashtag2"]},{"1398042957":["hashtag1","hashtag2"]},{"1398042966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398042965, 1398042967, 1398042960, 1398042963, 1398042957, 1398042966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90591359138489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:17:12.618332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/41/image_02122025_16_41_15_9754.jpg', '/home/pi/Desktop/images/02122025/16/41/image_02122025_16_41_24_9693.jpg', '/home/pi/Desktop/images/02122025/16/41/image_02122025_16_41_45_10627.jpg', '/home/pi/Desktop/images/02122025/16/41/image_02122025_16_41_55_9696.jpg', '/home/pi/Desktop/images/02122025/16/41/image_02122025_16_42_05_10599.jpg', '/home/pi/Desktop/images/02122025/16/42/image_02122025_16_42_54_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/41/image_02122025_16_41_15_9754.jpg
/home/pi/Desktop/images/02122025/16/41/image_02122025_16_41_24_9693.jpg
/home/pi/Desktop/images/02122025/16/41/image_02122025_16_41_45_10627.jpg
/home/pi/Desktop/images/02122025/16/41/image_02122025_16_41_55_9696.jpg
/home/pi/Desktop/images/02122025/16/41/image_02122025_16_42_05_10599.jpg
/home/pi/Desktop/images/02122025/16/42/image_02122025_16_42_54_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":["1398042995","1398042989","1398042997","1398042991","1398043000","1398042993"],"photo_ids_order":["1398042989","1398042991","1398042993","1398042995","1398042997","1398043000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b14d8feb6ba4fc39c5d5924a87a48e9.jpg","text":"TemporaryFile(/tmp/multipartBody1890462174042113638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919094640,"filename":"image_02122025_16_41_55_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5fee18445a198ff9c7c1da8bb0ecead3.jpg","text":"TemporaryFile(/tmp/multipartBody6679549171711291019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919094640,"filename":"image_02122025_16_41_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/5/302781e688783eb7a7c6d75043f40f38.jpg","text":"TemporaryFile(/tmp/multipartBody554618633560855757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919094640,"filename":"image_02122025_16_42_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/5/23ff1e7208d61cac9fc7e3b12a9ac474.jpg","text":"TemporaryFile(/tmp/multipartBody4235168710556093281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919094640,"filename":"image_02122025_16_41_24_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74e42f266429233e38619a81d5a0f4f5.jpg","text":"TemporaryFile(/tmp/multipartBody8263818660806677992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919094640,"filename":"image_02122025_16_42_54_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/5/0960190f81876d8cde0c32e0d31876db.jpg","text":"TemporaryFile(/tmp/multipartBody8034047682778513885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919094640,"filename":"image_02122025_16_41_45_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398042993","file1":"1398042991","file0":"1398042989","file4":"1398042997","file5":"1398043000","file3":"1398042995"},"map_files_photo_id_array":[{"photo_id":"1398043000","filename":"file5"},{"photo_id":"1398042993","filename":"file2"},{"photo_id":"1398042997","filename":"file4"},{"photo_id":"1398042991","filename":"file1"},{"photo_id":"1398042989","filename":"file0"},{"photo_id":"1398042995","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398042995":["hashtag1","hashtag2"]},{"1398042989":["hashtag1","hashtag2"]},{"1398042997":["hashtag1","hashtag2"]},{"1398042991":["hashtag1","hashtag2"]},{"1398043000":["hashtag1","hashtag2"]},{"1398042993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398042995, 1398042989, 1398042997, 1398042991, 1398043000, 1398042993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.326037883758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:18:02.354715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/14/image_05122025_08_14_54_9682.jpg', '/home/pi/Desktop/images/05122025/08/15/image_05122025_08_15_14_10036.jpg', '/home/pi/Desktop/images/05122025/08/15/image_05122025_08_15_34_9862.jpg', '/home/pi/Desktop/images/05122025/08/15/image_05122025_08_15_44_9671.jpg', '/home/pi/Desktop/images/05122025/08/16/image_05122025_08_16_34_9633.jpg', '/home/pi/Desktop/images/05122025/08/16/image_05122025_08_16_44_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/14/image_05122025_08_14_54_9682.jpg
/home/pi/Desktop/images/05122025/08/15/image_05122025_08_15_14_10036.jpg
/home/pi/Desktop/images/05122025/08/15/image_05122025_08_15_34_9862.jpg
/home/pi/Desktop/images/05122025/08/15/image_05122025_08_15_44_9671.jpg
/home/pi/Desktop/images/05122025/08/16/image_05122025_08_16_34_9633.jpg
/home/pi/Desktop/images/05122025/08/16/image_05122025_08_16_44_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":["1398043022","1398043019","1398043015","1398043018","1398043020","1398043017"],"photo_ids_order":["1398043015","1398043017","1398043018","1398043019","1398043020","1398043022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/782c0e9499a1246b1ed9691bb2252f31.jpg","text":"TemporaryFile(/tmp/multipartBody5694861550210596847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919143121,"filename":"image_05122025_08_16_44_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/5/245b480eb8aa5893aa15dec676112ad0.jpg","text":"TemporaryFile(/tmp/multipartBody6552761591572095506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919143121,"filename":"image_05122025_08_15_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/5/f02bede280a5fd65079c7c845dbd657b.jpg","text":"TemporaryFile(/tmp/multipartBody4422076771854157544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919143121,"filename":"image_05122025_08_14_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/5/dc6c1fa4164fd5e7999d1387bc8e1a17.jpg","text":"TemporaryFile(/tmp/multipartBody2933168590009167362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919143121,"filename":"image_05122025_08_15_34_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/5/bedb13ff8e899b98bb7b49860bd11acf.jpg","text":"TemporaryFile(/tmp/multipartBody6148220987953904352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919143121,"filename":"image_05122025_08_16_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/5/dcbaae0558c8b969b2785904c495e839.jpg","text":"TemporaryFile(/tmp/multipartBody8128659386522619619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919143121,"filename":"image_05122025_08_15_14_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398043018","file1":"1398043017","file0":"1398043015","file4":"1398043020","file5":"1398043022","file3":"1398043019"},"map_files_photo_id_array":[{"photo_id":"1398043022","filename":"file5"},{"photo_id":"1398043018","filename":"file2"},{"photo_id":"1398043020","filename":"file4"},{"photo_id":"1398043017","filename":"file1"},{"photo_id":"1398043015","filename":"file0"},{"photo_id":"1398043019","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398043022":["hashtag1","hashtag2"]},{"1398043019":["hashtag1","hashtag2"]},{"1398043015":["hashtag1","hashtag2"]},{"1398043018":["hashtag1","hashtag2"]},{"1398043020":["hashtag1","hashtag2"]},{"1398043017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398043022, 1398043019, 1398043015, 1398043018, 1398043020, 1398043017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24784016609192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:18:41.820603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_13_2790.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_16_2794.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_25_2705.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_29_3582.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_31_2651.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_37_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_13_2790.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_16_2794.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_25_2705.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_29_3582.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_31_2651.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_37_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":["1398043177","1398043272","1398043254","1398043140","1398043215","1398043271"],"photo_ids_order":["1398043140","1398043177","1398043215","1398043254","1398043271","1398043272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6c4a2ed773baa29efb33a2d42a46e633.jpg","text":"TemporaryFile(/tmp/multipartBody4992932187426037789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919183498,"filename":"image_31102025_19_01_16_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/5/0e8fa0f866b6d35cfe15277fcb07d9ad.jpg","text":"TemporaryFile(/tmp/multipartBody2516004570240746108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919183498,"filename":"image_31102025_19_01_37_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/5/5d5b8a985d89198a12566fc02b6b20ac.jpg","text":"TemporaryFile(/tmp/multipartBody1850004762898620328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919183498,"filename":"image_31102025_19_01_29_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/5/c6909dc24234ca1887351425fc06745d.jpg","text":"TemporaryFile(/tmp/multipartBody7566602980390925310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919183498,"filename":"image_31102025_19_01_13_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/5/10c1d1f7084f9a05be04c6819b960ff7.jpg","text":"TemporaryFile(/tmp/multipartBody7192916715102436212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919183498,"filename":"image_31102025_19_01_25_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/5/a2e809d5f27ffc284c5ec4d62d40bcb1.jpg","text":"TemporaryFile(/tmp/multipartBody6474648854010754144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919183498,"filename":"image_31102025_19_01_31_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398043215","file1":"1398043177","file0":"1398043140","file4":"1398043271","file5":"1398043272","file3":"1398043254"},"map_files_photo_id_array":[{"photo_id":"1398043272","filename":"file5"},{"photo_id":"1398043215","filename":"file2"},{"photo_id":"1398043271","filename":"file4"},{"photo_id":"1398043177","filename":"file1"},{"photo_id":"1398043140","filename":"file0"},{"photo_id":"1398043254","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398043177":["hashtag1","hashtag2"]},{"1398043272":["hashtag1","hashtag2"]},{"1398043254":["hashtag1","hashtag2"]},{"1398043140":["hashtag1","hashtag2"]},{"1398043215":["hashtag1","hashtag2"]},{"1398043271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398043177, 1398043272, 1398043254, 1398043140, 1398043215, 1398043271)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.87987804412842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:19:32.025325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/43/image_02122025_16_43_15_9789.jpg', '/home/pi/Desktop/images/02122025/16/43/image_02122025_16_43_24_9591.jpg', '/home/pi/Desktop/images/02122025/16/43/image_02122025_16_43_35_10609.jpg', '/home/pi/Desktop/images/02122025/16/43/image_02122025_16_43_45_9570.jpg', '/home/pi/Desktop/images/02122025/16/48/image_02122025_16_48_24_9802.jpg', '/home/pi/Desktop/images/02122025/16/48/image_02122025_16_49_04_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/43/image_02122025_16_43_15_9789.jpg
/home/pi/Desktop/images/02122025/16/43/image_02122025_16_43_24_9591.jpg
/home/pi/Desktop/images/02122025/16/43/image_02122025_16_43_35_10609.jpg
/home/pi/Desktop/images/02122025/16/43/image_02122025_16_43_45_9570.jpg
/home/pi/Desktop/images/02122025/16/48/image_02122025_16_48_24_9802.jpg
/home/pi/Desktop/images/02122025/16/48/image_02122025_16_49_04_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":["1398043310","1398043354","1398043353","1398043350","1398043332","1398043352"],"photo_ids_order":["1398043310","1398043332","1398043350","1398043352","1398043353","1398043354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/19d8389926b8545855ea9a9c1473c138.jpg","text":"TemporaryFile(/tmp/multipartBody309455738724573652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919234140,"filename":"image_02122025_16_43_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/5/2e2f780f07a95b6e8942431d8f6a8cdd.jpg","text":"TemporaryFile(/tmp/multipartBody627806713727004831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919234140,"filename":"image_02122025_16_49_04_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/5/c5e535bf2be1fce8880012ec969dfb2f.jpg","text":"TemporaryFile(/tmp/multipartBody6120557553278629886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919234140,"filename":"image_02122025_16_48_24_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/5/21587a59b03316faf104bcfe9d51f62f.jpg","text":"TemporaryFile(/tmp/multipartBody3843566727116884787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919234140,"filename":"image_02122025_16_43_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/5/5c6b9cba2c90a53a144d5dea56f9e78e.jpg","text":"TemporaryFile(/tmp/multipartBody7853621015842718581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919234140,"filename":"image_02122025_16_43_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/5/e101b062ea3bd2cad80a9e4231f60266.jpg","text":"TemporaryFile(/tmp/multipartBody6991096762970473015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919234140,"filename":"image_02122025_16_43_45_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398043350","file1":"1398043332","file0":"1398043310","file4":"1398043353","file5":"1398043354","file3":"1398043352"},"map_files_photo_id_array":[{"photo_id":"1398043354","filename":"file5"},{"photo_id":"1398043350","filename":"file2"},{"photo_id":"1398043353","filename":"file4"},{"photo_id":"1398043332","filename":"file1"},{"photo_id":"1398043310","filename":"file0"},{"photo_id":"1398043352","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398043310":["hashtag1","hashtag2"]},{"1398043354":["hashtag1","hashtag2"]},{"1398043353":["hashtag1","hashtag2"]},{"1398043350":["hashtag1","hashtag2"]},{"1398043332":["hashtag1","hashtag2"]},{"1398043352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398043310, 1398043354, 1398043353, 1398043350, 1398043332, 1398043352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83749532699585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:20:12.143737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/51/image_02122025_16_51_44_9783.jpg', '/home/pi/Desktop/images/02122025/16/51/image_02122025_16_51_55_10657.jpg', '/home/pi/Desktop/images/02122025/16/52/image_02122025_16_52_24_9657.jpg', '/home/pi/Desktop/images/02122025/16/53/image_02122025_16_53_24_9615.jpg', '/home/pi/Desktop/images/02122025/16/54/image_02122025_16_54_14_9555.jpg', '/home/pi/Desktop/images/02122025/16/55/image_02122025_16_55_25_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/51/image_02122025_16_51_44_9783.jpg
/home/pi/Desktop/images/02122025/16/51/image_02122025_16_51_55_10657.jpg
/home/pi/Desktop/images/02122025/16/52/image_02122025_16_52_24_9657.jpg
/home/pi/Desktop/images/02122025/16/53/image_02122025_16_53_24_9615.jpg
/home/pi/Desktop/images/02122025/16/54/image_02122025_16_54_14_9555.jpg
/home/pi/Desktop/images/02122025/16/55/image_02122025_16_55_25_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398043631","1398043696","1398043693","1398043594","1398043668","1398043556"],"photo_ids_order":["1398043556","1398043594","1398043631","1398043668","1398043693","1398043696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6790253e5c5243bfafad79286efd7b7c.jpg","text":"TemporaryFile(/tmp/multipartBody4496792754968449249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919274125,"filename":"image_02122025_16_52_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/5/941d26f5b21e85ab42a1176f2c05f6b1.jpg","text":"TemporaryFile(/tmp/multipartBody1374274763483788443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919274125,"filename":"image_02122025_16_55_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc20f09b937b97672fc5e61e29855482.jpg","text":"TemporaryFile(/tmp/multipartBody2578127547286106955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919274125,"filename":"image_02122025_16_54_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/5/c3d32b9934acc8b6fad4193bb7d927de.jpg","text":"TemporaryFile(/tmp/multipartBody3560847245515805477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919274125,"filename":"image_02122025_16_51_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/5/f8662fdbf392cc5196267d5ab965d406.jpg","text":"TemporaryFile(/tmp/multipartBody4682127677476521836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919274125,"filename":"image_02122025_16_53_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/5/6406c61a3f2b3b03cafc18044722fc3c.jpg","text":"TemporaryFile(/tmp/multipartBody8057737429685482967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919274125,"filename":"image_02122025_16_51_44_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398043631","file1":"1398043594","file0":"1398043556","file4":"1398043693","file5":"1398043696","file3":"1398043668"},"map_files_photo_id_array":[{"photo_id":"1398043696","filename":"file5"},{"photo_id":"1398043631","filename":"file2"},{"photo_id":"1398043693","filename":"file4"},{"photo_id":"1398043594","filename":"file1"},{"photo_id":"1398043556","filename":"file0"},{"photo_id":"1398043668","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398043631":["hashtag1","hashtag2"]},{"1398043696":["hashtag1","hashtag2"]},{"1398043693":["hashtag1","hashtag2"]},{"1398043594":["hashtag1","hashtag2"]},{"1398043668":["hashtag1","hashtag2"]},{"1398043556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398043631, 1398043696, 1398043693, 1398043594, 1398043668, 1398043556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4326913356781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:21:02.982441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/16/image_05122025_08_16_54_9937.jpg', '/home/pi/Desktop/images/05122025/08/16/image_05122025_08_17_04_9806.jpg', '/home/pi/Desktop/images/05122025/08/17/image_05122025_08_17_54_9685.jpg', '/home/pi/Desktop/images/05122025/08/17/image_05122025_08_18_04_9906.jpg', '/home/pi/Desktop/images/05122025/08/18/image_05122025_08_18_15_10607.jpg', '/home/pi/Desktop/images/05122025/08/18/image_05122025_08_18_24_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/16/image_05122025_08_16_54_9937.jpg
/home/pi/Desktop/images/05122025/08/16/image_05122025_08_17_04_9806.jpg
/home/pi/Desktop/images/05122025/08/17/image_05122025_08_17_54_9685.jpg
/home/pi/Desktop/images/05122025/08/17/image_05122025_08_18_04_9906.jpg
/home/pi/Desktop/images/05122025/08/18/image_05122025_08_18_15_10607.jpg
/home/pi/Desktop/images/05122025/08/18/image_05122025_08_18_24_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398043724","1398043727","1398043720","1398043723","1398043725","1398043722"],"photo_ids_order":["1398043720","1398043722","1398043723","1398043724","1398043725","1398043727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/631a28f773009f74ccd55f350d8710ca.jpg","text":"TemporaryFile(/tmp/multipartBody5227528222994479860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919323814,"filename":"image_05122025_08_18_04_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/5/d0508683d697affdfdcb41ca745d42c6.jpg","text":"TemporaryFile(/tmp/multipartBody5313808477539453911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919323814,"filename":"image_05122025_08_18_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/5/8e0f8ba1292a2f0c80e0c07d95d687da.jpg","text":"TemporaryFile(/tmp/multipartBody9031420290401032425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919323814,"filename":"image_05122025_08_16_54_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba94fd357574fe7dc45321ab3c0ce371.jpg","text":"TemporaryFile(/tmp/multipartBody3046701477128701008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919323814,"filename":"image_05122025_08_17_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/5/bd6813c38897589e54f813b71d2f749a.jpg","text":"TemporaryFile(/tmp/multipartBody1962835524046992266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919323814,"filename":"image_05122025_08_18_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/5/fb7e52ee4ef6febed2673fc93df9b44e.jpg","text":"TemporaryFile(/tmp/multipartBody3364078571257419488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919323814,"filename":"image_05122025_08_17_04_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398043723","file1":"1398043722","file0":"1398043720","file4":"1398043725","file5":"1398043727","file3":"1398043724"},"map_files_photo_id_array":[{"photo_id":"1398043727","filename":"file5"},{"photo_id":"1398043723","filename":"file2"},{"photo_id":"1398043725","filename":"file4"},{"photo_id":"1398043722","filename":"file1"},{"photo_id":"1398043720","filename":"file0"},{"photo_id":"1398043724","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398043724":["hashtag1","hashtag2"]},{"1398043727":["hashtag1","hashtag2"]},{"1398043720":["hashtag1","hashtag2"]},{"1398043723":["hashtag1","hashtag2"]},{"1398043725":["hashtag1","hashtag2"]},{"1398043722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398043724, 1398043727, 1398043720, 1398043723, 1398043725, 1398043722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44308137893677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:21:42.432916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_43_2622.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_46_2600.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_49_3632.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_52_2651.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_55_2719.jpg', '/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_58_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_43_2622.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_46_2600.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_49_3632.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_52_2651.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_55_2719.jpg
/home/pi/Desktop/images/31102025/19/01/image_31102025_19_01_58_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":["1398043834","1398043822","1398043836","1398043830","1398043833","1398043832"],"photo_ids_order":["1398043822","1398043830","1398043832","1398043833","1398043834","1398043836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af94aecc0852f9f445411864aecaf040.jpg","text":"TemporaryFile(/tmp/multipartBody1315484776232953594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919364088,"filename":"image_31102025_19_01_55_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/5/cc77c3ca541213a6640905b3c2aa334d.jpg","text":"TemporaryFile(/tmp/multipartBody5453060773762459165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919364088,"filename":"image_31102025_19_01_43_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/5/2b056c73b1e56de72bd58ea15e655b65.jpg","text":"TemporaryFile(/tmp/multipartBody3083399434381653882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919364088,"filename":"image_31102025_19_01_58_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/5/7054e196b09f485cff94cdc12de1f821.jpg","text":"TemporaryFile(/tmp/multipartBody3168678053178590692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919364088,"filename":"image_31102025_19_01_46_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/5/fc6e6da4bb2b640f67ddedfb6062555c.jpg","text":"TemporaryFile(/tmp/multipartBody1615742041639605843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919364088,"filename":"image_31102025_19_01_52_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/da1e69b15d172143c1dd38de9e2bd1d9.jpg","text":"TemporaryFile(/tmp/multipartBody1814082542164393293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919364088,"filename":"image_31102025_19_01_49_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398043832","file1":"1398043830","file0":"1398043822","file4":"1398043834","file5":"1398043836","file3":"1398043833"},"map_files_photo_id_array":[{"photo_id":"1398043836","filename":"file5"},{"photo_id":"1398043832","filename":"file2"},{"photo_id":"1398043834","filename":"file4"},{"photo_id":"1398043830","filename":"file1"},{"photo_id":"1398043822","filename":"file0"},{"photo_id":"1398043833","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398043834":["hashtag1","hashtag2"]},{"1398043822":["hashtag1","hashtag2"]},{"1398043836":["hashtag1","hashtag2"]},{"1398043830":["hashtag1","hashtag2"]},{"1398043833":["hashtag1","hashtag2"]},{"1398043832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398043834, 1398043822, 1398043836, 1398043830, 1398043833, 1398043832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51824760437012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:22:22.609947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/18/image_05122025_08_18_34_9826.jpg', '/home/pi/Desktop/images/05122025/08/18/image_05122025_08_18_55_10689.jpg', '/home/pi/Desktop/images/05122025/08/19/image_05122025_08_20_04_9775.jpg', '/home/pi/Desktop/images/05122025/08/20/image_05122025_08_20_24_9701.jpg', '/home/pi/Desktop/images/05122025/08/20/image_05122025_08_20_34_9977.jpg', '/home/pi/Desktop/images/05122025/08/20/image_05122025_08_20_44_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/18/image_05122025_08_18_34_9826.jpg
/home/pi/Desktop/images/05122025/08/18/image_05122025_08_18_55_10689.jpg
/home/pi/Desktop/images/05122025/08/19/image_05122025_08_20_04_9775.jpg
/home/pi/Desktop/images/05122025/08/20/image_05122025_08_20_24_9701.jpg
/home/pi/Desktop/images/05122025/08/20/image_05122025_08_20_34_9977.jpg
/home/pi/Desktop/images/05122025/08/20/image_05122025_08_20_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":["1398043910","1398043936","1398043941","1398043938","1398043905","1398043914"],"photo_ids_order":["1398043905","1398043910","1398043914","1398043936","1398043938","1398043941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d1ec82ff6835595a6e2ea5e3a9e203a6.jpg","text":"TemporaryFile(/tmp/multipartBody6314376584636636586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919403505,"filename":"image_05122025_08_18_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95ce702e5d8256dd579829468075b4a7.jpg","text":"TemporaryFile(/tmp/multipartBody7255275514158115538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919403505,"filename":"image_05122025_08_20_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/5/2b9cfab6f606e6a06e9b18c42bf1df8f.jpg","text":"TemporaryFile(/tmp/multipartBody7627801295524897539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919403505,"filename":"image_05122025_08_20_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/5/a4ce139709e645e933d3b026e437f45a.jpg","text":"TemporaryFile(/tmp/multipartBody3158716092854977354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919403505,"filename":"image_05122025_08_20_34_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/5/c5e73ec94b09d0dd451033762a5ce646.jpg","text":"TemporaryFile(/tmp/multipartBody9217003800665890993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919403505,"filename":"image_05122025_08_18_34_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa59da1af73b87ea1a8ef5893817c91d.jpg","text":"TemporaryFile(/tmp/multipartBody5860731800780660424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919403505,"filename":"image_05122025_08_20_04_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398043914","file1":"1398043910","file0":"1398043905","file4":"1398043938","file5":"1398043941","file3":"1398043936"},"map_files_photo_id_array":[{"photo_id":"1398043941","filename":"file5"},{"photo_id":"1398043914","filename":"file2"},{"photo_id":"1398043938","filename":"file4"},{"photo_id":"1398043910","filename":"file1"},{"photo_id":"1398043905","filename":"file0"},{"photo_id":"1398043936","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398043910":["hashtag1","hashtag2"]},{"1398043936":["hashtag1","hashtag2"]},{"1398043941":["hashtag1","hashtag2"]},{"1398043938":["hashtag1","hashtag2"]},{"1398043905":["hashtag1","hashtag2"]},{"1398043914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398043910, 1398043936, 1398043941, 1398043938, 1398043905, 1398043914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1558153629303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:23:02.409155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/20/image_05122025_08_20_55_10609.jpg', '/home/pi/Desktop/images/05122025/08/20/image_05122025_08_21_04_9751.jpg', '/home/pi/Desktop/images/05122025/08/21/image_05122025_08_21_24_9715.jpg', '/home/pi/Desktop/images/05122025/08/21/image_05122025_08_21_34_9817.jpg', '/home/pi/Desktop/images/05122025/08/21/image_05122025_08_21_44_10673.jpg', '/home/pi/Desktop/images/05122025/08/21/image_05122025_08_21_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/20/image_05122025_08_20_55_10609.jpg
/home/pi/Desktop/images/05122025/08/20/image_05122025_08_21_04_9751.jpg
/home/pi/Desktop/images/05122025/08/21/image_05122025_08_21_24_9715.jpg
/home/pi/Desktop/images/05122025/08/21/image_05122025_08_21_34_9817.jpg
/home/pi/Desktop/images/05122025/08/21/image_05122025_08_21_44_10673.jpg
/home/pi/Desktop/images/05122025/08/21/image_05122025_08_21_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":["1398043963","1398043942","1398043966","1398043944","1398043964","1398043958"],"photo_ids_order":["1398043942","1398043944","1398043958","1398043963","1398043964","1398043966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/297050cbe7c0491989ea63db58430a77.jpg","text":"TemporaryFile(/tmp/multipartBody4157033555432918854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919443357,"filename":"image_05122025_08_21_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/5/2d9c3a54a276948f7e41dffb6a0394c6.jpg","text":"TemporaryFile(/tmp/multipartBody5589434356259469234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919443357,"filename":"image_05122025_08_20_55_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/5/f86129d126e1166f6e54e385724b7ced.jpg","text":"TemporaryFile(/tmp/multipartBody4440481907668783418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919443357,"filename":"image_05122025_08_21_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/5/ce39e85543265a916008c1b0a3464ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3793170460879388759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919443357,"filename":"image_05122025_08_21_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/5/2a310c33545fb1c7784a0ad963629095.jpg","text":"TemporaryFile(/tmp/multipartBody4441624999989576146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919443357,"filename":"image_05122025_08_21_44_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/5/ca1fbad511d6d003a572ed40d499023b.jpg","text":"TemporaryFile(/tmp/multipartBody132237025234638294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919443357,"filename":"image_05122025_08_21_24_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398043958","file1":"1398043944","file0":"1398043942","file4":"1398043964","file5":"1398043966","file3":"1398043963"},"map_files_photo_id_array":[{"photo_id":"1398043966","filename":"file5"},{"photo_id":"1398043958","filename":"file2"},{"photo_id":"1398043964","filename":"file4"},{"photo_id":"1398043944","filename":"file1"},{"photo_id":"1398043942","filename":"file0"},{"photo_id":"1398043963","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398043963":["hashtag1","hashtag2"]},{"1398043942":["hashtag1","hashtag2"]},{"1398043966":["hashtag1","hashtag2"]},{"1398043944":["hashtag1","hashtag2"]},{"1398043964":["hashtag1","hashtag2"]},{"1398043958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398043963, 1398043942, 1398043966, 1398043944, 1398043964, 1398043958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.663875341415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:23:41.841803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_01_2734.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_04_2622.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_07_3664.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_10_2628.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_14_3559.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_16_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_01_2734.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_04_2622.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_07_3664.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_10_2628.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_14_3559.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_16_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":["1398043987","1398043990","1398043984","1398043972","1398043989","1398043985"],"photo_ids_order":["1398043972","1398043984","1398043985","1398043987","1398043989","1398043990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51873aa70a6ba1cfdb3a8ea01604f633.jpg","text":"TemporaryFile(/tmp/multipartBody212414712105725608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919483460,"filename":"image_31102025_19_02_10_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/5/c94892e80896e55ffdc099554e688a58.jpg","text":"TemporaryFile(/tmp/multipartBody8244261205465874766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919483460,"filename":"image_31102025_19_02_16_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b5c6ba80c9345fcb5fb8cebfd96ea98.jpg","text":"TemporaryFile(/tmp/multipartBody5488513534651515966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919483460,"filename":"image_31102025_19_02_04_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/5/87ce2cf26a018de642e30b0d98dfd4e0.jpg","text":"TemporaryFile(/tmp/multipartBody6567299737773960599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919483460,"filename":"image_31102025_19_02_01_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/5/0b2262ce7cbbd3f44f50b84019f5b178.jpg","text":"TemporaryFile(/tmp/multipartBody3452857490777837382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919483460,"filename":"image_31102025_19_02_14_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac7ef1bb60fe32eaeaf6d7e27cde0605.jpg","text":"TemporaryFile(/tmp/multipartBody79903309346356162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919483460,"filename":"image_31102025_19_02_07_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398043985","file1":"1398043984","file0":"1398043972","file4":"1398043989","file5":"1398043990","file3":"1398043987"},"map_files_photo_id_array":[{"photo_id":"1398043990","filename":"file5"},{"photo_id":"1398043985","filename":"file2"},{"photo_id":"1398043989","filename":"file4"},{"photo_id":"1398043984","filename":"file1"},{"photo_id":"1398043972","filename":"file0"},{"photo_id":"1398043987","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398043987":["hashtag1","hashtag2"]},{"1398043990":["hashtag1","hashtag2"]},{"1398043984":["hashtag1","hashtag2"]},{"1398043972":["hashtag1","hashtag2"]},{"1398043989":["hashtag1","hashtag2"]},{"1398043985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398043987, 1398043990, 1398043984, 1398043972, 1398043989, 1398043985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.139904260635376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:24:22.031827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/21/image_05122025_08_22_04_9860.jpg', '/home/pi/Desktop/images/05122025/08/22/image_05122025_08_22_14_9891.jpg', '/home/pi/Desktop/images/05122025/08/22/image_05122025_08_22_24_9926.jpg', '/home/pi/Desktop/images/05122025/08/22/image_05122025_08_22_34_10677.jpg', '/home/pi/Desktop/images/05122025/08/22/image_05122025_08_22_44_9685.jpg', '/home/pi/Desktop/images/05122025/08/22/image_05122025_08_22_54_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/21/image_05122025_08_22_04_9860.jpg
/home/pi/Desktop/images/05122025/08/22/image_05122025_08_22_14_9891.jpg
/home/pi/Desktop/images/05122025/08/22/image_05122025_08_22_24_9926.jpg
/home/pi/Desktop/images/05122025/08/22/image_05122025_08_22_34_10677.jpg
/home/pi/Desktop/images/05122025/08/22/image_05122025_08_22_44_9685.jpg
/home/pi/Desktop/images/05122025/08/22/image_05122025_08_22_54_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":["1398044017","1398044019","1398044010","1398044004","1398044021","1398044024"],"photo_ids_order":["1398044004","1398044010","1398044017","1398044019","1398044021","1398044024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d9edf1e9d5e35761f92d8bc35dbc9861.jpg","text":"TemporaryFile(/tmp/multipartBody3828456381436066024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919522841,"filename":"image_05122025_08_22_24_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/5/b51496bd4422b80f91970914e4ab7d98.jpg","text":"TemporaryFile(/tmp/multipartBody7951352541376047409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919522841,"filename":"image_05122025_08_22_34_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/5/957003f97a9d331c3a8d476684457a95.jpg","text":"TemporaryFile(/tmp/multipartBody8399301673232332348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919522841,"filename":"image_05122025_08_22_14_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1105460457a277991fc80ee36f2100b5.jpg","text":"TemporaryFile(/tmp/multipartBody6787568520070020786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919522841,"filename":"image_05122025_08_22_04_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/5/25ed717cc2e5566f407607a1cf310eaa.jpg","text":"TemporaryFile(/tmp/multipartBody7827098964610819149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919522841,"filename":"image_05122025_08_22_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/5/d69e42449d4f481114627c28847d725b.jpg","text":"TemporaryFile(/tmp/multipartBody8645888948141960494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919522841,"filename":"image_05122025_08_22_54_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044017","file1":"1398044010","file0":"1398044004","file4":"1398044021","file5":"1398044024","file3":"1398044019"},"map_files_photo_id_array":[{"photo_id":"1398044024","filename":"file5"},{"photo_id":"1398044017","filename":"file2"},{"photo_id":"1398044021","filename":"file4"},{"photo_id":"1398044010","filename":"file1"},{"photo_id":"1398044004","filename":"file0"},{"photo_id":"1398044019","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044017":["hashtag1","hashtag2"]},{"1398044019":["hashtag1","hashtag2"]},{"1398044010":["hashtag1","hashtag2"]},{"1398044004":["hashtag1","hashtag2"]},{"1398044021":["hashtag1","hashtag2"]},{"1398044024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044017, 1398044019, 1398044010, 1398044004, 1398044021, 1398044024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05937337875366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:25:02.861207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/22/image_05122025_08_23_05_10713.jpg', '/home/pi/Desktop/images/05122025/08/23/image_05122025_08_23_14_9760.jpg', '/home/pi/Desktop/images/05122025/08/23/image_05122025_08_23_24_9680.jpg', '/home/pi/Desktop/images/05122025/08/23/image_05122025_08_24_04_9769.jpg', '/home/pi/Desktop/images/05122025/08/24/image_05122025_08_24_14_9867.jpg', '/home/pi/Desktop/images/05122025/08/24/image_05122025_08_24_25_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/22/image_05122025_08_23_05_10713.jpg
/home/pi/Desktop/images/05122025/08/23/image_05122025_08_23_14_9760.jpg
/home/pi/Desktop/images/05122025/08/23/image_05122025_08_23_24_9680.jpg
/home/pi/Desktop/images/05122025/08/23/image_05122025_08_24_04_9769.jpg
/home/pi/Desktop/images/05122025/08/24/image_05122025_08_24_14_9867.jpg
/home/pi/Desktop/images/05122025/08/24/image_05122025_08_24_25_10756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044026","1398044118","1398044078","1398044153","1398044027","1398044042"],"photo_ids_order":["1398044026","1398044027","1398044042","1398044078","1398044118","1398044153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aeb5c260fed71912cd4e02a23c47ebec.jpg","text":"TemporaryFile(/tmp/multipartBody4383979133093803729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919563723,"filename":"image_05122025_08_23_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/5/a5db5f5d7d9c3cdc65cdb9c2ae48f843.jpg","text":"TemporaryFile(/tmp/multipartBody6698885142369854265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919563723,"filename":"image_05122025_08_24_14_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5dea63a61c4b8f81d5110fc3d7dd1342.jpg","text":"TemporaryFile(/tmp/multipartBody3619046520257603960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919563723,"filename":"image_05122025_08_24_04_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c63ce07bc8c10ed36e68fdaf7b9e9c96.jpg","text":"TemporaryFile(/tmp/multipartBody2772468472669243497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919563723,"filename":"image_05122025_08_24_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/5/aafddcaef9ca893ac288464a89a819d2.jpg","text":"TemporaryFile(/tmp/multipartBody2363052110011537146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919563723,"filename":"image_05122025_08_23_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/5/ec827219f2487b82da6fa937d47416e8.jpg","text":"TemporaryFile(/tmp/multipartBody3003592537614996416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919563723,"filename":"image_05122025_08_23_24_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044042","file1":"1398044027","file0":"1398044026","file4":"1398044118","file5":"1398044153","file3":"1398044078"},"map_files_photo_id_array":[{"photo_id":"1398044153","filename":"file5"},{"photo_id":"1398044042","filename":"file2"},{"photo_id":"1398044118","filename":"file4"},{"photo_id":"1398044027","filename":"file1"},{"photo_id":"1398044026","filename":"file0"},{"photo_id":"1398044078","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044026":["hashtag1","hashtag2"]},{"1398044118":["hashtag1","hashtag2"]},{"1398044078":["hashtag1","hashtag2"]},{"1398044153":["hashtag1","hashtag2"]},{"1398044027":["hashtag1","hashtag2"]},{"1398044042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044026, 1398044118, 1398044078, 1398044153, 1398044027, 1398044042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82991075515747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:25:42.228142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_19_2661.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_22_2661.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_25_3817.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_28_2671.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_31_2619.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_34_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_19_2661.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_22_2661.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_25_3817.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_28_2671.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_31_2619.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_34_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":["1398044182","1398044181","1398044178","1398044175","1398044180","1398044179"],"photo_ids_order":["1398044175","1398044178","1398044179","1398044180","1398044181","1398044182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ebee49b982257eb04b56be8a986ca0f3.jpg","text":"TemporaryFile(/tmp/multipartBody1734032781091750373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919603917,"filename":"image_31102025_19_02_34_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/5/aec25a81b2f4eac3c4e1effbc95157d5.jpg","text":"TemporaryFile(/tmp/multipartBody7402541420983180398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919603917,"filename":"image_31102025_19_02_31_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/5/456ebf45fe39ff5f19b9bef732011e34.jpg","text":"TemporaryFile(/tmp/multipartBody6098051424528655043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919603917,"filename":"image_31102025_19_02_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/5/5562f21c84032c7c6ad516beade7bae1.jpg","text":"TemporaryFile(/tmp/multipartBody3739855758883893688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919603917,"filename":"image_31102025_19_02_19_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/5/af1360bead5ade3e1d88267f9e11e715.jpg","text":"TemporaryFile(/tmp/multipartBody8027320417595032995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919603917,"filename":"image_31102025_19_02_28_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/5/0eff0f5c7546911348a56f59c987a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody896147400199701523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919603917,"filename":"image_31102025_19_02_25_3817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044179","file1":"1398044178","file0":"1398044175","file4":"1398044181","file5":"1398044182","file3":"1398044180"},"map_files_photo_id_array":[{"photo_id":"1398044182","filename":"file5"},{"photo_id":"1398044179","filename":"file2"},{"photo_id":"1398044181","filename":"file4"},{"photo_id":"1398044178","filename":"file1"},{"photo_id":"1398044175","filename":"file0"},{"photo_id":"1398044180","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398044182":["hashtag1","hashtag2"]},{"1398044181":["hashtag1","hashtag2"]},{"1398044178":["hashtag1","hashtag2"]},{"1398044175":["hashtag1","hashtag2"]},{"1398044180":["hashtag1","hashtag2"]},{"1398044179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398044182, 1398044181, 1398044178, 1398044175, 1398044180, 1398044179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59526014328003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:26:22.431629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/24/image_05122025_08_24_34_9729.jpg', '/home/pi/Desktop/images/05122025/08/25/image_05122025_08_25_14_9717.jpg', '/home/pi/Desktop/images/05122025/08/25/image_05122025_08_25_24_9861.jpg', '/home/pi/Desktop/images/05122025/08/25/image_05122025_08_25_44_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/24/image_05122025_08_24_34_9729.jpg
/home/pi/Desktop/images/05122025/08/25/image_05122025_08_25_14_9717.jpg
/home/pi/Desktop/images/05122025/08/25/image_05122025_08_25_24_9861.jpg
/home/pi/Desktop/images/05122025/08/25/image_05122025_08_25_44_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":["1398044269","1398044292","1398044306","1398044299"],"photo_ids_order":["1398044269","1398044292","1398044299","1398044306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a7b71c45543f036d4da53b1862f25878.jpg","text":"TemporaryFile(/tmp/multipartBody4163470643055284982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919643131,"filename":"image_05122025_08_24_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/5/5318f419fd94a838ade40d4cca7e062f.jpg","text":"TemporaryFile(/tmp/multipartBody2088516756447792465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919643131,"filename":"image_05122025_08_25_14_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/5/0dc222c0951ab18cdc8ebb475aec0069.jpg","text":"TemporaryFile(/tmp/multipartBody3022154217805982002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919643131,"filename":"image_05122025_08_25_44_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/5/9d16abc277d9dbe4db95d9b0fe3cfb12.jpg","text":"TemporaryFile(/tmp/multipartBody4269408811483297534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919643131,"filename":"image_05122025_08_25_24_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044299","file1":"1398044292","file0":"1398044269","file3":"1398044306"},"map_files_photo_id_array":[{"photo_id":"1398044299","filename":"file2"},{"photo_id":"1398044292","filename":"file1"},{"photo_id":"1398044269","filename":"file0"},{"photo_id":"1398044306","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044269":["hashtag1","hashtag2"]},{"1398044292":["hashtag1","hashtag2"]},{"1398044306":["hashtag1","hashtag2"]},{"1398044299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044269, 1398044292, 1398044306, 1398044299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.516589641571045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:27:03.228609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/16/56/image_02122025_16_56_45_9792.jpg', '/home/pi/Desktop/images/02122025/16/56/image_02122025_16_56_55_10674.jpg', '/home/pi/Desktop/images/02122025/16/58/image_02122025_16_58_15_9689.jpg', '/home/pi/Desktop/images/02122025/16/58/image_02122025_16_58_25_10743.jpg', '/home/pi/Desktop/images/02122025/16/58/image_02122025_16_59_05_9646.jpg', '/home/pi/Desktop/images/02122025/16/59/image_02122025_16_59_35_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/16/56/image_02122025_16_56_45_9792.jpg
/home/pi/Desktop/images/02122025/16/56/image_02122025_16_56_55_10674.jpg
/home/pi/Desktop/images/02122025/16/58/image_02122025_16_58_15_9689.jpg
/home/pi/Desktop/images/02122025/16/58/image_02122025_16_58_25_10743.jpg
/home/pi/Desktop/images/02122025/16/58/image_02122025_16_59_05_9646.jpg
/home/pi/Desktop/images/02122025/16/59/image_02122025_16_59_35_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":["1398044359","1398044356","1398044358","1398044360","1398044363","1398044357"],"photo_ids_order":["1398044356","1398044357","1398044358","1398044359","1398044360","1398044363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4fba60519be96cb74dfe4a4e61fffaaf.jpg","text":"TemporaryFile(/tmp/multipartBody957253761952237821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919684936,"filename":"image_02122025_16_58_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/5/0c08ff0869bf95e3bf0bc3f57fb2e2ce.jpg","text":"TemporaryFile(/tmp/multipartBody8003311816715062314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919684936,"filename":"image_02122025_16_56_45_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/5/2b7ff63971c3d8c9fa347f90d2dcca7b.jpg","text":"TemporaryFile(/tmp/multipartBody7551713433272877403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919684936,"filename":"image_02122025_16_58_15_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/5/0141273ebf5bc9166444cfba91c2e318.jpg","text":"TemporaryFile(/tmp/multipartBody2342377918892369200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919684936,"filename":"image_02122025_16_59_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/5/3843b7dbf6e0ecb8c2099cccd2a894b0.jpg","text":"TemporaryFile(/tmp/multipartBody2682538374789762384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919684936,"filename":"image_02122025_16_59_35_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/371ac6c93cdfd1e3418e6adad9dde0e4.jpg","text":"TemporaryFile(/tmp/multipartBody7232702036338042793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919684936,"filename":"image_02122025_16_56_55_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044358","file1":"1398044357","file0":"1398044356","file4":"1398044360","file5":"1398044363","file3":"1398044359"},"map_files_photo_id_array":[{"photo_id":"1398044363","filename":"file5"},{"photo_id":"1398044358","filename":"file2"},{"photo_id":"1398044360","filename":"file4"},{"photo_id":"1398044357","filename":"file1"},{"photo_id":"1398044356","filename":"file0"},{"photo_id":"1398044359","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398044359":["hashtag1","hashtag2"]},{"1398044356":["hashtag1","hashtag2"]},{"1398044358":["hashtag1","hashtag2"]},{"1398044360":["hashtag1","hashtag2"]},{"1398044363":["hashtag1","hashtag2"]},{"1398044357":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398044359, 1398044356, 1398044358, 1398044360, 1398044363, 1398044357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7458221912384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:27:42.797885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_37_2821.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_40_2705.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_43_2794.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_46_3645.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_49_2578.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_52_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_37_2821.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_40_2705.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_43_2794.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_46_3645.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_49_2578.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_52_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044371","1398044374","1398044368","1398044373","1398044372","1398044375"],"photo_ids_order":["1398044368","1398044371","1398044372","1398044373","1398044374","1398044375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1198b9c47a44abe859ec40a82731baf.jpg","text":"TemporaryFile(/tmp/multipartBody8605637820169229325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919724465,"filename":"image_31102025_19_02_40_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f7ba6d81c1cb58ab7a77b97946484836.jpg","text":"TemporaryFile(/tmp/multipartBody905323717241289508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919724465,"filename":"image_31102025_19_02_49_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8228a03f8b1c87bebde2f89e630ba59b.jpg","text":"TemporaryFile(/tmp/multipartBody7341270520890719482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919724465,"filename":"image_31102025_19_02_37_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/5/4a99becd370630a2bcf514a946b2d2e3.jpg","text":"TemporaryFile(/tmp/multipartBody437441942750918407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919724465,"filename":"image_31102025_19_02_46_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/5/cb1d0e72244165ee2526036ce3b50360.jpg","text":"TemporaryFile(/tmp/multipartBody2966663661175921069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919724465,"filename":"image_31102025_19_02_43_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5577730f4cd3a314712cd3f264d4172c.jpg","text":"TemporaryFile(/tmp/multipartBody5986646290117788171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919724465,"filename":"image_31102025_19_02_52_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044372","file1":"1398044371","file0":"1398044368","file4":"1398044374","file5":"1398044375","file3":"1398044373"},"map_files_photo_id_array":[{"photo_id":"1398044375","filename":"file5"},{"photo_id":"1398044372","filename":"file2"},{"photo_id":"1398044374","filename":"file4"},{"photo_id":"1398044371","filename":"file1"},{"photo_id":"1398044368","filename":"file0"},{"photo_id":"1398044373","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398044371":["hashtag1","hashtag2"]},{"1398044374":["hashtag1","hashtag2"]},{"1398044368":["hashtag1","hashtag2"]},{"1398044373":["hashtag1","hashtag2"]},{"1398044372":["hashtag1","hashtag2"]},{"1398044375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398044371, 1398044374, 1398044368, 1398044373, 1398044372, 1398044375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33387756347656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:28:21.978868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/26/image_05122025_08_26_45_10655.jpg', '/home/pi/Desktop/images/05122025/08/27/image_05122025_08_27_44_9703.jpg', '/home/pi/Desktop/images/05122025/08/27/image_05122025_08_28_05_9927.jpg', '/home/pi/Desktop/images/05122025/08/28/image_05122025_08_28_14_9701.jpg', '/home/pi/Desktop/images/05122025/08/28/image_05122025_08_28_24_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/26/image_05122025_08_26_45_10655.jpg
/home/pi/Desktop/images/05122025/08/27/image_05122025_08_27_44_9703.jpg
/home/pi/Desktop/images/05122025/08/27/image_05122025_08_28_05_9927.jpg
/home/pi/Desktop/images/05122025/08/28/image_05122025_08_28_14_9701.jpg
/home/pi/Desktop/images/05122025/08/28/image_05122025_08_28_24_9696.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5780854225158691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:28:31.992230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/00/image_02122025_17_00_24_9994.jpg', '/home/pi/Desktop/images/02122025/17/00/image_02122025_17_00_35_10680.jpg', '/home/pi/Desktop/images/02122025/17/00/image_02122025_17_00_44_9750.jpg', '/home/pi/Desktop/images/02122025/17/00/image_02122025_17_00_55_10486.jpg', '/home/pi/Desktop/images/02122025/17/01/image_02122025_17_01_25_10539.jpg', '/home/pi/Desktop/images/02122025/17/01/image_02122025_17_01_44_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/00/image_02122025_17_00_24_9994.jpg
/home/pi/Desktop/images/02122025/17/00/image_02122025_17_00_35_10680.jpg
/home/pi/Desktop/images/02122025/17/00/image_02122025_17_00_44_9750.jpg
/home/pi/Desktop/images/02122025/17/00/image_02122025_17_00_55_10486.jpg
/home/pi/Desktop/images/02122025/17/01/image_02122025_17_01_25_10539.jpg
/home/pi/Desktop/images/02122025/17/01/image_02122025_17_01_44_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":["1398044392","1398044388","1398044382","1398044391","1398044385","1398044390"],"photo_ids_order":["1398044382","1398044385","1398044388","1398044390","1398044391","1398044392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/57e28606d286e032611390b6c1d2d2b8.jpg","text":"TemporaryFile(/tmp/multipartBody6023028458147448982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919774154,"filename":"image_02122025_17_01_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/5/64d17e54a8922bae4d5ff7c9130499cb.jpg","text":"TemporaryFile(/tmp/multipartBody6905109232788700008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919774154,"filename":"image_02122025_17_00_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/5/d8d16a44d7e9e28f4d62ae2872bbbdf5.jpg","text":"TemporaryFile(/tmp/multipartBody448285344496357754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919774154,"filename":"image_02122025_17_00_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/5/8b18b4898ca7b3ac50da8ebf06fda26b.jpg","text":"TemporaryFile(/tmp/multipartBody1872484043315221831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919774154,"filename":"image_02122025_17_01_25_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/5/5eded72dfcfbaf3e5267a7293f399817.jpg","text":"TemporaryFile(/tmp/multipartBody6802795371471018072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919774154,"filename":"image_02122025_17_00_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/5/f3b3678a79fd095c45d6dddab0dad172.jpg","text":"TemporaryFile(/tmp/multipartBody1022805165565086832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919774154,"filename":"image_02122025_17_00_55_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044388","file1":"1398044385","file0":"1398044382","file4":"1398044391","file5":"1398044392","file3":"1398044390"},"map_files_photo_id_array":[{"photo_id":"1398044392","filename":"file5"},{"photo_id":"1398044388","filename":"file2"},{"photo_id":"1398044391","filename":"file4"},{"photo_id":"1398044385","filename":"file1"},{"photo_id":"1398044382","filename":"file0"},{"photo_id":"1398044390","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398044392":["hashtag1","hashtag2"]},{"1398044388":["hashtag1","hashtag2"]},{"1398044382":["hashtag1","hashtag2"]},{"1398044391":["hashtag1","hashtag2"]},{"1398044385":["hashtag1","hashtag2"]},{"1398044390":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398044392, 1398044388, 1398044382, 1398044391, 1398044385, 1398044390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.969096183776855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:29:12.452879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/01/image_02122025_17_01_55_10599.jpg', '/home/pi/Desktop/images/02122025/17/02/image_02122025_17_02_14_9682.jpg', '/home/pi/Desktop/images/02122025/17/02/image_02122025_17_02_34_9729.jpg', '/home/pi/Desktop/images/02122025/17/03/image_02122025_17_03_15_10655.jpg', '/home/pi/Desktop/images/02122025/17/03/image_02122025_17_03_55_9757.jpg', '/home/pi/Desktop/images/02122025/17/03/image_02122025_17_04_04_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/01/image_02122025_17_01_55_10599.jpg
/home/pi/Desktop/images/02122025/17/02/image_02122025_17_02_14_9682.jpg
/home/pi/Desktop/images/02122025/17/02/image_02122025_17_02_34_9729.jpg
/home/pi/Desktop/images/02122025/17/03/image_02122025_17_03_15_10655.jpg
/home/pi/Desktop/images/02122025/17/03/image_02122025_17_03_55_9757.jpg
/home/pi/Desktop/images/02122025/17/03/image_02122025_17_04_04_9568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044402","1398044404","1398044394","1398044397","1398044400","1398044395"],"photo_ids_order":["1398044394","1398044395","1398044397","1398044400","1398044402","1398044404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01f428387cdd15a7f37fcf4074e7a8af.jpg","text":"TemporaryFile(/tmp/multipartBody9151839999446806173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919814456,"filename":"image_02122025_17_03_55_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba890faca9919625e4915b045af70d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7461892718738337988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919814456,"filename":"image_02122025_17_04_04_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/5/c30988f277d37869b90364a7538ac1a2.jpg","text":"TemporaryFile(/tmp/multipartBody5574399341347005635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919814456,"filename":"image_02122025_17_01_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/5/e2f1dd3fcc82d59a71689f8ecda4b9b8.jpg","text":"TemporaryFile(/tmp/multipartBody7809705227009763450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919814456,"filename":"image_02122025_17_02_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/5/a1762f3c5baa1e4dfc196accf9fef682.jpg","text":"TemporaryFile(/tmp/multipartBody3949255911581110953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919814456,"filename":"image_02122025_17_03_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/5/e95edd7a91367f023dd57217a5eaccd1.jpg","text":"TemporaryFile(/tmp/multipartBody5327952243439073516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919814456,"filename":"image_02122025_17_02_14_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044397","file1":"1398044395","file0":"1398044394","file4":"1398044402","file5":"1398044404","file3":"1398044400"},"map_files_photo_id_array":[{"photo_id":"1398044404","filename":"file5"},{"photo_id":"1398044397","filename":"file2"},{"photo_id":"1398044402","filename":"file4"},{"photo_id":"1398044395","filename":"file1"},{"photo_id":"1398044394","filename":"file0"},{"photo_id":"1398044400","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398044402":["hashtag1","hashtag2"]},{"1398044404":["hashtag1","hashtag2"]},{"1398044394":["hashtag1","hashtag2"]},{"1398044397":["hashtag1","hashtag2"]},{"1398044400":["hashtag1","hashtag2"]},{"1398044395":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398044402, 1398044404, 1398044394, 1398044397, 1398044400, 1398044395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78485870361328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:30:02.984226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/26/image_05122025_08_26_45_10655.jpg', '/home/pi/Desktop/images/05122025/08/27/image_05122025_08_27_44_9703.jpg', '/home/pi/Desktop/images/05122025/08/27/image_05122025_08_28_05_9927.jpg', '/home/pi/Desktop/images/05122025/08/28/image_05122025_08_28_14_9701.jpg', '/home/pi/Desktop/images/05122025/08/28/image_05122025_08_28_24_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/26/image_05122025_08_26_45_10655.jpg
/home/pi/Desktop/images/05122025/08/27/image_05122025_08_27_44_9703.jpg
/home/pi/Desktop/images/05122025/08/27/image_05122025_08_28_05_9927.jpg
/home/pi/Desktop/images/05122025/08/28/image_05122025_08_28_14_9701.jpg
/home/pi/Desktop/images/05122025/08/28/image_05122025_08_28_24_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044425","1398044419","1398044423","1398044426","1398044420"],"photo_ids_order":["1398044419","1398044420","1398044423","1398044425","1398044426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f6b542dc56c0e149f647ebe9e7efef87.jpg","text":"TemporaryFile(/tmp/multipartBody4463135698816667395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919863713,"filename":"image_05122025_08_28_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/5/f695451939c2598d5d1016d57ac5ce31.jpg","text":"TemporaryFile(/tmp/multipartBody1514789956369267785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919863713,"filename":"image_05122025_08_26_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/5/9ad194d2a6021e78f25acdaacc3a10e0.jpg","text":"TemporaryFile(/tmp/multipartBody5391262589090498751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919863713,"filename":"image_05122025_08_28_05_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/5/c5353e342b4e5df9b442ef521d4ffe62.jpg","text":"TemporaryFile(/tmp/multipartBody1805549275596327674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919863713,"filename":"image_05122025_08_28_24_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/5/e317ed1f86ba72a78217a09dba4c47d9.jpg","text":"TemporaryFile(/tmp/multipartBody1248272707496971557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919863713,"filename":"image_05122025_08_27_44_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044423","file1":"1398044420","file0":"1398044419","file4":"1398044426","file3":"1398044425"},"map_files_photo_id_array":[{"photo_id":"1398044423","filename":"file2"},{"photo_id":"1398044426","filename":"file4"},{"photo_id":"1398044420","filename":"file1"},{"photo_id":"1398044419","filename":"file0"},{"photo_id":"1398044425","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044425":["hashtag1","hashtag2"]},{"1398044419":["hashtag1","hashtag2"]},{"1398044423":["hashtag1","hashtag2"]},{"1398044426":["hashtag1","hashtag2"]},{"1398044420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044425, 1398044419, 1398044423, 1398044426, 1398044420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.6979501247406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:30:42.538069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_55_3746.jpg', '/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_58_2739.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_04_3690.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_07_2698.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_10_2557.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_13_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_55_3746.jpg
/home/pi/Desktop/images/31102025/19/02/image_31102025_19_02_58_2739.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_04_3690.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_07_2698.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_10_2557.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_13_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":["1398044501","1398044569","1398044533","1398044607","1398044517","1398044516"],"photo_ids_order":["1398044501","1398044516","1398044517","1398044533","1398044569","1398044607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/140b697ffc82282bad047f94f4909e01.jpg","text":"TemporaryFile(/tmp/multipartBody3152718872873841340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919904202,"filename":"image_31102025_19_02_55_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/5/94c2cef9028e59c4facee43efc1ae708.jpg","text":"TemporaryFile(/tmp/multipartBody3142491280467314830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919904202,"filename":"image_31102025_19_03_10_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/5/3cccbd4024c64fab227cc29ecf1bb5c7.jpg","text":"TemporaryFile(/tmp/multipartBody7747438637730730878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919904202,"filename":"image_31102025_19_03_07_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/5/d2fa34bdd668db464bcd0db4e565a439.jpg","text":"TemporaryFile(/tmp/multipartBody4987979494433147558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919904202,"filename":"image_31102025_19_03_13_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/5/3450708e8e5a6f28209dd8c05cfe07c4.jpg","text":"TemporaryFile(/tmp/multipartBody3882915184407900062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919904202,"filename":"image_31102025_19_03_04_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/5/1ae83e50167158e1585a3fffe9fc2aaf.jpg","text":"TemporaryFile(/tmp/multipartBody8173996637455425857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919904202,"filename":"image_31102025_19_02_58_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044517","file1":"1398044516","file0":"1398044501","file4":"1398044569","file5":"1398044607","file3":"1398044533"},"map_files_photo_id_array":[{"photo_id":"1398044607","filename":"file5"},{"photo_id":"1398044517","filename":"file2"},{"photo_id":"1398044569","filename":"file4"},{"photo_id":"1398044516","filename":"file1"},{"photo_id":"1398044501","filename":"file0"},{"photo_id":"1398044533","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398044501":["hashtag1","hashtag2"]},{"1398044569":["hashtag1","hashtag2"]},{"1398044533":["hashtag1","hashtag2"]},{"1398044607":["hashtag1","hashtag2"]},{"1398044517":["hashtag1","hashtag2"]},{"1398044516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398044501, 1398044569, 1398044533, 1398044607, 1398044517, 1398044516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73464393615723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:31:22.718453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/28/image_05122025_08_28_44_10722.jpg', '/home/pi/Desktop/images/05122025/08/30/image_05122025_08_30_25_10656.jpg', '/home/pi/Desktop/images/05122025/08/30/image_05122025_08_30_35_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/28/image_05122025_08_28_44_10722.jpg
/home/pi/Desktop/images/05122025/08/30/image_05122025_08_30_25_10656.jpg
/home/pi/Desktop/images/05122025/08/30/image_05122025_08_30_35_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":["1398044672","1398044675","1398044642"],"photo_ids_order":["1398044642","1398044672","1398044675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d4c2126c4e5368dc938b2d13d7829fb8.jpg","text":"TemporaryFile(/tmp/multipartBody352744279770125993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919943301,"filename":"image_05122025_08_30_25_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/5/186e8ad7afeb6433daf2afd1a7ec1fcd.jpg","text":"TemporaryFile(/tmp/multipartBody3825937400876587699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919943301,"filename":"image_05122025_08_30_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/5/244813d7fafdfed63321554f106e57cb.jpg","text":"TemporaryFile(/tmp/multipartBody5754264853397825006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919943301,"filename":"image_05122025_08_28_44_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044675","file1":"1398044672","file0":"1398044642"},"map_files_photo_id_array":[{"photo_id":"1398044675","filename":"file2"},{"photo_id":"1398044672","filename":"file1"},{"photo_id":"1398044642","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044672":["hashtag1","hashtag2"]},{"1398044675":["hashtag1","hashtag2"]},{"1398044642":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044672, 1398044675, 1398044642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.25000524520874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:32:02.385394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/04/image_02122025_17_04_15_10604.jpg', '/home/pi/Desktop/images/02122025/17/04/image_02122025_17_04_54_9570.jpg', '/home/pi/Desktop/images/02122025/17/05/image_02122025_17_05_14_10057.jpg', '/home/pi/Desktop/images/02122025/17/05/image_02122025_17_05_24_10830.jpg', '/home/pi/Desktop/images/02122025/17/06/image_02122025_17_06_54_9841.jpg', '/home/pi/Desktop/images/02122025/17/19/image_02122025_17_19_35_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/04/image_02122025_17_04_15_10604.jpg
/home/pi/Desktop/images/02122025/17/04/image_02122025_17_04_54_9570.jpg
/home/pi/Desktop/images/02122025/17/05/image_02122025_17_05_14_10057.jpg
/home/pi/Desktop/images/02122025/17/05/image_02122025_17_05_24_10830.jpg
/home/pi/Desktop/images/02122025/17/06/image_02122025_17_06_54_9841.jpg
/home/pi/Desktop/images/02122025/17/19/image_02122025_17_19_35_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044683","1398044686","1398044685","1398044682","1398044684","1398044689"],"photo_ids_order":["1398044682","1398044683","1398044684","1398044685","1398044686","1398044689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0dc253bf4d291be857e4c8db3ea34161.jpg","text":"TemporaryFile(/tmp/multipartBody6510828815429946870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919984013,"filename":"image_02122025_17_04_54_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b288c35f6abecd42dd65a9a1b8c91b97.jpg","text":"TemporaryFile(/tmp/multipartBody1233270862694405074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919984013,"filename":"image_02122025_17_06_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/5/742278b72b9768ec4f5d9511846334bf.jpg","text":"TemporaryFile(/tmp/multipartBody6751774713956367632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919984013,"filename":"image_02122025_17_05_24_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/5/bd853a1240dbf1df01a13c396a10b49c.jpg","text":"TemporaryFile(/tmp/multipartBody955056283045443344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919984013,"filename":"image_02122025_17_04_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/5/b73d478507255bbd8ae5a49ef2e095e6.jpg","text":"TemporaryFile(/tmp/multipartBody4470449351660762883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919984013,"filename":"image_02122025_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/5/82ec854aacb7cafeda6dcc13c7c8b8d9.jpg","text":"TemporaryFile(/tmp/multipartBody9106368393980543444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764919984013,"filename":"image_02122025_17_19_35_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044684","file1":"1398044683","file0":"1398044682","file4":"1398044686","file5":"1398044689","file3":"1398044685"},"map_files_photo_id_array":[{"photo_id":"1398044689","filename":"file5"},{"photo_id":"1398044684","filename":"file2"},{"photo_id":"1398044686","filename":"file4"},{"photo_id":"1398044683","filename":"file1"},{"photo_id":"1398044682","filename":"file0"},{"photo_id":"1398044685","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398044683":["hashtag1","hashtag2"]},{"1398044686":["hashtag1","hashtag2"]},{"1398044685":["hashtag1","hashtag2"]},{"1398044682":["hashtag1","hashtag2"]},{"1398044684":["hashtag1","hashtag2"]},{"1398044689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398044683, 1398044686, 1398044685, 1398044682, 1398044684, 1398044689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06040954589844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:32:42.033549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_22_3648.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_25_2638.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_28_2739.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_31_3540.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_34_2605.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_37_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_22_3648.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_25_2638.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_28_2739.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_31_3540.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_34_2605.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_37_2684.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5578598976135254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:33:02.929235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/30/image_05122025_08_30_44_9659.jpg', '/home/pi/Desktop/images/05122025/08/31/image_05122025_08_32_04_9712.jpg', '/home/pi/Desktop/images/05122025/08/32/image_05122025_08_32_15_10757.jpg', '/home/pi/Desktop/images/05122025/08/32/image_05122025_08_32_25_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/30/image_05122025_08_30_44_9659.jpg
/home/pi/Desktop/images/05122025/08/31/image_05122025_08_32_04_9712.jpg
/home/pi/Desktop/images/05122025/08/32/image_05122025_08_32_15_10757.jpg
/home/pi/Desktop/images/05122025/08/32/image_05122025_08_32_25_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":["1398044731","1398044730","1398044732","1398044729"],"photo_ids_order":["1398044729","1398044730","1398044731","1398044732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/85a9fdfd0bad2e9aad0714f3d9029413.jpg","text":"TemporaryFile(/tmp/multipartBody5366307903381095106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920043623,"filename":"image_05122025_08_32_15_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4916c57cf44bcfb52e94aab616401029.jpg","text":"TemporaryFile(/tmp/multipartBody1504066897635440323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920043623,"filename":"image_05122025_08_32_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/5/adc8190f1e9d24223b84979d78cc441f.jpg","text":"TemporaryFile(/tmp/multipartBody893519588142019067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920043623,"filename":"image_05122025_08_32_25_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/5/51a90dca1af76bb45465307248a70db9.jpg","text":"TemporaryFile(/tmp/multipartBody6779820475172009779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920043623,"filename":"image_05122025_08_30_44_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044731","file1":"1398044730","file0":"1398044729","file3":"1398044732"},"map_files_photo_id_array":[{"photo_id":"1398044731","filename":"file2"},{"photo_id":"1398044730","filename":"file1"},{"photo_id":"1398044729","filename":"file0"},{"photo_id":"1398044732","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044731":["hashtag1","hashtag2"]},{"1398044730":["hashtag1","hashtag2"]},{"1398044732":["hashtag1","hashtag2"]},{"1398044729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044731, 1398044730, 1398044732, 1398044729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.553200721740723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:33:32.245243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/23/image_02122025_17_23_44_9854.jpg', '/home/pi/Desktop/images/02122025/17/24/image_02122025_17_24_14_10722.jpg', '/home/pi/Desktop/images/02122025/17/26/image_02122025_17_26_34_10047.jpg', '/home/pi/Desktop/images/02122025/17/26/image_02122025_17_26_54_10564.jpg', '/home/pi/Desktop/images/02122025/17/26/image_02122025_17_27_04_9638.jpg', '/home/pi/Desktop/images/02122025/17/27/image_02122025_17_27_16_12053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/23/image_02122025_17_23_44_9854.jpg
/home/pi/Desktop/images/02122025/17/24/image_02122025_17_24_14_10722.jpg
/home/pi/Desktop/images/02122025/17/26/image_02122025_17_26_34_10047.jpg
/home/pi/Desktop/images/02122025/17/26/image_02122025_17_26_54_10564.jpg
/home/pi/Desktop/images/02122025/17/26/image_02122025_17_27_04_9638.jpg
/home/pi/Desktop/images/02122025/17/27/image_02122025_17_27_16_12053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044746","1398044736","1398044745","1398044744","1398044741","1398044738"],"photo_ids_order":["1398044736","1398044738","1398044741","1398044744","1398044745","1398044746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ae43c5ff4b4f5e2c96a890e91673ec62.jpg","text":"TemporaryFile(/tmp/multipartBody833425837297096860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920074380,"filename":"image_02122025_17_27_16_12053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/254e448fee2477d35ba3fe289884bfbe.jpg","text":"TemporaryFile(/tmp/multipartBody7186868248421629589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920074380,"filename":"image_02122025_17_23_44_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/5/4d0b3deead241df60fe44f645aa0b021.jpg","text":"TemporaryFile(/tmp/multipartBody5292478696575877986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920074380,"filename":"image_02122025_17_27_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/5/aa3784f71cbf10b72879fee25009c70b.jpg","text":"TemporaryFile(/tmp/multipartBody2468600974392959858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920074380,"filename":"image_02122025_17_26_54_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/5/752527e2b25d6b08e4abeb8ef1f97389.jpg","text":"TemporaryFile(/tmp/multipartBody217372273931232456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920074380,"filename":"image_02122025_17_26_34_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e19abeb6369bf89928069209a57b30d3.jpg","text":"TemporaryFile(/tmp/multipartBody3558877762090292578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920074380,"filename":"image_02122025_17_24_14_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044741","file1":"1398044738","file0":"1398044736","file4":"1398044745","file5":"1398044746","file3":"1398044744"},"map_files_photo_id_array":[{"photo_id":"1398044746","filename":"file5"},{"photo_id":"1398044741","filename":"file2"},{"photo_id":"1398044745","filename":"file4"},{"photo_id":"1398044738","filename":"file1"},{"photo_id":"1398044736","filename":"file0"},{"photo_id":"1398044744","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398044746":["hashtag1","hashtag2"]},{"1398044736":["hashtag1","hashtag2"]},{"1398044745":["hashtag1","hashtag2"]},{"1398044744":["hashtag1","hashtag2"]},{"1398044741":["hashtag1","hashtag2"]},{"1398044738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398044746, 1398044736, 1398044745, 1398044744, 1398044741, 1398044738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37288188934326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:34:12.297216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/27/image_02122025_17_27_24_7769.jpg', '/home/pi/Desktop/images/02122025/17/27/image_02122025_17_27_35_10621.jpg', '/home/pi/Desktop/images/02122025/17/27/image_02122025_17_27_44_9745.jpg', '/home/pi/Desktop/images/02122025/17/28/image_02122025_17_28_14_10677.jpg', '/home/pi/Desktop/images/02122025/17/28/image_02122025_17_28_24_9753.jpg', '/home/pi/Desktop/images/02122025/17/28/image_02122025_17_28_44_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/27/image_02122025_17_27_24_7769.jpg
/home/pi/Desktop/images/02122025/17/27/image_02122025_17_27_35_10621.jpg
/home/pi/Desktop/images/02122025/17/27/image_02122025_17_27_44_9745.jpg
/home/pi/Desktop/images/02122025/17/28/image_02122025_17_28_14_10677.jpg
/home/pi/Desktop/images/02122025/17/28/image_02122025_17_28_24_9753.jpg
/home/pi/Desktop/images/02122025/17/28/image_02122025_17_28_44_10572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044755","1398044752","1398044754","1398044748","1398044750","1398044747"],"photo_ids_order":["1398044747","1398044748","1398044750","1398044752","1398044754","1398044755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fab0239ba214d973dc196046808d89f6.jpg","text":"TemporaryFile(/tmp/multipartBody2061231601950909157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920114315,"filename":"image_02122025_17_28_44_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/5/57d1c4e80c4b92dc5fabbf922afeea9f.jpg","text":"TemporaryFile(/tmp/multipartBody852771182377875701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920114315,"filename":"image_02122025_17_28_14_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/5/e979010e1f8e8832948b4e118ec53572.jpg","text":"TemporaryFile(/tmp/multipartBody9155564696103955055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920114315,"filename":"image_02122025_17_28_24_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9a2b278579a48ea1dd4f298db5df8ae.jpg","text":"TemporaryFile(/tmp/multipartBody5772629332622197317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920114315,"filename":"image_02122025_17_27_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/461f03cc91427a189296cc20956d9e14.jpg","text":"TemporaryFile(/tmp/multipartBody6540288198033336629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920114315,"filename":"image_02122025_17_27_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/5/18bf94c333f8780e5720a0ad46f7be34.jpg","text":"TemporaryFile(/tmp/multipartBody5387522853384706876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920114315,"filename":"image_02122025_17_27_24_7769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044750","file1":"1398044748","file0":"1398044747","file4":"1398044754","file5":"1398044755","file3":"1398044752"},"map_files_photo_id_array":[{"photo_id":"1398044755","filename":"file5"},{"photo_id":"1398044750","filename":"file2"},{"photo_id":"1398044754","filename":"file4"},{"photo_id":"1398044748","filename":"file1"},{"photo_id":"1398044747","filename":"file0"},{"photo_id":"1398044752","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398044755":["hashtag1","hashtag2"]},{"1398044752":["hashtag1","hashtag2"]},{"1398044754":["hashtag1","hashtag2"]},{"1398044748":["hashtag1","hashtag2"]},{"1398044750":["hashtag1","hashtag2"]},{"1398044747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398044755, 1398044752, 1398044754, 1398044748, 1398044750, 1398044747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42570495605469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:35:03.210045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/32/image_05122025_08_32_35_9741.jpg', '/home/pi/Desktop/images/05122025/08/33/image_05122025_08_33_34_9220.jpg', '/home/pi/Desktop/images/05122025/08/33/image_05122025_08_33_45_10702.jpg', '/home/pi/Desktop/images/05122025/08/33/image_05122025_08_34_04_9855.jpg', '/home/pi/Desktop/images/05122025/08/34/image_05122025_08_34_25_9651.jpg', '/home/pi/Desktop/images/05122025/08/34/image_05122025_08_34_34_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/32/image_05122025_08_32_35_9741.jpg
/home/pi/Desktop/images/05122025/08/33/image_05122025_08_33_34_9220.jpg
/home/pi/Desktop/images/05122025/08/33/image_05122025_08_33_45_10702.jpg
/home/pi/Desktop/images/05122025/08/33/image_05122025_08_34_04_9855.jpg
/home/pi/Desktop/images/05122025/08/34/image_05122025_08_34_25_9651.jpg
/home/pi/Desktop/images/05122025/08/34/image_05122025_08_34_34_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044764","1398044758","1398044760","1398044757","1398044762","1398044759"],"photo_ids_order":["1398044757","1398044758","1398044759","1398044760","1398044762","1398044764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db5712777491e72d7b147455a2d83ecc.jpg","text":"TemporaryFile(/tmp/multipartBody4429050394858512797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920163996,"filename":"image_05122025_08_34_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/5/769bca06d30894a26432294f7618bc93.jpg","text":"TemporaryFile(/tmp/multipartBody121902778519648762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920163996,"filename":"image_05122025_08_33_34_9220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6005a75e1628ad1e91a937960e667f7e.jpg","text":"TemporaryFile(/tmp/multipartBody8222438901996685697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920163996,"filename":"image_05122025_08_34_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/5/6c282eab7dfc23ab2b12aa6d55ee419d.jpg","text":"TemporaryFile(/tmp/multipartBody3481045909257543699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920163996,"filename":"image_05122025_08_32_35_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/5/e7e61e7fc057a0a99014f539591cbf16.jpg","text":"TemporaryFile(/tmp/multipartBody7571259476387668447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920163996,"filename":"image_05122025_08_34_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/5/43b905606d204a4a9e9f84aa5d879c62.jpg","text":"TemporaryFile(/tmp/multipartBody2512928336160379123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920163996,"filename":"image_05122025_08_33_45_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044759","file1":"1398044758","file0":"1398044757","file4":"1398044762","file5":"1398044764","file3":"1398044760"},"map_files_photo_id_array":[{"photo_id":"1398044764","filename":"file5"},{"photo_id":"1398044759","filename":"file2"},{"photo_id":"1398044762","filename":"file4"},{"photo_id":"1398044758","filename":"file1"},{"photo_id":"1398044757","filename":"file0"},{"photo_id":"1398044760","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044764":["hashtag1","hashtag2"]},{"1398044758":["hashtag1","hashtag2"]},{"1398044760":["hashtag1","hashtag2"]},{"1398044757":["hashtag1","hashtag2"]},{"1398044762":["hashtag1","hashtag2"]},{"1398044759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044764, 1398044758, 1398044760, 1398044757, 1398044762, 1398044759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.061715841293335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:36:03.183604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/34/image_05122025_08_34_45_10516.jpg', '/home/pi/Desktop/images/05122025/08/34/image_05122025_08_34_55_9706.jpg', '/home/pi/Desktop/images/05122025/08/34/image_05122025_08_35_04_9683.jpg', '/home/pi/Desktop/images/05122025/08/35/image_05122025_08_35_15_10630.jpg', '/home/pi/Desktop/images/05122025/08/35/image_05122025_08_35_25_9749.jpg', '/home/pi/Desktop/images/05122025/08/35/image_05122025_08_35_34_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/34/image_05122025_08_34_45_10516.jpg
/home/pi/Desktop/images/05122025/08/34/image_05122025_08_34_55_9706.jpg
/home/pi/Desktop/images/05122025/08/34/image_05122025_08_35_04_9683.jpg
/home/pi/Desktop/images/05122025/08/35/image_05122025_08_35_15_10630.jpg
/home/pi/Desktop/images/05122025/08/35/image_05122025_08_35_25_9749.jpg
/home/pi/Desktop/images/05122025/08/35/image_05122025_08_35_34_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044782","1398044779","1398044784","1398044778","1398044781","1398044780"],"photo_ids_order":["1398044778","1398044779","1398044780","1398044781","1398044782","1398044784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/92ca17a52770d564e6f5342b4a430c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7711825971057466259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920223955,"filename":"image_05122025_08_35_25_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f84f65c2402212be78e6db5c0b431a2d.jpg","text":"TemporaryFile(/tmp/multipartBody2798262867031625637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920223955,"filename":"image_05122025_08_34_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fe45674df06df323767a30ec84cf0680.jpg","text":"TemporaryFile(/tmp/multipartBody5075147891060272263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920223955,"filename":"image_05122025_08_35_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/69271aeeca58a33aff2f84b14f202dbe.jpg","text":"TemporaryFile(/tmp/multipartBody4869628657571189408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920223955,"filename":"image_05122025_08_34_45_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b96bbb86f22c13ba18bd5c25a1a1e297.jpg","text":"TemporaryFile(/tmp/multipartBody7611532269493122038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920223955,"filename":"image_05122025_08_35_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/5/a2907a0af2605de779c5ed6108325f25.jpg","text":"TemporaryFile(/tmp/multipartBody9038199464082989242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920223955,"filename":"image_05122025_08_35_04_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044780","file1":"1398044779","file0":"1398044778","file4":"1398044782","file5":"1398044784","file3":"1398044781"},"map_files_photo_id_array":[{"photo_id":"1398044784","filename":"file5"},{"photo_id":"1398044780","filename":"file2"},{"photo_id":"1398044782","filename":"file4"},{"photo_id":"1398044779","filename":"file1"},{"photo_id":"1398044778","filename":"file0"},{"photo_id":"1398044781","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044782":["hashtag1","hashtag2"]},{"1398044779":["hashtag1","hashtag2"]},{"1398044784":["hashtag1","hashtag2"]},{"1398044778":["hashtag1","hashtag2"]},{"1398044781":["hashtag1","hashtag2"]},{"1398044780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044782, 1398044779, 1398044784, 1398044778, 1398044781, 1398044780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76296281814575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:36:42.819672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_22_3648.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_25_2638.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_28_2739.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_31_3540.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_34_2605.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_37_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_22_3648.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_25_2638.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_28_2739.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_31_3540.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_34_2605.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_37_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044796","1398044799","1398044802","1398044798","1398044791","1398044794"],"photo_ids_order":["1398044791","1398044794","1398044796","1398044798","1398044799","1398044802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46f1a881b6cd7ee9783a4bc28e9b2342.jpg","text":"TemporaryFile(/tmp/multipartBody1772215250363504338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920264370,"filename":"image_31102025_19_03_28_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/5/1bb5c664f64b0bba0eeed7ccbdcfc4c1.jpg","text":"TemporaryFile(/tmp/multipartBody1524527442625497695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920264370,"filename":"image_31102025_19_03_34_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/5/d154af67993ec374e75894a9b72ca056.jpg","text":"TemporaryFile(/tmp/multipartBody6269650897309859778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920264370,"filename":"image_31102025_19_03_37_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/5/c599f9d5088d443e5cc40552eeb0ff62.jpg","text":"TemporaryFile(/tmp/multipartBody8520085198925641373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920264370,"filename":"image_31102025_19_03_31_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/5/8b24ff8c9bf1041b30fc0086e74ddc80.jpg","text":"TemporaryFile(/tmp/multipartBody6536892765928177751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920264370,"filename":"image_31102025_19_03_22_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/5/4c4b067f696766700ce39a4916608e77.jpg","text":"TemporaryFile(/tmp/multipartBody9090531109176244104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920264370,"filename":"image_31102025_19_03_25_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044796","file1":"1398044794","file0":"1398044791","file4":"1398044799","file5":"1398044802","file3":"1398044798"},"map_files_photo_id_array":[{"photo_id":"1398044802","filename":"file5"},{"photo_id":"1398044796","filename":"file2"},{"photo_id":"1398044799","filename":"file4"},{"photo_id":"1398044794","filename":"file1"},{"photo_id":"1398044791","filename":"file0"},{"photo_id":"1398044798","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398044796":["hashtag1","hashtag2"]},{"1398044799":["hashtag1","hashtag2"]},{"1398044802":["hashtag1","hashtag2"]},{"1398044798":["hashtag1","hashtag2"]},{"1398044791":["hashtag1","hashtag2"]},{"1398044794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398044796, 1398044799, 1398044802, 1398044798, 1398044791, 1398044794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.569817304611206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:37:31.996415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/28/image_02122025_17_28_54_9567.jpg', '/home/pi/Desktop/images/02122025/17/28/image_02122025_17_29_04_9807.jpg', '/home/pi/Desktop/images/02122025/17/29/image_02122025_17_29_44_10673.jpg', '/home/pi/Desktop/images/02122025/17/29/image_02122025_17_29_54_9651.jpg', '/home/pi/Desktop/images/02122025/17/30/image_02122025_17_30_25_10612.jpg', '/home/pi/Desktop/images/02122025/17/30/image_02122025_17_31_05_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/28/image_02122025_17_28_54_9567.jpg
/home/pi/Desktop/images/02122025/17/28/image_02122025_17_29_04_9807.jpg
/home/pi/Desktop/images/02122025/17/29/image_02122025_17_29_44_10673.jpg
/home/pi/Desktop/images/02122025/17/29/image_02122025_17_29_54_9651.jpg
/home/pi/Desktop/images/02122025/17/30/image_02122025_17_30_25_10612.jpg
/home/pi/Desktop/images/02122025/17/30/image_02122025_17_31_05_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044812","1398044815","1398044814","1398044808","1398044816","1398044810"],"photo_ids_order":["1398044808","1398044810","1398044812","1398044814","1398044815","1398044816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54f440b2f496c76ed2e367433e648342.jpg","text":"TemporaryFile(/tmp/multipartBody4917161327762330031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920314144,"filename":"image_02122025_17_29_44_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/5/8f510f2e6534ad0b7fb6021736b91371.jpg","text":"TemporaryFile(/tmp/multipartBody1663304791916016276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920314144,"filename":"image_02122025_17_30_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/5/c649eb4b64dfb663f7f0803b1d6a6b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2550518133494556659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920314144,"filename":"image_02122025_17_29_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/5/f467f39952855275d3a4c4d279bab673.jpg","text":"TemporaryFile(/tmp/multipartBody2658038147240098065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920314144,"filename":"image_02122025_17_28_54_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b59baa86e002661f74cc9b24ef788d9.jpg","text":"TemporaryFile(/tmp/multipartBody9176073717354226908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920314144,"filename":"image_02122025_17_31_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/5/5369e2722aa45ecf32265745d305ed00.jpg","text":"TemporaryFile(/tmp/multipartBody2075526555732814259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920314144,"filename":"image_02122025_17_29_04_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044812","file1":"1398044810","file0":"1398044808","file4":"1398044815","file5":"1398044816","file3":"1398044814"},"map_files_photo_id_array":[{"photo_id":"1398044816","filename":"file5"},{"photo_id":"1398044812","filename":"file2"},{"photo_id":"1398044815","filename":"file4"},{"photo_id":"1398044810","filename":"file1"},{"photo_id":"1398044808","filename":"file0"},{"photo_id":"1398044814","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398044812":["hashtag1","hashtag2"]},{"1398044815":["hashtag1","hashtag2"]},{"1398044814":["hashtag1","hashtag2"]},{"1398044808":["hashtag1","hashtag2"]},{"1398044816":["hashtag1","hashtag2"]},{"1398044810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398044812, 1398044815, 1398044814, 1398044808, 1398044816, 1398044810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.323291063308716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:38:12.068491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/31/image_02122025_17_31_15_10257.jpg', '/home/pi/Desktop/images/02122025/17/31/image_02122025_17_31_25_9630.jpg', '/home/pi/Desktop/images/02122025/17/31/image_02122025_17_32_05_9906.jpg', '/home/pi/Desktop/images/02122025/17/32/image_02122025_17_32_15_9636.jpg', '/home/pi/Desktop/images/02122025/17/32/image_02122025_17_32_25_9610.jpg', '/home/pi/Desktop/images/02122025/17/32/image_02122025_17_32_35_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/31/image_02122025_17_31_15_10257.jpg
/home/pi/Desktop/images/02122025/17/31/image_02122025_17_31_25_9630.jpg
/home/pi/Desktop/images/02122025/17/31/image_02122025_17_32_05_9906.jpg
/home/pi/Desktop/images/02122025/17/32/image_02122025_17_32_15_9636.jpg
/home/pi/Desktop/images/02122025/17/32/image_02122025_17_32_25_9610.jpg
/home/pi/Desktop/images/02122025/17/32/image_02122025_17_32_35_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":["1398044824","1398044818","1398044820","1398044817","1398044822","1398044819"],"photo_ids_order":["1398044817","1398044818","1398044819","1398044820","1398044822","1398044824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d0165f3a7f688fa9f8b6622bd754672b.jpg","text":"TemporaryFile(/tmp/multipartBody6302526421710918493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920354040,"filename":"image_02122025_17_32_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/5/3a8793e4b4abcf3d6ce9dc99ede4f724.jpg","text":"TemporaryFile(/tmp/multipartBody884533626260471257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920354040,"filename":"image_02122025_17_31_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3dab2013efd63a2ba216f58fb794f900.jpg","text":"TemporaryFile(/tmp/multipartBody6182732123500741916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920354040,"filename":"image_02122025_17_32_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/5/8e0e9f6cc33dfdbebaf9225cfc12abbc.jpg","text":"TemporaryFile(/tmp/multipartBody2319434094728935335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920354040,"filename":"image_02122025_17_31_15_10257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5ad9ea9c826319640d2892e5914512b.jpg","text":"TemporaryFile(/tmp/multipartBody3426355277349422880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920354040,"filename":"image_02122025_17_32_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d56471101a17e5e6b260d89b5e247263.jpg","text":"TemporaryFile(/tmp/multipartBody4419811134709454251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920354040,"filename":"image_02122025_17_32_05_9906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044819","file1":"1398044818","file0":"1398044817","file4":"1398044822","file5":"1398044824","file3":"1398044820"},"map_files_photo_id_array":[{"photo_id":"1398044824","filename":"file5"},{"photo_id":"1398044819","filename":"file2"},{"photo_id":"1398044822","filename":"file4"},{"photo_id":"1398044818","filename":"file1"},{"photo_id":"1398044817","filename":"file0"},{"photo_id":"1398044820","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398044824":["hashtag1","hashtag2"]},{"1398044818":["hashtag1","hashtag2"]},{"1398044820":["hashtag1","hashtag2"]},{"1398044817":["hashtag1","hashtag2"]},{"1398044822":["hashtag1","hashtag2"]},{"1398044819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398044824, 1398044818, 1398044820, 1398044817, 1398044822, 1398044819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16692399978638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:39:08.346011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/35/image_05122025_08_35_55_9675.jpg', '/home/pi/Desktop/images/05122025/08/35/image_05122025_08_36_04_9701.jpg', '/home/pi/Desktop/images/05122025/08/36/image_05122025_08_36_14_9730.jpg', '/home/pi/Desktop/images/05122025/08/36/image_05122025_08_36_35_9742.jpg', '/home/pi/Desktop/images/05122025/08/36/image_05122025_08_36_45_9873.jpg', '/home/pi/Desktop/images/05122025/08/36/image_05122025_08_36_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/35/image_05122025_08_35_55_9675.jpg
/home/pi/Desktop/images/05122025/08/35/image_05122025_08_36_04_9701.jpg
/home/pi/Desktop/images/05122025/08/36/image_05122025_08_36_14_9730.jpg
/home/pi/Desktop/images/05122025/08/36/image_05122025_08_36_35_9742.jpg
/home/pi/Desktop/images/05122025/08/36/image_05122025_08_36_45_9873.jpg
/home/pi/Desktop/images/05122025/08/36/image_05122025_08_36_54_9718.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":["1398044842","1398044871","1398044882","1398044843","1398044873","1398044867"],"photo_ids_order":["1398044842","1398044843","1398044867","1398044871","1398044873","1398044882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0e144db0b29720cfd9686934db342c43.jpg","text":"TemporaryFile(/tmp/multipartBody559295270372363992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920411499,"filename":"image_05122025_08_35_55_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/5/12af2f256b7173a440abd229603d129b.jpg","text":"TemporaryFile(/tmp/multipartBody8119694395914342695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920411499,"filename":"image_05122025_08_36_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/5/6b40619f02e47472819a86b2ce10d915.jpg","text":"TemporaryFile(/tmp/multipartBody7481407713166079139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920411499,"filename":"image_05122025_08_36_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4b339d3196e84909e6670a92576d5033.jpg","text":"TemporaryFile(/tmp/multipartBody8033859351106299410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920411499,"filename":"image_05122025_08_36_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/5/c43d936646beaa16bab66ff6a4a4fba7.jpg","text":"TemporaryFile(/tmp/multipartBody583922580809955835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920411499,"filename":"image_05122025_08_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/5/fcf510cdea0313e2979ea068624d6fd0.jpg","text":"TemporaryFile(/tmp/multipartBody5091523637338307033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920411499,"filename":"image_05122025_08_36_14_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044867","file1":"1398044843","file0":"1398044842","file4":"1398044873","file5":"1398044882","file3":"1398044871"},"map_files_photo_id_array":[{"photo_id":"1398044882","filename":"file5"},{"photo_id":"1398044867","filename":"file2"},{"photo_id":"1398044873","filename":"file4"},{"photo_id":"1398044843","filename":"file1"},{"photo_id":"1398044842","filename":"file0"},{"photo_id":"1398044871","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044842":["hashtag1","hashtag2"]},{"1398044871":["hashtag1","hashtag2"]},{"1398044882":["hashtag1","hashtag2"]},{"1398044843":["hashtag1","hashtag2"]},{"1398044873":["hashtag1","hashtag2"]},{"1398044867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044842, 1398044871, 1398044882, 1398044843, 1398044873, 1398044867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3359956741333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:40:03.152750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/36/image_05122025_08_37_05_10847.jpg', '/home/pi/Desktop/images/05122025/08/37/image_05122025_08_37_25_9888.jpg', '/home/pi/Desktop/images/05122025/08/37/image_05122025_08_37_35_10006.jpg', '/home/pi/Desktop/images/05122025/08/37/image_05122025_08_37_44_9644.jpg', '/home/pi/Desktop/images/05122025/08/37/image_05122025_08_37_55_10653.jpg', '/home/pi/Desktop/images/05122025/08/37/image_05122025_08_38_05_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/36/image_05122025_08_37_05_10847.jpg
/home/pi/Desktop/images/05122025/08/37/image_05122025_08_37_25_9888.jpg
/home/pi/Desktop/images/05122025/08/37/image_05122025_08_37_35_10006.jpg
/home/pi/Desktop/images/05122025/08/37/image_05122025_08_37_44_9644.jpg
/home/pi/Desktop/images/05122025/08/37/image_05122025_08_37_55_10653.jpg
/home/pi/Desktop/images/05122025/08/37/image_05122025_08_38_05_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044923","1398044911","1398044934","1398044925","1398044910","1398044936"],"photo_ids_order":["1398044910","1398044911","1398044923","1398044925","1398044934","1398044936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/58da7ce36c099e351d811919f46fd707.jpg","text":"TemporaryFile(/tmp/multipartBody8582729708996230254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920465468,"filename":"image_05122025_08_37_35_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/5/a8452acc2964f4b53f89bab63f4d3ecc.jpg","text":"TemporaryFile(/tmp/multipartBody8017231175819798858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920465468,"filename":"image_05122025_08_37_25_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/5/76aa2aadcfdcbfefed7d9205dd4c8d64.jpg","text":"TemporaryFile(/tmp/multipartBody8014259350618690066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920465468,"filename":"image_05122025_08_37_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/5/ba5d02b3e479ddd3193244844312ef1f.jpg","text":"TemporaryFile(/tmp/multipartBody981937420785971386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920465468,"filename":"image_05122025_08_37_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/5/8698c1eb81221660e2c38fa33cb43100.jpg","text":"TemporaryFile(/tmp/multipartBody4977627640757587700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920465468,"filename":"image_05122025_08_37_05_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ae540ab3e74a702fb1cfc5e4fc3a1af.jpg","text":"TemporaryFile(/tmp/multipartBody4896602211300944176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920465468,"filename":"image_05122025_08_38_05_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044923","file1":"1398044911","file0":"1398044910","file4":"1398044934","file5":"1398044936","file3":"1398044925"},"map_files_photo_id_array":[{"photo_id":"1398044936","filename":"file5"},{"photo_id":"1398044923","filename":"file2"},{"photo_id":"1398044934","filename":"file4"},{"photo_id":"1398044911","filename":"file1"},{"photo_id":"1398044910","filename":"file0"},{"photo_id":"1398044925","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044923":["hashtag1","hashtag2"]},{"1398044911":["hashtag1","hashtag2"]},{"1398044934":["hashtag1","hashtag2"]},{"1398044925":["hashtag1","hashtag2"]},{"1398044910":["hashtag1","hashtag2"]},{"1398044936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044923, 1398044911, 1398044934, 1398044925, 1398044910, 1398044936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.849040031433105 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-05 08:41:02.573079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/38/image_05122025_08_38_14_9633.jpg', '/home/pi/Desktop/images/05122025/08/38/image_05122025_08_38_25_10649.jpg', '/home/pi/Desktop/images/05122025/08/38/image_05122025_08_38_35_9754.jpg', '/home/pi/Desktop/images/05122025/08/38/image_05122025_08_38_44_9599.jpg', '/home/pi/Desktop/images/05122025/08/38/image_05122025_08_38_55_10663.jpg', '/home/pi/Desktop/images/05122025/08/38/image_05122025_08_39_05_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/38/image_05122025_08_38_14_9633.jpg
/home/pi/Desktop/images/05122025/08/38/image_05122025_08_38_25_10649.jpg
/home/pi/Desktop/images/05122025/08/38/image_05122025_08_38_35_9754.jpg
/home/pi/Desktop/images/05122025/08/38/image_05122025_08_38_44_9599.jpg
/home/pi/Desktop/images/05122025/08/38/image_05122025_08_38_55_10663.jpg
/home/pi/Desktop/images/05122025/08/38/image_05122025_08_39_05_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044974","1398044977","1398044970","1398044973","1398044975","1398044972"],"photo_ids_order":["1398044970","1398044972","1398044973","1398044974","1398044975","1398044977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74aa79ed95b06004f64e02acaf53ab03.jpg","text":"TemporaryFile(/tmp/multipartBody2858817159479017045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920523357,"filename":"image_05122025_08_38_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bc3f6caf3d9c0d7d756fcb1057716ae1.jpg","text":"TemporaryFile(/tmp/multipartBody7436795729500713796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920523357,"filename":"image_05122025_08_39_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/5/6114f887fb47b69317abb33756b70daf.jpg","text":"TemporaryFile(/tmp/multipartBody6996130364597147584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920523357,"filename":"image_05122025_08_38_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/5/48555e57394afc2237024967bd1ca6df.jpg","text":"TemporaryFile(/tmp/multipartBody2001655775145868539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920523357,"filename":"image_05122025_08_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/5/46b1038e9d6c7d0bc5c94869951f235a.jpg","text":"TemporaryFile(/tmp/multipartBody406573463815147610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920523357,"filename":"image_05122025_08_38_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7ed5efe02a58a6b41d9d968d2ecec857.jpg","text":"TemporaryFile(/tmp/multipartBody3550569957640628623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920523357,"filename":"image_05122025_08_38_25_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044973","file1":"1398044972","file0":"1398044970","file4":"1398044975","file5":"1398044977","file3":"1398044974"},"map_files_photo_id_array":[{"photo_id":"1398044977","filename":"file5"},{"photo_id":"1398044973","filename":"file2"},{"photo_id":"1398044975","filename":"file4"},{"photo_id":"1398044972","filename":"file1"},{"photo_id":"1398044970","filename":"file0"},{"photo_id":"1398044974","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398044974":["hashtag1","hashtag2"]},{"1398044977":["hashtag1","hashtag2"]},{"1398044970":["hashtag1","hashtag2"]},{"1398044973":["hashtag1","hashtag2"]},{"1398044975":["hashtag1","hashtag2"]},{"1398044972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398044974, 1398044977, 1398044970, 1398044973, 1398044975, 1398044972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.036691188812256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:41:41.975581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_40_3613.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_43_2772.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_49_3712.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_52_2793.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_55_2637.jpg', '/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_58_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_40_3613.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_43_2772.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_49_3712.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_52_2793.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_55_2637.jpg
/home/pi/Desktop/images/31102025/19/03/image_31102025_19_03_58_3632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398044995","1398044994","1398044997","1398044982","1398044996","1398044998"],"photo_ids_order":["1398044982","1398044994","1398044995","1398044996","1398044997","1398044998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/11c16dd916797e97c83746cd1ddee6f5.jpg","text":"TemporaryFile(/tmp/multipartBody6599878578535223159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920563624,"filename":"image_31102025_19_03_49_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/5/985c349cf8500674bd80affa49525e54.jpg","text":"TemporaryFile(/tmp/multipartBody6271043297704785234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920563624,"filename":"image_31102025_19_03_43_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/5/8674928cfa28c75c280a98358f53d88e.jpg","text":"TemporaryFile(/tmp/multipartBody2308638648461733378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920563624,"filename":"image_31102025_19_03_55_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/5/004418262359741a0c668dbb84490a87.jpg","text":"TemporaryFile(/tmp/multipartBody8617115836563053718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920563624,"filename":"image_31102025_19_03_40_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/5/7030da48a69043c5b446e5570842c5ea.jpg","text":"TemporaryFile(/tmp/multipartBody4199131718769113404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920563624,"filename":"image_31102025_19_03_52_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/5/96c98f9d5442ff02a5cea7edab890353.jpg","text":"TemporaryFile(/tmp/multipartBody2343165280056043926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920563624,"filename":"image_31102025_19_03_58_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398044995","file1":"1398044994","file0":"1398044982","file4":"1398044997","file5":"1398044998","file3":"1398044996"},"map_files_photo_id_array":[{"photo_id":"1398044998","filename":"file5"},{"photo_id":"1398044995","filename":"file2"},{"photo_id":"1398044997","filename":"file4"},{"photo_id":"1398044994","filename":"file1"},{"photo_id":"1398044982","filename":"file0"},{"photo_id":"1398044996","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398044995":["hashtag1","hashtag2"]},{"1398044994":["hashtag1","hashtag2"]},{"1398044997":["hashtag1","hashtag2"]},{"1398044982":["hashtag1","hashtag2"]},{"1398044996":["hashtag1","hashtag2"]},{"1398044998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398044995, 1398044994, 1398044997, 1398044982, 1398044996, 1398044998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.563650608062744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:42:22.135863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/39/image_05122025_08_39_15_9706.jpg', '/home/pi/Desktop/images/05122025/08/39/image_05122025_08_39_24_9806.jpg', '/home/pi/Desktop/images/05122025/08/39/image_05122025_08_39_35_10654.jpg', '/home/pi/Desktop/images/05122025/08/39/image_05122025_08_39_45_9725.jpg', '/home/pi/Desktop/images/05122025/08/39/image_05122025_08_39_54_9759.jpg', '/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_07_12840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/39/image_05122025_08_39_15_9706.jpg
/home/pi/Desktop/images/05122025/08/39/image_05122025_08_39_24_9806.jpg
/home/pi/Desktop/images/05122025/08/39/image_05122025_08_39_35_10654.jpg
/home/pi/Desktop/images/05122025/08/39/image_05122025_08_39_45_9725.jpg
/home/pi/Desktop/images/05122025/08/39/image_05122025_08_39_54_9759.jpg
/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_07_12840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398045004","1398045000","1398045006","1398045011","1398045008","1398045002"],"photo_ids_order":["1398045000","1398045002","1398045004","1398045006","1398045008","1398045011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9a375920e00d9f737d79643564856329.jpg","text":"TemporaryFile(/tmp/multipartBody5963768150459237026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920602945,"filename":"image_05122025_08_39_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/5/b843076c33de7db4bf5ab0c8e0ca085b.jpg","text":"TemporaryFile(/tmp/multipartBody818676389656709787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920602945,"filename":"image_05122025_08_39_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/5/1b98bc5bd7091645789d87f0c91f1a94.jpg","text":"TemporaryFile(/tmp/multipartBody4209877084265204311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920602945,"filename":"image_05122025_08_39_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e311d1380dc8f4d27d49c913c129de2e.jpg","text":"TemporaryFile(/tmp/multipartBody305228094865843184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920602945,"filename":"image_05122025_08_40_07_12840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/021fe17f4c6088a05c14985f10a88faa.jpg","text":"TemporaryFile(/tmp/multipartBody313144449711726669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920602945,"filename":"image_05122025_08_39_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/5/dce541478ebe26236c33520824e07d6a.jpg","text":"TemporaryFile(/tmp/multipartBody8572887007391234290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920602945,"filename":"image_05122025_08_39_24_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398045004","file1":"1398045002","file0":"1398045000","file4":"1398045008","file5":"1398045011","file3":"1398045006"},"map_files_photo_id_array":[{"photo_id":"1398045011","filename":"file5"},{"photo_id":"1398045004","filename":"file2"},{"photo_id":"1398045008","filename":"file4"},{"photo_id":"1398045002","filename":"file1"},{"photo_id":"1398045000","filename":"file0"},{"photo_id":"1398045006","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398045004":["hashtag1","hashtag2"]},{"1398045000":["hashtag1","hashtag2"]},{"1398045006":["hashtag1","hashtag2"]},{"1398045011":["hashtag1","hashtag2"]},{"1398045008":["hashtag1","hashtag2"]},{"1398045002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398045004, 1398045000, 1398045006, 1398045011, 1398045008, 1398045002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.679967164993286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:43:03.161404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_15_7596.jpg', '/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_25_9778.jpg', '/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_34_9675.jpg', '/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_45_10454.jpg', '/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_55_9792.jpg', '/home/pi/Desktop/images/05122025/08/40/image_05122025_08_41_04_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_15_7596.jpg
/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_25_9778.jpg
/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_34_9675.jpg
/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_45_10454.jpg
/home/pi/Desktop/images/05122025/08/40/image_05122025_08_40_55_9792.jpg
/home/pi/Desktop/images/05122025/08/40/image_05122025_08_41_04_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":["1398045115","1398045012","1398045102","1398045074","1398045083","1398045038"],"photo_ids_order":["1398045012","1398045038","1398045074","1398045083","1398045102","1398045115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b11ddcda4e4d23cde5fb2eaaf4e3326a.jpg","text":"TemporaryFile(/tmp/multipartBody6565402320758495694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920643899,"filename":"image_05122025_08_41_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0313ac93a0b07aaccefa8a6113622655.jpg","text":"TemporaryFile(/tmp/multipartBody1621388774167199465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920643899,"filename":"image_05122025_08_40_15_7596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4dfd68a84cade3be0cc05d21b89766e4.jpg","text":"TemporaryFile(/tmp/multipartBody1034031871599698664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920643899,"filename":"image_05122025_08_40_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/5/8275319d81c073e1b9a0cd6e70fdad47.jpg","text":"TemporaryFile(/tmp/multipartBody6961642913081667610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920643899,"filename":"image_05122025_08_40_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa3f0551027647eee66b3d958adeabe7.jpg","text":"TemporaryFile(/tmp/multipartBody1108961545527536400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920643899,"filename":"image_05122025_08_40_45_10454.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/60d062a13cee6e58b5a3e430d9f8c42a.jpg","text":"TemporaryFile(/tmp/multipartBody1587689478773728748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920643899,"filename":"image_05122025_08_40_25_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398045074","file1":"1398045038","file0":"1398045012","file4":"1398045102","file5":"1398045115","file3":"1398045083"},"map_files_photo_id_array":[{"photo_id":"1398045115","filename":"file5"},{"photo_id":"1398045074","filename":"file2"},{"photo_id":"1398045102","filename":"file4"},{"photo_id":"1398045038","filename":"file1"},{"photo_id":"1398045012","filename":"file0"},{"photo_id":"1398045083","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398045115":["hashtag1","hashtag2"]},{"1398045012":["hashtag1","hashtag2"]},{"1398045102":["hashtag1","hashtag2"]},{"1398045074":["hashtag1","hashtag2"]},{"1398045083":["hashtag1","hashtag2"]},{"1398045038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398045115, 1398045012, 1398045102, 1398045074, 1398045083, 1398045038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79615139961243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:43:42.401333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_04_2683.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_06_2601.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_10_3572.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_13_2691.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_15_2728.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_19_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_04_2683.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_06_2601.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_10_3572.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_13_2691.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_15_2728.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_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":["1398045355","1398045264","1398045150","1398045299","1398045173","1398045218"],"photo_ids_order":["1398045150","1398045173","1398045218","1398045264","1398045299","1398045355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d9d1561cd3b97be7b42ca0ef6555839c.jpg","text":"TemporaryFile(/tmp/multipartBody3503270982333587785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920684032,"filename":"image_31102025_19_04_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/5/b30a96e7fb9cffe29d6ed56005703bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8537942593135481292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920684032,"filename":"image_31102025_19_04_13_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/5/41d7993660c3ef00c049cf6d1fb695fb.jpg","text":"TemporaryFile(/tmp/multipartBody5933146147610409570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920684032,"filename":"image_31102025_19_04_04_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/5/0fab367e7364daec808387a80c479992.jpg","text":"TemporaryFile(/tmp/multipartBody8097258282193630570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920684032,"filename":"image_31102025_19_04_15_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/5/1dd9bfb01492f16b292bb1b303ab20f2.jpg","text":"TemporaryFile(/tmp/multipartBody3215536098171158386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920684032,"filename":"image_31102025_19_04_06_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/5/6fed9cbcc6997b1b184f6032f956177d.jpg","text":"TemporaryFile(/tmp/multipartBody7166570334287297524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920684032,"filename":"image_31102025_19_04_10_3572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398045218","file1":"1398045173","file0":"1398045150","file4":"1398045299","file5":"1398045355","file3":"1398045264"},"map_files_photo_id_array":[{"photo_id":"1398045355","filename":"file5"},{"photo_id":"1398045218","filename":"file2"},{"photo_id":"1398045299","filename":"file4"},{"photo_id":"1398045173","filename":"file1"},{"photo_id":"1398045150","filename":"file0"},{"photo_id":"1398045264","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398045355":["hashtag1","hashtag2"]},{"1398045264":["hashtag1","hashtag2"]},{"1398045150":["hashtag1","hashtag2"]},{"1398045299":["hashtag1","hashtag2"]},{"1398045173":["hashtag1","hashtag2"]},{"1398045218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398045355, 1398045264, 1398045150, 1398045299, 1398045173, 1398045218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78957176208496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:44:22.568259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/41/image_05122025_08_41_15_10750.jpg', '/home/pi/Desktop/images/05122025/08/41/image_05122025_08_41_25_9681.jpg', '/home/pi/Desktop/images/05122025/08/41/image_05122025_08_41_34_9683.jpg', '/home/pi/Desktop/images/05122025/08/41/image_05122025_08_41_45_10634.jpg', '/home/pi/Desktop/images/05122025/08/41/image_05122025_08_41_55_9561.jpg', '/home/pi/Desktop/images/05122025/08/41/image_05122025_08_42_04_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/41/image_05122025_08_41_15_10750.jpg
/home/pi/Desktop/images/05122025/08/41/image_05122025_08_41_25_9681.jpg
/home/pi/Desktop/images/05122025/08/41/image_05122025_08_41_34_9683.jpg
/home/pi/Desktop/images/05122025/08/41/image_05122025_08_41_45_10634.jpg
/home/pi/Desktop/images/05122025/08/41/image_05122025_08_41_55_9561.jpg
/home/pi/Desktop/images/05122025/08/41/image_05122025_08_42_04_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":["1398045408","1398045485","1398045488","1398045473","1398045503","1398045442"],"photo_ids_order":["1398045408","1398045442","1398045473","1398045485","1398045488","1398045503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f46b0480874cb6bf770448a41aaecc1.jpg","text":"TemporaryFile(/tmp/multipartBody694916305053890559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920723308,"filename":"image_05122025_08_41_15_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/5/f62805e146d0a8c5ff61ea7ac45a88fa.jpg","text":"TemporaryFile(/tmp/multipartBody906928890080810767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920723308,"filename":"image_05122025_08_41_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/5/ed6b31b732b70983fb0df0c3f4c364b1.jpg","text":"TemporaryFile(/tmp/multipartBody8899496558197999337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920723308,"filename":"image_05122025_08_41_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/5/0ef177332f248890c9cf9a58e4c5b79e.jpg","text":"TemporaryFile(/tmp/multipartBody5374522593092073704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920723308,"filename":"image_05122025_08_41_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/5/25734547f567beda3db2bf745ab7dc80.jpg","text":"TemporaryFile(/tmp/multipartBody470784768240177534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920723308,"filename":"image_05122025_08_42_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cead03560e43afe13b8f66b63f6ea721.jpg","text":"TemporaryFile(/tmp/multipartBody6680477137068993742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920723308,"filename":"image_05122025_08_41_25_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398045473","file1":"1398045442","file0":"1398045408","file4":"1398045488","file5":"1398045503","file3":"1398045485"},"map_files_photo_id_array":[{"photo_id":"1398045503","filename":"file5"},{"photo_id":"1398045473","filename":"file2"},{"photo_id":"1398045488","filename":"file4"},{"photo_id":"1398045442","filename":"file1"},{"photo_id":"1398045408","filename":"file0"},{"photo_id":"1398045485","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398045408":["hashtag1","hashtag2"]},{"1398045485":["hashtag1","hashtag2"]},{"1398045488":["hashtag1","hashtag2"]},{"1398045473":["hashtag1","hashtag2"]},{"1398045503":["hashtag1","hashtag2"]},{"1398045442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398045408, 1398045485, 1398045488, 1398045473, 1398045503, 1398045442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81156039237976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:45:03.447898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/42/image_05122025_08_42_15_10855.jpg', '/home/pi/Desktop/images/05122025/08/42/image_05122025_08_42_25_9753.jpg', '/home/pi/Desktop/images/05122025/08/42/image_05122025_08_42_34_9601.jpg', '/home/pi/Desktop/images/05122025/08/42/image_05122025_08_42_55_10778.jpg', '/home/pi/Desktop/images/05122025/08/42/image_05122025_08_43_05_9983.jpg', '/home/pi/Desktop/images/05122025/08/43/image_05122025_08_43_25_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/42/image_05122025_08_42_15_10855.jpg
/home/pi/Desktop/images/05122025/08/42/image_05122025_08_42_25_9753.jpg
/home/pi/Desktop/images/05122025/08/42/image_05122025_08_42_34_9601.jpg
/home/pi/Desktop/images/05122025/08/42/image_05122025_08_42_55_10778.jpg
/home/pi/Desktop/images/05122025/08/42/image_05122025_08_43_05_9983.jpg
/home/pi/Desktop/images/05122025/08/43/image_05122025_08_43_25_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398045591","1398045654","1398045656","1398045658","1398045637","1398045565"],"photo_ids_order":["1398045565","1398045591","1398045637","1398045654","1398045656","1398045658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cd9e4d5a1790732aa845008af667e77a.jpg","text":"TemporaryFile(/tmp/multipartBody3140024601768038568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920764274,"filename":"image_05122025_08_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/5/7fd9141b00535f8e073433d6c14b1b78.jpg","text":"TemporaryFile(/tmp/multipartBody1860120313044074462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920764274,"filename":"image_05122025_08_42_55_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/5/1b9398c7a77a6ce363cb7dadeb7f61d0.jpg","text":"TemporaryFile(/tmp/multipartBody5792762026674520206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920764274,"filename":"image_05122025_08_43_05_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/5/2fe9f9ec3ba7ddbe5803b556779cca4f.jpg","text":"TemporaryFile(/tmp/multipartBody8559834816957290897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920764274,"filename":"image_05122025_08_43_25_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1acc6d288419d0684835edcb6f8fdf8a.jpg","text":"TemporaryFile(/tmp/multipartBody7255605677782222186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920764274,"filename":"image_05122025_08_42_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/5/e3c5d4b916d5b934c2a2e8055152f806.jpg","text":"TemporaryFile(/tmp/multipartBody3691204268926736104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920764274,"filename":"image_05122025_08_42_15_10855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398045637","file1":"1398045591","file0":"1398045565","file4":"1398045656","file5":"1398045658","file3":"1398045654"},"map_files_photo_id_array":[{"photo_id":"1398045658","filename":"file5"},{"photo_id":"1398045637","filename":"file2"},{"photo_id":"1398045656","filename":"file4"},{"photo_id":"1398045591","filename":"file1"},{"photo_id":"1398045565","filename":"file0"},{"photo_id":"1398045654","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398045591":["hashtag1","hashtag2"]},{"1398045654":["hashtag1","hashtag2"]},{"1398045656":["hashtag1","hashtag2"]},{"1398045658":["hashtag1","hashtag2"]},{"1398045637":["hashtag1","hashtag2"]},{"1398045565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398045591, 1398045654, 1398045656, 1398045658, 1398045637, 1398045565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.027671813964844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:45:42.757659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_22_2764.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_24_2614.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_28_3588.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_31_2605.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_33_2788.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_37_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_22_2764.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_24_2614.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_28_3588.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_31_2605.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_33_2788.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_37_3683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398045663","1398045666","1398045669","1398045668","1398045671","1398045670"],"photo_ids_order":["1398045663","1398045666","1398045668","1398045669","1398045670","1398045671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3dc59d34b7ae9078ab925eebb97190cf.jpg","text":"TemporaryFile(/tmp/multipartBody7881977350740461673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920804379,"filename":"image_31102025_19_04_22_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54dee06763d72d90cf9296c908efcd70.jpg","text":"TemporaryFile(/tmp/multipartBody7780275410818509882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920804379,"filename":"image_31102025_19_04_24_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/5/30e23c6ed34fd4b1e90f47b9438298b0.jpg","text":"TemporaryFile(/tmp/multipartBody3226452993739637000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920804379,"filename":"image_31102025_19_04_31_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/5/015ba11fa1641ed37877de8f7b9a17e9.jpg","text":"TemporaryFile(/tmp/multipartBody7409262699152082939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920804379,"filename":"image_31102025_19_04_28_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/5/37c6185ec4ca06f84459ac45314ede41.jpg","text":"TemporaryFile(/tmp/multipartBody5224201514126899775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920804379,"filename":"image_31102025_19_04_37_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ca7973081ff1b1e2f7172aee9b8eee3.jpg","text":"TemporaryFile(/tmp/multipartBody187859356127965071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920804379,"filename":"image_31102025_19_04_33_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398045668","file1":"1398045666","file0":"1398045663","file4":"1398045670","file5":"1398045671","file3":"1398045669"},"map_files_photo_id_array":[{"photo_id":"1398045671","filename":"file5"},{"photo_id":"1398045668","filename":"file2"},{"photo_id":"1398045670","filename":"file4"},{"photo_id":"1398045666","filename":"file1"},{"photo_id":"1398045663","filename":"file0"},{"photo_id":"1398045669","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398045663":["hashtag1","hashtag2"]},{"1398045666":["hashtag1","hashtag2"]},{"1398045669":["hashtag1","hashtag2"]},{"1398045668":["hashtag1","hashtag2"]},{"1398045671":["hashtag1","hashtag2"]},{"1398045670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398045663, 1398045666, 1398045669, 1398045668, 1398045671, 1398045670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30504655838013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:46:31.928749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/32/image_02122025_17_32_45_9671.jpg', '/home/pi/Desktop/images/02122025/17/32/image_02122025_17_32_55_9635.jpg', '/home/pi/Desktop/images/02122025/17/34/image_02122025_17_34_25_10564.jpg', '/home/pi/Desktop/images/02122025/17/34/image_02122025_17_34_35_9650.jpg', '/home/pi/Desktop/images/02122025/17/34/image_02122025_17_34_45_9540.jpg', '/home/pi/Desktop/images/02122025/17/34/image_02122025_17_34_55_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/32/image_02122025_17_32_45_9671.jpg
/home/pi/Desktop/images/02122025/17/32/image_02122025_17_32_55_9635.jpg
/home/pi/Desktop/images/02122025/17/34/image_02122025_17_34_25_10564.jpg
/home/pi/Desktop/images/02122025/17/34/image_02122025_17_34_35_9650.jpg
/home/pi/Desktop/images/02122025/17/34/image_02122025_17_34_45_9540.jpg
/home/pi/Desktop/images/02122025/17/34/image_02122025_17_34_55_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":["1398045904","1398045811","1398045774","1398045834","1398045839","1398045865"],"photo_ids_order":["1398045774","1398045811","1398045834","1398045839","1398045865","1398045904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/32ebfd91c2efa4a17938801d6558afa3.jpg","text":"TemporaryFile(/tmp/multipartBody3047383304309127796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920854056,"filename":"image_02122025_17_34_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/5/c6c9ecf9841cfe939747f4ff5affe3bb.jpg","text":"TemporaryFile(/tmp/multipartBody1980225435567488640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920854056,"filename":"image_02122025_17_32_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5279daeece192b75a6cebf7792e48d7b.jpg","text":"TemporaryFile(/tmp/multipartBody4260068619587092922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920854056,"filename":"image_02122025_17_32_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/5/f93af97ac8c9cf352de9d6735cd575d8.jpg","text":"TemporaryFile(/tmp/multipartBody3813181200578201800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920854056,"filename":"image_02122025_17_34_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/5/25a57d0c6d3b826de8b430ef0405819c.jpg","text":"TemporaryFile(/tmp/multipartBody8945787376264129460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920854056,"filename":"image_02122025_17_34_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/5/f4aef0a07273ec3f17592993ede867c6.jpg","text":"TemporaryFile(/tmp/multipartBody3314023029146338636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920854056,"filename":"image_02122025_17_34_45_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398045834","file1":"1398045811","file0":"1398045774","file4":"1398045865","file5":"1398045904","file3":"1398045839"},"map_files_photo_id_array":[{"photo_id":"1398045904","filename":"file5"},{"photo_id":"1398045834","filename":"file2"},{"photo_id":"1398045865","filename":"file4"},{"photo_id":"1398045811","filename":"file1"},{"photo_id":"1398045774","filename":"file0"},{"photo_id":"1398045839","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398045904":["hashtag1","hashtag2"]},{"1398045811":["hashtag1","hashtag2"]},{"1398045774":["hashtag1","hashtag2"]},{"1398045834":["hashtag1","hashtag2"]},{"1398045839":["hashtag1","hashtag2"]},{"1398045865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398045904, 1398045811, 1398045774, 1398045834, 1398045839, 1398045865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25938415527344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:47:11.937926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/35/image_02122025_17_35_14_10054.jpg', '/home/pi/Desktop/images/02122025/17/35/image_02122025_17_35_24_10050.jpg', '/home/pi/Desktop/images/02122025/17/35/image_02122025_17_35_34_9918.jpg', '/home/pi/Desktop/images/02122025/17/35/image_02122025_17_35_45_10741.jpg', '/home/pi/Desktop/images/02122025/17/35/image_02122025_17_35_54_9488.jpg', '/home/pi/Desktop/images/02122025/17/35/image_02122025_17_36_05_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/35/image_02122025_17_35_14_10054.jpg
/home/pi/Desktop/images/02122025/17/35/image_02122025_17_35_24_10050.jpg
/home/pi/Desktop/images/02122025/17/35/image_02122025_17_35_34_9918.jpg
/home/pi/Desktop/images/02122025/17/35/image_02122025_17_35_45_10741.jpg
/home/pi/Desktop/images/02122025/17/35/image_02122025_17_35_54_9488.jpg
/home/pi/Desktop/images/02122025/17/35/image_02122025_17_36_05_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398046323","1398046404","1398046454","1398046241","1398046177","1398046141"],"photo_ids_order":["1398046141","1398046177","1398046241","1398046323","1398046404","1398046454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/56d6aea7e5fb9ba75f1ca1d5590385a8.jpg","text":"TemporaryFile(/tmp/multipartBody2612546592843309616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920893996,"filename":"image_02122025_17_35_45_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/5/23785ded91d4be14ac268f311fdb8f31.jpg","text":"TemporaryFile(/tmp/multipartBody2788143830573593647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920893996,"filename":"image_02122025_17_35_54_9488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6fabebe74559a57a25788bf1673e4c8f.jpg","text":"TemporaryFile(/tmp/multipartBody5240041120402323446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920893996,"filename":"image_02122025_17_36_05_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b8fa6a3961a5df60754233b2d9a5ba7b.jpg","text":"TemporaryFile(/tmp/multipartBody1598820437986053298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920893996,"filename":"image_02122025_17_35_34_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/5/ad9465e254ec8ed5ea948b57cfee28c8.jpg","text":"TemporaryFile(/tmp/multipartBody1438952560918547728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920893996,"filename":"image_02122025_17_35_24_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/5/34eb94b1e80d37518752eddee1b790ab.jpg","text":"TemporaryFile(/tmp/multipartBody8091065692931927607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920893996,"filename":"image_02122025_17_35_14_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398046241","file1":"1398046177","file0":"1398046141","file4":"1398046404","file5":"1398046454","file3":"1398046323"},"map_files_photo_id_array":[{"photo_id":"1398046454","filename":"file5"},{"photo_id":"1398046241","filename":"file2"},{"photo_id":"1398046404","filename":"file4"},{"photo_id":"1398046177","filename":"file1"},{"photo_id":"1398046141","filename":"file0"},{"photo_id":"1398046323","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398046323":["hashtag1","hashtag2"]},{"1398046404":["hashtag1","hashtag2"]},{"1398046454":["hashtag1","hashtag2"]},{"1398046241":["hashtag1","hashtag2"]},{"1398046177":["hashtag1","hashtag2"]},{"1398046141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398046323, 1398046404, 1398046454, 1398046241, 1398046177, 1398046141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.528846740722656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:48:02.655908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/43/image_05122025_08_43_35_9875.jpg', '/home/pi/Desktop/images/05122025/08/43/image_05122025_08_43_44_9615.jpg', '/home/pi/Desktop/images/05122025/08/43/image_05122025_08_43_54_9909.jpg', '/home/pi/Desktop/images/05122025/08/43/image_05122025_08_44_05_10733.jpg', '/home/pi/Desktop/images/05122025/08/44/image_05122025_08_44_15_9703.jpg', '/home/pi/Desktop/images/05122025/08/44/image_05122025_08_44_24_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/43/image_05122025_08_43_35_9875.jpg
/home/pi/Desktop/images/05122025/08/43/image_05122025_08_43_44_9615.jpg
/home/pi/Desktop/images/05122025/08/43/image_05122025_08_43_54_9909.jpg
/home/pi/Desktop/images/05122025/08/43/image_05122025_08_44_05_10733.jpg
/home/pi/Desktop/images/05122025/08/44/image_05122025_08_44_15_9703.jpg
/home/pi/Desktop/images/05122025/08/44/image_05122025_08_44_24_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398046641","1398046545","1398046631","1398046573","1398046609","1398046639"],"photo_ids_order":["1398046545","1398046573","1398046609","1398046631","1398046639","1398046641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f9d8b8f2675bd5ff9dd8f31f2681fecd.jpg","text":"TemporaryFile(/tmp/multipartBody5195270907050918461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920943450,"filename":"image_05122025_08_44_24_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/40205c84f46e8ed7ccec2e609bb8623d.jpg","text":"TemporaryFile(/tmp/multipartBody676479737171714201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920943450,"filename":"image_05122025_08_43_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/5/a9a63e4e3962e2689a99aa2e3fdfa586.jpg","text":"TemporaryFile(/tmp/multipartBody6542616181797409752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920943450,"filename":"image_05122025_08_44_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/5/b059533db795ab26262a390ad38c7f57.jpg","text":"TemporaryFile(/tmp/multipartBody3514084745735239526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920943450,"filename":"image_05122025_08_43_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abac68affa88213370d0ae2d0b66e4b3.jpg","text":"TemporaryFile(/tmp/multipartBody3345822758184548281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920943450,"filename":"image_05122025_08_43_54_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/5/86a9be2a6c17b046b27fe93432d63477.jpg","text":"TemporaryFile(/tmp/multipartBody4822163542121819818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920943450,"filename":"image_05122025_08_44_15_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398046609","file1":"1398046573","file0":"1398046545","file4":"1398046639","file5":"1398046641","file3":"1398046631"},"map_files_photo_id_array":[{"photo_id":"1398046641","filename":"file5"},{"photo_id":"1398046609","filename":"file2"},{"photo_id":"1398046639","filename":"file4"},{"photo_id":"1398046573","filename":"file1"},{"photo_id":"1398046545","filename":"file0"},{"photo_id":"1398046631","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398046641":["hashtag1","hashtag2"]},{"1398046545":["hashtag1","hashtag2"]},{"1398046631":["hashtag1","hashtag2"]},{"1398046573":["hashtag1","hashtag2"]},{"1398046609":["hashtag1","hashtag2"]},{"1398046639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398046641, 1398046545, 1398046631, 1398046573, 1398046609, 1398046639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.607704877853394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:48:42.335996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_40_2701.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_46_3618.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_49_2606.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_52_3669.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_58_2686.jpg', '/home/pi/Desktop/images/31102025/19/04/image_31102025_19_05_01_3529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_40_2701.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_46_3618.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_49_2606.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_52_3669.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_04_58_2686.jpg
/home/pi/Desktop/images/31102025/19/04/image_31102025_19_05_01_3529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398046784","1398046716","1398046682","1398046736","1398046846","1398046747"],"photo_ids_order":["1398046682","1398046716","1398046736","1398046747","1398046784","1398046846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/365ce224f0775e598753e194db8a6e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2629807821937448362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920983954,"filename":"image_31102025_19_04_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/5/30da08a0bf2749e0778c7d8361d5bef7.jpg","text":"TemporaryFile(/tmp/multipartBody1644018223686806988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920983954,"filename":"image_31102025_19_04_46_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/5/bae2a123ff002cf348fc69ff8b4dbaec.jpg","text":"TemporaryFile(/tmp/multipartBody7298884680193927181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920983954,"filename":"image_31102025_19_04_40_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/5/68ce9c522d672d1b12993993ac5daca7.jpg","text":"TemporaryFile(/tmp/multipartBody3415364697317570760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920983954,"filename":"image_31102025_19_04_49_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/5/30e9413d42eef128cd1faf16cdbbe90e.jpg","text":"TemporaryFile(/tmp/multipartBody942475900845272203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920983954,"filename":"image_31102025_19_05_01_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84fc3c86f0db6ddba0d13ea2400731c9.jpg","text":"TemporaryFile(/tmp/multipartBody904155530967076114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764920983954,"filename":"image_31102025_19_04_52_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398046736","file1":"1398046716","file0":"1398046682","file4":"1398046784","file5":"1398046846","file3":"1398046747"},"map_files_photo_id_array":[{"photo_id":"1398046846","filename":"file5"},{"photo_id":"1398046736","filename":"file2"},{"photo_id":"1398046784","filename":"file4"},{"photo_id":"1398046716","filename":"file1"},{"photo_id":"1398046682","filename":"file0"},{"photo_id":"1398046747","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398046784":["hashtag1","hashtag2"]},{"1398046716":["hashtag1","hashtag2"]},{"1398046682":["hashtag1","hashtag2"]},{"1398046736":["hashtag1","hashtag2"]},{"1398046846":["hashtag1","hashtag2"]},{"1398046747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398046784, 1398046716, 1398046682, 1398046736, 1398046846, 1398046747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5704619884491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:49:22.510047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/44/image_05122025_08_44_45_9700.jpg', '/home/pi/Desktop/images/05122025/08/44/image_05122025_08_45_05_10684.jpg', '/home/pi/Desktop/images/05122025/08/45/image_05122025_08_45_25_9654.jpg', '/home/pi/Desktop/images/05122025/08/45/image_05122025_08_45_45_10715.jpg', '/home/pi/Desktop/images/05122025/08/46/image_05122025_08_46_44_9670.jpg', '/home/pi/Desktop/images/05122025/08/46/image_05122025_08_46_55_10815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/44/image_05122025_08_44_45_9700.jpg
/home/pi/Desktop/images/05122025/08/44/image_05122025_08_45_05_10684.jpg
/home/pi/Desktop/images/05122025/08/45/image_05122025_08_45_25_9654.jpg
/home/pi/Desktop/images/05122025/08/45/image_05122025_08_45_45_10715.jpg
/home/pi/Desktop/images/05122025/08/46/image_05122025_08_46_44_9670.jpg
/home/pi/Desktop/images/05122025/08/46/image_05122025_08_46_55_10815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398047100","1398047096","1398047021","1398047092","1398047086","1398047094"],"photo_ids_order":["1398047021","1398047086","1398047092","1398047094","1398047096","1398047100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc2c6ffce0ae628d85a19a9d052ee2e2.jpg","text":"TemporaryFile(/tmp/multipartBody3439606183605046814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921023301,"filename":"image_05122025_08_46_55_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/747c61aaf49455a8cc4dcc298869aefd.jpg","text":"TemporaryFile(/tmp/multipartBody3554759624690299296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921023301,"filename":"image_05122025_08_46_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/5/9c2a6b2cc56982be761f5f183821f041.jpg","text":"TemporaryFile(/tmp/multipartBody8856263643656580853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921023301,"filename":"image_05122025_08_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/5/b5273bde047249490cd2ddfc3ae771f7.jpg","text":"TemporaryFile(/tmp/multipartBody3816968536342576025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921023301,"filename":"image_05122025_08_45_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/5/dfab3086e832801d2c0f491d1a3ce613.jpg","text":"TemporaryFile(/tmp/multipartBody4117476693786622039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921023301,"filename":"image_05122025_08_45_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/5/f02035b2a8a7d1cf7de26bcb48336add.jpg","text":"TemporaryFile(/tmp/multipartBody7416287483735830117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921023301,"filename":"image_05122025_08_45_45_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398047092","file1":"1398047086","file0":"1398047021","file4":"1398047096","file5":"1398047100","file3":"1398047094"},"map_files_photo_id_array":[{"photo_id":"1398047100","filename":"file5"},{"photo_id":"1398047092","filename":"file2"},{"photo_id":"1398047096","filename":"file4"},{"photo_id":"1398047086","filename":"file1"},{"photo_id":"1398047021","filename":"file0"},{"photo_id":"1398047094","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398047100":["hashtag1","hashtag2"]},{"1398047096":["hashtag1","hashtag2"]},{"1398047021":["hashtag1","hashtag2"]},{"1398047092":["hashtag1","hashtag2"]},{"1398047086":["hashtag1","hashtag2"]},{"1398047094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398047100, 1398047096, 1398047021, 1398047092, 1398047086, 1398047094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.618913650512695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:50:03.149275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/46/image_05122025_08_47_05_9765.jpg', '/home/pi/Desktop/images/05122025/08/47/image_05122025_08_47_15_9735.jpg', '/home/pi/Desktop/images/05122025/08/47/image_05122025_08_47_24_9682.jpg', '/home/pi/Desktop/images/05122025/08/47/image_05122025_08_47_34_9868.jpg', '/home/pi/Desktop/images/05122025/08/47/image_05122025_08_47_45_10711.jpg', '/home/pi/Desktop/images/05122025/08/47/image_05122025_08_47_55_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/46/image_05122025_08_47_05_9765.jpg
/home/pi/Desktop/images/05122025/08/47/image_05122025_08_47_15_9735.jpg
/home/pi/Desktop/images/05122025/08/47/image_05122025_08_47_24_9682.jpg
/home/pi/Desktop/images/05122025/08/47/image_05122025_08_47_34_9868.jpg
/home/pi/Desktop/images/05122025/08/47/image_05122025_08_47_45_10711.jpg
/home/pi/Desktop/images/05122025/08/47/image_05122025_08_47_55_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398047109","1398047112","1398047106","1398047108","1398047102","1398047104"],"photo_ids_order":["1398047102","1398047104","1398047106","1398047108","1398047109","1398047112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d3a162bb0fb9c7bc81fd29ac70da126a.jpg","text":"TemporaryFile(/tmp/multipartBody8651151288235540609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921063910,"filename":"image_05122025_08_47_45_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/5/d60ab9524b2a7e2eb6a99171c92ce8ae.jpg","text":"TemporaryFile(/tmp/multipartBody5011606461848348464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921063910,"filename":"image_05122025_08_47_55_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bc7537588adb1dda75290bb896fdc013.jpg","text":"TemporaryFile(/tmp/multipartBody2513500627823650858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921063910,"filename":"image_05122025_08_47_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3b03a00a5e88da5e18ad881387c81410.jpg","text":"TemporaryFile(/tmp/multipartBody5325158341656677943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921063910,"filename":"image_05122025_08_47_34_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/5/5413b1a697a3600a538643b83c6fcebc.jpg","text":"TemporaryFile(/tmp/multipartBody8531877013081377619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921063910,"filename":"image_05122025_08_47_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/5/238c3144b4270961ffd58ce1327de50b.jpg","text":"TemporaryFile(/tmp/multipartBody4982068346818230350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921063910,"filename":"image_05122025_08_47_15_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398047106","file1":"1398047104","file0":"1398047102","file4":"1398047109","file5":"1398047112","file3":"1398047108"},"map_files_photo_id_array":[{"photo_id":"1398047112","filename":"file5"},{"photo_id":"1398047106","filename":"file2"},{"photo_id":"1398047109","filename":"file4"},{"photo_id":"1398047104","filename":"file1"},{"photo_id":"1398047102","filename":"file0"},{"photo_id":"1398047108","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398047109":["hashtag1","hashtag2"]},{"1398047112":["hashtag1","hashtag2"]},{"1398047106":["hashtag1","hashtag2"]},{"1398047108":["hashtag1","hashtag2"]},{"1398047102":["hashtag1","hashtag2"]},{"1398047104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398047109, 1398047112, 1398047106, 1398047108, 1398047102, 1398047104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51950526237488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 08:50:42.788681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_04_2791.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_07_2733.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_09_2606.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_13_3950.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_19_2748.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_21_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_04_2791.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_07_2733.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_09_2606.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_13_3950.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_19_2748.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_21_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":["1398047132","1398047135","1398047120","1398047134","1398047128","1398047133"],"photo_ids_order":["1398047120","1398047128","1398047132","1398047133","1398047134","1398047135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f797f05430b64aae2bdca055e52ced1.jpg","text":"TemporaryFile(/tmp/multipartBody5934767429092997841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921104437,"filename":"image_31102025_19_05_09_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/5/2f5c89f4279f372aca4043a52bc7a843.jpg","text":"TemporaryFile(/tmp/multipartBody2805032081073682719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921104437,"filename":"image_31102025_19_05_21_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/5/0455ae167d6892976ecb2d26e7d45b17.jpg","text":"TemporaryFile(/tmp/multipartBody779241219185316624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921104437,"filename":"image_31102025_19_05_04_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/5/ba35c716a9e78d195331c515f656a415.jpg","text":"TemporaryFile(/tmp/multipartBody4403900016815898136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921104437,"filename":"image_31102025_19_05_19_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/5/b4b9832f29c4977bc72f2b308f9e76ef.jpg","text":"TemporaryFile(/tmp/multipartBody213326221008286846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921104437,"filename":"image_31102025_19_05_07_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/5/efa52f975fc506dba86ed52eeb647918.jpg","text":"TemporaryFile(/tmp/multipartBody6499828248375805939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921104437,"filename":"image_31102025_19_05_13_3950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398047132","file1":"1398047128","file0":"1398047120","file4":"1398047134","file5":"1398047135","file3":"1398047133"},"map_files_photo_id_array":[{"photo_id":"1398047135","filename":"file5"},{"photo_id":"1398047132","filename":"file2"},{"photo_id":"1398047134","filename":"file4"},{"photo_id":"1398047128","filename":"file1"},{"photo_id":"1398047120","filename":"file0"},{"photo_id":"1398047133","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398047132":["hashtag1","hashtag2"]},{"1398047135":["hashtag1","hashtag2"]},{"1398047120":["hashtag1","hashtag2"]},{"1398047134":["hashtag1","hashtag2"]},{"1398047128":["hashtag1","hashtag2"]},{"1398047133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398047132, 1398047135, 1398047120, 1398047134, 1398047128, 1398047133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33935475349426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 08:51:22.033382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/47/image_05122025_08_48_04_9767.jpg', '/home/pi/Desktop/images/05122025/08/48/image_05122025_08_48_15_10647.jpg', '/home/pi/Desktop/images/05122025/08/48/image_05122025_08_48_25_9746.jpg', '/home/pi/Desktop/images/05122025/08/48/image_05122025_08_48_35_9703.jpg', '/home/pi/Desktop/images/05122025/08/48/image_05122025_08_48_55_10685.jpg', '/home/pi/Desktop/images/05122025/08/49/image_05122025_08_49_14_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/47/image_05122025_08_48_04_9767.jpg
/home/pi/Desktop/images/05122025/08/48/image_05122025_08_48_15_10647.jpg
/home/pi/Desktop/images/05122025/08/48/image_05122025_08_48_25_9746.jpg
/home/pi/Desktop/images/05122025/08/48/image_05122025_08_48_35_9703.jpg
/home/pi/Desktop/images/05122025/08/48/image_05122025_08_48_55_10685.jpg
/home/pi/Desktop/images/05122025/08/49/image_05122025_08_49_14_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":["1398047142","1398047144","1398047138","1398047147","1398047140","1398047137"],"photo_ids_order":["1398047137","1398047138","1398047140","1398047142","1398047144","1398047147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9d7714173733a87e843389a9553ae9de.jpg","text":"TemporaryFile(/tmp/multipartBody5513712886972769101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921142761,"filename":"image_05122025_08_48_35_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/5/d01a1f997ac50286843f63f48033a11a.jpg","text":"TemporaryFile(/tmp/multipartBody682979073200484494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921142761,"filename":"image_05122025_08_48_55_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/5/2a3dc513b3c8914ad1ffb8df7a2dde3c.jpg","text":"TemporaryFile(/tmp/multipartBody6811948940550743833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921142761,"filename":"image_05122025_08_48_15_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/5/b045d306416ea48a14cb8eca20d52cc7.jpg","text":"TemporaryFile(/tmp/multipartBody2696793958421154432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921142761,"filename":"image_05122025_08_49_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/5/0f7b37735c5715beac43ea93809e3d27.jpg","text":"TemporaryFile(/tmp/multipartBody8935034133758274632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921142761,"filename":"image_05122025_08_48_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/5/a833aaabea6791f2348be904d2d6ff99.jpg","text":"TemporaryFile(/tmp/multipartBody2293396919903130176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921142761,"filename":"image_05122025_08_48_04_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398047140","file1":"1398047138","file0":"1398047137","file4":"1398047144","file5":"1398047147","file3":"1398047142"},"map_files_photo_id_array":[{"photo_id":"1398047147","filename":"file5"},{"photo_id":"1398047140","filename":"file2"},{"photo_id":"1398047144","filename":"file4"},{"photo_id":"1398047138","filename":"file1"},{"photo_id":"1398047137","filename":"file0"},{"photo_id":"1398047142","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398047142":["hashtag1","hashtag2"]},{"1398047144":["hashtag1","hashtag2"]},{"1398047138":["hashtag1","hashtag2"]},{"1398047147":["hashtag1","hashtag2"]},{"1398047140":["hashtag1","hashtag2"]},{"1398047137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398047142, 1398047144, 1398047138, 1398047147, 1398047140, 1398047137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.618183612823486 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-05 08:52:18.342112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/36/image_02122025_17_36_15_9740.jpg', '/home/pi/Desktop/images/02122025/17/36/image_02122025_17_36_24_9775.jpg', '/home/pi/Desktop/images/02122025/17/36/image_02122025_17_36_34_9726.jpg', '/home/pi/Desktop/images/02122025/17/36/image_02122025_17_36_44_9938.jpg', '/home/pi/Desktop/images/02122025/17/36/image_02122025_17_36_55_10776.jpg', '/home/pi/Desktop/images/02122025/17/36/image_02122025_17_37_05_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/36/image_02122025_17_36_15_9740.jpg
/home/pi/Desktop/images/02122025/17/36/image_02122025_17_36_24_9775.jpg
/home/pi/Desktop/images/02122025/17/36/image_02122025_17_36_34_9726.jpg
/home/pi/Desktop/images/02122025/17/36/image_02122025_17_36_44_9938.jpg
/home/pi/Desktop/images/02122025/17/36/image_02122025_17_36_55_10776.jpg
/home/pi/Desktop/images/02122025/17/36/image_02122025_17_37_05_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398047186","1398047282","1398047240","1398047324","1398047341","1398047344"],"photo_ids_order":["1398047186","1398047240","1398047282","1398047324","1398047341","1398047344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e9e9cbd6d624876b7d0e90e714c1c66.jpg","text":"TemporaryFile(/tmp/multipartBody7273458636016283682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921200318,"filename":"image_02122025_17_36_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/5/37401854427a01cb0993aaa9a11f419c.jpg","text":"TemporaryFile(/tmp/multipartBody4161316120075477217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921200318,"filename":"image_02122025_17_36_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/5/1c8149dc95bbbeb5e49455141962e7f8.jpg","text":"TemporaryFile(/tmp/multipartBody2023717081836257529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921200318,"filename":"image_02122025_17_36_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/5/6d827d647119240f14488ffac6730082.jpg","text":"TemporaryFile(/tmp/multipartBody3639485050976628315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921200318,"filename":"image_02122025_17_36_44_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/5/1e101c6bd020a350cff521fda721a5e4.jpg","text":"TemporaryFile(/tmp/multipartBody7859041018110840119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921200318,"filename":"image_02122025_17_36_55_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/5/a03a71fb17b5e9e08bb6cea3f3c91789.jpg","text":"TemporaryFile(/tmp/multipartBody2984205248337063362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921200318,"filename":"image_02122025_17_37_05_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398047282","file1":"1398047240","file0":"1398047186","file4":"1398047341","file5":"1398047344","file3":"1398047324"},"map_files_photo_id_array":[{"photo_id":"1398047344","filename":"file5"},{"photo_id":"1398047282","filename":"file2"},{"photo_id":"1398047341","filename":"file4"},{"photo_id":"1398047240","filename":"file1"},{"photo_id":"1398047186","filename":"file0"},{"photo_id":"1398047324","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398047186":["hashtag1","hashtag2"]},{"1398047282":["hashtag1","hashtag2"]},{"1398047240":["hashtag1","hashtag2"]},{"1398047324":["hashtag1","hashtag2"]},{"1398047341":["hashtag1","hashtag2"]},{"1398047344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398047186, 1398047282, 1398047240, 1398047324, 1398047341, 1398047344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.385252952575684 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-05 08:53:13.342406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 08:53:24.739818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/49/image_05122025_08_49_24_9750.jpg', '/home/pi/Desktop/images/05122025/08/49/image_05122025_08_49_35_10548.jpg', '/home/pi/Desktop/images/05122025/08/49/image_05122025_08_49_45_9794.jpg', '/home/pi/Desktop/images/05122025/08/49/image_05122025_08_49_54_9733.jpg', '/home/pi/Desktop/images/05122025/08/49/image_05122025_08_50_05_10789.jpg', '/home/pi/Desktop/images/05122025/08/50/image_05122025_08_50_15_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/49/image_05122025_08_49_24_9750.jpg
/home/pi/Desktop/images/05122025/08/49/image_05122025_08_49_35_10548.jpg
/home/pi/Desktop/images/05122025/08/49/image_05122025_08_49_45_9794.jpg
/home/pi/Desktop/images/05122025/08/49/image_05122025_08_49_54_9733.jpg
/home/pi/Desktop/images/05122025/08/49/image_05122025_08_50_05_10789.jpg
/home/pi/Desktop/images/05122025/08/50/image_05122025_08_50_15_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":["1398047448","1398047508","1398047579","1398047446","1398047475","1398047541"],"photo_ids_order":["1398047446","1398047448","1398047475","1398047508","1398047541","1398047579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/66d75fb3589d31de09875d38ad03ad3e.jpg","text":"TemporaryFile(/tmp/multipartBody426833092147694096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921265435,"filename":"image_05122025_08_49_35_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/5/e2834371ae52ccca9071492af74532ce.jpg","text":"TemporaryFile(/tmp/multipartBody4021123008142536646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921265435,"filename":"image_05122025_08_49_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b67d7a33d8ba95e67e336eb57bc54967.jpg","text":"TemporaryFile(/tmp/multipartBody8759790876885915987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921265435,"filename":"image_05122025_08_50_15_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/5/c4a3618a845cce45c2346e06a8c92b19.jpg","text":"TemporaryFile(/tmp/multipartBody869229557397311622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921265435,"filename":"image_05122025_08_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/5/94830fff7c1cdf228e9912f6a51e459c.jpg","text":"TemporaryFile(/tmp/multipartBody742759457787687800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921265435,"filename":"image_05122025_08_49_45_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/daea404e2009af6f752c3b385cbc260f.jpg","text":"TemporaryFile(/tmp/multipartBody4204051445719614103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921265435,"filename":"image_05122025_08_50_05_10789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398047475","file1":"1398047448","file0":"1398047446","file4":"1398047541","file5":"1398047579","file3":"1398047508"},"map_files_photo_id_array":[{"photo_id":"1398047579","filename":"file5"},{"photo_id":"1398047475","filename":"file2"},{"photo_id":"1398047541","filename":"file4"},{"photo_id":"1398047448","filename":"file1"},{"photo_id":"1398047446","filename":"file0"},{"photo_id":"1398047508","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398047448":["hashtag1","hashtag2"]},{"1398047508":["hashtag1","hashtag2"]},{"1398047579":["hashtag1","hashtag2"]},{"1398047446":["hashtag1","hashtag2"]},{"1398047475":["hashtag1","hashtag2"]},{"1398047541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398047448, 1398047508, 1398047579, 1398047446, 1398047475, 1398047541)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.14453148841858 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 08:54:12.725798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/37/image_02122025_17_37_14_9772.jpg', '/home/pi/Desktop/images/02122025/17/37/image_02122025_17_37_25_10633.jpg', '/home/pi/Desktop/images/02122025/17/37/image_02122025_17_37_35_9800.jpg', '/home/pi/Desktop/images/02122025/17/37/image_02122025_17_37_45_9703.jpg', '/home/pi/Desktop/images/02122025/17/37/image_02122025_17_37_54_9880.jpg', '/home/pi/Desktop/images/02122025/17/37/image_02122025_17_38_04_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/37/image_02122025_17_37_14_9772.jpg
/home/pi/Desktop/images/02122025/17/37/image_02122025_17_37_25_10633.jpg
/home/pi/Desktop/images/02122025/17/37/image_02122025_17_37_35_9800.jpg
/home/pi/Desktop/images/02122025/17/37/image_02122025_17_37_45_9703.jpg
/home/pi/Desktop/images/02122025/17/37/image_02122025_17_37_54_9880.jpg
/home/pi/Desktop/images/02122025/17/37/image_02122025_17_38_04_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":["1398047987","1398048094","1398047924","1398048127","1398048049","1398048177"],"photo_ids_order":["1398047924","1398047987","1398048049","1398048094","1398048127","1398048177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e11a0d47e5667010ff60c62983146cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3410251991922649824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921316333,"filename":"image_02122025_17_37_25_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/5/5faf71737e8474c844164ca261836ba9.jpg","text":"TemporaryFile(/tmp/multipartBody2324789344648141414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921316333,"filename":"image_02122025_17_37_45_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46d424a26396f9315086150f7a4615f5.jpg","text":"TemporaryFile(/tmp/multipartBody7813655740981835798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921316333,"filename":"image_02122025_17_37_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/5/aa953001e002c08f0de9f9c62f46eb3d.jpg","text":"TemporaryFile(/tmp/multipartBody1539480497910086361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921316333,"filename":"image_02122025_17_37_54_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ec0b6ccc5be27ec017e9d192d671a38d.jpg","text":"TemporaryFile(/tmp/multipartBody3777584880377384892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921316333,"filename":"image_02122025_17_37_35_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1695e69b914ea62fe36cd42e5ad9ae40.jpg","text":"TemporaryFile(/tmp/multipartBody4704163229191307814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921316333,"filename":"image_02122025_17_38_04_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398048049","file1":"1398047987","file0":"1398047924","file4":"1398048127","file5":"1398048177","file3":"1398048094"},"map_files_photo_id_array":[{"photo_id":"1398048177","filename":"file5"},{"photo_id":"1398048049","filename":"file2"},{"photo_id":"1398048127","filename":"file4"},{"photo_id":"1398047987","filename":"file1"},{"photo_id":"1398047924","filename":"file0"},{"photo_id":"1398048094","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398047987":["hashtag1","hashtag2"]},{"1398048094":["hashtag1","hashtag2"]},{"1398047924":["hashtag1","hashtag2"]},{"1398048127":["hashtag1","hashtag2"]},{"1398048049":["hashtag1","hashtag2"]},{"1398048177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398047987, 1398048094, 1398047924, 1398048127, 1398048049, 1398048177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.772026777267456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:55:02.503319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 08:55:11.832319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/38/image_02122025_17_38_15_10779.jpg', '/home/pi/Desktop/images/02122025/17/38/image_02122025_17_38_25_9716.jpg', '/home/pi/Desktop/images/02122025/17/38/image_02122025_17_38_44_9730.jpg', '/home/pi/Desktop/images/02122025/17/38/image_02122025_17_39_05_9735.jpg', '/home/pi/Desktop/images/02122025/17/39/image_02122025_17_39_15_9845.jpg', '/home/pi/Desktop/images/02122025/17/39/image_02122025_17_39_45_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/38/image_02122025_17_38_15_10779.jpg
/home/pi/Desktop/images/02122025/17/38/image_02122025_17_38_25_9716.jpg
/home/pi/Desktop/images/02122025/17/38/image_02122025_17_38_44_9730.jpg
/home/pi/Desktop/images/02122025/17/38/image_02122025_17_39_05_9735.jpg
/home/pi/Desktop/images/02122025/17/39/image_02122025_17_39_15_9845.jpg
/home/pi/Desktop/images/02122025/17/39/image_02122025_17_39_45_9882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398048350","1398048385","1398048370","1398048466","1398048418","1398048438"],"photo_ids_order":["1398048350","1398048370","1398048385","1398048418","1398048438","1398048466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/de71e0e3d65122e312e262356156196f.jpg","text":"TemporaryFile(/tmp/multipartBody3370895852147075233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921376672,"filename":"image_02122025_17_38_15_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/5/070f2d95d713c76a98b99c3b871133b7.jpg","text":"TemporaryFile(/tmp/multipartBody2241947560155318748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921376672,"filename":"image_02122025_17_38_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/5/717c3e50aa7866b15acc1920b68cd94b.jpg","text":"TemporaryFile(/tmp/multipartBody6794214386293829784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921376672,"filename":"image_02122025_17_38_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/5/c3e819c52d09553e464c3d140dc590e8.jpg","text":"TemporaryFile(/tmp/multipartBody525938836058657514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921376672,"filename":"image_02122025_17_39_45_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/5/b4c09cbfae550246255e5b5bd15bec11.jpg","text":"TemporaryFile(/tmp/multipartBody7020835521974529217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921376672,"filename":"image_02122025_17_39_05_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/108ebfca4a5048ced23e5abf51f1c778.jpg","text":"TemporaryFile(/tmp/multipartBody4764659454906472996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921376672,"filename":"image_02122025_17_39_15_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398048385","file1":"1398048370","file0":"1398048350","file4":"1398048438","file5":"1398048466","file3":"1398048418"},"map_files_photo_id_array":[{"photo_id":"1398048466","filename":"file5"},{"photo_id":"1398048385","filename":"file2"},{"photo_id":"1398048438","filename":"file4"},{"photo_id":"1398048370","filename":"file1"},{"photo_id":"1398048350","filename":"file0"},{"photo_id":"1398048418","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398048350":["hashtag1","hashtag2"]},{"1398048385":["hashtag1","hashtag2"]},{"1398048370":["hashtag1","hashtag2"]},{"1398048466":["hashtag1","hashtag2"]},{"1398048418":["hashtag1","hashtag2"]},{"1398048438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398048350, 1398048385, 1398048370, 1398048466, 1398048418, 1398048438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.68870568275452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:56:02.844694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 08:56:12.435323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/39/image_02122025_17_39_55_9730.jpg', '/home/pi/Desktop/images/02122025/17/40/image_02122025_17_40_14_10044.jpg', '/home/pi/Desktop/images/02122025/17/40/image_02122025_17_40_25_10623.jpg', '/home/pi/Desktop/images/02122025/17/40/image_02122025_17_40_35_10321.jpg', '/home/pi/Desktop/images/02122025/17/40/image_02122025_17_40_45_9787.jpg', '/home/pi/Desktop/images/02122025/17/41/image_02122025_17_41_03_17690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/39/image_02122025_17_39_55_9730.jpg
/home/pi/Desktop/images/02122025/17/40/image_02122025_17_40_14_10044.jpg
/home/pi/Desktop/images/02122025/17/40/image_02122025_17_40_25_10623.jpg
/home/pi/Desktop/images/02122025/17/40/image_02122025_17_40_35_10321.jpg
/home/pi/Desktop/images/02122025/17/40/image_02122025_17_40_45_9787.jpg
/home/pi/Desktop/images/02122025/17/41/image_02122025_17_41_03_17690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398048803","1398049045","1398048976","1398048916","1398048855","1398048762"],"photo_ids_order":["1398048762","1398048803","1398048855","1398048916","1398048976","1398049045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d25a09b67e6b439005af2a490cbd53f.jpg","text":"TemporaryFile(/tmp/multipartBody6371857855846989021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921434509,"filename":"image_02122025_17_40_14_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/5/819266143d5a351072a59bd2c5eec315.jpg","text":"TemporaryFile(/tmp/multipartBody8262069282425765414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921434509,"filename":"image_02122025_17_41_03_17690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f3a67abf1253d5372f7aba96cf818c2.jpg","text":"TemporaryFile(/tmp/multipartBody2940427974219134952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921434509,"filename":"image_02122025_17_40_45_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f4ee613cc9d7ba4e3b5a65a9c81f8f3.jpg","text":"TemporaryFile(/tmp/multipartBody5417764240701402139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921434509,"filename":"image_02122025_17_40_35_10321.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01ea029575c959a249a04f790e0be5d3.jpg","text":"TemporaryFile(/tmp/multipartBody2541364541588244215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921434509,"filename":"image_02122025_17_40_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/5/1b9b845482bc6e1ce0f3a256d9989a63.jpg","text":"TemporaryFile(/tmp/multipartBody5591422449347169301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921434509,"filename":"image_02122025_17_39_55_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398048855","file1":"1398048803","file0":"1398048762","file4":"1398048976","file5":"1398049045","file3":"1398048916"},"map_files_photo_id_array":[{"photo_id":"1398049045","filename":"file5"},{"photo_id":"1398048855","filename":"file2"},{"photo_id":"1398048976","filename":"file4"},{"photo_id":"1398048803","filename":"file1"},{"photo_id":"1398048762","filename":"file0"},{"photo_id":"1398048916","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398048803":["hashtag1","hashtag2"]},{"1398049045":["hashtag1","hashtag2"]},{"1398048976":["hashtag1","hashtag2"]},{"1398048916":["hashtag1","hashtag2"]},{"1398048855":["hashtag1","hashtag2"]},{"1398048762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398048803, 1398049045, 1398048976, 1398048916, 1398048855, 1398048762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19637989997864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 08:57:02.837154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/50/image_05122025_08_50_25_9671.jpg', '/home/pi/Desktop/images/05122025/08/50/image_05122025_08_50_34_9687.jpg', '/home/pi/Desktop/images/05122025/08/50/image_05122025_08_50_45_10633.jpg', '/home/pi/Desktop/images/05122025/08/50/image_05122025_08_50_55_9663.jpg', '/home/pi/Desktop/images/05122025/08/50/image_05122025_08_51_04_9632.jpg', '/home/pi/Desktop/images/05122025/08/51/image_05122025_08_51_15_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/50/image_05122025_08_50_25_9671.jpg
/home/pi/Desktop/images/05122025/08/50/image_05122025_08_50_34_9687.jpg
/home/pi/Desktop/images/05122025/08/50/image_05122025_08_50_45_10633.jpg
/home/pi/Desktop/images/05122025/08/50/image_05122025_08_50_55_9663.jpg
/home/pi/Desktop/images/05122025/08/50/image_05122025_08_51_04_9632.jpg
/home/pi/Desktop/images/05122025/08/51/image_05122025_08_51_15_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":["1398049270","1398049300","1398049233","1398049227","1398049302","1398049298"],"photo_ids_order":["1398049227","1398049233","1398049270","1398049298","1398049300","1398049302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c471b2e351498ad89a253ee890f34e3f.jpg","text":"TemporaryFile(/tmp/multipartBody8287404620947546181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921483635,"filename":"image_05122025_08_50_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/5/011ff57b5d02c67c57f9da61aa60ffee.jpg","text":"TemporaryFile(/tmp/multipartBody1018260071184756871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921483635,"filename":"image_05122025_08_51_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4e3b4b93980a8683e37e29fb5e04ac7.jpg","text":"TemporaryFile(/tmp/multipartBody2385056154048921240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921483635,"filename":"image_05122025_08_50_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/5/9b35873d5a2c37c1e0f6780025f938ed.jpg","text":"TemporaryFile(/tmp/multipartBody6866944725883986167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921483635,"filename":"image_05122025_08_50_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/5/13bac4b835499d384d6a7dcdbc9ecff3.jpg","text":"TemporaryFile(/tmp/multipartBody22056831836539238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921483635,"filename":"image_05122025_08_51_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/5/1d44b5bf7af684f4efd445da4dec1680.jpg","text":"TemporaryFile(/tmp/multipartBody8209897984522293753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921483635,"filename":"image_05122025_08_50_55_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398049270","file1":"1398049233","file0":"1398049227","file4":"1398049300","file5":"1398049302","file3":"1398049298"},"map_files_photo_id_array":[{"photo_id":"1398049302","filename":"file5"},{"photo_id":"1398049270","filename":"file2"},{"photo_id":"1398049300","filename":"file4"},{"photo_id":"1398049233","filename":"file1"},{"photo_id":"1398049227","filename":"file0"},{"photo_id":"1398049298","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398049270":["hashtag1","hashtag2"]},{"1398049300":["hashtag1","hashtag2"]},{"1398049233":["hashtag1","hashtag2"]},{"1398049227":["hashtag1","hashtag2"]},{"1398049302":["hashtag1","hashtag2"]},{"1398049298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398049270, 1398049300, 1398049233, 1398049227, 1398049302, 1398049298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65929698944092 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-05 08:59:03.526099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/51/image_05122025_08_51_25_9737.jpg', '/home/pi/Desktop/images/05122025/08/51/image_05122025_08_51_34_9646.jpg', '/home/pi/Desktop/images/05122025/08/51/image_05122025_08_51_45_10857.jpg', '/home/pi/Desktop/images/05122025/08/51/image_05122025_08_51_55_9643.jpg', '/home/pi/Desktop/images/05122025/08/51/image_05122025_08_52_04_9728.jpg', '/home/pi/Desktop/images/05122025/08/52/image_05122025_08_52_25_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/51/image_05122025_08_51_25_9737.jpg
/home/pi/Desktop/images/05122025/08/51/image_05122025_08_51_34_9646.jpg
/home/pi/Desktop/images/05122025/08/51/image_05122025_08_51_45_10857.jpg
/home/pi/Desktop/images/05122025/08/51/image_05122025_08_51_55_9643.jpg
/home/pi/Desktop/images/05122025/08/51/image_05122025_08_52_04_9728.jpg
/home/pi/Desktop/images/05122025/08/52/image_05122025_08_52_25_10707.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":["1398049456","1398049458","1398049452","1398049446","1398049454","1398049451"],"photo_ids_order":["1398049446","1398049451","1398049452","1398049454","1398049456","1398049458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f1ad716d72715d184f43cf7e68dd90a2.jpg","text":"TemporaryFile(/tmp/multipartBody3587668714654227840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921604417,"filename":"image_05122025_08_52_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/603dc7eb19feed8768fa907fb532b524.jpg","text":"TemporaryFile(/tmp/multipartBody9005624993470274520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921604417,"filename":"image_05122025_08_52_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/5/d713ac7dc29a4f009156a401eeed5784.jpg","text":"TemporaryFile(/tmp/multipartBody1268994321134306595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921604417,"filename":"image_05122025_08_51_45_10857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e12f7613dfb8bba2d3218521e5c0144a.jpg","text":"TemporaryFile(/tmp/multipartBody8320240972029756987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921604417,"filename":"image_05122025_08_51_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/5/3026a0953dd448e410c12a2b09fc9236.jpg","text":"TemporaryFile(/tmp/multipartBody2596386998272266523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921604417,"filename":"image_05122025_08_51_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/30820e8cf5ffbdb0c739961b5b95f3d5.jpg","text":"TemporaryFile(/tmp/multipartBody3659805394023743936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921604417,"filename":"image_05122025_08_51_34_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398049452","file1":"1398049451","file0":"1398049446","file4":"1398049456","file5":"1398049458","file3":"1398049454"},"map_files_photo_id_array":[{"photo_id":"1398049458","filename":"file5"},{"photo_id":"1398049452","filename":"file2"},{"photo_id":"1398049456","filename":"file4"},{"photo_id":"1398049451","filename":"file1"},{"photo_id":"1398049446","filename":"file0"},{"photo_id":"1398049454","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398049456":["hashtag1","hashtag2"]},{"1398049458":["hashtag1","hashtag2"]},{"1398049452":["hashtag1","hashtag2"]},{"1398049446":["hashtag1","hashtag2"]},{"1398049454":["hashtag1","hashtag2"]},{"1398049451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398049456, 1398049458, 1398049452, 1398049446, 1398049454, 1398049451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.496182680130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:00:03.216545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/52/image_05122025_08_52_35_9643.jpg', '/home/pi/Desktop/images/05122025/08/52/image_05122025_08_52_44_9740.jpg', '/home/pi/Desktop/images/05122025/08/52/image_05122025_08_53_05_9793.jpg', '/home/pi/Desktop/images/05122025/08/53/image_05122025_08_53_15_10248.jpg', '/home/pi/Desktop/images/05122025/08/53/image_05122025_08_53_35_9630.jpg', '/home/pi/Desktop/images/05122025/08/53/image_05122025_08_53_44_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/52/image_05122025_08_52_35_9643.jpg
/home/pi/Desktop/images/05122025/08/52/image_05122025_08_52_44_9740.jpg
/home/pi/Desktop/images/05122025/08/52/image_05122025_08_53_05_9793.jpg
/home/pi/Desktop/images/05122025/08/53/image_05122025_08_53_15_10248.jpg
/home/pi/Desktop/images/05122025/08/53/image_05122025_08_53_35_9630.jpg
/home/pi/Desktop/images/05122025/08/53/image_05122025_08_53_44_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":["1398049811","1398049774","1398049741","1398049636","1398049671","1398049707"],"photo_ids_order":["1398049636","1398049671","1398049707","1398049741","1398049774","1398049811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b1dc375dd9cc4c626dfa3c920fbeaae4.jpg","text":"TemporaryFile(/tmp/multipartBody8579345750200326023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921664015,"filename":"image_05122025_08_53_44_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e38c3a36f3137a0a94c2f9bb5b850b10.jpg","text":"TemporaryFile(/tmp/multipartBody1187940500825806933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921664015,"filename":"image_05122025_08_53_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/5/6aee7d387ae4b5e4e8263c3bd57ee054.jpg","text":"TemporaryFile(/tmp/multipartBody2694419038384955178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921664015,"filename":"image_05122025_08_53_15_10248.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/435d5b106ddbf4df39e74e2210c1e2a3.jpg","text":"TemporaryFile(/tmp/multipartBody8330640626607105747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921664015,"filename":"image_05122025_08_52_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/5/197c742ea99e5c4c4f86d13892f9067a.jpg","text":"TemporaryFile(/tmp/multipartBody2311437148387895846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921664015,"filename":"image_05122025_08_52_44_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/5/73823bc128a6a3c829e1157d840c6349.jpg","text":"TemporaryFile(/tmp/multipartBody9078720541123800771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921664015,"filename":"image_05122025_08_53_05_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398049707","file1":"1398049671","file0":"1398049636","file4":"1398049774","file5":"1398049811","file3":"1398049741"},"map_files_photo_id_array":[{"photo_id":"1398049811","filename":"file5"},{"photo_id":"1398049707","filename":"file2"},{"photo_id":"1398049774","filename":"file4"},{"photo_id":"1398049671","filename":"file1"},{"photo_id":"1398049636","filename":"file0"},{"photo_id":"1398049741","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398049811":["hashtag1","hashtag2"]},{"1398049774":["hashtag1","hashtag2"]},{"1398049741":["hashtag1","hashtag2"]},{"1398049636":["hashtag1","hashtag2"]},{"1398049671":["hashtag1","hashtag2"]},{"1398049707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398049811, 1398049774, 1398049741, 1398049636, 1398049671, 1398049707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50925254821777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:00:42.821189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_28_2551.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_30_2690.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_34_3597.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_37_2658.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_39_2672.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_43_3773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_28_2551.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_30_2690.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_34_3597.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_37_2658.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_39_2672.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_43_3773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398050054","1398049945","1398050017","1398050131","1398049980","1398050097"],"photo_ids_order":["1398049945","1398049980","1398050017","1398050054","1398050097","1398050131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87a348dcbd6059fa23a083500e364e19.jpg","text":"TemporaryFile(/tmp/multipartBody1455229471089116160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921704447,"filename":"image_31102025_19_05_37_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/5/55938943e6f06dedf73a7d6be6829c22.jpg","text":"TemporaryFile(/tmp/multipartBody2630892469748684172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921704447,"filename":"image_31102025_19_05_28_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/5/f69cfa844fe8ea9d59d27a45ca0f17db.jpg","text":"TemporaryFile(/tmp/multipartBody7664573884278122460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921704447,"filename":"image_31102025_19_05_34_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/5/67c2d4f44a810c9cc525fb37b2f0a065.jpg","text":"TemporaryFile(/tmp/multipartBody2283345786384583005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921704447,"filename":"image_31102025_19_05_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/5/cee399d44cee3bba988510b243aaf08f.jpg","text":"TemporaryFile(/tmp/multipartBody6008452460833325842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921704447,"filename":"image_31102025_19_05_30_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/5/a29b05d7a277dc129e06d7efe2962ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3806529465288728673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921704447,"filename":"image_31102025_19_05_39_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398050017","file1":"1398049980","file0":"1398049945","file4":"1398050097","file5":"1398050131","file3":"1398050054"},"map_files_photo_id_array":[{"photo_id":"1398050131","filename":"file5"},{"photo_id":"1398050017","filename":"file2"},{"photo_id":"1398050097","filename":"file4"},{"photo_id":"1398049980","filename":"file1"},{"photo_id":"1398049945","filename":"file0"},{"photo_id":"1398050054","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398050054":["hashtag1","hashtag2"]},{"1398049945":["hashtag1","hashtag2"]},{"1398050017":["hashtag1","hashtag2"]},{"1398050131":["hashtag1","hashtag2"]},{"1398049980":["hashtag1","hashtag2"]},{"1398050097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398050054, 1398049945, 1398050017, 1398050131, 1398049980, 1398050097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22538185119629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:01:32.015319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/41/image_02122025_17_41_15_10608.jpg', '/home/pi/Desktop/images/02122025/17/41/image_02122025_17_41_25_9750.jpg', '/home/pi/Desktop/images/02122025/17/41/image_02122025_17_41_44_9658.jpg', '/home/pi/Desktop/images/02122025/17/41/image_02122025_17_41_55_10803.jpg', '/home/pi/Desktop/images/02122025/17/41/image_02122025_17_42_05_9593.jpg', '/home/pi/Desktop/images/02122025/17/42/image_02122025_17_42_14_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/41/image_02122025_17_41_15_10608.jpg
/home/pi/Desktop/images/02122025/17/41/image_02122025_17_41_25_9750.jpg
/home/pi/Desktop/images/02122025/17/41/image_02122025_17_41_44_9658.jpg
/home/pi/Desktop/images/02122025/17/41/image_02122025_17_41_55_10803.jpg
/home/pi/Desktop/images/02122025/17/41/image_02122025_17_42_05_9593.jpg
/home/pi/Desktop/images/02122025/17/42/image_02122025_17_42_14_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398050315","1398050278","1398050350","1398050242","1398050385","1398050205"],"photo_ids_order":["1398050205","1398050242","1398050278","1398050315","1398050350","1398050385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/44671a48d57676a13355dcda6a7470b6.jpg","text":"TemporaryFile(/tmp/multipartBody5912155582511593850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921754244,"filename":"image_02122025_17_41_55_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/5/7b665520c0d4f6ef848b7c5e246a5f02.jpg","text":"TemporaryFile(/tmp/multipartBody344257404362363729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921754244,"filename":"image_02122025_17_41_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/42ad55d9cb2117493c7765a1e2855811.jpg","text":"TemporaryFile(/tmp/multipartBody3063155942830930829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921754244,"filename":"image_02122025_17_42_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/5/4751a16154affb3ba21e6a50802f10ef.jpg","text":"TemporaryFile(/tmp/multipartBody3548965535149539037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921754244,"filename":"image_02122025_17_41_25_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/5/8e99df61eb4442b8b3db5225987a4f02.jpg","text":"TemporaryFile(/tmp/multipartBody2705595012565616648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921754244,"filename":"image_02122025_17_42_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/5/ba7c726e4fee9bde258d20b9ea25fa48.jpg","text":"TemporaryFile(/tmp/multipartBody8011895082541271957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921754244,"filename":"image_02122025_17_41_15_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398050278","file1":"1398050242","file0":"1398050205","file4":"1398050350","file5":"1398050385","file3":"1398050315"},"map_files_photo_id_array":[{"photo_id":"1398050385","filename":"file5"},{"photo_id":"1398050278","filename":"file2"},{"photo_id":"1398050350","filename":"file4"},{"photo_id":"1398050242","filename":"file1"},{"photo_id":"1398050205","filename":"file0"},{"photo_id":"1398050315","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398050315":["hashtag1","hashtag2"]},{"1398050278":["hashtag1","hashtag2"]},{"1398050350":["hashtag1","hashtag2"]},{"1398050242":["hashtag1","hashtag2"]},{"1398050385":["hashtag1","hashtag2"]},{"1398050205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398050315, 1398050278, 1398050350, 1398050242, 1398050385, 1398050205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.140294551849365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:02:12.146760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/42/image_02122025_17_42_25_10640.jpg', '/home/pi/Desktop/images/02122025/17/42/image_02122025_17_42_35_9706.jpg', '/home/pi/Desktop/images/02122025/17/42/image_02122025_17_42_45_10214.jpg', '/home/pi/Desktop/images/02122025/17/42/image_02122025_17_42_55_10051.jpg', '/home/pi/Desktop/images/02122025/17/42/image_02122025_17_43_05_9708.jpg', '/home/pi/Desktop/images/02122025/17/43/image_02122025_17_43_15_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/42/image_02122025_17_42_25_10640.jpg
/home/pi/Desktop/images/02122025/17/42/image_02122025_17_42_35_9706.jpg
/home/pi/Desktop/images/02122025/17/42/image_02122025_17_42_45_10214.jpg
/home/pi/Desktop/images/02122025/17/42/image_02122025_17_42_55_10051.jpg
/home/pi/Desktop/images/02122025/17/42/image_02122025_17_43_05_9708.jpg
/home/pi/Desktop/images/02122025/17/43/image_02122025_17_43_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":["1398050635","1398050778","1398050701","1398050865","1398050829","1398050901"],"photo_ids_order":["1398050635","1398050701","1398050778","1398050829","1398050865","1398050901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95b8f02b6a413ecbbc033bb15ed6c3b0.jpg","text":"TemporaryFile(/tmp/multipartBody4263152703062250491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921794245,"filename":"image_02122025_17_42_25_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/5/f6b01925e1450290cf04050047de6bc1.jpg","text":"TemporaryFile(/tmp/multipartBody21453701241911204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921794245,"filename":"image_02122025_17_42_45_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/5/4dc0851f3a8b83c180d1575a1f301ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2168594001795611359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921794245,"filename":"image_02122025_17_42_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/5/d41a85fe1d901ca2c04e2a92bed78463.jpg","text":"TemporaryFile(/tmp/multipartBody7383640691865271876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921794245,"filename":"image_02122025_17_43_05_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/5/62961954cfbf02b5139e7c10eb54a17e.jpg","text":"TemporaryFile(/tmp/multipartBody6282509883072400208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921794245,"filename":"image_02122025_17_42_55_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/5/a0f47323c6bc40748ed7413b6fa85860.jpg","text":"TemporaryFile(/tmp/multipartBody2375495902731011431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921794245,"filename":"image_02122025_17_43_15_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398050778","file1":"1398050701","file0":"1398050635","file4":"1398050865","file5":"1398050901","file3":"1398050829"},"map_files_photo_id_array":[{"photo_id":"1398050901","filename":"file5"},{"photo_id":"1398050778","filename":"file2"},{"photo_id":"1398050865","filename":"file4"},{"photo_id":"1398050701","filename":"file1"},{"photo_id":"1398050635","filename":"file0"},{"photo_id":"1398050829","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398050635":["hashtag1","hashtag2"]},{"1398050778":["hashtag1","hashtag2"]},{"1398050701":["hashtag1","hashtag2"]},{"1398050865":["hashtag1","hashtag2"]},{"1398050829":["hashtag1","hashtag2"]},{"1398050901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398050635, 1398050778, 1398050701, 1398050865, 1398050829, 1398050901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.860889196395874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:03:03.074318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/53/image_05122025_08_53_55_10705.jpg', '/home/pi/Desktop/images/05122025/08/54/image_05122025_08_54_25_9768.jpg', '/home/pi/Desktop/images/05122025/08/54/image_05122025_08_54_35_9690.jpg', '/home/pi/Desktop/images/05122025/08/54/image_05122025_08_54_44_9651.jpg', '/home/pi/Desktop/images/05122025/08/54/image_05122025_08_54_55_10659.jpg', '/home/pi/Desktop/images/05122025/08/55/image_05122025_08_55_14_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/53/image_05122025_08_53_55_10705.jpg
/home/pi/Desktop/images/05122025/08/54/image_05122025_08_54_25_9768.jpg
/home/pi/Desktop/images/05122025/08/54/image_05122025_08_54_35_9690.jpg
/home/pi/Desktop/images/05122025/08/54/image_05122025_08_54_44_9651.jpg
/home/pi/Desktop/images/05122025/08/54/image_05122025_08_54_55_10659.jpg
/home/pi/Desktop/images/05122025/08/55/image_05122025_08_55_14_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398051277","1398051343","1398051205","1398051240","1398051345","1398051315"],"photo_ids_order":["1398051205","1398051240","1398051277","1398051315","1398051343","1398051345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a2283ac16dadf5d38cefa90e7f452e68.jpg","text":"TemporaryFile(/tmp/multipartBody3160780335402895752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921843829,"filename":"image_05122025_08_54_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/5/18deaaa99da5b4a0cfd8a17eeb418bb9.jpg","text":"TemporaryFile(/tmp/multipartBody3930022034702130486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921843829,"filename":"image_05122025_08_54_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/5/2d439a62a3ff0bad52eaa380d943fe9b.jpg","text":"TemporaryFile(/tmp/multipartBody7623578870310831990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921843829,"filename":"image_05122025_08_53_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/5/bcb5338ff6cb0de0f890d1d2cb67e5b1.jpg","text":"TemporaryFile(/tmp/multipartBody3449765814820114697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921843829,"filename":"image_05122025_08_54_25_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/5/81a628fdf6a0dbe716fa3f15b1ecf795.jpg","text":"TemporaryFile(/tmp/multipartBody3036097516859277718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921843829,"filename":"image_05122025_08_55_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/5/f054b347c53c9920d02c69ef94fd4d51.jpg","text":"TemporaryFile(/tmp/multipartBody9059985602806213164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921843829,"filename":"image_05122025_08_54_44_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398051277","file1":"1398051240","file0":"1398051205","file4":"1398051343","file5":"1398051345","file3":"1398051315"},"map_files_photo_id_array":[{"photo_id":"1398051345","filename":"file5"},{"photo_id":"1398051277","filename":"file2"},{"photo_id":"1398051343","filename":"file4"},{"photo_id":"1398051240","filename":"file1"},{"photo_id":"1398051205","filename":"file0"},{"photo_id":"1398051315","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398051277":["hashtag1","hashtag2"]},{"1398051343":["hashtag1","hashtag2"]},{"1398051205":["hashtag1","hashtag2"]},{"1398051240":["hashtag1","hashtag2"]},{"1398051345":["hashtag1","hashtag2"]},{"1398051315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398051277, 1398051343, 1398051205, 1398051240, 1398051345, 1398051315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52746105194092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:03:42.306254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_46_2553.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_48_2650.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_52_3579.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_54_2652.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_57_2782.jpg', '/home/pi/Desktop/images/31102025/19/05/image_31102025_19_06_01_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_46_2553.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_48_2650.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_52_3579.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_54_2652.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_05_57_2782.jpg
/home/pi/Desktop/images/31102025/19/05/image_31102025_19_06_01_3569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398051475","1398051559","1398051684","1398051642","1398051609","1398051512"],"photo_ids_order":["1398051475","1398051512","1398051559","1398051609","1398051642","1398051684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f0cfa3e285411b98c6bb3da7008556bb.jpg","text":"TemporaryFile(/tmp/multipartBody6179668596231794690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921883950,"filename":"image_31102025_19_05_46_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/5/10250fc6d190848e155d92f1d7702c99.jpg","text":"TemporaryFile(/tmp/multipartBody1542644213821451558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921883950,"filename":"image_31102025_19_05_52_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f8ed5a31c0892c1240112554ea4413e1.jpg","text":"TemporaryFile(/tmp/multipartBody4207683517005261501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921883950,"filename":"image_31102025_19_06_01_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c41c94e0f6ad162d5eb5ee1a28aedc62.jpg","text":"TemporaryFile(/tmp/multipartBody6706504623837474938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921883950,"filename":"image_31102025_19_05_57_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/5/3921cb854cb25128f5e0a1c70b1630ed.jpg","text":"TemporaryFile(/tmp/multipartBody2474483631568288758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921883950,"filename":"image_31102025_19_05_54_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/5/d3bc1d78fc03c2c40d1ac3a72847a152.jpg","text":"TemporaryFile(/tmp/multipartBody3318987725827040305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921883950,"filename":"image_31102025_19_05_48_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398051559","file1":"1398051512","file0":"1398051475","file4":"1398051642","file5":"1398051684","file3":"1398051609"},"map_files_photo_id_array":[{"photo_id":"1398051684","filename":"file5"},{"photo_id":"1398051559","filename":"file2"},{"photo_id":"1398051642","filename":"file4"},{"photo_id":"1398051512","filename":"file1"},{"photo_id":"1398051475","filename":"file0"},{"photo_id":"1398051609","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398051475":["hashtag1","hashtag2"]},{"1398051559":["hashtag1","hashtag2"]},{"1398051684":["hashtag1","hashtag2"]},{"1398051642":["hashtag1","hashtag2"]},{"1398051609":["hashtag1","hashtag2"]},{"1398051512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398051475, 1398051559, 1398051684, 1398051642, 1398051609, 1398051512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06807494163513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:04:22.458173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/55/image_05122025_08_55_25_10662.jpg', '/home/pi/Desktop/images/05122025/08/55/image_05122025_08_55_45_10651.jpg', '/home/pi/Desktop/images/05122025/08/55/image_05122025_08_55_55_9716.jpg', '/home/pi/Desktop/images/05122025/08/55/image_05122025_08_56_05_10260.jpg', '/home/pi/Desktop/images/05122025/08/56/image_05122025_08_56_15_9686.jpg', '/home/pi/Desktop/images/05122025/08/56/image_05122025_08_56_34_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/55/image_05122025_08_55_25_10662.jpg
/home/pi/Desktop/images/05122025/08/55/image_05122025_08_55_45_10651.jpg
/home/pi/Desktop/images/05122025/08/55/image_05122025_08_55_55_9716.jpg
/home/pi/Desktop/images/05122025/08/55/image_05122025_08_56_05_10260.jpg
/home/pi/Desktop/images/05122025/08/56/image_05122025_08_56_15_9686.jpg
/home/pi/Desktop/images/05122025/08/56/image_05122025_08_56_34_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398052024","1398051871","1398051946","1398052110","1398052192","1398052267"],"photo_ids_order":["1398051871","1398051946","1398052024","1398052110","1398052192","1398052267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e4fee9c43581148bad6a47d40aaa1cf.jpg","text":"TemporaryFile(/tmp/multipartBody4549507840269217617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921923217,"filename":"image_05122025_08_55_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/5/b13ef97ca1a114b791f2ec8b7aec9ba2.jpg","text":"TemporaryFile(/tmp/multipartBody403915144731937419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921923217,"filename":"image_05122025_08_55_25_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/5/07f8de728be1541c315578bbe4b9358f.jpg","text":"TemporaryFile(/tmp/multipartBody2642311703691728809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921923217,"filename":"image_05122025_08_55_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/5/c9c0e3c4954deb5c8d80cafe20183a02.jpg","text":"TemporaryFile(/tmp/multipartBody5712705078211711454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921923217,"filename":"image_05122025_08_56_05_10260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac2f4a28819647ab15e70bcd2dab5561.jpg","text":"TemporaryFile(/tmp/multipartBody4891930286370680936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921923217,"filename":"image_05122025_08_56_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/5/5fa7e18116c95b314035d5e90355a33a.jpg","text":"TemporaryFile(/tmp/multipartBody343450987806587246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921923217,"filename":"image_05122025_08_56_34_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398052024","file1":"1398051946","file0":"1398051871","file4":"1398052192","file5":"1398052267","file3":"1398052110"},"map_files_photo_id_array":[{"photo_id":"1398052267","filename":"file5"},{"photo_id":"1398052024","filename":"file2"},{"photo_id":"1398052192","filename":"file4"},{"photo_id":"1398051946","filename":"file1"},{"photo_id":"1398051871","filename":"file0"},{"photo_id":"1398052110","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398052024":["hashtag1","hashtag2"]},{"1398051871":["hashtag1","hashtag2"]},{"1398051946":["hashtag1","hashtag2"]},{"1398052110":["hashtag1","hashtag2"]},{"1398052192":["hashtag1","hashtag2"]},{"1398052267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398052024, 1398051871, 1398051946, 1398052110, 1398052192, 1398052267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43441033363342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:05:03.379373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/57/image_05122025_08_57_24_9620.jpg', '/home/pi/Desktop/images/05122025/08/57/image_05122025_08_57_35_10640.jpg', '/home/pi/Desktop/images/05122025/08/57/image_05122025_08_57_45_9455.jpg', '/home/pi/Desktop/images/05122025/08/57/image_05122025_08_57_55_10602.jpg', '/home/pi/Desktop/images/05122025/08/57/image_05122025_08_58_05_9773.jpg', '/home/pi/Desktop/images/05122025/08/58/image_05122025_08_58_14_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/57/image_05122025_08_57_24_9620.jpg
/home/pi/Desktop/images/05122025/08/57/image_05122025_08_57_35_10640.jpg
/home/pi/Desktop/images/05122025/08/57/image_05122025_08_57_45_9455.jpg
/home/pi/Desktop/images/05122025/08/57/image_05122025_08_57_55_10602.jpg
/home/pi/Desktop/images/05122025/08/57/image_05122025_08_58_05_9773.jpg
/home/pi/Desktop/images/05122025/08/58/image_05122025_08_58_14_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398052456","1398052357","1398052312","1398052320","1398052404","1398052442"],"photo_ids_order":["1398052312","1398052320","1398052357","1398052404","1398052442","1398052456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ec6a3dbbe44279ef944796a142df5887.jpg","text":"TemporaryFile(/tmp/multipartBody1775971597882433529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921964077,"filename":"image_05122025_08_58_14_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5422af8d80e41d1ece37a142b8e4cab6.jpg","text":"TemporaryFile(/tmp/multipartBody8948094818502266344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921964077,"filename":"image_05122025_08_57_45_9455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e605cab296900f4f9bfc1be75fa3cdd.jpg","text":"TemporaryFile(/tmp/multipartBody7642648663246755414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921964077,"filename":"image_05122025_08_57_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/5/6db3698741fcef76db7a5cc87e90156e.jpg","text":"TemporaryFile(/tmp/multipartBody6308236893964862033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921964077,"filename":"image_05122025_08_57_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/5/9bc61264ff4f140c6b0170796c2a2536.jpg","text":"TemporaryFile(/tmp/multipartBody198294910668507374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921964077,"filename":"image_05122025_08_57_55_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/5/eba7719c9f38b2739782a4448ba5ebed.jpg","text":"TemporaryFile(/tmp/multipartBody6116207307065155674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764921964077,"filename":"image_05122025_08_58_05_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398052357","file1":"1398052320","file0":"1398052312","file4":"1398052442","file5":"1398052456","file3":"1398052404"},"map_files_photo_id_array":[{"photo_id":"1398052456","filename":"file5"},{"photo_id":"1398052357","filename":"file2"},{"photo_id":"1398052442","filename":"file4"},{"photo_id":"1398052320","filename":"file1"},{"photo_id":"1398052312","filename":"file0"},{"photo_id":"1398052404","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398052456":["hashtag1","hashtag2"]},{"1398052357":["hashtag1","hashtag2"]},{"1398052312":["hashtag1","hashtag2"]},{"1398052320":["hashtag1","hashtag2"]},{"1398052404":["hashtag1","hashtag2"]},{"1398052442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398052456, 1398052357, 1398052312, 1398052320, 1398052404, 1398052442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83249855041504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:05:42.797706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_04_2835.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_07_3534.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_10_2632.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_13_2718.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_19_3552.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_22_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_04_2835.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_07_3534.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_10_2632.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_13_2718.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_19_3552.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_22_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398052534","1398052737","1398052572","1398052632","1398052529","1398052699"],"photo_ids_order":["1398052529","1398052534","1398052572","1398052632","1398052699","1398052737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2557cea9d34fab5c4c8215fe58523d12.jpg","text":"TemporaryFile(/tmp/multipartBody2070290934854830831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922004416,"filename":"image_31102025_19_06_07_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/308b0edb8486d274e190629e9455b022.jpg","text":"TemporaryFile(/tmp/multipartBody3875605660185959854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922004416,"filename":"image_31102025_19_06_22_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/5/609e90640f81295442b4f28866b6afb3.jpg","text":"TemporaryFile(/tmp/multipartBody4014589331833594850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922004416,"filename":"image_31102025_19_06_10_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/5/e5f73723e0fd2bb0e7f39b79320aded4.jpg","text":"TemporaryFile(/tmp/multipartBody4731081741954670086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922004416,"filename":"image_31102025_19_06_13_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/5/d1ecb5b9a01fec1973671a30f1a2f827.jpg","text":"TemporaryFile(/tmp/multipartBody2661964188750009179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922004416,"filename":"image_31102025_19_06_04_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/5/d8fd9007ee54a59eb282df96b8b00269.jpg","text":"TemporaryFile(/tmp/multipartBody878104551829272686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922004416,"filename":"image_31102025_19_06_19_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398052572","file1":"1398052534","file0":"1398052529","file4":"1398052699","file5":"1398052737","file3":"1398052632"},"map_files_photo_id_array":[{"photo_id":"1398052737","filename":"file5"},{"photo_id":"1398052572","filename":"file2"},{"photo_id":"1398052699","filename":"file4"},{"photo_id":"1398052534","filename":"file1"},{"photo_id":"1398052529","filename":"file0"},{"photo_id":"1398052632","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398052534":["hashtag1","hashtag2"]},{"1398052737":["hashtag1","hashtag2"]},{"1398052572":["hashtag1","hashtag2"]},{"1398052632":["hashtag1","hashtag2"]},{"1398052529":["hashtag1","hashtag2"]},{"1398052699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398052534, 1398052737, 1398052572, 1398052632, 1398052529, 1398052699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.069894552230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:06:21.965093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/08/58/image_05122025_08_58_25_10634.jpg', '/home/pi/Desktop/images/05122025/08/58/image_05122025_08_58_35_9976.jpg', '/home/pi/Desktop/images/05122025/08/58/image_05122025_08_58_45_9697.jpg', '/home/pi/Desktop/images/05122025/08/58/image_05122025_08_59_04_9702.jpg', '/home/pi/Desktop/images/05122025/08/59/image_05122025_08_59_25_9796.jpg', '/home/pi/Desktop/images/05122025/08/59/image_05122025_08_59_55_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/08/58/image_05122025_08_58_25_10634.jpg
/home/pi/Desktop/images/05122025/08/58/image_05122025_08_58_35_9976.jpg
/home/pi/Desktop/images/05122025/08/58/image_05122025_08_58_45_9697.jpg
/home/pi/Desktop/images/05122025/08/58/image_05122025_08_59_04_9702.jpg
/home/pi/Desktop/images/05122025/08/59/image_05122025_08_59_25_9796.jpg
/home/pi/Desktop/images/05122025/08/59/image_05122025_08_59_55_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":["1398053032","1398053085","1398052890","1398052953","1398053143","1398052996"],"photo_ids_order":["1398052890","1398052953","1398052996","1398053032","1398053085","1398053143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c500b121c5c2470e855e3437fd8da9e7.jpg","text":"TemporaryFile(/tmp/multipartBody4411757118849067670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922042629,"filename":"image_05122025_08_59_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/5/69166e9f4c444c0887b749176c4f9d99.jpg","text":"TemporaryFile(/tmp/multipartBody1314889442376146204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922042629,"filename":"image_05122025_08_59_25_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/5/173f4c31ee6107b12f1f186ac33f517e.jpg","text":"TemporaryFile(/tmp/multipartBody5563625088896395582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922042629,"filename":"image_05122025_08_58_25_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/5/c4632cceebd2e9253060540329159751.jpg","text":"TemporaryFile(/tmp/multipartBody8228400630088521422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922042629,"filename":"image_05122025_08_58_35_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7e9df43b9a8b13b72c36dabfb741300d.jpg","text":"TemporaryFile(/tmp/multipartBody167594575622291934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922042629,"filename":"image_05122025_08_59_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/5/8635c76bf0954c08eee818580c5ae93b.jpg","text":"TemporaryFile(/tmp/multipartBody731412315496648749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922042629,"filename":"image_05122025_08_58_45_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398052996","file1":"1398052953","file0":"1398052890","file4":"1398053085","file5":"1398053143","file3":"1398053032"},"map_files_photo_id_array":[{"photo_id":"1398053143","filename":"file5"},{"photo_id":"1398052996","filename":"file2"},{"photo_id":"1398053085","filename":"file4"},{"photo_id":"1398052953","filename":"file1"},{"photo_id":"1398052890","filename":"file0"},{"photo_id":"1398053032","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398053032":["hashtag1","hashtag2"]},{"1398053085":["hashtag1","hashtag2"]},{"1398052890":["hashtag1","hashtag2"]},{"1398052953":["hashtag1","hashtag2"]},{"1398053143":["hashtag1","hashtag2"]},{"1398052996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398053032, 1398053085, 1398052890, 1398052953, 1398053143, 1398052996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01992845535278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:07:02.903315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/00/image_05122025_09_00_15_10054.jpg', '/home/pi/Desktop/images/05122025/09/00/image_05122025_09_00_25_10709.jpg', '/home/pi/Desktop/images/05122025/09/00/image_05122025_09_00_35_9605.jpg', '/home/pi/Desktop/images/05122025/09/00/image_05122025_09_00_46_10566.jpg', '/home/pi/Desktop/images/05122025/09/00/image_05122025_09_00_55_9683.jpg', '/home/pi/Desktop/images/05122025/09/00/image_05122025_09_01_05_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/00/image_05122025_09_00_15_10054.jpg
/home/pi/Desktop/images/05122025/09/00/image_05122025_09_00_25_10709.jpg
/home/pi/Desktop/images/05122025/09/00/image_05122025_09_00_35_9605.jpg
/home/pi/Desktop/images/05122025/09/00/image_05122025_09_00_46_10566.jpg
/home/pi/Desktop/images/05122025/09/00/image_05122025_09_00_55_9683.jpg
/home/pi/Desktop/images/05122025/09/00/image_05122025_09_01_05_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398053583","1398053361","1398053441","1398053324","1398053510","1398053398"],"photo_ids_order":["1398053324","1398053361","1398053398","1398053441","1398053510","1398053583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ede596159fc486eb2e955e76f7cc825.jpg","text":"TemporaryFile(/tmp/multipartBody8536304764594052525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922083567,"filename":"image_05122025_09_01_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3544506762b3863df857012ad85566e7.jpg","text":"TemporaryFile(/tmp/multipartBody8816096345312959377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922083567,"filename":"image_05122025_09_00_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/5/4bd9496250b76658a204734d803c6c47.jpg","text":"TemporaryFile(/tmp/multipartBody6051729482073870665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922083567,"filename":"image_05122025_09_00_46_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/92bd76e0cc5c39301481b2dfc2152b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6174998280017626180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922083567,"filename":"image_05122025_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/5/b29481a241985fcd3667f0041b3ab7f0.jpg","text":"TemporaryFile(/tmp/multipartBody5757301924631757182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922083567,"filename":"image_05122025_09_00_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d85bc3855ec6196610420306adaaadf9.jpg","text":"TemporaryFile(/tmp/multipartBody5389076976173539860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922083567,"filename":"image_05122025_09_00_35_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398053398","file1":"1398053361","file0":"1398053324","file4":"1398053510","file5":"1398053583","file3":"1398053441"},"map_files_photo_id_array":[{"photo_id":"1398053583","filename":"file5"},{"photo_id":"1398053398","filename":"file2"},{"photo_id":"1398053510","filename":"file4"},{"photo_id":"1398053361","filename":"file1"},{"photo_id":"1398053324","filename":"file0"},{"photo_id":"1398053441","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398053583":["hashtag1","hashtag2"]},{"1398053361":["hashtag1","hashtag2"]},{"1398053441":["hashtag1","hashtag2"]},{"1398053324":["hashtag1","hashtag2"]},{"1398053510":["hashtag1","hashtag2"]},{"1398053398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398053583, 1398053361, 1398053441, 1398053324, 1398053510, 1398053398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13898253440857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:07:42.236596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_24_2739.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_28_3544.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_31_2691.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_37_3591.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_40_2786.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_42_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_24_2739.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_28_3544.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_31_2691.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_37_3591.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_40_2786.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_42_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":["1398053775","1398054018","1398053891","1398053969","1398053933","1398053833"],"photo_ids_order":["1398053775","1398053833","1398053891","1398053933","1398053969","1398054018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8a76dab9887c168847066a3f26426a52.jpg","text":"TemporaryFile(/tmp/multipartBody5286125346086613122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922123881,"filename":"image_31102025_19_06_24_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/5/a6cd3c551f381c6729d1a8e69670ed2e.jpg","text":"TemporaryFile(/tmp/multipartBody1737244437070139541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922123881,"filename":"image_31102025_19_06_42_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/5/cbc63f00b84570088c952eea001e338e.jpg","text":"TemporaryFile(/tmp/multipartBody5001978087009010093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922123881,"filename":"image_31102025_19_06_31_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ea45ccd6583a4448b4733f3cff94689.jpg","text":"TemporaryFile(/tmp/multipartBody8532718033036854048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922123881,"filename":"image_31102025_19_06_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/5/50f5d59de5569c03a2ec48e6d39a4d01.jpg","text":"TemporaryFile(/tmp/multipartBody320556621760495787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922123881,"filename":"image_31102025_19_06_37_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/5/921b82babf0684bde323864a2524e435.jpg","text":"TemporaryFile(/tmp/multipartBody3221992892508176486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922123881,"filename":"image_31102025_19_06_28_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398053891","file1":"1398053833","file0":"1398053775","file4":"1398053969","file5":"1398054018","file3":"1398053933"},"map_files_photo_id_array":[{"photo_id":"1398054018","filename":"file5"},{"photo_id":"1398053891","filename":"file2"},{"photo_id":"1398053969","filename":"file4"},{"photo_id":"1398053833","filename":"file1"},{"photo_id":"1398053775","filename":"file0"},{"photo_id":"1398053933","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398053775":["hashtag1","hashtag2"]},{"1398054018":["hashtag1","hashtag2"]},{"1398053891":["hashtag1","hashtag2"]},{"1398053969":["hashtag1","hashtag2"]},{"1398053933":["hashtag1","hashtag2"]},{"1398053833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398053775, 1398054018, 1398053891, 1398053969, 1398053933, 1398053833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80282163619995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:08:22.421804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/01/image_05122025_09_01_15_9792.jpg', '/home/pi/Desktop/images/05122025/09/01/image_05122025_09_01_25_10614.jpg', '/home/pi/Desktop/images/05122025/09/01/image_05122025_09_01_35_9599.jpg', '/home/pi/Desktop/images/05122025/09/01/image_05122025_09_02_05_9783.jpg', '/home/pi/Desktop/images/05122025/09/02/image_05122025_09_02_15_9706.jpg', '/home/pi/Desktop/images/05122025/09/02/image_05122025_09_02_26_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/01/image_05122025_09_01_15_9792.jpg
/home/pi/Desktop/images/05122025/09/01/image_05122025_09_01_25_10614.jpg
/home/pi/Desktop/images/05122025/09/01/image_05122025_09_01_35_9599.jpg
/home/pi/Desktop/images/05122025/09/01/image_05122025_09_02_05_9783.jpg
/home/pi/Desktop/images/05122025/09/02/image_05122025_09_02_15_9706.jpg
/home/pi/Desktop/images/05122025/09/02/image_05122025_09_02_26_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":["1398054441","1398054140","1398054218","1398054301","1398054372","1398054180"],"photo_ids_order":["1398054140","1398054180","1398054218","1398054301","1398054372","1398054441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c70e14e6efdcfa134cc476236798fca7.jpg","text":"TemporaryFile(/tmp/multipartBody7470560380681267799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922163053,"filename":"image_05122025_09_02_26_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/5/ace10e039385fa1516f7d58f0da84fae.jpg","text":"TemporaryFile(/tmp/multipartBody5524007446082019887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922163053,"filename":"image_05122025_09_01_15_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/5/3dee3b959029d3b9020c0c8832b8c458.jpg","text":"TemporaryFile(/tmp/multipartBody8637845194785479621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922163053,"filename":"image_05122025_09_01_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/5/25ebdf420590c2ad7e49407c01a422f7.jpg","text":"TemporaryFile(/tmp/multipartBody6256869622270067390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922163053,"filename":"image_05122025_09_02_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/5/de0089aecdc0c944b57415930763095e.jpg","text":"TemporaryFile(/tmp/multipartBody8145534648860304910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922163053,"filename":"image_05122025_09_02_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/5/17066b4d30ae7696db51d03a131fd162.jpg","text":"TemporaryFile(/tmp/multipartBody1180127035568468039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922163053,"filename":"image_05122025_09_01_25_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398054218","file1":"1398054180","file0":"1398054140","file4":"1398054372","file5":"1398054441","file3":"1398054301"},"map_files_photo_id_array":[{"photo_id":"1398054441","filename":"file5"},{"photo_id":"1398054218","filename":"file2"},{"photo_id":"1398054372","filename":"file4"},{"photo_id":"1398054180","filename":"file1"},{"photo_id":"1398054140","filename":"file0"},{"photo_id":"1398054301","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398054441":["hashtag1","hashtag2"]},{"1398054140":["hashtag1","hashtag2"]},{"1398054218":["hashtag1","hashtag2"]},{"1398054301":["hashtag1","hashtag2"]},{"1398054372":["hashtag1","hashtag2"]},{"1398054180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398054441, 1398054140, 1398054218, 1398054301, 1398054372, 1398054180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.198177337646484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:09:08.101833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/02/image_05122025_09_02_35_9661.jpg', '/home/pi/Desktop/images/05122025/09/02/image_05122025_09_02_45_9637.jpg', '/home/pi/Desktop/images/05122025/09/02/image_05122025_09_03_05_9682.jpg', '/home/pi/Desktop/images/05122025/09/03/image_05122025_09_03_25_9773.jpg', '/home/pi/Desktop/images/05122025/09/03/image_05122025_09_03_45_9643.jpg', '/home/pi/Desktop/images/05122025/09/03/image_05122025_09_03_55_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/02/image_05122025_09_02_35_9661.jpg
/home/pi/Desktop/images/05122025/09/02/image_05122025_09_02_45_9637.jpg
/home/pi/Desktop/images/05122025/09/02/image_05122025_09_03_05_9682.jpg
/home/pi/Desktop/images/05122025/09/03/image_05122025_09_03_25_9773.jpg
/home/pi/Desktop/images/05122025/09/03/image_05122025_09_03_45_9643.jpg
/home/pi/Desktop/images/05122025/09/03/image_05122025_09_03_55_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398054813","1398054702","1398054740","1398054775","1398054891","1398054855"],"photo_ids_order":["1398054702","1398054740","1398054775","1398054813","1398054855","1398054891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/408f34071259f283c555948e9011c4b6.jpg","text":"TemporaryFile(/tmp/multipartBody6322795579325425151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922211262,"filename":"image_05122025_09_03_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/5/b207d6b2ef5371c401f5a96666b002eb.jpg","text":"TemporaryFile(/tmp/multipartBody1777841997713416048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922211262,"filename":"image_05122025_09_02_35_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cda473b973c01b7dec2bfe2eb20a1be2.jpg","text":"TemporaryFile(/tmp/multipartBody2346263689719843442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922211262,"filename":"image_05122025_09_02_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/5/16d74c6659cefdd1bd47f3cb6e86e398.jpg","text":"TemporaryFile(/tmp/multipartBody624238958981143964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922211262,"filename":"image_05122025_09_03_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/5/5aefcd4a90e6851b3c4634419cb63978.jpg","text":"TemporaryFile(/tmp/multipartBody5348588200996067812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922211262,"filename":"image_05122025_09_03_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/5/c2f5a345470df63a0d371a15ed3fe640.jpg","text":"TemporaryFile(/tmp/multipartBody4503071718582567124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922211262,"filename":"image_05122025_09_03_45_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398054775","file1":"1398054740","file0":"1398054702","file4":"1398054855","file5":"1398054891","file3":"1398054813"},"map_files_photo_id_array":[{"photo_id":"1398054891","filename":"file5"},{"photo_id":"1398054775","filename":"file2"},{"photo_id":"1398054855","filename":"file4"},{"photo_id":"1398054740","filename":"file1"},{"photo_id":"1398054702","filename":"file0"},{"photo_id":"1398054813","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398054813":["hashtag1","hashtag2"]},{"1398054702":["hashtag1","hashtag2"]},{"1398054740":["hashtag1","hashtag2"]},{"1398054775":["hashtag1","hashtag2"]},{"1398054891":["hashtag1","hashtag2"]},{"1398054855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398054813, 1398054702, 1398054740, 1398054775, 1398054891, 1398054855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.517409563064575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:10:03.065364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/04/image_05122025_09_04_15_9721.jpg', '/home/pi/Desktop/images/05122025/09/04/image_05122025_09_04_36_10873.jpg', '/home/pi/Desktop/images/05122025/09/04/image_05122025_09_04_55_9676.jpg', '/home/pi/Desktop/images/05122025/09/04/image_05122025_09_05_06_10679.jpg', '/home/pi/Desktop/images/05122025/09/05/image_05122025_09_05_35_10709.jpg', '/home/pi/Desktop/images/05122025/09/05/image_05122025_09_06_05_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/04/image_05122025_09_04_15_9721.jpg
/home/pi/Desktop/images/05122025/09/04/image_05122025_09_04_36_10873.jpg
/home/pi/Desktop/images/05122025/09/04/image_05122025_09_04_55_9676.jpg
/home/pi/Desktop/images/05122025/09/04/image_05122025_09_05_06_10679.jpg
/home/pi/Desktop/images/05122025/09/05/image_05122025_09_05_35_10709.jpg
/home/pi/Desktop/images/05122025/09/05/image_05122025_09_06_05_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":["1398055243","1398055444","1398055507","1398055377","1398055578","1398055314"],"photo_ids_order":["1398055243","1398055314","1398055377","1398055444","1398055507","1398055578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff24bee962fbec1b38d246f83e6669af.jpg","text":"TemporaryFile(/tmp/multipartBody6337726796400594300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922263720,"filename":"image_05122025_09_04_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/5/74c958ac8bbf1420a1dd3904f4f680af.jpg","text":"TemporaryFile(/tmp/multipartBody8735962213352970152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922263720,"filename":"image_05122025_09_05_06_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/5/6dc4e8a95d4b24608fba91030501c31b.jpg","text":"TemporaryFile(/tmp/multipartBody1071786608048708059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922263720,"filename":"image_05122025_09_05_35_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/5/d0403e25e7cff7bbee38711480ce78c4.jpg","text":"TemporaryFile(/tmp/multipartBody4399605788023269608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922263720,"filename":"image_05122025_09_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/5/b705896a730496fbcc5fbe934c443f11.jpg","text":"TemporaryFile(/tmp/multipartBody133674420713469340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922263720,"filename":"image_05122025_09_06_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/5/74bf565b1c697361956fff906474b77e.jpg","text":"TemporaryFile(/tmp/multipartBody4131520854573111724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922263720,"filename":"image_05122025_09_04_36_10873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398055377","file1":"1398055314","file0":"1398055243","file4":"1398055507","file5":"1398055578","file3":"1398055444"},"map_files_photo_id_array":[{"photo_id":"1398055578","filename":"file5"},{"photo_id":"1398055377","filename":"file2"},{"photo_id":"1398055507","filename":"file4"},{"photo_id":"1398055314","filename":"file1"},{"photo_id":"1398055243","filename":"file0"},{"photo_id":"1398055444","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398055243":["hashtag1","hashtag2"]},{"1398055444":["hashtag1","hashtag2"]},{"1398055507":["hashtag1","hashtag2"]},{"1398055377":["hashtag1","hashtag2"]},{"1398055578":["hashtag1","hashtag2"]},{"1398055314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398055243, 1398055444, 1398055507, 1398055377, 1398055578, 1398055314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9559531211853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:10:42.715604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_46_3655.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_48_2587.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_52_3585.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_55_2566.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_57_2689.jpg', '/home/pi/Desktop/images/31102025/19/06/image_31102025_19_07_01_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_46_3655.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_48_2587.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_52_3585.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_55_2566.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_06_57_2689.jpg
/home/pi/Desktop/images/31102025/19/06/image_31102025_19_07_01_3676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398056135","1398056414","1398055976","1398056318","1398056487","1398056208"],"photo_ids_order":["1398055976","1398056135","1398056208","1398056318","1398056414","1398056487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad572f616b02711519cb9bbb6e838d02.jpg","text":"TemporaryFile(/tmp/multipartBody3786390502069981829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922304359,"filename":"image_31102025_19_06_48_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/5/43273e4bd7f7d4785b134729b7d6de6b.jpg","text":"TemporaryFile(/tmp/multipartBody5462297316384527483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922304359,"filename":"image_31102025_19_06_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/5/b5b7fcbb39a8afb7ae4dadb6b0c3de93.jpg","text":"TemporaryFile(/tmp/multipartBody4536348309966181564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922304359,"filename":"image_31102025_19_06_46_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/5/79663189910e5fbdbb628b72c5e9adc4.jpg","text":"TemporaryFile(/tmp/multipartBody7434357712341101296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922304359,"filename":"image_31102025_19_06_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/5/592c05bf892bfe89a6d1d6e210252c1a.jpg","text":"TemporaryFile(/tmp/multipartBody9172651753068489009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922304359,"filename":"image_31102025_19_07_01_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/5/e527683207c96c878c09567bfd1099c2.jpg","text":"TemporaryFile(/tmp/multipartBody8109261148523389326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922304359,"filename":"image_31102025_19_06_52_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398056208","file1":"1398056135","file0":"1398055976","file4":"1398056414","file5":"1398056487","file3":"1398056318"},"map_files_photo_id_array":[{"photo_id":"1398056487","filename":"file5"},{"photo_id":"1398056208","filename":"file2"},{"photo_id":"1398056414","filename":"file4"},{"photo_id":"1398056135","filename":"file1"},{"photo_id":"1398055976","filename":"file0"},{"photo_id":"1398056318","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398056135":["hashtag1","hashtag2"]},{"1398056414":["hashtag1","hashtag2"]},{"1398055976":["hashtag1","hashtag2"]},{"1398056318":["hashtag1","hashtag2"]},{"1398056487":["hashtag1","hashtag2"]},{"1398056208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398056135, 1398056414, 1398055976, 1398056318, 1398056487, 1398056208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.345049142837524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:11:32.229714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/43/image_02122025_17_43_24_9703.jpg', '/home/pi/Desktop/images/02122025/17/43/image_02122025_17_43_34_9948.jpg', '/home/pi/Desktop/images/02122025/17/43/image_02122025_17_43_45_10805.jpg', '/home/pi/Desktop/images/02122025/17/43/image_02122025_17_43_55_9546.jpg', '/home/pi/Desktop/images/02122025/17/43/image_02122025_17_44_04_9682.jpg', '/home/pi/Desktop/images/02122025/17/44/image_02122025_17_44_14_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/43/image_02122025_17_43_24_9703.jpg
/home/pi/Desktop/images/02122025/17/43/image_02122025_17_43_34_9948.jpg
/home/pi/Desktop/images/02122025/17/43/image_02122025_17_43_45_10805.jpg
/home/pi/Desktop/images/02122025/17/43/image_02122025_17_43_55_9546.jpg
/home/pi/Desktop/images/02122025/17/43/image_02122025_17_44_04_9682.jpg
/home/pi/Desktop/images/02122025/17/44/image_02122025_17_44_14_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":["1398056711","1398056716","1398056824","1398056707","1398056751","1398056789"],"photo_ids_order":["1398056707","1398056711","1398056716","1398056751","1398056789","1398056824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7577f1909c734be009bfa1b52c9e98ca.jpg","text":"TemporaryFile(/tmp/multipartBody147610237280928726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922358221,"filename":"image_02122025_17_43_34_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/5/131f5d101a8a428428409f9c75d1700e.jpg","text":"TemporaryFile(/tmp/multipartBody8258091718613801226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922358221,"filename":"image_02122025_17_43_45_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/29246df8228b53a926dd62d4a2066bf4.jpg","text":"TemporaryFile(/tmp/multipartBody4900891940831876769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922358221,"filename":"image_02122025_17_44_14_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/5/4420a40d69e2e309da6af12e4d024ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3682739401315870691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922358221,"filename":"image_02122025_17_43_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/5/fde937f06ccb79fdfa12ff5c75196d23.jpg","text":"TemporaryFile(/tmp/multipartBody7629199883127169370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922358221,"filename":"image_02122025_17_43_55_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/5/210deadf22d05f5346d90dc38a2b0711.jpg","text":"TemporaryFile(/tmp/multipartBody4616584800481802616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922358221,"filename":"image_02122025_17_44_04_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398056716","file1":"1398056711","file0":"1398056707","file4":"1398056789","file5":"1398056824","file3":"1398056751"},"map_files_photo_id_array":[{"photo_id":"1398056824","filename":"file5"},{"photo_id":"1398056716","filename":"file2"},{"photo_id":"1398056789","filename":"file4"},{"photo_id":"1398056711","filename":"file1"},{"photo_id":"1398056707","filename":"file0"},{"photo_id":"1398056751","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398056711":["hashtag1","hashtag2"]},{"1398056716":["hashtag1","hashtag2"]},{"1398056824":["hashtag1","hashtag2"]},{"1398056707":["hashtag1","hashtag2"]},{"1398056751":["hashtag1","hashtag2"]},{"1398056789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398056711, 1398056716, 1398056824, 1398056707, 1398056751, 1398056789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.74340844154358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:12:22.049381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/06/image_05122025_09_06_36_10857.jpg', '/home/pi/Desktop/images/05122025/09/06/image_05122025_09_06_45_9657.jpg', '/home/pi/Desktop/images/05122025/09/06/image_05122025_09_06_55_9734.jpg', '/home/pi/Desktop/images/05122025/09/06/image_05122025_09_07_06_10629.jpg', '/home/pi/Desktop/images/05122025/09/07/image_05122025_09_07_25_9602.jpg', '/home/pi/Desktop/images/05122025/09/07/image_05122025_09_07_35_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/06/image_05122025_09_06_36_10857.jpg
/home/pi/Desktop/images/05122025/09/06/image_05122025_09_06_45_9657.jpg
/home/pi/Desktop/images/05122025/09/06/image_05122025_09_06_55_9734.jpg
/home/pi/Desktop/images/05122025/09/06/image_05122025_09_07_06_10629.jpg
/home/pi/Desktop/images/05122025/09/07/image_05122025_09_07_25_9602.jpg
/home/pi/Desktop/images/05122025/09/07/image_05122025_09_07_35_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398057136","1398057202","1398057081","1398057045","1398057012","1398057173"],"photo_ids_order":["1398057012","1398057045","1398057081","1398057136","1398057173","1398057202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/097893db4f06845bfdf12f9729c550f2.jpg","text":"TemporaryFile(/tmp/multipartBody9056048348835405369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922402716,"filename":"image_05122025_09_07_06_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/5/6238e8418aba99723c2ceb069ebded9e.jpg","text":"TemporaryFile(/tmp/multipartBody5927260045335479277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922402716,"filename":"image_05122025_09_07_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/5/adb6258c99c2a36ccfedadcfee7fb2f3.jpg","text":"TemporaryFile(/tmp/multipartBody568041367987327697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922402716,"filename":"image_05122025_09_06_55_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/5/108396df4e3fcb85ef9c740a340abf17.jpg","text":"TemporaryFile(/tmp/multipartBody6560749344022331363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922402716,"filename":"image_05122025_09_06_45_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/5/ec9846e743406dcb7b04a582b02f4a6a.jpg","text":"TemporaryFile(/tmp/multipartBody9042761279825044773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922402716,"filename":"image_05122025_09_06_36_10857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/73bbb3daafc3b5da35e07a260c7f2399.jpg","text":"TemporaryFile(/tmp/multipartBody7291341803191272840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922402716,"filename":"image_05122025_09_07_25_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398057081","file1":"1398057045","file0":"1398057012","file4":"1398057173","file5":"1398057202","file3":"1398057136"},"map_files_photo_id_array":[{"photo_id":"1398057202","filename":"file5"},{"photo_id":"1398057081","filename":"file2"},{"photo_id":"1398057173","filename":"file4"},{"photo_id":"1398057045","filename":"file1"},{"photo_id":"1398057012","filename":"file0"},{"photo_id":"1398057136","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398057136":["hashtag1","hashtag2"]},{"1398057202":["hashtag1","hashtag2"]},{"1398057081":["hashtag1","hashtag2"]},{"1398057045":["hashtag1","hashtag2"]},{"1398057012":["hashtag1","hashtag2"]},{"1398057173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398057136, 1398057202, 1398057081, 1398057045, 1398057012, 1398057173)","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 = 1398057081 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05122025/09/06/image_05122025_09_06_55_9734.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.9265034198761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:13:33.710624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/44/image_02122025_17_44_25_10620.jpg', '/home/pi/Desktop/images/02122025/17/44/image_02122025_17_44_35_9690.jpg', '/home/pi/Desktop/images/02122025/17/44/image_02122025_17_44_45_10090.jpg', '/home/pi/Desktop/images/02122025/17/45/image_02122025_17_45_25_10795.jpg', '/home/pi/Desktop/images/02122025/17/45/image_02122025_17_45_35_9828.jpg', '/home/pi/Desktop/images/02122025/17/45/image_02122025_17_45_45_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/44/image_02122025_17_44_25_10620.jpg
/home/pi/Desktop/images/02122025/17/44/image_02122025_17_44_35_9690.jpg
/home/pi/Desktop/images/02122025/17/44/image_02122025_17_44_45_10090.jpg
/home/pi/Desktop/images/02122025/17/45/image_02122025_17_45_25_10795.jpg
/home/pi/Desktop/images/02122025/17/45/image_02122025_17_45_35_9828.jpg
/home/pi/Desktop/images/02122025/17/45/image_02122025_17_45_45_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398057538","1398057604","1398057593","1398057572","1398057554","1398057635"],"photo_ids_order":["1398057538","1398057554","1398057572","1398057593","1398057604","1398057635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/00111d67b7f82d43757a0cde74477e44.jpg","text":"TemporaryFile(/tmp/multipartBody9117126778034360643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922475872,"filename":"image_02122025_17_44_25_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/5/a7cd8f136b99bf425513279f0e2c9ee8.jpg","text":"TemporaryFile(/tmp/multipartBody8719637546800773187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922475872,"filename":"image_02122025_17_45_35_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/5/597253c263df790ce0ff9c8fe27f9faf.jpg","text":"TemporaryFile(/tmp/multipartBody2891987004680528706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922475872,"filename":"image_02122025_17_45_25_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ada2fc5764ac30cdead513fe625e0d42.jpg","text":"TemporaryFile(/tmp/multipartBody9143589879899633521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922475872,"filename":"image_02122025_17_44_45_10090.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6283cbe15addec2930f47983ef5f7c40.jpg","text":"TemporaryFile(/tmp/multipartBody8613353318744140955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922475872,"filename":"image_02122025_17_44_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/5/ac163881a7585c73cc0a29094c476871.jpg","text":"TemporaryFile(/tmp/multipartBody4498886143221888406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922475872,"filename":"image_02122025_17_45_45_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398057572","file1":"1398057554","file0":"1398057538","file4":"1398057604","file5":"1398057635","file3":"1398057593"},"map_files_photo_id_array":[{"photo_id":"1398057635","filename":"file5"},{"photo_id":"1398057572","filename":"file2"},{"photo_id":"1398057604","filename":"file4"},{"photo_id":"1398057554","filename":"file1"},{"photo_id":"1398057538","filename":"file0"},{"photo_id":"1398057593","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398057538":["hashtag1","hashtag2"]},{"1398057604":["hashtag1","hashtag2"]},{"1398057593":["hashtag1","hashtag2"]},{"1398057572":["hashtag1","hashtag2"]},{"1398057554":["hashtag1","hashtag2"]},{"1398057635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398057538, 1398057604, 1398057593, 1398057572, 1398057554, 1398057635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01640748977661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:14:21.779697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/08/image_05122025_09_09_05_9646.jpg', '/home/pi/Desktop/images/05122025/09/09/image_05122025_09_09_25_9727.jpg', '/home/pi/Desktop/images/05122025/09/10/image_05122025_09_10_25_9679.jpg', '/home/pi/Desktop/images/05122025/09/10/image_05122025_09_10_35_10574.jpg', '/home/pi/Desktop/images/05122025/09/10/image_05122025_09_10_45_9614.jpg', '/home/pi/Desktop/images/05122025/09/10/image_05122025_09_10_55_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/08/image_05122025_09_09_05_9646.jpg
/home/pi/Desktop/images/05122025/09/09/image_05122025_09_09_25_9727.jpg
/home/pi/Desktop/images/05122025/09/10/image_05122025_09_10_25_9679.jpg
/home/pi/Desktop/images/05122025/09/10/image_05122025_09_10_35_10574.jpg
/home/pi/Desktop/images/05122025/09/10/image_05122025_09_10_45_9614.jpg
/home/pi/Desktop/images/05122025/09/10/image_05122025_09_10_55_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398057646","1398057651","1398057639","1398057648","1398057641","1398057644"],"photo_ids_order":["1398057639","1398057641","1398057644","1398057646","1398057648","1398057651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7006ded0119c084f034e3d464150da05.jpg","text":"TemporaryFile(/tmp/multipartBody4431765307666073967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922522404,"filename":"image_05122025_09_10_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3dbbe19bc45bfbcc1f29d04d17cbe6e2.jpg","text":"TemporaryFile(/tmp/multipartBody3308430500101188088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922522404,"filename":"image_05122025_09_10_55_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aed19850cb3acf8f9d2e29c38ed3a4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1190020757691897329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922522404,"filename":"image_05122025_09_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/5/fbae3123c243477cc2d58cde3df915d6.jpg","text":"TemporaryFile(/tmp/multipartBody3147952043568494120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922522404,"filename":"image_05122025_09_10_45_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bf50fca17d14418322c9267d230e5a18.jpg","text":"TemporaryFile(/tmp/multipartBody4533702834782178925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922522404,"filename":"image_05122025_09_09_25_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/5/a5464870a8c88957be014c95345fbc32.jpg","text":"TemporaryFile(/tmp/multipartBody1867339936057094345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922522404,"filename":"image_05122025_09_10_25_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398057644","file1":"1398057641","file0":"1398057639","file4":"1398057648","file5":"1398057651","file3":"1398057646"},"map_files_photo_id_array":[{"photo_id":"1398057651","filename":"file5"},{"photo_id":"1398057644","filename":"file2"},{"photo_id":"1398057648","filename":"file4"},{"photo_id":"1398057641","filename":"file1"},{"photo_id":"1398057639","filename":"file0"},{"photo_id":"1398057646","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398057646":["hashtag1","hashtag2"]},{"1398057651":["hashtag1","hashtag2"]},{"1398057639":["hashtag1","hashtag2"]},{"1398057648":["hashtag1","hashtag2"]},{"1398057641":["hashtag1","hashtag2"]},{"1398057644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398057646, 1398057651, 1398057639, 1398057648, 1398057641, 1398057644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.14017415046692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:15:08.248493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/11/image_05122025_09_11_15_9699.jpg', '/home/pi/Desktop/images/05122025/09/11/image_05122025_09_11_35_10638.jpg', '/home/pi/Desktop/images/05122025/09/11/image_05122025_09_11_45_9592.jpg', '/home/pi/Desktop/images/05122025/09/11/image_05122025_09_11_55_9674.jpg', '/home/pi/Desktop/images/05122025/09/11/image_05122025_09_12_05_9890.jpg', '/home/pi/Desktop/images/05122025/09/12/image_05122025_09_12_15_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/11/image_05122025_09_11_15_9699.jpg
/home/pi/Desktop/images/05122025/09/11/image_05122025_09_11_35_10638.jpg
/home/pi/Desktop/images/05122025/09/11/image_05122025_09_11_45_9592.jpg
/home/pi/Desktop/images/05122025/09/11/image_05122025_09_11_55_9674.jpg
/home/pi/Desktop/images/05122025/09/11/image_05122025_09_12_05_9890.jpg
/home/pi/Desktop/images/05122025/09/12/image_05122025_09_12_15_10728.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":["1398057844","1398057826","1398057805","1398057825","1398057828","1398057830"],"photo_ids_order":["1398057805","1398057825","1398057826","1398057828","1398057830","1398057844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2d9df9db5d7199dc76fe18e8615d236e.jpg","text":"TemporaryFile(/tmp/multipartBody3089850063336648735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922571542,"filename":"image_05122025_09_12_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/5/8d853a12fa625b9264ea66852b95f482.jpg","text":"TemporaryFile(/tmp/multipartBody6804750419982817499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922571542,"filename":"image_05122025_09_11_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/5/294b892b916bbf73a0d56edb61ac8e51.jpg","text":"TemporaryFile(/tmp/multipartBody2816664805069235648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922571542,"filename":"image_05122025_09_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/5/c8da5f68f6461ffe3089f8dd1cf561e1.jpg","text":"TemporaryFile(/tmp/multipartBody4014708232095585211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922571542,"filename":"image_05122025_09_11_35_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/5/b9515132a58ee1a7d0cc0d9dca7c138f.jpg","text":"TemporaryFile(/tmp/multipartBody5756570869440536332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922571542,"filename":"image_05122025_09_11_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/010acccb13f3b340a4f12011703b7aa5.jpg","text":"TemporaryFile(/tmp/multipartBody1965551251527547529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922571542,"filename":"image_05122025_09_12_05_9890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398057826","file1":"1398057825","file0":"1398057805","file4":"1398057830","file5":"1398057844","file3":"1398057828"},"map_files_photo_id_array":[{"photo_id":"1398057844","filename":"file5"},{"photo_id":"1398057826","filename":"file2"},{"photo_id":"1398057830","filename":"file4"},{"photo_id":"1398057825","filename":"file1"},{"photo_id":"1398057805","filename":"file0"},{"photo_id":"1398057828","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398057844":["hashtag1","hashtag2"]},{"1398057826":["hashtag1","hashtag2"]},{"1398057805":["hashtag1","hashtag2"]},{"1398057825":["hashtag1","hashtag2"]},{"1398057828":["hashtag1","hashtag2"]},{"1398057830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398057844, 1398057826, 1398057805, 1398057825, 1398057828, 1398057830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.235600233078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:16:02.750094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/12/image_05122025_09_12_25_9657.jpg', '/home/pi/Desktop/images/05122025/09/12/image_05122025_09_12_35_9704.jpg', '/home/pi/Desktop/images/05122025/09/12/image_05122025_09_12_45_10688.jpg', '/home/pi/Desktop/images/05122025/09/12/image_05122025_09_12_55_9732.jpg', '/home/pi/Desktop/images/05122025/09/12/image_05122025_09_13_05_9626.jpg', '/home/pi/Desktop/images/05122025/09/13/image_05122025_09_13_15_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/12/image_05122025_09_12_25_9657.jpg
/home/pi/Desktop/images/05122025/09/12/image_05122025_09_12_35_9704.jpg
/home/pi/Desktop/images/05122025/09/12/image_05122025_09_12_45_10688.jpg
/home/pi/Desktop/images/05122025/09/12/image_05122025_09_12_55_9732.jpg
/home/pi/Desktop/images/05122025/09/12/image_05122025_09_13_05_9626.jpg
/home/pi/Desktop/images/05122025/09/13/image_05122025_09_13_15_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398058426","1398058504","1398058170","1398058242","1398058064","1398058310"],"photo_ids_order":["1398058064","1398058170","1398058242","1398058310","1398058426","1398058504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/41596bee836b5a7207b5a6fdcde46d91.jpg","text":"TemporaryFile(/tmp/multipartBody5917821365685709967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922623450,"filename":"image_05122025_09_13_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/5/b75564bf34bc0240d671860d756399e4.jpg","text":"TemporaryFile(/tmp/multipartBody3973049103822218397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922623450,"filename":"image_05122025_09_13_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/5/22310858457b5ab9fc4e8e9c803986fa.jpg","text":"TemporaryFile(/tmp/multipartBody7469825569327124452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922623450,"filename":"image_05122025_09_12_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/5/4ba7ecee489ec916f553af451f3f4bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6360184785824327786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922623450,"filename":"image_05122025_09_12_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/5/84a5e20d998ed5e061712fc5732fe430.jpg","text":"TemporaryFile(/tmp/multipartBody8933446280979307924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922623450,"filename":"image_05122025_09_12_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/5/184e575c698e16107a3acd7f67b2a32c.jpg","text":"TemporaryFile(/tmp/multipartBody2014706609351049993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922623450,"filename":"image_05122025_09_12_55_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398058242","file1":"1398058170","file0":"1398058064","file4":"1398058426","file5":"1398058504","file3":"1398058310"},"map_files_photo_id_array":[{"photo_id":"1398058504","filename":"file5"},{"photo_id":"1398058242","filename":"file2"},{"photo_id":"1398058426","filename":"file4"},{"photo_id":"1398058170","filename":"file1"},{"photo_id":"1398058064","filename":"file0"},{"photo_id":"1398058310","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398058426":["hashtag1","hashtag2"]},{"1398058504":["hashtag1","hashtag2"]},{"1398058170":["hashtag1","hashtag2"]},{"1398058242":["hashtag1","hashtag2"]},{"1398058064":["hashtag1","hashtag2"]},{"1398058310":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398058426, 1398058504, 1398058170, 1398058242, 1398058064, 1398058310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72227740287781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:16:42.357424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_04_2669.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_06_2557.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_12_2539.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_15_2776.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_19_3701.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_22_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_04_2669.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_06_2557.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_12_2539.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_15_2776.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_19_3701.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_22_2801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398058651","1398058630","1398058708","1398058689","1398058629","1398058631"],"photo_ids_order":["1398058629","1398058630","1398058631","1398058651","1398058689","1398058708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc65c872e023bd90a9a8c7d2b9c5ce19.jpg","text":"TemporaryFile(/tmp/multipartBody5135166248695826352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922663972,"filename":"image_31102025_19_07_15_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/5/9d3f5967b5d5309a9564ec8258e4b398.jpg","text":"TemporaryFile(/tmp/multipartBody5309553736068868657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922663972,"filename":"image_31102025_19_07_06_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/5/212c24c308067ff793732b0d4b894b12.jpg","text":"TemporaryFile(/tmp/multipartBody4476114860552100223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922663972,"filename":"image_31102025_19_07_22_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9a5311f5629631cfef5da35127502bf3.jpg","text":"TemporaryFile(/tmp/multipartBody6701271299828754595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922663972,"filename":"image_31102025_19_07_19_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/5/c4623c730ffb5d4d0a428ed3b0237f46.jpg","text":"TemporaryFile(/tmp/multipartBody4138605445308418545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922663972,"filename":"image_31102025_19_07_04_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/5/28524b83620eedefdb250abf22ac96e6.jpg","text":"TemporaryFile(/tmp/multipartBody6103903495976429388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922663972,"filename":"image_31102025_19_07_12_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398058631","file1":"1398058630","file0":"1398058629","file4":"1398058689","file5":"1398058708","file3":"1398058651"},"map_files_photo_id_array":[{"photo_id":"1398058708","filename":"file5"},{"photo_id":"1398058631","filename":"file2"},{"photo_id":"1398058689","filename":"file4"},{"photo_id":"1398058630","filename":"file1"},{"photo_id":"1398058629","filename":"file0"},{"photo_id":"1398058651","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398058651":["hashtag1","hashtag2"]},{"1398058630":["hashtag1","hashtag2"]},{"1398058708":["hashtag1","hashtag2"]},{"1398058689":["hashtag1","hashtag2"]},{"1398058629":["hashtag1","hashtag2"]},{"1398058631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398058651, 1398058630, 1398058708, 1398058689, 1398058629, 1398058631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9972825050354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:17:22.578026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/13/image_05122025_09_13_25_9821.jpg', '/home/pi/Desktop/images/05122025/09/13/image_05122025_09_13_35_9771.jpg', '/home/pi/Desktop/images/05122025/09/13/image_05122025_09_13_45_9675.jpg', '/home/pi/Desktop/images/05122025/09/13/image_05122025_09_13_55_10670.jpg', '/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_09_13846.jpg', '/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_15_5677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/13/image_05122025_09_13_25_9821.jpg
/home/pi/Desktop/images/05122025/09/13/image_05122025_09_13_35_9771.jpg
/home/pi/Desktop/images/05122025/09/13/image_05122025_09_13_45_9675.jpg
/home/pi/Desktop/images/05122025/09/13/image_05122025_09_13_55_10670.jpg
/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_09_13846.jpg
/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_15_5677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398058813","1398058887","1398058760","1398058928","1398058852","1398058777"],"photo_ids_order":["1398058760","1398058777","1398058813","1398058852","1398058887","1398058928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4bb39c0a6ec4477be1d2b95597a1a86.jpg","text":"TemporaryFile(/tmp/multipartBody8545116193540078756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922703293,"filename":"image_05122025_09_13_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/5/4c3fc8b33fe4f4fcaa5b549c5794b909.jpg","text":"TemporaryFile(/tmp/multipartBody154768097489957471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922703293,"filename":"image_05122025_09_14_09_13846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6d121fccf930709dd0365c496c045d97.jpg","text":"TemporaryFile(/tmp/multipartBody8012391225093956429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922703293,"filename":"image_05122025_09_13_25_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6d80dde04dc9e85b69d05e2b911b8f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6546355327083791810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922703293,"filename":"image_05122025_09_14_15_5677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ca881bb46f261a9a2ca26df78ca9700.jpg","text":"TemporaryFile(/tmp/multipartBody4193995050449157266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922703293,"filename":"image_05122025_09_13_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a980c940cc5b8a3f4bf4fa3c78765cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8207190365098588048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922703293,"filename":"image_05122025_09_13_35_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398058813","file1":"1398058777","file0":"1398058760","file4":"1398058887","file5":"1398058928","file3":"1398058852"},"map_files_photo_id_array":[{"photo_id":"1398058928","filename":"file5"},{"photo_id":"1398058813","filename":"file2"},{"photo_id":"1398058887","filename":"file4"},{"photo_id":"1398058777","filename":"file1"},{"photo_id":"1398058760","filename":"file0"},{"photo_id":"1398058852","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398058813":["hashtag1","hashtag2"]},{"1398058887":["hashtag1","hashtag2"]},{"1398058760":["hashtag1","hashtag2"]},{"1398058928":["hashtag1","hashtag2"]},{"1398058852":["hashtag1","hashtag2"]},{"1398058777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398058813, 1398058887, 1398058760, 1398058928, 1398058852, 1398058777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78041219711304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:18:03.207930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_25_10185.jpg', '/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_35_9788.jpg', '/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_46_10652.jpg', '/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_55_9691.jpg', '/home/pi/Desktop/images/05122025/09/15/image_05122025_09_15_15_9605.jpg', '/home/pi/Desktop/images/05122025/09/15/image_05122025_09_15_25_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_25_10185.jpg
/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_35_9788.jpg
/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_46_10652.jpg
/home/pi/Desktop/images/05122025/09/14/image_05122025_09_14_55_9691.jpg
/home/pi/Desktop/images/05122025/09/15/image_05122025_09_15_15_9605.jpg
/home/pi/Desktop/images/05122025/09/15/image_05122025_09_15_25_10816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398059011","1398059008","1398058985","1398059006","1398059009","1398059000"],"photo_ids_order":["1398058985","1398059000","1398059006","1398059008","1398059009","1398059011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a73fbe390e6d53bfa2f326a63df88f27.jpg","text":"TemporaryFile(/tmp/multipartBody6762276697718429952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922743885,"filename":"image_05122025_09_15_25_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/33b7dcef7a2b6413266301b90f9f5520.jpg","text":"TemporaryFile(/tmp/multipartBody5336009655851600929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922743885,"filename":"image_05122025_09_14_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/5/c410b36843f573de3e1a6a4c402cf055.jpg","text":"TemporaryFile(/tmp/multipartBody3193651305803492408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922743885,"filename":"image_05122025_09_14_25_10185.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/57c2d9dd7200baad6dd38abe3336eddf.jpg","text":"TemporaryFile(/tmp/multipartBody3887148927339982146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922743885,"filename":"image_05122025_09_14_46_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/5/25a15a6e58a58152fab567b0d5c36255.jpg","text":"TemporaryFile(/tmp/multipartBody8265416912903400639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922743885,"filename":"image_05122025_09_15_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/5/d58e9072ad8250a265c0baaff74f4203.jpg","text":"TemporaryFile(/tmp/multipartBody5127503940059513288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922743885,"filename":"image_05122025_09_14_35_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059006","file1":"1398059000","file0":"1398058985","file4":"1398059009","file5":"1398059011","file3":"1398059008"},"map_files_photo_id_array":[{"photo_id":"1398059011","filename":"file5"},{"photo_id":"1398059006","filename":"file2"},{"photo_id":"1398059009","filename":"file4"},{"photo_id":"1398059000","filename":"file1"},{"photo_id":"1398058985","filename":"file0"},{"photo_id":"1398059008","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398059011":["hashtag1","hashtag2"]},{"1398059008":["hashtag1","hashtag2"]},{"1398058985":["hashtag1","hashtag2"]},{"1398059006":["hashtag1","hashtag2"]},{"1398059009":["hashtag1","hashtag2"]},{"1398059000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398059011, 1398059008, 1398058985, 1398059006, 1398059009, 1398059000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42063069343567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:18:42.790133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_24_2547.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_28_3776.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_31_2576.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_33_2673.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_40_2787.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_42_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_24_2547.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_28_3776.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_31_2576.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_33_2673.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_40_2787.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_42_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":["1398059088","1398059109","1398059093","1398059019","1398059054","1398059017"],"photo_ids_order":["1398059017","1398059019","1398059054","1398059088","1398059093","1398059109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bf026b38a7c877c9c28e105b0242b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody1773669882843268376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922784492,"filename":"image_31102025_19_07_33_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/5/4dbf93463bc711ece47f63fcd76cf189.jpg","text":"TemporaryFile(/tmp/multipartBody4209203372708883600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922784492,"filename":"image_31102025_19_07_42_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/5/e5bff7e9b6cc20ae90586a03b9d38dda.jpg","text":"TemporaryFile(/tmp/multipartBody7091856313840953619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922784492,"filename":"image_31102025_19_07_40_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/5/51360e70bb6585252adf3206a159c321.jpg","text":"TemporaryFile(/tmp/multipartBody6459857896146327594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922784492,"filename":"image_31102025_19_07_28_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b57c440f0e981ca59de708b547d9b98c.jpg","text":"TemporaryFile(/tmp/multipartBody8684480943769692902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922784492,"filename":"image_31102025_19_07_31_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/5/8e1097cfa2aac32c28898afec005ff0b.jpg","text":"TemporaryFile(/tmp/multipartBody7935428256399628760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922784492,"filename":"image_31102025_19_07_24_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059054","file1":"1398059019","file0":"1398059017","file4":"1398059093","file5":"1398059109","file3":"1398059088"},"map_files_photo_id_array":[{"photo_id":"1398059109","filename":"file5"},{"photo_id":"1398059054","filename":"file2"},{"photo_id":"1398059093","filename":"file4"},{"photo_id":"1398059019","filename":"file1"},{"photo_id":"1398059017","filename":"file0"},{"photo_id":"1398059088","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398059088":["hashtag1","hashtag2"]},{"1398059109":["hashtag1","hashtag2"]},{"1398059093":["hashtag1","hashtag2"]},{"1398059019":["hashtag1","hashtag2"]},{"1398059054":["hashtag1","hashtag2"]},{"1398059017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398059088, 1398059109, 1398059093, 1398059019, 1398059054, 1398059017)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.64031362533569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:19:32.162437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/45/image_02122025_17_45_55_9707.jpg', '/home/pi/Desktop/images/02122025/17/45/image_02122025_17_46_05_10727.jpg', '/home/pi/Desktop/images/02122025/17/46/image_02122025_17_46_15_9693.jpg', '/home/pi/Desktop/images/02122025/17/46/image_02122025_17_46_25_9699.jpg', '/home/pi/Desktop/images/02122025/17/46/image_02122025_17_46_35_9749.jpg', '/home/pi/Desktop/images/02122025/17/46/image_02122025_17_46_45_10762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/45/image_02122025_17_45_55_9707.jpg
/home/pi/Desktop/images/02122025/17/45/image_02122025_17_46_05_10727.jpg
/home/pi/Desktop/images/02122025/17/46/image_02122025_17_46_15_9693.jpg
/home/pi/Desktop/images/02122025/17/46/image_02122025_17_46_25_9699.jpg
/home/pi/Desktop/images/02122025/17/46/image_02122025_17_46_35_9749.jpg
/home/pi/Desktop/images/02122025/17/46/image_02122025_17_46_45_10762.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":["1398059139","1398059136","1398059141","1398059138","1398059140","1398059137"],"photo_ids_order":["1398059136","1398059137","1398059138","1398059139","1398059140","1398059141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/66f901d29e35607679074de671f4d044.jpg","text":"TemporaryFile(/tmp/multipartBody3090066669733862444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922849784,"filename":"image_02122025_17_46_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/5/1f5798e09f5e0e8bb6fd3b83c3b03076.jpg","text":"TemporaryFile(/tmp/multipartBody3823352339874524550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922849784,"filename":"image_02122025_17_45_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e379760e75874f82b15f2081d6af5200.jpg","text":"TemporaryFile(/tmp/multipartBody3200494075945563892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922849784,"filename":"image_02122025_17_46_45_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/5/ab155714629e6b1da4cfd4efba4166d8.jpg","text":"TemporaryFile(/tmp/multipartBody1126431559710275225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922849784,"filename":"image_02122025_17_46_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/5/0287e03ceaa50987162142f02432aa79.jpg","text":"TemporaryFile(/tmp/multipartBody7017916141197840548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922849784,"filename":"image_02122025_17_46_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/5/538d26175f4869f458d24cd2b79cb234.jpg","text":"TemporaryFile(/tmp/multipartBody170294753178971546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922849784,"filename":"image_02122025_17_46_05_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059138","file1":"1398059137","file0":"1398059136","file4":"1398059140","file5":"1398059141","file3":"1398059139"},"map_files_photo_id_array":[{"photo_id":"1398059141","filename":"file5"},{"photo_id":"1398059138","filename":"file2"},{"photo_id":"1398059140","filename":"file4"},{"photo_id":"1398059137","filename":"file1"},{"photo_id":"1398059136","filename":"file0"},{"photo_id":"1398059139","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398059139":["hashtag1","hashtag2"]},{"1398059136":["hashtag1","hashtag2"]},{"1398059141":["hashtag1","hashtag2"]},{"1398059138":["hashtag1","hashtag2"]},{"1398059140":["hashtag1","hashtag2"]},{"1398059137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398059139, 1398059136, 1398059141, 1398059138, 1398059140, 1398059137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.85800099372864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:20:31.980321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/46/image_02122025_17_46_55_9879.jpg', '/home/pi/Desktop/images/02122025/17/46/image_02122025_17_47_05_9634.jpg', '/home/pi/Desktop/images/02122025/17/47/image_02122025_17_47_15_9744.jpg', '/home/pi/Desktop/images/02122025/17/47/image_02122025_17_47_25_10815.jpg', '/home/pi/Desktop/images/02122025/17/47/image_02122025_17_47_35_9531.jpg', '/home/pi/Desktop/images/02122025/17/47/image_02122025_17_47_55_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/46/image_02122025_17_46_55_9879.jpg
/home/pi/Desktop/images/02122025/17/46/image_02122025_17_47_05_9634.jpg
/home/pi/Desktop/images/02122025/17/47/image_02122025_17_47_15_9744.jpg
/home/pi/Desktop/images/02122025/17/47/image_02122025_17_47_25_10815.jpg
/home/pi/Desktop/images/02122025/17/47/image_02122025_17_47_35_9531.jpg
/home/pi/Desktop/images/02122025/17/47/image_02122025_17_47_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":["1398059189","1398059159","1398059324","1398059287","1398059251","1398059167"],"photo_ids_order":["1398059159","1398059167","1398059189","1398059251","1398059287","1398059324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0428d1f96d279d74b02a899111cce41f.jpg","text":"TemporaryFile(/tmp/multipartBody655211282307146456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922894269,"filename":"image_02122025_17_47_15_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7b487c6ef24db0d8cbed88990bd12619.jpg","text":"TemporaryFile(/tmp/multipartBody4998969078617234651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922894269,"filename":"image_02122025_17_46_55_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/5/2f52ba0eb9e2fb333de17e9233786f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2353368766759425750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922894269,"filename":"image_02122025_17_47_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/5/105c5a292df9b72e570d85ac04cf6af2.jpg","text":"TemporaryFile(/tmp/multipartBody7164195860956451018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922894269,"filename":"image_02122025_17_47_35_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/5/93bf844962b980db6f245efbd025215e.jpg","text":"TemporaryFile(/tmp/multipartBody3002587961624783458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922894269,"filename":"image_02122025_17_47_25_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/566771c4a2862fd0b8420b54351841bb.jpg","text":"TemporaryFile(/tmp/multipartBody7160693959260794356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922894269,"filename":"image_02122025_17_47_05_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059189","file1":"1398059167","file0":"1398059159","file4":"1398059287","file5":"1398059324","file3":"1398059251"},"map_files_photo_id_array":[{"photo_id":"1398059324","filename":"file5"},{"photo_id":"1398059189","filename":"file2"},{"photo_id":"1398059287","filename":"file4"},{"photo_id":"1398059167","filename":"file1"},{"photo_id":"1398059159","filename":"file0"},{"photo_id":"1398059251","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398059189":["hashtag1","hashtag2"]},{"1398059159":["hashtag1","hashtag2"]},{"1398059324":["hashtag1","hashtag2"]},{"1398059287":["hashtag1","hashtag2"]},{"1398059251":["hashtag1","hashtag2"]},{"1398059167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398059189, 1398059159, 1398059324, 1398059287, 1398059251, 1398059167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.1372344493866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:21:22.119224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/15/image_05122025_09_15_35_9783.jpg', '/home/pi/Desktop/images/05122025/09/15/image_05122025_09_15_45_9695.jpg', '/home/pi/Desktop/images/05122025/09/15/image_05122025_09_15_56_10626.jpg', '/home/pi/Desktop/images/05122025/09/15/image_05122025_09_16_05_9655.jpg', '/home/pi/Desktop/images/05122025/09/16/image_05122025_09_16_15_10303.jpg', '/home/pi/Desktop/images/05122025/09/16/image_05122025_09_16_25_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/15/image_05122025_09_15_35_9783.jpg
/home/pi/Desktop/images/05122025/09/15/image_05122025_09_15_45_9695.jpg
/home/pi/Desktop/images/05122025/09/15/image_05122025_09_15_56_10626.jpg
/home/pi/Desktop/images/05122025/09/15/image_05122025_09_16_05_9655.jpg
/home/pi/Desktop/images/05122025/09/16/image_05122025_09_16_15_10303.jpg
/home/pi/Desktop/images/05122025/09/16/image_05122025_09_16_25_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":["1398059490","1398059576","1398059579","1398059554","1398059455","1398059521"],"photo_ids_order":["1398059455","1398059490","1398059521","1398059554","1398059576","1398059579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/89c509e438d08d00b4a1d4af930dfec3.jpg","text":"TemporaryFile(/tmp/multipartBody7228283160328254403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922943778,"filename":"image_05122025_09_15_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/5/ecb820e414b2a17283c861059a4a2586.jpg","text":"TemporaryFile(/tmp/multipartBody121192816464703051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922943778,"filename":"image_05122025_09_16_15_10303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4e55d00ea0cad50beb46fd8ce56c84b5.jpg","text":"TemporaryFile(/tmp/multipartBody3319155791281346243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922943778,"filename":"image_05122025_09_16_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/5/ebe0cb98dd4dd01d18acf8bbcd364300.jpg","text":"TemporaryFile(/tmp/multipartBody863028814271703244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922943778,"filename":"image_05122025_09_16_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/5/142c17db683f800b80b57fa99cf03298.jpg","text":"TemporaryFile(/tmp/multipartBody7967987907432304224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922943778,"filename":"image_05122025_09_15_35_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/5/bc13349c714d112028f37d04c957b551.jpg","text":"TemporaryFile(/tmp/multipartBody7931083861796785382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922943778,"filename":"image_05122025_09_15_56_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059521","file1":"1398059490","file0":"1398059455","file4":"1398059576","file5":"1398059579","file3":"1398059554"},"map_files_photo_id_array":[{"photo_id":"1398059579","filename":"file5"},{"photo_id":"1398059521","filename":"file2"},{"photo_id":"1398059576","filename":"file4"},{"photo_id":"1398059490","filename":"file1"},{"photo_id":"1398059455","filename":"file0"},{"photo_id":"1398059554","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398059490":["hashtag1","hashtag2"]},{"1398059576":["hashtag1","hashtag2"]},{"1398059579":["hashtag1","hashtag2"]},{"1398059554":["hashtag1","hashtag2"]},{"1398059455":["hashtag1","hashtag2"]},{"1398059521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398059490, 1398059576, 1398059579, 1398059554, 1398059455, 1398059521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71932029724121 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-05 09:22:12.507941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/48/image_02122025_17_48_25_10762.jpg', '/home/pi/Desktop/images/02122025/17/49/image_02122025_17_49_25_9689.jpg', '/home/pi/Desktop/images/02122025/17/50/image_02122025_17_50_25_10673.jpg', '/home/pi/Desktop/images/02122025/17/50/image_02122025_17_50_35_9843.jpg', '/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_15_9756.jpg', '/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_25_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/48/image_02122025_17_48_25_10762.jpg
/home/pi/Desktop/images/02122025/17/49/image_02122025_17_49_25_9689.jpg
/home/pi/Desktop/images/02122025/17/50/image_02122025_17_50_25_10673.jpg
/home/pi/Desktop/images/02122025/17/50/image_02122025_17_50_35_9843.jpg
/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_15_9756.jpg
/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_25_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":["1398059707","1398059739","1398059652","1398059675","1398059653","1398059716"],"photo_ids_order":["1398059652","1398059653","1398059675","1398059707","1398059716","1398059739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/996b0dd1f2e83e92b4caa6a83804e0b8.jpg","text":"TemporaryFile(/tmp/multipartBody5468772359735610465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922994413,"filename":"image_02122025_17_50_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/5/01b9d961180b5b685fc091c1f400edce.jpg","text":"TemporaryFile(/tmp/multipartBody3388234631590790810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922994413,"filename":"image_02122025_17_51_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/5/29f4826d2e9f351dcb54c3ee8d8674cd.jpg","text":"TemporaryFile(/tmp/multipartBody1931413849175512833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922994413,"filename":"image_02122025_17_48_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/5/2386238159bd9cb1ae723d356358ac30.jpg","text":"TemporaryFile(/tmp/multipartBody8212361249304576767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922994413,"filename":"image_02122025_17_50_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/5/599d36050327b8988398285d561d1c69.jpg","text":"TemporaryFile(/tmp/multipartBody1007759525322550479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922994413,"filename":"image_02122025_17_49_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/5/c3320b683ff131caf3b1059e7e4df33e.jpg","text":"TemporaryFile(/tmp/multipartBody4676975660351032281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764922994413,"filename":"image_02122025_17_51_15_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059675","file1":"1398059653","file0":"1398059652","file4":"1398059716","file5":"1398059739","file3":"1398059707"},"map_files_photo_id_array":[{"photo_id":"1398059739","filename":"file5"},{"photo_id":"1398059675","filename":"file2"},{"photo_id":"1398059716","filename":"file4"},{"photo_id":"1398059653","filename":"file1"},{"photo_id":"1398059652","filename":"file0"},{"photo_id":"1398059707","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398059707":["hashtag1","hashtag2"]},{"1398059739":["hashtag1","hashtag2"]},{"1398059652":["hashtag1","hashtag2"]},{"1398059675":["hashtag1","hashtag2"]},{"1398059653":["hashtag1","hashtag2"]},{"1398059716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398059707, 1398059739, 1398059652, 1398059675, 1398059653, 1398059716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.507097005844116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:23:02.481319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/16/image_05122025_09_16_35_10140.jpg', '/home/pi/Desktop/images/05122025/09/16/image_05122025_09_16_45_9710.jpg', '/home/pi/Desktop/images/05122025/09/16/image_05122025_09_16_55_9615.jpg', '/home/pi/Desktop/images/05122025/09/16/image_05122025_09_17_05_10511.jpg', '/home/pi/Desktop/images/05122025/09/17/image_05122025_09_17_15_9781.jpg', '/home/pi/Desktop/images/05122025/09/17/image_05122025_09_17_25_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/16/image_05122025_09_16_35_10140.jpg
/home/pi/Desktop/images/05122025/09/16/image_05122025_09_16_45_9710.jpg
/home/pi/Desktop/images/05122025/09/16/image_05122025_09_16_55_9615.jpg
/home/pi/Desktop/images/05122025/09/16/image_05122025_09_17_05_10511.jpg
/home/pi/Desktop/images/05122025/09/17/image_05122025_09_17_15_9781.jpg
/home/pi/Desktop/images/05122025/09/17/image_05122025_09_17_25_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398059769","1398059786","1398059768","1398059782","1398059770","1398059767"],"photo_ids_order":["1398059767","1398059768","1398059769","1398059770","1398059782","1398059786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e574bf31b7f593d0bc0949efab618a82.jpg","text":"TemporaryFile(/tmp/multipartBody1145154310120161598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923043282,"filename":"image_05122025_09_16_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/5/bbefd9775440ebdd155c3877338129ed.jpg","text":"TemporaryFile(/tmp/multipartBody8381000780709748997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923043282,"filename":"image_05122025_09_17_25_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/5/9462abd3119c705c5c5b91518ef40f04.jpg","text":"TemporaryFile(/tmp/multipartBody7725767219633993892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923043282,"filename":"image_05122025_09_16_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/5/fc303d89b6d8166d0d3c2c3dd0424f47.jpg","text":"TemporaryFile(/tmp/multipartBody3501075971161848882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923043282,"filename":"image_05122025_09_17_15_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/5/539525c4b26d7e9e9d4f94c9d40724a6.jpg","text":"TemporaryFile(/tmp/multipartBody860216553403216976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923043282,"filename":"image_05122025_09_17_05_10511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb07ad07da5af06fa0c9709b72a827e6.jpg","text":"TemporaryFile(/tmp/multipartBody4743172908849546585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923043282,"filename":"image_05122025_09_16_35_10140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059769","file1":"1398059768","file0":"1398059767","file4":"1398059782","file5":"1398059786","file3":"1398059770"},"map_files_photo_id_array":[{"photo_id":"1398059786","filename":"file5"},{"photo_id":"1398059769","filename":"file2"},{"photo_id":"1398059782","filename":"file4"},{"photo_id":"1398059768","filename":"file1"},{"photo_id":"1398059767","filename":"file0"},{"photo_id":"1398059770","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398059769":["hashtag1","hashtag2"]},{"1398059786":["hashtag1","hashtag2"]},{"1398059768":["hashtag1","hashtag2"]},{"1398059782":["hashtag1","hashtag2"]},{"1398059770":["hashtag1","hashtag2"]},{"1398059767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398059769, 1398059786, 1398059768, 1398059782, 1398059770, 1398059767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72296595573425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:23:41.899838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_51_2672.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_54_2697.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_58_3732.jpg', '/home/pi/Desktop/images/31102025/19/07/image_31102025_19_08_00_2574.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_03_2601.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_07_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_51_2672.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_54_2697.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_07_58_3732.jpg
/home/pi/Desktop/images/31102025/19/07/image_31102025_19_08_00_2574.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_03_2601.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_07_3581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398059859","1398059814","1398059861","1398059825","1398059851","1398059857"],"photo_ids_order":["1398059814","1398059825","1398059851","1398059857","1398059859","1398059861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fcf92d4c827e4c7563de5ae78305d6e4.jpg","text":"TemporaryFile(/tmp/multipartBody9141689734958580740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923083504,"filename":"image_31102025_19_08_03_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/5/f454e9783b34c636db81faafbd302816.jpg","text":"TemporaryFile(/tmp/multipartBody3001159547205589684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923083504,"filename":"image_31102025_19_07_51_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/5/c4aed23d368433a717fd83fb70caa2be.jpg","text":"TemporaryFile(/tmp/multipartBody1200931734636863744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923083504,"filename":"image_31102025_19_08_07_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/5/2ce6c6e0f261e6307c11986b79e4a7db.jpg","text":"TemporaryFile(/tmp/multipartBody9211851872717407741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923083504,"filename":"image_31102025_19_07_54_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/5/7109af309881f67f6ae7e1463107b18a.jpg","text":"TemporaryFile(/tmp/multipartBody76348651764201841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923083504,"filename":"image_31102025_19_07_58_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/5/bef7b70fff0909f7f9db94e24f255e66.jpg","text":"TemporaryFile(/tmp/multipartBody6337033023077420127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923083504,"filename":"image_31102025_19_08_00_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059851","file1":"1398059825","file0":"1398059814","file4":"1398059859","file5":"1398059861","file3":"1398059857"},"map_files_photo_id_array":[{"photo_id":"1398059861","filename":"file5"},{"photo_id":"1398059851","filename":"file2"},{"photo_id":"1398059859","filename":"file4"},{"photo_id":"1398059825","filename":"file1"},{"photo_id":"1398059814","filename":"file0"},{"photo_id":"1398059857","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398059859":["hashtag1","hashtag2"]},{"1398059814":["hashtag1","hashtag2"]},{"1398059861":["hashtag1","hashtag2"]},{"1398059825":["hashtag1","hashtag2"]},{"1398059851":["hashtag1","hashtag2"]},{"1398059857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398059859, 1398059814, 1398059861, 1398059825, 1398059851, 1398059857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.285051107406616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:24:22.045450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/17/image_05122025_09_17_35_10564.jpg', '/home/pi/Desktop/images/05122025/09/17/image_05122025_09_17_45_9495.jpg', '/home/pi/Desktop/images/05122025/09/17/image_05122025_09_17_55_10699.jpg', '/home/pi/Desktop/images/05122025/09/17/image_05122025_09_18_05_9683.jpg', '/home/pi/Desktop/images/05122025/09/18/image_05122025_09_18_15_9768.jpg', '/home/pi/Desktop/images/05122025/09/18/image_05122025_09_18_26_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/17/image_05122025_09_17_35_10564.jpg
/home/pi/Desktop/images/05122025/09/17/image_05122025_09_17_45_9495.jpg
/home/pi/Desktop/images/05122025/09/17/image_05122025_09_17_55_10699.jpg
/home/pi/Desktop/images/05122025/09/17/image_05122025_09_18_05_9683.jpg
/home/pi/Desktop/images/05122025/09/18/image_05122025_09_18_15_9768.jpg
/home/pi/Desktop/images/05122025/09/18/image_05122025_09_18_26_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":["1398059862","1398059870","1398059873","1398059867","1398059864","1398059869"],"photo_ids_order":["1398059862","1398059864","1398059867","1398059869","1398059870","1398059873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47588ab9f2a8b6640dedfe3592c6c629.jpg","text":"TemporaryFile(/tmp/multipartBody8187329607780224005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923122765,"filename":"image_05122025_09_17_35_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/5/2d91cbd0f89242b90fafc8a0868b7cb8.jpg","text":"TemporaryFile(/tmp/multipartBody161527036304602341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923122765,"filename":"image_05122025_09_18_15_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78f20884d56eacf27b1153edd338e279.jpg","text":"TemporaryFile(/tmp/multipartBody2733609863048700580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923122765,"filename":"image_05122025_09_18_26_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/5/8d8b9a8e3372f9a23c5891efc1dbda42.jpg","text":"TemporaryFile(/tmp/multipartBody4326820484468298254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923122765,"filename":"image_05122025_09_17_55_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c0e91ff62d915ec43b83d3900d51b7a4.jpg","text":"TemporaryFile(/tmp/multipartBody9176967622920702865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923122765,"filename":"image_05122025_09_17_45_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/5/df7f5994bc73c23a959feeb1d450e063.jpg","text":"TemporaryFile(/tmp/multipartBody2106187643444189823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923122765,"filename":"image_05122025_09_18_05_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059867","file1":"1398059864","file0":"1398059862","file4":"1398059870","file5":"1398059873","file3":"1398059869"},"map_files_photo_id_array":[{"photo_id":"1398059873","filename":"file5"},{"photo_id":"1398059867","filename":"file2"},{"photo_id":"1398059870","filename":"file4"},{"photo_id":"1398059864","filename":"file1"},{"photo_id":"1398059862","filename":"file0"},{"photo_id":"1398059869","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398059862":["hashtag1","hashtag2"]},{"1398059870":["hashtag1","hashtag2"]},{"1398059873":["hashtag1","hashtag2"]},{"1398059867":["hashtag1","hashtag2"]},{"1398059864":["hashtag1","hashtag2"]},{"1398059869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398059862, 1398059870, 1398059873, 1398059867, 1398059864, 1398059869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99625849723816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:25:02.786400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/18/image_05122025_09_18_35_9622.jpg', '/home/pi/Desktop/images/05122025/09/18/image_05122025_09_18_45_9974.jpg', '/home/pi/Desktop/images/05122025/09/18/image_05122025_09_18_55_9785.jpg', '/home/pi/Desktop/images/05122025/09/18/image_05122025_09_19_05_9706.jpg', '/home/pi/Desktop/images/05122025/09/19/image_05122025_09_19_15_10790.jpg', '/home/pi/Desktop/images/05122025/09/19/image_05122025_09_19_25_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/18/image_05122025_09_18_35_9622.jpg
/home/pi/Desktop/images/05122025/09/18/image_05122025_09_18_45_9974.jpg
/home/pi/Desktop/images/05122025/09/18/image_05122025_09_18_55_9785.jpg
/home/pi/Desktop/images/05122025/09/18/image_05122025_09_19_05_9706.jpg
/home/pi/Desktop/images/05122025/09/19/image_05122025_09_19_15_10790.jpg
/home/pi/Desktop/images/05122025/09/19/image_05122025_09_19_25_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":["1398059877","1398059879","1398059876","1398059881","1398059878","1398059875"],"photo_ids_order":["1398059875","1398059876","1398059877","1398059878","1398059879","1398059881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c5669170ddb9b6342f1f1be051711d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5507790725726619982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923163567,"filename":"image_05122025_09_18_55_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/5/ffb3ffcb308b4b61a31dc2c96a4f0a20.jpg","text":"TemporaryFile(/tmp/multipartBody5544157331544608135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923163567,"filename":"image_05122025_09_19_15_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/5/198e8c8b83139449aed0b35581c3e1f7.jpg","text":"TemporaryFile(/tmp/multipartBody4446592915597340277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923163567,"filename":"image_05122025_09_18_45_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/5/cd295957e7c28b60e1b4bb05c148a85b.jpg","text":"TemporaryFile(/tmp/multipartBody6123597743464007082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923163567,"filename":"image_05122025_09_19_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad4a3e20bbce2b56f92ccbe0dd5c2d08.jpg","text":"TemporaryFile(/tmp/multipartBody965895438614169850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923163567,"filename":"image_05122025_09_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/5/b8708c994b5e43ed36cf381a561b2f04.jpg","text":"TemporaryFile(/tmp/multipartBody144856770073911041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923163567,"filename":"image_05122025_09_18_35_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059877","file1":"1398059876","file0":"1398059875","file4":"1398059879","file5":"1398059881","file3":"1398059878"},"map_files_photo_id_array":[{"photo_id":"1398059881","filename":"file5"},{"photo_id":"1398059877","filename":"file2"},{"photo_id":"1398059879","filename":"file4"},{"photo_id":"1398059876","filename":"file1"},{"photo_id":"1398059875","filename":"file0"},{"photo_id":"1398059878","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398059877":["hashtag1","hashtag2"]},{"1398059879":["hashtag1","hashtag2"]},{"1398059876":["hashtag1","hashtag2"]},{"1398059881":["hashtag1","hashtag2"]},{"1398059878":["hashtag1","hashtag2"]},{"1398059875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398059877, 1398059879, 1398059876, 1398059881, 1398059878, 1398059875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01098322868347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:25:42.162497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_09_2486.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_15_2712.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_18_2866.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_24_2664.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_28_3545.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_33_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_09_2486.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_15_2712.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_18_2866.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_24_2664.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_28_3545.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_33_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398059913","1398059903","1398059906","1398059896","1398059887","1398059914"],"photo_ids_order":["1398059887","1398059896","1398059903","1398059906","1398059913","1398059914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fb6bab729cb059481b52839902dff2b7.jpg","text":"TemporaryFile(/tmp/multipartBody4821306406609968303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923203777,"filename":"image_31102025_19_08_28_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/5/aaf30725e989c109958369601d7afd66.jpg","text":"TemporaryFile(/tmp/multipartBody7768870109073386826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923203777,"filename":"image_31102025_19_08_18_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/5/074e4ce824e3a1a0b5f82e4e6f92ab6e.jpg","text":"TemporaryFile(/tmp/multipartBody194731174597836510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923203777,"filename":"image_31102025_19_08_24_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/5/a4c3b4bb9fd3395e88727c8008913050.jpg","text":"TemporaryFile(/tmp/multipartBody8278373437976654056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923203777,"filename":"image_31102025_19_08_15_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/5/8a82a0ff58f91dbd011f02d327a2ed20.jpg","text":"TemporaryFile(/tmp/multipartBody3673901180560623554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923203777,"filename":"image_31102025_19_08_09_2486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/053aa2001b795b7be3b9a3ef39b22af4.jpg","text":"TemporaryFile(/tmp/multipartBody8255039656319014671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923203777,"filename":"image_31102025_19_08_33_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059903","file1":"1398059896","file0":"1398059887","file4":"1398059913","file5":"1398059914","file3":"1398059906"},"map_files_photo_id_array":[{"photo_id":"1398059914","filename":"file5"},{"photo_id":"1398059903","filename":"file2"},{"photo_id":"1398059913","filename":"file4"},{"photo_id":"1398059896","filename":"file1"},{"photo_id":"1398059887","filename":"file0"},{"photo_id":"1398059906","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398059913":["hashtag1","hashtag2"]},{"1398059903":["hashtag1","hashtag2"]},{"1398059906":["hashtag1","hashtag2"]},{"1398059896":["hashtag1","hashtag2"]},{"1398059887":["hashtag1","hashtag2"]},{"1398059914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398059913, 1398059903, 1398059906, 1398059896, 1398059887, 1398059914)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.24972128868103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:26:32.341934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_35_10595.jpg', '/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_45_9796.jpg', '/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_55_9665.jpg', '/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_15_10784.jpg', '/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_25_9703.jpg', '/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_35_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_35_10595.jpg
/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_45_9796.jpg
/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_55_9665.jpg
/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_15_10784.jpg
/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_25_9703.jpg
/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_35_9680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.2064855098724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:26:42.316474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_36_2766.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_40_3712.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_42_2581.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_49_3532.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_51_2851.jpg', '/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_54_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_36_2766.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_40_3712.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_42_2581.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_49_3532.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_51_2851.jpg
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_54_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398059988","1398059990","1398059960","1398059963","1398059989","1398059986"],"photo_ids_order":["1398059960","1398059963","1398059986","1398059988","1398059989","1398059990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1210091cd0325fc6284ad4244f00db87.jpg","text":"TemporaryFile(/tmp/multipartBody3835847774487499373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923263968,"filename":"image_31102025_19_08_49_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/5/d147d51aeb06cd8770daf7e586fb8b28.jpg","text":"TemporaryFile(/tmp/multipartBody1328980652792324653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923263968,"filename":"image_31102025_19_08_54_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/5/a63bdd909c9c78e8877a53d66fa3ca57.jpg","text":"TemporaryFile(/tmp/multipartBody2257597951805827860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923263968,"filename":"image_31102025_19_08_36_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/5/fd2f7d9e19f57f56e8f4b4611a1f33b4.jpg","text":"TemporaryFile(/tmp/multipartBody3180776253021301629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923263968,"filename":"image_31102025_19_08_40_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/5/8b0237a2586d722aaafb802f843f41c4.jpg","text":"TemporaryFile(/tmp/multipartBody4438041415896731281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923263968,"filename":"image_31102025_19_08_51_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/5/04d85d38481fadb1f4f291f0e7d8d8ac.jpg","text":"TemporaryFile(/tmp/multipartBody2516025485740047210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923263968,"filename":"image_31102025_19_08_42_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059986","file1":"1398059963","file0":"1398059960","file4":"1398059989","file5":"1398059990","file3":"1398059988"},"map_files_photo_id_array":[{"photo_id":"1398059990","filename":"file5"},{"photo_id":"1398059986","filename":"file2"},{"photo_id":"1398059989","filename":"file4"},{"photo_id":"1398059963","filename":"file1"},{"photo_id":"1398059960","filename":"file0"},{"photo_id":"1398059988","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398059988":["hashtag1","hashtag2"]},{"1398059990":["hashtag1","hashtag2"]},{"1398059960":["hashtag1","hashtag2"]},{"1398059963":["hashtag1","hashtag2"]},{"1398059989":["hashtag1","hashtag2"]},{"1398059986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398059988, 1398059990, 1398059960, 1398059963, 1398059989, 1398059986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05980205535889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:27:22.541796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/19/image_05122025_09_19_35_9755.jpg', '/home/pi/Desktop/images/05122025/09/19/image_05122025_09_19_45_10598.jpg', '/home/pi/Desktop/images/05122025/09/19/image_05122025_09_19_55_9677.jpg', '/home/pi/Desktop/images/05122025/09/19/image_05122025_09_20_05_9695.jpg', '/home/pi/Desktop/images/05122025/09/20/image_05122025_09_20_16_10735.jpg', '/home/pi/Desktop/images/05122025/09/20/image_05122025_09_20_25_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/19/image_05122025_09_19_35_9755.jpg
/home/pi/Desktop/images/05122025/09/19/image_05122025_09_19_45_10598.jpg
/home/pi/Desktop/images/05122025/09/19/image_05122025_09_19_55_9677.jpg
/home/pi/Desktop/images/05122025/09/19/image_05122025_09_20_05_9695.jpg
/home/pi/Desktop/images/05122025/09/20/image_05122025_09_20_16_10735.jpg
/home/pi/Desktop/images/05122025/09/20/image_05122025_09_20_25_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398059994","1398059996","1398060000","1398060003","1398059998","1398059991"],"photo_ids_order":["1398059991","1398059994","1398059996","1398059998","1398060000","1398060003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/25cc1cd4178a38c10497c38475dbc86a.jpg","text":"TemporaryFile(/tmp/multipartBody3157974095035618338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923303263,"filename":"image_05122025_09_19_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fb21b38a4c244e0f58e094077aed809e.jpg","text":"TemporaryFile(/tmp/multipartBody6206096021794007404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923303263,"filename":"image_05122025_09_19_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/5/9a8461ae3407454ab907255638817dff.jpg","text":"TemporaryFile(/tmp/multipartBody2603337868629382105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923303263,"filename":"image_05122025_09_20_16_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0af4c3a1586096a48b9c3919466dadc0.jpg","text":"TemporaryFile(/tmp/multipartBody929842075993419552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923303263,"filename":"image_05122025_09_20_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/5/0b9b6fa83fa1c469d127998072879a12.jpg","text":"TemporaryFile(/tmp/multipartBody6706326497009684799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923303263,"filename":"image_05122025_09_20_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/5/eab6238bb3ebda6486ea8b7aaf1d36a1.jpg","text":"TemporaryFile(/tmp/multipartBody3949772031299674617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923303263,"filename":"image_05122025_09_19_35_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398059996","file1":"1398059994","file0":"1398059991","file4":"1398060000","file5":"1398060003","file3":"1398059998"},"map_files_photo_id_array":[{"photo_id":"1398060003","filename":"file5"},{"photo_id":"1398059996","filename":"file2"},{"photo_id":"1398060000","filename":"file4"},{"photo_id":"1398059994","filename":"file1"},{"photo_id":"1398059991","filename":"file0"},{"photo_id":"1398059998","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398059994":["hashtag1","hashtag2"]},{"1398059996":["hashtag1","hashtag2"]},{"1398060000":["hashtag1","hashtag2"]},{"1398060003":["hashtag1","hashtag2"]},{"1398059998":["hashtag1","hashtag2"]},{"1398059991":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398059994, 1398059996, 1398060000, 1398060003, 1398059998, 1398059991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.964964866638184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:28:03.118330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/20/image_05122025_09_20_35_9775.jpg', '/home/pi/Desktop/images/05122025/09/20/image_05122025_09_20_47_11741.jpg', '/home/pi/Desktop/images/05122025/09/20/image_05122025_09_20_55_8609.jpg', '/home/pi/Desktop/images/05122025/09/20/image_05122025_09_21_05_9666.jpg', '/home/pi/Desktop/images/05122025/09/21/image_05122025_09_21_15_9754.jpg', '/home/pi/Desktop/images/05122025/09/21/image_05122025_09_21_25_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/20/image_05122025_09_20_35_9775.jpg
/home/pi/Desktop/images/05122025/09/20/image_05122025_09_20_47_11741.jpg
/home/pi/Desktop/images/05122025/09/20/image_05122025_09_20_55_8609.jpg
/home/pi/Desktop/images/05122025/09/20/image_05122025_09_21_05_9666.jpg
/home/pi/Desktop/images/05122025/09/21/image_05122025_09_21_15_9754.jpg
/home/pi/Desktop/images/05122025/09/21/image_05122025_09_21_25_10615.jpg
 val : 1 : upload photos already in 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":["1398060007","1398060006","1398060009","1398060011","1398060005","1398060008"],"photo_ids_order":["1398060005","1398060006","1398060007","1398060008","1398060009","1398060011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dd365fcd283fc1ed6e7a746412659a86.jpg","text":"TemporaryFile(/tmp/multipartBody54311056161407298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923343848,"filename":"image_05122025_09_20_55_8609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3554ce0b28a8f0746a93d8bfaebb0bb5.jpg","text":"TemporaryFile(/tmp/multipartBody8629085261336981600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923343848,"filename":"image_05122025_09_20_47_11741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ccbe1d65fe5f657e280d88b920f0a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4921243222830997906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923343848,"filename":"image_05122025_09_21_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/5/43d7af0e00f9de87345c6035d12ba1e5.jpg","text":"TemporaryFile(/tmp/multipartBody5828715138258037618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923343848,"filename":"image_05122025_09_21_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/5/b7e43bf9bcef5923f0e91f7106020b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7617636632934602434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923343848,"filename":"image_05122025_09_20_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/5/04bd2b286bf4ca5d62c0632c394db381.jpg","text":"TemporaryFile(/tmp/multipartBody1818650369035566596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923343848,"filename":"image_05122025_09_21_05_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060007","file1":"1398060006","file0":"1398060005","file4":"1398060009","file5":"1398060011","file3":"1398060008"},"map_files_photo_id_array":[{"photo_id":"1398060011","filename":"file5"},{"photo_id":"1398060007","filename":"file2"},{"photo_id":"1398060009","filename":"file4"},{"photo_id":"1398060006","filename":"file1"},{"photo_id":"1398060005","filename":"file0"},{"photo_id":"1398060008","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060007":["hashtag1","hashtag2"]},{"1398060006":["hashtag1","hashtag2"]},{"1398060009":["hashtag1","hashtag2"]},{"1398060011":["hashtag1","hashtag2"]},{"1398060005":["hashtag1","hashtag2"]},{"1398060008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060007, 1398060006, 1398060009, 1398060011, 1398060005, 1398060008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.89155125617981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:29:03.496829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/21/image_05122025_09_21_35_9622.jpg', '/home/pi/Desktop/images/05122025/09/21/image_05122025_09_21_45_9856.jpg', '/home/pi/Desktop/images/05122025/09/21/image_05122025_09_21_56_10739.jpg', '/home/pi/Desktop/images/05122025/09/21/image_05122025_09_22_05_9576.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_15_9747.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_25_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/21/image_05122025_09_21_35_9622.jpg
/home/pi/Desktop/images/05122025/09/21/image_05122025_09_21_45_9856.jpg
/home/pi/Desktop/images/05122025/09/21/image_05122025_09_21_56_10739.jpg
/home/pi/Desktop/images/05122025/09/21/image_05122025_09_22_05_9576.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_15_9747.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_25_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398060025","1398060022","1398060019","1398060018","1398060021","1398060023"],"photo_ids_order":["1398060018","1398060019","1398060021","1398060022","1398060023","1398060025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a08556704e208df52f658e01a999754.jpg","text":"TemporaryFile(/tmp/multipartBody4841331000842552048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923404237,"filename":"image_05122025_09_22_25_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/5/8f160b65d886e327039b8c4b0dc21e30.jpg","text":"TemporaryFile(/tmp/multipartBody5403611870667199991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923404237,"filename":"image_05122025_09_22_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1b2a8cf461003c348fbc536e733dd78.jpg","text":"TemporaryFile(/tmp/multipartBody7986735462637055936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923404237,"filename":"image_05122025_09_21_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/5/832396f8b11637c205d683bd526d2640.jpg","text":"TemporaryFile(/tmp/multipartBody8342762904517234722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923404237,"filename":"image_05122025_09_21_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/5/f324c0ca9b0e534ef1e62b6bba23b3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5493118975134707423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923404237,"filename":"image_05122025_09_21_56_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/5/de64fa98ac8555a51a3fb4767fca8c96.jpg","text":"TemporaryFile(/tmp/multipartBody7749947616130931320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923404237,"filename":"image_05122025_09_22_15_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060021","file1":"1398060019","file0":"1398060018","file4":"1398060023","file5":"1398060025","file3":"1398060022"},"map_files_photo_id_array":[{"photo_id":"1398060025","filename":"file5"},{"photo_id":"1398060021","filename":"file2"},{"photo_id":"1398060023","filename":"file4"},{"photo_id":"1398060019","filename":"file1"},{"photo_id":"1398060018","filename":"file0"},{"photo_id":"1398060022","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060025":["hashtag1","hashtag2"]},{"1398060022":["hashtag1","hashtag2"]},{"1398060019":["hashtag1","hashtag2"]},{"1398060018":["hashtag1","hashtag2"]},{"1398060021":["hashtag1","hashtag2"]},{"1398060023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060025, 1398060022, 1398060019, 1398060018, 1398060021, 1398060023)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.05252504348755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:30:02.508757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_36_10820.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_45_9543.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_55_9570.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_23_05_10759.jpg', '/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_15_9889.jpg', '/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_25_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_36_10820.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_45_9543.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_55_9570.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_23_05_10759.jpg
/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_15_9889.jpg
/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_25_9792.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5912892818450928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-05 09:30:19.958980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_35_10595.jpg', '/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_45_9796.jpg', '/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_55_9665.jpg', '/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_15_10784.jpg', '/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_25_9703.jpg', '/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_35_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_35_10595.jpg
/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_45_9796.jpg
/home/pi/Desktop/images/02122025/17/51/image_02122025_17_51_55_9665.jpg
/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_15_10784.jpg
/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_25_9703.jpg
/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_35_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":["1398060067","1398060046","1398060049","1398060060","1398060041","1398060043"],"photo_ids_order":["1398060041","1398060043","1398060046","1398060049","1398060060","1398060067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03d8058f591c46fbc9f09269d40eb54e.jpg","text":"TemporaryFile(/tmp/multipartBody1409404083059075954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923482819,"filename":"image_02122025_17_52_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f36be1e51ffa9174230d84df75b17d72.jpg","text":"TemporaryFile(/tmp/multipartBody2339191424047245416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923482819,"filename":"image_02122025_17_51_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/5/089be8de842c3305b5ca52524db69c2c.jpg","text":"TemporaryFile(/tmp/multipartBody8677650436917689700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923482819,"filename":"image_02122025_17_52_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/5/750732d40f1f9c9817a9b5eabfae6aef.jpg","text":"TemporaryFile(/tmp/multipartBody6158276710115755973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923482819,"filename":"image_02122025_17_52_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/5/8929806277bec987a9ede767e0aa7c7a.jpg","text":"TemporaryFile(/tmp/multipartBody7274256723447720171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923482819,"filename":"image_02122025_17_51_35_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/5/a7d8b5d10c2a3349aaf4e37f2d398659.jpg","text":"TemporaryFile(/tmp/multipartBody712308476822407265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923482819,"filename":"image_02122025_17_51_45_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060046","file1":"1398060043","file0":"1398060041","file4":"1398060060","file5":"1398060067","file3":"1398060049"},"map_files_photo_id_array":[{"photo_id":"1398060067","filename":"file5"},{"photo_id":"1398060046","filename":"file2"},{"photo_id":"1398060060","filename":"file4"},{"photo_id":"1398060043","filename":"file1"},{"photo_id":"1398060041","filename":"file0"},{"photo_id":"1398060049","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398060067":["hashtag1","hashtag2"]},{"1398060046":["hashtag1","hashtag2"]},{"1398060049":["hashtag1","hashtag2"]},{"1398060060":["hashtag1","hashtag2"]},{"1398060041":["hashtag1","hashtag2"]},{"1398060043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398060067, 1398060046, 1398060049, 1398060060, 1398060041, 1398060043)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.6504168510437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:31:13.385143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_44_9683.jpg', '/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_55_10544.jpg', '/home/pi/Desktop/images/02122025/17/52/image_02122025_17_53_05_9947.jpg', '/home/pi/Desktop/images/02122025/17/53/image_02122025_17_53_15_9685.jpg', '/home/pi/Desktop/images/02122025/17/53/image_02122025_17_53_35_9680.jpg', '/home/pi/Desktop/images/02122025/17/53/image_02122025_17_53_45_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_44_9683.jpg
/home/pi/Desktop/images/02122025/17/52/image_02122025_17_52_55_10544.jpg
/home/pi/Desktop/images/02122025/17/52/image_02122025_17_53_05_9947.jpg
/home/pi/Desktop/images/02122025/17/53/image_02122025_17_53_15_9685.jpg
/home/pi/Desktop/images/02122025/17/53/image_02122025_17_53_35_9680.jpg
/home/pi/Desktop/images/02122025/17/53/image_02122025_17_53_45_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":["1398060093","1398060087","1398060084","1398060089","1398060091","1398060085"],"photo_ids_order":["1398060084","1398060085","1398060087","1398060089","1398060091","1398060093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c4923b09f9016d5540486f505b97d14.jpg","text":"TemporaryFile(/tmp/multipartBody3996354194150812346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923537005,"filename":"image_02122025_17_53_45_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/5/31606e33faa4ed48bf383dada99c473d.jpg","text":"TemporaryFile(/tmp/multipartBody5960028653619206391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923537005,"filename":"image_02122025_17_53_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/5/026aa39916a34af8a80e653fea998552.jpg","text":"TemporaryFile(/tmp/multipartBody3529093149731528277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923537005,"filename":"image_02122025_17_52_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/5/f035aad847ca9e876e1cb5348519ebdd.jpg","text":"TemporaryFile(/tmp/multipartBody4216927484392708276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923537005,"filename":"image_02122025_17_53_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f9dba63f895b11927ba7559a1ca6ed78.jpg","text":"TemporaryFile(/tmp/multipartBody1184053727893006373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923537005,"filename":"image_02122025_17_53_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/11f51bbfdeae809049af9d436d64183f.jpg","text":"TemporaryFile(/tmp/multipartBody6884816762538127593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923537005,"filename":"image_02122025_17_52_55_10544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060087","file1":"1398060085","file0":"1398060084","file4":"1398060091","file5":"1398060093","file3":"1398060089"},"map_files_photo_id_array":[{"photo_id":"1398060093","filename":"file5"},{"photo_id":"1398060087","filename":"file2"},{"photo_id":"1398060091","filename":"file4"},{"photo_id":"1398060085","filename":"file1"},{"photo_id":"1398060084","filename":"file0"},{"photo_id":"1398060089","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398060093":["hashtag1","hashtag2"]},{"1398060087":["hashtag1","hashtag2"]},{"1398060084":["hashtag1","hashtag2"]},{"1398060089":["hashtag1","hashtag2"]},{"1398060091":["hashtag1","hashtag2"]},{"1398060085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398060093, 1398060087, 1398060084, 1398060089, 1398060091, 1398060085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21158766746521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:32:03.173734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_36_10820.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_45_9543.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_55_9570.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_23_05_10759.jpg', '/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_15_9889.jpg', '/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_25_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_36_10820.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_45_9543.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_55_9570.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_23_05_10759.jpg
/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_15_9889.jpg
/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_25_9792.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5877132415771484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:32:12.631088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/54/image_02122025_17_54_25_9821.jpg', '/home/pi/Desktop/images/02122025/17/54/image_02122025_17_54_35_9704.jpg', '/home/pi/Desktop/images/02122025/17/54/image_02122025_17_54_44_9842.jpg', '/home/pi/Desktop/images/02122025/17/54/image_02122025_17_54_55_10843.jpg', '/home/pi/Desktop/images/02122025/17/55/image_02122025_17_55_14_10047.jpg', '/home/pi/Desktop/images/02122025/17/55/image_02122025_17_55_34_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/54/image_02122025_17_54_25_9821.jpg
/home/pi/Desktop/images/02122025/17/54/image_02122025_17_54_35_9704.jpg
/home/pi/Desktop/images/02122025/17/54/image_02122025_17_54_44_9842.jpg
/home/pi/Desktop/images/02122025/17/54/image_02122025_17_54_55_10843.jpg
/home/pi/Desktop/images/02122025/17/55/image_02122025_17_55_14_10047.jpg
/home/pi/Desktop/images/02122025/17/55/image_02122025_17_55_34_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":["1398060112","1398060106","1398060103","1398060108","1398060101","1398060110"],"photo_ids_order":["1398060101","1398060103","1398060106","1398060108","1398060110","1398060112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7d73983487b5f5c0095936c39e015cad.jpg","text":"TemporaryFile(/tmp/multipartBody3919498526389746831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923594552,"filename":"image_02122025_17_55_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/5/69cc44d62b00fc28991b527b0e5eb55a.jpg","text":"TemporaryFile(/tmp/multipartBody678917237491123558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923594552,"filename":"image_02122025_17_54_44_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a10ee0ae8ad16448a834b99d9ac76262.jpg","text":"TemporaryFile(/tmp/multipartBody3933520236182866130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923594552,"filename":"image_02122025_17_54_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/5/16c0b081125660672b702b2a9f2eafed.jpg","text":"TemporaryFile(/tmp/multipartBody6925783657929459987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923594552,"filename":"image_02122025_17_54_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/5/a9f4586aefbe718e72cfd374e8412c0d.jpg","text":"TemporaryFile(/tmp/multipartBody6329608076674770961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923594552,"filename":"image_02122025_17_54_25_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7d3061d612633123dc904a195134d124.jpg","text":"TemporaryFile(/tmp/multipartBody315685847413683262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923594552,"filename":"image_02122025_17_55_14_10047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060106","file1":"1398060103","file0":"1398060101","file4":"1398060110","file5":"1398060112","file3":"1398060108"},"map_files_photo_id_array":[{"photo_id":"1398060112","filename":"file5"},{"photo_id":"1398060106","filename":"file2"},{"photo_id":"1398060110","filename":"file4"},{"photo_id":"1398060103","filename":"file1"},{"photo_id":"1398060101","filename":"file0"},{"photo_id":"1398060108","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398060112":["hashtag1","hashtag2"]},{"1398060106":["hashtag1","hashtag2"]},{"1398060103":["hashtag1","hashtag2"]},{"1398060108":["hashtag1","hashtag2"]},{"1398060101":["hashtag1","hashtag2"]},{"1398060110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398060112, 1398060106, 1398060103, 1398060108, 1398060101, 1398060110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95006203651428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:33:02.543365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_36_10820.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_45_9543.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_55_9570.jpg', '/home/pi/Desktop/images/05122025/09/22/image_05122025_09_23_05_10759.jpg', '/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_15_9889.jpg', '/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_25_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_36_10820.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_45_9543.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_22_55_9570.jpg
/home/pi/Desktop/images/05122025/09/22/image_05122025_09_23_05_10759.jpg
/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_15_9889.jpg
/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_25_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398060145","1398060154","1398060136","1398060135","1398060138","1398060140"],"photo_ids_order":["1398060135","1398060136","1398060138","1398060140","1398060145","1398060154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0d86695e83fad30e9c9305f56bcdea8a.jpg","text":"TemporaryFile(/tmp/multipartBody8427150483730432293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923643266,"filename":"image_05122025_09_23_15_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/5/9bd1542fa5e28274e49fd37512991e88.jpg","text":"TemporaryFile(/tmp/multipartBody955438960855247357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923643266,"filename":"image_05122025_09_23_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/5/79f66058c13485a2e227258343119cd0.jpg","text":"TemporaryFile(/tmp/multipartBody7047405334568775007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923643266,"filename":"image_05122025_09_22_45_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/5/3a579c56762ea3c3d028e00e2261afc9.jpg","text":"TemporaryFile(/tmp/multipartBody2640267998510425964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923643266,"filename":"image_05122025_09_22_36_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ff43d8dabd8c8ad2daec30b0b884cb1.jpg","text":"TemporaryFile(/tmp/multipartBody3523567295096299146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923643266,"filename":"image_05122025_09_22_55_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/5/465e77fd343fd94a423b1383115260b9.jpg","text":"TemporaryFile(/tmp/multipartBody3786880866743653180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923643266,"filename":"image_05122025_09_23_05_10759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060138","file1":"1398060136","file0":"1398060135","file4":"1398060145","file5":"1398060154","file3":"1398060140"},"map_files_photo_id_array":[{"photo_id":"1398060154","filename":"file5"},{"photo_id":"1398060138","filename":"file2"},{"photo_id":"1398060145","filename":"file4"},{"photo_id":"1398060136","filename":"file1"},{"photo_id":"1398060135","filename":"file0"},{"photo_id":"1398060140","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060145":["hashtag1","hashtag2"]},{"1398060154":["hashtag1","hashtag2"]},{"1398060136":["hashtag1","hashtag2"]},{"1398060135":["hashtag1","hashtag2"]},{"1398060138":["hashtag1","hashtag2"]},{"1398060140":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060145, 1398060154, 1398060136, 1398060135, 1398060138, 1398060140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.599430561065674 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-05 09:34:02.677795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 09:34:12.032257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/55/image_02122025_17_55_45_10568.jpg', '/home/pi/Desktop/images/02122025/17/55/image_02122025_17_55_54_9733.jpg', '/home/pi/Desktop/images/02122025/17/55/image_02122025_17_56_04_9692.jpg', '/home/pi/Desktop/images/02122025/17/56/image_02122025_17_56_14_9903.jpg', '/home/pi/Desktop/images/02122025/17/56/image_02122025_17_56_25_10681.jpg', '/home/pi/Desktop/images/02122025/17/56/image_02122025_17_56_35_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/55/image_02122025_17_55_45_10568.jpg
/home/pi/Desktop/images/02122025/17/55/image_02122025_17_55_54_9733.jpg
/home/pi/Desktop/images/02122025/17/55/image_02122025_17_56_04_9692.jpg
/home/pi/Desktop/images/02122025/17/56/image_02122025_17_56_14_9903.jpg
/home/pi/Desktop/images/02122025/17/56/image_02122025_17_56_25_10681.jpg
/home/pi/Desktop/images/02122025/17/56/image_02122025_17_56_35_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":["1398060174","1398060182","1398060176","1398060179","1398060181","1398060184"],"photo_ids_order":["1398060174","1398060176","1398060179","1398060181","1398060182","1398060184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a2ead69c34ac6e659570453196fe419.jpg","text":"TemporaryFile(/tmp/multipartBody56222507735686428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923718505,"filename":"image_02122025_17_55_45_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/5/d99d09c6efb46d285051ea44d502ea5e.jpg","text":"TemporaryFile(/tmp/multipartBody7390440398850004328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923718505,"filename":"image_02122025_17_56_25_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/5/1fb84e10b8eee91f39d53d594866eaf3.jpg","text":"TemporaryFile(/tmp/multipartBody2790844318256927075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923718505,"filename":"image_02122025_17_55_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2d3f55509a884305c01a513c620f3c70.jpg","text":"TemporaryFile(/tmp/multipartBody2712153415924877332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923718505,"filename":"image_02122025_17_56_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/5/aa5f3b7a9ab0206aefc20a49a4a8c8fd.jpg","text":"TemporaryFile(/tmp/multipartBody3013563377919654485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923718505,"filename":"image_02122025_17_56_14_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/5/6b454177ae5514bbc59fa393c342ff95.jpg","text":"TemporaryFile(/tmp/multipartBody7872944968277179172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923718505,"filename":"image_02122025_17_56_35_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060179","file1":"1398060176","file0":"1398060174","file4":"1398060182","file5":"1398060184","file3":"1398060181"},"map_files_photo_id_array":[{"photo_id":"1398060184","filename":"file5"},{"photo_id":"1398060179","filename":"file2"},{"photo_id":"1398060182","filename":"file4"},{"photo_id":"1398060176","filename":"file1"},{"photo_id":"1398060174","filename":"file0"},{"photo_id":"1398060181","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398060174":["hashtag1","hashtag2"]},{"1398060182":["hashtag1","hashtag2"]},{"1398060176":["hashtag1","hashtag2"]},{"1398060179":["hashtag1","hashtag2"]},{"1398060181":["hashtag1","hashtag2"]},{"1398060184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398060174, 1398060182, 1398060176, 1398060179, 1398060181, 1398060184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.59920644760132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:35:03.283948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_35_9610.jpg', '/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_45_10390.jpg', '/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_55_9663.jpg', '/home/pi/Desktop/images/05122025/09/23/image_05122025_09_24_05_10613.jpg', '/home/pi/Desktop/images/05122025/09/24/image_05122025_09_24_15_9704.jpg', '/home/pi/Desktop/images/05122025/09/24/image_05122025_09_24_25_9818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_35_9610.jpg
/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_45_10390.jpg
/home/pi/Desktop/images/05122025/09/23/image_05122025_09_23_55_9663.jpg
/home/pi/Desktop/images/05122025/09/23/image_05122025_09_24_05_10613.jpg
/home/pi/Desktop/images/05122025/09/24/image_05122025_09_24_15_9704.jpg
/home/pi/Desktop/images/05122025/09/24/image_05122025_09_24_25_9818.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":["1398060192","1398060194","1398060207","1398060197","1398060201","1398060199"],"photo_ids_order":["1398060192","1398060194","1398060197","1398060199","1398060201","1398060207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f3287d75ce4bf23d642ab2c50ae1b0be.jpg","text":"TemporaryFile(/tmp/multipartBody5691388236693503571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923766926,"filename":"image_05122025_09_23_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/65b875717e462ac0a56a2621291a1d4b.jpg","text":"TemporaryFile(/tmp/multipartBody4381505779520196092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923766926,"filename":"image_05122025_09_23_45_10390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2d1364861e6d12cdb618ec20afdae32b.jpg","text":"TemporaryFile(/tmp/multipartBody6326033279088577987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923766926,"filename":"image_05122025_09_24_25_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/5/228b1d434042e30a93efe40e2741c26a.jpg","text":"TemporaryFile(/tmp/multipartBody4307188166893417754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923766926,"filename":"image_05122025_09_23_55_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/5/10916700407a063a173dc25b0c36fe6c.jpg","text":"TemporaryFile(/tmp/multipartBody2946418546088349580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923766926,"filename":"image_05122025_09_24_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/5/df9cf6005b732b16ccc9631041a3411c.jpg","text":"TemporaryFile(/tmp/multipartBody5785340708716002848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923766926,"filename":"image_05122025_09_24_05_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060197","file1":"1398060194","file0":"1398060192","file4":"1398060201","file5":"1398060207","file3":"1398060199"},"map_files_photo_id_array":[{"photo_id":"1398060207","filename":"file5"},{"photo_id":"1398060197","filename":"file2"},{"photo_id":"1398060201","filename":"file4"},{"photo_id":"1398060194","filename":"file1"},{"photo_id":"1398060192","filename":"file0"},{"photo_id":"1398060199","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060192":["hashtag1","hashtag2"]},{"1398060194":["hashtag1","hashtag2"]},{"1398060207":["hashtag1","hashtag2"]},{"1398060197":["hashtag1","hashtag2"]},{"1398060201":["hashtag1","hashtag2"]},{"1398060199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060192, 1398060194, 1398060207, 1398060197, 1398060201, 1398060199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.63586974143982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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-05 09:36:12.258348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 09:36:27.598547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/24/image_05122025_09_24_36_10688.jpg', '/home/pi/Desktop/images/05122025/09/24/image_05122025_09_24_55_9767.jpg', '/home/pi/Desktop/images/05122025/09/24/image_05122025_09_25_05_9851.jpg', '/home/pi/Desktop/images/05122025/09/25/image_05122025_09_25_15_9690.jpg', '/home/pi/Desktop/images/05122025/09/25/image_05122025_09_25_25_10699.jpg', '/home/pi/Desktop/images/05122025/09/25/image_05122025_09_25_35_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/24/image_05122025_09_24_36_10688.jpg
/home/pi/Desktop/images/05122025/09/24/image_05122025_09_24_55_9767.jpg
/home/pi/Desktop/images/05122025/09/24/image_05122025_09_25_05_9851.jpg
/home/pi/Desktop/images/05122025/09/25/image_05122025_09_25_15_9690.jpg
/home/pi/Desktop/images/05122025/09/25/image_05122025_09_25_25_10699.jpg
/home/pi/Desktop/images/05122025/09/25/image_05122025_09_25_35_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":["1398060270","1398060252","1398060255","1398060264","1398060268","1398060262"],"photo_ids_order":["1398060252","1398060255","1398060262","1398060264","1398060268","1398060270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bdadaa0425bdfaa26a2b88b94f2138d8.jpg","text":"TemporaryFile(/tmp/multipartBody7823954654576991666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923848206,"filename":"image_05122025_09_25_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/5/9d9ac7fdcc0a8ae8fca8e362a9a63d21.jpg","text":"TemporaryFile(/tmp/multipartBody8474815599046133502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923848206,"filename":"image_05122025_09_24_36_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ebeac6b8cf33c0d5caa2eec6f181a8a.jpg","text":"TemporaryFile(/tmp/multipartBody2760716872527335435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923848206,"filename":"image_05122025_09_24_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/5/0b590331ca7b7099a40b37e3c192ba6a.jpg","text":"TemporaryFile(/tmp/multipartBody3760806067604104816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923848206,"filename":"image_05122025_09_25_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/5/fa01ecf4ee1b732fa98fb54dc5f8df32.jpg","text":"TemporaryFile(/tmp/multipartBody4840648026753265213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923848206,"filename":"image_05122025_09_25_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/5/82734915c94ef7ab5d8784420d857b38.jpg","text":"TemporaryFile(/tmp/multipartBody4381639060778960526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923848206,"filename":"image_05122025_09_25_05_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060262","file1":"1398060255","file0":"1398060252","file4":"1398060268","file5":"1398060270","file3":"1398060264"},"map_files_photo_id_array":[{"photo_id":"1398060270","filename":"file5"},{"photo_id":"1398060262","filename":"file2"},{"photo_id":"1398060268","filename":"file4"},{"photo_id":"1398060255","filename":"file1"},{"photo_id":"1398060252","filename":"file0"},{"photo_id":"1398060264","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060270":["hashtag1","hashtag2"]},{"1398060252":["hashtag1","hashtag2"]},{"1398060255":["hashtag1","hashtag2"]},{"1398060264":["hashtag1","hashtag2"]},{"1398060268":["hashtag1","hashtag2"]},{"1398060262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060270, 1398060252, 1398060255, 1398060264, 1398060268, 1398060262)","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 = 1398060262 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05122025/09/24/image_05122025_09_25_05_9851.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.284961462020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:37:32.638804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/56/image_02122025_17_56_44_9887.jpg', '/home/pi/Desktop/images/02122025/17/56/image_02122025_17_57_04_9756.jpg', '/home/pi/Desktop/images/02122025/17/57/image_02122025_17_57_15_10734.jpg', '/home/pi/Desktop/images/02122025/17/57/image_02122025_17_57_34_9690.jpg', '/home/pi/Desktop/images/02122025/17/57/image_02122025_17_57_44_9788.jpg', '/home/pi/Desktop/images/02122025/17/57/image_02122025_17_58_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/56/image_02122025_17_56_44_9887.jpg
/home/pi/Desktop/images/02122025/17/56/image_02122025_17_57_04_9756.jpg
/home/pi/Desktop/images/02122025/17/57/image_02122025_17_57_15_10734.jpg
/home/pi/Desktop/images/02122025/17/57/image_02122025_17_57_34_9690.jpg
/home/pi/Desktop/images/02122025/17/57/image_02122025_17_57_44_9788.jpg
/home/pi/Desktop/images/02122025/17/57/image_02122025_17_58_04_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":["1398060331","1398060304","1398060301","1398060303","1398060293","1398060296"],"photo_ids_order":["1398060293","1398060296","1398060301","1398060303","1398060304","1398060331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f460e6433b5cd6c3a1480891b7ec94cb.jpg","text":"TemporaryFile(/tmp/multipartBody4939897880951303561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923914831,"filename":"image_02122025_17_58_04_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f86e23826e1e96699a464941ce181228.jpg","text":"TemporaryFile(/tmp/multipartBody7817728565053160115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923914831,"filename":"image_02122025_17_57_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/5/648e75aa15848b1020aba25c4a4db870.jpg","text":"TemporaryFile(/tmp/multipartBody4776807574753529759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923914831,"filename":"image_02122025_17_57_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/5/92d636f4799ea1d8f3c94846b6a29e57.jpg","text":"TemporaryFile(/tmp/multipartBody8495280192717712076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923914831,"filename":"image_02122025_17_57_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce96fca02869ad5e891de2c6a4a9c33d.jpg","text":"TemporaryFile(/tmp/multipartBody673137502337158230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923914831,"filename":"image_02122025_17_56_44_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/5/2ce08ca64e7ef93e189909b374ed2cac.jpg","text":"TemporaryFile(/tmp/multipartBody2695190579127563369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923914831,"filename":"image_02122025_17_57_04_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060301","file1":"1398060296","file0":"1398060293","file4":"1398060304","file5":"1398060331","file3":"1398060303"},"map_files_photo_id_array":[{"photo_id":"1398060331","filename":"file5"},{"photo_id":"1398060301","filename":"file2"},{"photo_id":"1398060304","filename":"file4"},{"photo_id":"1398060296","filename":"file1"},{"photo_id":"1398060293","filename":"file0"},{"photo_id":"1398060303","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398060331":["hashtag1","hashtag2"]},{"1398060304":["hashtag1","hashtag2"]},{"1398060301":["hashtag1","hashtag2"]},{"1398060303":["hashtag1","hashtag2"]},{"1398060293":["hashtag1","hashtag2"]},{"1398060296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398060331, 1398060304, 1398060301, 1398060303, 1398060293, 1398060296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11932110786438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:38:11.915744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/17/58/image_02122025_17_59_04_9696.jpg', '/home/pi/Desktop/images/02122025/17/59/image_02122025_17_59_14_10274.jpg', '/home/pi/Desktop/images/02122025/17/59/image_02122025_17_59_24_9713.jpg', '/home/pi/Desktop/images/02122025/17/59/image_02122025_17_59_55_10280.jpg', '/home/pi/Desktop/images/02122025/18/01/image_02122025_18_01_34_9408.jpg', '/home/pi/Desktop/images/02122025/18/01/image_02122025_18_01_55_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/17/58/image_02122025_17_59_04_9696.jpg
/home/pi/Desktop/images/02122025/17/59/image_02122025_17_59_14_10274.jpg
/home/pi/Desktop/images/02122025/17/59/image_02122025_17_59_24_9713.jpg
/home/pi/Desktop/images/02122025/17/59/image_02122025_17_59_55_10280.jpg
/home/pi/Desktop/images/02122025/18/01/image_02122025_18_01_34_9408.jpg
/home/pi/Desktop/images/02122025/18/01/image_02122025_18_01_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":["1398060442","1398060417","1398060446","1398060440","1398060448","1398060397"],"photo_ids_order":["1398060397","1398060417","1398060440","1398060442","1398060446","1398060448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01abcb3008ce00232cb98f911dcac80b.jpg","text":"TemporaryFile(/tmp/multipartBody1544941984112293062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923954086,"filename":"image_02122025_17_59_55_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/5/f47a223c1cb8c9cbb7044e8856bcf9ea.jpg","text":"TemporaryFile(/tmp/multipartBody7529167398312032088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923954086,"filename":"image_02122025_17_59_14_10274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b8fd2218659671f1f597ee788b32f37e.jpg","text":"TemporaryFile(/tmp/multipartBody8497669698105778821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923954086,"filename":"image_02122025_18_01_34_9408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b6ab72d3404f8e0950332bda3bb8f05.jpg","text":"TemporaryFile(/tmp/multipartBody3574617210549683777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923954086,"filename":"image_02122025_17_59_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/5/fbfa8132a6f17250ddba73f92556ff0b.jpg","text":"TemporaryFile(/tmp/multipartBody2702351791547072373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923954086,"filename":"image_02122025_18_01_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/5/349a3d459dd6129278ef9dcff4fc1ed5.jpg","text":"TemporaryFile(/tmp/multipartBody5100821327976316415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764923954086,"filename":"image_02122025_17_59_04_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060440","file1":"1398060417","file0":"1398060397","file4":"1398060446","file5":"1398060448","file3":"1398060442"},"map_files_photo_id_array":[{"photo_id":"1398060448","filename":"file5"},{"photo_id":"1398060440","filename":"file2"},{"photo_id":"1398060446","filename":"file4"},{"photo_id":"1398060417","filename":"file1"},{"photo_id":"1398060397","filename":"file0"},{"photo_id":"1398060442","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398060442":["hashtag1","hashtag2"]},{"1398060417":["hashtag1","hashtag2"]},{"1398060446":["hashtag1","hashtag2"]},{"1398060440":["hashtag1","hashtag2"]},{"1398060448":["hashtag1","hashtag2"]},{"1398060397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398060442, 1398060417, 1398060446, 1398060440, 1398060448, 1398060397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.489880084991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:39:02.907856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/25/image_05122025_09_25_45_9709.jpg', '/home/pi/Desktop/images/05122025/09/25/image_05122025_09_25_55_9818.jpg', '/home/pi/Desktop/images/05122025/09/25/image_05122025_09_26_05_10775.jpg', '/home/pi/Desktop/images/05122025/09/26/image_05122025_09_26_15_9767.jpg', '/home/pi/Desktop/images/05122025/09/26/image_05122025_09_26_25_9682.jpg', '/home/pi/Desktop/images/05122025/09/26/image_05122025_09_26_35_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/25/image_05122025_09_25_45_9709.jpg
/home/pi/Desktop/images/05122025/09/25/image_05122025_09_25_55_9818.jpg
/home/pi/Desktop/images/05122025/09/25/image_05122025_09_26_05_10775.jpg
/home/pi/Desktop/images/05122025/09/26/image_05122025_09_26_15_9767.jpg
/home/pi/Desktop/images/05122025/09/26/image_05122025_09_26_25_9682.jpg
/home/pi/Desktop/images/05122025/09/26/image_05122025_09_26_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":["1398060463","1398060486","1398060465","1398060534","1398060467","1398060527"],"photo_ids_order":["1398060463","1398060465","1398060467","1398060486","1398060527","1398060534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/04fc6a1b0a852a74234a6d09f056ca2c.jpg","text":"TemporaryFile(/tmp/multipartBody7130723324290713451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924003828,"filename":"image_05122025_09_25_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/5/49e4d9878f4fb0948708b2a2f9c73c57.jpg","text":"TemporaryFile(/tmp/multipartBody7850361314686432506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924003828,"filename":"image_05122025_09_26_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/5/0198f37fd94a63dbe33e3cb75f8a9087.jpg","text":"TemporaryFile(/tmp/multipartBody3494204038191102244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924003828,"filename":"image_05122025_09_25_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/5/4d0da3b31d33c7a727977277712aab82.jpg","text":"TemporaryFile(/tmp/multipartBody2031650395992573162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924003828,"filename":"image_05122025_09_26_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/5/ba402bf3d97b148bb52d69134042115e.jpg","text":"TemporaryFile(/tmp/multipartBody1557801605346369404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924003828,"filename":"image_05122025_09_26_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/5/6ccf7bb37d24246b65f22c7eb8a0e9e5.jpg","text":"TemporaryFile(/tmp/multipartBody2499962901957398212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924003828,"filename":"image_05122025_09_26_25_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060467","file1":"1398060465","file0":"1398060463","file4":"1398060527","file5":"1398060534","file3":"1398060486"},"map_files_photo_id_array":[{"photo_id":"1398060534","filename":"file5"},{"photo_id":"1398060467","filename":"file2"},{"photo_id":"1398060527","filename":"file4"},{"photo_id":"1398060465","filename":"file1"},{"photo_id":"1398060463","filename":"file0"},{"photo_id":"1398060486","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060463":["hashtag1","hashtag2"]},{"1398060486":["hashtag1","hashtag2"]},{"1398060465":["hashtag1","hashtag2"]},{"1398060534":["hashtag1","hashtag2"]},{"1398060467":["hashtag1","hashtag2"]},{"1398060527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060463, 1398060486, 1398060465, 1398060534, 1398060467, 1398060527)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.11839032173157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:40:10.988063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/26/image_05122025_09_26_55_9604.jpg', '/home/pi/Desktop/images/05122025/09/26/image_05122025_09_27_05_9650.jpg', '/home/pi/Desktop/images/05122025/09/27/image_05122025_09_27_15_10700.jpg', '/home/pi/Desktop/images/05122025/09/27/image_05122025_09_27_25_9704.jpg', '/home/pi/Desktop/images/05122025/09/27/image_05122025_09_27_35_9870.jpg', '/home/pi/Desktop/images/05122025/09/27/image_05122025_09_27_45_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/26/image_05122025_09_26_55_9604.jpg
/home/pi/Desktop/images/05122025/09/26/image_05122025_09_27_05_9650.jpg
/home/pi/Desktop/images/05122025/09/27/image_05122025_09_27_15_10700.jpg
/home/pi/Desktop/images/05122025/09/27/image_05122025_09_27_25_9704.jpg
/home/pi/Desktop/images/05122025/09/27/image_05122025_09_27_35_9870.jpg
/home/pi/Desktop/images/05122025/09/27/image_05122025_09_27_45_9696.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":["1398060550","1398060561","1398060552","1398060555","1398060545","1398060547"],"photo_ids_order":["1398060545","1398060547","1398060550","1398060552","1398060555","1398060561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20ed7bbda1ff90ee8405eeac0c426c92.jpg","text":"TemporaryFile(/tmp/multipartBody2547053384623992577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924074074,"filename":"image_05122025_09_27_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/5/0a669cc3dcd2771b77f0777fb8324fea.jpg","text":"TemporaryFile(/tmp/multipartBody7105271278830224000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924074074,"filename":"image_05122025_09_27_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/5/a93eccae78707eab068912c747d0ca22.jpg","text":"TemporaryFile(/tmp/multipartBody3231370554537468726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924074074,"filename":"image_05122025_09_27_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/5/94b3649bfa87acf13a2a0f62162ac7f8.jpg","text":"TemporaryFile(/tmp/multipartBody6567490871000944220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924074074,"filename":"image_05122025_09_27_35_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab94c87ba0b0aae7a9852d38a88347d4.jpg","text":"TemporaryFile(/tmp/multipartBody4453341976425370070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924074074,"filename":"image_05122025_09_26_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/5/2307e4ea60349f5bb171c101063e6dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4452407674829385389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924074074,"filename":"image_05122025_09_27_05_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060550","file1":"1398060547","file0":"1398060545","file4":"1398060555","file5":"1398060561","file3":"1398060552"},"map_files_photo_id_array":[{"photo_id":"1398060561","filename":"file5"},{"photo_id":"1398060550","filename":"file2"},{"photo_id":"1398060555","filename":"file4"},{"photo_id":"1398060547","filename":"file1"},{"photo_id":"1398060545","filename":"file0"},{"photo_id":"1398060552","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060550":["hashtag1","hashtag2"]},{"1398060561":["hashtag1","hashtag2"]},{"1398060552":["hashtag1","hashtag2"]},{"1398060555":["hashtag1","hashtag2"]},{"1398060545":["hashtag1","hashtag2"]},{"1398060547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060550, 1398060561, 1398060552, 1398060555, 1398060545, 1398060547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60857963562012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:41:02.972514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/27/image_05122025_09_27_55_10783.jpg', '/home/pi/Desktop/images/05122025/09/27/image_05122025_09_28_05_9618.jpg', '/home/pi/Desktop/images/05122025/09/28/image_05122025_09_28_15_9706.jpg', '/home/pi/Desktop/images/05122025/09/28/image_05122025_09_28_25_10638.jpg', '/home/pi/Desktop/images/05122025/09/28/image_05122025_09_28_35_9804.jpg', '/home/pi/Desktop/images/05122025/09/28/image_05122025_09_28_45_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/27/image_05122025_09_27_55_10783.jpg
/home/pi/Desktop/images/05122025/09/27/image_05122025_09_28_05_9618.jpg
/home/pi/Desktop/images/05122025/09/28/image_05122025_09_28_15_9706.jpg
/home/pi/Desktop/images/05122025/09/28/image_05122025_09_28_25_10638.jpg
/home/pi/Desktop/images/05122025/09/28/image_05122025_09_28_35_9804.jpg
/home/pi/Desktop/images/05122025/09/28/image_05122025_09_28_45_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398060582","1398060570","1398060587","1398060584","1398060577","1398060580"],"photo_ids_order":["1398060570","1398060577","1398060580","1398060582","1398060584","1398060587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2abc9c01b65793854ac481e1185bab6f.jpg","text":"TemporaryFile(/tmp/multipartBody6785928056326991181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924123717,"filename":"image_05122025_09_28_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/5/3bd132f6bababcf03a8a732c39cce14c.jpg","text":"TemporaryFile(/tmp/multipartBody1826355403605163340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924123717,"filename":"image_05122025_09_27_55_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/5/843c32485f1b8f8642bf5a641d08021a.jpg","text":"TemporaryFile(/tmp/multipartBody840999559216422866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924123717,"filename":"image_05122025_09_28_45_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/5/35b2cf7bac48fdeb4cb7b4decad6c78a.jpg","text":"TemporaryFile(/tmp/multipartBody5605700464466999631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924123717,"filename":"image_05122025_09_28_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/5/e4f65edad01f2f1c3beaf0cffacd2fdc.jpg","text":"TemporaryFile(/tmp/multipartBody5777599205731124184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924123717,"filename":"image_05122025_09_28_05_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/5/4475fff6d782760c5e90c05807a2a1ba.jpg","text":"TemporaryFile(/tmp/multipartBody4274604694309017252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924123717,"filename":"image_05122025_09_28_15_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060580","file1":"1398060577","file0":"1398060570","file4":"1398060584","file5":"1398060587","file3":"1398060582"},"map_files_photo_id_array":[{"photo_id":"1398060587","filename":"file5"},{"photo_id":"1398060580","filename":"file2"},{"photo_id":"1398060584","filename":"file4"},{"photo_id":"1398060577","filename":"file1"},{"photo_id":"1398060570","filename":"file0"},{"photo_id":"1398060582","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060582":["hashtag1","hashtag2"]},{"1398060570":["hashtag1","hashtag2"]},{"1398060587":["hashtag1","hashtag2"]},{"1398060584":["hashtag1","hashtag2"]},{"1398060577":["hashtag1","hashtag2"]},{"1398060580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060582, 1398060570, 1398060587, 1398060584, 1398060577, 1398060580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34123706817627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:41:42.254064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_58_3664.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_01_2800.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_03_2724.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_07_3564.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_10_2713.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_12_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/08/image_31102025_19_08_58_3664.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_01_2800.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_03_2724.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_07_3564.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_10_2713.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_12_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":["1398060616","1398060594","1398060613","1398060615","1398060617","1398060614"],"photo_ids_order":["1398060594","1398060613","1398060614","1398060615","1398060616","1398060617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cb003d1a82e0f1d010be538a2c898559.jpg","text":"TemporaryFile(/tmp/multipartBody4522188612488039930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924163859,"filename":"image_31102025_19_09_10_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/5/5ece43c408bcc7c9ae1e1e62589b78a6.jpg","text":"TemporaryFile(/tmp/multipartBody7953933216821651133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924163859,"filename":"image_31102025_19_08_58_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/5/ca5c2f3b340f51df31b882ccfd0bf04b.jpg","text":"TemporaryFile(/tmp/multipartBody498744112421080078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924163859,"filename":"image_31102025_19_09_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/5/1918248d2ccf2369aa1a1f530055621b.jpg","text":"TemporaryFile(/tmp/multipartBody1046834840526981966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924163859,"filename":"image_31102025_19_09_07_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/5/d5d720ed2c92c85e8dfb30aef523814a.jpg","text":"TemporaryFile(/tmp/multipartBody6917517363375556694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924163859,"filename":"image_31102025_19_09_12_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/5/63096c398f8bf3b22cbd88f2eef185e1.jpg","text":"TemporaryFile(/tmp/multipartBody5851355981299917790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924163859,"filename":"image_31102025_19_09_03_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060614","file1":"1398060613","file0":"1398060594","file4":"1398060616","file5":"1398060617","file3":"1398060615"},"map_files_photo_id_array":[{"photo_id":"1398060617","filename":"file5"},{"photo_id":"1398060614","filename":"file2"},{"photo_id":"1398060616","filename":"file4"},{"photo_id":"1398060613","filename":"file1"},{"photo_id":"1398060594","filename":"file0"},{"photo_id":"1398060615","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398060616":["hashtag1","hashtag2"]},{"1398060594":["hashtag1","hashtag2"]},{"1398060613":["hashtag1","hashtag2"]},{"1398060615":["hashtag1","hashtag2"]},{"1398060617":["hashtag1","hashtag2"]},{"1398060614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398060616, 1398060594, 1398060613, 1398060615, 1398060617, 1398060614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3518180847168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:42:22.505074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/28/image_05122025_09_28_55_9722.jpg', '/home/pi/Desktop/images/05122025/09/28/image_05122025_09_29_05_10641.jpg', '/home/pi/Desktop/images/05122025/09/29/image_05122025_09_29_15_9854.jpg', '/home/pi/Desktop/images/05122025/09/29/image_05122025_09_29_25_9783.jpg', '/home/pi/Desktop/images/05122025/09/29/image_05122025_09_29_35_10617.jpg', '/home/pi/Desktop/images/05122025/09/29/image_05122025_09_29_45_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/28/image_05122025_09_28_55_9722.jpg
/home/pi/Desktop/images/05122025/09/28/image_05122025_09_29_05_10641.jpg
/home/pi/Desktop/images/05122025/09/29/image_05122025_09_29_15_9854.jpg
/home/pi/Desktop/images/05122025/09/29/image_05122025_09_29_25_9783.jpg
/home/pi/Desktop/images/05122025/09/29/image_05122025_09_29_35_10617.jpg
/home/pi/Desktop/images/05122025/09/29/image_05122025_09_29_45_9548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398060628","1398060639","1398060624","1398060636","1398060635","1398060623"],"photo_ids_order":["1398060623","1398060624","1398060628","1398060635","1398060636","1398060639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4c6780d69c6ecca813fc9cfeb4e4acd.jpg","text":"TemporaryFile(/tmp/multipartBody1528727837683845740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924203216,"filename":"image_05122025_09_29_15_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/5/28f9738a375a5fdee81e72751da65613.jpg","text":"TemporaryFile(/tmp/multipartBody4759505694968149373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924203216,"filename":"image_05122025_09_29_45_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/5/c7646eec2c3b4f7189d51de69a18e7f8.jpg","text":"TemporaryFile(/tmp/multipartBody1896543455826756650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924203216,"filename":"image_05122025_09_29_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7711b915e05d07f94808a480050498fc.jpg","text":"TemporaryFile(/tmp/multipartBody4820643978336548387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924203216,"filename":"image_05122025_09_29_35_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/5/bf60ec738d646bdf667381c71b720a1f.jpg","text":"TemporaryFile(/tmp/multipartBody6125591735194228485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924203216,"filename":"image_05122025_09_29_25_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c092667b14ca762f1ba9150bb5822258.jpg","text":"TemporaryFile(/tmp/multipartBody8871613516825104377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924203216,"filename":"image_05122025_09_28_55_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060628","file1":"1398060624","file0":"1398060623","file4":"1398060636","file5":"1398060639","file3":"1398060635"},"map_files_photo_id_array":[{"photo_id":"1398060639","filename":"file5"},{"photo_id":"1398060628","filename":"file2"},{"photo_id":"1398060636","filename":"file4"},{"photo_id":"1398060624","filename":"file1"},{"photo_id":"1398060623","filename":"file0"},{"photo_id":"1398060635","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060628":["hashtag1","hashtag2"]},{"1398060639":["hashtag1","hashtag2"]},{"1398060624":["hashtag1","hashtag2"]},{"1398060636":["hashtag1","hashtag2"]},{"1398060635":["hashtag1","hashtag2"]},{"1398060623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060628, 1398060639, 1398060624, 1398060636, 1398060635, 1398060623)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.97420382499695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:43:12.087073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/01/image_02122025_18_02_04_9726.jpg', '/home/pi/Desktop/images/02122025/18/02/image_02122025_18_02_14_9642.jpg', '/home/pi/Desktop/images/02122025/18/02/image_02122025_18_02_34_9696.jpg', '/home/pi/Desktop/images/02122025/18/02/image_02122025_18_02_44_9670.jpg', '/home/pi/Desktop/images/02122025/18/02/image_02122025_18_02_55_10778.jpg', '/home/pi/Desktop/images/02122025/18/02/image_02122025_18_03_05_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/01/image_02122025_18_02_04_9726.jpg
/home/pi/Desktop/images/02122025/18/02/image_02122025_18_02_14_9642.jpg
/home/pi/Desktop/images/02122025/18/02/image_02122025_18_02_34_9696.jpg
/home/pi/Desktop/images/02122025/18/02/image_02122025_18_02_44_9670.jpg
/home/pi/Desktop/images/02122025/18/02/image_02122025_18_02_55_10778.jpg
/home/pi/Desktop/images/02122025/18/02/image_02122025_18_03_05_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":["1398060660","1398060657","1398060672","1398060668","1398060670","1398060664"],"photo_ids_order":["1398060657","1398060660","1398060664","1398060668","1398060670","1398060672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a2f1621129540f092c9df7a82a4c3fb.jpg","text":"TemporaryFile(/tmp/multipartBody4735139641240913599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924254081,"filename":"image_02122025_18_02_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/5/4d9a37ed83260ab9f081f270594557bc.jpg","text":"TemporaryFile(/tmp/multipartBody7716363431123767186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924254081,"filename":"image_02122025_18_02_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/5/cf867e2fa5fda04f46e32031e30e60a1.jpg","text":"TemporaryFile(/tmp/multipartBody4125827441273069539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924254081,"filename":"image_02122025_18_03_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/5/7adc8a6de64813e11e6738fb69c26b12.jpg","text":"TemporaryFile(/tmp/multipartBody1569494158829796061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924254081,"filename":"image_02122025_18_02_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/5/2e9e524b5ef612fe51b0c23814865d31.jpg","text":"TemporaryFile(/tmp/multipartBody7115601649746172503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924254081,"filename":"image_02122025_18_02_55_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/5/8cd698b7bdc45aa2719dc46c374fd7ca.jpg","text":"TemporaryFile(/tmp/multipartBody5600084185781527579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924254081,"filename":"image_02122025_18_02_34_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060664","file1":"1398060660","file0":"1398060657","file4":"1398060670","file5":"1398060672","file3":"1398060668"},"map_files_photo_id_array":[{"photo_id":"1398060672","filename":"file5"},{"photo_id":"1398060664","filename":"file2"},{"photo_id":"1398060670","filename":"file4"},{"photo_id":"1398060660","filename":"file1"},{"photo_id":"1398060657","filename":"file0"},{"photo_id":"1398060668","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398060660":["hashtag1","hashtag2"]},{"1398060657":["hashtag1","hashtag2"]},{"1398060672":["hashtag1","hashtag2"]},{"1398060668":["hashtag1","hashtag2"]},{"1398060670":["hashtag1","hashtag2"]},{"1398060664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398060660, 1398060657, 1398060672, 1398060668, 1398060670, 1398060664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48949861526489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:44:02.953009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 09:44:12.322556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/03/image_02122025_18_03_34_9746.jpg', '/home/pi/Desktop/images/02122025/18/03/image_02122025_18_03_45_10848.jpg', '/home/pi/Desktop/images/02122025/18/03/image_02122025_18_03_54_9629.jpg', '/home/pi/Desktop/images/02122025/18/03/image_02122025_18_04_04_9683.jpg', '/home/pi/Desktop/images/02122025/18/04/image_02122025_18_04_15_10651.jpg', '/home/pi/Desktop/images/02122025/18/04/image_02122025_18_04_25_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/03/image_02122025_18_03_34_9746.jpg
/home/pi/Desktop/images/02122025/18/03/image_02122025_18_03_45_10848.jpg
/home/pi/Desktop/images/02122025/18/03/image_02122025_18_03_54_9629.jpg
/home/pi/Desktop/images/02122025/18/03/image_02122025_18_04_04_9683.jpg
/home/pi/Desktop/images/02122025/18/04/image_02122025_18_04_15_10651.jpg
/home/pi/Desktop/images/02122025/18/04/image_02122025_18_04_25_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":["1398060687","1398060696","1398060681","1398060690","1398060684","1398060694"],"photo_ids_order":["1398060681","1398060684","1398060687","1398060690","1398060694","1398060696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/df395492b6acfbfd8fd47d378852aad8.jpg","text":"TemporaryFile(/tmp/multipartBody9192323083208134634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924318811,"filename":"image_02122025_18_03_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/5/6c37b6868fe6df2a33ef3fb9af2bda7e.jpg","text":"TemporaryFile(/tmp/multipartBody7387017854330382500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924318811,"filename":"image_02122025_18_04_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/5/244812d10ea59c7b5b832d3fa2d28568.jpg","text":"TemporaryFile(/tmp/multipartBody1921397865378002449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924318811,"filename":"image_02122025_18_03_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/5/5b12bc8bfcc378fe06ed94b4fef29e3f.jpg","text":"TemporaryFile(/tmp/multipartBody4482855858492251162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924318811,"filename":"image_02122025_18_04_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/5/e6f4161ec644d62fec178e1bb9d89997.jpg","text":"TemporaryFile(/tmp/multipartBody5580966620405059719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924318811,"filename":"image_02122025_18_03_45_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/5/2759a9392388a37769791480f8602c1d.jpg","text":"TemporaryFile(/tmp/multipartBody2142121009664697510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924318811,"filename":"image_02122025_18_04_15_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060687","file1":"1398060684","file0":"1398060681","file4":"1398060694","file5":"1398060696","file3":"1398060690"},"map_files_photo_id_array":[{"photo_id":"1398060696","filename":"file5"},{"photo_id":"1398060687","filename":"file2"},{"photo_id":"1398060694","filename":"file4"},{"photo_id":"1398060684","filename":"file1"},{"photo_id":"1398060681","filename":"file0"},{"photo_id":"1398060690","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398060687":["hashtag1","hashtag2"]},{"1398060696":["hashtag1","hashtag2"]},{"1398060681":["hashtag1","hashtag2"]},{"1398060690":["hashtag1","hashtag2"]},{"1398060684":["hashtag1","hashtag2"]},{"1398060694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398060687, 1398060696, 1398060681, 1398060690, 1398060684, 1398060694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.86078476905823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:45:03.233685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 09:45:14.907269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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 10 --only_old 1
2025-12-05 09:45:32.611699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/04/image_02122025_18_04_34_9789.jpg', '/home/pi/Desktop/images/02122025/18/04/image_02122025_18_04_44_9765.jpg', '/home/pi/Desktop/images/02122025/18/04/image_02122025_18_04_54_9802.jpg', '/home/pi/Desktop/images/02122025/18/04/image_02122025_18_05_05_10711.jpg', '/home/pi/Desktop/images/02122025/18/05/image_02122025_18_05_34_9908.jpg', '/home/pi/Desktop/images/02122025/18/05/image_02122025_18_05_45_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/04/image_02122025_18_04_34_9789.jpg
/home/pi/Desktop/images/02122025/18/04/image_02122025_18_04_44_9765.jpg
/home/pi/Desktop/images/02122025/18/04/image_02122025_18_04_54_9802.jpg
/home/pi/Desktop/images/02122025/18/04/image_02122025_18_05_05_10711.jpg
/home/pi/Desktop/images/02122025/18/05/image_02122025_18_05_34_9908.jpg
/home/pi/Desktop/images/02122025/18/05/image_02122025_18_05_45_10770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398060760","1398060756","1398060753","1398060755","1398060758","1398060757"],"photo_ids_order":["1398060753","1398060755","1398060756","1398060757","1398060758","1398060760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/92b567d1fc2ea00fa558475d7a81cb88.jpg","text":"TemporaryFile(/tmp/multipartBody4983026713454983830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924404876,"filename":"image_02122025_18_05_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/5/a124dfb5592e87fd34b3db105fda7092.jpg","text":"TemporaryFile(/tmp/multipartBody67477550143050632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924404876,"filename":"image_02122025_18_04_54_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/5/61b9f7ba4fb56b088b05fc44fa962404.jpg","text":"TemporaryFile(/tmp/multipartBody4174201637037614851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924404876,"filename":"image_02122025_18_04_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/5/52e2575140aa60b6c4231d92739b57bd.jpg","text":"TemporaryFile(/tmp/multipartBody3975459331644376343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924404876,"filename":"image_02122025_18_04_44_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84f609979fb090fd7a7f38e5b7847664.jpg","text":"TemporaryFile(/tmp/multipartBody2433412088038222517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924404876,"filename":"image_02122025_18_05_34_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/5/7602c3bd4a9c01be8f234a4669900706.jpg","text":"TemporaryFile(/tmp/multipartBody1400937448911523417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924404876,"filename":"image_02122025_18_05_05_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060756","file1":"1398060755","file0":"1398060753","file4":"1398060758","file5":"1398060760","file3":"1398060757"},"map_files_photo_id_array":[{"photo_id":"1398060760","filename":"file5"},{"photo_id":"1398060756","filename":"file2"},{"photo_id":"1398060758","filename":"file4"},{"photo_id":"1398060755","filename":"file1"},{"photo_id":"1398060753","filename":"file0"},{"photo_id":"1398060757","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398060760":["hashtag1","hashtag2"]},{"1398060756":["hashtag1","hashtag2"]},{"1398060753":["hashtag1","hashtag2"]},{"1398060755":["hashtag1","hashtag2"]},{"1398060758":["hashtag1","hashtag2"]},{"1398060757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398060760, 1398060756, 1398060753, 1398060755, 1398060758, 1398060757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.44850492477417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:46:23.729830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/29/image_05122025_09_29_55_9533.jpg', '/home/pi/Desktop/images/05122025/09/31/image_05122025_09_31_13_10057.jpg', '/home/pi/Desktop/images/05122025/09/31/image_05122025_09_31_24_10548.jpg', '/home/pi/Desktop/images/05122025/09/31/image_05122025_09_31_34_9580.jpg', '/home/pi/Desktop/images/05122025/09/31/image_05122025_09_31_44_10754.jpg', '/home/pi/Desktop/images/05122025/09/31/image_05122025_09_31_54_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/29/image_05122025_09_29_55_9533.jpg
/home/pi/Desktop/images/05122025/09/31/image_05122025_09_31_13_10057.jpg
/home/pi/Desktop/images/05122025/09/31/image_05122025_09_31_24_10548.jpg
/home/pi/Desktop/images/05122025/09/31/image_05122025_09_31_34_9580.jpg
/home/pi/Desktop/images/05122025/09/31/image_05122025_09_31_44_10754.jpg
/home/pi/Desktop/images/05122025/09/31/image_05122025_09_31_54_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":["1398060891","1398060936","1398060893","1398060914","1398060857","1398060895"],"photo_ids_order":["1398060857","1398060891","1398060893","1398060895","1398060914","1398060936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6e280df42ec4a650e512494db8c78879.jpg","text":"TemporaryFile(/tmp/multipartBody7979984463354601957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924444436,"filename":"image_05122025_09_31_13_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/5/bb573437b031844b45c487a4a3bfd66b.jpg","text":"TemporaryFile(/tmp/multipartBody8260087759080046216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924444436,"filename":"image_05122025_09_31_54_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/5/a224ccb28eae9b787395093a41e94bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2157700144860866523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924444436,"filename":"image_05122025_09_31_24_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/5/ce15d028ccf647b1bce2910b26c36f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2892741807909761099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924444436,"filename":"image_05122025_09_31_44_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/5/f94d8a339522439aeef12358104c20cf.jpg","text":"TemporaryFile(/tmp/multipartBody2986315658112767053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924444436,"filename":"image_05122025_09_29_55_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6856f68935720a0ef8369f9b5c859557.jpg","text":"TemporaryFile(/tmp/multipartBody2110068030881363427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924444436,"filename":"image_05122025_09_31_34_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060893","file1":"1398060891","file0":"1398060857","file4":"1398060914","file5":"1398060936","file3":"1398060895"},"map_files_photo_id_array":[{"photo_id":"1398060936","filename":"file5"},{"photo_id":"1398060893","filename":"file2"},{"photo_id":"1398060914","filename":"file4"},{"photo_id":"1398060891","filename":"file1"},{"photo_id":"1398060857","filename":"file0"},{"photo_id":"1398060895","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060891":["hashtag1","hashtag2"]},{"1398060936":["hashtag1","hashtag2"]},{"1398060893":["hashtag1","hashtag2"]},{"1398060914":["hashtag1","hashtag2"]},{"1398060857":["hashtag1","hashtag2"]},{"1398060895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060891, 1398060936, 1398060893, 1398060914, 1398060857, 1398060895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15963172912598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:47:02.427509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_04_10047.jpg', '/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_14_10043.jpg', '/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_24_9728.jpg', '/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_34_9588.jpg', '/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_44_10679.jpg', '/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_54_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_04_10047.jpg
/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_14_10043.jpg
/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_24_9728.jpg
/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_34_9588.jpg
/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_44_10679.jpg
/home/pi/Desktop/images/05122025/09/32/image_05122025_09_32_54_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":["1398060984","1398060980","1398060977","1398060986","1398060965","1398060982"],"photo_ids_order":["1398060965","1398060977","1398060980","1398060982","1398060984","1398060986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/27d77db0aeda7755e9441ea7aad795d9.jpg","text":"TemporaryFile(/tmp/multipartBody3701194835674145652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924483207,"filename":"image_05122025_09_32_44_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/5/e1eb53d24288308ec19d8cc881367838.jpg","text":"TemporaryFile(/tmp/multipartBody7548620558966308170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924483207,"filename":"image_05122025_09_32_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/5/193e698586eb9ce9f738f21834171e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3271997058994707362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924483207,"filename":"image_05122025_09_32_14_10043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b7abbc35aeb6672824dea59857b59f4.jpg","text":"TemporaryFile(/tmp/multipartBody4834248654728138222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924483207,"filename":"image_05122025_09_32_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/5/c605b17426635a342fb2df13aed3ed69.jpg","text":"TemporaryFile(/tmp/multipartBody5392290569165583136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924483207,"filename":"image_05122025_09_32_04_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0138458545df81b1f9e5840f227fbb9.jpg","text":"TemporaryFile(/tmp/multipartBody4037412330482457358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924483207,"filename":"image_05122025_09_32_34_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060980","file1":"1398060977","file0":"1398060965","file4":"1398060984","file5":"1398060986","file3":"1398060982"},"map_files_photo_id_array":[{"photo_id":"1398060986","filename":"file5"},{"photo_id":"1398060980","filename":"file2"},{"photo_id":"1398060984","filename":"file4"},{"photo_id":"1398060977","filename":"file1"},{"photo_id":"1398060965","filename":"file0"},{"photo_id":"1398060982","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398060984":["hashtag1","hashtag2"]},{"1398060980":["hashtag1","hashtag2"]},{"1398060977":["hashtag1","hashtag2"]},{"1398060986":["hashtag1","hashtag2"]},{"1398060965":["hashtag1","hashtag2"]},{"1398060982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398060984, 1398060980, 1398060977, 1398060986, 1398060965, 1398060982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52625918388367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:47:41.928917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_15_2694.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_19_3628.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_21_2634.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_24_2866.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_28_3685.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_31_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_15_2694.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_19_3628.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_21_2634.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_24_2866.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_28_3685.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_31_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398060999","1398060993","1398061067","1398061031","1398061106","1398060997"],"photo_ids_order":["1398060993","1398060997","1398060999","1398061031","1398061067","1398061106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/14adc136182cff6bbdfb854c520b8836.jpg","text":"TemporaryFile(/tmp/multipartBody2024724323653187657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924523562,"filename":"image_31102025_19_09_21_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/5/c70a110828c66324b5954ed07bc1034a.jpg","text":"TemporaryFile(/tmp/multipartBody6407234607118520132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924523562,"filename":"image_31102025_19_09_15_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/5/e9fc9a75e1cccf4b9687eb3cef3e987f.jpg","text":"TemporaryFile(/tmp/multipartBody4786732220111437046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924523562,"filename":"image_31102025_19_09_28_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/5/cdfab6fbaec393c231488014b43b8f57.jpg","text":"TemporaryFile(/tmp/multipartBody4243152189966699834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924523562,"filename":"image_31102025_19_09_24_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/5/1d3db76738cc22a2ca022491e21488d3.jpg","text":"TemporaryFile(/tmp/multipartBody4720088485682016951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924523562,"filename":"image_31102025_19_09_31_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d2e29e3a85c523f01cf6457a9873c44c.jpg","text":"TemporaryFile(/tmp/multipartBody125388205179844141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924523562,"filename":"image_31102025_19_09_19_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398060999","file1":"1398060997","file0":"1398060993","file4":"1398061067","file5":"1398061106","file3":"1398061031"},"map_files_photo_id_array":[{"photo_id":"1398061106","filename":"file5"},{"photo_id":"1398060999","filename":"file2"},{"photo_id":"1398061067","filename":"file4"},{"photo_id":"1398060997","filename":"file1"},{"photo_id":"1398060993","filename":"file0"},{"photo_id":"1398061031","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398060999":["hashtag1","hashtag2"]},{"1398060993":["hashtag1","hashtag2"]},{"1398061067":["hashtag1","hashtag2"]},{"1398061031":["hashtag1","hashtag2"]},{"1398061106":["hashtag1","hashtag2"]},{"1398060997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398060999, 1398060993, 1398061067, 1398061031, 1398061106, 1398060997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.738839864730835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:48:22.187890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/32/image_05122025_09_33_04_9540.jpg', '/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_14_10707.jpg', '/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_24_9651.jpg', '/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_34_9679.jpg', '/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_44_10525.jpg', '/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_54_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/32/image_05122025_09_33_04_9540.jpg
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_14_10707.jpg
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_24_9651.jpg
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_34_9679.jpg
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_44_10525.jpg
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_54_9796.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5853197574615479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:48:32.214575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/06/image_02122025_18_06_25_10651.jpg', '/home/pi/Desktop/images/02122025/18/06/image_02122025_18_06_34_9700.jpg', '/home/pi/Desktop/images/02122025/18/06/image_02122025_18_07_05_10760.jpg', '/home/pi/Desktop/images/02122025/18/07/image_02122025_18_07_25_10771.jpg', '/home/pi/Desktop/images/02122025/18/07/image_02122025_18_07_34_9753.jpg', '/home/pi/Desktop/images/02122025/18/07/image_02122025_18_08_04_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/06/image_02122025_18_06_25_10651.jpg
/home/pi/Desktop/images/02122025/18/06/image_02122025_18_06_34_9700.jpg
/home/pi/Desktop/images/02122025/18/06/image_02122025_18_07_05_10760.jpg
/home/pi/Desktop/images/02122025/18/07/image_02122025_18_07_25_10771.jpg
/home/pi/Desktop/images/02122025/18/07/image_02122025_18_07_34_9753.jpg
/home/pi/Desktop/images/02122025/18/07/image_02122025_18_08_04_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":["1398061344","1398061341","1398061343","1398061337","1398061345","1398061333"],"photo_ids_order":["1398061333","1398061337","1398061341","1398061343","1398061344","1398061345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a2337c69f42570a6f4ffcc1c372c5f6.jpg","text":"TemporaryFile(/tmp/multipartBody4923293598356333567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924574479,"filename":"image_02122025_18_07_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/5/ecfba2782b1cce1a772d9644aa412096.jpg","text":"TemporaryFile(/tmp/multipartBody5211943797054510333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924574479,"filename":"image_02122025_18_07_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/5/cf593385564e10c109c2951fed4ec81e.jpg","text":"TemporaryFile(/tmp/multipartBody3104819271449629214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924574479,"filename":"image_02122025_18_07_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/5/22f91f3d84f70e53776d851918cd1b0f.jpg","text":"TemporaryFile(/tmp/multipartBody5474038460455335165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924574479,"filename":"image_02122025_18_06_34_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f4e3ffebe8d784dc92cfc69ae931832b.jpg","text":"TemporaryFile(/tmp/multipartBody8974436117425125171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924574479,"filename":"image_02122025_18_08_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/5/939f16bd82718693a30e9b1e9cce6115.jpg","text":"TemporaryFile(/tmp/multipartBody7798498965551456019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924574479,"filename":"image_02122025_18_06_25_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061341","file1":"1398061337","file0":"1398061333","file4":"1398061344","file5":"1398061345","file3":"1398061343"},"map_files_photo_id_array":[{"photo_id":"1398061345","filename":"file5"},{"photo_id":"1398061341","filename":"file2"},{"photo_id":"1398061344","filename":"file4"},{"photo_id":"1398061337","filename":"file1"},{"photo_id":"1398061333","filename":"file0"},{"photo_id":"1398061343","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398061344":["hashtag1","hashtag2"]},{"1398061341":["hashtag1","hashtag2"]},{"1398061343":["hashtag1","hashtag2"]},{"1398061337":["hashtag1","hashtag2"]},{"1398061345":["hashtag1","hashtag2"]},{"1398061333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398061344, 1398061341, 1398061343, 1398061337, 1398061345, 1398061333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52753257751465 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 40
2025-12-05 09:49:22.415336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/32/image_05122025_09_33_04_9540.jpg', '/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_14_10707.jpg', '/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_24_9651.jpg', '/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_34_9679.jpg', '/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_44_10525.jpg', '/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_54_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/32/image_05122025_09_33_04_9540.jpg
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_14_10707.jpg
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_24_9651.jpg
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_34_9679.jpg
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_44_10525.jpg
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_33_54_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061356","1398061368","1398061376","1398061364","1398061372","1398061360"],"photo_ids_order":["1398061356","1398061360","1398061364","1398061368","1398061372","1398061376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1fb32b8d29cc479246ab7d3dc0b31f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4834597855816056358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924623147,"filename":"image_05122025_09_33_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/5/4c7b71cffeb334f2674ea3362efccd00.jpg","text":"TemporaryFile(/tmp/multipartBody2657980529659121940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924623147,"filename":"image_05122025_09_33_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78ed07b2abb87137f58c9ebde0a30305.jpg","text":"TemporaryFile(/tmp/multipartBody7659789145455758324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924623147,"filename":"image_05122025_09_33_54_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/330605fe071e1f62b0d411ef093fec46.jpg","text":"TemporaryFile(/tmp/multipartBody5910993467043538247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924623147,"filename":"image_05122025_09_33_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/5/26a0d5db78c8f4dc0e5c756c41a416fb.jpg","text":"TemporaryFile(/tmp/multipartBody8256209051399998652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924623147,"filename":"image_05122025_09_33_44_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/50aeacaf105bf108a5df09c7558ecf32.jpg","text":"TemporaryFile(/tmp/multipartBody8557813417987371343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924623147,"filename":"image_05122025_09_33_14_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061364","file1":"1398061360","file0":"1398061356","file4":"1398061372","file5":"1398061376","file3":"1398061368"},"map_files_photo_id_array":[{"photo_id":"1398061376","filename":"file5"},{"photo_id":"1398061364","filename":"file2"},{"photo_id":"1398061372","filename":"file4"},{"photo_id":"1398061360","filename":"file1"},{"photo_id":"1398061356","filename":"file0"},{"photo_id":"1398061368","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398061356":["hashtag1","hashtag2"]},{"1398061368":["hashtag1","hashtag2"]},{"1398061376":["hashtag1","hashtag2"]},{"1398061364":["hashtag1","hashtag2"]},{"1398061372":["hashtag1","hashtag2"]},{"1398061360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398061356, 1398061368, 1398061376, 1398061364, 1398061372, 1398061360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.280455589294434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 09:50:12.615493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/08/image_02122025_18_08_14_9793.jpg', '/home/pi/Desktop/images/02122025/18/08/image_02122025_18_08_24_10663.jpg', '/home/pi/Desktop/images/02122025/18/08/image_02122025_18_08_34_9637.jpg', '/home/pi/Desktop/images/02122025/18/08/image_02122025_18_08_55_10827.jpg', '/home/pi/Desktop/images/02122025/18/09/image_02122025_18_09_35_10635.jpg', '/home/pi/Desktop/images/02122025/18/10/image_02122025_18_10_34_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/08/image_02122025_18_08_14_9793.jpg
/home/pi/Desktop/images/02122025/18/08/image_02122025_18_08_24_10663.jpg
/home/pi/Desktop/images/02122025/18/08/image_02122025_18_08_34_9637.jpg
/home/pi/Desktop/images/02122025/18/08/image_02122025_18_08_55_10827.jpg
/home/pi/Desktop/images/02122025/18/09/image_02122025_18_09_35_10635.jpg
/home/pi/Desktop/images/02122025/18/10/image_02122025_18_10_34_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":["1398061395","1398061398","1398061383","1398061386","1398061401","1398061382"],"photo_ids_order":["1398061382","1398061383","1398061386","1398061395","1398061398","1398061401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/31d370922aa2112ed0405adef0a38345.jpg","text":"TemporaryFile(/tmp/multipartBody5128241968798801696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924674564,"filename":"image_02122025_18_08_55_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c745e1a1c95cb9b47238344878f918bf.jpg","text":"TemporaryFile(/tmp/multipartBody5600010329816469572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924674564,"filename":"image_02122025_18_09_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/5/8713155654957e0141651c3169461d17.jpg","text":"TemporaryFile(/tmp/multipartBody3190867922378761838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924674564,"filename":"image_02122025_18_08_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a42ed63dfa2c9231ab55b5b437d1a82.jpg","text":"TemporaryFile(/tmp/multipartBody2350256831433607570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924674564,"filename":"image_02122025_18_08_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/5/0653be56bb08b0e26d69008117997e42.jpg","text":"TemporaryFile(/tmp/multipartBody4782531873196546489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924674564,"filename":"image_02122025_18_10_34_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3fbefcc1fe9242a48f1ae8df73d523ed.jpg","text":"TemporaryFile(/tmp/multipartBody4415662625179651713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924674564,"filename":"image_02122025_18_08_14_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061386","file1":"1398061383","file0":"1398061382","file4":"1398061398","file5":"1398061401","file3":"1398061395"},"map_files_photo_id_array":[{"photo_id":"1398061401","filename":"file5"},{"photo_id":"1398061386","filename":"file2"},{"photo_id":"1398061398","filename":"file4"},{"photo_id":"1398061383","filename":"file1"},{"photo_id":"1398061382","filename":"file0"},{"photo_id":"1398061395","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398061395":["hashtag1","hashtag2"]},{"1398061398":["hashtag1","hashtag2"]},{"1398061383":["hashtag1","hashtag2"]},{"1398061386":["hashtag1","hashtag2"]},{"1398061401":["hashtag1","hashtag2"]},{"1398061382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398061395, 1398061398, 1398061383, 1398061386, 1398061401, 1398061382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0053174495697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:51:02.666057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/33/image_05122025_09_34_04_9662.jpg', '/home/pi/Desktop/images/05122025/09/34/image_05122025_09_34_14_10747.jpg', '/home/pi/Desktop/images/05122025/09/34/image_05122025_09_34_24_9809.jpg', '/home/pi/Desktop/images/05122025/09/34/image_05122025_09_34_34_9603.jpg', '/home/pi/Desktop/images/05122025/09/34/image_05122025_09_34_44_9826.jpg', '/home/pi/Desktop/images/05122025/09/34/image_05122025_09_34_54_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/33/image_05122025_09_34_04_9662.jpg
/home/pi/Desktop/images/05122025/09/34/image_05122025_09_34_14_10747.jpg
/home/pi/Desktop/images/05122025/09/34/image_05122025_09_34_24_9809.jpg
/home/pi/Desktop/images/05122025/09/34/image_05122025_09_34_34_9603.jpg
/home/pi/Desktop/images/05122025/09/34/image_05122025_09_34_44_9826.jpg
/home/pi/Desktop/images/05122025/09/34/image_05122025_09_34_54_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061440","1398061434","1398061428","1398061436","1398061432","1398061438"],"photo_ids_order":["1398061428","1398061432","1398061434","1398061436","1398061438","1398061440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/30eec64bead39bb7b6e5a2cc5fa821af.jpg","text":"TemporaryFile(/tmp/multipartBody6844033292520587685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924723442,"filename":"image_05122025_09_34_54_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c37b98f7d083a80ce3a84f11838ef15.jpg","text":"TemporaryFile(/tmp/multipartBody3492300764107377714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924723442,"filename":"image_05122025_09_34_24_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba9994e25ca6f87f4b07b2047b87c084.jpg","text":"TemporaryFile(/tmp/multipartBody2935060084403345658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924723442,"filename":"image_05122025_09_34_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e6126ec7af1eda3e22e76981d8f5d7a.jpg","text":"TemporaryFile(/tmp/multipartBody617884517474985154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924723442,"filename":"image_05122025_09_34_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/5/9203f7c8bd1337a0b4b747edf5ad74db.jpg","text":"TemporaryFile(/tmp/multipartBody3132930833006492778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924723442,"filename":"image_05122025_09_34_14_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/5/e25297d638deba566db0cb1730ae2d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5257867935862066574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924723442,"filename":"image_05122025_09_34_44_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061434","file1":"1398061432","file0":"1398061428","file4":"1398061438","file5":"1398061440","file3":"1398061436"},"map_files_photo_id_array":[{"photo_id":"1398061440","filename":"file5"},{"photo_id":"1398061434","filename":"file2"},{"photo_id":"1398061438","filename":"file4"},{"photo_id":"1398061432","filename":"file1"},{"photo_id":"1398061428","filename":"file0"},{"photo_id":"1398061436","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398061440":["hashtag1","hashtag2"]},{"1398061434":["hashtag1","hashtag2"]},{"1398061428":["hashtag1","hashtag2"]},{"1398061436":["hashtag1","hashtag2"]},{"1398061432":["hashtag1","hashtag2"]},{"1398061438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398061440, 1398061434, 1398061428, 1398061436, 1398061432, 1398061438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79367756843567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:51:42.044232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_37_3574.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_42_2609.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_48_2752.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_51_2928.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_54_2591.jpg', '/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_58_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_37_3574.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_42_2609.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_48_2752.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_51_2928.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_54_2591.jpg
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_09_58_3648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061452","1398061446","1398061449","1398061451","1398061450","1398061453"],"photo_ids_order":["1398061446","1398061449","1398061450","1398061451","1398061452","1398061453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d16f9728f1a00efef808e19e9eb14104.jpg","text":"TemporaryFile(/tmp/multipartBody4649391047321697943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924763671,"filename":"image_31102025_19_09_54_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/5/ae4da56016e42629cd0c369be649640e.jpg","text":"TemporaryFile(/tmp/multipartBody9100250328785912218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924763671,"filename":"image_31102025_19_09_37_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/5/9af4cab4dad8db82980c8a34bfb5abdc.jpg","text":"TemporaryFile(/tmp/multipartBody3698927577654922769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924763671,"filename":"image_31102025_19_09_42_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/5/98c2a46e217f0c9770b7f1c74002d1b2.jpg","text":"TemporaryFile(/tmp/multipartBody1594383262786196090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924763671,"filename":"image_31102025_19_09_51_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/5/ceb44ce18e4801c7449543f33883c8e4.jpg","text":"TemporaryFile(/tmp/multipartBody7073256614708311053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924763671,"filename":"image_31102025_19_09_48_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc45837c802df02fc9f0a3fe5244e864.jpg","text":"TemporaryFile(/tmp/multipartBody7350293713118400606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924763671,"filename":"image_31102025_19_09_58_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061450","file1":"1398061449","file0":"1398061446","file4":"1398061452","file5":"1398061453","file3":"1398061451"},"map_files_photo_id_array":[{"photo_id":"1398061453","filename":"file5"},{"photo_id":"1398061450","filename":"file2"},{"photo_id":"1398061452","filename":"file4"},{"photo_id":"1398061449","filename":"file1"},{"photo_id":"1398061446","filename":"file0"},{"photo_id":"1398061451","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398061452":["hashtag1","hashtag2"]},{"1398061446":["hashtag1","hashtag2"]},{"1398061449":["hashtag1","hashtag2"]},{"1398061451":["hashtag1","hashtag2"]},{"1398061450":["hashtag1","hashtag2"]},{"1398061453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398061452, 1398061446, 1398061449, 1398061451, 1398061450, 1398061453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68976545333862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:52:24.235135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/34/image_05122025_09_35_04_9559.jpg', '/home/pi/Desktop/images/05122025/09/35/image_05122025_09_35_14_10054.jpg', '/home/pi/Desktop/images/05122025/09/35/image_05122025_09_35_23_9494.jpg', '/home/pi/Desktop/images/05122025/09/35/image_05122025_09_35_34_10674.jpg', '/home/pi/Desktop/images/05122025/09/35/image_05122025_09_35_48_13442.jpg', '/home/pi/Desktop/images/05122025/09/35/image_05122025_09_35_54_6666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/34/image_05122025_09_35_04_9559.jpg
/home/pi/Desktop/images/05122025/09/35/image_05122025_09_35_14_10054.jpg
/home/pi/Desktop/images/05122025/09/35/image_05122025_09_35_23_9494.jpg
/home/pi/Desktop/images/05122025/09/35/image_05122025_09_35_34_10674.jpg
/home/pi/Desktop/images/05122025/09/35/image_05122025_09_35_48_13442.jpg
/home/pi/Desktop/images/05122025/09/35/image_05122025_09_35_54_6666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061464","1398061458","1398061467","1398061460","1398061462","1398061468"],"photo_ids_order":["1398061458","1398061460","1398061462","1398061464","1398061467","1398061468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78cde4140f26c20ff6dbdb9fe2ab19f2.jpg","text":"TemporaryFile(/tmp/multipartBody202826841228262934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924804946,"filename":"image_05122025_09_35_34_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/5/de546c457e68969d96137879759235e9.jpg","text":"TemporaryFile(/tmp/multipartBody3479017442003924882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924804946,"filename":"image_05122025_09_35_04_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/5/120eb7fe839e62836790f929aa96b420.jpg","text":"TemporaryFile(/tmp/multipartBody871987967557171273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924804946,"filename":"image_05122025_09_35_48_13442.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b1b7029ff829113c70ffded09f15a9ae.jpg","text":"TemporaryFile(/tmp/multipartBody3681783909168379276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924804946,"filename":"image_05122025_09_35_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/5/2dd4c57adcb068a741c333b09d49b080.jpg","text":"TemporaryFile(/tmp/multipartBody3467559448314003579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924804946,"filename":"image_05122025_09_35_23_9494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a472a6ab175e029d10ef643900d2914e.jpg","text":"TemporaryFile(/tmp/multipartBody6806334498326789786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924804946,"filename":"image_05122025_09_35_54_6666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061462","file1":"1398061460","file0":"1398061458","file4":"1398061467","file5":"1398061468","file3":"1398061464"},"map_files_photo_id_array":[{"photo_id":"1398061468","filename":"file5"},{"photo_id":"1398061462","filename":"file2"},{"photo_id":"1398061467","filename":"file4"},{"photo_id":"1398061460","filename":"file1"},{"photo_id":"1398061458","filename":"file0"},{"photo_id":"1398061464","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398061464":["hashtag1","hashtag2"]},{"1398061458":["hashtag1","hashtag2"]},{"1398061467":["hashtag1","hashtag2"]},{"1398061460":["hashtag1","hashtag2"]},{"1398061462":["hashtag1","hashtag2"]},{"1398061468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398061464, 1398061458, 1398061467, 1398061460, 1398061462, 1398061468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.600985288619995 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-05 09:53:12.289842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/10/image_02122025_18_10_44_9787.jpg', '/home/pi/Desktop/images/02122025/18/10/image_02122025_18_10_55_10678.jpg', '/home/pi/Desktop/images/02122025/18/10/image_02122025_18_11_04_9734.jpg', '/home/pi/Desktop/images/02122025/18/11/image_02122025_18_11_34_9755.jpg', '/home/pi/Desktop/images/02122025/18/11/image_02122025_18_12_04_9722.jpg', '/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_14_9886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/10/image_02122025_18_10_44_9787.jpg
/home/pi/Desktop/images/02122025/18/10/image_02122025_18_10_55_10678.jpg
/home/pi/Desktop/images/02122025/18/10/image_02122025_18_11_04_9734.jpg
/home/pi/Desktop/images/02122025/18/11/image_02122025_18_11_34_9755.jpg
/home/pi/Desktop/images/02122025/18/11/image_02122025_18_12_04_9722.jpg
/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_14_9886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061482","1398061484","1398061478","1398061480","1398061477","1398061486"],"photo_ids_order":["1398061477","1398061478","1398061480","1398061482","1398061484","1398061486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/204e284157776b3ad2460aea23002deb.jpg","text":"TemporaryFile(/tmp/multipartBody3285960647381673423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924854198,"filename":"image_02122025_18_11_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/5/03f989fb36cc84ebb84bdc9fa1156d90.jpg","text":"TemporaryFile(/tmp/multipartBody6500014170437553807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924854198,"filename":"image_02122025_18_12_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/5/c12dea43124b62cefa2c92acf52df648.jpg","text":"TemporaryFile(/tmp/multipartBody7417190739872282864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924854198,"filename":"image_02122025_18_10_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a4885d479dc9f99b80602a7cc699ac4.jpg","text":"TemporaryFile(/tmp/multipartBody6323255237583835013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924854198,"filename":"image_02122025_18_11_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/5/5b4914d8f1887a48f031d60dae2982b1.jpg","text":"TemporaryFile(/tmp/multipartBody6238121464574590149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924854198,"filename":"image_02122025_18_10_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99bdb6158b4f0c874e8dcdfbbfd661e5.jpg","text":"TemporaryFile(/tmp/multipartBody7934187786667267679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924854198,"filename":"image_02122025_18_12_14_9886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061480","file1":"1398061478","file0":"1398061477","file4":"1398061484","file5":"1398061486","file3":"1398061482"},"map_files_photo_id_array":[{"photo_id":"1398061486","filename":"file5"},{"photo_id":"1398061480","filename":"file2"},{"photo_id":"1398061484","filename":"file4"},{"photo_id":"1398061478","filename":"file1"},{"photo_id":"1398061477","filename":"file0"},{"photo_id":"1398061482","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398061482":["hashtag1","hashtag2"]},{"1398061484":["hashtag1","hashtag2"]},{"1398061478":["hashtag1","hashtag2"]},{"1398061480":["hashtag1","hashtag2"]},{"1398061477":["hashtag1","hashtag2"]},{"1398061486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398061482, 1398061484, 1398061478, 1398061480, 1398061477, 1398061486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48125505447388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:54:03.030318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/35/image_05122025_09_36_04_9658.jpg', '/home/pi/Desktop/images/05122025/09/36/image_05122025_09_36_14_9712.jpg', '/home/pi/Desktop/images/05122025/09/36/image_05122025_09_36_24_10686.jpg', '/home/pi/Desktop/images/05122025/09/36/image_05122025_09_36_37_13066.jpg', '/home/pi/Desktop/images/05122025/09/36/image_05122025_09_36_44_6729.jpg', '/home/pi/Desktop/images/05122025/09/36/image_05122025_09_36_54_9912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/35/image_05122025_09_36_04_9658.jpg
/home/pi/Desktop/images/05122025/09/36/image_05122025_09_36_14_9712.jpg
/home/pi/Desktop/images/05122025/09/36/image_05122025_09_36_24_10686.jpg
/home/pi/Desktop/images/05122025/09/36/image_05122025_09_36_37_13066.jpg
/home/pi/Desktop/images/05122025/09/36/image_05122025_09_36_44_6729.jpg
/home/pi/Desktop/images/05122025/09/36/image_05122025_09_36_54_9912.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061518","1398061520","1398061525","1398061528","1398061522","1398061516"],"photo_ids_order":["1398061516","1398061518","1398061520","1398061522","1398061525","1398061528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b63d7d3d2306f840df493d24ef6b04ef.jpg","text":"TemporaryFile(/tmp/multipartBody9030542862645959287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924903841,"filename":"image_05122025_09_36_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/5/699d99a19d7af07a1d0c6cbc2f97d573.jpg","text":"TemporaryFile(/tmp/multipartBody1374546808101635722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924903841,"filename":"image_05122025_09_36_24_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/5/14e5501bc82b8da5ddf96ecc8bc0fa22.jpg","text":"TemporaryFile(/tmp/multipartBody6567166193883808694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924903841,"filename":"image_05122025_09_36_44_6729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80fc25dbef56e13f06110f9a0fe5c0e3.jpg","text":"TemporaryFile(/tmp/multipartBody4351778973020159827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924903841,"filename":"image_05122025_09_36_54_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/474f48d47831b98259582936af892ce7.jpg","text":"TemporaryFile(/tmp/multipartBody3367500225909697550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924903841,"filename":"image_05122025_09_36_37_13066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e68b17ce625814157037772911fb5729.jpg","text":"TemporaryFile(/tmp/multipartBody578121645979826000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924903841,"filename":"image_05122025_09_36_04_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061520","file1":"1398061518","file0":"1398061516","file4":"1398061525","file5":"1398061528","file3":"1398061522"},"map_files_photo_id_array":[{"photo_id":"1398061528","filename":"file5"},{"photo_id":"1398061520","filename":"file2"},{"photo_id":"1398061525","filename":"file4"},{"photo_id":"1398061518","filename":"file1"},{"photo_id":"1398061516","filename":"file0"},{"photo_id":"1398061522","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398061518":["hashtag1","hashtag2"]},{"1398061520":["hashtag1","hashtag2"]},{"1398061525":["hashtag1","hashtag2"]},{"1398061528":["hashtag1","hashtag2"]},{"1398061522":["hashtag1","hashtag2"]},{"1398061516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398061518, 1398061520, 1398061525, 1398061528, 1398061522, 1398061516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.554673194885254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:54:42.465394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/09/image_31102025_19_10_00_2658.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_03_2691.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_07_3637.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_09_2686.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_12_2564.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_16_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/09/image_31102025_19_10_00_2658.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_03_2691.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_07_3637.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_09_2686.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_12_2564.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_16_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":["1398061603","1398061647","1398061638","1398061568","1398061649","1398061648"],"photo_ids_order":["1398061568","1398061603","1398061638","1398061647","1398061648","1398061649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f5ba461464c1bc556c21b592d2191503.jpg","text":"TemporaryFile(/tmp/multipartBody1443394368807940976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924944093,"filename":"image_31102025_19_10_03_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/5/10b921a7e50c30eff556f8e32fc96a51.jpg","text":"TemporaryFile(/tmp/multipartBody3752263827607060551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924944093,"filename":"image_31102025_19_10_09_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/5/5e7d68cda900f17b74f769003e78d21e.jpg","text":"TemporaryFile(/tmp/multipartBody1721197875576746492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924944093,"filename":"image_31102025_19_10_07_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/5/17c50f165e7f305345c11072553be729.jpg","text":"TemporaryFile(/tmp/multipartBody224473077802147465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924944093,"filename":"image_31102025_19_10_00_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/5/1b661f902565041748bcf3c8922b1dfe.jpg","text":"TemporaryFile(/tmp/multipartBody1671428952589146539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924944093,"filename":"image_31102025_19_10_16_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/5/10ab7a201feb95da72b81152f41310a2.jpg","text":"TemporaryFile(/tmp/multipartBody6980726333446043700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924944093,"filename":"image_31102025_19_10_12_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061638","file1":"1398061603","file0":"1398061568","file4":"1398061648","file5":"1398061649","file3":"1398061647"},"map_files_photo_id_array":[{"photo_id":"1398061649","filename":"file5"},{"photo_id":"1398061638","filename":"file2"},{"photo_id":"1398061648","filename":"file4"},{"photo_id":"1398061603","filename":"file1"},{"photo_id":"1398061568","filename":"file0"},{"photo_id":"1398061647","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398061603":["hashtag1","hashtag2"]},{"1398061647":["hashtag1","hashtag2"]},{"1398061638":["hashtag1","hashtag2"]},{"1398061568":["hashtag1","hashtag2"]},{"1398061649":["hashtag1","hashtag2"]},{"1398061648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398061603, 1398061647, 1398061638, 1398061568, 1398061649, 1398061648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97956109046936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:55:22.589503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/36/image_05122025_09_37_04_9652.jpg', '/home/pi/Desktop/images/05122025/09/37/image_05122025_09_37_14_10691.jpg', '/home/pi/Desktop/images/05122025/09/37/image_05122025_09_37_24_9698.jpg', '/home/pi/Desktop/images/05122025/09/37/image_05122025_09_37_34_9685.jpg', '/home/pi/Desktop/images/05122025/09/37/image_05122025_09_37_43_9829.jpg', '/home/pi/Desktop/images/05122025/09/37/image_05122025_09_37_53_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/36/image_05122025_09_37_04_9652.jpg
/home/pi/Desktop/images/05122025/09/37/image_05122025_09_37_14_10691.jpg
/home/pi/Desktop/images/05122025/09/37/image_05122025_09_37_24_9698.jpg
/home/pi/Desktop/images/05122025/09/37/image_05122025_09_37_34_9685.jpg
/home/pi/Desktop/images/05122025/09/37/image_05122025_09_37_43_9829.jpg
/home/pi/Desktop/images/05122025/09/37/image_05122025_09_37_53_9964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061656","1398061670","1398061661","1398061663","1398061654","1398061698"],"photo_ids_order":["1398061654","1398061656","1398061661","1398061663","1398061670","1398061698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fcda99cb2f1796fd20cdc1816bd67dbf.jpg","text":"TemporaryFile(/tmp/multipartBody6798634622587854801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924983286,"filename":"image_05122025_09_37_14_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/5/6abb3603ef25e4d7fa37c3585fcb5ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8632923798400253841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924983286,"filename":"image_05122025_09_37_43_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/5/da67ce536f54e778949eb2746d37927a.jpg","text":"TemporaryFile(/tmp/multipartBody2500356453496767064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924983286,"filename":"image_05122025_09_37_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/5/76790a103dfd3978ae3d42552ddeeab9.jpg","text":"TemporaryFile(/tmp/multipartBody8319114469328822219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924983286,"filename":"image_05122025_09_37_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/5/429e61f00d27697111339541a09b989c.jpg","text":"TemporaryFile(/tmp/multipartBody9118382526159921644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924983286,"filename":"image_05122025_09_37_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/5/dcd2bc2ee233fc03511b29d9e9490ca3.jpg","text":"TemporaryFile(/tmp/multipartBody3049034161111119628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764924983286,"filename":"image_05122025_09_37_53_9964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061661","file1":"1398061656","file0":"1398061654","file4":"1398061670","file5":"1398061698","file3":"1398061663"},"map_files_photo_id_array":[{"photo_id":"1398061698","filename":"file5"},{"photo_id":"1398061661","filename":"file2"},{"photo_id":"1398061670","filename":"file4"},{"photo_id":"1398061656","filename":"file1"},{"photo_id":"1398061654","filename":"file0"},{"photo_id":"1398061663","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398061656":["hashtag1","hashtag2"]},{"1398061670":["hashtag1","hashtag2"]},{"1398061661":["hashtag1","hashtag2"]},{"1398061663":["hashtag1","hashtag2"]},{"1398061654":["hashtag1","hashtag2"]},{"1398061698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398061656, 1398061670, 1398061661, 1398061663, 1398061654, 1398061698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1060836315155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:56:02.285739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/37/image_05122025_09_38_04_10710.jpg', '/home/pi/Desktop/images/05122025/09/38/image_05122025_09_38_14_9773.jpg', '/home/pi/Desktop/images/05122025/09/38/image_05122025_09_38_24_9718.jpg', '/home/pi/Desktop/images/05122025/09/38/image_05122025_09_38_34_10671.jpg', '/home/pi/Desktop/images/05122025/09/38/image_05122025_09_38_44_9863.jpg', '/home/pi/Desktop/images/05122025/09/38/image_05122025_09_38_54_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/37/image_05122025_09_38_04_10710.jpg
/home/pi/Desktop/images/05122025/09/38/image_05122025_09_38_14_9773.jpg
/home/pi/Desktop/images/05122025/09/38/image_05122025_09_38_24_9718.jpg
/home/pi/Desktop/images/05122025/09/38/image_05122025_09_38_34_10671.jpg
/home/pi/Desktop/images/05122025/09/38/image_05122025_09_38_44_9863.jpg
/home/pi/Desktop/images/05122025/09/38/image_05122025_09_38_54_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061752","1398061754","1398061748","1398061733","1398061727","1398061750"],"photo_ids_order":["1398061727","1398061733","1398061748","1398061750","1398061752","1398061754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/097e76ab0368dbd89525c303afb7122c.jpg","text":"TemporaryFile(/tmp/multipartBody2734681480120978780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925022997,"filename":"image_05122025_09_38_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/5/d92c479940419220a9b1043f6fcf0806.jpg","text":"TemporaryFile(/tmp/multipartBody7752855606087427715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925022997,"filename":"image_05122025_09_38_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/5/673ce5b1c4deeafa26040721f539e8f0.jpg","text":"TemporaryFile(/tmp/multipartBody951498661883198869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925022997,"filename":"image_05122025_09_38_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/5/8bd9f86e37fd4c0b70bbf8ffc56cbd78.jpg","text":"TemporaryFile(/tmp/multipartBody3282236588724277179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925022997,"filename":"image_05122025_09_38_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/5/7001b02201a9654c0d652b06bbefd6d1.jpg","text":"TemporaryFile(/tmp/multipartBody4330414579445034510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925022997,"filename":"image_05122025_09_38_04_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/5/53c591baef592004d090e32e8b788c0c.jpg","text":"TemporaryFile(/tmp/multipartBody631624949849630732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925022997,"filename":"image_05122025_09_38_34_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061748","file1":"1398061733","file0":"1398061727","file4":"1398061752","file5":"1398061754","file3":"1398061750"},"map_files_photo_id_array":[{"photo_id":"1398061754","filename":"file5"},{"photo_id":"1398061748","filename":"file2"},{"photo_id":"1398061752","filename":"file4"},{"photo_id":"1398061733","filename":"file1"},{"photo_id":"1398061727","filename":"file0"},{"photo_id":"1398061750","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398061752":["hashtag1","hashtag2"]},{"1398061754":["hashtag1","hashtag2"]},{"1398061748":["hashtag1","hashtag2"]},{"1398061733":["hashtag1","hashtag2"]},{"1398061727":["hashtag1","hashtag2"]},{"1398061750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398061752, 1398061754, 1398061748, 1398061733, 1398061727, 1398061750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59739875793457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 09:56:41.910633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_18_2684.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_24_2583.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_31_3532.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_33_2753.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_42_2718.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_45_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_18_2684.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_24_2583.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_31_3532.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_33_2753.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_42_2718.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_45_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061767","1398061766","1398061760","1398061768","1398061762","1398061765"],"photo_ids_order":["1398061760","1398061762","1398061765","1398061766","1398061767","1398061768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c9f2b3f1dd5302c7f9016e9f750f13e.jpg","text":"TemporaryFile(/tmp/multipartBody6865838898220897788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925063519,"filename":"image_31102025_19_10_42_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/5/5239ca509c4e3c6c2511df0ee0706001.jpg","text":"TemporaryFile(/tmp/multipartBody9164079606498460285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925063519,"filename":"image_31102025_19_10_33_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/5/a9fa47cbf787033cacbbe5a3449d4613.jpg","text":"TemporaryFile(/tmp/multipartBody3875083163521836792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925063519,"filename":"image_31102025_19_10_18_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/5/b7b9bfe62296ee94088c10fd3d9ebdd2.jpg","text":"TemporaryFile(/tmp/multipartBody9087291056679190365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925063519,"filename":"image_31102025_19_10_45_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/5/b407a3c334074c987585af594a8e2c24.jpg","text":"TemporaryFile(/tmp/multipartBody2615731589082718191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925063519,"filename":"image_31102025_19_10_24_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/5/ca957f3d0e1120de7c7dc2ffefe370dd.jpg","text":"TemporaryFile(/tmp/multipartBody8174406355895721482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925063519,"filename":"image_31102025_19_10_31_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061765","file1":"1398061762","file0":"1398061760","file4":"1398061767","file5":"1398061768","file3":"1398061766"},"map_files_photo_id_array":[{"photo_id":"1398061768","filename":"file5"},{"photo_id":"1398061765","filename":"file2"},{"photo_id":"1398061767","filename":"file4"},{"photo_id":"1398061762","filename":"file1"},{"photo_id":"1398061760","filename":"file0"},{"photo_id":"1398061766","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398061767":["hashtag1","hashtag2"]},{"1398061766":["hashtag1","hashtag2"]},{"1398061760":["hashtag1","hashtag2"]},{"1398061768":["hashtag1","hashtag2"]},{"1398061762":["hashtag1","hashtag2"]},{"1398061765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398061767, 1398061766, 1398061760, 1398061768, 1398061762, 1398061765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5973379611969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 09:57:22.083858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/38/image_05122025_09_39_04_9684.jpg', '/home/pi/Desktop/images/05122025/09/39/image_05122025_09_39_13_9796.jpg', '/home/pi/Desktop/images/05122025/09/39/image_05122025_09_39_24_10635.jpg', '/home/pi/Desktop/images/05122025/09/39/image_05122025_09_39_34_9738.jpg', '/home/pi/Desktop/images/05122025/09/39/image_05122025_09_39_44_9737.jpg', '/home/pi/Desktop/images/05122025/09/39/image_05122025_09_39_53_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/38/image_05122025_09_39_04_9684.jpg
/home/pi/Desktop/images/05122025/09/39/image_05122025_09_39_13_9796.jpg
/home/pi/Desktop/images/05122025/09/39/image_05122025_09_39_24_10635.jpg
/home/pi/Desktop/images/05122025/09/39/image_05122025_09_39_34_9738.jpg
/home/pi/Desktop/images/05122025/09/39/image_05122025_09_39_44_9737.jpg
/home/pi/Desktop/images/05122025/09/39/image_05122025_09_39_53_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061770","1398061775","1398061778","1398061772","1398061777","1398061782"],"photo_ids_order":["1398061770","1398061772","1398061775","1398061777","1398061778","1398061782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7603f2a095cf8908d126a4899224f483.jpg","text":"TemporaryFile(/tmp/multipartBody5451930296572547184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925102772,"filename":"image_05122025_09_39_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/5/ad481ee703023af8280aadc65448a365.jpg","text":"TemporaryFile(/tmp/multipartBody7592095823485027886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925102772,"filename":"image_05122025_09_39_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/5/700873c6b75787e1a2d23263998f8af5.jpg","text":"TemporaryFile(/tmp/multipartBody5204867289035246006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925102772,"filename":"image_05122025_09_39_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/5/3cc6a20b2f5e0016cbe41b91f7b51654.jpg","text":"TemporaryFile(/tmp/multipartBody7231401172230339300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925102772,"filename":"image_05122025_09_39_13_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/5/f3fe1b9df485e3b6e7df71e6041402e9.jpg","text":"TemporaryFile(/tmp/multipartBody2922935162515391514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925102772,"filename":"image_05122025_09_39_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/09ab928ef5a85670a27c4b189c1ccb08.jpg","text":"TemporaryFile(/tmp/multipartBody4636053003535161408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925102772,"filename":"image_05122025_09_39_53_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061775","file1":"1398061772","file0":"1398061770","file4":"1398061778","file5":"1398061782","file3":"1398061777"},"map_files_photo_id_array":[{"photo_id":"1398061782","filename":"file5"},{"photo_id":"1398061775","filename":"file2"},{"photo_id":"1398061778","filename":"file4"},{"photo_id":"1398061772","filename":"file1"},{"photo_id":"1398061770","filename":"file0"},{"photo_id":"1398061777","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398061770":["hashtag1","hashtag2"]},{"1398061775":["hashtag1","hashtag2"]},{"1398061778":["hashtag1","hashtag2"]},{"1398061772":["hashtag1","hashtag2"]},{"1398061777":["hashtag1","hashtag2"]},{"1398061782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398061770, 1398061775, 1398061778, 1398061772, 1398061777, 1398061782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.200843811035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 09:59:03.413705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/39/image_05122025_09_40_04_10894.jpg', '/home/pi/Desktop/images/05122025/09/40/image_05122025_09_40_14_9792.jpg', '/home/pi/Desktop/images/05122025/09/40/image_05122025_09_40_24_9829.jpg', '/home/pi/Desktop/images/05122025/09/40/image_05122025_09_40_34_9717.jpg', '/home/pi/Desktop/images/05122025/09/40/image_05122025_09_40_43_9733.jpg', '/home/pi/Desktop/images/05122025/09/40/image_05122025_09_40_54_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/39/image_05122025_09_40_04_10894.jpg
/home/pi/Desktop/images/05122025/09/40/image_05122025_09_40_14_9792.jpg
/home/pi/Desktop/images/05122025/09/40/image_05122025_09_40_24_9829.jpg
/home/pi/Desktop/images/05122025/09/40/image_05122025_09_40_34_9717.jpg
/home/pi/Desktop/images/05122025/09/40/image_05122025_09_40_43_9733.jpg
/home/pi/Desktop/images/05122025/09/40/image_05122025_09_40_54_10677.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":["1398061809","1398061811","1398061814","1398061802","1398061804","1398061807"],"photo_ids_order":["1398061802","1398061804","1398061807","1398061809","1398061811","1398061814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45e4fefff7f606503e05d33d9dd6254b.jpg","text":"TemporaryFile(/tmp/multipartBody6757786247152891603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925204249,"filename":"image_05122025_09_40_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/5/9a942fa8e15896d097cb1402300b6ed2.jpg","text":"TemporaryFile(/tmp/multipartBody5518471980756782901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925204249,"filename":"image_05122025_09_40_43_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/5/be0e33a47b222326bab3ca16d9587108.jpg","text":"TemporaryFile(/tmp/multipartBody752848732141702880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925204249,"filename":"image_05122025_09_40_54_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/5/3c6c5521b8a8f5e5cca2fc6496e00479.jpg","text":"TemporaryFile(/tmp/multipartBody9033427513805057810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925204249,"filename":"image_05122025_09_40_04_10894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f246a9da740c8bb0704f7951bef8c2a0.jpg","text":"TemporaryFile(/tmp/multipartBody4343181536488171471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925204249,"filename":"image_05122025_09_40_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/5/822d5fa0e77343a43b9794e68c524f1f.jpg","text":"TemporaryFile(/tmp/multipartBody2390088800529851516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925204249,"filename":"image_05122025_09_40_24_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061807","file1":"1398061804","file0":"1398061802","file4":"1398061811","file5":"1398061814","file3":"1398061809"},"map_files_photo_id_array":[{"photo_id":"1398061814","filename":"file5"},{"photo_id":"1398061807","filename":"file2"},{"photo_id":"1398061811","filename":"file4"},{"photo_id":"1398061804","filename":"file1"},{"photo_id":"1398061802","filename":"file0"},{"photo_id":"1398061809","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398061809":["hashtag1","hashtag2"]},{"1398061811":["hashtag1","hashtag2"]},{"1398061814":["hashtag1","hashtag2"]},{"1398061802":["hashtag1","hashtag2"]},{"1398061804":["hashtag1","hashtag2"]},{"1398061807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398061809, 1398061811, 1398061814, 1398061802, 1398061804, 1398061807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9160041809082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:00:02.998536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/41/image_05122025_09_41_11_16743.jpg', '/home/pi/Desktop/images/05122025/09/41/image_05122025_09_41_13_2606.jpg', '/home/pi/Desktop/images/05122025/09/41/image_05122025_09_41_24_10599.jpg', '/home/pi/Desktop/images/05122025/09/41/image_05122025_09_41_43_9573.jpg', '/home/pi/Desktop/images/05122025/09/41/image_05122025_09_41_54_10771.jpg', '/home/pi/Desktop/images/05122025/09/41/image_05122025_09_42_04_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/41/image_05122025_09_41_11_16743.jpg
/home/pi/Desktop/images/05122025/09/41/image_05122025_09_41_13_2606.jpg
/home/pi/Desktop/images/05122025/09/41/image_05122025_09_41_24_10599.jpg
/home/pi/Desktop/images/05122025/09/41/image_05122025_09_41_43_9573.jpg
/home/pi/Desktop/images/05122025/09/41/image_05122025_09_41_54_10771.jpg
/home/pi/Desktop/images/05122025/09/41/image_05122025_09_42_04_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061851","1398061845","1398061847","1398061841","1398061849","1398061843"],"photo_ids_order":["1398061841","1398061843","1398061845","1398061847","1398061849","1398061851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/184f01b4a5cc43059e4f4bd553232963.jpg","text":"TemporaryFile(/tmp/multipartBody4871818416410141472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925263755,"filename":"image_05122025_09_42_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d12697ddab0dcd8c5fe278ab9e1bc350.jpg","text":"TemporaryFile(/tmp/multipartBody7606397605709892552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925263755,"filename":"image_05122025_09_41_24_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6760c4ccd5e45a6d0754587fcd095990.jpg","text":"TemporaryFile(/tmp/multipartBody7463558423796272851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925263755,"filename":"image_05122025_09_41_43_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/5/cd7ebfec301a7ffdcfae40a8e52c3beb.jpg","text":"TemporaryFile(/tmp/multipartBody774257872343678280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925263755,"filename":"image_05122025_09_41_11_16743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/33b33b0e0f553e19094c15f28a818a09.jpg","text":"TemporaryFile(/tmp/multipartBody8071119895252387516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925263755,"filename":"image_05122025_09_41_54_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/5/2d01f117dd2dfea781c9b4dac040b846.jpg","text":"TemporaryFile(/tmp/multipartBody5900868189132188357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925263755,"filename":"image_05122025_09_41_13_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061845","file1":"1398061843","file0":"1398061841","file4":"1398061849","file5":"1398061851","file3":"1398061847"},"map_files_photo_id_array":[{"photo_id":"1398061851","filename":"file5"},{"photo_id":"1398061845","filename":"file2"},{"photo_id":"1398061849","filename":"file4"},{"photo_id":"1398061843","filename":"file1"},{"photo_id":"1398061841","filename":"file0"},{"photo_id":"1398061847","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398061851":["hashtag1","hashtag2"]},{"1398061845":["hashtag1","hashtag2"]},{"1398061847":["hashtag1","hashtag2"]},{"1398061841":["hashtag1","hashtag2"]},{"1398061849":["hashtag1","hashtag2"]},{"1398061843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398061851, 1398061845, 1398061847, 1398061841, 1398061849, 1398061843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45944857597351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:01:03.521221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/42/image_05122025_09_42_13_9603.jpg', '/home/pi/Desktop/images/05122025/09/42/image_05122025_09_42_24_10663.jpg', '/home/pi/Desktop/images/05122025/09/42/image_05122025_09_42_34_9740.jpg', '/home/pi/Desktop/images/05122025/09/42/image_05122025_09_42_44_9658.jpg', '/home/pi/Desktop/images/05122025/09/42/image_05122025_09_42_54_10677.jpg', '/home/pi/Desktop/images/05122025/09/42/image_05122025_09_43_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/42/image_05122025_09_42_13_9603.jpg
/home/pi/Desktop/images/05122025/09/42/image_05122025_09_42_24_10663.jpg
/home/pi/Desktop/images/05122025/09/42/image_05122025_09_42_34_9740.jpg
/home/pi/Desktop/images/05122025/09/42/image_05122025_09_42_44_9658.jpg
/home/pi/Desktop/images/05122025/09/42/image_05122025_09_42_54_10677.jpg
/home/pi/Desktop/images/05122025/09/42/image_05122025_09_43_04_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061866","1398061860","1398061862","1398061868","1398061864","1398061858"],"photo_ids_order":["1398061858","1398061860","1398061862","1398061864","1398061866","1398061868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d4f4d8d94c224ee198cc15134939a0b4.jpg","text":"TemporaryFile(/tmp/multipartBody6825920611360445654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925324289,"filename":"image_05122025_09_42_54_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/5/24e2f636ea247c712aee7f42b62801d6.jpg","text":"TemporaryFile(/tmp/multipartBody4596100759246960944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925324289,"filename":"image_05122025_09_42_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ad156a90c0803729ca772aafe95def9.jpg","text":"TemporaryFile(/tmp/multipartBody6142848443510886647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925324289,"filename":"image_05122025_09_42_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/5/1b11b24e106f7d478e63aa86ae75ed45.jpg","text":"TemporaryFile(/tmp/multipartBody103816887866729851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925324289,"filename":"image_05122025_09_43_04_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc953c2a5b36c2b18ce289934d210dbf.jpg","text":"TemporaryFile(/tmp/multipartBody1844095913892535155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925324289,"filename":"image_05122025_09_42_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abb5dd05a6f09e23c02ef73f8fa63a3d.jpg","text":"TemporaryFile(/tmp/multipartBody1071149789484661342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925324289,"filename":"image_05122025_09_42_13_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061862","file1":"1398061860","file0":"1398061858","file4":"1398061866","file5":"1398061868","file3":"1398061864"},"map_files_photo_id_array":[{"photo_id":"1398061868","filename":"file5"},{"photo_id":"1398061862","filename":"file2"},{"photo_id":"1398061866","filename":"file4"},{"photo_id":"1398061860","filename":"file1"},{"photo_id":"1398061858","filename":"file0"},{"photo_id":"1398061864","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398061866":["hashtag1","hashtag2"]},{"1398061860":["hashtag1","hashtag2"]},{"1398061862":["hashtag1","hashtag2"]},{"1398061868":["hashtag1","hashtag2"]},{"1398061864":["hashtag1","hashtag2"]},{"1398061858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398061866, 1398061860, 1398061862, 1398061868, 1398061864, 1398061858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73523473739624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:01:42.830633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_48_2782.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_51_3708.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_54_2576.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_58_3650.jpg', '/home/pi/Desktop/images/31102025/19/10/image_31102025_19_11_00_2550.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_03_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_48_2782.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_51_3708.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_54_2576.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_10_58_3650.jpg
/home/pi/Desktop/images/31102025/19/10/image_31102025_19_11_00_2550.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_03_2619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398061875","1398061877","1398061871","1398061879","1398061873","1398061881"],"photo_ids_order":["1398061871","1398061873","1398061875","1398061877","1398061879","1398061881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/35a9087770d081230f976b0dc6c7dfd8.jpg","text":"TemporaryFile(/tmp/multipartBody5653609864016758369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925364453,"filename":"image_31102025_19_10_54_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6421e345ee9a8c8654ec1c26096aa8fa.jpg","text":"TemporaryFile(/tmp/multipartBody8833689461074898818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925364453,"filename":"image_31102025_19_10_58_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/5/58eba2f00377c09a27cbfe5989f145e8.jpg","text":"TemporaryFile(/tmp/multipartBody8929137926921104672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925364453,"filename":"image_31102025_19_10_48_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/5/6820c307719128a5e38b46e79a88cb8d.jpg","text":"TemporaryFile(/tmp/multipartBody4198862014736214062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925364453,"filename":"image_31102025_19_11_00_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/5/a43d80c7a2a01b7d01fb63ae7f2826bf.jpg","text":"TemporaryFile(/tmp/multipartBody1009751008880497374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925364453,"filename":"image_31102025_19_10_51_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e5528e85e9a97bc90f172cceffa4fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8581470837704170414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925364453,"filename":"image_31102025_19_11_03_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061875","file1":"1398061873","file0":"1398061871","file4":"1398061879","file5":"1398061881","file3":"1398061877"},"map_files_photo_id_array":[{"photo_id":"1398061881","filename":"file5"},{"photo_id":"1398061875","filename":"file2"},{"photo_id":"1398061879","filename":"file4"},{"photo_id":"1398061873","filename":"file1"},{"photo_id":"1398061871","filename":"file0"},{"photo_id":"1398061877","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398061875":["hashtag1","hashtag2"]},{"1398061877":["hashtag1","hashtag2"]},{"1398061871":["hashtag1","hashtag2"]},{"1398061879":["hashtag1","hashtag2"]},{"1398061873":["hashtag1","hashtag2"]},{"1398061881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398061875, 1398061877, 1398061871, 1398061879, 1398061873, 1398061881)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.58086276054382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 10:02:32.023490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_25_10684.jpg', '/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_34_9649.jpg', '/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_47_12782.jpg', '/home/pi/Desktop/images/02122025/18/12/image_02122025_18_13_05_10663.jpg', '/home/pi/Desktop/images/02122025/18/13/image_02122025_18_13_54_9665.jpg', '/home/pi/Desktop/images/02122025/18/14/image_02122025_18_14_15_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_25_10684.jpg
/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_34_9649.jpg
/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_47_12782.jpg
/home/pi/Desktop/images/02122025/18/12/image_02122025_18_13_05_10663.jpg
/home/pi/Desktop/images/02122025/18/13/image_02122025_18_13_54_9665.jpg
/home/pi/Desktop/images/02122025/18/14/image_02122025_18_14_15_10699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.204458475112915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:02:42.016057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_06_3540.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_09_2529.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_13_3574.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_15_2697.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_18_2886.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_22_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_06_3540.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_09_2529.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_13_3574.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_15_2697.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_18_2886.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_22_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":["1398061914","1398061911","1398061895","1398061913","1398061916","1398061915"],"photo_ids_order":["1398061895","1398061911","1398061913","1398061914","1398061915","1398061916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/df6abb5f7ae81ae7f7826f07c95c81f8.jpg","text":"TemporaryFile(/tmp/multipartBody6619156954300351973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925423909,"filename":"image_31102025_19_11_15_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/5/aa470765cc59b25c65a83b817d33f923.jpg","text":"TemporaryFile(/tmp/multipartBody6697860419400413272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925423909,"filename":"image_31102025_19_11_09_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9479801eb6d6d6ec2ee822fc003fcf0a.jpg","text":"TemporaryFile(/tmp/multipartBody2241394404287620821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925423909,"filename":"image_31102025_19_11_06_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/5/96cfed406c67e6308ddb1209fd4f655f.jpg","text":"TemporaryFile(/tmp/multipartBody953911560007696618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925423909,"filename":"image_31102025_19_11_13_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/5/ebf909872e3143fb9616fbfb7ba592d1.jpg","text":"TemporaryFile(/tmp/multipartBody8659822525027006181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925423909,"filename":"image_31102025_19_11_22_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/5/d1da229e77ef000b9aebdb28ff694611.jpg","text":"TemporaryFile(/tmp/multipartBody650895646097012999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925423909,"filename":"image_31102025_19_11_18_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398061913","file1":"1398061911","file0":"1398061895","file4":"1398061915","file5":"1398061916","file3":"1398061914"},"map_files_photo_id_array":[{"photo_id":"1398061916","filename":"file5"},{"photo_id":"1398061913","filename":"file2"},{"photo_id":"1398061915","filename":"file4"},{"photo_id":"1398061911","filename":"file1"},{"photo_id":"1398061895","filename":"file0"},{"photo_id":"1398061914","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398061914":["hashtag1","hashtag2"]},{"1398061911":["hashtag1","hashtag2"]},{"1398061895":["hashtag1","hashtag2"]},{"1398061913":["hashtag1","hashtag2"]},{"1398061916":["hashtag1","hashtag2"]},{"1398061915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398061914, 1398061911, 1398061895, 1398061913, 1398061916, 1398061915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.909284353256226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:03:22.157063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/43/image_05122025_09_43_14_9643.jpg', '/home/pi/Desktop/images/05122025/09/43/image_05122025_09_43_23_9780.jpg', '/home/pi/Desktop/images/05122025/09/43/image_05122025_09_43_34_10717.jpg', '/home/pi/Desktop/images/05122025/09/43/image_05122025_09_43_44_9664.jpg', '/home/pi/Desktop/images/05122025/09/43/image_05122025_09_43_56_12352.jpg', '/home/pi/Desktop/images/05122025/09/43/image_05122025_09_44_04_7663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/43/image_05122025_09_43_14_9643.jpg
/home/pi/Desktop/images/05122025/09/43/image_05122025_09_43_23_9780.jpg
/home/pi/Desktop/images/05122025/09/43/image_05122025_09_43_34_10717.jpg
/home/pi/Desktop/images/05122025/09/43/image_05122025_09_43_44_9664.jpg
/home/pi/Desktop/images/05122025/09/43/image_05122025_09_43_56_12352.jpg
/home/pi/Desktop/images/05122025/09/43/image_05122025_09_44_04_7663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398062096","1398061949","1398062210","1398062167","1398061990","1398062029"],"photo_ids_order":["1398061949","1398061990","1398062029","1398062096","1398062167","1398062210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0d348b19e4a3491cd0603dc42f85cfa9.jpg","text":"TemporaryFile(/tmp/multipartBody6272671715368323153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925462892,"filename":"image_05122025_09_43_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/755080277a5a6cc9784e4264e4956412.jpg","text":"TemporaryFile(/tmp/multipartBody9166579350347866333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925462892,"filename":"image_05122025_09_43_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/5/19e9e20114e0b0c9c9ff9d2b3cd851db.jpg","text":"TemporaryFile(/tmp/multipartBody7913775219690375586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925462892,"filename":"image_05122025_09_44_04_7663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8306d6a99be5293e472dd70a39dda6e5.jpg","text":"TemporaryFile(/tmp/multipartBody2459302624911110250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925462892,"filename":"image_05122025_09_43_56_12352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fd573995ac37b2b56a34d30972214d94.jpg","text":"TemporaryFile(/tmp/multipartBody6221530211207690955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925462892,"filename":"image_05122025_09_43_23_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/5/13d7524117e3628ab374d270601ce4eb.jpg","text":"TemporaryFile(/tmp/multipartBody2240209638702342307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925462892,"filename":"image_05122025_09_43_34_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398062029","file1":"1398061990","file0":"1398061949","file4":"1398062167","file5":"1398062210","file3":"1398062096"},"map_files_photo_id_array":[{"photo_id":"1398062210","filename":"file5"},{"photo_id":"1398062029","filename":"file2"},{"photo_id":"1398062167","filename":"file4"},{"photo_id":"1398061990","filename":"file1"},{"photo_id":"1398061949","filename":"file0"},{"photo_id":"1398062096","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398062096":["hashtag1","hashtag2"]},{"1398061949":["hashtag1","hashtag2"]},{"1398062210":["hashtag1","hashtag2"]},{"1398062167":["hashtag1","hashtag2"]},{"1398061990":["hashtag1","hashtag2"]},{"1398062029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398062096, 1398061949, 1398062210, 1398062167, 1398061990, 1398062029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03518629074097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:04:02.956671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/44/image_05122025_09_44_14_9760.jpg', '/home/pi/Desktop/images/05122025/09/44/image_05122025_09_44_24_10836.jpg', '/home/pi/Desktop/images/05122025/09/44/image_05122025_09_44_34_9839.jpg', '/home/pi/Desktop/images/05122025/09/44/image_05122025_09_44_44_9882.jpg', '/home/pi/Desktop/images/05122025/09/44/image_05122025_09_44_54_9717.jpg', '/home/pi/Desktop/images/05122025/09/44/image_05122025_09_45_03_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/44/image_05122025_09_44_14_9760.jpg
/home/pi/Desktop/images/05122025/09/44/image_05122025_09_44_24_10836.jpg
/home/pi/Desktop/images/05122025/09/44/image_05122025_09_44_34_9839.jpg
/home/pi/Desktop/images/05122025/09/44/image_05122025_09_44_44_9882.jpg
/home/pi/Desktop/images/05122025/09/44/image_05122025_09_44_54_9717.jpg
/home/pi/Desktop/images/05122025/09/44/image_05122025_09_45_03_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398062465","1398062392","1398062603","1398062557","1398062518","1398062341"],"photo_ids_order":["1398062341","1398062392","1398062465","1398062518","1398062557","1398062603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/555bf91585d3da936fdeef39aa781974.jpg","text":"TemporaryFile(/tmp/multipartBody7504790006028002030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925503757,"filename":"image_05122025_09_44_34_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/5/3aa31a8d9dc749a5b1cf2b8c773796ee.jpg","text":"TemporaryFile(/tmp/multipartBody8520604292853755729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925503757,"filename":"image_05122025_09_44_24_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/5/a90fa2fe8f8a5bcbfd727643f795e26e.jpg","text":"TemporaryFile(/tmp/multipartBody9112882434401856664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925503757,"filename":"image_05122025_09_45_03_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/5/64447bd45d6ef2e0ab61f455d4940e81.jpg","text":"TemporaryFile(/tmp/multipartBody7686601730883701460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925503757,"filename":"image_05122025_09_44_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f6c22bacce9731f7fcb16875b67d08f3.jpg","text":"TemporaryFile(/tmp/multipartBody4116018168688125617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925503757,"filename":"image_05122025_09_44_44_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f522a150e0719cad40aa099d3f7d5c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4044825458777942781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925503757,"filename":"image_05122025_09_44_14_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398062465","file1":"1398062392","file0":"1398062341","file4":"1398062557","file5":"1398062603","file3":"1398062518"},"map_files_photo_id_array":[{"photo_id":"1398062603","filename":"file5"},{"photo_id":"1398062465","filename":"file2"},{"photo_id":"1398062557","filename":"file4"},{"photo_id":"1398062392","filename":"file1"},{"photo_id":"1398062341","filename":"file0"},{"photo_id":"1398062518","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398062465":["hashtag1","hashtag2"]},{"1398062392":["hashtag1","hashtag2"]},{"1398062603":["hashtag1","hashtag2"]},{"1398062557":["hashtag1","hashtag2"]},{"1398062518":["hashtag1","hashtag2"]},{"1398062341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398062465, 1398062392, 1398062603, 1398062557, 1398062518, 1398062341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.697603702545166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:04:42.309472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_24_2615.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_27_2668.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_31_3632.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_33_2578.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_36_2707.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_39_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_24_2615.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_27_2668.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_31_3632.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_33_2578.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_36_2707.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_39_3556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398062811","1398062855","1398062977","1398062938","1398062898","1398062763"],"photo_ids_order":["1398062763","1398062811","1398062855","1398062898","1398062938","1398062977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e6eb1000acc6187a533682d376e5a29d.jpg","text":"TemporaryFile(/tmp/multipartBody8118183373062657975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925543977,"filename":"image_31102025_19_11_27_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/5/5c3df1f165813e558b9332175c1ae2e3.jpg","text":"TemporaryFile(/tmp/multipartBody2616779326014132472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925543977,"filename":"image_31102025_19_11_31_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/5/6462e5df3d7e6b366dd528b637b193d8.jpg","text":"TemporaryFile(/tmp/multipartBody8440833790761646295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925543977,"filename":"image_31102025_19_11_39_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/05b9e63db5c855c1776f80d88ee281c5.jpg","text":"TemporaryFile(/tmp/multipartBody1426472442981591044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925543977,"filename":"image_31102025_19_11_36_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/5/0fe0cc3339d02f13ba04532fd1eaf977.jpg","text":"TemporaryFile(/tmp/multipartBody1866413200689220040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925543977,"filename":"image_31102025_19_11_33_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b7d7d2f65106004e3f728fc43fa9d983.jpg","text":"TemporaryFile(/tmp/multipartBody7201384180312751673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925543977,"filename":"image_31102025_19_11_24_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398062855","file1":"1398062811","file0":"1398062763","file4":"1398062938","file5":"1398062977","file3":"1398062898"},"map_files_photo_id_array":[{"photo_id":"1398062977","filename":"file5"},{"photo_id":"1398062855","filename":"file2"},{"photo_id":"1398062938","filename":"file4"},{"photo_id":"1398062811","filename":"file1"},{"photo_id":"1398062763","filename":"file0"},{"photo_id":"1398062898","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398062811":["hashtag1","hashtag2"]},{"1398062855":["hashtag1","hashtag2"]},{"1398062977":["hashtag1","hashtag2"]},{"1398062938":["hashtag1","hashtag2"]},{"1398062898":["hashtag1","hashtag2"]},{"1398062763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398062811, 1398062855, 1398062977, 1398062938, 1398062898, 1398062763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.742127895355225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 10:05:32.472642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_25_10684.jpg', '/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_34_9649.jpg', '/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_47_12782.jpg', '/home/pi/Desktop/images/02122025/18/12/image_02122025_18_13_05_10663.jpg', '/home/pi/Desktop/images/02122025/18/13/image_02122025_18_13_54_9665.jpg', '/home/pi/Desktop/images/02122025/18/14/image_02122025_18_14_15_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_25_10684.jpg
/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_34_9649.jpg
/home/pi/Desktop/images/02122025/18/12/image_02122025_18_12_47_12782.jpg
/home/pi/Desktop/images/02122025/18/12/image_02122025_18_13_05_10663.jpg
/home/pi/Desktop/images/02122025/18/13/image_02122025_18_13_54_9665.jpg
/home/pi/Desktop/images/02122025/18/14/image_02122025_18_14_15_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398063188","1398063248","1398063397","1398063460","1398063322","1398063495"],"photo_ids_order":["1398063188","1398063248","1398063322","1398063397","1398063460","1398063495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7794039cd790f945ee3fb90b523b1e21.jpg","text":"TemporaryFile(/tmp/multipartBody2228712444083725391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925594613,"filename":"image_02122025_18_12_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/5/b36841594a8f39a8bfd69e82e879aecd.jpg","text":"TemporaryFile(/tmp/multipartBody5730682258602371847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925594613,"filename":"image_02122025_18_12_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/38b45ad835f0205a0e12143dabaa1bba.jpg","text":"TemporaryFile(/tmp/multipartBody2105140978901217998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925594613,"filename":"image_02122025_18_13_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/5/f375290061f47e784ccfa09b9881d1cd.jpg","text":"TemporaryFile(/tmp/multipartBody1020108494643788726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925594613,"filename":"image_02122025_18_13_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/5/186bc4bac5ee8a396578366033000e43.jpg","text":"TemporaryFile(/tmp/multipartBody9038975690867556530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925594613,"filename":"image_02122025_18_12_47_12782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b9bd2e22a6a3a033dc6d03508c9f1ab.jpg","text":"TemporaryFile(/tmp/multipartBody8306446879018233749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925594613,"filename":"image_02122025_18_14_15_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398063322","file1":"1398063248","file0":"1398063188","file4":"1398063460","file5":"1398063495","file3":"1398063397"},"map_files_photo_id_array":[{"photo_id":"1398063495","filename":"file5"},{"photo_id":"1398063322","filename":"file2"},{"photo_id":"1398063460","filename":"file4"},{"photo_id":"1398063248","filename":"file1"},{"photo_id":"1398063188","filename":"file0"},{"photo_id":"1398063397","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398063188":["hashtag1","hashtag2"]},{"1398063248":["hashtag1","hashtag2"]},{"1398063397":["hashtag1","hashtag2"]},{"1398063460":["hashtag1","hashtag2"]},{"1398063322":["hashtag1","hashtag2"]},{"1398063495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398063188, 1398063248, 1398063397, 1398063460, 1398063322, 1398063495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.649662256240845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 10:06:12.780348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/14/image_02122025_18_14_24_9660.jpg', '/home/pi/Desktop/images/02122025/18/14/image_02122025_18_14_34_9810.jpg', '/home/pi/Desktop/images/02122025/18/14/image_02122025_18_14_55_10781.jpg', '/home/pi/Desktop/images/02122025/18/15/image_02122025_18_15_14_9737.jpg', '/home/pi/Desktop/images/02122025/18/15/image_02122025_18_15_25_10617.jpg', '/home/pi/Desktop/images/02122025/18/15/image_02122025_18_15_34_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/14/image_02122025_18_14_24_9660.jpg
/home/pi/Desktop/images/02122025/18/14/image_02122025_18_14_34_9810.jpg
/home/pi/Desktop/images/02122025/18/14/image_02122025_18_14_55_10781.jpg
/home/pi/Desktop/images/02122025/18/15/image_02122025_18_15_14_9737.jpg
/home/pi/Desktop/images/02122025/18/15/image_02122025_18_15_25_10617.jpg
/home/pi/Desktop/images/02122025/18/15/image_02122025_18_15_34_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":["1398063677","1398063787","1398063712","1398063637","1398063750","1398063825"],"photo_ids_order":["1398063637","1398063677","1398063712","1398063750","1398063787","1398063825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc42d069a532033efad643b50ceb223c.jpg","text":"TemporaryFile(/tmp/multipartBody3723683173724181999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925634965,"filename":"image_02122025_18_14_34_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/5/6fa96dcbdf8cd96a924eef84a8a9f758.jpg","text":"TemporaryFile(/tmp/multipartBody7672467077107170269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925634965,"filename":"image_02122025_18_15_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/5/ad93161f886321cfeda219d4c36ea86b.jpg","text":"TemporaryFile(/tmp/multipartBody6153009509677676413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925634965,"filename":"image_02122025_18_14_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/5/a04498e8d6a8616a9ec42e187430626a.jpg","text":"TemporaryFile(/tmp/multipartBody2042931382222007886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925634965,"filename":"image_02122025_18_14_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/5/9e786b30ad3262fd6e5b078eb9627305.jpg","text":"TemporaryFile(/tmp/multipartBody7642806438358141049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925634965,"filename":"image_02122025_18_15_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/5/4352221c6c08d24c351d4ca5a50c5940.jpg","text":"TemporaryFile(/tmp/multipartBody4114486978425395170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925634965,"filename":"image_02122025_18_15_34_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398063712","file1":"1398063677","file0":"1398063637","file4":"1398063787","file5":"1398063825","file3":"1398063750"},"map_files_photo_id_array":[{"photo_id":"1398063825","filename":"file5"},{"photo_id":"1398063712","filename":"file2"},{"photo_id":"1398063787","filename":"file4"},{"photo_id":"1398063677","filename":"file1"},{"photo_id":"1398063637","filename":"file0"},{"photo_id":"1398063750","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398063677":["hashtag1","hashtag2"]},{"1398063787":["hashtag1","hashtag2"]},{"1398063712":["hashtag1","hashtag2"]},{"1398063637":["hashtag1","hashtag2"]},{"1398063750":["hashtag1","hashtag2"]},{"1398063825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398063677, 1398063787, 1398063712, 1398063637, 1398063750, 1398063825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75795817375183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:07:02.660223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/45/image_05122025_09_45_14_10643.jpg', '/home/pi/Desktop/images/05122025/09/45/image_05122025_09_45_23_9289.jpg', '/home/pi/Desktop/images/05122025/09/45/image_05122025_09_45_54_10686.jpg', '/home/pi/Desktop/images/05122025/09/45/image_05122025_09_46_04_9879.jpg', '/home/pi/Desktop/images/05122025/09/46/image_05122025_09_46_14_9707.jpg', '/home/pi/Desktop/images/05122025/09/46/image_05122025_09_46_24_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/45/image_05122025_09_45_14_10643.jpg
/home/pi/Desktop/images/05122025/09/45/image_05122025_09_45_23_9289.jpg
/home/pi/Desktop/images/05122025/09/45/image_05122025_09_45_54_10686.jpg
/home/pi/Desktop/images/05122025/09/45/image_05122025_09_46_04_9879.jpg
/home/pi/Desktop/images/05122025/09/46/image_05122025_09_46_14_9707.jpg
/home/pi/Desktop/images/05122025/09/46/image_05122025_09_46_24_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398064133","1398064022","1398064204","1398064169","1398064097","1398064058"],"photo_ids_order":["1398064022","1398064058","1398064097","1398064133","1398064169","1398064204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb3117107c35fb0b224f5eca51a9f5b9.jpg","text":"TemporaryFile(/tmp/multipartBody8583797729803974938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925683413,"filename":"image_05122025_09_46_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/5/b552fdf04c2fb672995fb97d6041c087.jpg","text":"TemporaryFile(/tmp/multipartBody7025762138874844042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925683413,"filename":"image_05122025_09_45_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/5/86c0d835bca1ee5e60fde975b8267272.jpg","text":"TemporaryFile(/tmp/multipartBody1632605927104381927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925683413,"filename":"image_05122025_09_46_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f8f198f41093dc047a1a2f78b5df30b.jpg","text":"TemporaryFile(/tmp/multipartBody8028029926843420331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925683413,"filename":"image_05122025_09_46_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/5/ee0e95824f088a55293897830f46ea59.jpg","text":"TemporaryFile(/tmp/multipartBody1821529147459484271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925683413,"filename":"image_05122025_09_45_54_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/5/badbd5ea71ba2be9a788f5c04d3ec1e6.jpg","text":"TemporaryFile(/tmp/multipartBody3953922407419318724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925683413,"filename":"image_05122025_09_45_23_9289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398064097","file1":"1398064058","file0":"1398064022","file4":"1398064169","file5":"1398064204","file3":"1398064133"},"map_files_photo_id_array":[{"photo_id":"1398064204","filename":"file5"},{"photo_id":"1398064097","filename":"file2"},{"photo_id":"1398064169","filename":"file4"},{"photo_id":"1398064058","filename":"file1"},{"photo_id":"1398064022","filename":"file0"},{"photo_id":"1398064133","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398064133":["hashtag1","hashtag2"]},{"1398064022":["hashtag1","hashtag2"]},{"1398064204":["hashtag1","hashtag2"]},{"1398064169":["hashtag1","hashtag2"]},{"1398064097":["hashtag1","hashtag2"]},{"1398064058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398064133, 1398064022, 1398064204, 1398064169, 1398064097, 1398064058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.103713512420654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:07:41.950512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_45_2666.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_48_3839.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_51_2573.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_54_2661.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_57_3608.jpg', '/home/pi/Desktop/images/31102025/19/11/image_31102025_19_12_00_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_45_2666.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_48_3839.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_51_2573.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_54_2661.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_11_57_3608.jpg
/home/pi/Desktop/images/31102025/19/11/image_31102025_19_12_00_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":["1398064421","1398064346","1398064542","1398064464","1398064503","1398064382"],"photo_ids_order":["1398064346","1398064382","1398064421","1398064464","1398064503","1398064542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b502372ff2243d299c61a7687bd8f5da.jpg","text":"TemporaryFile(/tmp/multipartBody4382057722758874455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925723582,"filename":"image_31102025_19_11_51_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/5/fa0fb6ab7f3a8d224d419f4f04318bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6875020031085016215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925723582,"filename":"image_31102025_19_11_45_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/5/84ac27cc2c68f9e386e94e3a4d988af4.jpg","text":"TemporaryFile(/tmp/multipartBody5220768871766337802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925723582,"filename":"image_31102025_19_12_00_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/5/5e65e1624f6a57edaa3caf491fdeb2b2.jpg","text":"TemporaryFile(/tmp/multipartBody4921917552246650201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925723582,"filename":"image_31102025_19_11_54_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/5/41537a64bcc217fe576c51b8836cd7fe.jpg","text":"TemporaryFile(/tmp/multipartBody5059316564539724216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925723582,"filename":"image_31102025_19_11_57_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/5/8ff524a94e9939868209262956ba9a97.jpg","text":"TemporaryFile(/tmp/multipartBody5555593577048326291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925723582,"filename":"image_31102025_19_11_48_3839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398064421","file1":"1398064382","file0":"1398064346","file4":"1398064503","file5":"1398064542","file3":"1398064464"},"map_files_photo_id_array":[{"photo_id":"1398064542","filename":"file5"},{"photo_id":"1398064421","filename":"file2"},{"photo_id":"1398064503","filename":"file4"},{"photo_id":"1398064382","filename":"file1"},{"photo_id":"1398064346","filename":"file0"},{"photo_id":"1398064464","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398064421":["hashtag1","hashtag2"]},{"1398064346":["hashtag1","hashtag2"]},{"1398064542":["hashtag1","hashtag2"]},{"1398064464":["hashtag1","hashtag2"]},{"1398064503":["hashtag1","hashtag2"]},{"1398064382":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398064421, 1398064346, 1398064542, 1398064464, 1398064503, 1398064382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86000347137451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:08:22.121712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/46/image_05122025_09_46_33_9757.jpg', '/home/pi/Desktop/images/05122025/09/46/image_05122025_09_46_44_10153.jpg', '/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_03_9253.jpg', '/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_14_10817.jpg', '/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_24_9596.jpg', '/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_34_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/46/image_05122025_09_46_33_9757.jpg
/home/pi/Desktop/images/05122025/09/46/image_05122025_09_46_44_10153.jpg
/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_03_9253.jpg
/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_14_10817.jpg
/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_24_9596.jpg
/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_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":["1398064709","1398064792","1398064669","1398064848","1398064749","1398064902"],"photo_ids_order":["1398064669","1398064709","1398064749","1398064792","1398064848","1398064902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2250b5467990c0ad4c2ed742283b1b2f.jpg","text":"TemporaryFile(/tmp/multipartBody7587436928932005244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925762822,"filename":"image_05122025_09_46_44_10153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/34a90a3dec9e1c82129dd8191e900a05.jpg","text":"TemporaryFile(/tmp/multipartBody7557141933224705476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925762822,"filename":"image_05122025_09_47_14_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/5/36cbe1d203501a0bda2407403135d578.jpg","text":"TemporaryFile(/tmp/multipartBody3294968381224176784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925762822,"filename":"image_05122025_09_46_33_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/5/49b0f31c9120113886bfa10d5da84e47.jpg","text":"TemporaryFile(/tmp/multipartBody6329856216272352971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925762822,"filename":"image_05122025_09_47_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/5/5d1d3c56fe7be4ed738f7bcaa161717e.jpg","text":"TemporaryFile(/tmp/multipartBody3203350555436630307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925762822,"filename":"image_05122025_09_47_03_9253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/149737375c5901bf220ce8aa1a85e9bc.jpg","text":"TemporaryFile(/tmp/multipartBody6596578952773787427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925762822,"filename":"image_05122025_09_47_34_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398064749","file1":"1398064709","file0":"1398064669","file4":"1398064848","file5":"1398064902","file3":"1398064792"},"map_files_photo_id_array":[{"photo_id":"1398064902","filename":"file5"},{"photo_id":"1398064749","filename":"file2"},{"photo_id":"1398064848","filename":"file4"},{"photo_id":"1398064709","filename":"file1"},{"photo_id":"1398064669","filename":"file0"},{"photo_id":"1398064792","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398064709":["hashtag1","hashtag2"]},{"1398064792":["hashtag1","hashtag2"]},{"1398064669":["hashtag1","hashtag2"]},{"1398064848":["hashtag1","hashtag2"]},{"1398064749":["hashtag1","hashtag2"]},{"1398064902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398064709, 1398064792, 1398064669, 1398064848, 1398064749, 1398064902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42871952056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 10:09:12.428244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/15/image_02122025_18_16_04_9773.jpg', '/home/pi/Desktop/images/02122025/18/16/image_02122025_18_16_14_9811.jpg', '/home/pi/Desktop/images/02122025/18/16/image_02122025_18_16_24_10176.jpg', '/home/pi/Desktop/images/02122025/18/16/image_02122025_18_16_35_10657.jpg', '/home/pi/Desktop/images/02122025/18/16/image_02122025_18_16_45_9868.jpg', '/home/pi/Desktop/images/02122025/18/16/image_02122025_18_16_54_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/15/image_02122025_18_16_04_9773.jpg
/home/pi/Desktop/images/02122025/18/16/image_02122025_18_16_14_9811.jpg
/home/pi/Desktop/images/02122025/18/16/image_02122025_18_16_24_10176.jpg
/home/pi/Desktop/images/02122025/18/16/image_02122025_18_16_35_10657.jpg
/home/pi/Desktop/images/02122025/18/16/image_02122025_18_16_45_9868.jpg
/home/pi/Desktop/images/02122025/18/16/image_02122025_18_16_54_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":["1398065323","1398065248","1398065169","1398065070","1398065112","1398065036"],"photo_ids_order":["1398065036","1398065070","1398065112","1398065169","1398065248","1398065323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1d8853507bf39bf2669b0b5bebd9d49.jpg","text":"TemporaryFile(/tmp/multipartBody766172446713907223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925814605,"filename":"image_02122025_18_16_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/5/75fc0f47900dfe3cae7ec8bc4a176634.jpg","text":"TemporaryFile(/tmp/multipartBody8064281745865704910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925814605,"filename":"image_02122025_18_16_45_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/5/08ca7525a75c3da61a10d1d6729037bf.jpg","text":"TemporaryFile(/tmp/multipartBody7217325719688207737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925814605,"filename":"image_02122025_18_16_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/5/bfc8c1a4a67f1edc8fe9f2bdcd51c582.jpg","text":"TemporaryFile(/tmp/multipartBody2547405025171361118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925814605,"filename":"image_02122025_18_16_14_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/5/3acdee3fa054683663b257368b59bb27.jpg","text":"TemporaryFile(/tmp/multipartBody2411479640585984454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925814605,"filename":"image_02122025_18_16_24_10176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9e1bea11ee6cc0eceeb95bfafeb16e7d.jpg","text":"TemporaryFile(/tmp/multipartBody2393857834914372545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925814605,"filename":"image_02122025_18_16_04_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065112","file1":"1398065070","file0":"1398065036","file4":"1398065248","file5":"1398065323","file3":"1398065169"},"map_files_photo_id_array":[{"photo_id":"1398065323","filename":"file5"},{"photo_id":"1398065112","filename":"file2"},{"photo_id":"1398065248","filename":"file4"},{"photo_id":"1398065070","filename":"file1"},{"photo_id":"1398065036","filename":"file0"},{"photo_id":"1398065169","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398065323":["hashtag1","hashtag2"]},{"1398065248":["hashtag1","hashtag2"]},{"1398065169":["hashtag1","hashtag2"]},{"1398065070":["hashtag1","hashtag2"]},{"1398065112":["hashtag1","hashtag2"]},{"1398065036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398065323, 1398065248, 1398065169, 1398065070, 1398065112, 1398065036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92949032783508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:10:02.851282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_43_9697.jpg', '/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_54_10794.jpg', '/home/pi/Desktop/images/05122025/09/47/image_05122025_09_48_04_9605.jpg', '/home/pi/Desktop/images/05122025/09/48/image_05122025_09_48_13_9692.jpg', '/home/pi/Desktop/images/05122025/09/48/image_05122025_09_48_23_9969.jpg', '/home/pi/Desktop/images/05122025/09/48/image_05122025_09_48_34_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_43_9697.jpg
/home/pi/Desktop/images/05122025/09/47/image_05122025_09_47_54_10794.jpg
/home/pi/Desktop/images/05122025/09/47/image_05122025_09_48_04_9605.jpg
/home/pi/Desktop/images/05122025/09/48/image_05122025_09_48_13_9692.jpg
/home/pi/Desktop/images/05122025/09/48/image_05122025_09_48_23_9969.jpg
/home/pi/Desktop/images/05122025/09/48/image_05122025_09_48_34_10696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398065572","1398065605","1398065571","1398065559","1398065573","1398065543"],"photo_ids_order":["1398065543","1398065559","1398065571","1398065572","1398065573","1398065605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f7f5543b990cf509f033f504c880b47.jpg","text":"TemporaryFile(/tmp/multipartBody6665988145451244127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925863600,"filename":"image_05122025_09_48_13_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c0a0f0bb64104a5040e49dfdca60a28.jpg","text":"TemporaryFile(/tmp/multipartBody8543172954170674728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925863600,"filename":"image_05122025_09_48_34_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/5/5205eec3760ad29d60c13074360616e4.jpg","text":"TemporaryFile(/tmp/multipartBody6807900976792537741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925863600,"filename":"image_05122025_09_48_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/5/d1fe530bcaa47620f044964d735859a7.jpg","text":"TemporaryFile(/tmp/multipartBody152043519416772846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925863600,"filename":"image_05122025_09_47_54_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/5/bb519e7b15ec54f337f1abbd367b2b23.jpg","text":"TemporaryFile(/tmp/multipartBody1515391099855128038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925863600,"filename":"image_05122025_09_48_23_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/5/797d99cf65feeb52decd46252d560b72.jpg","text":"TemporaryFile(/tmp/multipartBody7959623985193320300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925863600,"filename":"image_05122025_09_47_43_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065571","file1":"1398065559","file0":"1398065543","file4":"1398065573","file5":"1398065605","file3":"1398065572"},"map_files_photo_id_array":[{"photo_id":"1398065605","filename":"file5"},{"photo_id":"1398065571","filename":"file2"},{"photo_id":"1398065573","filename":"file4"},{"photo_id":"1398065559","filename":"file1"},{"photo_id":"1398065543","filename":"file0"},{"photo_id":"1398065572","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398065572":["hashtag1","hashtag2"]},{"1398065605":["hashtag1","hashtag2"]},{"1398065571":["hashtag1","hashtag2"]},{"1398065559":["hashtag1","hashtag2"]},{"1398065573":["hashtag1","hashtag2"]},{"1398065543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398065572, 1398065605, 1398065571, 1398065559, 1398065573, 1398065543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41047382354736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:10:42.536992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_09_2509.jpg', '/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_12_2811.jpg', '/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_15_3659.jpg', '/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_18_2695.jpg', '/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_27_2588.jpg', '/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_30_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_09_2509.jpg
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_12_2811.jpg
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_15_3659.jpg
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_18_2695.jpg
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_27_2588.jpg
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_30_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":["1398065755","1398065734","1398065725","1398065690","1398065672","1398065756"],"photo_ids_order":["1398065672","1398065690","1398065725","1398065734","1398065755","1398065756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/187fc6fa7dcdde15988c5a445c1349b4.jpg","text":"TemporaryFile(/tmp/multipartBody7834212278548983455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925904142,"filename":"image_31102025_19_12_27_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/5/e86d2cb3f6b6c0b1ebecf0f2f2ee7a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3412218441232484337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925904142,"filename":"image_31102025_19_12_18_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/5/be021e497aa403831b5ce3e58ecbd9bd.jpg","text":"TemporaryFile(/tmp/multipartBody8455148659706230453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925904142,"filename":"image_31102025_19_12_15_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/5/05f84ad4866dda585e686224aa14234d.jpg","text":"TemporaryFile(/tmp/multipartBody3678338502724532638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925904142,"filename":"image_31102025_19_12_12_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/5/3ba4d8c01f1943b1f2a51be210a5c30c.jpg","text":"TemporaryFile(/tmp/multipartBody5518242785667721600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925904142,"filename":"image_31102025_19_12_09_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/5/14124aaf442dcd0884f1e8c96204801b.jpg","text":"TemporaryFile(/tmp/multipartBody58455296682150374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925904142,"filename":"image_31102025_19_12_30_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065725","file1":"1398065690","file0":"1398065672","file4":"1398065755","file5":"1398065756","file3":"1398065734"},"map_files_photo_id_array":[{"photo_id":"1398065756","filename":"file5"},{"photo_id":"1398065725","filename":"file2"},{"photo_id":"1398065755","filename":"file4"},{"photo_id":"1398065690","filename":"file1"},{"photo_id":"1398065672","filename":"file0"},{"photo_id":"1398065734","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398065755":["hashtag1","hashtag2"]},{"1398065734":["hashtag1","hashtag2"]},{"1398065725":["hashtag1","hashtag2"]},{"1398065690":["hashtag1","hashtag2"]},{"1398065672":["hashtag1","hashtag2"]},{"1398065756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398065755, 1398065734, 1398065725, 1398065690, 1398065672, 1398065756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15979981422424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:11:22.761501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/48/image_05122025_09_48_44_9698.jpg', '/home/pi/Desktop/images/05122025/09/48/image_05122025_09_48_54_9925.jpg', '/home/pi/Desktop/images/05122025/09/48/image_05122025_09_49_04_9791.jpg', '/home/pi/Desktop/images/05122025/09/49/image_05122025_09_49_14_10807.jpg', '/home/pi/Desktop/images/05122025/09/49/image_05122025_09_49_24_9688.jpg', '/home/pi/Desktop/images/05122025/09/49/image_05122025_09_49_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/48/image_05122025_09_48_44_9698.jpg
/home/pi/Desktop/images/05122025/09/48/image_05122025_09_48_54_9925.jpg
/home/pi/Desktop/images/05122025/09/48/image_05122025_09_49_04_9791.jpg
/home/pi/Desktop/images/05122025/09/49/image_05122025_09_49_14_10807.jpg
/home/pi/Desktop/images/05122025/09/49/image_05122025_09_49_24_9688.jpg
/home/pi/Desktop/images/05122025/09/49/image_05122025_09_49_34_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398065779","1398065775","1398065769","1398065763","1398065772","1398065766"],"photo_ids_order":["1398065763","1398065766","1398065769","1398065772","1398065775","1398065779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/592db075d035adbd88703f580357689b.jpg","text":"TemporaryFile(/tmp/multipartBody1433385209391527699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925943512,"filename":"image_05122025_09_49_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/5/eef53290c0f2faa003791be991dcf7e6.jpg","text":"TemporaryFile(/tmp/multipartBody5468379552496774171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925943512,"filename":"image_05122025_09_49_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/5/28b11e8bd3e008c1c6fa23ba312f9c27.jpg","text":"TemporaryFile(/tmp/multipartBody4154485478944790561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925943512,"filename":"image_05122025_09_49_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/5/d741ceec316f1fb55f84d1734841abe1.jpg","text":"TemporaryFile(/tmp/multipartBody2243101267832713651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925943512,"filename":"image_05122025_09_48_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/5/8075d21f04a3b8728d7557c1ad052708.jpg","text":"TemporaryFile(/tmp/multipartBody961995985774138096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925943512,"filename":"image_05122025_09_49_14_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/5/84e2f56ef02ef8674a13ffc205e250ea.jpg","text":"TemporaryFile(/tmp/multipartBody4355826612799018244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925943512,"filename":"image_05122025_09_48_54_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065769","file1":"1398065766","file0":"1398065763","file4":"1398065775","file5":"1398065779","file3":"1398065772"},"map_files_photo_id_array":[{"photo_id":"1398065779","filename":"file5"},{"photo_id":"1398065769","filename":"file2"},{"photo_id":"1398065775","filename":"file4"},{"photo_id":"1398065766","filename":"file1"},{"photo_id":"1398065763","filename":"file0"},{"photo_id":"1398065772","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398065779":["hashtag1","hashtag2"]},{"1398065775":["hashtag1","hashtag2"]},{"1398065769":["hashtag1","hashtag2"]},{"1398065763":["hashtag1","hashtag2"]},{"1398065772":["hashtag1","hashtag2"]},{"1398065766":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398065779, 1398065775, 1398065769, 1398065763, 1398065772, 1398065766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95301008224487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:12:02.295233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/49/image_05122025_09_49_44_10665.jpg', '/home/pi/Desktop/images/05122025/09/49/image_05122025_09_49_54_9782.jpg', '/home/pi/Desktop/images/05122025/09/49/image_05122025_09_50_04_9806.jpg', '/home/pi/Desktop/images/05122025/09/50/image_05122025_09_50_14_9830.jpg', '/home/pi/Desktop/images/05122025/09/50/image_05122025_09_50_23_9694.jpg', '/home/pi/Desktop/images/05122025/09/50/image_05122025_09_50_34_10823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/49/image_05122025_09_49_44_10665.jpg
/home/pi/Desktop/images/05122025/09/49/image_05122025_09_49_54_9782.jpg
/home/pi/Desktop/images/05122025/09/49/image_05122025_09_50_04_9806.jpg
/home/pi/Desktop/images/05122025/09/50/image_05122025_09_50_14_9830.jpg
/home/pi/Desktop/images/05122025/09/50/image_05122025_09_50_23_9694.jpg
/home/pi/Desktop/images/05122025/09/50/image_05122025_09_50_34_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":["1398065812","1398065809","1398065814","1398065816","1398065819","1398065810"],"photo_ids_order":["1398065809","1398065810","1398065812","1398065814","1398065816","1398065819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/83c3c522f09d6ac1fe734d0f37ec18fd.jpg","text":"TemporaryFile(/tmp/multipartBody1214902680745255873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925983064,"filename":"image_05122025_09_50_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/5/399428f45b7b5b2f224e71af8fd40b51.jpg","text":"TemporaryFile(/tmp/multipartBody1911558030672446001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925983064,"filename":"image_05122025_09_49_44_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/5/a08bde6fe70159ca38f7a2fa284fbff4.jpg","text":"TemporaryFile(/tmp/multipartBody4471656666625387021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925983064,"filename":"image_05122025_09_50_14_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4a7c7a8d096811f2dcb8e8746e15a025.jpg","text":"TemporaryFile(/tmp/multipartBody3542129962917432734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925983064,"filename":"image_05122025_09_50_23_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/5/534b7c3b222f8610edc146921dbffb34.jpg","text":"TemporaryFile(/tmp/multipartBody8073969161364561299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925983064,"filename":"image_05122025_09_50_34_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/5/d994fb3586df2f75835402c37d6f9020.jpg","text":"TemporaryFile(/tmp/multipartBody7770960867781459013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764925983064,"filename":"image_05122025_09_49_54_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065812","file1":"1398065810","file0":"1398065809","file4":"1398065816","file5":"1398065819","file3":"1398065814"},"map_files_photo_id_array":[{"photo_id":"1398065819","filename":"file5"},{"photo_id":"1398065812","filename":"file2"},{"photo_id":"1398065816","filename":"file4"},{"photo_id":"1398065810","filename":"file1"},{"photo_id":"1398065809","filename":"file0"},{"photo_id":"1398065814","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398065812":["hashtag1","hashtag2"]},{"1398065809":["hashtag1","hashtag2"]},{"1398065814":["hashtag1","hashtag2"]},{"1398065816":["hashtag1","hashtag2"]},{"1398065819":["hashtag1","hashtag2"]},{"1398065810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398065812, 1398065809, 1398065814, 1398065816, 1398065819, 1398065810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22503876686096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:12:41.898287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_33_3568.jpg', '/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_39_3627.jpg', '/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_48_2563.jpg', '/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_51_3793.jpg', '/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_54_2584.jpg', '/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_57_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_33_3568.jpg
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_39_3627.jpg
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_48_2563.jpg
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_51_3793.jpg
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_54_2584.jpg
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_12_57_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398065839","1398065830","1398065827","1398065836","1398065829","1398065837"],"photo_ids_order":["1398065827","1398065829","1398065830","1398065836","1398065837","1398065839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b66eacd583c6d9928b2009b799eb60f.jpg","text":"TemporaryFile(/tmp/multipartBody3590619565704626715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926023498,"filename":"image_31102025_19_12_57_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/5/66b73089cb80868893e87a6605f619a7.jpg","text":"TemporaryFile(/tmp/multipartBody7843904672245332367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926023498,"filename":"image_31102025_19_12_48_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/5/11145aa28907518240fa7b9d93637e49.jpg","text":"TemporaryFile(/tmp/multipartBody5442499531591336247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926023498,"filename":"image_31102025_19_12_33_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/958dcdccf49a7165b2851a972c65fdc6.jpg","text":"TemporaryFile(/tmp/multipartBody1895231527680959851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926023498,"filename":"image_31102025_19_12_51_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2aba898cf623f9c749d4d930628b8e0.jpg","text":"TemporaryFile(/tmp/multipartBody4496696290734292946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926023498,"filename":"image_31102025_19_12_39_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/5/1ece3bd5be2643bbdb59b762b204ab02.jpg","text":"TemporaryFile(/tmp/multipartBody2936808187952513965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926023498,"filename":"image_31102025_19_12_54_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065830","file1":"1398065829","file0":"1398065827","file4":"1398065837","file5":"1398065839","file3":"1398065836"},"map_files_photo_id_array":[{"photo_id":"1398065839","filename":"file5"},{"photo_id":"1398065830","filename":"file2"},{"photo_id":"1398065837","filename":"file4"},{"photo_id":"1398065829","filename":"file1"},{"photo_id":"1398065827","filename":"file0"},{"photo_id":"1398065836","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398065839":["hashtag1","hashtag2"]},{"1398065830":["hashtag1","hashtag2"]},{"1398065827":["hashtag1","hashtag2"]},{"1398065836":["hashtag1","hashtag2"]},{"1398065829":["hashtag1","hashtag2"]},{"1398065837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398065839, 1398065830, 1398065827, 1398065836, 1398065829, 1398065837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27944231033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:13:22.088307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/50/image_05122025_09_50_44_9697.jpg', '/home/pi/Desktop/images/05122025/09/50/image_05122025_09_50_54_9668.jpg', '/home/pi/Desktop/images/05122025/09/50/image_05122025_09_51_04_9861.jpg', '/home/pi/Desktop/images/05122025/09/51/image_05122025_09_51_13_9933.jpg', '/home/pi/Desktop/images/05122025/09/51/image_05122025_09_51_24_10565.jpg', '/home/pi/Desktop/images/05122025/09/51/image_05122025_09_51_34_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/50/image_05122025_09_50_44_9697.jpg
/home/pi/Desktop/images/05122025/09/50/image_05122025_09_50_54_9668.jpg
/home/pi/Desktop/images/05122025/09/50/image_05122025_09_51_04_9861.jpg
/home/pi/Desktop/images/05122025/09/51/image_05122025_09_51_13_9933.jpg
/home/pi/Desktop/images/05122025/09/51/image_05122025_09_51_24_10565.jpg
/home/pi/Desktop/images/05122025/09/51/image_05122025_09_51_34_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398065857","1398065845","1398065860","1398065854","1398065841","1398065849"],"photo_ids_order":["1398065841","1398065845","1398065849","1398065854","1398065857","1398065860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/da37550c478b46ede841a73beb83fa30.jpg","text":"TemporaryFile(/tmp/multipartBody405565897366056899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926062857,"filename":"image_05122025_09_51_24_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/5/3a6ed170dd092180cba723beee11144e.jpg","text":"TemporaryFile(/tmp/multipartBody4132494231760682484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926062857,"filename":"image_05122025_09_50_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/5/f244116f5a106e806a9b06344ce74eaf.jpg","text":"TemporaryFile(/tmp/multipartBody5958526615897236112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926062857,"filename":"image_05122025_09_51_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/5/786776096a07eef98d6f8ec91aa019c4.jpg","text":"TemporaryFile(/tmp/multipartBody5665874648923370585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926062857,"filename":"image_05122025_09_51_13_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d4fb717068c9515e472729d7d1d49006.jpg","text":"TemporaryFile(/tmp/multipartBody6704893589443962369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926062857,"filename":"image_05122025_09_50_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/5/cb3825c309169780c473f46f4ac3aa83.jpg","text":"TemporaryFile(/tmp/multipartBody2136908200916460794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926062857,"filename":"image_05122025_09_51_04_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065849","file1":"1398065845","file0":"1398065841","file4":"1398065857","file5":"1398065860","file3":"1398065854"},"map_files_photo_id_array":[{"photo_id":"1398065860","filename":"file5"},{"photo_id":"1398065849","filename":"file2"},{"photo_id":"1398065857","filename":"file4"},{"photo_id":"1398065845","filename":"file1"},{"photo_id":"1398065841","filename":"file0"},{"photo_id":"1398065854","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398065857":["hashtag1","hashtag2"]},{"1398065845":["hashtag1","hashtag2"]},{"1398065860":["hashtag1","hashtag2"]},{"1398065854":["hashtag1","hashtag2"]},{"1398065841":["hashtag1","hashtag2"]},{"1398065849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398065857, 1398065845, 1398065860, 1398065854, 1398065841, 1398065849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77267503738403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:14:02.827872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/51/image_05122025_09_51_44_9790.jpg', '/home/pi/Desktop/images/05122025/09/51/image_05122025_09_51_53_9819.jpg', '/home/pi/Desktop/images/05122025/09/51/image_05122025_09_52_04_10901.jpg', '/home/pi/Desktop/images/05122025/09/52/image_05122025_09_52_14_9675.jpg', '/home/pi/Desktop/images/05122025/09/52/image_05122025_09_52_24_9715.jpg', '/home/pi/Desktop/images/05122025/09/52/image_05122025_09_52_34_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/51/image_05122025_09_51_44_9790.jpg
/home/pi/Desktop/images/05122025/09/51/image_05122025_09_51_53_9819.jpg
/home/pi/Desktop/images/05122025/09/51/image_05122025_09_52_04_10901.jpg
/home/pi/Desktop/images/05122025/09/52/image_05122025_09_52_14_9675.jpg
/home/pi/Desktop/images/05122025/09/52/image_05122025_09_52_24_9715.jpg
/home/pi/Desktop/images/05122025/09/52/image_05122025_09_52_34_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":["1398065872","1398065869","1398065862","1398065865","1398065870","1398065867"],"photo_ids_order":["1398065862","1398065865","1398065867","1398065869","1398065870","1398065872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6730b15a1f35b82ae255a42c6b4d3d38.jpg","text":"TemporaryFile(/tmp/multipartBody2865320400773351835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926103682,"filename":"image_05122025_09_52_34_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/5/3dc7d90bc1bbc01f78ffabfa18851778.jpg","text":"TemporaryFile(/tmp/multipartBody4003922997053740726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926103682,"filename":"image_05122025_09_52_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/5/4022c70d0ecdc41787554fe27e6ad270.jpg","text":"TemporaryFile(/tmp/multipartBody3621546706504949051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926103682,"filename":"image_05122025_09_51_44_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/5/18eaef1ca7087410deb3e7c3405e2bbf.jpg","text":"TemporaryFile(/tmp/multipartBody9172431057099640241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926103682,"filename":"image_05122025_09_51_53_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/5/6c50c60dc42a1e923a9cea143fab01a0.jpg","text":"TemporaryFile(/tmp/multipartBody8564531457931301770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926103682,"filename":"image_05122025_09_52_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/5/0223331482038ff516878b51f6ee48ae.jpg","text":"TemporaryFile(/tmp/multipartBody7870812399291116017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926103682,"filename":"image_05122025_09_52_04_10901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065867","file1":"1398065865","file0":"1398065862","file4":"1398065870","file5":"1398065872","file3":"1398065869"},"map_files_photo_id_array":[{"photo_id":"1398065872","filename":"file5"},{"photo_id":"1398065867","filename":"file2"},{"photo_id":"1398065870","filename":"file4"},{"photo_id":"1398065865","filename":"file1"},{"photo_id":"1398065862","filename":"file0"},{"photo_id":"1398065869","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398065872":["hashtag1","hashtag2"]},{"1398065869":["hashtag1","hashtag2"]},{"1398065862":["hashtag1","hashtag2"]},{"1398065865":["hashtag1","hashtag2"]},{"1398065870":["hashtag1","hashtag2"]},{"1398065867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398065872, 1398065869, 1398065862, 1398065865, 1398065870, 1398065867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60473132133484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:14:42.219554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/12/image_31102025_19_13_00_3797.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_03_2516.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_12_2579.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_15_2693.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_21_2542.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_24_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/12/image_31102025_19_13_00_3797.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_03_2516.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_12_2579.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_15_2693.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_21_2542.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_24_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398065900","1398065884","1398065941","1398065891","1398065936","1398065939"],"photo_ids_order":["1398065884","1398065891","1398065900","1398065936","1398065939","1398065941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1bfe9e464b0a613b70b2e2173cb0416e.jpg","text":"TemporaryFile(/tmp/multipartBody2181364964869438913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926143889,"filename":"image_31102025_19_13_12_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/5/20259370d62edba0f473aed308aca30d.jpg","text":"TemporaryFile(/tmp/multipartBody8525639232119826697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926143889,"filename":"image_31102025_19_13_00_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/5/4b8630576fd0aa90a1c5e0ec72d20f07.jpg","text":"TemporaryFile(/tmp/multipartBody2850093792642171526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926143889,"filename":"image_31102025_19_13_24_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/5/00ec71f4d728a5ba8a9304d760b8044c.jpg","text":"TemporaryFile(/tmp/multipartBody8586801393375975606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926143889,"filename":"image_31102025_19_13_03_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/5/201cb73ebb1be4b89713b7618ef840fa.jpg","text":"TemporaryFile(/tmp/multipartBody2739227004157401021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926143889,"filename":"image_31102025_19_13_15_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/5/d5fe244339f729db5022bcdf78f14904.jpg","text":"TemporaryFile(/tmp/multipartBody8807836736298617936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926143889,"filename":"image_31102025_19_13_21_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065900","file1":"1398065891","file0":"1398065884","file4":"1398065939","file5":"1398065941","file3":"1398065936"},"map_files_photo_id_array":[{"photo_id":"1398065941","filename":"file5"},{"photo_id":"1398065900","filename":"file2"},{"photo_id":"1398065939","filename":"file4"},{"photo_id":"1398065891","filename":"file1"},{"photo_id":"1398065884","filename":"file0"},{"photo_id":"1398065936","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398065900":["hashtag1","hashtag2"]},{"1398065884":["hashtag1","hashtag2"]},{"1398065941":["hashtag1","hashtag2"]},{"1398065891":["hashtag1","hashtag2"]},{"1398065936":["hashtag1","hashtag2"]},{"1398065939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398065900, 1398065884, 1398065941, 1398065891, 1398065936, 1398065939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.206823110580444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:15:22.389106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/52/image_05122025_09_52_44_9617.jpg', '/home/pi/Desktop/images/05122025/09/52/image_05122025_09_52_54_9755.jpg', '/home/pi/Desktop/images/05122025/09/52/image_05122025_09_53_03_9762.jpg', '/home/pi/Desktop/images/05122025/09/53/image_05122025_09_53_14_10902.jpg', '/home/pi/Desktop/images/05122025/09/53/image_05122025_09_53_24_9876.jpg', '/home/pi/Desktop/images/05122025/09/53/image_05122025_09_53_34_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/52/image_05122025_09_52_44_9617.jpg
/home/pi/Desktop/images/05122025/09/52/image_05122025_09_52_54_9755.jpg
/home/pi/Desktop/images/05122025/09/52/image_05122025_09_53_03_9762.jpg
/home/pi/Desktop/images/05122025/09/53/image_05122025_09_53_14_10902.jpg
/home/pi/Desktop/images/05122025/09/53/image_05122025_09_53_24_9876.jpg
/home/pi/Desktop/images/05122025/09/53/image_05122025_09_53_34_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398065950","1398065953","1398065947","1398065955","1398065960","1398065957"],"photo_ids_order":["1398065947","1398065950","1398065953","1398065955","1398065957","1398065960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a4ce654d234fc807502a119be8e5a83.jpg","text":"TemporaryFile(/tmp/multipartBody2974127406253553748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926183168,"filename":"image_05122025_09_52_54_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/5/6c3943d61a31776d8ce06f695fe7afdb.jpg","text":"TemporaryFile(/tmp/multipartBody6876187599464825438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926183168,"filename":"image_05122025_09_53_03_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/5/d231ac6ff5048ff1b5cf0a178d0a1ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1594340792898599867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926183168,"filename":"image_05122025_09_52_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46f4aaa6c2190a7f0ad0494a04f1294c.jpg","text":"TemporaryFile(/tmp/multipartBody3409194055804897587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926183168,"filename":"image_05122025_09_53_14_10902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/69b08aab3ccf649ff7b46b7e1e1182ad.jpg","text":"TemporaryFile(/tmp/multipartBody1610298489123088569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926183168,"filename":"image_05122025_09_53_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/5/ce27b307d022e1258ffbe14fa391bab9.jpg","text":"TemporaryFile(/tmp/multipartBody5902143479125608977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926183168,"filename":"image_05122025_09_53_24_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065953","file1":"1398065950","file0":"1398065947","file4":"1398065957","file5":"1398065960","file3":"1398065955"},"map_files_photo_id_array":[{"photo_id":"1398065960","filename":"file5"},{"photo_id":"1398065953","filename":"file2"},{"photo_id":"1398065957","filename":"file4"},{"photo_id":"1398065950","filename":"file1"},{"photo_id":"1398065947","filename":"file0"},{"photo_id":"1398065955","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398065950":["hashtag1","hashtag2"]},{"1398065953":["hashtag1","hashtag2"]},{"1398065947":["hashtag1","hashtag2"]},{"1398065955":["hashtag1","hashtag2"]},{"1398065960":["hashtag1","hashtag2"]},{"1398065957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398065950, 1398065953, 1398065947, 1398065955, 1398065960, 1398065957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06110882759094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:16:03.005425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/53/image_05122025_09_53_44_9629.jpg', '/home/pi/Desktop/images/05122025/09/53/image_05122025_09_53_54_10732.jpg', '/home/pi/Desktop/images/05122025/09/53/image_05122025_09_54_04_9696.jpg', '/home/pi/Desktop/images/05122025/09/54/image_05122025_09_54_14_9888.jpg', '/home/pi/Desktop/images/05122025/09/54/image_05122025_09_54_24_9816.jpg', '/home/pi/Desktop/images/05122025/09/54/image_05122025_09_54_33_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/53/image_05122025_09_53_44_9629.jpg
/home/pi/Desktop/images/05122025/09/53/image_05122025_09_53_54_10732.jpg
/home/pi/Desktop/images/05122025/09/53/image_05122025_09_54_04_9696.jpg
/home/pi/Desktop/images/05122025/09/54/image_05122025_09_54_14_9888.jpg
/home/pi/Desktop/images/05122025/09/54/image_05122025_09_54_24_9816.jpg
/home/pi/Desktop/images/05122025/09/54/image_05122025_09_54_33_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":["1398065962","1398065968","1398065973","1398065970","1398065964","1398065966"],"photo_ids_order":["1398065962","1398065964","1398065966","1398065968","1398065970","1398065973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e2c5f025f51a9067177173af7ef7962.jpg","text":"TemporaryFile(/tmp/multipartBody4220256614290167002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926223795,"filename":"image_05122025_09_53_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/5/3d2a6a2709f30df2d0d97554703b654b.jpg","text":"TemporaryFile(/tmp/multipartBody99768254242220561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926223795,"filename":"image_05122025_09_54_14_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/5/715be95120bc434787d8549e2cf47ee0.jpg","text":"TemporaryFile(/tmp/multipartBody3040818361425281108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926223795,"filename":"image_05122025_09_54_33_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/5/443ed06e35167c43d3848f8a9eaf4360.jpg","text":"TemporaryFile(/tmp/multipartBody6307623370960021449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926223795,"filename":"image_05122025_09_54_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/5/224c4b52c9ecfdaf984c51256ca38ebb.jpg","text":"TemporaryFile(/tmp/multipartBody7656411007467326131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926223795,"filename":"image_05122025_09_53_54_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/5/8335c7abc5275e796b427e3a904a6ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6453463662261886108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926223795,"filename":"image_05122025_09_54_04_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065966","file1":"1398065964","file0":"1398065962","file4":"1398065970","file5":"1398065973","file3":"1398065968"},"map_files_photo_id_array":[{"photo_id":"1398065973","filename":"file5"},{"photo_id":"1398065966","filename":"file2"},{"photo_id":"1398065970","filename":"file4"},{"photo_id":"1398065964","filename":"file1"},{"photo_id":"1398065962","filename":"file0"},{"photo_id":"1398065968","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398065962":["hashtag1","hashtag2"]},{"1398065968":["hashtag1","hashtag2"]},{"1398065973":["hashtag1","hashtag2"]},{"1398065970":["hashtag1","hashtag2"]},{"1398065964":["hashtag1","hashtag2"]},{"1398065966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398065962, 1398065968, 1398065973, 1398065970, 1398065964, 1398065966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.321950912475586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:16:42.580150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_27_3529.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_30_2505.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_33_2895.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_36_3788.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_42_2739.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_48_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_27_3529.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_30_2505.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_33_2895.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_36_3788.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_42_2739.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_48_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398065985","1398065988","1398065982","1398065990","1398065992","1398065989"],"photo_ids_order":["1398065982","1398065985","1398065988","1398065989","1398065990","1398065992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e468c4274662ff83bd4ac22900c7d0b5.jpg","text":"TemporaryFile(/tmp/multipartBody1021861389802350568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926264232,"filename":"image_31102025_19_13_30_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6c71335723f6e28b35926040cc9ae533.jpg","text":"TemporaryFile(/tmp/multipartBody3906191021549514332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926264232,"filename":"image_31102025_19_13_33_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/42893096ce09a12094e0ffa0d34ab0eb.jpg","text":"TemporaryFile(/tmp/multipartBody8947939102255923474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926264232,"filename":"image_31102025_19_13_27_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/429e8b885d0b83879929d3dbeab20d02.jpg","text":"TemporaryFile(/tmp/multipartBody6322264081816169344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926264232,"filename":"image_31102025_19_13_42_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/5/cc7bad24516918097c6db32f1961198a.jpg","text":"TemporaryFile(/tmp/multipartBody1275608008122217677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926264232,"filename":"image_31102025_19_13_48_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/5/ce5d97fb7c9e078a9423a515080a08fc.jpg","text":"TemporaryFile(/tmp/multipartBody2842991476109418613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926264232,"filename":"image_31102025_19_13_36_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398065988","file1":"1398065985","file0":"1398065982","file4":"1398065990","file5":"1398065992","file3":"1398065989"},"map_files_photo_id_array":[{"photo_id":"1398065992","filename":"file5"},{"photo_id":"1398065988","filename":"file2"},{"photo_id":"1398065990","filename":"file4"},{"photo_id":"1398065985","filename":"file1"},{"photo_id":"1398065982","filename":"file0"},{"photo_id":"1398065989","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398065985":["hashtag1","hashtag2"]},{"1398065988":["hashtag1","hashtag2"]},{"1398065982":["hashtag1","hashtag2"]},{"1398065990":["hashtag1","hashtag2"]},{"1398065992":["hashtag1","hashtag2"]},{"1398065989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398065985, 1398065988, 1398065982, 1398065990, 1398065992, 1398065989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88598012924194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:17:22.908067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/54/image_05122025_09_54_44_10663.jpg', '/home/pi/Desktop/images/05122025/09/54/image_05122025_09_54_54_9838.jpg', '/home/pi/Desktop/images/05122025/09/54/image_05122025_09_55_04_9706.jpg', '/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_13_9758.jpg', '/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_24_10682.jpg', '/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_34_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/54/image_05122025_09_54_44_10663.jpg
/home/pi/Desktop/images/05122025/09/54/image_05122025_09_54_54_9838.jpg
/home/pi/Desktop/images/05122025/09/54/image_05122025_09_55_04_9706.jpg
/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_13_9758.jpg
/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_24_10682.jpg
/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_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":["1398065998","1398066004","1398066006","1398066000","1398066008","1398066002"],"photo_ids_order":["1398065998","1398066000","1398066002","1398066004","1398066006","1398066008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/09b84c2798128f66b2aaef2a66d5e84d.jpg","text":"TemporaryFile(/tmp/multipartBody6307195127730248410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926303654,"filename":"image_05122025_09_54_44_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/5/95b3c04e005a68a7faf5e161436908f9.jpg","text":"TemporaryFile(/tmp/multipartBody156770934029335775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926303654,"filename":"image_05122025_09_55_13_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/5/4044106ddadbb8b6d0ad0501ea825daf.jpg","text":"TemporaryFile(/tmp/multipartBody1076237790519282819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926303654,"filename":"image_05122025_09_55_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/5/1c4c4c5079caf9a5bcfecb755118c85d.jpg","text":"TemporaryFile(/tmp/multipartBody6314203989323064815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926303654,"filename":"image_05122025_09_54_54_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7ac5cc2f39be713e2d3bdd8f506ab45f.jpg","text":"TemporaryFile(/tmp/multipartBody6987106556177041504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926303654,"filename":"image_05122025_09_55_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/5/fa9892a1d932e536c2d5f93d4aabbf76.jpg","text":"TemporaryFile(/tmp/multipartBody7364476145254182851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926303654,"filename":"image_05122025_09_55_04_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066002","file1":"1398066000","file0":"1398065998","file4":"1398066006","file5":"1398066008","file3":"1398066004"},"map_files_photo_id_array":[{"photo_id":"1398066008","filename":"file5"},{"photo_id":"1398066002","filename":"file2"},{"photo_id":"1398066006","filename":"file4"},{"photo_id":"1398066000","filename":"file1"},{"photo_id":"1398065998","filename":"file0"},{"photo_id":"1398066004","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398065998":["hashtag1","hashtag2"]},{"1398066004":["hashtag1","hashtag2"]},{"1398066006":["hashtag1","hashtag2"]},{"1398066000":["hashtag1","hashtag2"]},{"1398066008":["hashtag1","hashtag2"]},{"1398066002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398065998, 1398066004, 1398066006, 1398066000, 1398066008, 1398066002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60555815696716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:18:02.405187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_44_9743.jpg', '/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_54_9924.jpg', '/home/pi/Desktop/images/05122025/09/55/image_05122025_09_56_04_10648.jpg', '/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_14_9668.jpg', '/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_24_9745.jpg', '/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_34_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_44_9743.jpg
/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_54_9924.jpg
/home/pi/Desktop/images/05122025/09/55/image_05122025_09_56_04_10648.jpg
/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_14_9668.jpg
/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_24_9745.jpg
/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_34_10678.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6844232082366943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 10:18:11.858564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/16/image_02122025_18_17_05_10099.jpg', '/home/pi/Desktop/images/02122025/18/17/image_02122025_18_17_14_9695.jpg', '/home/pi/Desktop/images/02122025/18/17/image_02122025_18_17_24_9699.jpg', '/home/pi/Desktop/images/02122025/18/17/image_02122025_18_17_35_10806.jpg', '/home/pi/Desktop/images/02122025/18/18/image_02122025_18_18_24_9737.jpg', '/home/pi/Desktop/images/02122025/18/18/image_02122025_18_18_34_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/16/image_02122025_18_17_05_10099.jpg
/home/pi/Desktop/images/02122025/18/17/image_02122025_18_17_14_9695.jpg
/home/pi/Desktop/images/02122025/18/17/image_02122025_18_17_24_9699.jpg
/home/pi/Desktop/images/02122025/18/17/image_02122025_18_17_35_10806.jpg
/home/pi/Desktop/images/02122025/18/18/image_02122025_18_18_24_9737.jpg
/home/pi/Desktop/images/02122025/18/18/image_02122025_18_18_34_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":["1398066052","1398066054","1398066045","1398066050","1398066056","1398066041"],"photo_ids_order":["1398066041","1398066045","1398066050","1398066052","1398066054","1398066056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f85f6273edad5c58f2695febde25bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8570913733730330757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926353727,"filename":"image_02122025_18_17_35_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e171229ee4d31d11859dbf2d4913a56.jpg","text":"TemporaryFile(/tmp/multipartBody4738162309987459494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926353727,"filename":"image_02122025_18_18_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/00a894a42efa01d36c04aba4a367cb75.jpg","text":"TemporaryFile(/tmp/multipartBody8685783967334259458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926353727,"filename":"image_02122025_18_17_14_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/5/834676e61fe29ea09b8cb1869faf3e7f.jpg","text":"TemporaryFile(/tmp/multipartBody9148684941290295741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926353727,"filename":"image_02122025_18_17_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/5/aa126ad9a7583f950264d016dee81b7c.jpg","text":"TemporaryFile(/tmp/multipartBody8866511076446514779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926353727,"filename":"image_02122025_18_18_34_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/5/57cc48a21547c417c00ed9b57014b77a.jpg","text":"TemporaryFile(/tmp/multipartBody2699688911597220026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926353727,"filename":"image_02122025_18_17_05_10099.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066050","file1":"1398066045","file0":"1398066041","file4":"1398066054","file5":"1398066056","file3":"1398066052"},"map_files_photo_id_array":[{"photo_id":"1398066056","filename":"file5"},{"photo_id":"1398066050","filename":"file2"},{"photo_id":"1398066054","filename":"file4"},{"photo_id":"1398066045","filename":"file1"},{"photo_id":"1398066041","filename":"file0"},{"photo_id":"1398066052","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398066052":["hashtag1","hashtag2"]},{"1398066054":["hashtag1","hashtag2"]},{"1398066045":["hashtag1","hashtag2"]},{"1398066050":["hashtag1","hashtag2"]},{"1398066056":["hashtag1","hashtag2"]},{"1398066041":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398066052, 1398066054, 1398066045, 1398066050, 1398066056, 1398066041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76316523551941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:19:02.946615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_44_9743.jpg', '/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_54_9924.jpg', '/home/pi/Desktop/images/05122025/09/55/image_05122025_09_56_04_10648.jpg', '/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_14_9668.jpg', '/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_24_9745.jpg', '/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_34_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_44_9743.jpg
/home/pi/Desktop/images/05122025/09/55/image_05122025_09_55_54_9924.jpg
/home/pi/Desktop/images/05122025/09/55/image_05122025_09_56_04_10648.jpg
/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_14_9668.jpg
/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_24_9745.jpg
/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_34_10678.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":["1398066078","1398066072","1398066081","1398066074","1398066076","1398066085"],"photo_ids_order":["1398066072","1398066074","1398066076","1398066078","1398066081","1398066085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0e530faeabbc49abc6eba1c9ce8ae5d4.jpg","text":"TemporaryFile(/tmp/multipartBody3608372393565672672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926403766,"filename":"image_05122025_09_56_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b3663bd73644d5123a972bc3bef765d5.jpg","text":"TemporaryFile(/tmp/multipartBody4810380661184835386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926403766,"filename":"image_05122025_09_55_44_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/5/ef408699109a7fc8ca0be9e53dfe5efe.jpg","text":"TemporaryFile(/tmp/multipartBody7254100450329807137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926403766,"filename":"image_05122025_09_56_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/5/591806e51732959fe1806726d4224770.jpg","text":"TemporaryFile(/tmp/multipartBody7529602370595927836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926403766,"filename":"image_05122025_09_55_54_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/5/a9687c64331b5d508cf296a386c06597.jpg","text":"TemporaryFile(/tmp/multipartBody2380849259320114344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926403766,"filename":"image_05122025_09_56_04_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/5/9bf44e2db59870430313e3984d798521.jpg","text":"TemporaryFile(/tmp/multipartBody7042526914740337231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926403766,"filename":"image_05122025_09_56_34_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066076","file1":"1398066074","file0":"1398066072","file4":"1398066081","file5":"1398066085","file3":"1398066078"},"map_files_photo_id_array":[{"photo_id":"1398066085","filename":"file5"},{"photo_id":"1398066076","filename":"file2"},{"photo_id":"1398066081","filename":"file4"},{"photo_id":"1398066074","filename":"file1"},{"photo_id":"1398066072","filename":"file0"},{"photo_id":"1398066078","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066078":["hashtag1","hashtag2"]},{"1398066072":["hashtag1","hashtag2"]},{"1398066081":["hashtag1","hashtag2"]},{"1398066074":["hashtag1","hashtag2"]},{"1398066076":["hashtag1","hashtag2"]},{"1398066085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066078, 1398066072, 1398066081, 1398066074, 1398066076, 1398066085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.818493366241455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:20:02.601533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_44_9821.jpg', '/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_54_9629.jpg', '/home/pi/Desktop/images/05122025/09/56/image_05122025_09_57_03_9688.jpg', '/home/pi/Desktop/images/05122025/09/57/image_05122025_09_57_14_10713.jpg', '/home/pi/Desktop/images/05122025/09/57/image_05122025_09_57_24_9585.jpg', '/home/pi/Desktop/images/05122025/09/57/image_05122025_09_57_33_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_44_9821.jpg
/home/pi/Desktop/images/05122025/09/56/image_05122025_09_56_54_9629.jpg
/home/pi/Desktop/images/05122025/09/56/image_05122025_09_57_03_9688.jpg
/home/pi/Desktop/images/05122025/09/57/image_05122025_09_57_14_10713.jpg
/home/pi/Desktop/images/05122025/09/57/image_05122025_09_57_24_9585.jpg
/home/pi/Desktop/images/05122025/09/57/image_05122025_09_57_33_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":["1398066100","1398066093","1398066095","1398066098","1398066091","1398066097"],"photo_ids_order":["1398066091","1398066093","1398066095","1398066097","1398066098","1398066100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/48d291256f95e775a0717c0815e57a92.jpg","text":"TemporaryFile(/tmp/multipartBody6231150621408877979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926463355,"filename":"image_05122025_09_57_33_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/5/0bc428ad78a6edd2235d7e1975930bef.jpg","text":"TemporaryFile(/tmp/multipartBody7290475704975767680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926463355,"filename":"image_05122025_09_56_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/5/74055baa0b69998f3127570c0c898b0e.jpg","text":"TemporaryFile(/tmp/multipartBody3816281157119418616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926463355,"filename":"image_05122025_09_57_03_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/5/ab1ea8e33f31c83615a8c08fbfd95eb3.jpg","text":"TemporaryFile(/tmp/multipartBody3516635694199659851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926463355,"filename":"image_05122025_09_57_24_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/5/9f1a6f1dbca3f977c6ec713d2044800c.jpg","text":"TemporaryFile(/tmp/multipartBody1360895651670804326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926463355,"filename":"image_05122025_09_56_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/5/3a92b5f304f068ad97d45226c30c483b.jpg","text":"TemporaryFile(/tmp/multipartBody6908829189423198991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926463355,"filename":"image_05122025_09_57_14_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066095","file1":"1398066093","file0":"1398066091","file4":"1398066098","file5":"1398066100","file3":"1398066097"},"map_files_photo_id_array":[{"photo_id":"1398066100","filename":"file5"},{"photo_id":"1398066095","filename":"file2"},{"photo_id":"1398066098","filename":"file4"},{"photo_id":"1398066093","filename":"file1"},{"photo_id":"1398066091","filename":"file0"},{"photo_id":"1398066097","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066100":["hashtag1","hashtag2"]},{"1398066093":["hashtag1","hashtag2"]},{"1398066095":["hashtag1","hashtag2"]},{"1398066098":["hashtag1","hashtag2"]},{"1398066091":["hashtag1","hashtag2"]},{"1398066097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066100, 1398066093, 1398066095, 1398066098, 1398066091, 1398066097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41140294075012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:20:42.175371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_51_2547.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_57_2714.jpg', '/home/pi/Desktop/images/31102025/19/13/image_31102025_19_14_00_2583.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_06_2838.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_09_2680.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_12_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_51_2547.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_13_57_2714.jpg
/home/pi/Desktop/images/31102025/19/13/image_31102025_19_14_00_2583.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_06_2838.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_09_2680.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_12_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066124","1398066115","1398066114","1398066113","1398066116","1398066110"],"photo_ids_order":["1398066110","1398066113","1398066114","1398066115","1398066116","1398066124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/477dbdf0fdcf8a8b122b6fcbfdb3f536.jpg","text":"TemporaryFile(/tmp/multipartBody724268103752465263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926503743,"filename":"image_31102025_19_14_12_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/5/607c393ad46de6fdc572aad3162ba9cd.jpg","text":"TemporaryFile(/tmp/multipartBody4424976933709787849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926503743,"filename":"image_31102025_19_14_06_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/5/47ac2c93bf7a1aced8588be4cb0c430b.jpg","text":"TemporaryFile(/tmp/multipartBody1837930329634107247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926503743,"filename":"image_31102025_19_14_00_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/5/e1377ef3d7e6f5ba8c3d6142fce3df17.jpg","text":"TemporaryFile(/tmp/multipartBody2416730272632981268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926503743,"filename":"image_31102025_19_13_57_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/5/b96e4e7ecba6508892d15a2f924139c4.jpg","text":"TemporaryFile(/tmp/multipartBody6997875396458762746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926503743,"filename":"image_31102025_19_14_09_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/5/0d39b806095c212c47473ca3c8bc1a31.jpg","text":"TemporaryFile(/tmp/multipartBody808356638861823233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926503743,"filename":"image_31102025_19_13_51_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066114","file1":"1398066113","file0":"1398066110","file4":"1398066116","file5":"1398066124","file3":"1398066115"},"map_files_photo_id_array":[{"photo_id":"1398066124","filename":"file5"},{"photo_id":"1398066114","filename":"file2"},{"photo_id":"1398066116","filename":"file4"},{"photo_id":"1398066113","filename":"file1"},{"photo_id":"1398066110","filename":"file0"},{"photo_id":"1398066115","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398066124":["hashtag1","hashtag2"]},{"1398066115":["hashtag1","hashtag2"]},{"1398066114":["hashtag1","hashtag2"]},{"1398066113":["hashtag1","hashtag2"]},{"1398066116":["hashtag1","hashtag2"]},{"1398066110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398066124, 1398066115, 1398066114, 1398066113, 1398066116, 1398066110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.865776777267456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:21:22.451088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/57/image_05122025_09_57_44_10702.jpg', '/home/pi/Desktop/images/05122025/09/57/image_05122025_09_57_54_9729.jpg', '/home/pi/Desktop/images/05122025/09/57/image_05122025_09_58_04_9753.jpg', '/home/pi/Desktop/images/05122025/09/58/image_05122025_09_58_14_10588.jpg', '/home/pi/Desktop/images/05122025/09/58/image_05122025_09_58_24_9758.jpg', '/home/pi/Desktop/images/05122025/09/58/image_05122025_09_58_34_9911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/57/image_05122025_09_57_44_10702.jpg
/home/pi/Desktop/images/05122025/09/57/image_05122025_09_57_54_9729.jpg
/home/pi/Desktop/images/05122025/09/57/image_05122025_09_58_04_9753.jpg
/home/pi/Desktop/images/05122025/09/58/image_05122025_09_58_14_10588.jpg
/home/pi/Desktop/images/05122025/09/58/image_05122025_09_58_24_9758.jpg
/home/pi/Desktop/images/05122025/09/58/image_05122025_09_58_34_9911.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066139","1398066133","1398066129","1398066137","1398066142","1398066136"],"photo_ids_order":["1398066129","1398066133","1398066136","1398066137","1398066139","1398066142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/29f50acbc0fb23cec0fed92463941761.jpg","text":"TemporaryFile(/tmp/multipartBody1088100601771016650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926543162,"filename":"image_05122025_09_58_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/5/7529c12d916addf778ae92ca4c4ff397.jpg","text":"TemporaryFile(/tmp/multipartBody8937550061711810666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926543162,"filename":"image_05122025_09_57_54_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/5/ab68635251dde7374e793b8921f407da.jpg","text":"TemporaryFile(/tmp/multipartBody8629857589854801261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926543162,"filename":"image_05122025_09_57_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/5/e792adb68b30594494d545214c365738.jpg","text":"TemporaryFile(/tmp/multipartBody7843366982548986999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926543162,"filename":"image_05122025_09_58_14_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/5/9920140a9d4044c8988b8315ec2b9c7a.jpg","text":"TemporaryFile(/tmp/multipartBody7830572284611998902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926543162,"filename":"image_05122025_09_58_34_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/5/c92a862011d513eb26ed9e6f00753fa0.jpg","text":"TemporaryFile(/tmp/multipartBody2948568010010307858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926543162,"filename":"image_05122025_09_58_04_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066136","file1":"1398066133","file0":"1398066129","file4":"1398066139","file5":"1398066142","file3":"1398066137"},"map_files_photo_id_array":[{"photo_id":"1398066142","filename":"file5"},{"photo_id":"1398066136","filename":"file2"},{"photo_id":"1398066139","filename":"file4"},{"photo_id":"1398066133","filename":"file1"},{"photo_id":"1398066129","filename":"file0"},{"photo_id":"1398066137","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066139":["hashtag1","hashtag2"]},{"1398066133":["hashtag1","hashtag2"]},{"1398066129":["hashtag1","hashtag2"]},{"1398066137":["hashtag1","hashtag2"]},{"1398066142":["hashtag1","hashtag2"]},{"1398066136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066139, 1398066133, 1398066129, 1398066137, 1398066142, 1398066136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62676024436951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:22:03.102611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/58/image_05122025_09_58_44_9741.jpg', '/home/pi/Desktop/images/05122025/09/58/image_05122025_09_58_53_9876.jpg', '/home/pi/Desktop/images/05122025/09/58/image_05122025_09_59_04_10689.jpg', '/home/pi/Desktop/images/05122025/09/59/image_05122025_09_59_14_9751.jpg', '/home/pi/Desktop/images/05122025/09/59/image_05122025_09_59_24_9867.jpg', '/home/pi/Desktop/images/05122025/09/59/image_05122025_09_59_34_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/58/image_05122025_09_58_44_9741.jpg
/home/pi/Desktop/images/05122025/09/58/image_05122025_09_58_53_9876.jpg
/home/pi/Desktop/images/05122025/09/58/image_05122025_09_59_04_10689.jpg
/home/pi/Desktop/images/05122025/09/59/image_05122025_09_59_14_9751.jpg
/home/pi/Desktop/images/05122025/09/59/image_05122025_09_59_24_9867.jpg
/home/pi/Desktop/images/05122025/09/59/image_05122025_09_59_34_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066145","1398066148","1398066147","1398066150","1398066146","1398066154"],"photo_ids_order":["1398066145","1398066146","1398066147","1398066148","1398066150","1398066154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b04f281d2960af15b08befbec79dd18a.jpg","text":"TemporaryFile(/tmp/multipartBody547791351903549536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926583814,"filename":"image_05122025_09_58_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/5/38e7994d744fbad51bc66fb761cb1f35.jpg","text":"TemporaryFile(/tmp/multipartBody8182611996564092607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926583814,"filename":"image_05122025_09_59_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/5/fd6ef28ac56a553315ebebc11c10f256.jpg","text":"TemporaryFile(/tmp/multipartBody6693291273004960321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926583814,"filename":"image_05122025_09_59_04_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/5/008c2798809d8a4f0c917281d05c69e2.jpg","text":"TemporaryFile(/tmp/multipartBody6519705694132847015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926583814,"filename":"image_05122025_09_59_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/5/8cb9d3a1e6729d263308294f4d61cdd5.jpg","text":"TemporaryFile(/tmp/multipartBody9163084310861220060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926583814,"filename":"image_05122025_09_58_53_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/5/88bad5d68fa7c4a1842078339ee9e367.jpg","text":"TemporaryFile(/tmp/multipartBody8256444664166372736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926583814,"filename":"image_05122025_09_59_34_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066147","file1":"1398066146","file0":"1398066145","file4":"1398066150","file5":"1398066154","file3":"1398066148"},"map_files_photo_id_array":[{"photo_id":"1398066154","filename":"file5"},{"photo_id":"1398066147","filename":"file2"},{"photo_id":"1398066150","filename":"file4"},{"photo_id":"1398066146","filename":"file1"},{"photo_id":"1398066145","filename":"file0"},{"photo_id":"1398066148","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066145":["hashtag1","hashtag2"]},{"1398066148":["hashtag1","hashtag2"]},{"1398066147":["hashtag1","hashtag2"]},{"1398066150":["hashtag1","hashtag2"]},{"1398066146":["hashtag1","hashtag2"]},{"1398066154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066145, 1398066148, 1398066147, 1398066150, 1398066146, 1398066154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98529505729675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:22:42.733326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_15_3604.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_18_2634.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_20_2692.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_24_3754.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_27_2501.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_29_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_15_3604.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_18_2634.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_20_2692.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_24_3754.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_27_2501.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_29_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066171","1398066180","1398066168","1398066172","1398066181","1398066175"],"photo_ids_order":["1398066168","1398066171","1398066172","1398066175","1398066180","1398066181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c7d017c09138beb368aee919ad78b2cb.jpg","text":"TemporaryFile(/tmp/multipartBody9093342759798448155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926624362,"filename":"image_31102025_19_14_18_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/5/158529a64f76a2312ca2363668d7620e.jpg","text":"TemporaryFile(/tmp/multipartBody7478161873288169094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926624362,"filename":"image_31102025_19_14_27_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/00b6f07546a5ee020c86bfee13c38983.jpg","text":"TemporaryFile(/tmp/multipartBody257488867093851398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926624362,"filename":"image_31102025_19_14_15_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b1e039f90ef20066646c2a597b5c9bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1780395778119914225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926624362,"filename":"image_31102025_19_14_20_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/5/b8807dd91265db52c560e952f9d4b5d8.jpg","text":"TemporaryFile(/tmp/multipartBody6879126299445195659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926624362,"filename":"image_31102025_19_14_29_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/5/9d815638e7a228f470cc6d026632cf8a.jpg","text":"TemporaryFile(/tmp/multipartBody2706968279325136628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926624362,"filename":"image_31102025_19_14_24_3754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066172","file1":"1398066171","file0":"1398066168","file4":"1398066180","file5":"1398066181","file3":"1398066175"},"map_files_photo_id_array":[{"photo_id":"1398066181","filename":"file5"},{"photo_id":"1398066172","filename":"file2"},{"photo_id":"1398066180","filename":"file4"},{"photo_id":"1398066171","filename":"file1"},{"photo_id":"1398066168","filename":"file0"},{"photo_id":"1398066175","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398066171":["hashtag1","hashtag2"]},{"1398066180":["hashtag1","hashtag2"]},{"1398066168":["hashtag1","hashtag2"]},{"1398066172":["hashtag1","hashtag2"]},{"1398066181":["hashtag1","hashtag2"]},{"1398066175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398066171, 1398066180, 1398066168, 1398066172, 1398066181, 1398066175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82799983024597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:23:21.922483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/09/59/image_05122025_09_59_54_10867.jpg', '/home/pi/Desktop/images/05122025/10/00/image_05122025_10_00_14_10057.jpg', '/home/pi/Desktop/images/05122025/10/00/image_05122025_10_00_25_10598.jpg', '/home/pi/Desktop/images/05122025/10/00/image_05122025_10_00_35_9870.jpg', '/home/pi/Desktop/images/05122025/10/00/image_05122025_10_00_45_9787.jpg', '/home/pi/Desktop/images/05122025/10/00/image_05122025_10_00_55_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/09/59/image_05122025_09_59_54_10867.jpg
/home/pi/Desktop/images/05122025/10/00/image_05122025_10_00_14_10057.jpg
/home/pi/Desktop/images/05122025/10/00/image_05122025_10_00_25_10598.jpg
/home/pi/Desktop/images/05122025/10/00/image_05122025_10_00_35_9870.jpg
/home/pi/Desktop/images/05122025/10/00/image_05122025_10_00_45_9787.jpg
/home/pi/Desktop/images/05122025/10/00/image_05122025_10_00_55_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066195","1398066198","1398066186","1398066189","1398066191","1398066193"],"photo_ids_order":["1398066186","1398066189","1398066191","1398066193","1398066195","1398066198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2698f977f072da851ab469e25c61883e.jpg","text":"TemporaryFile(/tmp/multipartBody7651076078312774542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926662615,"filename":"image_05122025_10_00_45_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e433e622ebcc8b22775b5cd89967ebb0.jpg","text":"TemporaryFile(/tmp/multipartBody5264487703625490463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926662615,"filename":"image_05122025_10_00_55_10423.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/466a1b6351e4f6f3e8617e05d763ebc9.jpg","text":"TemporaryFile(/tmp/multipartBody1450084741883225347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926662615,"filename":"image_05122025_09_59_54_10867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87af768b633d10bb0b028230a6660fa7.jpg","text":"TemporaryFile(/tmp/multipartBody6763276295342686195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926662615,"filename":"image_05122025_10_00_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c4a5b7a067e60eebffbb3e40ada1ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7938682588072942911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926662615,"filename":"image_05122025_10_00_25_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/5/62015d4f5ecbed5d7a395519be9dde12.jpg","text":"TemporaryFile(/tmp/multipartBody7139461965519765717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926662615,"filename":"image_05122025_10_00_35_9870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066191","file1":"1398066189","file0":"1398066186","file4":"1398066195","file5":"1398066198","file3":"1398066193"},"map_files_photo_id_array":[{"photo_id":"1398066198","filename":"file5"},{"photo_id":"1398066191","filename":"file2"},{"photo_id":"1398066195","filename":"file4"},{"photo_id":"1398066189","filename":"file1"},{"photo_id":"1398066186","filename":"file0"},{"photo_id":"1398066193","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066195":["hashtag1","hashtag2"]},{"1398066198":["hashtag1","hashtag2"]},{"1398066186":["hashtag1","hashtag2"]},{"1398066189":["hashtag1","hashtag2"]},{"1398066191":["hashtag1","hashtag2"]},{"1398066193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066195, 1398066198, 1398066186, 1398066189, 1398066191, 1398066193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.209150075912476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:24:02.529499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/00/image_05122025_10_01_05_9817.jpg', '/home/pi/Desktop/images/05122025/10/01/image_05122025_10_01_15_9675.jpg', '/home/pi/Desktop/images/05122025/10/01/image_05122025_10_01_25_10744.jpg', '/home/pi/Desktop/images/05122025/10/01/image_05122025_10_01_35_9597.jpg', '/home/pi/Desktop/images/05122025/10/01/image_05122025_10_01_45_9780.jpg', '/home/pi/Desktop/images/05122025/10/01/image_05122025_10_01_55_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/00/image_05122025_10_01_05_9817.jpg
/home/pi/Desktop/images/05122025/10/01/image_05122025_10_01_15_9675.jpg
/home/pi/Desktop/images/05122025/10/01/image_05122025_10_01_25_10744.jpg
/home/pi/Desktop/images/05122025/10/01/image_05122025_10_01_35_9597.jpg
/home/pi/Desktop/images/05122025/10/01/image_05122025_10_01_45_9780.jpg
/home/pi/Desktop/images/05122025/10/01/image_05122025_10_01_55_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066217","1398066214","1398066212","1398066206","1398066209","1398066203"],"photo_ids_order":["1398066203","1398066206","1398066209","1398066212","1398066214","1398066217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6602842644d9aea677c15119cbe92beb.jpg","text":"TemporaryFile(/tmp/multipartBody6595575048495768824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926703285,"filename":"image_05122025_10_01_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/5/978af6ca57d8f5c1f9bb7b3ceb169139.jpg","text":"TemporaryFile(/tmp/multipartBody2463943333267908586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926703285,"filename":"image_05122025_10_01_45_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f33b2a7f133928d285adaa9def827861.jpg","text":"TemporaryFile(/tmp/multipartBody923263991944905934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926703285,"filename":"image_05122025_10_01_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/5/d981a959c5c2336c749fa7eed6fef07b.jpg","text":"TemporaryFile(/tmp/multipartBody8284346091153111001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926703285,"filename":"image_05122025_10_01_15_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/5/5609329bbffd0bc2e2eecde5ad82a59e.jpg","text":"TemporaryFile(/tmp/multipartBody3205642376423913989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926703285,"filename":"image_05122025_10_01_25_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce667ad0317b6ed5913edda30c8bf678.jpg","text":"TemporaryFile(/tmp/multipartBody3030188578136964186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926703285,"filename":"image_05122025_10_01_05_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066209","file1":"1398066206","file0":"1398066203","file4":"1398066214","file5":"1398066217","file3":"1398066212"},"map_files_photo_id_array":[{"photo_id":"1398066217","filename":"file5"},{"photo_id":"1398066209","filename":"file2"},{"photo_id":"1398066214","filename":"file4"},{"photo_id":"1398066206","filename":"file1"},{"photo_id":"1398066203","filename":"file0"},{"photo_id":"1398066212","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066217":["hashtag1","hashtag2"]},{"1398066214":["hashtag1","hashtag2"]},{"1398066212":["hashtag1","hashtag2"]},{"1398066206":["hashtag1","hashtag2"]},{"1398066209":["hashtag1","hashtag2"]},{"1398066203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066217, 1398066214, 1398066212, 1398066206, 1398066209, 1398066203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26050114631653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:24:42.091911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_33_3703.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_36_2595.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_39_3592.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_42_2646.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_45_2623.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_48_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_33_3703.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_36_2595.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_39_3592.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_42_2646.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_45_2623.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_48_3687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066238","1398066232","1398066231","1398066228","1398066248","1398066233"],"photo_ids_order":["1398066228","1398066231","1398066232","1398066233","1398066238","1398066248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4694015a52294c8af7fa6846e75dbea3.jpg","text":"TemporaryFile(/tmp/multipartBody5806110427715019849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926743736,"filename":"image_31102025_19_14_45_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/914a585665b644cc4c05577f4f589470.jpg","text":"TemporaryFile(/tmp/multipartBody5108813681759664917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926743736,"filename":"image_31102025_19_14_39_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/5/82b5b10bbdf078a2afd757baef69794c.jpg","text":"TemporaryFile(/tmp/multipartBody6848289575084899284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926743736,"filename":"image_31102025_19_14_36_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/5/b254ae3f6aa6bafd0ba277900399d823.jpg","text":"TemporaryFile(/tmp/multipartBody6897689142974701647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926743736,"filename":"image_31102025_19_14_33_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/5/deb6bb15427ec9a1be824c0478cee8c6.jpg","text":"TemporaryFile(/tmp/multipartBody1705549785829277812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926743736,"filename":"image_31102025_19_14_48_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2a16db4e1b9b3dea44a40f6d10f49be3.jpg","text":"TemporaryFile(/tmp/multipartBody7078440320189015668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926743736,"filename":"image_31102025_19_14_42_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066232","file1":"1398066231","file0":"1398066228","file4":"1398066238","file5":"1398066248","file3":"1398066233"},"map_files_photo_id_array":[{"photo_id":"1398066248","filename":"file5"},{"photo_id":"1398066232","filename":"file2"},{"photo_id":"1398066238","filename":"file4"},{"photo_id":"1398066231","filename":"file1"},{"photo_id":"1398066228","filename":"file0"},{"photo_id":"1398066233","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398066238":["hashtag1","hashtag2"]},{"1398066232":["hashtag1","hashtag2"]},{"1398066231":["hashtag1","hashtag2"]},{"1398066228":["hashtag1","hashtag2"]},{"1398066248":["hashtag1","hashtag2"]},{"1398066233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398066238, 1398066232, 1398066231, 1398066228, 1398066248, 1398066233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33924174308777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:25:22.252848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/01/image_05122025_10_02_05_10821.jpg', '/home/pi/Desktop/images/05122025/10/02/image_05122025_10_02_15_9788.jpg', '/home/pi/Desktop/images/05122025/10/02/image_05122025_10_02_25_9849.jpg', '/home/pi/Desktop/images/05122025/10/02/image_05122025_10_02_35_9799.jpg', '/home/pi/Desktop/images/05122025/10/02/image_05122025_10_02_45_9688.jpg', '/home/pi/Desktop/images/05122025/10/02/image_05122025_10_02_55_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/01/image_05122025_10_02_05_10821.jpg
/home/pi/Desktop/images/05122025/10/02/image_05122025_10_02_15_9788.jpg
/home/pi/Desktop/images/05122025/10/02/image_05122025_10_02_25_9849.jpg
/home/pi/Desktop/images/05122025/10/02/image_05122025_10_02_35_9799.jpg
/home/pi/Desktop/images/05122025/10/02/image_05122025_10_02_45_9688.jpg
/home/pi/Desktop/images/05122025/10/02/image_05122025_10_02_55_10761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066259","1398066258","1398066261","1398066263","1398066254","1398066256"],"photo_ids_order":["1398066254","1398066256","1398066258","1398066259","1398066261","1398066263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08db4ee62955cb928fcd452dad40e944.jpg","text":"TemporaryFile(/tmp/multipartBody8367868297475463400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926782951,"filename":"image_05122025_10_02_35_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/5/b882c8b4ef0f66d8dab0666f789f076a.jpg","text":"TemporaryFile(/tmp/multipartBody9017309787732417217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926782951,"filename":"image_05122025_10_02_25_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/5/9b3e355a6457fde5cfb5e9fd2f98b94c.jpg","text":"TemporaryFile(/tmp/multipartBody4039716992557723179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926782951,"filename":"image_05122025_10_02_45_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/29a927eee4568cb6015f22fe29caf137.jpg","text":"TemporaryFile(/tmp/multipartBody1148660707005891071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926782951,"filename":"image_05122025_10_02_55_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/5/78c457675dbf36b4fabf9b9ebc8eaf59.jpg","text":"TemporaryFile(/tmp/multipartBody4290255966278389318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926782951,"filename":"image_05122025_10_02_05_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/30d8412c87a1cc32f68f159d73b32c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4443750561480558100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926782951,"filename":"image_05122025_10_02_15_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066258","file1":"1398066256","file0":"1398066254","file4":"1398066261","file5":"1398066263","file3":"1398066259"},"map_files_photo_id_array":[{"photo_id":"1398066263","filename":"file5"},{"photo_id":"1398066258","filename":"file2"},{"photo_id":"1398066261","filename":"file4"},{"photo_id":"1398066256","filename":"file1"},{"photo_id":"1398066254","filename":"file0"},{"photo_id":"1398066259","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066259":["hashtag1","hashtag2"]},{"1398066258":["hashtag1","hashtag2"]},{"1398066261":["hashtag1","hashtag2"]},{"1398066263":["hashtag1","hashtag2"]},{"1398066254":["hashtag1","hashtag2"]},{"1398066256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066259, 1398066258, 1398066261, 1398066263, 1398066254, 1398066256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46402835845947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:26:03.034713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/02/image_05122025_10_03_05_9684.jpg', '/home/pi/Desktop/images/05122025/10/03/image_05122025_10_03_15_9654.jpg', '/home/pi/Desktop/images/05122025/10/03/image_05122025_10_03_25_10582.jpg', '/home/pi/Desktop/images/05122025/10/03/image_05122025_10_03_35_9699.jpg', '/home/pi/Desktop/images/05122025/10/03/image_05122025_10_03_45_9828.jpg', '/home/pi/Desktop/images/05122025/10/03/image_05122025_10_03_55_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/02/image_05122025_10_03_05_9684.jpg
/home/pi/Desktop/images/05122025/10/03/image_05122025_10_03_15_9654.jpg
/home/pi/Desktop/images/05122025/10/03/image_05122025_10_03_25_10582.jpg
/home/pi/Desktop/images/05122025/10/03/image_05122025_10_03_35_9699.jpg
/home/pi/Desktop/images/05122025/10/03/image_05122025_10_03_45_9828.jpg
/home/pi/Desktop/images/05122025/10/03/image_05122025_10_03_55_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066265","1398066276","1398066273","1398066267","1398066269","1398066271"],"photo_ids_order":["1398066265","1398066267","1398066269","1398066271","1398066273","1398066276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e7deddeccc86f59d7c057ec9066cc39.jpg","text":"TemporaryFile(/tmp/multipartBody8181029606565648073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926823736,"filename":"image_05122025_10_03_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/186c77f713700700c543d1b077ca3e73.jpg","text":"TemporaryFile(/tmp/multipartBody3454569476613278874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926823736,"filename":"image_05122025_10_03_55_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/5/a8a402fc69b1770ba5ba5196a1de67f8.jpg","text":"TemporaryFile(/tmp/multipartBody1605455835512332991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926823736,"filename":"image_05122025_10_03_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/5/a779e347dc54f27d3fbb36eea1d59f42.jpg","text":"TemporaryFile(/tmp/multipartBody7956808788053883734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926823736,"filename":"image_05122025_10_03_15_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/5/8fe1d3893dcb1321f975fce0e4a85009.jpg","text":"TemporaryFile(/tmp/multipartBody7215718394446750753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926823736,"filename":"image_05122025_10_03_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/5/0e563e3fe074ae276cafde713aa4aeae.jpg","text":"TemporaryFile(/tmp/multipartBody622891741468403879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926823736,"filename":"image_05122025_10_03_35_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066269","file1":"1398066267","file0":"1398066265","file4":"1398066273","file5":"1398066276","file3":"1398066271"},"map_files_photo_id_array":[{"photo_id":"1398066276","filename":"file5"},{"photo_id":"1398066269","filename":"file2"},{"photo_id":"1398066273","filename":"file4"},{"photo_id":"1398066267","filename":"file1"},{"photo_id":"1398066265","filename":"file0"},{"photo_id":"1398066271","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066265":["hashtag1","hashtag2"]},{"1398066276":["hashtag1","hashtag2"]},{"1398066273":["hashtag1","hashtag2"]},{"1398066267":["hashtag1","hashtag2"]},{"1398066269":["hashtag1","hashtag2"]},{"1398066271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066265, 1398066276, 1398066273, 1398066267, 1398066269, 1398066271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.594645738601685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:26:42.671570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_51_2588.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_54_2705.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_56_2857.jpg', '/home/pi/Desktop/images/31102025/19/14/image_31102025_19_15_00_3717.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_03_2611.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_06_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_51_2588.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_54_2705.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_14_56_2857.jpg
/home/pi/Desktop/images/31102025/19/14/image_31102025_19_15_00_3717.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_03_2611.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_06_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":["1398066288","1398066300","1398066293","1398066287","1398066284","1398066289"],"photo_ids_order":["1398066284","1398066287","1398066288","1398066289","1398066293","1398066300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9151c9f6c2b2fea77af5df707689f6e2.jpg","text":"TemporaryFile(/tmp/multipartBody4991491988147737233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926864352,"filename":"image_31102025_19_14_56_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/5/f2685d1e0ef65fea9b51fee88c674a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2416236157535872365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926864352,"filename":"image_31102025_19_15_06_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/5/45af49f5a73c3eea30746b8666ed3f3e.jpg","text":"TemporaryFile(/tmp/multipartBody3025387076621125972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926864352,"filename":"image_31102025_19_15_03_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/5/148652d98c9497b10bf23dbec57b090c.jpg","text":"TemporaryFile(/tmp/multipartBody3841564289272754894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926864352,"filename":"image_31102025_19_14_54_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/5/0f2d1ca21d467ca85371350897d90b8c.jpg","text":"TemporaryFile(/tmp/multipartBody4682998746530316679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926864352,"filename":"image_31102025_19_14_51_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/babc7b907ccccf324efb30a51892457a.jpg","text":"TemporaryFile(/tmp/multipartBody6939310402047133971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926864352,"filename":"image_31102025_19_15_00_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066288","file1":"1398066287","file0":"1398066284","file4":"1398066293","file5":"1398066300","file3":"1398066289"},"map_files_photo_id_array":[{"photo_id":"1398066300","filename":"file5"},{"photo_id":"1398066288","filename":"file2"},{"photo_id":"1398066293","filename":"file4"},{"photo_id":"1398066287","filename":"file1"},{"photo_id":"1398066284","filename":"file0"},{"photo_id":"1398066289","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398066288":["hashtag1","hashtag2"]},{"1398066300":["hashtag1","hashtag2"]},{"1398066293":["hashtag1","hashtag2"]},{"1398066287":["hashtag1","hashtag2"]},{"1398066284":["hashtag1","hashtag2"]},{"1398066289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398066288, 1398066300, 1398066293, 1398066287, 1398066284, 1398066289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97928977012634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:27:21.799606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/03/image_05122025_10_04_05_9693.jpg', '/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_15_9731.jpg', '/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_25_9817.jpg', '/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_35_10622.jpg', '/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_45_9652.jpg', '/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/03/image_05122025_10_04_05_9693.jpg
/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_15_9731.jpg
/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_25_9817.jpg
/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_35_10622.jpg
/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_45_9652.jpg
/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_55_9703.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5953421592712402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 10:27:31.879859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/21/image_02122025_18_21_24_9636.jpg', '/home/pi/Desktop/images/02122025/18/23/image_02122025_18_23_14_10117.jpg', '/home/pi/Desktop/images/02122025/18/23/image_02122025_18_23_45_10691.jpg', '/home/pi/Desktop/images/02122025/18/23/image_02122025_18_24_04_9826.jpg', '/home/pi/Desktop/images/02122025/18/24/image_02122025_18_24_54_9863.jpg', '/home/pi/Desktop/images/02122025/18/25/image_02122025_18_25_15_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/21/image_02122025_18_21_24_9636.jpg
/home/pi/Desktop/images/02122025/18/23/image_02122025_18_23_14_10117.jpg
/home/pi/Desktop/images/02122025/18/23/image_02122025_18_23_45_10691.jpg
/home/pi/Desktop/images/02122025/18/23/image_02122025_18_24_04_9826.jpg
/home/pi/Desktop/images/02122025/18/24/image_02122025_18_24_54_9863.jpg
/home/pi/Desktop/images/02122025/18/25/image_02122025_18_25_15_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066322","1398066312","1398066315","1398066318","1398066323","1398066320"],"photo_ids_order":["1398066312","1398066315","1398066318","1398066320","1398066322","1398066323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c4a2829e1bc707cd769c571d85a7b004.jpg","text":"TemporaryFile(/tmp/multipartBody830366319566644148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926914145,"filename":"image_02122025_18_24_54_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/5/a3d6789d17c312d9164c69bb4632b75e.jpg","text":"TemporaryFile(/tmp/multipartBody1825809468297799689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926914145,"filename":"image_02122025_18_21_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/5/0fa40973a39a334d553f7911bdf36b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4245790573077064771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926914145,"filename":"image_02122025_18_23_14_10117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22f57569f806bfe6e8cf89e96285560d.jpg","text":"TemporaryFile(/tmp/multipartBody1616385474497152397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926914145,"filename":"image_02122025_18_23_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/5/653535f9d36812071df8a7e5196b16cf.jpg","text":"TemporaryFile(/tmp/multipartBody4251850486019432651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926914145,"filename":"image_02122025_18_25_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/5/51fe7639cff12203be22f40240497f22.jpg","text":"TemporaryFile(/tmp/multipartBody388873520072130266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926914145,"filename":"image_02122025_18_24_04_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066318","file1":"1398066315","file0":"1398066312","file4":"1398066322","file5":"1398066323","file3":"1398066320"},"map_files_photo_id_array":[{"photo_id":"1398066323","filename":"file5"},{"photo_id":"1398066318","filename":"file2"},{"photo_id":"1398066322","filename":"file4"},{"photo_id":"1398066315","filename":"file1"},{"photo_id":"1398066312","filename":"file0"},{"photo_id":"1398066320","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398066322":["hashtag1","hashtag2"]},{"1398066312":["hashtag1","hashtag2"]},{"1398066315":["hashtag1","hashtag2"]},{"1398066318":["hashtag1","hashtag2"]},{"1398066323":["hashtag1","hashtag2"]},{"1398066320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398066322, 1398066312, 1398066315, 1398066318, 1398066323, 1398066320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88474225997925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 10:28:12.129252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/25/image_02122025_18_25_34_9760.jpg', '/home/pi/Desktop/images/02122025/18/25/image_02122025_18_25_44_9712.jpg', '/home/pi/Desktop/images/02122025/18/25/image_02122025_18_25_54_9795.jpg', '/home/pi/Desktop/images/02122025/18/26/image_02122025_18_26_24_9926.jpg', '/home/pi/Desktop/images/02122025/18/26/image_02122025_18_26_44_9690.jpg', '/home/pi/Desktop/images/02122025/18/26/image_02122025_18_27_04_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/25/image_02122025_18_25_34_9760.jpg
/home/pi/Desktop/images/02122025/18/25/image_02122025_18_25_44_9712.jpg
/home/pi/Desktop/images/02122025/18/25/image_02122025_18_25_54_9795.jpg
/home/pi/Desktop/images/02122025/18/26/image_02122025_18_26_24_9926.jpg
/home/pi/Desktop/images/02122025/18/26/image_02122025_18_26_44_9690.jpg
/home/pi/Desktop/images/02122025/18/26/image_02122025_18_27_04_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":["1398066337","1398066331","1398066338","1398066326","1398066334","1398066328"],"photo_ids_order":["1398066326","1398066328","1398066331","1398066334","1398066337","1398066338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51e03188c86e3b541c2da893182c123f.jpg","text":"TemporaryFile(/tmp/multipartBody6862424796161440340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926954245,"filename":"image_02122025_18_26_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/5/ff9fa2fa534e917737c1b0b7bcec015a.jpg","text":"TemporaryFile(/tmp/multipartBody944663745925502218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926954245,"filename":"image_02122025_18_25_54_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/276e79096357debddeff43f9cc4d6313.jpg","text":"TemporaryFile(/tmp/multipartBody8279680135846101176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926954245,"filename":"image_02122025_18_27_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/5/b4437373410444f35bfad8dd3ee546e0.jpg","text":"TemporaryFile(/tmp/multipartBody8246283421188898638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926954245,"filename":"image_02122025_18_25_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/5/fdf87501f3889cb8fb7b17382fc47658.jpg","text":"TemporaryFile(/tmp/multipartBody3039097442793512268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926954245,"filename":"image_02122025_18_26_24_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/5/2d606b3ea398c2afdc764e69bb682f11.jpg","text":"TemporaryFile(/tmp/multipartBody2489333232520023495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764926954245,"filename":"image_02122025_18_25_44_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066331","file1":"1398066328","file0":"1398066326","file4":"1398066337","file5":"1398066338","file3":"1398066334"},"map_files_photo_id_array":[{"photo_id":"1398066338","filename":"file5"},{"photo_id":"1398066331","filename":"file2"},{"photo_id":"1398066337","filename":"file4"},{"photo_id":"1398066328","filename":"file1"},{"photo_id":"1398066326","filename":"file0"},{"photo_id":"1398066334","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398066337":["hashtag1","hashtag2"]},{"1398066331":["hashtag1","hashtag2"]},{"1398066338":["hashtag1","hashtag2"]},{"1398066326":["hashtag1","hashtag2"]},{"1398066334":["hashtag1","hashtag2"]},{"1398066328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398066337, 1398066331, 1398066338, 1398066326, 1398066334, 1398066328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42871618270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:29:03.422084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/03/image_05122025_10_04_05_9693.jpg', '/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_15_9731.jpg', '/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_25_9817.jpg', '/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_35_10622.jpg', '/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_45_9652.jpg', '/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/03/image_05122025_10_04_05_9693.jpg
/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_15_9731.jpg
/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_25_9817.jpg
/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_35_10622.jpg
/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_45_9652.jpg
/home/pi/Desktop/images/05122025/10/04/image_05122025_10_04_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":["1398066369","1398066360","1398066362","1398066365","1398066373","1398066367"],"photo_ids_order":["1398066360","1398066362","1398066365","1398066367","1398066369","1398066373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c660bba3c06dc2cfdd02200b268406fd.jpg","text":"TemporaryFile(/tmp/multipartBody3896224344643471707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927004249,"filename":"image_05122025_10_04_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6fb0da8c8a0df6f758ed53bbbbcf68f3.jpg","text":"TemporaryFile(/tmp/multipartBody8765057888806427835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927004249,"filename":"image_05122025_10_04_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/5/d940933d373c9cc185c7cbfc6e3e0ac8.jpg","text":"TemporaryFile(/tmp/multipartBody3446587374328115121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927004249,"filename":"image_05122025_10_04_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/5/f9ae0e8d646acbe8d14b1e9f3e21a693.jpg","text":"TemporaryFile(/tmp/multipartBody508155730345608543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927004249,"filename":"image_05122025_10_04_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/5/b9f0e4c67840334593bb7fec4e3fd7ad.jpg","text":"TemporaryFile(/tmp/multipartBody3791544039913963500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927004249,"filename":"image_05122025_10_04_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/5/0663824500faa91b31dce62102f20a42.jpg","text":"TemporaryFile(/tmp/multipartBody686249295419608119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927004249,"filename":"image_05122025_10_04_35_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066365","file1":"1398066362","file0":"1398066360","file4":"1398066369","file5":"1398066373","file3":"1398066367"},"map_files_photo_id_array":[{"photo_id":"1398066373","filename":"file5"},{"photo_id":"1398066365","filename":"file2"},{"photo_id":"1398066369","filename":"file4"},{"photo_id":"1398066362","filename":"file1"},{"photo_id":"1398066360","filename":"file0"},{"photo_id":"1398066367","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066369":["hashtag1","hashtag2"]},{"1398066360":["hashtag1","hashtag2"]},{"1398066362":["hashtag1","hashtag2"]},{"1398066365":["hashtag1","hashtag2"]},{"1398066373":["hashtag1","hashtag2"]},{"1398066367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066369, 1398066360, 1398066362, 1398066365, 1398066373, 1398066367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85346508026123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:29:42.379074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_09_3530.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_12_2717.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_15_2777.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_17_2772.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_21_3729.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_24_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_09_3530.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_12_2717.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_15_2777.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_17_2772.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_21_3729.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_24_2649.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.587073564529419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:30:02.985923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/05/image_05122025_10_05_14_10056.jpg', '/home/pi/Desktop/images/05122025/10/05/image_05122025_10_05_25_10768.jpg', '/home/pi/Desktop/images/05122025/10/05/image_05122025_10_05_35_9810.jpg', '/home/pi/Desktop/images/05122025/10/05/image_05122025_10_05_44_9610.jpg', '/home/pi/Desktop/images/05122025/10/05/image_05122025_10_05_54_9778.jpg', '/home/pi/Desktop/images/05122025/10/05/image_05122025_10_06_05_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/05/image_05122025_10_05_14_10056.jpg
/home/pi/Desktop/images/05122025/10/05/image_05122025_10_05_25_10768.jpg
/home/pi/Desktop/images/05122025/10/05/image_05122025_10_05_35_9810.jpg
/home/pi/Desktop/images/05122025/10/05/image_05122025_10_05_44_9610.jpg
/home/pi/Desktop/images/05122025/10/05/image_05122025_10_05_54_9778.jpg
/home/pi/Desktop/images/05122025/10/05/image_05122025_10_06_05_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066393","1398066399","1398066402","1398066392","1398066395","1398066391"],"photo_ids_order":["1398066391","1398066392","1398066393","1398066395","1398066399","1398066402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/363543c719530141438b228e5cb1ef73.jpg","text":"TemporaryFile(/tmp/multipartBody241047693115277383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927063720,"filename":"image_05122025_10_05_35_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/5/9ec9d50f66fab62a0b98a66eabd3b557.jpg","text":"TemporaryFile(/tmp/multipartBody4621604301512115961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927063720,"filename":"image_05122025_10_05_54_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d18ef0369911262f9a499896769cfc96.jpg","text":"TemporaryFile(/tmp/multipartBody2984639197381302801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927063720,"filename":"image_05122025_10_06_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/5/ce9bf95bc37769e155894dd079b958a7.jpg","text":"TemporaryFile(/tmp/multipartBody472899363801172229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927063720,"filename":"image_05122025_10_05_25_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/5/83c54918a8085e99db4ac193315c6abb.jpg","text":"TemporaryFile(/tmp/multipartBody6734024904322560122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927063720,"filename":"image_05122025_10_05_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/5/e15d35af7a1dd637d0e6664642ca2f13.jpg","text":"TemporaryFile(/tmp/multipartBody7486553752445600317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927063720,"filename":"image_05122025_10_05_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066393","file1":"1398066392","file0":"1398066391","file4":"1398066399","file5":"1398066402","file3":"1398066395"},"map_files_photo_id_array":[{"photo_id":"1398066402","filename":"file5"},{"photo_id":"1398066393","filename":"file2"},{"photo_id":"1398066399","filename":"file4"},{"photo_id":"1398066392","filename":"file1"},{"photo_id":"1398066391","filename":"file0"},{"photo_id":"1398066395","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066393":["hashtag1","hashtag2"]},{"1398066399":["hashtag1","hashtag2"]},{"1398066402":["hashtag1","hashtag2"]},{"1398066392":["hashtag1","hashtag2"]},{"1398066395":["hashtag1","hashtag2"]},{"1398066391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066393, 1398066399, 1398066402, 1398066392, 1398066395, 1398066391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.359405517578125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:30:42.650472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_09_3530.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_12_2717.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_15_2777.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_17_2772.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_21_3729.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_24_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_09_3530.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_12_2717.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_15_2777.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_17_2772.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_21_3729.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_24_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":["1398066421","1398066420","1398066423","1398066422","1398066425","1398066416"],"photo_ids_order":["1398066416","1398066420","1398066421","1398066422","1398066423","1398066425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/19cf67826f4bac994fefe63c56842c68.jpg","text":"TemporaryFile(/tmp/multipartBody1662796700517276715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927104148,"filename":"image_31102025_19_15_15_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/5/12528fdccc5e45ad6a92f1586ff2a96f.jpg","text":"TemporaryFile(/tmp/multipartBody815711773387203160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927104148,"filename":"image_31102025_19_15_12_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/5/06dcaec4dc8d980dd2cbbf666b4fe1b4.jpg","text":"TemporaryFile(/tmp/multipartBody1631061694355937020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927104148,"filename":"image_31102025_19_15_21_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99076f4cbf8c81c9ea6bf98f17f2ff3a.jpg","text":"TemporaryFile(/tmp/multipartBody4210833799270242712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927104148,"filename":"image_31102025_19_15_17_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/5/0490a84cfac13edf1a378ef03bc81bf0.jpg","text":"TemporaryFile(/tmp/multipartBody6830111982480521745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927104148,"filename":"image_31102025_19_15_24_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/5/569f274336ca408f3905d3e3531708a7.jpg","text":"TemporaryFile(/tmp/multipartBody8215063383402146488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927104148,"filename":"image_31102025_19_15_09_3530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066421","file1":"1398066420","file0":"1398066416","file4":"1398066423","file5":"1398066425","file3":"1398066422"},"map_files_photo_id_array":[{"photo_id":"1398066425","filename":"file5"},{"photo_id":"1398066421","filename":"file2"},{"photo_id":"1398066423","filename":"file4"},{"photo_id":"1398066420","filename":"file1"},{"photo_id":"1398066416","filename":"file0"},{"photo_id":"1398066422","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398066421":["hashtag1","hashtag2"]},{"1398066420":["hashtag1","hashtag2"]},{"1398066423":["hashtag1","hashtag2"]},{"1398066422":["hashtag1","hashtag2"]},{"1398066425":["hashtag1","hashtag2"]},{"1398066416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398066421, 1398066420, 1398066423, 1398066422, 1398066425, 1398066416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35444521903992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:31:22.850521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/06/image_05122025_10_06_14_9568.jpg', '/home/pi/Desktop/images/05122025/10/06/image_05122025_10_06_25_10683.jpg', '/home/pi/Desktop/images/05122025/10/06/image_05122025_10_06_35_9718.jpg', '/home/pi/Desktop/images/05122025/10/06/image_05122025_10_06_44_9543.jpg', '/home/pi/Desktop/images/05122025/10/06/image_05122025_10_06_55_10735.jpg', '/home/pi/Desktop/images/05122025/10/06/image_05122025_10_07_05_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/06/image_05122025_10_06_14_9568.jpg
/home/pi/Desktop/images/05122025/10/06/image_05122025_10_06_25_10683.jpg
/home/pi/Desktop/images/05122025/10/06/image_05122025_10_06_35_9718.jpg
/home/pi/Desktop/images/05122025/10/06/image_05122025_10_06_44_9543.jpg
/home/pi/Desktop/images/05122025/10/06/image_05122025_10_06_55_10735.jpg
/home/pi/Desktop/images/05122025/10/06/image_05122025_10_07_05_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066442","1398066438","1398066432","1398066435","1398066429","1398066440"],"photo_ids_order":["1398066429","1398066432","1398066435","1398066438","1398066440","1398066442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c9d29723a0cceb9b002d921f9eabfe27.jpg","text":"TemporaryFile(/tmp/multipartBody463099141336805350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927143606,"filename":"image_05122025_10_07_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/5/d673d9003bbfeed34cba44c62a883529.jpg","text":"TemporaryFile(/tmp/multipartBody3125039923033990915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927143606,"filename":"image_05122025_10_06_44_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/748df7c53fce4df7a36c3d786affef86.jpg","text":"TemporaryFile(/tmp/multipartBody3034704794415903918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927143606,"filename":"image_05122025_10_06_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/5/19b68f9397fbc7fbdec5593cbf416ea5.jpg","text":"TemporaryFile(/tmp/multipartBody477802880432247749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927143606,"filename":"image_05122025_10_06_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/5/9b294ba21296bc077862c10c9324195d.jpg","text":"TemporaryFile(/tmp/multipartBody2693470697268919674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927143606,"filename":"image_05122025_10_06_14_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/5/d57c4ba9ae9a875551f99547bf1f8ce1.jpg","text":"TemporaryFile(/tmp/multipartBody5662926862584372095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927143606,"filename":"image_05122025_10_06_55_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066435","file1":"1398066432","file0":"1398066429","file4":"1398066440","file5":"1398066442","file3":"1398066438"},"map_files_photo_id_array":[{"photo_id":"1398066442","filename":"file5"},{"photo_id":"1398066435","filename":"file2"},{"photo_id":"1398066440","filename":"file4"},{"photo_id":"1398066432","filename":"file1"},{"photo_id":"1398066429","filename":"file0"},{"photo_id":"1398066438","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066442":["hashtag1","hashtag2"]},{"1398066438":["hashtag1","hashtag2"]},{"1398066432":["hashtag1","hashtag2"]},{"1398066435":["hashtag1","hashtag2"]},{"1398066429":["hashtag1","hashtag2"]},{"1398066440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066442, 1398066438, 1398066432, 1398066435, 1398066429, 1398066440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21228551864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:32:02.386934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/07/image_05122025_10_07_14_9598.jpg', '/home/pi/Desktop/images/05122025/10/07/image_05122025_10_07_25_10722.jpg', '/home/pi/Desktop/images/05122025/10/07/image_05122025_10_07_35_9690.jpg', '/home/pi/Desktop/images/05122025/10/07/image_05122025_10_07_44_9682.jpg', '/home/pi/Desktop/images/05122025/10/07/image_05122025_10_07_55_10710.jpg', '/home/pi/Desktop/images/05122025/10/07/image_05122025_10_08_05_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/07/image_05122025_10_07_14_9598.jpg
/home/pi/Desktop/images/05122025/10/07/image_05122025_10_07_25_10722.jpg
/home/pi/Desktop/images/05122025/10/07/image_05122025_10_07_35_9690.jpg
/home/pi/Desktop/images/05122025/10/07/image_05122025_10_07_44_9682.jpg
/home/pi/Desktop/images/05122025/10/07/image_05122025_10_07_55_10710.jpg
/home/pi/Desktop/images/05122025/10/07/image_05122025_10_08_05_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":["1398066450","1398066444","1398066453","1398066446","1398066451","1398066448"],"photo_ids_order":["1398066444","1398066446","1398066448","1398066450","1398066451","1398066453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/475f5aba8c95256c8552bb9ce4b4dbe8.jpg","text":"TemporaryFile(/tmp/multipartBody8036254064432295767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927183109,"filename":"image_05122025_10_07_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/5/7e770262a8b54e8daeacf016bc6dacfe.jpg","text":"TemporaryFile(/tmp/multipartBody8304508396078558533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927183109,"filename":"image_05122025_10_07_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/5/ef374d6a548f39997f1a5bf24a472ea0.jpg","text":"TemporaryFile(/tmp/multipartBody4639923135277839946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927183109,"filename":"image_05122025_10_08_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/5/00564546483fe31028b212700cff6040.jpg","text":"TemporaryFile(/tmp/multipartBody6233576046056353740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927183109,"filename":"image_05122025_10_07_25_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/5/5034e83b0dd61128b172e98bf065d0db.jpg","text":"TemporaryFile(/tmp/multipartBody8386221972094740235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927183109,"filename":"image_05122025_10_07_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/5/82387794be9526f02d39a7c92cc0e18a.jpg","text":"TemporaryFile(/tmp/multipartBody4825009190018224886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927183109,"filename":"image_05122025_10_07_35_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066448","file1":"1398066446","file0":"1398066444","file4":"1398066451","file5":"1398066453","file3":"1398066450"},"map_files_photo_id_array":[{"photo_id":"1398066453","filename":"file5"},{"photo_id":"1398066448","filename":"file2"},{"photo_id":"1398066451","filename":"file4"},{"photo_id":"1398066446","filename":"file1"},{"photo_id":"1398066444","filename":"file0"},{"photo_id":"1398066450","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066450":["hashtag1","hashtag2"]},{"1398066444":["hashtag1","hashtag2"]},{"1398066453":["hashtag1","hashtag2"]},{"1398066446":["hashtag1","hashtag2"]},{"1398066451":["hashtag1","hashtag2"]},{"1398066448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066450, 1398066444, 1398066453, 1398066446, 1398066451, 1398066448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35661244392395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:32:42.080670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_27_3566.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_30_2673.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_33_2606.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_39_2602.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_53_2630.jpg', '/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_57_3783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_27_3566.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_30_2673.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_33_2606.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_39_2602.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_53_2630.jpg
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_15_57_3783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066477","1398066479","1398066476","1398066478","1398066466","1398066475"],"photo_ids_order":["1398066466","1398066475","1398066476","1398066477","1398066478","1398066479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8156ca9c261d7f7a40735f5db4778b01.jpg","text":"TemporaryFile(/tmp/multipartBody2019757525180391750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927223705,"filename":"image_31102025_19_15_39_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5162ed8115063b1257afac5b94ebccc6.jpg","text":"TemporaryFile(/tmp/multipartBody5320950048213918069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927223705,"filename":"image_31102025_19_15_57_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5eb3fa694bf7b1024327cff05cc3b118.jpg","text":"TemporaryFile(/tmp/multipartBody363846172383243302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927223705,"filename":"image_31102025_19_15_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/5/1cdcef84fa7ca61029443f2219acb12d.jpg","text":"TemporaryFile(/tmp/multipartBody887721696427641819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927223705,"filename":"image_31102025_19_15_53_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/5/1496e6349c12df0c6e3e34ad99fb7f8a.jpg","text":"TemporaryFile(/tmp/multipartBody3402665443331910722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927223705,"filename":"image_31102025_19_15_27_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/895cd320e8aa0993b61ebfbcf1cc0ed1.jpg","text":"TemporaryFile(/tmp/multipartBody5312967459277919447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927223705,"filename":"image_31102025_19_15_30_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066476","file1":"1398066475","file0":"1398066466","file4":"1398066478","file5":"1398066479","file3":"1398066477"},"map_files_photo_id_array":[{"photo_id":"1398066479","filename":"file5"},{"photo_id":"1398066476","filename":"file2"},{"photo_id":"1398066478","filename":"file4"},{"photo_id":"1398066475","filename":"file1"},{"photo_id":"1398066466","filename":"file0"},{"photo_id":"1398066477","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398066477":["hashtag1","hashtag2"]},{"1398066479":["hashtag1","hashtag2"]},{"1398066476":["hashtag1","hashtag2"]},{"1398066478":["hashtag1","hashtag2"]},{"1398066466":["hashtag1","hashtag2"]},{"1398066475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398066477, 1398066479, 1398066476, 1398066478, 1398066466, 1398066475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.135292053222656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:33:22.319438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/08/image_05122025_10_08_15_9839.jpg', '/home/pi/Desktop/images/05122025/10/08/image_05122025_10_08_24_9749.jpg', '/home/pi/Desktop/images/05122025/10/08/image_05122025_10_08_35_10724.jpg', '/home/pi/Desktop/images/05122025/10/08/image_05122025_10_08_45_9767.jpg', '/home/pi/Desktop/images/05122025/10/08/image_05122025_10_08_54_9584.jpg', '/home/pi/Desktop/images/05122025/10/08/image_05122025_10_09_05_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/08/image_05122025_10_08_15_9839.jpg
/home/pi/Desktop/images/05122025/10/08/image_05122025_10_08_24_9749.jpg
/home/pi/Desktop/images/05122025/10/08/image_05122025_10_08_35_10724.jpg
/home/pi/Desktop/images/05122025/10/08/image_05122025_10_08_45_9767.jpg
/home/pi/Desktop/images/05122025/10/08/image_05122025_10_08_54_9584.jpg
/home/pi/Desktop/images/05122025/10/08/image_05122025_10_09_05_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":["1398066489","1398066491","1398066496","1398066484","1398066493","1398066487"],"photo_ids_order":["1398066484","1398066487","1398066489","1398066491","1398066493","1398066496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01ae6781f4b870ca50c4c17f5a4e6b0f.jpg","text":"TemporaryFile(/tmp/multipartBody5122987749251667765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927263015,"filename":"image_05122025_10_08_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/5/fd8448cfeca0b405331c3781f702e3b2.jpg","text":"TemporaryFile(/tmp/multipartBody5802017494749725877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927263015,"filename":"image_05122025_10_08_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/5/eb984fc9880ddae51149d6f80c704f20.jpg","text":"TemporaryFile(/tmp/multipartBody1859928483102297944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927263015,"filename":"image_05122025_10_09_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/5/9fb277f56afd5274d2ea6399b87d06bd.jpg","text":"TemporaryFile(/tmp/multipartBody4907664773726186164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927263015,"filename":"image_05122025_10_08_15_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e2425d3dac13c83dd78ea6360fbe4c5f.jpg","text":"TemporaryFile(/tmp/multipartBody880693748578798792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927263015,"filename":"image_05122025_10_08_54_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/5/3a7f142b5443bb2a4e6d4e920321dd78.jpg","text":"TemporaryFile(/tmp/multipartBody4967881361984248695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927263015,"filename":"image_05122025_10_08_24_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066489","file1":"1398066487","file0":"1398066484","file4":"1398066493","file5":"1398066496","file3":"1398066491"},"map_files_photo_id_array":[{"photo_id":"1398066496","filename":"file5"},{"photo_id":"1398066489","filename":"file2"},{"photo_id":"1398066493","filename":"file4"},{"photo_id":"1398066487","filename":"file1"},{"photo_id":"1398066484","filename":"file0"},{"photo_id":"1398066491","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066489":["hashtag1","hashtag2"]},{"1398066491":["hashtag1","hashtag2"]},{"1398066496":["hashtag1","hashtag2"]},{"1398066484":["hashtag1","hashtag2"]},{"1398066493":["hashtag1","hashtag2"]},{"1398066487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066489, 1398066491, 1398066496, 1398066484, 1398066493, 1398066487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45158076286316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:34:03.110585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/09/image_05122025_10_09_15_9703.jpg', '/home/pi/Desktop/images/05122025/10/09/image_05122025_10_09_24_9703.jpg', '/home/pi/Desktop/images/05122025/10/09/image_05122025_10_09_34_9725.jpg', '/home/pi/Desktop/images/05122025/10/09/image_05122025_10_09_45_10627.jpg', '/home/pi/Desktop/images/05122025/10/09/image_05122025_10_09_54_9597.jpg', '/home/pi/Desktop/images/05122025/10/10/image_05122025_10_10_14_10052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/09/image_05122025_10_09_15_9703.jpg
/home/pi/Desktop/images/05122025/10/09/image_05122025_10_09_24_9703.jpg
/home/pi/Desktop/images/05122025/10/09/image_05122025_10_09_34_9725.jpg
/home/pi/Desktop/images/05122025/10/09/image_05122025_10_09_45_10627.jpg
/home/pi/Desktop/images/05122025/10/09/image_05122025_10_09_54_9597.jpg
/home/pi/Desktop/images/05122025/10/10/image_05122025_10_10_14_10052.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066502","1398066498","1398066507","1398066504","1398066509","1398066500"],"photo_ids_order":["1398066498","1398066500","1398066502","1398066504","1398066507","1398066509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c246755971f752c80a150f4e2e026d87.jpg","text":"TemporaryFile(/tmp/multipartBody8531945504803074676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927303934,"filename":"image_05122025_10_09_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/5/d84f389cb9b6c8865338fcc8ead9644d.jpg","text":"TemporaryFile(/tmp/multipartBody795775315047381895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927303934,"filename":"image_05122025_10_09_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/5/79602dbb1efae1bd18b227d32128da34.jpg","text":"TemporaryFile(/tmp/multipartBody3934826791456068987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927303934,"filename":"image_05122025_10_09_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d34c73fc73ff3362c9f0d0bdb37efae1.jpg","text":"TemporaryFile(/tmp/multipartBody8518764896922472045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927303934,"filename":"image_05122025_10_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/5/abab4be47dd02e8cb2edf433debedf56.jpg","text":"TemporaryFile(/tmp/multipartBody4468542820852541355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927303934,"filename":"image_05122025_10_10_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/5/65a94f55bd76a59fcb596165c60a2c5f.jpg","text":"TemporaryFile(/tmp/multipartBody7379739259596436959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927303934,"filename":"image_05122025_10_09_24_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066502","file1":"1398066500","file0":"1398066498","file4":"1398066507","file5":"1398066509","file3":"1398066504"},"map_files_photo_id_array":[{"photo_id":"1398066509","filename":"file5"},{"photo_id":"1398066502","filename":"file2"},{"photo_id":"1398066507","filename":"file4"},{"photo_id":"1398066500","filename":"file1"},{"photo_id":"1398066498","filename":"file0"},{"photo_id":"1398066504","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066502":["hashtag1","hashtag2"]},{"1398066498":["hashtag1","hashtag2"]},{"1398066507":["hashtag1","hashtag2"]},{"1398066504":["hashtag1","hashtag2"]},{"1398066509":["hashtag1","hashtag2"]},{"1398066500":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066502, 1398066498, 1398066507, 1398066504, 1398066509, 1398066500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98610782623291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:34:42.463920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/15/image_31102025_19_16_00_2632.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_02_2659.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_06_3730.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_11_2614.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_18_2969.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_20_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/15/image_31102025_19_16_00_2632.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_02_2659.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_06_3730.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_11_2614.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_18_2969.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_20_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":["1398066535","1398066525","1398066522","1398066536","1398066527","1398066526"],"photo_ids_order":["1398066522","1398066525","1398066526","1398066527","1398066535","1398066536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/584ecef3829e92b912a905136af3c725.jpg","text":"TemporaryFile(/tmp/multipartBody543839023987503643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927344100,"filename":"image_31102025_19_16_18_2969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0fda7a26b2d36c786884494336bb5c8d.jpg","text":"TemporaryFile(/tmp/multipartBody962724836646095890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927344100,"filename":"image_31102025_19_16_02_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f9d0f792bc2829f7cc99a558b755748.jpg","text":"TemporaryFile(/tmp/multipartBody3310072377988788153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927344100,"filename":"image_31102025_19_16_00_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/5/fff8c1f998f85ef23ec08043207ffa3d.jpg","text":"TemporaryFile(/tmp/multipartBody6891497955643307152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927344100,"filename":"image_31102025_19_16_20_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/5/788b5ff963906d2f52e8dcfeeb0062e4.jpg","text":"TemporaryFile(/tmp/multipartBody3462393429781973461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927344100,"filename":"image_31102025_19_16_11_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/5/f9fbe173624b968a1718aeba3e76b15d.jpg","text":"TemporaryFile(/tmp/multipartBody4198471890499808260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927344100,"filename":"image_31102025_19_16_06_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066526","file1":"1398066525","file0":"1398066522","file4":"1398066535","file5":"1398066536","file3":"1398066527"},"map_files_photo_id_array":[{"photo_id":"1398066536","filename":"file5"},{"photo_id":"1398066526","filename":"file2"},{"photo_id":"1398066535","filename":"file4"},{"photo_id":"1398066525","filename":"file1"},{"photo_id":"1398066522","filename":"file0"},{"photo_id":"1398066527","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398066535":["hashtag1","hashtag2"]},{"1398066525":["hashtag1","hashtag2"]},{"1398066522":["hashtag1","hashtag2"]},{"1398066536":["hashtag1","hashtag2"]},{"1398066527":["hashtag1","hashtag2"]},{"1398066526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398066535, 1398066525, 1398066522, 1398066536, 1398066527, 1398066526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10801124572754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:35:22.763632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/10/image_05122025_10_10_25_10696.jpg', '/home/pi/Desktop/images/05122025/10/10/image_05122025_10_10_34_9592.jpg', '/home/pi/Desktop/images/05122025/10/10/image_05122025_10_10_54_9374.jpg', '/home/pi/Desktop/images/05122025/10/10/image_05122025_10_11_04_9899.jpg', '/home/pi/Desktop/images/05122025/10/11/image_05122025_10_11_15_10715.jpg', '/home/pi/Desktop/images/05122025/10/11/image_05122025_10_11_25_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/10/image_05122025_10_10_25_10696.jpg
/home/pi/Desktop/images/05122025/10/10/image_05122025_10_10_34_9592.jpg
/home/pi/Desktop/images/05122025/10/10/image_05122025_10_10_54_9374.jpg
/home/pi/Desktop/images/05122025/10/10/image_05122025_10_11_04_9899.jpg
/home/pi/Desktop/images/05122025/10/11/image_05122025_10_11_15_10715.jpg
/home/pi/Desktop/images/05122025/10/11/image_05122025_10_11_25_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":["1398066555","1398066552","1398066549","1398066548","1398066542","1398066545"],"photo_ids_order":["1398066542","1398066545","1398066548","1398066549","1398066552","1398066555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d579993b42c3ee57a570270784d105b.jpg","text":"TemporaryFile(/tmp/multipartBody2386934822914272834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927383504,"filename":"image_05122025_10_11_25_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3b480da84d8411c285109b63bac615f1.jpg","text":"TemporaryFile(/tmp/multipartBody7013310556865954546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927383504,"filename":"image_05122025_10_11_15_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/688ab87c707ca6f4a1f41db751ea0f68.jpg","text":"TemporaryFile(/tmp/multipartBody1211163050029750696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927383504,"filename":"image_05122025_10_11_04_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/5/9221f35ba7a70f73e6db875daab3033f.jpg","text":"TemporaryFile(/tmp/multipartBody6937521825121787157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927383504,"filename":"image_05122025_10_10_54_9374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9743e6fed791fb830803187fff9566ed.jpg","text":"TemporaryFile(/tmp/multipartBody3001437418961402364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927383504,"filename":"image_05122025_10_10_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/5/7d252184abd3fc698cc3ee8a88485ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1676481224751947290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927383504,"filename":"image_05122025_10_10_34_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066548","file1":"1398066545","file0":"1398066542","file4":"1398066552","file5":"1398066555","file3":"1398066549"},"map_files_photo_id_array":[{"photo_id":"1398066555","filename":"file5"},{"photo_id":"1398066548","filename":"file2"},{"photo_id":"1398066552","filename":"file4"},{"photo_id":"1398066545","filename":"file1"},{"photo_id":"1398066542","filename":"file0"},{"photo_id":"1398066549","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066555":["hashtag1","hashtag2"]},{"1398066552":["hashtag1","hashtag2"]},{"1398066549":["hashtag1","hashtag2"]},{"1398066548":["hashtag1","hashtag2"]},{"1398066542":["hashtag1","hashtag2"]},{"1398066545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066555, 1398066552, 1398066549, 1398066548, 1398066542, 1398066545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00652837753296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:36:02.244554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/11/image_05122025_10_11_35_9942.jpg', '/home/pi/Desktop/images/05122025/10/11/image_05122025_10_11_44_9765.jpg', '/home/pi/Desktop/images/05122025/10/11/image_05122025_10_11_54_9667.jpg', '/home/pi/Desktop/images/05122025/10/11/image_05122025_10_12_05_10877.jpg', '/home/pi/Desktop/images/05122025/10/12/image_05122025_10_12_15_9671.jpg', '/home/pi/Desktop/images/05122025/10/12/image_05122025_10_12_24_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/11/image_05122025_10_11_35_9942.jpg
/home/pi/Desktop/images/05122025/10/11/image_05122025_10_11_44_9765.jpg
/home/pi/Desktop/images/05122025/10/11/image_05122025_10_11_54_9667.jpg
/home/pi/Desktop/images/05122025/10/11/image_05122025_10_12_05_10877.jpg
/home/pi/Desktop/images/05122025/10/12/image_05122025_10_12_15_9671.jpg
/home/pi/Desktop/images/05122025/10/12/image_05122025_10_12_24_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066556","1398066564","1398066567","1398066560","1398066557","1398066562"],"photo_ids_order":["1398066556","1398066557","1398066560","1398066562","1398066564","1398066567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/337a599154ba052e2d12257770163dfb.jpg","text":"TemporaryFile(/tmp/multipartBody3417196940504676125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927422977,"filename":"image_05122025_10_11_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/5/33261cfd7fe7964c52499db9560ab9b0.jpg","text":"TemporaryFile(/tmp/multipartBody3804489422224775017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927422977,"filename":"image_05122025_10_12_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/5/a62b705cebe7e2bb9d876652bdcd9e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3160247544080586364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927422977,"filename":"image_05122025_10_12_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3bad380eca646b2c88510de1796463e6.jpg","text":"TemporaryFile(/tmp/multipartBody2710862706578968889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927422977,"filename":"image_05122025_10_11_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/5/975d38f1005a202b8859cdccf0830605.jpg","text":"TemporaryFile(/tmp/multipartBody6524292659379651763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927422977,"filename":"image_05122025_10_11_44_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/117a1c9f23ad652dddf18b174f7116fc.jpg","text":"TemporaryFile(/tmp/multipartBody4805024807634699318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927422977,"filename":"image_05122025_10_12_05_10877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066560","file1":"1398066557","file0":"1398066556","file4":"1398066564","file5":"1398066567","file3":"1398066562"},"map_files_photo_id_array":[{"photo_id":"1398066567","filename":"file5"},{"photo_id":"1398066560","filename":"file2"},{"photo_id":"1398066564","filename":"file4"},{"photo_id":"1398066557","filename":"file1"},{"photo_id":"1398066556","filename":"file0"},{"photo_id":"1398066562","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066556":["hashtag1","hashtag2"]},{"1398066564":["hashtag1","hashtag2"]},{"1398066567":["hashtag1","hashtag2"]},{"1398066560":["hashtag1","hashtag2"]},{"1398066557":["hashtag1","hashtag2"]},{"1398066562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066556, 1398066564, 1398066567, 1398066560, 1398066557, 1398066562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8850884437561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:36:41.811997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_24_3662.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_29_2569.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_33_3654.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_35_2594.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_39_3590.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_42_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_24_3662.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_29_2569.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_33_3654.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_35_2594.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_39_3590.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_42_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":["1398066573","1398066576","1398066578","1398066580","1398066583","1398066592"],"photo_ids_order":["1398066573","1398066576","1398066578","1398066580","1398066583","1398066592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d8817b4f566a00c5a05adbe7947bd947.jpg","text":"TemporaryFile(/tmp/multipartBody2203791914501620495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927463488,"filename":"image_31102025_19_16_24_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7efbbc28aef058f71b68d8cd618f97ca.jpg","text":"TemporaryFile(/tmp/multipartBody8168954934038481547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927463488,"filename":"image_31102025_19_16_29_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f892cb2dfe8804380da462500b7a29e.jpg","text":"TemporaryFile(/tmp/multipartBody676363963299106373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927463488,"filename":"image_31102025_19_16_33_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/5/b35f6b1dcf873a647bb17cc34a334311.jpg","text":"TemporaryFile(/tmp/multipartBody3103478065284126041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927463488,"filename":"image_31102025_19_16_35_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/5/9a464eb30c2555b18cdf6c7bdaa22a1d.jpg","text":"TemporaryFile(/tmp/multipartBody26809062348992004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927463488,"filename":"image_31102025_19_16_39_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/5/706c9fff3bf1bca3e958394e167d87f1.jpg","text":"TemporaryFile(/tmp/multipartBody4628243588682313149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927463488,"filename":"image_31102025_19_16_42_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066578","file1":"1398066576","file0":"1398066573","file4":"1398066583","file5":"1398066592","file3":"1398066580"},"map_files_photo_id_array":[{"photo_id":"1398066592","filename":"file5"},{"photo_id":"1398066578","filename":"file2"},{"photo_id":"1398066583","filename":"file4"},{"photo_id":"1398066576","filename":"file1"},{"photo_id":"1398066573","filename":"file0"},{"photo_id":"1398066580","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398066573":["hashtag1","hashtag2"]},{"1398066576":["hashtag1","hashtag2"]},{"1398066578":["hashtag1","hashtag2"]},{"1398066580":["hashtag1","hashtag2"]},{"1398066583":["hashtag1","hashtag2"]},{"1398066592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398066573, 1398066576, 1398066578, 1398066580, 1398066583, 1398066592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88241457939148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:37:22.042826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/12/image_05122025_10_12_35_10690.jpg', '/home/pi/Desktop/images/05122025/10/12/image_05122025_10_12_45_9793.jpg', '/home/pi/Desktop/images/05122025/10/12/image_05122025_10_12_54_9620.jpg', '/home/pi/Desktop/images/05122025/10/12/image_05122025_10_13_04_9771.jpg', '/home/pi/Desktop/images/05122025/10/13/image_05122025_10_13_15_10685.jpg', '/home/pi/Desktop/images/05122025/10/13/image_05122025_10_13_25_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/12/image_05122025_10_12_35_10690.jpg
/home/pi/Desktop/images/05122025/10/12/image_05122025_10_12_45_9793.jpg
/home/pi/Desktop/images/05122025/10/12/image_05122025_10_12_54_9620.jpg
/home/pi/Desktop/images/05122025/10/12/image_05122025_10_13_04_9771.jpg
/home/pi/Desktop/images/05122025/10/13/image_05122025_10_13_15_10685.jpg
/home/pi/Desktop/images/05122025/10/13/image_05122025_10_13_25_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":["1398066613","1398066610","1398066606","1398066600","1398066603","1398066608"],"photo_ids_order":["1398066600","1398066603","1398066606","1398066608","1398066610","1398066613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0def999e523ed6b04641a133297e9136.jpg","text":"TemporaryFile(/tmp/multipartBody4731314959331436282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927502764,"filename":"image_05122025_10_13_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/5/c98ee69c12e2fc805cb766d800da6aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5544953576433057129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927502764,"filename":"image_05122025_10_13_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f660e7233a9a9e1274e294ef28cca5d.jpg","text":"TemporaryFile(/tmp/multipartBody6064486081266824464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927502764,"filename":"image_05122025_10_12_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/56d315f0a01539cb03b76d3fbe6fbc6e.jpg","text":"TemporaryFile(/tmp/multipartBody6916280379585324807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927502764,"filename":"image_05122025_10_12_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/5/7edec0b31e5889c4fcc10a61b3992550.jpg","text":"TemporaryFile(/tmp/multipartBody6170728316947799717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927502764,"filename":"image_05122025_10_12_45_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/5/43c65dbd27d7c888df76dad3b6fc461b.jpg","text":"TemporaryFile(/tmp/multipartBody7218341378141089212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927502764,"filename":"image_05122025_10_13_04_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066606","file1":"1398066603","file0":"1398066600","file4":"1398066610","file5":"1398066613","file3":"1398066608"},"map_files_photo_id_array":[{"photo_id":"1398066613","filename":"file5"},{"photo_id":"1398066606","filename":"file2"},{"photo_id":"1398066610","filename":"file4"},{"photo_id":"1398066603","filename":"file1"},{"photo_id":"1398066600","filename":"file0"},{"photo_id":"1398066608","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066613":["hashtag1","hashtag2"]},{"1398066610":["hashtag1","hashtag2"]},{"1398066606":["hashtag1","hashtag2"]},{"1398066600":["hashtag1","hashtag2"]},{"1398066603":["hashtag1","hashtag2"]},{"1398066608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066613, 1398066610, 1398066606, 1398066600, 1398066603, 1398066608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.044867515563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:38:02.661000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/13/image_05122025_10_13_34_9732.jpg', '/home/pi/Desktop/images/05122025/10/13/image_05122025_10_13_44_9762.jpg', '/home/pi/Desktop/images/05122025/10/13/image_05122025_10_13_55_10799.jpg', '/home/pi/Desktop/images/05122025/10/13/image_05122025_10_14_05_9688.jpg', '/home/pi/Desktop/images/05122025/10/14/image_05122025_10_14_14_9589.jpg', '/home/pi/Desktop/images/05122025/10/14/image_05122025_10_14_25_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/13/image_05122025_10_13_34_9732.jpg
/home/pi/Desktop/images/05122025/10/13/image_05122025_10_13_44_9762.jpg
/home/pi/Desktop/images/05122025/10/13/image_05122025_10_13_55_10799.jpg
/home/pi/Desktop/images/05122025/10/13/image_05122025_10_14_05_9688.jpg
/home/pi/Desktop/images/05122025/10/14/image_05122025_10_14_14_9589.jpg
/home/pi/Desktop/images/05122025/10/14/image_05122025_10_14_25_10785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066630","1398066618","1398066620","1398066623","1398066617","1398066626"],"photo_ids_order":["1398066617","1398066618","1398066620","1398066623","1398066626","1398066630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/521d7b4906cd183a4418146fff08a5c6.jpg","text":"TemporaryFile(/tmp/multipartBody2892397387004684318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927543383,"filename":"image_05122025_10_14_25_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/5/e8bc5972838fba7680e96be627561c6d.jpg","text":"TemporaryFile(/tmp/multipartBody519692502265839599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927543383,"filename":"image_05122025_10_13_44_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c5f88955e296d71cf47ade308996f3c.jpg","text":"TemporaryFile(/tmp/multipartBody7922048002161031790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927543383,"filename":"image_05122025_10_13_55_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/158ce141f565550dd49f7086ddaa1250.jpg","text":"TemporaryFile(/tmp/multipartBody7601771489447377133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927543383,"filename":"image_05122025_10_14_05_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/39870e57e3d7d47b692eb9ceadd9eb73.jpg","text":"TemporaryFile(/tmp/multipartBody4535857915267121656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927543383,"filename":"image_05122025_10_13_34_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/5/cd7c6f7a8ebc0ef985a40a6b4cf9ae28.jpg","text":"TemporaryFile(/tmp/multipartBody7351934161752348775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927543383,"filename":"image_05122025_10_14_14_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066620","file1":"1398066618","file0":"1398066617","file4":"1398066626","file5":"1398066630","file3":"1398066623"},"map_files_photo_id_array":[{"photo_id":"1398066630","filename":"file5"},{"photo_id":"1398066620","filename":"file2"},{"photo_id":"1398066626","filename":"file4"},{"photo_id":"1398066618","filename":"file1"},{"photo_id":"1398066617","filename":"file0"},{"photo_id":"1398066623","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066630":["hashtag1","hashtag2"]},{"1398066618":["hashtag1","hashtag2"]},{"1398066620":["hashtag1","hashtag2"]},{"1398066623":["hashtag1","hashtag2"]},{"1398066617":["hashtag1","hashtag2"]},{"1398066626":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066630, 1398066618, 1398066620, 1398066623, 1398066617, 1398066626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22654438018799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:38:42.225176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_44_2782.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_48_3662.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_53_2587.jpg', '/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_57_3715.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_03_2695.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_05_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_44_2782.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_48_3662.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_53_2587.jpg
/home/pi/Desktop/images/31102025/19/16/image_31102025_19_16_57_3715.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_03_2695.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_05_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066672","1398066669","1398066645","1398066639","1398066680","1398066668"],"photo_ids_order":["1398066639","1398066645","1398066668","1398066669","1398066672","1398066680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4af8c70abe828f7a3206964dae53cd17.jpg","text":"TemporaryFile(/tmp/multipartBody611376207320444884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927583905,"filename":"image_31102025_19_17_03_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/5/7078e914f4f6290e15541c3a867e347d.jpg","text":"TemporaryFile(/tmp/multipartBody2349819955733934725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927583905,"filename":"image_31102025_19_16_57_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/5/36dc1bb845712f78e064b5c7f1d96c08.jpg","text":"TemporaryFile(/tmp/multipartBody2413695221038332069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927583905,"filename":"image_31102025_19_16_48_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b629a518d6240f0e017dbee622d24b65.jpg","text":"TemporaryFile(/tmp/multipartBody232198010871893408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927583905,"filename":"image_31102025_19_16_44_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/5/34c241061d5e82ae0db18033eac2be89.jpg","text":"TemporaryFile(/tmp/multipartBody3344992209481018995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927583905,"filename":"image_31102025_19_17_05_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/5/aa1381368d5c4f7b22225ea80b96a0e7.jpg","text":"TemporaryFile(/tmp/multipartBody3737885932650884112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927583905,"filename":"image_31102025_19_16_53_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066668","file1":"1398066645","file0":"1398066639","file4":"1398066672","file5":"1398066680","file3":"1398066669"},"map_files_photo_id_array":[{"photo_id":"1398066680","filename":"file5"},{"photo_id":"1398066668","filename":"file2"},{"photo_id":"1398066672","filename":"file4"},{"photo_id":"1398066645","filename":"file1"},{"photo_id":"1398066639","filename":"file0"},{"photo_id":"1398066669","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398066672":["hashtag1","hashtag2"]},{"1398066669":["hashtag1","hashtag2"]},{"1398066645":["hashtag1","hashtag2"]},{"1398066639":["hashtag1","hashtag2"]},{"1398066680":["hashtag1","hashtag2"]},{"1398066668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398066672, 1398066669, 1398066645, 1398066639, 1398066680, 1398066668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14712715148926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:39:22.460766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/14/image_05122025_10_14_35_9725.jpg', '/home/pi/Desktop/images/05122025/10/14/image_05122025_10_14_45_9737.jpg', '/home/pi/Desktop/images/05122025/10/14/image_05122025_10_14_55_10595.jpg', '/home/pi/Desktop/images/05122025/10/15/image_05122025_10_15_14_10060.jpg', '/home/pi/Desktop/images/05122025/10/15/image_05122025_10_15_25_10598.jpg', '/home/pi/Desktop/images/05122025/10/15/image_05122025_10_15_34_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/14/image_05122025_10_14_35_9725.jpg
/home/pi/Desktop/images/05122025/10/14/image_05122025_10_14_45_9737.jpg
/home/pi/Desktop/images/05122025/10/14/image_05122025_10_14_55_10595.jpg
/home/pi/Desktop/images/05122025/10/15/image_05122025_10_15_14_10060.jpg
/home/pi/Desktop/images/05122025/10/15/image_05122025_10_15_25_10598.jpg
/home/pi/Desktop/images/05122025/10/15/image_05122025_10_15_34_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":["1398066699","1398066690","1398066693","1398066696","1398066692","1398066686"],"photo_ids_order":["1398066686","1398066690","1398066692","1398066693","1398066696","1398066699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/518a08ed00e20f0d7627d5c24e1bb9a1.jpg","text":"TemporaryFile(/tmp/multipartBody1506851563430978695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927623233,"filename":"image_05122025_10_15_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ddf02d96b85400ee561fd6d36a46f1a.jpg","text":"TemporaryFile(/tmp/multipartBody5570293359845276758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927623233,"filename":"image_05122025_10_14_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20b0f8eb8f3180c472440b0891877a1f.jpg","text":"TemporaryFile(/tmp/multipartBody4966459349421119958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927623233,"filename":"image_05122025_10_15_14_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c6e27edad1ff88f5024f96551838dd5.jpg","text":"TemporaryFile(/tmp/multipartBody3093586996589669533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927623233,"filename":"image_05122025_10_15_25_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/5/8d6bf71903d05537a7b51d23c550951b.jpg","text":"TemporaryFile(/tmp/multipartBody2164031347848679628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927623233,"filename":"image_05122025_10_14_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/5/f9ca2ad8a8bc2500bc2411dfc313288f.jpg","text":"TemporaryFile(/tmp/multipartBody5465991853838172844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927623233,"filename":"image_05122025_10_14_35_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066692","file1":"1398066690","file0":"1398066686","file4":"1398066696","file5":"1398066699","file3":"1398066693"},"map_files_photo_id_array":[{"photo_id":"1398066699","filename":"file5"},{"photo_id":"1398066692","filename":"file2"},{"photo_id":"1398066696","filename":"file4"},{"photo_id":"1398066690","filename":"file1"},{"photo_id":"1398066686","filename":"file0"},{"photo_id":"1398066693","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066699":["hashtag1","hashtag2"]},{"1398066690":["hashtag1","hashtag2"]},{"1398066693":["hashtag1","hashtag2"]},{"1398066696":["hashtag1","hashtag2"]},{"1398066692":["hashtag1","hashtag2"]},{"1398066686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066699, 1398066690, 1398066693, 1398066696, 1398066692, 1398066686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67660427093506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:40:03.090605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/15/image_05122025_10_15_44_9816.jpg', '/home/pi/Desktop/images/05122025/10/15/image_05122025_10_15_55_10651.jpg', '/home/pi/Desktop/images/05122025/10/15/image_05122025_10_16_05_9856.jpg', '/home/pi/Desktop/images/05122025/10/16/image_05122025_10_16_14_9718.jpg', '/home/pi/Desktop/images/05122025/10/16/image_05122025_10_16_24_9765.jpg', '/home/pi/Desktop/images/05122025/10/16/image_05122025_10_16_35_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/15/image_05122025_10_15_44_9816.jpg
/home/pi/Desktop/images/05122025/10/15/image_05122025_10_15_55_10651.jpg
/home/pi/Desktop/images/05122025/10/15/image_05122025_10_16_05_9856.jpg
/home/pi/Desktop/images/05122025/10/16/image_05122025_10_16_14_9718.jpg
/home/pi/Desktop/images/05122025/10/16/image_05122025_10_16_24_9765.jpg
/home/pi/Desktop/images/05122025/10/16/image_05122025_10_16_35_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066706","1398066729","1398066717","1398066726","1398066734","1398066730"],"photo_ids_order":["1398066706","1398066717","1398066726","1398066729","1398066730","1398066734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/daca5aa41285a8ef06b2c2a15a0df87e.jpg","text":"TemporaryFile(/tmp/multipartBody6465236039634118804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927663808,"filename":"image_05122025_10_15_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/5/29031932020b5f1ee834e116b27aad25.jpg","text":"TemporaryFile(/tmp/multipartBody3831481016372499985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927663808,"filename":"image_05122025_10_16_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/5/3086ca888c5fc017d6d9e42ea517bcb5.jpg","text":"TemporaryFile(/tmp/multipartBody4368889593700939727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927663808,"filename":"image_05122025_10_15_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/5/b4b1cc50f394caf111771cac3dd7518c.jpg","text":"TemporaryFile(/tmp/multipartBody2681744287888300263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927663808,"filename":"image_05122025_10_16_05_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/5/d702380a20ef4b2f4682b2d6280ec365.jpg","text":"TemporaryFile(/tmp/multipartBody3409478886056234711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927663808,"filename":"image_05122025_10_16_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/5/0d6244a7868e24920d84788e6e93c43a.jpg","text":"TemporaryFile(/tmp/multipartBody7545811698360415957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927663808,"filename":"image_05122025_10_16_24_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066726","file1":"1398066717","file0":"1398066706","file4":"1398066730","file5":"1398066734","file3":"1398066729"},"map_files_photo_id_array":[{"photo_id":"1398066734","filename":"file5"},{"photo_id":"1398066726","filename":"file2"},{"photo_id":"1398066730","filename":"file4"},{"photo_id":"1398066717","filename":"file1"},{"photo_id":"1398066706","filename":"file0"},{"photo_id":"1398066729","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066706":["hashtag1","hashtag2"]},{"1398066729":["hashtag1","hashtag2"]},{"1398066717":["hashtag1","hashtag2"]},{"1398066726":["hashtag1","hashtag2"]},{"1398066734":["hashtag1","hashtag2"]},{"1398066730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066706, 1398066729, 1398066717, 1398066726, 1398066734, 1398066730)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.517646074295044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:41:03.445058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/16/image_05122025_10_16_45_9963.jpg', '/home/pi/Desktop/images/05122025/10/16/image_05122025_10_16_54_9764.jpg', '/home/pi/Desktop/images/05122025/10/16/image_05122025_10_17_04_9627.jpg', '/home/pi/Desktop/images/05122025/10/17/image_05122025_10_17_15_10775.jpg', '/home/pi/Desktop/images/05122025/10/17/image_05122025_10_17_25_9758.jpg', '/home/pi/Desktop/images/05122025/10/17/image_05122025_10_17_34_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/16/image_05122025_10_16_45_9963.jpg
/home/pi/Desktop/images/05122025/10/16/image_05122025_10_16_54_9764.jpg
/home/pi/Desktop/images/05122025/10/16/image_05122025_10_17_04_9627.jpg
/home/pi/Desktop/images/05122025/10/17/image_05122025_10_17_15_10775.jpg
/home/pi/Desktop/images/05122025/10/17/image_05122025_10_17_25_9758.jpg
/home/pi/Desktop/images/05122025/10/17/image_05122025_10_17_34_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398066748","1398066759","1398066890","1398066854","1398066815","1398066778"],"photo_ids_order":["1398066748","1398066759","1398066778","1398066815","1398066854","1398066890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5760650ec765a8c006043d160dfff1b.jpg","text":"TemporaryFile(/tmp/multipartBody7328465018443608160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927724375,"filename":"image_05122025_10_16_45_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/5/dd431aa0e62003d95724b4b6ceca204b.jpg","text":"TemporaryFile(/tmp/multipartBody3003878483534091590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927724375,"filename":"image_05122025_10_16_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/5/1fcd51578177fea3466c2f543779ddfb.jpg","text":"TemporaryFile(/tmp/multipartBody4383873806288983061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927724375,"filename":"image_05122025_10_17_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/5/ac64b9e5ef80cce8e1842550e4838c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4102448448596123684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927724375,"filename":"image_05122025_10_17_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/5/41a468b1d72ed531f2220d369b51358d.jpg","text":"TemporaryFile(/tmp/multipartBody1747521233094856545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927724375,"filename":"image_05122025_10_17_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/5/91e022051d5e9fc3a79eab2d12356dad.jpg","text":"TemporaryFile(/tmp/multipartBody6886886410308225811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927724375,"filename":"image_05122025_10_17_04_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398066778","file1":"1398066759","file0":"1398066748","file4":"1398066854","file5":"1398066890","file3":"1398066815"},"map_files_photo_id_array":[{"photo_id":"1398066890","filename":"file5"},{"photo_id":"1398066778","filename":"file2"},{"photo_id":"1398066854","filename":"file4"},{"photo_id":"1398066759","filename":"file1"},{"photo_id":"1398066748","filename":"file0"},{"photo_id":"1398066815","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398066748":["hashtag1","hashtag2"]},{"1398066759":["hashtag1","hashtag2"]},{"1398066890":["hashtag1","hashtag2"]},{"1398066854":["hashtag1","hashtag2"]},{"1398066815":["hashtag1","hashtag2"]},{"1398066778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398066748, 1398066759, 1398066890, 1398066854, 1398066815, 1398066778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14226961135864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:41:42.926546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_09_3630.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_11_2663.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_14_2627.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_18_3725.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_20_2581.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_23_2985.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_09_3630.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_11_2663.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_14_2627.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_18_3725.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_20_2581.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_23_2985.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":["1398067065","1398067026","1398067023","1398067061","1398067043","1398067063"],"photo_ids_order":["1398067023","1398067026","1398067043","1398067061","1398067063","1398067065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d1ee6e34ab739d49f1ca380c77c4b8d5.jpg","text":"TemporaryFile(/tmp/multipartBody8193121165979869627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927786753,"filename":"image_31102025_19_17_23_2985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fee858f84569f0afc84d900b39e03869.jpg","text":"TemporaryFile(/tmp/multipartBody8570176849802089836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927786753,"filename":"image_31102025_19_17_11_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e68b01d099fcf026504d033dc8731dc8.jpg","text":"TemporaryFile(/tmp/multipartBody5312033552932352209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927786753,"filename":"image_31102025_19_17_09_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/5/50a09a6e1071729dd998107262f46f2c.jpg","text":"TemporaryFile(/tmp/multipartBody6105508560153864065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927786753,"filename":"image_31102025_19_17_18_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/5/abf3b6d413139aa9527c54495154235c.jpg","text":"TemporaryFile(/tmp/multipartBody5299648329531643442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927786753,"filename":"image_31102025_19_17_14_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/5/a2b7d6f877a2522acbf253ba6973cc83.jpg","text":"TemporaryFile(/tmp/multipartBody1803804409114902631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927786753,"filename":"image_31102025_19_17_20_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067043","file1":"1398067026","file0":"1398067023","file4":"1398067063","file5":"1398067065","file3":"1398067061"},"map_files_photo_id_array":[{"photo_id":"1398067065","filename":"file5"},{"photo_id":"1398067043","filename":"file2"},{"photo_id":"1398067063","filename":"file4"},{"photo_id":"1398067026","filename":"file1"},{"photo_id":"1398067023","filename":"file0"},{"photo_id":"1398067061","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398067065":["hashtag1","hashtag2"]},{"1398067026":["hashtag1","hashtag2"]},{"1398067023":["hashtag1","hashtag2"]},{"1398067061":["hashtag1","hashtag2"]},{"1398067043":["hashtag1","hashtag2"]},{"1398067063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398067065, 1398067026, 1398067023, 1398067061, 1398067043, 1398067063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.40134048461914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:43:03.044197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/17/image_05122025_10_17_45_10584.jpg', '/home/pi/Desktop/images/05122025/10/17/image_05122025_10_17_55_9742.jpg', '/home/pi/Desktop/images/05122025/10/17/image_05122025_10_18_04_9563.jpg', '/home/pi/Desktop/images/05122025/10/18/image_05122025_10_18_15_10607.jpg', '/home/pi/Desktop/images/05122025/10/18/image_05122025_10_18_24_9600.jpg', '/home/pi/Desktop/images/05122025/10/18/image_05122025_10_18_35_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/17/image_05122025_10_17_45_10584.jpg
/home/pi/Desktop/images/05122025/10/17/image_05122025_10_17_55_9742.jpg
/home/pi/Desktop/images/05122025/10/17/image_05122025_10_18_04_9563.jpg
/home/pi/Desktop/images/05122025/10/18/image_05122025_10_18_15_10607.jpg
/home/pi/Desktop/images/05122025/10/18/image_05122025_10_18_24_9600.jpg
/home/pi/Desktop/images/05122025/10/18/image_05122025_10_18_35_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067164","1398067158","1398067167","1398067160","1398067165","1398067162"],"photo_ids_order":["1398067158","1398067160","1398067162","1398067164","1398067165","1398067167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a18a9cc168edfbec692f530aeda5f4b.jpg","text":"TemporaryFile(/tmp/multipartBody7582306833091260810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927843760,"filename":"image_05122025_10_18_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/5/663725a19035415416b324026d01eff0.jpg","text":"TemporaryFile(/tmp/multipartBody4461391316107209079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927843760,"filename":"image_05122025_10_17_45_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/5/0249f3a9d99b4181a1082a109660f36e.jpg","text":"TemporaryFile(/tmp/multipartBody6587128866661949763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927843760,"filename":"image_05122025_10_18_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/5/51c57096001927d4679d18f7c4a02c74.jpg","text":"TemporaryFile(/tmp/multipartBody7817091765892545244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927843760,"filename":"image_05122025_10_17_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/5/921419abcc1c153e4b77575c98d57607.jpg","text":"TemporaryFile(/tmp/multipartBody6127929848050986247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927843760,"filename":"image_05122025_10_18_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/5/172c2d4f32f9b4d182041cd78e60e5f1.jpg","text":"TemporaryFile(/tmp/multipartBody3262368200547020813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927843760,"filename":"image_05122025_10_18_04_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067162","file1":"1398067160","file0":"1398067158","file4":"1398067165","file5":"1398067167","file3":"1398067164"},"map_files_photo_id_array":[{"photo_id":"1398067167","filename":"file5"},{"photo_id":"1398067162","filename":"file2"},{"photo_id":"1398067165","filename":"file4"},{"photo_id":"1398067160","filename":"file1"},{"photo_id":"1398067158","filename":"file0"},{"photo_id":"1398067164","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067164":["hashtag1","hashtag2"]},{"1398067158":["hashtag1","hashtag2"]},{"1398067167":["hashtag1","hashtag2"]},{"1398067160":["hashtag1","hashtag2"]},{"1398067165":["hashtag1","hashtag2"]},{"1398067162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067164, 1398067158, 1398067167, 1398067160, 1398067165, 1398067162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.366917848587036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:43:42.364018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_27_3562.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_30_2612.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_32_2669.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_36_3710.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_39_2599.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_41_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_27_3562.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_30_2612.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_32_2669.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_36_3710.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_39_2599.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_41_2754.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5611612796783447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:44:03.017548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/18/image_05122025_10_18_45_9704.jpg', '/home/pi/Desktop/images/05122025/10/18/image_05122025_10_18_54_9569.jpg', '/home/pi/Desktop/images/05122025/10/18/image_05122025_10_19_05_10741.jpg', '/home/pi/Desktop/images/05122025/10/19/image_05122025_10_19_15_9641.jpg', '/home/pi/Desktop/images/05122025/10/19/image_05122025_10_19_24_9796.jpg', '/home/pi/Desktop/images/05122025/10/19/image_05122025_10_19_34_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/18/image_05122025_10_18_45_9704.jpg
/home/pi/Desktop/images/05122025/10/18/image_05122025_10_18_54_9569.jpg
/home/pi/Desktop/images/05122025/10/18/image_05122025_10_19_05_10741.jpg
/home/pi/Desktop/images/05122025/10/19/image_05122025_10_19_15_9641.jpg
/home/pi/Desktop/images/05122025/10/19/image_05122025_10_19_24_9796.jpg
/home/pi/Desktop/images/05122025/10/19/image_05122025_10_19_34_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067383","1398067185","1398067304","1398067267","1398067342","1398067225"],"photo_ids_order":["1398067185","1398067225","1398067267","1398067304","1398067342","1398067383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a3fd7e5ce14a1d417cca8a3fefbcd3ef.jpg","text":"TemporaryFile(/tmp/multipartBody130998371658261674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927905985,"filename":"image_05122025_10_19_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eaa3ab044ab0483505b5dea88b5db635.jpg","text":"TemporaryFile(/tmp/multipartBody2299011263504616950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927905985,"filename":"image_05122025_10_18_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/5/b67601fa70d6a1add1d1a77247196330.jpg","text":"TemporaryFile(/tmp/multipartBody224598247202297317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927905985,"filename":"image_05122025_10_19_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08b2cfb3dfa5c200e0f33cde63883783.jpg","text":"TemporaryFile(/tmp/multipartBody4378311432632377710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927905985,"filename":"image_05122025_10_19_05_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/5/2dcbf0c25adf0bda3e7834d3b334ef92.jpg","text":"TemporaryFile(/tmp/multipartBody2420881688386126898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927905985,"filename":"image_05122025_10_19_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/5/8fa11f41abe3b84f02df0c509ae63a9a.jpg","text":"TemporaryFile(/tmp/multipartBody3730566730039742627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927905985,"filename":"image_05122025_10_18_54_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067267","file1":"1398067225","file0":"1398067185","file4":"1398067342","file5":"1398067383","file3":"1398067304"},"map_files_photo_id_array":[{"photo_id":"1398067383","filename":"file5"},{"photo_id":"1398067267","filename":"file2"},{"photo_id":"1398067342","filename":"file4"},{"photo_id":"1398067225","filename":"file1"},{"photo_id":"1398067185","filename":"file0"},{"photo_id":"1398067304","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067383":["hashtag1","hashtag2"]},{"1398067185":["hashtag1","hashtag2"]},{"1398067304":["hashtag1","hashtag2"]},{"1398067267":["hashtag1","hashtag2"]},{"1398067342":["hashtag1","hashtag2"]},{"1398067225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067383, 1398067185, 1398067304, 1398067267, 1398067342, 1398067225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43293213844299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:45:03.409075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/19/image_05122025_10_19_45_10684.jpg', '/home/pi/Desktop/images/05122025/10/19/image_05122025_10_19_54_9663.jpg', '/home/pi/Desktop/images/05122025/10/21/image_05122025_10_21_14_10038.jpg', '/home/pi/Desktop/images/05122025/10/21/image_05122025_10_21_24_10718.jpg', '/home/pi/Desktop/images/05122025/10/21/image_05122025_10_21_34_9613.jpg', '/home/pi/Desktop/images/05122025/10/21/image_05122025_10_21_44_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/19/image_05122025_10_19_45_10684.jpg
/home/pi/Desktop/images/05122025/10/19/image_05122025_10_19_54_9663.jpg
/home/pi/Desktop/images/05122025/10/21/image_05122025_10_21_14_10038.jpg
/home/pi/Desktop/images/05122025/10/21/image_05122025_10_21_24_10718.jpg
/home/pi/Desktop/images/05122025/10/21/image_05122025_10_21_34_9613.jpg
/home/pi/Desktop/images/05122025/10/21/image_05122025_10_21_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":["1398067431","1398067433","1398067427","1398067438","1398067435","1398067429"],"photo_ids_order":["1398067427","1398067429","1398067431","1398067433","1398067435","1398067438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf672d1cb3da06651fc1689e94de34ba.jpg","text":"TemporaryFile(/tmp/multipartBody3274844378344059954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927964153,"filename":"image_05122025_10_21_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/5/4b020bd9c644c0cfee5bfe525a859f77.jpg","text":"TemporaryFile(/tmp/multipartBody4942159953874655423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927964153,"filename":"image_05122025_10_21_24_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/5/fe4e982a53e9031bd91275d874788719.jpg","text":"TemporaryFile(/tmp/multipartBody5266018068520258270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927964153,"filename":"image_05122025_10_19_45_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a69d5dc36be494d5ea75b32060523b16.jpg","text":"TemporaryFile(/tmp/multipartBody6833701303678082212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927964153,"filename":"image_05122025_10_21_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/5/0f119d0d26c96c3d0474496940158cf9.jpg","text":"TemporaryFile(/tmp/multipartBody618049785064142012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927964153,"filename":"image_05122025_10_21_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/5/84e6ddbec052e5273e25e9a032215565.jpg","text":"TemporaryFile(/tmp/multipartBody7356159783349861985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764927964153,"filename":"image_05122025_10_19_54_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067431","file1":"1398067429","file0":"1398067427","file4":"1398067435","file5":"1398067438","file3":"1398067433"},"map_files_photo_id_array":[{"photo_id":"1398067438","filename":"file5"},{"photo_id":"1398067431","filename":"file2"},{"photo_id":"1398067435","filename":"file4"},{"photo_id":"1398067429","filename":"file1"},{"photo_id":"1398067427","filename":"file0"},{"photo_id":"1398067433","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067431":["hashtag1","hashtag2"]},{"1398067433":["hashtag1","hashtag2"]},{"1398067427":["hashtag1","hashtag2"]},{"1398067438":["hashtag1","hashtag2"]},{"1398067435":["hashtag1","hashtag2"]},{"1398067429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067431, 1398067433, 1398067427, 1398067438, 1398067435, 1398067429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81569504737854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:45:42.676467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_27_3562.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_30_2612.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_32_2669.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_36_3710.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_39_2599.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_41_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_27_3562.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_30_2612.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_32_2669.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_36_3710.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_39_2599.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_41_2754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067449","1398067451","1398067448","1398067450","1398067444","1398067447"],"photo_ids_order":["1398067444","1398067447","1398067448","1398067449","1398067450","1398067451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aa9d948b551c647f4a685401f828aa69.jpg","text":"TemporaryFile(/tmp/multipartBody2781116424459921996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928004192,"filename":"image_31102025_19_17_36_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3bcd8e49c2e50aff6781986798b35167.jpg","text":"TemporaryFile(/tmp/multipartBody2819316373458800501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928004192,"filename":"image_31102025_19_17_41_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/5/0404b84d570f3e61b527076dff2470b3.jpg","text":"TemporaryFile(/tmp/multipartBody2126123447368527366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928004192,"filename":"image_31102025_19_17_32_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/5/b059722709e72e8b0414698bc9f942dc.jpg","text":"TemporaryFile(/tmp/multipartBody3455471262740654803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928004192,"filename":"image_31102025_19_17_39_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/16ea4ca766b574eb7e3e0f9b247dafe2.jpg","text":"TemporaryFile(/tmp/multipartBody6383400908635543257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928004192,"filename":"image_31102025_19_17_27_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/5/a2ca86ceeb97f2a7085c7bc3078566af.jpg","text":"TemporaryFile(/tmp/multipartBody6376093410290003754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928004192,"filename":"image_31102025_19_17_30_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067448","file1":"1398067447","file0":"1398067444","file4":"1398067450","file5":"1398067451","file3":"1398067449"},"map_files_photo_id_array":[{"photo_id":"1398067451","filename":"file5"},{"photo_id":"1398067448","filename":"file2"},{"photo_id":"1398067450","filename":"file4"},{"photo_id":"1398067447","filename":"file1"},{"photo_id":"1398067444","filename":"file0"},{"photo_id":"1398067449","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398067449":["hashtag1","hashtag2"]},{"1398067451":["hashtag1","hashtag2"]},{"1398067448":["hashtag1","hashtag2"]},{"1398067450":["hashtag1","hashtag2"]},{"1398067444":["hashtag1","hashtag2"]},{"1398067447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398067449, 1398067451, 1398067448, 1398067450, 1398067444, 1398067447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15304923057556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:46:21.848146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/21/image_05122025_10_21_54_10825.jpg', '/home/pi/Desktop/images/05122025/10/21/image_05122025_10_22_04_9642.jpg', '/home/pi/Desktop/images/05122025/10/22/image_05122025_10_22_14_9756.jpg', '/home/pi/Desktop/images/05122025/10/22/image_05122025_10_22_25_10635.jpg', '/home/pi/Desktop/images/05122025/10/22/image_05122025_10_22_34_9642.jpg', '/home/pi/Desktop/images/05122025/10/22/image_05122025_10_22_44_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/21/image_05122025_10_21_54_10825.jpg
/home/pi/Desktop/images/05122025/10/21/image_05122025_10_22_04_9642.jpg
/home/pi/Desktop/images/05122025/10/22/image_05122025_10_22_14_9756.jpg
/home/pi/Desktop/images/05122025/10/22/image_05122025_10_22_25_10635.jpg
/home/pi/Desktop/images/05122025/10/22/image_05122025_10_22_34_9642.jpg
/home/pi/Desktop/images/05122025/10/22/image_05122025_10_22_44_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067458","1398067463","1398067460","1398067474","1398067456","1398067453"],"photo_ids_order":["1398067453","1398067456","1398067458","1398067460","1398067463","1398067474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a298941652665e03b80c7337b60a1193.jpg","text":"TemporaryFile(/tmp/multipartBody2184844244524083075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928042531,"filename":"image_05122025_10_22_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78f91f878fe8efc569e85019014ab00a.jpg","text":"TemporaryFile(/tmp/multipartBody545248405131065447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928042531,"filename":"image_05122025_10_22_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e86ab9a25ec2ef3bd14b54bddcdd82e4.jpg","text":"TemporaryFile(/tmp/multipartBody3065176565004406860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928042531,"filename":"image_05122025_10_22_25_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/5/d04c659e76baf84dffc5e060ac93b59b.jpg","text":"TemporaryFile(/tmp/multipartBody2087812294224444451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928042531,"filename":"image_05122025_10_22_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/5/0d35c059c2f717db72b3583a5ba7164e.jpg","text":"TemporaryFile(/tmp/multipartBody5247266085240549065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928042531,"filename":"image_05122025_10_22_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/5/df2563609fc517fdc99db19ad6cbbe85.jpg","text":"TemporaryFile(/tmp/multipartBody8985366295410096748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928042531,"filename":"image_05122025_10_21_54_10825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067458","file1":"1398067456","file0":"1398067453","file4":"1398067463","file5":"1398067474","file3":"1398067460"},"map_files_photo_id_array":[{"photo_id":"1398067474","filename":"file5"},{"photo_id":"1398067458","filename":"file2"},{"photo_id":"1398067463","filename":"file4"},{"photo_id":"1398067456","filename":"file1"},{"photo_id":"1398067453","filename":"file0"},{"photo_id":"1398067460","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067458":["hashtag1","hashtag2"]},{"1398067463":["hashtag1","hashtag2"]},{"1398067460":["hashtag1","hashtag2"]},{"1398067474":["hashtag1","hashtag2"]},{"1398067456":["hashtag1","hashtag2"]},{"1398067453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067458, 1398067463, 1398067460, 1398067474, 1398067456, 1398067453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.242680072784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:47:02.729487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/22/image_05122025_10_22_54_9857.jpg', '/home/pi/Desktop/images/05122025/10/22/image_05122025_10_23_04_10608.jpg', '/home/pi/Desktop/images/05122025/10/23/image_05122025_10_23_14_9626.jpg', '/home/pi/Desktop/images/05122025/10/23/image_05122025_10_23_24_9713.jpg', '/home/pi/Desktop/images/05122025/10/23/image_05122025_10_23_35_10916.jpg', '/home/pi/Desktop/images/05122025/10/23/image_05122025_10_23_44_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/22/image_05122025_10_22_54_9857.jpg
/home/pi/Desktop/images/05122025/10/22/image_05122025_10_23_04_10608.jpg
/home/pi/Desktop/images/05122025/10/23/image_05122025_10_23_14_9626.jpg
/home/pi/Desktop/images/05122025/10/23/image_05122025_10_23_24_9713.jpg
/home/pi/Desktop/images/05122025/10/23/image_05122025_10_23_35_10916.jpg
/home/pi/Desktop/images/05122025/10/23/image_05122025_10_23_44_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067481","1398067487","1398067483","1398067477","1398067485","1398067479"],"photo_ids_order":["1398067477","1398067479","1398067481","1398067483","1398067485","1398067487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4585cb5cf9a09e64fd8a2283888bb477.jpg","text":"TemporaryFile(/tmp/multipartBody2942742146189999917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928083455,"filename":"image_05122025_10_23_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/5/f2722c9551cd108ef6a44a6a8ae1a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody1144402540089112915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928083455,"filename":"image_05122025_10_23_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/5/f62144eeacb8f77b3cae4ed72914d78e.jpg","text":"TemporaryFile(/tmp/multipartBody1276977799790153378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928083455,"filename":"image_05122025_10_23_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/5/b69764e401d9ced83c0107cfbb459c14.jpg","text":"TemporaryFile(/tmp/multipartBody222952803829433578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928083455,"filename":"image_05122025_10_22_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/5/599e03006f00f0ac35676c527203784b.jpg","text":"TemporaryFile(/tmp/multipartBody3329992669060267452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928083455,"filename":"image_05122025_10_23_35_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/5/2e7785f1ab8d4ea37d2ce8514b76f1b7.jpg","text":"TemporaryFile(/tmp/multipartBody268967444384441720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928083455,"filename":"image_05122025_10_23_04_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067481","file1":"1398067479","file0":"1398067477","file4":"1398067485","file5":"1398067487","file3":"1398067483"},"map_files_photo_id_array":[{"photo_id":"1398067487","filename":"file5"},{"photo_id":"1398067481","filename":"file2"},{"photo_id":"1398067485","filename":"file4"},{"photo_id":"1398067479","filename":"file1"},{"photo_id":"1398067477","filename":"file0"},{"photo_id":"1398067483","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067481":["hashtag1","hashtag2"]},{"1398067487":["hashtag1","hashtag2"]},{"1398067483":["hashtag1","hashtag2"]},{"1398067477":["hashtag1","hashtag2"]},{"1398067485":["hashtag1","hashtag2"]},{"1398067479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067481, 1398067487, 1398067483, 1398067477, 1398067485, 1398067479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76218008995056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:47:42.124421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_45_3559.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_47_2517.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_51_3619.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_54_2708.jpg', '/home/pi/Desktop/images/31102025/19/17/image_31102025_19_18_00_3623.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_03_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_45_3559.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_47_2517.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_51_3619.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_17_54_2708.jpg
/home/pi/Desktop/images/31102025/19/17/image_31102025_19_18_00_3623.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_03_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067496","1398067499","1398067493","1398067495","1398067498","1398067497"],"photo_ids_order":["1398067493","1398067495","1398067496","1398067497","1398067498","1398067499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7a094d28c5b634ec8ea36acd0f1c9ae8.jpg","text":"TemporaryFile(/tmp/multipartBody2280456082672636592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928123765,"filename":"image_31102025_19_17_51_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/5/ba16a231ca5e9798d1159f43ef659ae5.jpg","text":"TemporaryFile(/tmp/multipartBody1271551632807834954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928123765,"filename":"image_31102025_19_18_03_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/5/7032ac9bb1152d93646a860593ee5284.jpg","text":"TemporaryFile(/tmp/multipartBody1399228627122006369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928123765,"filename":"image_31102025_19_17_45_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/58bbf60af0b6ad14c9f6e24042b396b0.jpg","text":"TemporaryFile(/tmp/multipartBody6639147509407538503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928123765,"filename":"image_31102025_19_17_47_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/12cca09d5c2ed98756987a09f6f0ebce.jpg","text":"TemporaryFile(/tmp/multipartBody4360147414639019916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928123765,"filename":"image_31102025_19_18_00_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/605afb273139f1a4f8a38758e727398e.jpg","text":"TemporaryFile(/tmp/multipartBody8473216318101005426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928123765,"filename":"image_31102025_19_17_54_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067496","file1":"1398067495","file0":"1398067493","file4":"1398067498","file5":"1398067499","file3":"1398067497"},"map_files_photo_id_array":[{"photo_id":"1398067499","filename":"file5"},{"photo_id":"1398067496","filename":"file2"},{"photo_id":"1398067498","filename":"file4"},{"photo_id":"1398067495","filename":"file1"},{"photo_id":"1398067493","filename":"file0"},{"photo_id":"1398067497","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398067496":["hashtag1","hashtag2"]},{"1398067499":["hashtag1","hashtag2"]},{"1398067493":["hashtag1","hashtag2"]},{"1398067495":["hashtag1","hashtag2"]},{"1398067498":["hashtag1","hashtag2"]},{"1398067497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398067496, 1398067499, 1398067493, 1398067495, 1398067498, 1398067497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.627163887023926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:48:22.353607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/23/image_05122025_10_23_54_9718.jpg', '/home/pi/Desktop/images/05122025/10/23/image_05122025_10_24_04_9718.jpg', '/home/pi/Desktop/images/05122025/10/24/image_05122025_10_24_14_10546.jpg', '/home/pi/Desktop/images/05122025/10/24/image_05122025_10_24_24_9659.jpg', '/home/pi/Desktop/images/05122025/10/24/image_05122025_10_24_35_10667.jpg', '/home/pi/Desktop/images/05122025/10/24/image_05122025_10_24_44_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/23/image_05122025_10_23_54_9718.jpg
/home/pi/Desktop/images/05122025/10/23/image_05122025_10_24_04_9718.jpg
/home/pi/Desktop/images/05122025/10/24/image_05122025_10_24_14_10546.jpg
/home/pi/Desktop/images/05122025/10/24/image_05122025_10_24_24_9659.jpg
/home/pi/Desktop/images/05122025/10/24/image_05122025_10_24_35_10667.jpg
/home/pi/Desktop/images/05122025/10/24/image_05122025_10_24_44_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":["1398067504","1398067521","1398067523","1398067510","1398067513","1398067507"],"photo_ids_order":["1398067504","1398067507","1398067510","1398067513","1398067521","1398067523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/61318fffc13bdfb6fc8fc5a695341a3f.jpg","text":"TemporaryFile(/tmp/multipartBody9156997160243845672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928163079,"filename":"image_05122025_10_23_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/83ac2b0cef0f590b1b7ad6d8dc5bd5de.jpg","text":"TemporaryFile(/tmp/multipartBody8215895163643425822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928163079,"filename":"image_05122025_10_24_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/5/4f6d3392b4e1807f940454c574811883.jpg","text":"TemporaryFile(/tmp/multipartBody452721475150309666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928163079,"filename":"image_05122025_10_24_44_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/5/d1555ea13677a6c83dbe5c48f46b6644.jpg","text":"TemporaryFile(/tmp/multipartBody3811814159724781634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928163079,"filename":"image_05122025_10_24_14_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/5/fccdd9580cd676b724d922ec9eed4e49.jpg","text":"TemporaryFile(/tmp/multipartBody3570717249298658989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928163079,"filename":"image_05122025_10_24_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/5/710096ab59f5a5f59d5935fe1bd85edd.jpg","text":"TemporaryFile(/tmp/multipartBody2113234400637173986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928163079,"filename":"image_05122025_10_24_04_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067510","file1":"1398067507","file0":"1398067504","file4":"1398067521","file5":"1398067523","file3":"1398067513"},"map_files_photo_id_array":[{"photo_id":"1398067523","filename":"file5"},{"photo_id":"1398067510","filename":"file2"},{"photo_id":"1398067521","filename":"file4"},{"photo_id":"1398067507","filename":"file1"},{"photo_id":"1398067504","filename":"file0"},{"photo_id":"1398067513","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067504":["hashtag1","hashtag2"]},{"1398067521":["hashtag1","hashtag2"]},{"1398067523":["hashtag1","hashtag2"]},{"1398067510":["hashtag1","hashtag2"]},{"1398067513":["hashtag1","hashtag2"]},{"1398067507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067504, 1398067521, 1398067523, 1398067510, 1398067513, 1398067507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26561760902405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:49:03.268402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/24/image_05122025_10_24_54_9824.jpg', '/home/pi/Desktop/images/05122025/10/26/image_05122025_10_26_14_10037.jpg', '/home/pi/Desktop/images/05122025/10/26/image_05122025_10_26_24_10551.jpg', '/home/pi/Desktop/images/05122025/10/26/image_05122025_10_26_34_9792.jpg', '/home/pi/Desktop/images/05122025/10/26/image_05122025_10_26_44_9714.jpg', '/home/pi/Desktop/images/05122025/10/26/image_05122025_10_26_55_10805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/24/image_05122025_10_24_54_9824.jpg
/home/pi/Desktop/images/05122025/10/26/image_05122025_10_26_14_10037.jpg
/home/pi/Desktop/images/05122025/10/26/image_05122025_10_26_24_10551.jpg
/home/pi/Desktop/images/05122025/10/26/image_05122025_10_26_34_9792.jpg
/home/pi/Desktop/images/05122025/10/26/image_05122025_10_26_44_9714.jpg
/home/pi/Desktop/images/05122025/10/26/image_05122025_10_26_55_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":["1398067530","1398067532","1398067529","1398067537","1398067534","1398067528"],"photo_ids_order":["1398067528","1398067529","1398067530","1398067532","1398067534","1398067537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ddf9a8aa794d3db4c23d14fa55af8ca.jpg","text":"TemporaryFile(/tmp/multipartBody3514288245610511494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928204084,"filename":"image_05122025_10_26_24_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/5/0ef438cb1302bc1ef4bdbe78028ddd34.jpg","text":"TemporaryFile(/tmp/multipartBody5632170491422614034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928204084,"filename":"image_05122025_10_26_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/5/2d9795329369ab9fd82d97f6c2f6ade2.jpg","text":"TemporaryFile(/tmp/multipartBody4259378249926977971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928204084,"filename":"image_05122025_10_26_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/5/c45d710cb6f2851c5dc7a6dd11e6ef98.jpg","text":"TemporaryFile(/tmp/multipartBody3784958903583960207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928204084,"filename":"image_05122025_10_26_55_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/5/bfa10f5f0b8d426126e7e36f812dc1b3.jpg","text":"TemporaryFile(/tmp/multipartBody7666843334351276339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928204084,"filename":"image_05122025_10_26_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/10ac6b63185c26989a57202dbb3de9fc.jpg","text":"TemporaryFile(/tmp/multipartBody5512459703606034083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928204084,"filename":"image_05122025_10_24_54_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067530","file1":"1398067529","file0":"1398067528","file4":"1398067534","file5":"1398067537","file3":"1398067532"},"map_files_photo_id_array":[{"photo_id":"1398067537","filename":"file5"},{"photo_id":"1398067530","filename":"file2"},{"photo_id":"1398067534","filename":"file4"},{"photo_id":"1398067529","filename":"file1"},{"photo_id":"1398067528","filename":"file0"},{"photo_id":"1398067532","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067530":["hashtag1","hashtag2"]},{"1398067532":["hashtag1","hashtag2"]},{"1398067529":["hashtag1","hashtag2"]},{"1398067537":["hashtag1","hashtag2"]},{"1398067534":["hashtag1","hashtag2"]},{"1398067528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067530, 1398067532, 1398067529, 1398067537, 1398067534, 1398067528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.492881298065186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:49:42.473250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_05_2603.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_09_3518.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_15_3645.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_18_2841.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_20_2744.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_23_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_05_2603.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_09_3518.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_15_3645.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_18_2841.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_20_2744.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_23_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067548","1398067545","1398067544","1398067547","1398067543","1398067546"],"photo_ids_order":["1398067543","1398067544","1398067545","1398067546","1398067547","1398067548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ec4d4613f9a1f4dd5b9ef5a53a08b033.jpg","text":"TemporaryFile(/tmp/multipartBody5227418867041711320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928244104,"filename":"image_31102025_19_18_23_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb66925cd5299bc0519c32a1d717d33f.jpg","text":"TemporaryFile(/tmp/multipartBody7010219315547808535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928244104,"filename":"image_31102025_19_18_15_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/5/0c73a756584b4f31d27e10b453c37183.jpg","text":"TemporaryFile(/tmp/multipartBody7137277428909268340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928244104,"filename":"image_31102025_19_18_09_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2138b6b1bdb6ed24cf51c5e4445f7e05.jpg","text":"TemporaryFile(/tmp/multipartBody5015095506515245169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928244104,"filename":"image_31102025_19_18_20_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/5/57cadddebc71d7338002b0f1c02bc19c.jpg","text":"TemporaryFile(/tmp/multipartBody5243515971004318033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928244104,"filename":"image_31102025_19_18_05_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/5/a62f58408f579eeb928f19e6d200b0b9.jpg","text":"TemporaryFile(/tmp/multipartBody4839051430444295145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928244104,"filename":"image_31102025_19_18_18_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067545","file1":"1398067544","file0":"1398067543","file4":"1398067547","file5":"1398067548","file3":"1398067546"},"map_files_photo_id_array":[{"photo_id":"1398067548","filename":"file5"},{"photo_id":"1398067545","filename":"file2"},{"photo_id":"1398067547","filename":"file4"},{"photo_id":"1398067544","filename":"file1"},{"photo_id":"1398067543","filename":"file0"},{"photo_id":"1398067546","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398067548":["hashtag1","hashtag2"]},{"1398067545":["hashtag1","hashtag2"]},{"1398067544":["hashtag1","hashtag2"]},{"1398067547":["hashtag1","hashtag2"]},{"1398067543":["hashtag1","hashtag2"]},{"1398067546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398067548, 1398067545, 1398067544, 1398067547, 1398067543, 1398067546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98567819595337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:50:22.637870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/27/image_05122025_10_27_14_9656.jpg', '/home/pi/Desktop/images/05122025/10/27/image_05122025_10_27_25_10633.jpg', '/home/pi/Desktop/images/05122025/10/27/image_05122025_10_27_34_9623.jpg', '/home/pi/Desktop/images/05122025/10/27/image_05122025_10_27_44_9658.jpg', '/home/pi/Desktop/images/05122025/10/27/image_05122025_10_27_55_10824.jpg', '/home/pi/Desktop/images/05122025/10/27/image_05122025_10_28_04_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/27/image_05122025_10_27_14_9656.jpg
/home/pi/Desktop/images/05122025/10/27/image_05122025_10_27_25_10633.jpg
/home/pi/Desktop/images/05122025/10/27/image_05122025_10_27_34_9623.jpg
/home/pi/Desktop/images/05122025/10/27/image_05122025_10_27_44_9658.jpg
/home/pi/Desktop/images/05122025/10/27/image_05122025_10_27_55_10824.jpg
/home/pi/Desktop/images/05122025/10/27/image_05122025_10_28_04_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067569","1398067559","1398067568","1398067556","1398067579","1398067564"],"photo_ids_order":["1398067556","1398067559","1398067564","1398067568","1398067569","1398067579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c5a4cad974726271e6a72ff2b839f2ef.jpg","text":"TemporaryFile(/tmp/multipartBody4666620104485586448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928283374,"filename":"image_05122025_10_27_55_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/5/0465a93bcf85c3da98b40ab3d406f314.jpg","text":"TemporaryFile(/tmp/multipartBody646768222667891020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928283374,"filename":"image_05122025_10_27_25_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/5/ecef469ae834133c189654d11f05b8df.jpg","text":"TemporaryFile(/tmp/multipartBody1650193960512958368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928283374,"filename":"image_05122025_10_27_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/40a11c1ccc25a226ef05854d03144748.jpg","text":"TemporaryFile(/tmp/multipartBody2405183439436914146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928283374,"filename":"image_05122025_10_27_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/5/5f505394540227d59580a5e1219d7ebf.jpg","text":"TemporaryFile(/tmp/multipartBody6095921146431601830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928283374,"filename":"image_05122025_10_28_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9834edf77f0fcc001eaf62c9482260e0.jpg","text":"TemporaryFile(/tmp/multipartBody6305388747709238902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928283374,"filename":"image_05122025_10_27_34_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067564","file1":"1398067559","file0":"1398067556","file4":"1398067569","file5":"1398067579","file3":"1398067568"},"map_files_photo_id_array":[{"photo_id":"1398067579","filename":"file5"},{"photo_id":"1398067564","filename":"file2"},{"photo_id":"1398067569","filename":"file4"},{"photo_id":"1398067559","filename":"file1"},{"photo_id":"1398067556","filename":"file0"},{"photo_id":"1398067568","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067569":["hashtag1","hashtag2"]},{"1398067559":["hashtag1","hashtag2"]},{"1398067568":["hashtag1","hashtag2"]},{"1398067556":["hashtag1","hashtag2"]},{"1398067579":["hashtag1","hashtag2"]},{"1398067564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067569, 1398067559, 1398067568, 1398067556, 1398067579, 1398067564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9542121887207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:51:02.474412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/28/image_05122025_10_28_14_9744.jpg', '/home/pi/Desktop/images/05122025/10/28/image_05122025_10_28_24_9845.jpg', '/home/pi/Desktop/images/05122025/10/28/image_05122025_10_28_35_10704.jpg', '/home/pi/Desktop/images/05122025/10/28/image_05122025_10_28_44_9658.jpg', '/home/pi/Desktop/images/05122025/10/28/image_05122025_10_28_54_9831.jpg', '/home/pi/Desktop/images/05122025/10/28/image_05122025_10_29_04_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/28/image_05122025_10_28_14_9744.jpg
/home/pi/Desktop/images/05122025/10/28/image_05122025_10_28_24_9845.jpg
/home/pi/Desktop/images/05122025/10/28/image_05122025_10_28_35_10704.jpg
/home/pi/Desktop/images/05122025/10/28/image_05122025_10_28_44_9658.jpg
/home/pi/Desktop/images/05122025/10/28/image_05122025_10_28_54_9831.jpg
/home/pi/Desktop/images/05122025/10/28/image_05122025_10_29_04_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067611","1398067607","1398067604","1398067600","1398067599","1398067590"],"photo_ids_order":["1398067590","1398067599","1398067600","1398067604","1398067607","1398067611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/476100daef717533fc6ff62fbf4731ee.jpg","text":"TemporaryFile(/tmp/multipartBody2553701321663090545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928323266,"filename":"image_05122025_10_29_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/5/a1b0e052ca8c83f1469eec8033042bcc.jpg","text":"TemporaryFile(/tmp/multipartBody4698891543367368129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928323266,"filename":"image_05122025_10_28_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/5/cbf31c038e6dc9f64da2e96e81dea35e.jpg","text":"TemporaryFile(/tmp/multipartBody5709282832744339175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928323266,"filename":"image_05122025_10_28_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b505bc48358303bad52ae5f76229df43.jpg","text":"TemporaryFile(/tmp/multipartBody2852805677596312262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928323266,"filename":"image_05122025_10_28_35_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/5/431d4b3fd867a48566268ea77367e06f.jpg","text":"TemporaryFile(/tmp/multipartBody5766244970265914515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928323266,"filename":"image_05122025_10_28_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/5/6bb93f6069260def96ddafdd005a32f8.jpg","text":"TemporaryFile(/tmp/multipartBody555205094041029322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928323266,"filename":"image_05122025_10_28_14_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067600","file1":"1398067599","file0":"1398067590","file4":"1398067607","file5":"1398067611","file3":"1398067604"},"map_files_photo_id_array":[{"photo_id":"1398067611","filename":"file5"},{"photo_id":"1398067600","filename":"file2"},{"photo_id":"1398067607","filename":"file4"},{"photo_id":"1398067599","filename":"file1"},{"photo_id":"1398067590","filename":"file0"},{"photo_id":"1398067604","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067611":["hashtag1","hashtag2"]},{"1398067607":["hashtag1","hashtag2"]},{"1398067604":["hashtag1","hashtag2"]},{"1398067600":["hashtag1","hashtag2"]},{"1398067599":["hashtag1","hashtag2"]},{"1398067590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067611, 1398067607, 1398067604, 1398067600, 1398067599, 1398067590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43516731262207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:51:41.940632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_26_2830.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_30_3663.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_35_2593.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_39_3583.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_41_2615.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_45_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_26_2830.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_30_3663.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_35_2593.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_39_3583.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_41_2615.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_45_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":["1398067614","1398067617","1398067616","1398067619","1398067618","1398067615"],"photo_ids_order":["1398067614","1398067615","1398067616","1398067617","1398067618","1398067619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2365e30593c0967ff3fb0ead446b6a8.jpg","text":"TemporaryFile(/tmp/multipartBody2851200903103350367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928363624,"filename":"image_31102025_19_18_26_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/5/2c1f5fc8d4221674978e7d039220fb90.jpg","text":"TemporaryFile(/tmp/multipartBody6146270978118136907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928363624,"filename":"image_31102025_19_18_39_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/5/7ffc619597a14a3adf8e94d27c4faf3a.jpg","text":"TemporaryFile(/tmp/multipartBody1329224197610139572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928363624,"filename":"image_31102025_19_18_35_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/5/d0a189aff09865e8f73f7007ba830491.jpg","text":"TemporaryFile(/tmp/multipartBody555209452265128682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928363624,"filename":"image_31102025_19_18_45_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/5/7edc4de9723d7aefd82ca5443fa22ce3.jpg","text":"TemporaryFile(/tmp/multipartBody7313765566356311983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928363624,"filename":"image_31102025_19_18_41_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/5/115da4f719e41ad702d51c2668c2781a.jpg","text":"TemporaryFile(/tmp/multipartBody1320060781545436273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928363624,"filename":"image_31102025_19_18_30_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067616","file1":"1398067615","file0":"1398067614","file4":"1398067618","file5":"1398067619","file3":"1398067617"},"map_files_photo_id_array":[{"photo_id":"1398067619","filename":"file5"},{"photo_id":"1398067616","filename":"file2"},{"photo_id":"1398067618","filename":"file4"},{"photo_id":"1398067615","filename":"file1"},{"photo_id":"1398067614","filename":"file0"},{"photo_id":"1398067617","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398067614":["hashtag1","hashtag2"]},{"1398067617":["hashtag1","hashtag2"]},{"1398067616":["hashtag1","hashtag2"]},{"1398067619":["hashtag1","hashtag2"]},{"1398067618":["hashtag1","hashtag2"]},{"1398067615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398067614, 1398067617, 1398067616, 1398067619, 1398067618, 1398067615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67451572418213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:52:22.187547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/29/image_05122025_10_29_14_10232.jpg', '/home/pi/Desktop/images/05122025/10/29/image_05122025_10_29_24_9598.jpg', '/home/pi/Desktop/images/05122025/10/29/image_05122025_10_29_34_10604.jpg', '/home/pi/Desktop/images/05122025/10/29/image_05122025_10_29_44_9928.jpg', '/home/pi/Desktop/images/05122025/10/29/image_05122025_10_29_54_9917.jpg', '/home/pi/Desktop/images/05122025/10/30/image_05122025_10_30_15_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/29/image_05122025_10_29_14_10232.jpg
/home/pi/Desktop/images/05122025/10/29/image_05122025_10_29_24_9598.jpg
/home/pi/Desktop/images/05122025/10/29/image_05122025_10_29_34_10604.jpg
/home/pi/Desktop/images/05122025/10/29/image_05122025_10_29_44_9928.jpg
/home/pi/Desktop/images/05122025/10/29/image_05122025_10_29_54_9917.jpg
/home/pi/Desktop/images/05122025/10/30/image_05122025_10_30_15_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067635","1398067644","1398067638","1398067631","1398067648","1398067627"],"photo_ids_order":["1398067627","1398067631","1398067635","1398067638","1398067644","1398067648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/847e9fecee2386f963c6cebef6cf6ba0.jpg","text":"TemporaryFile(/tmp/multipartBody1621908986088335880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928402884,"filename":"image_05122025_10_29_34_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7d8aa8a55319fd9339adaad1246704db.jpg","text":"TemporaryFile(/tmp/multipartBody7552478498297128311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928402884,"filename":"image_05122025_10_29_54_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/5/73e47bcc3371fb343bcaa88bf58bbf0a.jpg","text":"TemporaryFile(/tmp/multipartBody4942379853236862995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928402884,"filename":"image_05122025_10_29_44_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/5/76884e337cfad116fb60744d9621f0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2209911927501262081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928402884,"filename":"image_05122025_10_29_24_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/5/bbf64ed8bcca7be6fa584896e92f5b20.jpg","text":"TemporaryFile(/tmp/multipartBody302877435782233196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928402884,"filename":"image_05122025_10_30_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/5/e6f1de446685439465f927f9e52312f7.jpg","text":"TemporaryFile(/tmp/multipartBody2215441712105835146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928402884,"filename":"image_05122025_10_29_14_10232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067635","file1":"1398067631","file0":"1398067627","file4":"1398067644","file5":"1398067648","file3":"1398067638"},"map_files_photo_id_array":[{"photo_id":"1398067648","filename":"file5"},{"photo_id":"1398067635","filename":"file2"},{"photo_id":"1398067644","filename":"file4"},{"photo_id":"1398067631","filename":"file1"},{"photo_id":"1398067627","filename":"file0"},{"photo_id":"1398067638","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067635":["hashtag1","hashtag2"]},{"1398067644":["hashtag1","hashtag2"]},{"1398067638":["hashtag1","hashtag2"]},{"1398067631":["hashtag1","hashtag2"]},{"1398067648":["hashtag1","hashtag2"]},{"1398067627":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067635, 1398067644, 1398067638, 1398067631, 1398067648, 1398067627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67139434814453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:53:02.927135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/30/image_05122025_10_30_25_10721.jpg', '/home/pi/Desktop/images/05122025/10/30/image_05122025_10_30_35_9475.jpg', '/home/pi/Desktop/images/05122025/10/30/image_05122025_10_30_45_10591.jpg', '/home/pi/Desktop/images/05122025/10/30/image_05122025_10_30_55_9712.jpg', '/home/pi/Desktop/images/05122025/10/30/image_05122025_10_31_05_9947.jpg', '/home/pi/Desktop/images/05122025/10/31/image_05122025_10_31_15_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/30/image_05122025_10_30_25_10721.jpg
/home/pi/Desktop/images/05122025/10/30/image_05122025_10_30_35_9475.jpg
/home/pi/Desktop/images/05122025/10/30/image_05122025_10_30_45_10591.jpg
/home/pi/Desktop/images/05122025/10/30/image_05122025_10_30_55_9712.jpg
/home/pi/Desktop/images/05122025/10/30/image_05122025_10_31_05_9947.jpg
/home/pi/Desktop/images/05122025/10/31/image_05122025_10_31_15_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":["1398067662","1398067664","1398067666","1398067669","1398067660","1398067657"],"photo_ids_order":["1398067657","1398067660","1398067662","1398067664","1398067666","1398067669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a695ec33a1ccc83c8cb927d602049c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2473308712843288064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928443681,"filename":"image_05122025_10_30_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/5/3bad296b940303a71c8b4425058ff9b6.jpg","text":"TemporaryFile(/tmp/multipartBody6231703787350338397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928443681,"filename":"image_05122025_10_30_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/5/7de55c9d305428b0ef94c5117de031ca.jpg","text":"TemporaryFile(/tmp/multipartBody6605487388657311191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928443681,"filename":"image_05122025_10_31_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/5/f5cbb6c6f05872a5768db142601f89ea.jpg","text":"TemporaryFile(/tmp/multipartBody621164982335960744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928443681,"filename":"image_05122025_10_31_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/5/d0a90777b39669077de36151061bac35.jpg","text":"TemporaryFile(/tmp/multipartBody116491223117141153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928443681,"filename":"image_05122025_10_30_35_9475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c2e724de4c4d805c287d4e42d66f726.jpg","text":"TemporaryFile(/tmp/multipartBody1057164962663960539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928443681,"filename":"image_05122025_10_30_25_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067662","file1":"1398067660","file0":"1398067657","file4":"1398067666","file5":"1398067669","file3":"1398067664"},"map_files_photo_id_array":[{"photo_id":"1398067669","filename":"file5"},{"photo_id":"1398067662","filename":"file2"},{"photo_id":"1398067666","filename":"file4"},{"photo_id":"1398067660","filename":"file1"},{"photo_id":"1398067657","filename":"file0"},{"photo_id":"1398067664","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067662":["hashtag1","hashtag2"]},{"1398067664":["hashtag1","hashtag2"]},{"1398067666":["hashtag1","hashtag2"]},{"1398067669":["hashtag1","hashtag2"]},{"1398067660":["hashtag1","hashtag2"]},{"1398067657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067662, 1398067664, 1398067666, 1398067669, 1398067660, 1398067657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92322897911072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:53:42.293630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_48_2632.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_50_2581.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_54_3602.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_56_2618.jpg', '/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_59_2578.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_03_3857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_48_2632.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_50_2581.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_54_3602.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_56_2618.jpg
/home/pi/Desktop/images/31102025/19/18/image_31102025_19_18_59_2578.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_03_3857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067674","1398067676","1398067690","1398067684","1398067678","1398067677"],"photo_ids_order":["1398067674","1398067676","1398067677","1398067678","1398067684","1398067690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5721e184eb72bcdce9f1cddbcd3df822.jpg","text":"TemporaryFile(/tmp/multipartBody7431717075615710582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928483970,"filename":"image_31102025_19_18_48_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/5/b4e41fb02a2c4969dc29c812cce365a3.jpg","text":"TemporaryFile(/tmp/multipartBody3508455819668873973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928483970,"filename":"image_31102025_19_18_50_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/5/44c7d8477ae6a8c4cbddc242d734a918.jpg","text":"TemporaryFile(/tmp/multipartBody9155941987676724003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928483970,"filename":"image_31102025_19_19_03_3857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/109857579badfc075bbbd9e419afbc40.jpg","text":"TemporaryFile(/tmp/multipartBody1582406980271614942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928483970,"filename":"image_31102025_19_18_59_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1152d4cb79acc1caee00a8a4cd0b9394.jpg","text":"TemporaryFile(/tmp/multipartBody2125041212103368866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928483970,"filename":"image_31102025_19_18_56_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/5/d55213b7e7f92c66d1fd9786de25ba90.jpg","text":"TemporaryFile(/tmp/multipartBody1170807527429465735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928483970,"filename":"image_31102025_19_18_54_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067677","file1":"1398067676","file0":"1398067674","file4":"1398067684","file5":"1398067690","file3":"1398067678"},"map_files_photo_id_array":[{"photo_id":"1398067690","filename":"file5"},{"photo_id":"1398067677","filename":"file2"},{"photo_id":"1398067684","filename":"file4"},{"photo_id":"1398067676","filename":"file1"},{"photo_id":"1398067674","filename":"file0"},{"photo_id":"1398067678","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398067674":["hashtag1","hashtag2"]},{"1398067676":["hashtag1","hashtag2"]},{"1398067690":["hashtag1","hashtag2"]},{"1398067684":["hashtag1","hashtag2"]},{"1398067678":["hashtag1","hashtag2"]},{"1398067677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398067674, 1398067676, 1398067690, 1398067684, 1398067678, 1398067677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62310194969177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:54:22.417973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/31/image_05122025_10_31_25_10792.jpg', '/home/pi/Desktop/images/05122025/10/31/image_05122025_10_31_35_9652.jpg', '/home/pi/Desktop/images/05122025/10/31/image_05122025_10_31_45_10000.jpg', '/home/pi/Desktop/images/05122025/10/31/image_05122025_10_31_55_10060.jpg', '/home/pi/Desktop/images/05122025/10/31/image_05122025_10_32_05_9709.jpg', '/home/pi/Desktop/images/05122025/10/32/image_05122025_10_32_15_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/31/image_05122025_10_31_25_10792.jpg
/home/pi/Desktop/images/05122025/10/31/image_05122025_10_31_35_9652.jpg
/home/pi/Desktop/images/05122025/10/31/image_05122025_10_31_45_10000.jpg
/home/pi/Desktop/images/05122025/10/31/image_05122025_10_31_55_10060.jpg
/home/pi/Desktop/images/05122025/10/31/image_05122025_10_32_05_9709.jpg
/home/pi/Desktop/images/05122025/10/32/image_05122025_10_32_15_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":["1398067704","1398067706","1398067700","1398067703","1398067696","1398067698"],"photo_ids_order":["1398067696","1398067698","1398067700","1398067703","1398067704","1398067706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/228a69c3505bea18da8cf831c8a41022.jpg","text":"TemporaryFile(/tmp/multipartBody2689940409596242213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928523112,"filename":"image_05122025_10_32_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/5/4213f9f73566610c82a3a8bff85304f6.jpg","text":"TemporaryFile(/tmp/multipartBody4627609860715120125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928523112,"filename":"image_05122025_10_32_15_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/5/c115f06f6e403fa561b96e81597f052a.jpg","text":"TemporaryFile(/tmp/multipartBody2728945272872103531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928523112,"filename":"image_05122025_10_31_45_10000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/62cb57c9aca73c95805bafa3a6d53aff.jpg","text":"TemporaryFile(/tmp/multipartBody8553724261780460634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928523112,"filename":"image_05122025_10_31_55_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/5/584964080282f42044046cba5d855dcc.jpg","text":"TemporaryFile(/tmp/multipartBody5918574568354666591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928523112,"filename":"image_05122025_10_31_25_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/5/9ecd2d1b9234c4ed8151085fd516d79f.jpg","text":"TemporaryFile(/tmp/multipartBody7407750900479684655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928523112,"filename":"image_05122025_10_31_35_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067700","file1":"1398067698","file0":"1398067696","file4":"1398067704","file5":"1398067706","file3":"1398067703"},"map_files_photo_id_array":[{"photo_id":"1398067706","filename":"file5"},{"photo_id":"1398067700","filename":"file2"},{"photo_id":"1398067704","filename":"file4"},{"photo_id":"1398067698","filename":"file1"},{"photo_id":"1398067696","filename":"file0"},{"photo_id":"1398067703","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067704":["hashtag1","hashtag2"]},{"1398067706":["hashtag1","hashtag2"]},{"1398067700":["hashtag1","hashtag2"]},{"1398067703":["hashtag1","hashtag2"]},{"1398067696":["hashtag1","hashtag2"]},{"1398067698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067704, 1398067706, 1398067700, 1398067703, 1398067696, 1398067698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7871196269989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:55:03.324042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/32/image_05122025_10_32_25_9814.jpg', '/home/pi/Desktop/images/05122025/10/32/image_05122025_10_32_35_10804.jpg', '/home/pi/Desktop/images/05122025/10/32/image_05122025_10_32_45_9676.jpg', '/home/pi/Desktop/images/05122025/10/32/image_05122025_10_32_55_9834.jpg', '/home/pi/Desktop/images/05122025/10/32/image_05122025_10_33_05_9841.jpg', '/home/pi/Desktop/images/05122025/10/33/image_05122025_10_33_15_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/32/image_05122025_10_32_25_9814.jpg
/home/pi/Desktop/images/05122025/10/32/image_05122025_10_32_35_10804.jpg
/home/pi/Desktop/images/05122025/10/32/image_05122025_10_32_45_9676.jpg
/home/pi/Desktop/images/05122025/10/32/image_05122025_10_32_55_9834.jpg
/home/pi/Desktop/images/05122025/10/32/image_05122025_10_33_05_9841.jpg
/home/pi/Desktop/images/05122025/10/33/image_05122025_10_33_15_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":["1398067713","1398067721","1398067715","1398067717","1398067711","1398067708"],"photo_ids_order":["1398067708","1398067711","1398067713","1398067715","1398067717","1398067721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/916c52dbb063a6201316526d101c77e5.jpg","text":"TemporaryFile(/tmp/multipartBody3563115603345231687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928564096,"filename":"image_05122025_10_32_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/5/986d59453b38d704643e7de3e47ed3ac.jpg","text":"TemporaryFile(/tmp/multipartBody6243570718983706296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928564096,"filename":"image_05122025_10_33_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/5/85536a22e27602f982cc675b0aaa27dc.jpg","text":"TemporaryFile(/tmp/multipartBody1226755374398505436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928564096,"filename":"image_05122025_10_32_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/5/8b0b61a91b73da7a5354a26f23293ac0.jpg","text":"TemporaryFile(/tmp/multipartBody5939093729970879407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928564096,"filename":"image_05122025_10_33_05_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/5/a21a454c33cd857836687161b2d9197e.jpg","text":"TemporaryFile(/tmp/multipartBody4672113315476092471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928564096,"filename":"image_05122025_10_32_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/5/87f379291e12e9800d1d8368d0e7b1b9.jpg","text":"TemporaryFile(/tmp/multipartBody5360994241420248818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928564096,"filename":"image_05122025_10_32_25_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067713","file1":"1398067711","file0":"1398067708","file4":"1398067717","file5":"1398067721","file3":"1398067715"},"map_files_photo_id_array":[{"photo_id":"1398067721","filename":"file5"},{"photo_id":"1398067713","filename":"file2"},{"photo_id":"1398067717","filename":"file4"},{"photo_id":"1398067711","filename":"file1"},{"photo_id":"1398067708","filename":"file0"},{"photo_id":"1398067715","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067713":["hashtag1","hashtag2"]},{"1398067721":["hashtag1","hashtag2"]},{"1398067715":["hashtag1","hashtag2"]},{"1398067717":["hashtag1","hashtag2"]},{"1398067711":["hashtag1","hashtag2"]},{"1398067708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067713, 1398067721, 1398067715, 1398067717, 1398067711, 1398067708)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.05750346183777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:56:02.671843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/33/image_05122025_10_33_25_9745.jpg', '/home/pi/Desktop/images/05122025/10/33/image_05122025_10_33_35_9883.jpg', '/home/pi/Desktop/images/05122025/10/33/image_05122025_10_33_45_9768.jpg', '/home/pi/Desktop/images/05122025/10/33/image_05122025_10_33_55_10550.jpg', '/home/pi/Desktop/images/05122025/10/33/image_05122025_10_34_05_9959.jpg', '/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_15_10085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/33/image_05122025_10_33_25_9745.jpg
/home/pi/Desktop/images/05122025/10/33/image_05122025_10_33_35_9883.jpg
/home/pi/Desktop/images/05122025/10/33/image_05122025_10_33_45_9768.jpg
/home/pi/Desktop/images/05122025/10/33/image_05122025_10_33_55_10550.jpg
/home/pi/Desktop/images/05122025/10/33/image_05122025_10_34_05_9959.jpg
/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_15_10085.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067731","1398067734","1398067736","1398067733","1398067727","1398067729"],"photo_ids_order":["1398067727","1398067729","1398067731","1398067733","1398067734","1398067736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/189e9098c0dc5bfceb664a191f87c9dc.jpg","text":"TemporaryFile(/tmp/multipartBody988925923561255958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928623379,"filename":"image_05122025_10_33_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/5/1327e0e3813c8a32cb23eb1a1f71b7ab.jpg","text":"TemporaryFile(/tmp/multipartBody915426396940743607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928623379,"filename":"image_05122025_10_34_05_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/5/7d6aa6570173968b6205ac30735ac78a.jpg","text":"TemporaryFile(/tmp/multipartBody5542932908809024790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928623379,"filename":"image_05122025_10_34_15_10085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e27faba64b1f2d5194ad00d342ecd80d.jpg","text":"TemporaryFile(/tmp/multipartBody6612989692686887820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928623379,"filename":"image_05122025_10_33_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/5/53cf3ff9eb811b2ae1213dd9b2357314.jpg","text":"TemporaryFile(/tmp/multipartBody1943411067044250435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928623379,"filename":"image_05122025_10_33_25_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/5/6d9f800c6ad9740afed430136e594c0b.jpg","text":"TemporaryFile(/tmp/multipartBody9042829013029440886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928623379,"filename":"image_05122025_10_33_35_9883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067731","file1":"1398067729","file0":"1398067727","file4":"1398067734","file5":"1398067736","file3":"1398067733"},"map_files_photo_id_array":[{"photo_id":"1398067736","filename":"file5"},{"photo_id":"1398067731","filename":"file2"},{"photo_id":"1398067734","filename":"file4"},{"photo_id":"1398067729","filename":"file1"},{"photo_id":"1398067727","filename":"file0"},{"photo_id":"1398067733","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067731":["hashtag1","hashtag2"]},{"1398067734":["hashtag1","hashtag2"]},{"1398067736":["hashtag1","hashtag2"]},{"1398067733":["hashtag1","hashtag2"]},{"1398067727":["hashtag1","hashtag2"]},{"1398067729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067731, 1398067734, 1398067736, 1398067733, 1398067727, 1398067729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.231741428375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 10:56:42.220302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_06_2731.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_08_2663.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_12_3600.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_15_2762.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_17_2691.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_24_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_06_2731.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_08_2663.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_12_3600.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_15_2762.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_17_2691.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_24_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067752","1398067749","1398067745","1398067748","1398067747","1398067750"],"photo_ids_order":["1398067745","1398067747","1398067748","1398067749","1398067750","1398067752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e79c498be8cd5ee943f1dc3de098e5fc.jpg","text":"TemporaryFile(/tmp/multipartBody8680307093301644021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928663851,"filename":"image_31102025_19_19_24_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/5/8aa3c76bd13ac6158c6f2d1b90706276.jpg","text":"TemporaryFile(/tmp/multipartBody708363944924514896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928663851,"filename":"image_31102025_19_19_15_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/273b35c6031f5c53a38d86e25ea3231c.jpg","text":"TemporaryFile(/tmp/multipartBody8374174531319345913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928663851,"filename":"image_31102025_19_19_06_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/5/3c5da3d72786399fb339412df484973b.jpg","text":"TemporaryFile(/tmp/multipartBody3802975508820983501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928663851,"filename":"image_31102025_19_19_12_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a45dd447604dc4b2404fa6baaeb0229.jpg","text":"TemporaryFile(/tmp/multipartBody5824681874282115813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928663851,"filename":"image_31102025_19_19_08_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/5/fb434dea674aed5c592c712ead93a134.jpg","text":"TemporaryFile(/tmp/multipartBody4364474606232989587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928663851,"filename":"image_31102025_19_19_17_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067748","file1":"1398067747","file0":"1398067745","file4":"1398067750","file5":"1398067752","file3":"1398067749"},"map_files_photo_id_array":[{"photo_id":"1398067752","filename":"file5"},{"photo_id":"1398067748","filename":"file2"},{"photo_id":"1398067750","filename":"file4"},{"photo_id":"1398067747","filename":"file1"},{"photo_id":"1398067745","filename":"file0"},{"photo_id":"1398067749","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398067752":["hashtag1","hashtag2"]},{"1398067749":["hashtag1","hashtag2"]},{"1398067745":["hashtag1","hashtag2"]},{"1398067748":["hashtag1","hashtag2"]},{"1398067747":["hashtag1","hashtag2"]},{"1398067750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398067752, 1398067749, 1398067745, 1398067748, 1398067747, 1398067750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.283302307128906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 10:57:22.388309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_25_9807.jpg', '/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_35_9554.jpg', '/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_45_10663.jpg', '/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_55_9594.jpg', '/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_14_10053.jpg', '/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_25_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_25_9807.jpg
/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_35_9554.jpg
/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_45_10663.jpg
/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_55_9594.jpg
/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_14_10053.jpg
/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_25_10751.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6231069564819336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 10:57:32.442401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/27/image_02122025_18_27_15_10740.jpg', '/home/pi/Desktop/images/02122025/18/27/image_02122025_18_28_04_9737.jpg', '/home/pi/Desktop/images/02122025/18/28/image_02122025_18_28_14_9652.jpg', '/home/pi/Desktop/images/02122025/18/28/image_02122025_18_29_04_9945.jpg', '/home/pi/Desktop/images/02122025/18/31/image_02122025_18_31_25_9838.jpg', '/home/pi/Desktop/images/02122025/18/31/image_02122025_18_31_55_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/27/image_02122025_18_27_15_10740.jpg
/home/pi/Desktop/images/02122025/18/27/image_02122025_18_28_04_9737.jpg
/home/pi/Desktop/images/02122025/18/28/image_02122025_18_28_14_9652.jpg
/home/pi/Desktop/images/02122025/18/28/image_02122025_18_29_04_9945.jpg
/home/pi/Desktop/images/02122025/18/31/image_02122025_18_31_25_9838.jpg
/home/pi/Desktop/images/02122025/18/31/image_02122025_18_31_55_9787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398067771","1398067780","1398067774","1398067768","1398067777","1398067776"],"photo_ids_order":["1398067768","1398067771","1398067774","1398067776","1398067777","1398067780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bd7dcedd4897ecaf25df72b7d987f09d.jpg","text":"TemporaryFile(/tmp/multipartBody3906593135858143453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928714690,"filename":"image_02122025_18_28_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/5/6461722dba374726cf2dd4b73865e769.jpg","text":"TemporaryFile(/tmp/multipartBody6447744934754379590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928714690,"filename":"image_02122025_18_31_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/5/f2e61904167187ce5255a6cfc43f7bea.jpg","text":"TemporaryFile(/tmp/multipartBody5536947210159727350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928714690,"filename":"image_02122025_18_28_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/5/c451b35e5a85cd358eefecfa7c11c77b.jpg","text":"TemporaryFile(/tmp/multipartBody8516675417745815278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928714690,"filename":"image_02122025_18_27_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/5/97eb0bf307f698b93a7c3d98012d3b90.jpg","text":"TemporaryFile(/tmp/multipartBody5350141259674524849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928714690,"filename":"image_02122025_18_31_25_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/5/e8b158ab4d320b4f512f8b81a7c80886.jpg","text":"TemporaryFile(/tmp/multipartBody8018844707376802001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928714690,"filename":"image_02122025_18_29_04_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067774","file1":"1398067771","file0":"1398067768","file4":"1398067777","file5":"1398067780","file3":"1398067776"},"map_files_photo_id_array":[{"photo_id":"1398067780","filename":"file5"},{"photo_id":"1398067774","filename":"file2"},{"photo_id":"1398067777","filename":"file4"},{"photo_id":"1398067771","filename":"file1"},{"photo_id":"1398067768","filename":"file0"},{"photo_id":"1398067776","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398067771":["hashtag1","hashtag2"]},{"1398067780":["hashtag1","hashtag2"]},{"1398067774":["hashtag1","hashtag2"]},{"1398067768":["hashtag1","hashtag2"]},{"1398067777":["hashtag1","hashtag2"]},{"1398067776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398067771, 1398067780, 1398067774, 1398067768, 1398067777, 1398067776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78307008743286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 10:59:03.643826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_25_9807.jpg', '/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_35_9554.jpg', '/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_45_10663.jpg', '/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_55_9594.jpg', '/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_14_10053.jpg', '/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_25_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_25_9807.jpg
/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_35_9554.jpg
/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_45_10663.jpg
/home/pi/Desktop/images/05122025/10/34/image_05122025_10_34_55_9594.jpg
/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_14_10053.jpg
/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_25_10751.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":["1398067799","1398067790","1398067803","1398067792","1398067801","1398067797"],"photo_ids_order":["1398067790","1398067792","1398067797","1398067799","1398067801","1398067803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad6b8c10e6aba6278fa8981382255b7f.jpg","text":"TemporaryFile(/tmp/multipartBody8448333533954531891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928804420,"filename":"image_05122025_10_34_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/5/028ce65adeaa89bb0aed93c3e5d45fdb.jpg","text":"TemporaryFile(/tmp/multipartBody978662576456745138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928804420,"filename":"image_05122025_10_34_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/5/8907c622de18d248e34d16146042cce9.jpg","text":"TemporaryFile(/tmp/multipartBody1312111876696680402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928804420,"filename":"image_05122025_10_35_25_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/5/c32e42a44a453ddb482117a366b02a68.jpg","text":"TemporaryFile(/tmp/multipartBody6550647091078143728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928804420,"filename":"image_05122025_10_34_35_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ed42fd55636c977b91dd7e328ec2860.jpg","text":"TemporaryFile(/tmp/multipartBody1507612110910616260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928804420,"filename":"image_05122025_10_35_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/5/032b20efbae4ef68f155622da39578b3.jpg","text":"TemporaryFile(/tmp/multipartBody4214570704814605654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928804420,"filename":"image_05122025_10_34_45_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398067797","file1":"1398067792","file0":"1398067790","file4":"1398067801","file5":"1398067803","file3":"1398067799"},"map_files_photo_id_array":[{"photo_id":"1398067803","filename":"file5"},{"photo_id":"1398067797","filename":"file2"},{"photo_id":"1398067801","filename":"file4"},{"photo_id":"1398067792","filename":"file1"},{"photo_id":"1398067790","filename":"file0"},{"photo_id":"1398067799","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398067799":["hashtag1","hashtag2"]},{"1398067790":["hashtag1","hashtag2"]},{"1398067803":["hashtag1","hashtag2"]},{"1398067792":["hashtag1","hashtag2"]},{"1398067801":["hashtag1","hashtag2"]},{"1398067797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398067799, 1398067790, 1398067803, 1398067792, 1398067801, 1398067797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8022358417511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:00:02.388342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_35_9754.jpg', '/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_44_9647.jpg', '/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_55_10739.jpg', '/home/pi/Desktop/images/05122025/10/35/image_05122025_10_36_05_9559.jpg', '/home/pi/Desktop/images/05122025/10/36/image_05122025_10_36_15_9939.jpg', '/home/pi/Desktop/images/05122025/10/36/image_05122025_10_36_24_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_35_9754.jpg
/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_44_9647.jpg
/home/pi/Desktop/images/05122025/10/35/image_05122025_10_35_55_10739.jpg
/home/pi/Desktop/images/05122025/10/35/image_05122025_10_36_05_9559.jpg
/home/pi/Desktop/images/05122025/10/36/image_05122025_10_36_15_9939.jpg
/home/pi/Desktop/images/05122025/10/36/image_05122025_10_36_24_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398068052","1398068252","1398068395","1398068182","1398068323","1398068107"],"photo_ids_order":["1398068052","1398068107","1398068182","1398068252","1398068323","1398068395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac6bd7d147c171982f3b31c4817c43ad.jpg","text":"TemporaryFile(/tmp/multipartBody2328180869952274305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928863131,"filename":"image_05122025_10_35_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/5/d4c035167181aaa016bfccc358b8e241.jpg","text":"TemporaryFile(/tmp/multipartBody3312764491411222646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928863131,"filename":"image_05122025_10_36_05_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/5/e1c8458ece16101ee07cf127bea35a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2375759386711860130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928863131,"filename":"image_05122025_10_36_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/5/d16e63d3404fe6760f91f1cf52a318b7.jpg","text":"TemporaryFile(/tmp/multipartBody3683378271360845831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928863131,"filename":"image_05122025_10_35_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/5/d83c1964bbbd82535335fd795ed95477.jpg","text":"TemporaryFile(/tmp/multipartBody428125678930688946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928863131,"filename":"image_05122025_10_36_15_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/5/ee1162b3bcce0d4ebe0c44ac521849ad.jpg","text":"TemporaryFile(/tmp/multipartBody635284919175976913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928863131,"filename":"image_05122025_10_35_44_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398068182","file1":"1398068107","file0":"1398068052","file4":"1398068323","file5":"1398068395","file3":"1398068252"},"map_files_photo_id_array":[{"photo_id":"1398068395","filename":"file5"},{"photo_id":"1398068182","filename":"file2"},{"photo_id":"1398068323","filename":"file4"},{"photo_id":"1398068107","filename":"file1"},{"photo_id":"1398068052","filename":"file0"},{"photo_id":"1398068252","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398068052":["hashtag1","hashtag2"]},{"1398068252":["hashtag1","hashtag2"]},{"1398068395":["hashtag1","hashtag2"]},{"1398068182":["hashtag1","hashtag2"]},{"1398068323":["hashtag1","hashtag2"]},{"1398068107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398068052, 1398068252, 1398068395, 1398068182, 1398068323, 1398068107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.918705701828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:00:41.895073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_26_2850.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_29_2665.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_33_3681.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_35_2599.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_38_2708.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_42_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_26_2850.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_29_2665.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_33_3681.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_35_2599.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_38_2708.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_42_3558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398068894","1398068675","1398068933","1398068855","1398068744","1398068815"],"photo_ids_order":["1398068675","1398068744","1398068815","1398068855","1398068894","1398068933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ca2d088411d3a95957123fe25fc313a.jpg","text":"TemporaryFile(/tmp/multipartBody3268181145612711953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928903440,"filename":"image_31102025_19_19_38_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/5/2337d52d76ab0de3f1b0568385a63a47.jpg","text":"TemporaryFile(/tmp/multipartBody7688666926579301127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928903440,"filename":"image_31102025_19_19_26_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/5/4ac661229b9f3df08fd808dbe6f67624.jpg","text":"TemporaryFile(/tmp/multipartBody2665528293899449848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928903440,"filename":"image_31102025_19_19_42_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/5/7a9f9f5f21dc5c4e09da34c27bc26e65.jpg","text":"TemporaryFile(/tmp/multipartBody5079735981896622904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928903440,"filename":"image_31102025_19_19_35_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/5/ac09f42af2ab7c3d9871a1f212fa42ff.jpg","text":"TemporaryFile(/tmp/multipartBody7981535866337134025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928903440,"filename":"image_31102025_19_19_29_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/5/a045802c87a91a017aedb19e07f3aa57.jpg","text":"TemporaryFile(/tmp/multipartBody3520481304323878906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928903440,"filename":"image_31102025_19_19_33_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398068815","file1":"1398068744","file0":"1398068675","file4":"1398068894","file5":"1398068933","file3":"1398068855"},"map_files_photo_id_array":[{"photo_id":"1398068933","filename":"file5"},{"photo_id":"1398068815","filename":"file2"},{"photo_id":"1398068894","filename":"file4"},{"photo_id":"1398068744","filename":"file1"},{"photo_id":"1398068675","filename":"file0"},{"photo_id":"1398068855","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398068894":["hashtag1","hashtag2"]},{"1398068675":["hashtag1","hashtag2"]},{"1398068933":["hashtag1","hashtag2"]},{"1398068855":["hashtag1","hashtag2"]},{"1398068744":["hashtag1","hashtag2"]},{"1398068815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398068894, 1398068675, 1398068933, 1398068855, 1398068744, 1398068815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6192729473114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:01:22.138344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/36/image_05122025_10_36_35_10561.jpg', '/home/pi/Desktop/images/05122025/10/36/image_05122025_10_36_44_9700.jpg', '/home/pi/Desktop/images/05122025/10/36/image_05122025_10_36_54_9818.jpg', '/home/pi/Desktop/images/05122025/10/36/image_05122025_10_37_05_10679.jpg', '/home/pi/Desktop/images/05122025/10/37/image_05122025_10_37_15_9696.jpg', '/home/pi/Desktop/images/05122025/10/37/image_05122025_10_37_24_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/36/image_05122025_10_36_35_10561.jpg
/home/pi/Desktop/images/05122025/10/36/image_05122025_10_36_44_9700.jpg
/home/pi/Desktop/images/05122025/10/36/image_05122025_10_36_54_9818.jpg
/home/pi/Desktop/images/05122025/10/36/image_05122025_10_37_05_10679.jpg
/home/pi/Desktop/images/05122025/10/37/image_05122025_10_37_15_9696.jpg
/home/pi/Desktop/images/05122025/10/37/image_05122025_10_37_24_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398069086","1398069046","1398069010","1398069013","1398069016","1398069132"],"photo_ids_order":["1398069010","1398069013","1398069016","1398069046","1398069086","1398069132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/017456196072adeeaa6b0cbc57e81724.jpg","text":"TemporaryFile(/tmp/multipartBody5852324265133134111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928942868,"filename":"image_05122025_10_37_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/5/b0defe8f935e4946d6b920a531874572.jpg","text":"TemporaryFile(/tmp/multipartBody440771343821998080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928942868,"filename":"image_05122025_10_37_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/5/5b0c2e8c666c3c4122e792799c6cc650.jpg","text":"TemporaryFile(/tmp/multipartBody6363124771598190225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928942868,"filename":"image_05122025_10_36_35_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/5/dce9ba99682e9bec505c0119a8ac6e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3909839712238029055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928942868,"filename":"image_05122025_10_36_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/5/e42d8182149f9871bf24ceedd12caf9e.jpg","text":"TemporaryFile(/tmp/multipartBody7246637066017072543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928942868,"filename":"image_05122025_10_36_54_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/5/eac2a2d25e1cd145b7adfa239b8f820a.jpg","text":"TemporaryFile(/tmp/multipartBody6985068836908336275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928942868,"filename":"image_05122025_10_37_24_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398069016","file1":"1398069013","file0":"1398069010","file4":"1398069086","file5":"1398069132","file3":"1398069046"},"map_files_photo_id_array":[{"photo_id":"1398069132","filename":"file5"},{"photo_id":"1398069016","filename":"file2"},{"photo_id":"1398069086","filename":"file4"},{"photo_id":"1398069013","filename":"file1"},{"photo_id":"1398069010","filename":"file0"},{"photo_id":"1398069046","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398069086":["hashtag1","hashtag2"]},{"1398069046":["hashtag1","hashtag2"]},{"1398069010":["hashtag1","hashtag2"]},{"1398069013":["hashtag1","hashtag2"]},{"1398069016":["hashtag1","hashtag2"]},{"1398069132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398069086, 1398069046, 1398069010, 1398069013, 1398069016, 1398069132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0220742225647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:02:03.210181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/37/image_05122025_10_37_35_10684.jpg', '/home/pi/Desktop/images/05122025/10/37/image_05122025_10_37_45_9738.jpg', '/home/pi/Desktop/images/05122025/10/37/image_05122025_10_37_54_9634.jpg', '/home/pi/Desktop/images/05122025/10/37/image_05122025_10_38_04_9761.jpg', '/home/pi/Desktop/images/05122025/10/38/image_05122025_10_38_15_10753.jpg', '/home/pi/Desktop/images/05122025/10/38/image_05122025_10_38_25_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/37/image_05122025_10_37_35_10684.jpg
/home/pi/Desktop/images/05122025/10/37/image_05122025_10_37_45_9738.jpg
/home/pi/Desktop/images/05122025/10/37/image_05122025_10_37_54_9634.jpg
/home/pi/Desktop/images/05122025/10/37/image_05122025_10_38_04_9761.jpg
/home/pi/Desktop/images/05122025/10/38/image_05122025_10_38_15_10753.jpg
/home/pi/Desktop/images/05122025/10/38/image_05122025_10_38_25_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398069401","1398069388","1398069384","1398069363","1398069324","1398069386"],"photo_ids_order":["1398069324","1398069363","1398069384","1398069386","1398069388","1398069401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91e83fb450aec1b9117c6d1e57165575.jpg","text":"TemporaryFile(/tmp/multipartBody2272204420104643968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928983901,"filename":"image_05122025_10_38_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/5/89e1e248b33b93a5c4aa79e07f1ea3b7.jpg","text":"TemporaryFile(/tmp/multipartBody6436988004760577887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928983901,"filename":"image_05122025_10_38_15_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f172c0b8c7d4d8893c46e3957b74e0ff.jpg","text":"TemporaryFile(/tmp/multipartBody3042201167027002201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928983901,"filename":"image_05122025_10_37_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/5/d4f73a256f2ef6173f05ecc807be3353.jpg","text":"TemporaryFile(/tmp/multipartBody3636162534200661196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928983901,"filename":"image_05122025_10_37_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/5/164e8d23f3542eb99c6b2ca1c5f52774.jpg","text":"TemporaryFile(/tmp/multipartBody556798691221992833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928983901,"filename":"image_05122025_10_37_35_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/5/82fdab3abdd1a9b0ab0b94917544f64a.jpg","text":"TemporaryFile(/tmp/multipartBody4312358189548398968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764928983901,"filename":"image_05122025_10_38_04_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398069384","file1":"1398069363","file0":"1398069324","file4":"1398069388","file5":"1398069401","file3":"1398069386"},"map_files_photo_id_array":[{"photo_id":"1398069401","filename":"file5"},{"photo_id":"1398069384","filename":"file2"},{"photo_id":"1398069388","filename":"file4"},{"photo_id":"1398069363","filename":"file1"},{"photo_id":"1398069324","filename":"file0"},{"photo_id":"1398069386","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398069401":["hashtag1","hashtag2"]},{"1398069388":["hashtag1","hashtag2"]},{"1398069384":["hashtag1","hashtag2"]},{"1398069363":["hashtag1","hashtag2"]},{"1398069324":["hashtag1","hashtag2"]},{"1398069386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398069401, 1398069388, 1398069384, 1398069363, 1398069324, 1398069386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2568142414093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:02:42.586841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_44_2612.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_47_2642.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_50_3513.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_53_2728.jpg', '/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_57_3606.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_02_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_44_2612.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_47_2642.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_50_3513.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_53_2728.jpg
/home/pi/Desktop/images/31102025/19/19/image_31102025_19_19_57_3606.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_02_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":["1398069674","1398069682","1398069591","1398069681","1398069680","1398069612"],"photo_ids_order":["1398069591","1398069612","1398069674","1398069680","1398069681","1398069682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/928a8451e4e2f921c5147a8e497e1fa8.jpg","text":"TemporaryFile(/tmp/multipartBody5139601863729227598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929024231,"filename":"image_31102025_19_19_50_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5c8bbd71c0193d087adc8d3ccdb1c4f9.jpg","text":"TemporaryFile(/tmp/multipartBody3977627582254269743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929024231,"filename":"image_31102025_19_20_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/5/c8ef1c6148f40303e46b273ee7e816bd.jpg","text":"TemporaryFile(/tmp/multipartBody1927686267859849203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929024231,"filename":"image_31102025_19_19_44_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/5/811dc1021b631ed17061c14f453d1a98.jpg","text":"TemporaryFile(/tmp/multipartBody4521763547406293508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929024231,"filename":"image_31102025_19_19_57_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/5/ae8fc6433b0b0a37a8c731abd0f98779.jpg","text":"TemporaryFile(/tmp/multipartBody781505600109704654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929024231,"filename":"image_31102025_19_19_53_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/5/505db32e1f8aef19751a486b5e3b5a76.jpg","text":"TemporaryFile(/tmp/multipartBody122651859635981249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929024231,"filename":"image_31102025_19_19_47_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398069674","file1":"1398069612","file0":"1398069591","file4":"1398069681","file5":"1398069682","file3":"1398069680"},"map_files_photo_id_array":[{"photo_id":"1398069682","filename":"file5"},{"photo_id":"1398069674","filename":"file2"},{"photo_id":"1398069681","filename":"file4"},{"photo_id":"1398069612","filename":"file1"},{"photo_id":"1398069591","filename":"file0"},{"photo_id":"1398069680","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398069674":["hashtag1","hashtag2"]},{"1398069682":["hashtag1","hashtag2"]},{"1398069591":["hashtag1","hashtag2"]},{"1398069681":["hashtag1","hashtag2"]},{"1398069680":["hashtag1","hashtag2"]},{"1398069612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398069674, 1398069682, 1398069591, 1398069681, 1398069680, 1398069612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0553936958313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:03:22.724486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/38/image_05122025_10_38_34_9788.jpg', '/home/pi/Desktop/images/05122025/10/38/image_05122025_10_38_44_9726.jpg', '/home/pi/Desktop/images/05122025/10/38/image_05122025_10_38_55_10700.jpg', '/home/pi/Desktop/images/05122025/10/38/image_05122025_10_39_05_9811.jpg', '/home/pi/Desktop/images/05122025/10/39/image_05122025_10_39_14_9728.jpg', '/home/pi/Desktop/images/05122025/10/39/image_05122025_10_39_25_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/38/image_05122025_10_38_34_9788.jpg
/home/pi/Desktop/images/05122025/10/38/image_05122025_10_38_44_9726.jpg
/home/pi/Desktop/images/05122025/10/38/image_05122025_10_38_55_10700.jpg
/home/pi/Desktop/images/05122025/10/38/image_05122025_10_39_05_9811.jpg
/home/pi/Desktop/images/05122025/10/39/image_05122025_10_39_14_9728.jpg
/home/pi/Desktop/images/05122025/10/39/image_05122025_10_39_25_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398069692","1398069691","1398069690","1398069693","1398069687","1398069695"],"photo_ids_order":["1398069687","1398069690","1398069691","1398069692","1398069693","1398069695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/656c2c95fa4412228f4b0d8294ca5aea.jpg","text":"TemporaryFile(/tmp/multipartBody3030287908363105151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929063426,"filename":"image_05122025_10_39_05_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b449484f1904bb2d600cc2ee276dfb5.jpg","text":"TemporaryFile(/tmp/multipartBody3025754171133932404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929063426,"filename":"image_05122025_10_38_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/5/79d8c6d92d258530be0c05ba95eef9ac.jpg","text":"TemporaryFile(/tmp/multipartBody2092442544611491589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929063426,"filename":"image_05122025_10_38_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/5/fd747c2eae78684c501e2ff4fcd57b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7322102463869958481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929063426,"filename":"image_05122025_10_39_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/5/2240ccd1839eb608826a03167817f102.jpg","text":"TemporaryFile(/tmp/multipartBody3735117561853515041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929063426,"filename":"image_05122025_10_38_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/5/ccf5af8290612c9c5838366e22345f86.jpg","text":"TemporaryFile(/tmp/multipartBody204974838782427190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929063426,"filename":"image_05122025_10_39_25_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398069691","file1":"1398069690","file0":"1398069687","file4":"1398069693","file5":"1398069695","file3":"1398069692"},"map_files_photo_id_array":[{"photo_id":"1398069695","filename":"file5"},{"photo_id":"1398069691","filename":"file2"},{"photo_id":"1398069693","filename":"file4"},{"photo_id":"1398069690","filename":"file1"},{"photo_id":"1398069687","filename":"file0"},{"photo_id":"1398069692","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398069692":["hashtag1","hashtag2"]},{"1398069691":["hashtag1","hashtag2"]},{"1398069690":["hashtag1","hashtag2"]},{"1398069693":["hashtag1","hashtag2"]},{"1398069687":["hashtag1","hashtag2"]},{"1398069695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398069692, 1398069691, 1398069690, 1398069693, 1398069687, 1398069695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4697105884552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:04:02.676808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/39/image_05122025_10_39_35_9714.jpg', '/home/pi/Desktop/images/05122025/10/39/image_05122025_10_39_45_10134.jpg', '/home/pi/Desktop/images/05122025/10/39/image_05122025_10_39_54_9619.jpg', '/home/pi/Desktop/images/05122025/10/41/image_05122025_10_41_14_10037.jpg', '/home/pi/Desktop/images/05122025/10/41/image_05122025_10_41_25_10676.jpg', '/home/pi/Desktop/images/05122025/10/41/image_05122025_10_41_34_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/39/image_05122025_10_39_35_9714.jpg
/home/pi/Desktop/images/05122025/10/39/image_05122025_10_39_45_10134.jpg
/home/pi/Desktop/images/05122025/10/39/image_05122025_10_39_54_9619.jpg
/home/pi/Desktop/images/05122025/10/41/image_05122025_10_41_14_10037.jpg
/home/pi/Desktop/images/05122025/10/41/image_05122025_10_41_25_10676.jpg
/home/pi/Desktop/images/05122025/10/41/image_05122025_10_41_34_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":["1398069791","1398069752","1398069917","1398069955","1398069865","1398069828"],"photo_ids_order":["1398069752","1398069791","1398069828","1398069865","1398069917","1398069955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a52f77791ce9b47b151252094c086e8.jpg","text":"TemporaryFile(/tmp/multipartBody938501102462634033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929103421,"filename":"image_05122025_10_39_45_10134.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6aca4fa3538df02a033c6516dd8da3ae.jpg","text":"TemporaryFile(/tmp/multipartBody3105957242088633781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929103421,"filename":"image_05122025_10_39_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/5/e72041675ca233a1928c08b1bde4380a.jpg","text":"TemporaryFile(/tmp/multipartBody4130406417424358776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929103421,"filename":"image_05122025_10_41_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/5/82e4a6e2cbb8ad1a674d1d1c33d3d643.jpg","text":"TemporaryFile(/tmp/multipartBody6232037264137776295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929103421,"filename":"image_05122025_10_41_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/5/e62bdc1302975006876422f45e6fe864.jpg","text":"TemporaryFile(/tmp/multipartBody2612937342947625494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929103421,"filename":"image_05122025_10_41_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/5/e631ebc89cfc91ca6aae4856c0f6cd3a.jpg","text":"TemporaryFile(/tmp/multipartBody6855687183981967871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929103421,"filename":"image_05122025_10_39_54_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398069828","file1":"1398069791","file0":"1398069752","file4":"1398069917","file5":"1398069955","file3":"1398069865"},"map_files_photo_id_array":[{"photo_id":"1398069955","filename":"file5"},{"photo_id":"1398069828","filename":"file2"},{"photo_id":"1398069917","filename":"file4"},{"photo_id":"1398069791","filename":"file1"},{"photo_id":"1398069752","filename":"file0"},{"photo_id":"1398069865","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398069791":["hashtag1","hashtag2"]},{"1398069752":["hashtag1","hashtag2"]},{"1398069917":["hashtag1","hashtag2"]},{"1398069955":["hashtag1","hashtag2"]},{"1398069865":["hashtag1","hashtag2"]},{"1398069828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398069791, 1398069752, 1398069917, 1398069955, 1398069865, 1398069828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32533550262451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:04:42.034000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_05_2702.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_08_3636.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_11_2723.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_15_3558.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_17_2675.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_20_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_05_2702.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_08_3636.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_11_2723.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_15_3558.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_17_2675.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_20_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398070248","1398070196","1398070145","1398070106","1398070330","1398070288"],"photo_ids_order":["1398070106","1398070145","1398070196","1398070248","1398070288","1398070330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3bbda3da6da0bc54c55743233ed4f091.jpg","text":"TemporaryFile(/tmp/multipartBody6845965527630328588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929143695,"filename":"image_31102025_19_20_15_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/5/1eee8752f51ac815227b152ce4c28863.jpg","text":"TemporaryFile(/tmp/multipartBody2752030601926868585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929143695,"filename":"image_31102025_19_20_11_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/5/204153c549e0e4df6e2dc6940f42e820.jpg","text":"TemporaryFile(/tmp/multipartBody4797587699875969591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929143695,"filename":"image_31102025_19_20_08_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/5/37efb93604b85cb98ee256a22ff5ec9c.jpg","text":"TemporaryFile(/tmp/multipartBody9026764940586835493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929143695,"filename":"image_31102025_19_20_05_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/5/7971b845d6b0004fbb5c32af48d8a546.jpg","text":"TemporaryFile(/tmp/multipartBody67420298218724120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929143695,"filename":"image_31102025_19_20_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/5/869520855cad820c1feea189fc6637f3.jpg","text":"TemporaryFile(/tmp/multipartBody3371456732449539254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929143695,"filename":"image_31102025_19_20_17_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398070196","file1":"1398070145","file0":"1398070106","file4":"1398070288","file5":"1398070330","file3":"1398070248"},"map_files_photo_id_array":[{"photo_id":"1398070330","filename":"file5"},{"photo_id":"1398070196","filename":"file2"},{"photo_id":"1398070288","filename":"file4"},{"photo_id":"1398070145","filename":"file1"},{"photo_id":"1398070106","filename":"file0"},{"photo_id":"1398070248","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398070248":["hashtag1","hashtag2"]},{"1398070196":["hashtag1","hashtag2"]},{"1398070145":["hashtag1","hashtag2"]},{"1398070106":["hashtag1","hashtag2"]},{"1398070330":["hashtag1","hashtag2"]},{"1398070288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398070248, 1398070196, 1398070145, 1398070106, 1398070330, 1398070288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76613402366638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:05:22.205363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/41/image_05122025_10_41_45_10580.jpg', '/home/pi/Desktop/images/05122025/10/41/image_05122025_10_41_55_9767.jpg', '/home/pi/Desktop/images/05122025/10/41/image_05122025_10_42_04_9621.jpg', '/home/pi/Desktop/images/05122025/10/42/image_05122025_10_42_14_9787.jpg', '/home/pi/Desktop/images/05122025/10/42/image_05122025_10_42_25_10818.jpg', '/home/pi/Desktop/images/05122025/10/42/image_05122025_10_42_35_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/41/image_05122025_10_41_45_10580.jpg
/home/pi/Desktop/images/05122025/10/41/image_05122025_10_41_55_9767.jpg
/home/pi/Desktop/images/05122025/10/41/image_05122025_10_42_04_9621.jpg
/home/pi/Desktop/images/05122025/10/42/image_05122025_10_42_14_9787.jpg
/home/pi/Desktop/images/05122025/10/42/image_05122025_10_42_25_10818.jpg
/home/pi/Desktop/images/05122025/10/42/image_05122025_10_42_35_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398070539","1398070524","1398070520","1398070523","1398070480","1398070522"],"photo_ids_order":["1398070480","1398070520","1398070522","1398070523","1398070524","1398070539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/07441c52e04a8aa043b24162eb1f1fc1.jpg","text":"TemporaryFile(/tmp/multipartBody950323226243350084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929182898,"filename":"image_05122025_10_42_35_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/5/cf95e2425b719c4f1a4dc67277ca04d5.jpg","text":"TemporaryFile(/tmp/multipartBody6023926621806328290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929182898,"filename":"image_05122025_10_42_25_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95e64bd5d932d77b023c408c518881d4.jpg","text":"TemporaryFile(/tmp/multipartBody4639141406210745300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929182898,"filename":"image_05122025_10_41_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/5/fb4019d9fab8c345cd648f94f73e2f15.jpg","text":"TemporaryFile(/tmp/multipartBody306911180672650825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929182898,"filename":"image_05122025_10_42_14_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/5/52ed4da1fc6dbdf2a3733e9f00bc1e70.jpg","text":"TemporaryFile(/tmp/multipartBody670707882990644267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929182898,"filename":"image_05122025_10_41_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/5/147afb3d067a477dd7a86ca33e242c68.jpg","text":"TemporaryFile(/tmp/multipartBody1889463109501753328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929182898,"filename":"image_05122025_10_42_04_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398070522","file1":"1398070520","file0":"1398070480","file4":"1398070524","file5":"1398070539","file3":"1398070523"},"map_files_photo_id_array":[{"photo_id":"1398070539","filename":"file5"},{"photo_id":"1398070522","filename":"file2"},{"photo_id":"1398070524","filename":"file4"},{"photo_id":"1398070520","filename":"file1"},{"photo_id":"1398070480","filename":"file0"},{"photo_id":"1398070523","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398070539":["hashtag1","hashtag2"]},{"1398070524":["hashtag1","hashtag2"]},{"1398070520":["hashtag1","hashtag2"]},{"1398070523":["hashtag1","hashtag2"]},{"1398070480":["hashtag1","hashtag2"]},{"1398070522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398070539, 1398070524, 1398070520, 1398070523, 1398070480, 1398070522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04690074920654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:06:02.853417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/42/image_05122025_10_42_44_9667.jpg', '/home/pi/Desktop/images/05122025/10/42/image_05122025_10_42_55_10584.jpg', '/home/pi/Desktop/images/05122025/10/42/image_05122025_10_43_04_9695.jpg', '/home/pi/Desktop/images/05122025/10/43/image_05122025_10_43_14_9687.jpg', '/home/pi/Desktop/images/05122025/10/43/image_05122025_10_43_25_10733.jpg', '/home/pi/Desktop/images/05122025/10/43/image_05122025_10_43_35_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/42/image_05122025_10_42_44_9667.jpg
/home/pi/Desktop/images/05122025/10/42/image_05122025_10_42_55_10584.jpg
/home/pi/Desktop/images/05122025/10/42/image_05122025_10_43_04_9695.jpg
/home/pi/Desktop/images/05122025/10/43/image_05122025_10_43_14_9687.jpg
/home/pi/Desktop/images/05122025/10/43/image_05122025_10_43_25_10733.jpg
/home/pi/Desktop/images/05122025/10/43/image_05122025_10_43_35_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398070694","1398070583","1398070658","1398070553","1398070616","1398070558"],"photo_ids_order":["1398070553","1398070558","1398070583","1398070616","1398070658","1398070694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/afd75f526bad6c7f2071ed4ea2e48efa.jpg","text":"TemporaryFile(/tmp/multipartBody7363772953909551987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929223571,"filename":"image_05122025_10_43_35_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/5/36c9f3c2c02a2b7524794bb7e18a7c6f.jpg","text":"TemporaryFile(/tmp/multipartBody8011114945991583124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929223571,"filename":"image_05122025_10_43_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/5/db6da53c8001f07c8930d6c99d8ed028.jpg","text":"TemporaryFile(/tmp/multipartBody8537083756120113232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929223571,"filename":"image_05122025_10_43_25_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/5/30d6d8fb88f1452b9e6d5a8b96ca0c94.jpg","text":"TemporaryFile(/tmp/multipartBody3851646619146272954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929223571,"filename":"image_05122025_10_42_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/5/4bd401854ad23bd88d27e6f7d7937736.jpg","text":"TemporaryFile(/tmp/multipartBody3953834835383211004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929223571,"filename":"image_05122025_10_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/5/8ea232ba385a8def7ea3398759c13e43.jpg","text":"TemporaryFile(/tmp/multipartBody2427843966339180326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929223571,"filename":"image_05122025_10_42_55_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398070583","file1":"1398070558","file0":"1398070553","file4":"1398070658","file5":"1398070694","file3":"1398070616"},"map_files_photo_id_array":[{"photo_id":"1398070694","filename":"file5"},{"photo_id":"1398070583","filename":"file2"},{"photo_id":"1398070658","filename":"file4"},{"photo_id":"1398070558","filename":"file1"},{"photo_id":"1398070553","filename":"file0"},{"photo_id":"1398070616","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398070694":["hashtag1","hashtag2"]},{"1398070583":["hashtag1","hashtag2"]},{"1398070658":["hashtag1","hashtag2"]},{"1398070553":["hashtag1","hashtag2"]},{"1398070616":["hashtag1","hashtag2"]},{"1398070558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398070694, 1398070583, 1398070658, 1398070553, 1398070616, 1398070558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01208233833313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:06:42.437356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_23_2754.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_26_2924.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_29_3603.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_32_2719.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_39_2811.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_41_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_23_2754.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_26_2924.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_29_3603.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_32_2719.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_39_2811.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_41_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398071056","1398070993","1398071091","1398070849","1398070921","1398070887"],"photo_ids_order":["1398070849","1398070887","1398070921","1398070993","1398071056","1398071091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/86db9782de46af7868b95918a92399dd.jpg","text":"TemporaryFile(/tmp/multipartBody6736119554329635778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929264113,"filename":"image_31102025_19_20_39_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/5/365dab5d81645d597603043d13dbaa39.jpg","text":"TemporaryFile(/tmp/multipartBody9097116051591312691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929264113,"filename":"image_31102025_19_20_32_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/5/ac7de5d9fb0e627d84df5afa2945f950.jpg","text":"TemporaryFile(/tmp/multipartBody4593698776589800981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929264113,"filename":"image_31102025_19_20_41_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/5/50740ae488c28d8c58dc022cf93ba33a.jpg","text":"TemporaryFile(/tmp/multipartBody8858939999238347440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929264113,"filename":"image_31102025_19_20_23_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e81a17693befde678d0bb2f5d15580ba.jpg","text":"TemporaryFile(/tmp/multipartBody6312460915296030106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929264113,"filename":"image_31102025_19_20_29_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/5/e85d1ba59d6974bcf73aa13de083e4bc.jpg","text":"TemporaryFile(/tmp/multipartBody7996615679443912353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929264113,"filename":"image_31102025_19_20_26_2924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398070921","file1":"1398070887","file0":"1398070849","file4":"1398071056","file5":"1398071091","file3":"1398070993"},"map_files_photo_id_array":[{"photo_id":"1398071091","filename":"file5"},{"photo_id":"1398070921","filename":"file2"},{"photo_id":"1398071056","filename":"file4"},{"photo_id":"1398070887","filename":"file1"},{"photo_id":"1398070849","filename":"file0"},{"photo_id":"1398070993","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398071056":["hashtag1","hashtag2"]},{"1398070993":["hashtag1","hashtag2"]},{"1398071091":["hashtag1","hashtag2"]},{"1398070849":["hashtag1","hashtag2"]},{"1398070921":["hashtag1","hashtag2"]},{"1398070887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398071056, 1398070993, 1398071091, 1398070849, 1398070921, 1398070887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.812012910842896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:07:22.705980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/43/image_05122025_10_43_44_9725.jpg', '/home/pi/Desktop/images/05122025/10/43/image_05122025_10_43_54_9614.jpg', '/home/pi/Desktop/images/05122025/10/43/image_05122025_10_44_05_10583.jpg', '/home/pi/Desktop/images/05122025/10/44/image_05122025_10_44_14_9818.jpg', '/home/pi/Desktop/images/05122025/10/44/image_05122025_10_44_24_9596.jpg', '/home/pi/Desktop/images/05122025/10/44/image_05122025_10_44_35_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/43/image_05122025_10_43_44_9725.jpg
/home/pi/Desktop/images/05122025/10/43/image_05122025_10_43_54_9614.jpg
/home/pi/Desktop/images/05122025/10/43/image_05122025_10_44_05_10583.jpg
/home/pi/Desktop/images/05122025/10/44/image_05122025_10_44_14_9818.jpg
/home/pi/Desktop/images/05122025/10/44/image_05122025_10_44_24_9596.jpg
/home/pi/Desktop/images/05122025/10/44/image_05122025_10_44_35_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":["1398071399","1398071434","1398071359","1398071472","1398071325","1398071276"],"photo_ids_order":["1398071276","1398071325","1398071359","1398071399","1398071434","1398071472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/72a4021aca06b4389db6a8bea644cc13.jpg","text":"TemporaryFile(/tmp/multipartBody7888233146433573058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929303424,"filename":"image_05122025_10_44_14_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80591f3ec1fce0a25c4e3dce7c4827c0.jpg","text":"TemporaryFile(/tmp/multipartBody1675925502764054014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929303424,"filename":"image_05122025_10_44_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/5/15853797ba20409a82289f6fdc1bb226.jpg","text":"TemporaryFile(/tmp/multipartBody1579060932848606619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929303424,"filename":"image_05122025_10_44_05_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/85037e8b4d55b78f1ec4b088d0e7923c.jpg","text":"TemporaryFile(/tmp/multipartBody1876959771523398630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929303424,"filename":"image_05122025_10_44_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/5/37a45c2e8cdb6a61abb64fd8a4e8a0f4.jpg","text":"TemporaryFile(/tmp/multipartBody4687278111364424672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929303424,"filename":"image_05122025_10_43_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9714701ec10ea17f14999e068463b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody5848018071283350132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929303424,"filename":"image_05122025_10_43_44_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398071359","file1":"1398071325","file0":"1398071276","file4":"1398071434","file5":"1398071472","file3":"1398071399"},"map_files_photo_id_array":[{"photo_id":"1398071472","filename":"file5"},{"photo_id":"1398071359","filename":"file2"},{"photo_id":"1398071434","filename":"file4"},{"photo_id":"1398071325","filename":"file1"},{"photo_id":"1398071276","filename":"file0"},{"photo_id":"1398071399","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398071399":["hashtag1","hashtag2"]},{"1398071434":["hashtag1","hashtag2"]},{"1398071359":["hashtag1","hashtag2"]},{"1398071472":["hashtag1","hashtag2"]},{"1398071325":["hashtag1","hashtag2"]},{"1398071276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398071399, 1398071434, 1398071359, 1398071472, 1398071325, 1398071276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68087339401245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:08:03.290529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/44/image_05122025_10_44_44_9650.jpg', '/home/pi/Desktop/images/05122025/10/44/image_05122025_10_44_55_10590.jpg', '/home/pi/Desktop/images/05122025/10/45/image_05122025_10_45_14_10055.jpg', '/home/pi/Desktop/images/05122025/10/45/image_05122025_10_45_25_10260.jpg', '/home/pi/Desktop/images/05122025/10/45/image_05122025_10_45_34_9798.jpg', '/home/pi/Desktop/images/05122025/10/45/image_05122025_10_45_45_10319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/44/image_05122025_10_44_44_9650.jpg
/home/pi/Desktop/images/05122025/10/44/image_05122025_10_44_55_10590.jpg
/home/pi/Desktop/images/05122025/10/45/image_05122025_10_45_14_10055.jpg
/home/pi/Desktop/images/05122025/10/45/image_05122025_10_45_25_10260.jpg
/home/pi/Desktop/images/05122025/10/45/image_05122025_10_45_34_9798.jpg
/home/pi/Desktop/images/05122025/10/45/image_05122025_10_45_45_10319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398071606","1398071615","1398071609","1398071608","1398071607","1398071610"],"photo_ids_order":["1398071606","1398071607","1398071608","1398071609","1398071610","1398071615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f82791c6da849de7c3fec71b77599a0.jpg","text":"TemporaryFile(/tmp/multipartBody7919327593727649071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929343977,"filename":"image_05122025_10_44_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/5/9c4f0412fe54eafeb755e09033ba014d.jpg","text":"TemporaryFile(/tmp/multipartBody5838695412104063466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929343977,"filename":"image_05122025_10_45_45_10319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17330dc2ca423456f543b32e3cfadafb.jpg","text":"TemporaryFile(/tmp/multipartBody7377620427212714573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929343977,"filename":"image_05122025_10_45_25_10260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8f415ebbe734d02cb3c67d44804998de.jpg","text":"TemporaryFile(/tmp/multipartBody8926328945349412630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929343977,"filename":"image_05122025_10_45_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/5/cc4f320a02f309f4e797fb9df6bab488.jpg","text":"TemporaryFile(/tmp/multipartBody6653323053861136306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929343977,"filename":"image_05122025_10_44_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/5/3c928836c12afc80c572f6f03576154d.jpg","text":"TemporaryFile(/tmp/multipartBody9040245018954134680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929343977,"filename":"image_05122025_10_45_34_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398071608","file1":"1398071607","file0":"1398071606","file4":"1398071610","file5":"1398071615","file3":"1398071609"},"map_files_photo_id_array":[{"photo_id":"1398071615","filename":"file5"},{"photo_id":"1398071608","filename":"file2"},{"photo_id":"1398071610","filename":"file4"},{"photo_id":"1398071607","filename":"file1"},{"photo_id":"1398071606","filename":"file0"},{"photo_id":"1398071609","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398071606":["hashtag1","hashtag2"]},{"1398071615":["hashtag1","hashtag2"]},{"1398071609":["hashtag1","hashtag2"]},{"1398071608":["hashtag1","hashtag2"]},{"1398071607":["hashtag1","hashtag2"]},{"1398071610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398071606, 1398071615, 1398071609, 1398071608, 1398071607, 1398071610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7813286781311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:08:42.754161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_44_2738.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_47_2793.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_50_3590.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_53_2902.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_56_2562.jpg', '/home/pi/Desktop/images/31102025/19/20/image_31102025_19_21_00_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_44_2738.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_47_2793.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_50_3590.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_53_2902.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_20_56_2562.jpg
/home/pi/Desktop/images/31102025/19/20/image_31102025_19_21_00_3595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398071780","1398071774","1398071735","1398071825","1398071781","1398071847"],"photo_ids_order":["1398071735","1398071774","1398071780","1398071781","1398071825","1398071847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/637756971e6c8c1bb23707d1b403a5b9.jpg","text":"TemporaryFile(/tmp/multipartBody1420469921757667605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929384389,"filename":"image_31102025_19_20_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/5/f2bfcd2caf854d18ad4ea85d0dbe1205.jpg","text":"TemporaryFile(/tmp/multipartBody3494573537921465741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929384389,"filename":"image_31102025_19_20_47_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/5/1adbd667c6157746edaa7839788a4bda.jpg","text":"TemporaryFile(/tmp/multipartBody6193516672678801990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929384389,"filename":"image_31102025_19_20_44_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/5/0e8f64d68d43976a45ba7db22361c1bb.jpg","text":"TemporaryFile(/tmp/multipartBody678331186398875078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929384389,"filename":"image_31102025_19_20_56_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/5/bce98b601155bd3a7792b7e7113dcddf.jpg","text":"TemporaryFile(/tmp/multipartBody292048682684718393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929384389,"filename":"image_31102025_19_20_53_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/75c5af7c08b392b1375b701bec7c1f56.jpg","text":"TemporaryFile(/tmp/multipartBody6654736266956716823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929384389,"filename":"image_31102025_19_21_00_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398071780","file1":"1398071774","file0":"1398071735","file4":"1398071825","file5":"1398071847","file3":"1398071781"},"map_files_photo_id_array":[{"photo_id":"1398071847","filename":"file5"},{"photo_id":"1398071780","filename":"file2"},{"photo_id":"1398071825","filename":"file4"},{"photo_id":"1398071774","filename":"file1"},{"photo_id":"1398071735","filename":"file0"},{"photo_id":"1398071781","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398071780":["hashtag1","hashtag2"]},{"1398071774":["hashtag1","hashtag2"]},{"1398071735":["hashtag1","hashtag2"]},{"1398071825":["hashtag1","hashtag2"]},{"1398071781":["hashtag1","hashtag2"]},{"1398071847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398071780, 1398071774, 1398071735, 1398071825, 1398071781, 1398071847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1959924697876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:09:21.999784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/45/image_05122025_10_45_54_9680.jpg', '/home/pi/Desktop/images/05122025/10/45/image_05122025_10_46_04_9910.jpg', '/home/pi/Desktop/images/05122025/10/46/image_05122025_10_46_15_10679.jpg', '/home/pi/Desktop/images/05122025/10/46/image_05122025_10_46_24_9313.jpg', '/home/pi/Desktop/images/05122025/10/46/image_05122025_10_46_35_10792.jpg', '/home/pi/Desktop/images/05122025/10/46/image_05122025_10_46_45_9990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/45/image_05122025_10_45_54_9680.jpg
/home/pi/Desktop/images/05122025/10/45/image_05122025_10_46_04_9910.jpg
/home/pi/Desktop/images/05122025/10/46/image_05122025_10_46_15_10679.jpg
/home/pi/Desktop/images/05122025/10/46/image_05122025_10_46_24_9313.jpg
/home/pi/Desktop/images/05122025/10/46/image_05122025_10_46_35_10792.jpg
/home/pi/Desktop/images/05122025/10/46/image_05122025_10_46_45_9990.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398071888","1398071893","1398071887","1398071899","1398071890","1398071895"],"photo_ids_order":["1398071887","1398071888","1398071890","1398071893","1398071895","1398071899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c3c253ab1a8489e333d0eadc20539fb.jpg","text":"TemporaryFile(/tmp/multipartBody6457289984472156138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929422703,"filename":"image_05122025_10_46_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/5/ac7075aa8bee9d9ab88d60d289c09717.jpg","text":"TemporaryFile(/tmp/multipartBody7156343435158699697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929422703,"filename":"image_05122025_10_46_24_9313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e3c06191a4c64678275f24823cefcc1c.jpg","text":"TemporaryFile(/tmp/multipartBody8611622811133480615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929422703,"filename":"image_05122025_10_45_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/5/8924f8bce108a5a0b1040efae6c070cf.jpg","text":"TemporaryFile(/tmp/multipartBody2610127943587764012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929422703,"filename":"image_05122025_10_46_45_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a57b7b8cf765c1ef4b08b5789378b8a.jpg","text":"TemporaryFile(/tmp/multipartBody1653059939222043147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929422703,"filename":"image_05122025_10_46_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/5/15bce2bd507d076fa88ab4481c2d731f.jpg","text":"TemporaryFile(/tmp/multipartBody6760171782137040905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929422703,"filename":"image_05122025_10_46_35_10792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398071890","file1":"1398071888","file0":"1398071887","file4":"1398071895","file5":"1398071899","file3":"1398071893"},"map_files_photo_id_array":[{"photo_id":"1398071899","filename":"file5"},{"photo_id":"1398071890","filename":"file2"},{"photo_id":"1398071895","filename":"file4"},{"photo_id":"1398071888","filename":"file1"},{"photo_id":"1398071887","filename":"file0"},{"photo_id":"1398071893","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398071888":["hashtag1","hashtag2"]},{"1398071893":["hashtag1","hashtag2"]},{"1398071887":["hashtag1","hashtag2"]},{"1398071899":["hashtag1","hashtag2"]},{"1398071890":["hashtag1","hashtag2"]},{"1398071895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398071888, 1398071893, 1398071887, 1398071899, 1398071890, 1398071895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03209042549133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:10:02.483169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/46/image_05122025_10_46_55_9725.jpg', '/home/pi/Desktop/images/05122025/10/46/image_05122025_10_47_05_10262.jpg', '/home/pi/Desktop/images/05122025/10/47/image_05122025_10_47_15_9715.jpg', '/home/pi/Desktop/images/05122025/10/47/image_05122025_10_47_24_9723.jpg', '/home/pi/Desktop/images/05122025/10/47/image_05122025_10_47_35_10688.jpg', '/home/pi/Desktop/images/05122025/10/47/image_05122025_10_47_45_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/46/image_05122025_10_46_55_9725.jpg
/home/pi/Desktop/images/05122025/10/46/image_05122025_10_47_05_10262.jpg
/home/pi/Desktop/images/05122025/10/47/image_05122025_10_47_15_9715.jpg
/home/pi/Desktop/images/05122025/10/47/image_05122025_10_47_24_9723.jpg
/home/pi/Desktop/images/05122025/10/47/image_05122025_10_47_35_10688.jpg
/home/pi/Desktop/images/05122025/10/47/image_05122025_10_47_45_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":["1398071909","1398071912","1398071905","1398071902","1398071910","1398071907"],"photo_ids_order":["1398071902","1398071905","1398071907","1398071909","1398071910","1398071912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/66c22f81a9610b10dcf72d71953f5728.jpg","text":"TemporaryFile(/tmp/multipartBody1603928374764993906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929463202,"filename":"image_05122025_10_47_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/5/c77c6648ba5e9cde6ff3a0732172c82a.jpg","text":"TemporaryFile(/tmp/multipartBody5495769359307763438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929463202,"filename":"image_05122025_10_47_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/5/13c813a02ab009aa6fb26bb23dab53b4.jpg","text":"TemporaryFile(/tmp/multipartBody5197782475824244406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929463202,"filename":"image_05122025_10_47_05_10262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c23a186b293319ef6bae852f6e7d1450.jpg","text":"TemporaryFile(/tmp/multipartBody5333272485223451427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929463202,"filename":"image_05122025_10_46_55_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/5/bac1516bd1c1e96a1a3c1fea813ec8b5.jpg","text":"TemporaryFile(/tmp/multipartBody7561517294909926863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929463202,"filename":"image_05122025_10_47_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/5/f5c123d37ecae6a23a92e73e9176e016.jpg","text":"TemporaryFile(/tmp/multipartBody3523519742199058796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929463202,"filename":"image_05122025_10_47_15_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398071907","file1":"1398071905","file0":"1398071902","file4":"1398071910","file5":"1398071912","file3":"1398071909"},"map_files_photo_id_array":[{"photo_id":"1398071912","filename":"file5"},{"photo_id":"1398071907","filename":"file2"},{"photo_id":"1398071910","filename":"file4"},{"photo_id":"1398071905","filename":"file1"},{"photo_id":"1398071902","filename":"file0"},{"photo_id":"1398071909","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398071909":["hashtag1","hashtag2"]},{"1398071912":["hashtag1","hashtag2"]},{"1398071905":["hashtag1","hashtag2"]},{"1398071902":["hashtag1","hashtag2"]},{"1398071910":["hashtag1","hashtag2"]},{"1398071907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398071909, 1398071912, 1398071905, 1398071902, 1398071910, 1398071907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84918999671936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:10:42.098021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_08_2887.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_14_2542.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_21_3728.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_23_2832.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_26_2657.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_29_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_08_2887.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_14_2542.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_21_3728.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_23_2832.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_26_2657.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_29_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":["1398071936","1398071930","1398071923","1398071926","1398071929","1398071937"],"photo_ids_order":["1398071923","1398071926","1398071929","1398071930","1398071936","1398071937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/93bfc9ff53501681b06617e046aecc50.jpg","text":"TemporaryFile(/tmp/multipartBody3867524811140224146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929503847,"filename":"image_31102025_19_21_26_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/5/d385b18e138beee77b1681696c867df8.jpg","text":"TemporaryFile(/tmp/multipartBody7757604948506090559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929503847,"filename":"image_31102025_19_21_23_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/153c8dac132eb78ec874a6089c047df7.jpg","text":"TemporaryFile(/tmp/multipartBody1862101970970860313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929503847,"filename":"image_31102025_19_21_08_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/5/309d73c218d6fd6f3ba5a73dce3c5014.jpg","text":"TemporaryFile(/tmp/multipartBody5485906416078717483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929503847,"filename":"image_31102025_19_21_14_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/5/020505447e19e474cbd72fcfac8f7494.jpg","text":"TemporaryFile(/tmp/multipartBody1438833998085881534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929503847,"filename":"image_31102025_19_21_21_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/5/4dd9d82a65dc17aa94c5e3e53eaa59c6.jpg","text":"TemporaryFile(/tmp/multipartBody2318160224020969690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929503847,"filename":"image_31102025_19_21_29_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398071929","file1":"1398071926","file0":"1398071923","file4":"1398071936","file5":"1398071937","file3":"1398071930"},"map_files_photo_id_array":[{"photo_id":"1398071937","filename":"file5"},{"photo_id":"1398071929","filename":"file2"},{"photo_id":"1398071936","filename":"file4"},{"photo_id":"1398071926","filename":"file1"},{"photo_id":"1398071923","filename":"file0"},{"photo_id":"1398071930","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398071936":["hashtag1","hashtag2"]},{"1398071930":["hashtag1","hashtag2"]},{"1398071923":["hashtag1","hashtag2"]},{"1398071926":["hashtag1","hashtag2"]},{"1398071929":["hashtag1","hashtag2"]},{"1398071937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398071936, 1398071930, 1398071923, 1398071926, 1398071929, 1398071937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.582435131073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:11:22.273264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/47/image_05122025_10_47_55_9877.jpg', '/home/pi/Desktop/images/05122025/10/47/image_05122025_10_48_05_9840.jpg', '/home/pi/Desktop/images/05122025/10/48/image_05122025_10_48_14_9850.jpg', '/home/pi/Desktop/images/05122025/10/48/image_05122025_10_48_25_10702.jpg', '/home/pi/Desktop/images/05122025/10/48/image_05122025_10_48_35_9592.jpg', '/home/pi/Desktop/images/05122025/10/48/image_05122025_10_48_44_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/47/image_05122025_10_47_55_9877.jpg
/home/pi/Desktop/images/05122025/10/47/image_05122025_10_48_05_9840.jpg
/home/pi/Desktop/images/05122025/10/48/image_05122025_10_48_14_9850.jpg
/home/pi/Desktop/images/05122025/10/48/image_05122025_10_48_25_10702.jpg
/home/pi/Desktop/images/05122025/10/48/image_05122025_10_48_35_9592.jpg
/home/pi/Desktop/images/05122025/10/48/image_05122025_10_48_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":["1398071960","1398071988","1398071964","1398071958","1398071990","1398071984"],"photo_ids_order":["1398071958","1398071960","1398071964","1398071984","1398071988","1398071990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d92589f2feac42cf34e992e2c803d0b6.jpg","text":"TemporaryFile(/tmp/multipartBody1719423951739188262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929542927,"filename":"image_05122025_10_48_05_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/5/5348268aa816decd3a3268753ba50e68.jpg","text":"TemporaryFile(/tmp/multipartBody4073255211174185958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929542927,"filename":"image_05122025_10_48_35_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/5/98b23aa422e23acfd7af04fd7180a738.jpg","text":"TemporaryFile(/tmp/multipartBody1482499708213338151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929542927,"filename":"image_05122025_10_48_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/5/c8d73a0220417922c246e8784989801d.jpg","text":"TemporaryFile(/tmp/multipartBody2368298566278584391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929542927,"filename":"image_05122025_10_47_55_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c787cdf863180565dba9327c3c93dde0.jpg","text":"TemporaryFile(/tmp/multipartBody8519133879199525231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929542927,"filename":"image_05122025_10_48_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/5/25fd675edc80ba020bc468d7471c3e5e.jpg","text":"TemporaryFile(/tmp/multipartBody2741434277519245321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929542927,"filename":"image_05122025_10_48_25_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398071964","file1":"1398071960","file0":"1398071958","file4":"1398071988","file5":"1398071990","file3":"1398071984"},"map_files_photo_id_array":[{"photo_id":"1398071990","filename":"file5"},{"photo_id":"1398071964","filename":"file2"},{"photo_id":"1398071988","filename":"file4"},{"photo_id":"1398071960","filename":"file1"},{"photo_id":"1398071958","filename":"file0"},{"photo_id":"1398071984","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398071960":["hashtag1","hashtag2"]},{"1398071988":["hashtag1","hashtag2"]},{"1398071964":["hashtag1","hashtag2"]},{"1398071958":["hashtag1","hashtag2"]},{"1398071990":["hashtag1","hashtag2"]},{"1398071984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398071960, 1398071988, 1398071964, 1398071958, 1398071990, 1398071984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66708254814148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:12:03.010278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/48/image_05122025_10_48_55_10758.jpg', '/home/pi/Desktop/images/05122025/10/49/image_05122025_10_49_14_9749.jpg', '/home/pi/Desktop/images/05122025/10/49/image_05122025_10_49_35_9561.jpg', '/home/pi/Desktop/images/05122025/10/51/image_05122025_10_51_14_10039.jpg', '/home/pi/Desktop/images/05122025/10/52/image_05122025_10_52_15_10569.jpg', '/home/pi/Desktop/images/05122025/10/52/image_05122025_10_52_54_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/48/image_05122025_10_48_55_10758.jpg
/home/pi/Desktop/images/05122025/10/49/image_05122025_10_49_14_9749.jpg
/home/pi/Desktop/images/05122025/10/49/image_05122025_10_49_35_9561.jpg
/home/pi/Desktop/images/05122025/10/51/image_05122025_10_51_14_10039.jpg
/home/pi/Desktop/images/05122025/10/52/image_05122025_10_52_15_10569.jpg
/home/pi/Desktop/images/05122025/10/52/image_05122025_10_52_54_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":["1398072023","1398072031","1398072034","1398072028","1398072036","1398072024"],"photo_ids_order":["1398072023","1398072024","1398072028","1398072031","1398072034","1398072036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c27033f259d31a7080d8cd22101337be.jpg","text":"TemporaryFile(/tmp/multipartBody7871297862484505423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929583586,"filename":"image_05122025_10_48_55_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/5/7fe9444dc16ef6265f3287c0134fa38d.jpg","text":"TemporaryFile(/tmp/multipartBody862871204070536854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929583586,"filename":"image_05122025_10_51_14_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f33be4525abc827b2994cf5264c1e531.jpg","text":"TemporaryFile(/tmp/multipartBody4824459307135196897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929583586,"filename":"image_05122025_10_52_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/5/c964d18083cbbd7ac60b0420ffd6fd60.jpg","text":"TemporaryFile(/tmp/multipartBody2457606740369873551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929583586,"filename":"image_05122025_10_49_35_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/5/b9dfb6aa3ce40f6242fe25e22ee93ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4870950711681686967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929583586,"filename":"image_05122025_10_52_54_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/5/cf49dfccaa58ec7277313948a9a4a6dc.jpg","text":"TemporaryFile(/tmp/multipartBody3243989021020793885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929583586,"filename":"image_05122025_10_49_14_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072028","file1":"1398072024","file0":"1398072023","file4":"1398072034","file5":"1398072036","file3":"1398072031"},"map_files_photo_id_array":[{"photo_id":"1398072036","filename":"file5"},{"photo_id":"1398072028","filename":"file2"},{"photo_id":"1398072034","filename":"file4"},{"photo_id":"1398072024","filename":"file1"},{"photo_id":"1398072023","filename":"file0"},{"photo_id":"1398072031","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072023":["hashtag1","hashtag2"]},{"1398072031":["hashtag1","hashtag2"]},{"1398072034":["hashtag1","hashtag2"]},{"1398072028":["hashtag1","hashtag2"]},{"1398072036":["hashtag1","hashtag2"]},{"1398072024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072023, 1398072031, 1398072034, 1398072028, 1398072036, 1398072024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13900113105774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:12:42.548075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_38_2697.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_42_3712.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_44_2736.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_47_2599.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_50_3583.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_53_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_38_2697.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_42_3712.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_44_2736.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_47_2599.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_50_3583.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_53_2551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398072041","1398072055","1398072049","1398072052","1398072051","1398072053"],"photo_ids_order":["1398072041","1398072049","1398072051","1398072052","1398072053","1398072055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2301bdb63cf2b0b1e1c7ea4f8f7a5c42.jpg","text":"TemporaryFile(/tmp/multipartBody7584038234577251970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929624173,"filename":"image_31102025_19_21_38_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/5/9ea65035d5a8e4bdfac745ad2c328aef.jpg","text":"TemporaryFile(/tmp/multipartBody4091409422880188456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929624173,"filename":"image_31102025_19_21_53_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/5/41725544711372138611da4de37578ae.jpg","text":"TemporaryFile(/tmp/multipartBody3377091961653598301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929624173,"filename":"image_31102025_19_21_42_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/5/0ca2233e888b200b29b2d23502b34058.jpg","text":"TemporaryFile(/tmp/multipartBody251819256083593928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929624173,"filename":"image_31102025_19_21_47_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/5/95d7179f6b815b369572364d76a7b367.jpg","text":"TemporaryFile(/tmp/multipartBody8500504845136430893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929624173,"filename":"image_31102025_19_21_44_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/44ac83699231b069fddaa9e2832d8972.jpg","text":"TemporaryFile(/tmp/multipartBody2889495311403374288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929624173,"filename":"image_31102025_19_21_50_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072051","file1":"1398072049","file0":"1398072041","file4":"1398072053","file5":"1398072055","file3":"1398072052"},"map_files_photo_id_array":[{"photo_id":"1398072055","filename":"file5"},{"photo_id":"1398072051","filename":"file2"},{"photo_id":"1398072053","filename":"file4"},{"photo_id":"1398072049","filename":"file1"},{"photo_id":"1398072041","filename":"file0"},{"photo_id":"1398072052","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398072041":["hashtag1","hashtag2"]},{"1398072055":["hashtag1","hashtag2"]},{"1398072049":["hashtag1","hashtag2"]},{"1398072052":["hashtag1","hashtag2"]},{"1398072051":["hashtag1","hashtag2"]},{"1398072053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398072041, 1398072055, 1398072049, 1398072052, 1398072051, 1398072053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.287734270095825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:13:22.725950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/54/image_05122025_10_54_15_10585.jpg', '/home/pi/Desktop/images/05122025/10/54/image_05122025_10_54_34_9629.jpg', '/home/pi/Desktop/images/05122025/10/54/image_05122025_10_54_45_10623.jpg', '/home/pi/Desktop/images/05122025/10/54/image_05122025_10_54_54_9677.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_14_10055.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_25_10796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/54/image_05122025_10_54_15_10585.jpg
/home/pi/Desktop/images/05122025/10/54/image_05122025_10_54_34_9629.jpg
/home/pi/Desktop/images/05122025/10/54/image_05122025_10_54_45_10623.jpg
/home/pi/Desktop/images/05122025/10/54/image_05122025_10_54_54_9677.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_14_10055.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_25_10796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398072067","1398072064","1398072066","1398072063","1398072065","1398072068"],"photo_ids_order":["1398072063","1398072064","1398072065","1398072066","1398072067","1398072068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f9e168173b6bf5346c2ce89cd9e02de3.jpg","text":"TemporaryFile(/tmp/multipartBody5584311057800929139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929663405,"filename":"image_05122025_10_55_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/5/201338668d11218e40735d73006b7ddc.jpg","text":"TemporaryFile(/tmp/multipartBody2954978378939612100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929663405,"filename":"image_05122025_10_54_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/5/7aa177ba095266204c295b491223ff4b.jpg","text":"TemporaryFile(/tmp/multipartBody4477439142385565880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929663405,"filename":"image_05122025_10_54_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9752579050dc4093d2dfbe1b453d32b8.jpg","text":"TemporaryFile(/tmp/multipartBody428401444675010634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929663405,"filename":"image_05122025_10_54_15_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/5/0150051a8cdf1d9d96cbdcb30fbc2901.jpg","text":"TemporaryFile(/tmp/multipartBody39020435648988219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929663405,"filename":"image_05122025_10_54_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/5/fe5d26f10f1ef723bcdbd7f2ef09cbc6.jpg","text":"TemporaryFile(/tmp/multipartBody3865324800180520883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929663405,"filename":"image_05122025_10_55_25_10796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072065","file1":"1398072064","file0":"1398072063","file4":"1398072067","file5":"1398072068","file3":"1398072066"},"map_files_photo_id_array":[{"photo_id":"1398072068","filename":"file5"},{"photo_id":"1398072065","filename":"file2"},{"photo_id":"1398072067","filename":"file4"},{"photo_id":"1398072064","filename":"file1"},{"photo_id":"1398072063","filename":"file0"},{"photo_id":"1398072066","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072067":["hashtag1","hashtag2"]},{"1398072064":["hashtag1","hashtag2"]},{"1398072066":["hashtag1","hashtag2"]},{"1398072063":["hashtag1","hashtag2"]},{"1398072065":["hashtag1","hashtag2"]},{"1398072068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072067, 1398072064, 1398072066, 1398072063, 1398072065, 1398072068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09070420265198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:14:02.537536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_35_9708.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_44_9765.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_54_9764.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_56_05_10895.jpg', '/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_15_9782.jpg', '/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_24_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_35_9708.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_44_9765.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_54_9764.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_56_05_10895.jpg
/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_15_9782.jpg
/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_24_9680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.70200514793396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 11:14:11.873752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/31/image_02122025_18_32_05_9802.jpg', '/home/pi/Desktop/images/02122025/18/32/image_02122025_18_32_14_9811.jpg', '/home/pi/Desktop/images/02122025/18/32/image_02122025_18_32_25_10680.jpg', '/home/pi/Desktop/images/02122025/18/32/image_02122025_18_32_45_9735.jpg', '/home/pi/Desktop/images/02122025/18/32/image_02122025_18_32_54_9700.jpg', '/home/pi/Desktop/images/02122025/18/33/image_02122025_18_33_34_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/31/image_02122025_18_32_05_9802.jpg
/home/pi/Desktop/images/02122025/18/32/image_02122025_18_32_14_9811.jpg
/home/pi/Desktop/images/02122025/18/32/image_02122025_18_32_25_10680.jpg
/home/pi/Desktop/images/02122025/18/32/image_02122025_18_32_45_9735.jpg
/home/pi/Desktop/images/02122025/18/32/image_02122025_18_32_54_9700.jpg
/home/pi/Desktop/images/02122025/18/33/image_02122025_18_33_34_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398072091","1398072089","1398072080","1398072083","1398072092","1398072086"],"photo_ids_order":["1398072080","1398072083","1398072086","1398072089","1398072091","1398072092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6376ac780fb931b5c92ba9fbf126e36f.jpg","text":"TemporaryFile(/tmp/multipartBody1077988475557755800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929713968,"filename":"image_02122025_18_32_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/5/b2ff51f665f6a09020297b590eabad08.jpg","text":"TemporaryFile(/tmp/multipartBody239779718342694970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929713968,"filename":"image_02122025_18_32_45_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/5/e19ccf281bc4c47c311aceeceb422c4d.jpg","text":"TemporaryFile(/tmp/multipartBody391401130025003856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929713968,"filename":"image_02122025_18_32_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/5/b9e3e1fa611826bbba2f76de4e3b03f9.jpg","text":"TemporaryFile(/tmp/multipartBody3472841034184760408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929713968,"filename":"image_02122025_18_32_14_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/5/f7eb52c6c7e04caefb835ac9f455f9e3.jpg","text":"TemporaryFile(/tmp/multipartBody2309058536055271772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929713968,"filename":"image_02122025_18_33_34_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1960a724a5d31468a41a22051a906c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5750167009824664426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929713968,"filename":"image_02122025_18_32_25_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072086","file1":"1398072083","file0":"1398072080","file4":"1398072091","file5":"1398072092","file3":"1398072089"},"map_files_photo_id_array":[{"photo_id":"1398072092","filename":"file5"},{"photo_id":"1398072086","filename":"file2"},{"photo_id":"1398072091","filename":"file4"},{"photo_id":"1398072083","filename":"file1"},{"photo_id":"1398072080","filename":"file0"},{"photo_id":"1398072089","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398072091":["hashtag1","hashtag2"]},{"1398072089":["hashtag1","hashtag2"]},{"1398072080":["hashtag1","hashtag2"]},{"1398072083":["hashtag1","hashtag2"]},{"1398072092":["hashtag1","hashtag2"]},{"1398072086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398072091, 1398072089, 1398072080, 1398072083, 1398072092, 1398072086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01236367225647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:15:02.647719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_35_9708.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_44_9765.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_54_9764.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_56_05_10895.jpg', '/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_15_9782.jpg', '/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_24_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_35_9708.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_44_9765.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_54_9764.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_56_05_10895.jpg
/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_15_9782.jpg
/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_24_9680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6930885314941406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 11:15:12.098707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/33/image_02122025_18_34_05_9855.jpg', '/home/pi/Desktop/images/02122025/18/34/image_02122025_18_34_14_9831.jpg', '/home/pi/Desktop/images/02122025/18/34/image_02122025_18_34_24_9840.jpg', '/home/pi/Desktop/images/02122025/18/34/image_02122025_18_34_45_9706.jpg', '/home/pi/Desktop/images/02122025/18/35/image_02122025_18_35_45_9660.jpg', '/home/pi/Desktop/images/02122025/18/35/image_02122025_18_35_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/33/image_02122025_18_34_05_9855.jpg
/home/pi/Desktop/images/02122025/18/34/image_02122025_18_34_14_9831.jpg
/home/pi/Desktop/images/02122025/18/34/image_02122025_18_34_24_9840.jpg
/home/pi/Desktop/images/02122025/18/34/image_02122025_18_34_45_9706.jpg
/home/pi/Desktop/images/02122025/18/35/image_02122025_18_35_45_9660.jpg
/home/pi/Desktop/images/02122025/18/35/image_02122025_18_35_55_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":["1398072140","1398072142","1398072145","1398072144","1398072137","1398072146"],"photo_ids_order":["1398072137","1398072140","1398072142","1398072144","1398072145","1398072146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9dc9796352b2b20b74f5dd3020951736.jpg","text":"TemporaryFile(/tmp/multipartBody7057749640425938357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929774010,"filename":"image_02122025_18_34_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/5/edb4e27bedabd90de60ef92b25024005.jpg","text":"TemporaryFile(/tmp/multipartBody2498437725981217847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929774010,"filename":"image_02122025_18_34_24_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/5/adb274ecdccc0360297fdecff58ee04c.jpg","text":"TemporaryFile(/tmp/multipartBody1482870102415010896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929774010,"filename":"image_02122025_18_35_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/424a49dd61fb1485d8ebbeccd2d2662b.jpg","text":"TemporaryFile(/tmp/multipartBody4928449863399495236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929774010,"filename":"image_02122025_18_34_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/5/695fa1f72306f3e28ef93341cbb31d05.jpg","text":"TemporaryFile(/tmp/multipartBody2515868449280331374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929774010,"filename":"image_02122025_18_34_05_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/5/223986c6b9d888da6024e278d5658344.jpg","text":"TemporaryFile(/tmp/multipartBody5536935577666210310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929774010,"filename":"image_02122025_18_35_55_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072142","file1":"1398072140","file0":"1398072137","file4":"1398072145","file5":"1398072146","file3":"1398072144"},"map_files_photo_id_array":[{"photo_id":"1398072146","filename":"file5"},{"photo_id":"1398072142","filename":"file2"},{"photo_id":"1398072145","filename":"file4"},{"photo_id":"1398072140","filename":"file1"},{"photo_id":"1398072137","filename":"file0"},{"photo_id":"1398072144","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398072140":["hashtag1","hashtag2"]},{"1398072142":["hashtag1","hashtag2"]},{"1398072145":["hashtag1","hashtag2"]},{"1398072144":["hashtag1","hashtag2"]},{"1398072137":["hashtag1","hashtag2"]},{"1398072146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398072140, 1398072142, 1398072145, 1398072144, 1398072137, 1398072146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38265585899353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:16:02.581211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_35_9708.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_44_9765.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_54_9764.jpg', '/home/pi/Desktop/images/05122025/10/55/image_05122025_10_56_05_10895.jpg', '/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_15_9782.jpg', '/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_24_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_35_9708.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_44_9765.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_55_54_9764.jpg
/home/pi/Desktop/images/05122025/10/55/image_05122025_10_56_05_10895.jpg
/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_15_9782.jpg
/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_24_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":["1398072148","1398072157","1398072151","1398072153","1398072147","1398072155"],"photo_ids_order":["1398072147","1398072148","1398072151","1398072153","1398072155","1398072157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95eb621a64204eaf17accd95cdb8a852.jpg","text":"TemporaryFile(/tmp/multipartBody2308617041183348359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929823351,"filename":"image_05122025_10_55_44_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aadb67bd799de66efd4e3a91a5085d24.jpg","text":"TemporaryFile(/tmp/multipartBody2577664582005708516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929823351,"filename":"image_05122025_10_56_24_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/5/0b63a7c0443e2f90028cc34add5d9b01.jpg","text":"TemporaryFile(/tmp/multipartBody8183777460177134211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929823351,"filename":"image_05122025_10_55_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/5/bb7370e33b2162c113f61a6f8cfc20e9.jpg","text":"TemporaryFile(/tmp/multipartBody2477157554360137487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929823351,"filename":"image_05122025_10_56_05_10895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abb3d3afca1bc58dac1474bc0baa4656.jpg","text":"TemporaryFile(/tmp/multipartBody991745484720100179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929823351,"filename":"image_05122025_10_55_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6ba604895fa8b2aa2a23cd6417b071bb.jpg","text":"TemporaryFile(/tmp/multipartBody5354199020303939882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929823351,"filename":"image_05122025_10_56_15_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072151","file1":"1398072148","file0":"1398072147","file4":"1398072155","file5":"1398072157","file3":"1398072153"},"map_files_photo_id_array":[{"photo_id":"1398072157","filename":"file5"},{"photo_id":"1398072151","filename":"file2"},{"photo_id":"1398072155","filename":"file4"},{"photo_id":"1398072148","filename":"file1"},{"photo_id":"1398072147","filename":"file0"},{"photo_id":"1398072153","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072148":["hashtag1","hashtag2"]},{"1398072157":["hashtag1","hashtag2"]},{"1398072151":["hashtag1","hashtag2"]},{"1398072153":["hashtag1","hashtag2"]},{"1398072147":["hashtag1","hashtag2"]},{"1398072155":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072148, 1398072157, 1398072151, 1398072153, 1398072147, 1398072155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51189064979553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:16:42.181144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_56_2696.jpg', '/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_59_3613.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_02_2656.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_06_3602.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_11_2753.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_20_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_56_2696.jpg
/home/pi/Desktop/images/31102025/19/21/image_31102025_19_21_59_3613.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_02_2656.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_06_3602.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_11_2753.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_20_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":["1398072175","1398072169","1398072244","1398072204","1398072176","1398072161"],"photo_ids_order":["1398072161","1398072169","1398072175","1398072176","1398072204","1398072244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/623493923cd33f6b8a696064e6d9efb6.jpg","text":"TemporaryFile(/tmp/multipartBody3465168625074772517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929863874,"filename":"image_31102025_19_22_02_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/5/9acacc19647f2653fbcd9581894094a1.jpg","text":"TemporaryFile(/tmp/multipartBody2735689915127946016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929863874,"filename":"image_31102025_19_21_59_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/5/13444690e82f52bcbd428333985a268a.jpg","text":"TemporaryFile(/tmp/multipartBody6422064375942473981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929863874,"filename":"image_31102025_19_22_20_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/5/5a3564d15e26e0e49cf94f8b5688413c.jpg","text":"TemporaryFile(/tmp/multipartBody8861230394974596868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929863874,"filename":"image_31102025_19_22_11_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/5/ce96052268d67474fbe0c0dc8d65b2ad.jpg","text":"TemporaryFile(/tmp/multipartBody1635198717915211031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929863874,"filename":"image_31102025_19_22_06_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb0b72e86822b2d2f47bf408082c1c0b.jpg","text":"TemporaryFile(/tmp/multipartBody2651699670377922916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929863874,"filename":"image_31102025_19_21_56_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072175","file1":"1398072169","file0":"1398072161","file4":"1398072204","file5":"1398072244","file3":"1398072176"},"map_files_photo_id_array":[{"photo_id":"1398072244","filename":"file5"},{"photo_id":"1398072175","filename":"file2"},{"photo_id":"1398072204","filename":"file4"},{"photo_id":"1398072169","filename":"file1"},{"photo_id":"1398072161","filename":"file0"},{"photo_id":"1398072176","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398072175":["hashtag1","hashtag2"]},{"1398072169":["hashtag1","hashtag2"]},{"1398072244":["hashtag1","hashtag2"]},{"1398072204":["hashtag1","hashtag2"]},{"1398072176":["hashtag1","hashtag2"]},{"1398072161":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398072175, 1398072169, 1398072244, 1398072204, 1398072176, 1398072161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.639676094055176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:17:22.354192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_34_9577.jpg', '/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_45_10773.jpg', '/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_55_9838.jpg', '/home/pi/Desktop/images/05122025/10/56/image_05122025_10_57_05_9896.jpg', '/home/pi/Desktop/images/05122025/10/57/image_05122025_10_57_14_9676.jpg', '/home/pi/Desktop/images/05122025/10/57/image_05122025_10_57_24_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_34_9577.jpg
/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_45_10773.jpg
/home/pi/Desktop/images/05122025/10/56/image_05122025_10_56_55_9838.jpg
/home/pi/Desktop/images/05122025/10/56/image_05122025_10_57_05_9896.jpg
/home/pi/Desktop/images/05122025/10/57/image_05122025_10_57_14_9676.jpg
/home/pi/Desktop/images/05122025/10/57/image_05122025_10_57_24_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":["1398072474","1398072412","1398072488","1398072473","1398072455","1398072377"],"photo_ids_order":["1398072377","1398072412","1398072455","1398072473","1398072474","1398072488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4a1893352567777fa9a136ebec60eb8c.jpg","text":"TemporaryFile(/tmp/multipartBody7784100646588715034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929903147,"filename":"image_05122025_10_57_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cd42a4e9229d61850b5553314c2f8ae2.jpg","text":"TemporaryFile(/tmp/multipartBody7773447956900534553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929903147,"filename":"image_05122025_10_56_45_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/5/beb4f26d8cb79488c5f18d977e3ca0c4.jpg","text":"TemporaryFile(/tmp/multipartBody5742680304880086981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929903147,"filename":"image_05122025_10_57_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/5/9378eadcc981ae6d417edd1c6b95170b.jpg","text":"TemporaryFile(/tmp/multipartBody2319609625922232213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929903147,"filename":"image_05122025_10_57_05_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/5/46b74141f4ffca464208b86e839ea307.jpg","text":"TemporaryFile(/tmp/multipartBody6557229017438049639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929903147,"filename":"image_05122025_10_56_55_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/5/99a607e1435c50c8209ae65b6a9fd83b.jpg","text":"TemporaryFile(/tmp/multipartBody6015410298823492098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929903147,"filename":"image_05122025_10_56_34_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072455","file1":"1398072412","file0":"1398072377","file4":"1398072474","file5":"1398072488","file3":"1398072473"},"map_files_photo_id_array":[{"photo_id":"1398072488","filename":"file5"},{"photo_id":"1398072455","filename":"file2"},{"photo_id":"1398072474","filename":"file4"},{"photo_id":"1398072412","filename":"file1"},{"photo_id":"1398072377","filename":"file0"},{"photo_id":"1398072473","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072474":["hashtag1","hashtag2"]},{"1398072412":["hashtag1","hashtag2"]},{"1398072488":["hashtag1","hashtag2"]},{"1398072473":["hashtag1","hashtag2"]},{"1398072455":["hashtag1","hashtag2"]},{"1398072377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072474, 1398072412, 1398072488, 1398072473, 1398072455, 1398072377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17723560333252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:18:02.913861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/57/image_05122025_10_57_44_9694.jpg', '/home/pi/Desktop/images/05122025/10/57/image_05122025_10_57_54_9871.jpg', '/home/pi/Desktop/images/05122025/10/57/image_05122025_10_58_05_10709.jpg', '/home/pi/Desktop/images/05122025/10/58/image_05122025_10_58_15_9849.jpg', '/home/pi/Desktop/images/05122025/10/58/image_05122025_10_58_25_9931.jpg', '/home/pi/Desktop/images/05122025/10/58/image_05122025_10_58_35_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/57/image_05122025_10_57_44_9694.jpg
/home/pi/Desktop/images/05122025/10/57/image_05122025_10_57_54_9871.jpg
/home/pi/Desktop/images/05122025/10/57/image_05122025_10_58_05_10709.jpg
/home/pi/Desktop/images/05122025/10/58/image_05122025_10_58_15_9849.jpg
/home/pi/Desktop/images/05122025/10/58/image_05122025_10_58_25_9931.jpg
/home/pi/Desktop/images/05122025/10/58/image_05122025_10_58_35_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398072500","1398072502","1398072505","1398072510","1398072513","1398072501"],"photo_ids_order":["1398072500","1398072501","1398072502","1398072505","1398072510","1398072513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/55547aea68da5579b7dd89557ab97f00.jpg","text":"TemporaryFile(/tmp/multipartBody6511830804333310165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929943689,"filename":"image_05122025_10_57_44_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/5/aee43b2c8a372e4e4029f9472943d8e1.jpg","text":"TemporaryFile(/tmp/multipartBody4541251179595201958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929943689,"filename":"image_05122025_10_58_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/5/c8da6abb6f5fb580ec597ed3c1843dd8.jpg","text":"TemporaryFile(/tmp/multipartBody6174220186931447641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929943689,"filename":"image_05122025_10_58_15_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/5/42ea5eedb054ae8f5de47c08df101ad5.jpg","text":"TemporaryFile(/tmp/multipartBody939114389780055680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929943689,"filename":"image_05122025_10_58_25_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ffae274b8a12796e06930e7a0ffe2455.jpg","text":"TemporaryFile(/tmp/multipartBody2400888721000751113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929943689,"filename":"image_05122025_10_58_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/5/d3043d6aee1f39019658aeb98a94cb16.jpg","text":"TemporaryFile(/tmp/multipartBody8667904880784553269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929943689,"filename":"image_05122025_10_57_54_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072502","file1":"1398072501","file0":"1398072500","file4":"1398072510","file5":"1398072513","file3":"1398072505"},"map_files_photo_id_array":[{"photo_id":"1398072513","filename":"file5"},{"photo_id":"1398072502","filename":"file2"},{"photo_id":"1398072510","filename":"file4"},{"photo_id":"1398072501","filename":"file1"},{"photo_id":"1398072500","filename":"file0"},{"photo_id":"1398072505","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072500":["hashtag1","hashtag2"]},{"1398072502":["hashtag1","hashtag2"]},{"1398072505":["hashtag1","hashtag2"]},{"1398072510":["hashtag1","hashtag2"]},{"1398072513":["hashtag1","hashtag2"]},{"1398072501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072500, 1398072502, 1398072505, 1398072510, 1398072513, 1398072501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89882826805115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:18:42.525092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_23_2559.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_26_3658.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_29_2651.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_32_2669.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_35_3712.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_38_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_23_2559.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_26_3658.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_29_2651.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_32_2669.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_35_3712.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_38_2617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398072527","1398072544","1398072547","1398072541","1398072535","1398072533"],"photo_ids_order":["1398072527","1398072533","1398072535","1398072541","1398072544","1398072547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ab60c054be4bd6ff96c7f73c5a2af39.jpg","text":"TemporaryFile(/tmp/multipartBody2953882153372063843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929984165,"filename":"image_31102025_19_22_23_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/5/baa3d1f3945daadb2ea4d131de7851e5.jpg","text":"TemporaryFile(/tmp/multipartBody1664396896387883259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929984165,"filename":"image_31102025_19_22_35_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/5/231ea98f329deb0f57b09bc5d4e6de6e.jpg","text":"TemporaryFile(/tmp/multipartBody6875800237779104309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929984165,"filename":"image_31102025_19_22_38_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a705ec21adf6f77e88db9de651b9d23a.jpg","text":"TemporaryFile(/tmp/multipartBody1685153243436146388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929984165,"filename":"image_31102025_19_22_32_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/5/38b89cc9198cfee95d4f8a1bf303aa3c.jpg","text":"TemporaryFile(/tmp/multipartBody3617778559152377362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929984165,"filename":"image_31102025_19_22_29_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/5/735528a1c9f85b7443001653a117509e.jpg","text":"TemporaryFile(/tmp/multipartBody7855466352642804845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764929984165,"filename":"image_31102025_19_22_26_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072535","file1":"1398072533","file0":"1398072527","file4":"1398072544","file5":"1398072547","file3":"1398072541"},"map_files_photo_id_array":[{"photo_id":"1398072547","filename":"file5"},{"photo_id":"1398072535","filename":"file2"},{"photo_id":"1398072544","filename":"file4"},{"photo_id":"1398072533","filename":"file1"},{"photo_id":"1398072527","filename":"file0"},{"photo_id":"1398072541","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398072527":["hashtag1","hashtag2"]},{"1398072544":["hashtag1","hashtag2"]},{"1398072547":["hashtag1","hashtag2"]},{"1398072541":["hashtag1","hashtag2"]},{"1398072535":["hashtag1","hashtag2"]},{"1398072533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398072527, 1398072544, 1398072547, 1398072541, 1398072535, 1398072533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30251359939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:19:22.663829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/58/image_05122025_10_58_44_9672.jpg', '/home/pi/Desktop/images/05122025/10/58/image_05122025_10_58_55_10742.jpg', '/home/pi/Desktop/images/05122025/10/58/image_05122025_10_59_05_9874.jpg', '/home/pi/Desktop/images/05122025/10/59/image_05122025_10_59_14_9657.jpg', '/home/pi/Desktop/images/05122025/10/59/image_05122025_10_59_24_9778.jpg', '/home/pi/Desktop/images/05122025/10/59/image_05122025_10_59_35_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/58/image_05122025_10_58_44_9672.jpg
/home/pi/Desktop/images/05122025/10/58/image_05122025_10_58_55_10742.jpg
/home/pi/Desktop/images/05122025/10/58/image_05122025_10_59_05_9874.jpg
/home/pi/Desktop/images/05122025/10/59/image_05122025_10_59_14_9657.jpg
/home/pi/Desktop/images/05122025/10/59/image_05122025_10_59_24_9778.jpg
/home/pi/Desktop/images/05122025/10/59/image_05122025_10_59_35_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":["1398072562","1398072559","1398072553","1398072561","1398072555","1398072557"],"photo_ids_order":["1398072553","1398072555","1398072557","1398072559","1398072561","1398072562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47d85add136fdcdccc8468466776ce44.jpg","text":"TemporaryFile(/tmp/multipartBody5931177526999240394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930023453,"filename":"image_05122025_10_59_35_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/5/506d2e7b95d97f8a37880822e8a69bd4.jpg","text":"TemporaryFile(/tmp/multipartBody3122000999520026561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930023453,"filename":"image_05122025_10_59_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abf1ee047a2c6ed4669bca9e65b94059.jpg","text":"TemporaryFile(/tmp/multipartBody2366333453604064792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930023453,"filename":"image_05122025_10_58_44_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/5/72a72ae5bff39dbe0fb53d004a2913f5.jpg","text":"TemporaryFile(/tmp/multipartBody830490585458942353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930023453,"filename":"image_05122025_10_59_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/5/97453650b9e548e3cdad4aec58560c44.jpg","text":"TemporaryFile(/tmp/multipartBody7714863154551803933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930023453,"filename":"image_05122025_10_58_55_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0d8cf61ed22f392f149fdd9d8966e091.jpg","text":"TemporaryFile(/tmp/multipartBody3428640212275762628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930023453,"filename":"image_05122025_10_59_05_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072557","file1":"1398072555","file0":"1398072553","file4":"1398072561","file5":"1398072562","file3":"1398072559"},"map_files_photo_id_array":[{"photo_id":"1398072562","filename":"file5"},{"photo_id":"1398072557","filename":"file2"},{"photo_id":"1398072561","filename":"file4"},{"photo_id":"1398072555","filename":"file1"},{"photo_id":"1398072553","filename":"file0"},{"photo_id":"1398072559","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072562":["hashtag1","hashtag2"]},{"1398072559":["hashtag1","hashtag2"]},{"1398072553":["hashtag1","hashtag2"]},{"1398072561":["hashtag1","hashtag2"]},{"1398072555":["hashtag1","hashtag2"]},{"1398072557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072562, 1398072559, 1398072553, 1398072561, 1398072555, 1398072557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.831708908081055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:20:02.319080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/10/59/image_05122025_10_59_44_9539.jpg', '/home/pi/Desktop/images/05122025/10/59/image_05122025_10_59_54_9733.jpg', '/home/pi/Desktop/images/05122025/11/01/image_05122025_11_01_13_10037.jpg', '/home/pi/Desktop/images/05122025/11/01/image_05122025_11_01_24_10603.jpg', '/home/pi/Desktop/images/05122025/11/01/image_05122025_11_01_34_9674.jpg', '/home/pi/Desktop/images/05122025/11/01/image_05122025_11_01_44_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/10/59/image_05122025_10_59_44_9539.jpg
/home/pi/Desktop/images/05122025/10/59/image_05122025_10_59_54_9733.jpg
/home/pi/Desktop/images/05122025/11/01/image_05122025_11_01_13_10037.jpg
/home/pi/Desktop/images/05122025/11/01/image_05122025_11_01_24_10603.jpg
/home/pi/Desktop/images/05122025/11/01/image_05122025_11_01_34_9674.jpg
/home/pi/Desktop/images/05122025/11/01/image_05122025_11_01_44_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":["1398072574","1398072571","1398072568","1398072570","1398072572","1398072566"],"photo_ids_order":["1398072566","1398072568","1398072570","1398072571","1398072572","1398072574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/63fb4e6c818db8662b558fa819409f25.jpg","text":"TemporaryFile(/tmp/multipartBody5096801273985560676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930063061,"filename":"image_05122025_11_01_44_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/56c018ca63b889335a75a5d53dbb00cc.jpg","text":"TemporaryFile(/tmp/multipartBody973331334348891981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930063061,"filename":"image_05122025_11_01_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/5/24d6c0a4ce2669c0007b3eb66b56cad8.jpg","text":"TemporaryFile(/tmp/multipartBody1634199707032939807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930063061,"filename":"image_05122025_10_59_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d3ef1165c64e9d73a9fdc6a89e262915.jpg","text":"TemporaryFile(/tmp/multipartBody2641945666917628013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930063061,"filename":"image_05122025_11_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/5/1ba4f60570673f9c03bd5266e8597b06.jpg","text":"TemporaryFile(/tmp/multipartBody2702694260385216280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930063061,"filename":"image_05122025_11_01_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/5/a4c00595040d1dc2bc7500d33563c299.jpg","text":"TemporaryFile(/tmp/multipartBody6758198925534063756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930063061,"filename":"image_05122025_10_59_44_9539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072570","file1":"1398072568","file0":"1398072566","file4":"1398072572","file5":"1398072574","file3":"1398072571"},"map_files_photo_id_array":[{"photo_id":"1398072574","filename":"file5"},{"photo_id":"1398072570","filename":"file2"},{"photo_id":"1398072572","filename":"file4"},{"photo_id":"1398072568","filename":"file1"},{"photo_id":"1398072566","filename":"file0"},{"photo_id":"1398072571","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072574":["hashtag1","hashtag2"]},{"1398072571":["hashtag1","hashtag2"]},{"1398072568":["hashtag1","hashtag2"]},{"1398072570":["hashtag1","hashtag2"]},{"1398072572":["hashtag1","hashtag2"]},{"1398072566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072574, 1398072571, 1398072568, 1398072570, 1398072572, 1398072566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.646482706069946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:20:41.844638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_41_2918.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_47_3512.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_50_2735.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_53_3590.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_56_2618.jpg', '/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_59_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_41_2918.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_47_3512.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_50_2735.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_53_3590.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_56_2618.jpg
/home/pi/Desktop/images/31102025/19/22/image_31102025_19_22_59_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398072611","1398072589","1398072613","1398072610","1398072612","1398072584"],"photo_ids_order":["1398072584","1398072589","1398072610","1398072611","1398072612","1398072613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a0e5b0fb56a75dd2ec9f35e0ac52fc6.jpg","text":"TemporaryFile(/tmp/multipartBody8496211421642866554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930103520,"filename":"image_31102025_19_22_53_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/93cd306f19cb1afbbf03ebfc49f8e02e.jpg","text":"TemporaryFile(/tmp/multipartBody7250211398650478412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930103520,"filename":"image_31102025_19_22_47_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0de3a8ebcb6a0035447e7c5e8c594f75.jpg","text":"TemporaryFile(/tmp/multipartBody5127269299587025603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930103520,"filename":"image_31102025_19_22_59_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2fde596b2daa087d5609b2696d42fc1.jpg","text":"TemporaryFile(/tmp/multipartBody461009850527300523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930103520,"filename":"image_31102025_19_22_50_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/5/979c59baf0a24a41eff904a3074c00e3.jpg","text":"TemporaryFile(/tmp/multipartBody4684193603323509767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930103520,"filename":"image_31102025_19_22_56_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/5/748bb89045367017ea25b1720cff2093.jpg","text":"TemporaryFile(/tmp/multipartBody6567917575867663616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930103520,"filename":"image_31102025_19_22_41_2918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072610","file1":"1398072589","file0":"1398072584","file4":"1398072612","file5":"1398072613","file3":"1398072611"},"map_files_photo_id_array":[{"photo_id":"1398072613","filename":"file5"},{"photo_id":"1398072610","filename":"file2"},{"photo_id":"1398072612","filename":"file4"},{"photo_id":"1398072589","filename":"file1"},{"photo_id":"1398072584","filename":"file0"},{"photo_id":"1398072611","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398072611":["hashtag1","hashtag2"]},{"1398072589":["hashtag1","hashtag2"]},{"1398072613":["hashtag1","hashtag2"]},{"1398072610":["hashtag1","hashtag2"]},{"1398072612":["hashtag1","hashtag2"]},{"1398072584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398072611, 1398072589, 1398072613, 1398072610, 1398072612, 1398072584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72282004356384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:21:22.141185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/01/image_05122025_11_01_54_9720.jpg', '/home/pi/Desktop/images/05122025/11/01/image_05122025_11_02_04_9648.jpg', '/home/pi/Desktop/images/05122025/11/02/image_05122025_11_02_14_10655.jpg', '/home/pi/Desktop/images/05122025/11/02/image_05122025_11_02_24_9678.jpg', '/home/pi/Desktop/images/05122025/11/02/image_05122025_11_02_34_9796.jpg', '/home/pi/Desktop/images/05122025/11/02/image_05122025_11_02_43_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/01/image_05122025_11_01_54_9720.jpg
/home/pi/Desktop/images/05122025/11/01/image_05122025_11_02_04_9648.jpg
/home/pi/Desktop/images/05122025/11/02/image_05122025_11_02_14_10655.jpg
/home/pi/Desktop/images/05122025/11/02/image_05122025_11_02_24_9678.jpg
/home/pi/Desktop/images/05122025/11/02/image_05122025_11_02_34_9796.jpg
/home/pi/Desktop/images/05122025/11/02/image_05122025_11_02_43_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":["1398072623","1398072626","1398072622","1398072624","1398072618","1398072620"],"photo_ids_order":["1398072618","1398072620","1398072622","1398072623","1398072624","1398072626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/229df8279143be5217e19d9a6ee83bc5.jpg","text":"TemporaryFile(/tmp/multipartBody443318367169387462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930142873,"filename":"image_05122025_11_02_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/44bf516d6c6c1c8448569789b843a53f.jpg","text":"TemporaryFile(/tmp/multipartBody7065808877531781370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930142873,"filename":"image_05122025_11_02_43_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/5/085e4744cd54967eddf952474284d210.jpg","text":"TemporaryFile(/tmp/multipartBody2121022809114511844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930142873,"filename":"image_05122025_11_02_14_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91d1748af2c1b3ec42a68d3f3e3774b3.jpg","text":"TemporaryFile(/tmp/multipartBody7851046243607172713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930142873,"filename":"image_05122025_11_02_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/5/ab3d785c48e0321cfa82b25ad25b654f.jpg","text":"TemporaryFile(/tmp/multipartBody2088378522765565394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930142873,"filename":"image_05122025_11_01_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/5/d8c10c04df7b5e5ee9d234bb9e364c01.jpg","text":"TemporaryFile(/tmp/multipartBody5439313696565398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930142873,"filename":"image_05122025_11_02_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072622","file1":"1398072620","file0":"1398072618","file4":"1398072624","file5":"1398072626","file3":"1398072623"},"map_files_photo_id_array":[{"photo_id":"1398072626","filename":"file5"},{"photo_id":"1398072622","filename":"file2"},{"photo_id":"1398072624","filename":"file4"},{"photo_id":"1398072620","filename":"file1"},{"photo_id":"1398072618","filename":"file0"},{"photo_id":"1398072623","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072623":["hashtag1","hashtag2"]},{"1398072626":["hashtag1","hashtag2"]},{"1398072622":["hashtag1","hashtag2"]},{"1398072624":["hashtag1","hashtag2"]},{"1398072618":["hashtag1","hashtag2"]},{"1398072620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072623, 1398072626, 1398072622, 1398072624, 1398072618, 1398072620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.975407123565674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:22:02.597756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/02/image_05122025_11_02_53_9909.jpg', '/home/pi/Desktop/images/05122025/11/02/image_05122025_11_03_04_10627.jpg', '/home/pi/Desktop/images/05122025/11/03/image_05122025_11_03_14_9694.jpg', '/home/pi/Desktop/images/05122025/11/03/image_05122025_11_03_23_9770.jpg', '/home/pi/Desktop/images/05122025/11/03/image_05122025_11_03_34_10727.jpg', '/home/pi/Desktop/images/05122025/11/03/image_05122025_11_03_44_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/02/image_05122025_11_02_53_9909.jpg
/home/pi/Desktop/images/05122025/11/02/image_05122025_11_03_04_10627.jpg
/home/pi/Desktop/images/05122025/11/03/image_05122025_11_03_14_9694.jpg
/home/pi/Desktop/images/05122025/11/03/image_05122025_11_03_23_9770.jpg
/home/pi/Desktop/images/05122025/11/03/image_05122025_11_03_34_10727.jpg
/home/pi/Desktop/images/05122025/11/03/image_05122025_11_03_44_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398072644","1398072638","1398072649","1398072640","1398072653","1398072632"],"photo_ids_order":["1398072632","1398072638","1398072640","1398072644","1398072649","1398072653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/69c753b7e78a190fd8d9765fbefa3953.jpg","text":"TemporaryFile(/tmp/multipartBody3043082871382568977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930183323,"filename":"image_05122025_11_03_23_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aaf7cbd334a53f719dca15be77006672.jpg","text":"TemporaryFile(/tmp/multipartBody8489611833628571588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930183323,"filename":"image_05122025_11_03_04_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/5/9bec3b073cab64cb5581f5fba060586a.jpg","text":"TemporaryFile(/tmp/multipartBody2637689811891317657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930183323,"filename":"image_05122025_11_03_34_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/5/e7837c9102b559dfec625a59415939ff.jpg","text":"TemporaryFile(/tmp/multipartBody5885397433814147719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930183323,"filename":"image_05122025_11_03_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/5/7df45e6f340f951508baba7d39fad4ac.jpg","text":"TemporaryFile(/tmp/multipartBody53842970078011686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930183323,"filename":"image_05122025_11_03_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/5/4c51bc7a55cc2021b582a1877c328f00.jpg","text":"TemporaryFile(/tmp/multipartBody7688357365761638627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930183323,"filename":"image_05122025_11_02_53_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072640","file1":"1398072638","file0":"1398072632","file4":"1398072649","file5":"1398072653","file3":"1398072644"},"map_files_photo_id_array":[{"photo_id":"1398072653","filename":"file5"},{"photo_id":"1398072640","filename":"file2"},{"photo_id":"1398072649","filename":"file4"},{"photo_id":"1398072638","filename":"file1"},{"photo_id":"1398072632","filename":"file0"},{"photo_id":"1398072644","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072644":["hashtag1","hashtag2"]},{"1398072638":["hashtag1","hashtag2"]},{"1398072649":["hashtag1","hashtag2"]},{"1398072640":["hashtag1","hashtag2"]},{"1398072653":["hashtag1","hashtag2"]},{"1398072632":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072644, 1398072638, 1398072649, 1398072640, 1398072653, 1398072632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25363326072693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:22:42.244445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_02_2720.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_08_2702.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_11_2665.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_14_3656.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_17_2557.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_23_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_02_2720.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_08_2702.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_11_2665.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_14_3656.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_17_2557.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_23_2588.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.50299072265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:23:02.982394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/03/image_05122025_11_03_54_9635.jpg', '/home/pi/Desktop/images/05122025/11/03/image_05122025_11_04_03_9853.jpg', '/home/pi/Desktop/images/05122025/11/04/image_05122025_11_04_14_10714.jpg', '/home/pi/Desktop/images/05122025/11/04/image_05122025_11_04_24_9672.jpg', '/home/pi/Desktop/images/05122025/11/04/image_05122025_11_04_34_9704.jpg', '/home/pi/Desktop/images/05122025/11/04/image_05122025_11_04_43_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/03/image_05122025_11_03_54_9635.jpg
/home/pi/Desktop/images/05122025/11/03/image_05122025_11_04_03_9853.jpg
/home/pi/Desktop/images/05122025/11/04/image_05122025_11_04_14_10714.jpg
/home/pi/Desktop/images/05122025/11/04/image_05122025_11_04_24_9672.jpg
/home/pi/Desktop/images/05122025/11/04/image_05122025_11_04_34_9704.jpg
/home/pi/Desktop/images/05122025/11/04/image_05122025_11_04_43_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":["1398072742","1398072729","1398072744","1398072738","1398072746","1398072734"],"photo_ids_order":["1398072729","1398072734","1398072738","1398072742","1398072744","1398072746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/13a8a5d1f725e63ef0155f539e181b7f.jpg","text":"TemporaryFile(/tmp/multipartBody298631028796150383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930243823,"filename":"image_05122025_11_04_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c8238180d7d853fd68b066a0b764a4b.jpg","text":"TemporaryFile(/tmp/multipartBody5887295159480101737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930243823,"filename":"image_05122025_11_03_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/5/ce98a1cc4706dd2f54f2aec0c738f97d.jpg","text":"TemporaryFile(/tmp/multipartBody337623505021799017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930243823,"filename":"image_05122025_11_04_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/5/acd46676aee9fa752be9c4526614c1c5.jpg","text":"TemporaryFile(/tmp/multipartBody8118965527271002392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930243823,"filename":"image_05122025_11_04_14_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/5/92bf0c52397fd2aac04ccc425324a4d0.jpg","text":"TemporaryFile(/tmp/multipartBody2892816467739051984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930243823,"filename":"image_05122025_11_04_43_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/5/78258525a5c93e523dcc7ec44042f24d.jpg","text":"TemporaryFile(/tmp/multipartBody7422227092189694799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930243823,"filename":"image_05122025_11_04_03_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072738","file1":"1398072734","file0":"1398072729","file4":"1398072744","file5":"1398072746","file3":"1398072742"},"map_files_photo_id_array":[{"photo_id":"1398072746","filename":"file5"},{"photo_id":"1398072738","filename":"file2"},{"photo_id":"1398072744","filename":"file4"},{"photo_id":"1398072734","filename":"file1"},{"photo_id":"1398072729","filename":"file0"},{"photo_id":"1398072742","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072742":["hashtag1","hashtag2"]},{"1398072729":["hashtag1","hashtag2"]},{"1398072744":["hashtag1","hashtag2"]},{"1398072738":["hashtag1","hashtag2"]},{"1398072746":["hashtag1","hashtag2"]},{"1398072734":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072742, 1398072729, 1398072744, 1398072738, 1398072746, 1398072734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.919044494628906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:23:42.362787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_02_2720.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_08_2702.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_11_2665.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_14_3656.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_17_2557.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_23_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_02_2720.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_08_2702.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_11_2665.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_14_3656.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_17_2557.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_23_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":["1398072769","1398072754","1398072771","1398072777","1398072779","1398072749"],"photo_ids_order":["1398072749","1398072754","1398072769","1398072771","1398072777","1398072779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/06e62629501d5fdcf9adf9401bf658c2.jpg","text":"TemporaryFile(/tmp/multipartBody4058481242887060348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930283890,"filename":"image_31102025_19_23_11_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/5/57b45823dd171f396d339a27b2f3f627.jpg","text":"TemporaryFile(/tmp/multipartBody8458376892874009957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930283890,"filename":"image_31102025_19_23_08_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/5/a18d01fd8b147352b724bee5bbb48aa0.jpg","text":"TemporaryFile(/tmp/multipartBody5644515215957585259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930283890,"filename":"image_31102025_19_23_14_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/5/85a9d802d2adb603e14f591e913b933c.jpg","text":"TemporaryFile(/tmp/multipartBody5462286455434295745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930283890,"filename":"image_31102025_19_23_17_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/5/adba16faee0a2a595ac63afc7081a13c.jpg","text":"TemporaryFile(/tmp/multipartBody1655550967496336905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930283890,"filename":"image_31102025_19_23_23_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/5/a5c78636df1e52258233f262f12f90f1.jpg","text":"TemporaryFile(/tmp/multipartBody3427494990907857201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930283890,"filename":"image_31102025_19_23_02_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072769","file1":"1398072754","file0":"1398072749","file4":"1398072777","file5":"1398072779","file3":"1398072771"},"map_files_photo_id_array":[{"photo_id":"1398072779","filename":"file5"},{"photo_id":"1398072769","filename":"file2"},{"photo_id":"1398072777","filename":"file4"},{"photo_id":"1398072754","filename":"file1"},{"photo_id":"1398072749","filename":"file0"},{"photo_id":"1398072771","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398072769":["hashtag1","hashtag2"]},{"1398072754":["hashtag1","hashtag2"]},{"1398072771":["hashtag1","hashtag2"]},{"1398072777":["hashtag1","hashtag2"]},{"1398072779":["hashtag1","hashtag2"]},{"1398072749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398072769, 1398072754, 1398072771, 1398072777, 1398072779, 1398072749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55694890022278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:24:23.040022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/04/image_05122025_11_04_54_10743.jpg', '/home/pi/Desktop/images/05122025/11/05/image_05122025_11_05_14_10056.jpg', '/home/pi/Desktop/images/05122025/11/05/image_05122025_11_05_25_10844.jpg', '/home/pi/Desktop/images/05122025/11/05/image_05122025_11_05_34_9632.jpg', '/home/pi/Desktop/images/05122025/11/05/image_05122025_11_05_44_9602.jpg', '/home/pi/Desktop/images/05122025/11/05/image_05122025_11_05_55_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/04/image_05122025_11_04_54_10743.jpg
/home/pi/Desktop/images/05122025/11/05/image_05122025_11_05_14_10056.jpg
/home/pi/Desktop/images/05122025/11/05/image_05122025_11_05_25_10844.jpg
/home/pi/Desktop/images/05122025/11/05/image_05122025_11_05_34_9632.jpg
/home/pi/Desktop/images/05122025/11/05/image_05122025_11_05_44_9602.jpg
/home/pi/Desktop/images/05122025/11/05/image_05122025_11_05_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":["1398072787","1398072784","1398072786","1398072789","1398072788","1398072791"],"photo_ids_order":["1398072784","1398072786","1398072787","1398072788","1398072789","1398072791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9aa8ca4b9a386cdf5ab468896a8d58fb.jpg","text":"TemporaryFile(/tmp/multipartBody2223594046169702613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930323798,"filename":"image_05122025_11_05_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/5/6aaa1e3cb296c53d55c758c988a7443e.jpg","text":"TemporaryFile(/tmp/multipartBody5971471186098880617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930323798,"filename":"image_05122025_11_04_54_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/5/614fa4c01526ddcd6f9614714c2310f6.jpg","text":"TemporaryFile(/tmp/multipartBody5833067207996745704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930323798,"filename":"image_05122025_11_05_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/5/b7e78106f862701e001e69d2454ff840.jpg","text":"TemporaryFile(/tmp/multipartBody7236531766630003743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930323798,"filename":"image_05122025_11_05_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/5/16a686a9856826719a761953deb0d7c0.jpg","text":"TemporaryFile(/tmp/multipartBody2433191535862303089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930323798,"filename":"image_05122025_11_05_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f949f1b75a0d2cce33c4164a7cd480c.jpg","text":"TemporaryFile(/tmp/multipartBody842756363089845666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930323798,"filename":"image_05122025_11_05_55_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072787","file1":"1398072786","file0":"1398072784","file4":"1398072789","file5":"1398072791","file3":"1398072788"},"map_files_photo_id_array":[{"photo_id":"1398072791","filename":"file5"},{"photo_id":"1398072787","filename":"file2"},{"photo_id":"1398072789","filename":"file4"},{"photo_id":"1398072786","filename":"file1"},{"photo_id":"1398072784","filename":"file0"},{"photo_id":"1398072788","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072787":["hashtag1","hashtag2"]},{"1398072784":["hashtag1","hashtag2"]},{"1398072786":["hashtag1","hashtag2"]},{"1398072789":["hashtag1","hashtag2"]},{"1398072788":["hashtag1","hashtag2"]},{"1398072791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072787, 1398072784, 1398072786, 1398072789, 1398072788, 1398072791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78635931015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:25:03.463069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/05/image_05122025_11_06_04_9666.jpg', '/home/pi/Desktop/images/05122025/11/06/image_05122025_11_06_14_9757.jpg', '/home/pi/Desktop/images/05122025/11/06/image_05122025_11_06_25_10735.jpg', '/home/pi/Desktop/images/05122025/11/06/image_05122025_11_06_34_9627.jpg', '/home/pi/Desktop/images/05122025/11/06/image_05122025_11_06_44_9670.jpg', '/home/pi/Desktop/images/05122025/11/06/image_05122025_11_06_54_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/05/image_05122025_11_06_04_9666.jpg
/home/pi/Desktop/images/05122025/11/06/image_05122025_11_06_14_9757.jpg
/home/pi/Desktop/images/05122025/11/06/image_05122025_11_06_25_10735.jpg
/home/pi/Desktop/images/05122025/11/06/image_05122025_11_06_34_9627.jpg
/home/pi/Desktop/images/05122025/11/06/image_05122025_11_06_44_9670.jpg
/home/pi/Desktop/images/05122025/11/06/image_05122025_11_06_54_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":["1398072836","1398072832","1398072822","1398072830","1398072827","1398072812"],"photo_ids_order":["1398072812","1398072822","1398072827","1398072830","1398072832","1398072836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1819547545f2d26630a267e7b0e80282.jpg","text":"TemporaryFile(/tmp/multipartBody2610767499196676948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930364261,"filename":"image_05122025_11_06_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/5/a2a69269bc336cbdc3da8bee49a78278.jpg","text":"TemporaryFile(/tmp/multipartBody5317040509306648166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930364261,"filename":"image_05122025_11_06_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/64e456354a415321ce7e8db0ed988bda.jpg","text":"TemporaryFile(/tmp/multipartBody1844975379733036098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930364261,"filename":"image_05122025_11_06_14_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45fc616475622732cc851227d0cfb59b.jpg","text":"TemporaryFile(/tmp/multipartBody7326349601576813669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930364261,"filename":"image_05122025_11_06_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/5/db757210f4eda5d0425dc595c525ea80.jpg","text":"TemporaryFile(/tmp/multipartBody6915401868702172107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930364261,"filename":"image_05122025_11_06_25_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/5/b6f664d795212d7170daf94931c0a071.jpg","text":"TemporaryFile(/tmp/multipartBody2379511706906528217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930364261,"filename":"image_05122025_11_06_04_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072827","file1":"1398072822","file0":"1398072812","file4":"1398072832","file5":"1398072836","file3":"1398072830"},"map_files_photo_id_array":[{"photo_id":"1398072836","filename":"file5"},{"photo_id":"1398072827","filename":"file2"},{"photo_id":"1398072832","filename":"file4"},{"photo_id":"1398072822","filename":"file1"},{"photo_id":"1398072812","filename":"file0"},{"photo_id":"1398072830","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072836":["hashtag1","hashtag2"]},{"1398072832":["hashtag1","hashtag2"]},{"1398072822":["hashtag1","hashtag2"]},{"1398072830":["hashtag1","hashtag2"]},{"1398072827":["hashtag1","hashtag2"]},{"1398072812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072836, 1398072832, 1398072822, 1398072830, 1398072827, 1398072812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.113823890686035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:25:42.709637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_26_2786.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_29_3666.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_32_2733.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_35_2669.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_38_2740.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_41_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_26_2786.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_29_3666.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_32_2733.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_35_2669.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_38_2740.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_41_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":["1398072853","1398072856","1398072850","1398072844","1398072847","1398072855"],"photo_ids_order":["1398072844","1398072847","1398072850","1398072853","1398072855","1398072856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7a0a75d1d5b3829054eb588c3b393e20.jpg","text":"TemporaryFile(/tmp/multipartBody3180389140172236489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930404260,"filename":"image_31102025_19_23_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/5/8348c2a9874aec5d8d505447d63c55a1.jpg","text":"TemporaryFile(/tmp/multipartBody5502726939933112257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930404260,"filename":"image_31102025_19_23_41_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/5/4b7526af5741e030576b16b915b9ddb8.jpg","text":"TemporaryFile(/tmp/multipartBody8266123743193471650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930404260,"filename":"image_31102025_19_23_32_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/5/dfd4e369bfca1da10bb7e99b430c51b2.jpg","text":"TemporaryFile(/tmp/multipartBody3365090867734817272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930404260,"filename":"image_31102025_19_23_26_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/5/4c3ce83f6477fd725b9492e396ccd712.jpg","text":"TemporaryFile(/tmp/multipartBody2743149730968571053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930404260,"filename":"image_31102025_19_23_29_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/5/8e6c863dc7da8376c26ee30fd15571a8.jpg","text":"TemporaryFile(/tmp/multipartBody3194933641481725629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930404260,"filename":"image_31102025_19_23_38_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072850","file1":"1398072847","file0":"1398072844","file4":"1398072855","file5":"1398072856","file3":"1398072853"},"map_files_photo_id_array":[{"photo_id":"1398072856","filename":"file5"},{"photo_id":"1398072850","filename":"file2"},{"photo_id":"1398072855","filename":"file4"},{"photo_id":"1398072847","filename":"file1"},{"photo_id":"1398072844","filename":"file0"},{"photo_id":"1398072853","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398072853":["hashtag1","hashtag2"]},{"1398072856":["hashtag1","hashtag2"]},{"1398072850":["hashtag1","hashtag2"]},{"1398072844":["hashtag1","hashtag2"]},{"1398072847":["hashtag1","hashtag2"]},{"1398072855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398072853, 1398072856, 1398072850, 1398072844, 1398072847, 1398072855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.131693840026855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:26:21.958958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/06/image_05122025_11_07_05_10690.jpg', '/home/pi/Desktop/images/05122025/11/07/image_05122025_11_07_14_9689.jpg', '/home/pi/Desktop/images/05122025/11/07/image_05122025_11_07_24_9680.jpg', '/home/pi/Desktop/images/05122025/11/07/image_05122025_11_07_35_10798.jpg', '/home/pi/Desktop/images/05122025/11/07/image_05122025_11_07_44_9714.jpg', '/home/pi/Desktop/images/05122025/11/07/image_05122025_11_07_54_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/06/image_05122025_11_07_05_10690.jpg
/home/pi/Desktop/images/05122025/11/07/image_05122025_11_07_14_9689.jpg
/home/pi/Desktop/images/05122025/11/07/image_05122025_11_07_24_9680.jpg
/home/pi/Desktop/images/05122025/11/07/image_05122025_11_07_35_10798.jpg
/home/pi/Desktop/images/05122025/11/07/image_05122025_11_07_44_9714.jpg
/home/pi/Desktop/images/05122025/11/07/image_05122025_11_07_54_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398072874","1398072870","1398072864","1398072867","1398072861","1398072884"],"photo_ids_order":["1398072861","1398072864","1398072867","1398072870","1398072874","1398072884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2015b860e84a8b3836336e9f4699a61e.jpg","text":"TemporaryFile(/tmp/multipartBody2636400424946570275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930442700,"filename":"image_05122025_11_07_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/353726c4e5bffb6f52c5d44a9ae053f9.jpg","text":"TemporaryFile(/tmp/multipartBody3132842646082729017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930442700,"filename":"image_05122025_11_07_35_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/5/6eb495f98002b88bcb0a2e4355b956d9.jpg","text":"TemporaryFile(/tmp/multipartBody7807826551343749114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930442700,"filename":"image_05122025_11_07_14_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/5/70c0f06e96d0b4e8340eccdb939ecfcd.jpg","text":"TemporaryFile(/tmp/multipartBody6135231234972686233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930442700,"filename":"image_05122025_11_07_24_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/5/b08f020042d16407231b878d3e426c7a.jpg","text":"TemporaryFile(/tmp/multipartBody5351576376892576030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930442700,"filename":"image_05122025_11_07_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/5/6faff5d2d26a20c42da75020f801f484.jpg","text":"TemporaryFile(/tmp/multipartBody3576442019231726344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930442700,"filename":"image_05122025_11_07_54_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072867","file1":"1398072864","file0":"1398072861","file4":"1398072874","file5":"1398072884","file3":"1398072870"},"map_files_photo_id_array":[{"photo_id":"1398072884","filename":"file5"},{"photo_id":"1398072867","filename":"file2"},{"photo_id":"1398072874","filename":"file4"},{"photo_id":"1398072864","filename":"file1"},{"photo_id":"1398072861","filename":"file0"},{"photo_id":"1398072870","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072874":["hashtag1","hashtag2"]},{"1398072870":["hashtag1","hashtag2"]},{"1398072864":["hashtag1","hashtag2"]},{"1398072867":["hashtag1","hashtag2"]},{"1398072861":["hashtag1","hashtag2"]},{"1398072884":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072874, 1398072870, 1398072864, 1398072867, 1398072861, 1398072884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8466956615448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:27:02.828706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/07/image_05122025_11_08_04_9619.jpg', '/home/pi/Desktop/images/05122025/11/08/image_05122025_11_08_15_10858.jpg', '/home/pi/Desktop/images/05122025/11/08/image_05122025_11_08_25_9879.jpg', '/home/pi/Desktop/images/05122025/11/08/image_05122025_11_08_34_9610.jpg', '/home/pi/Desktop/images/05122025/11/08/image_05122025_11_08_44_9827.jpg', '/home/pi/Desktop/images/05122025/11/08/image_05122025_11_08_54_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/07/image_05122025_11_08_04_9619.jpg
/home/pi/Desktop/images/05122025/11/08/image_05122025_11_08_15_10858.jpg
/home/pi/Desktop/images/05122025/11/08/image_05122025_11_08_25_9879.jpg
/home/pi/Desktop/images/05122025/11/08/image_05122025_11_08_34_9610.jpg
/home/pi/Desktop/images/05122025/11/08/image_05122025_11_08_44_9827.jpg
/home/pi/Desktop/images/05122025/11/08/image_05122025_11_08_54_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":["1398072929","1398072931","1398072925","1398072927","1398072921","1398072923"],"photo_ids_order":["1398072921","1398072923","1398072925","1398072927","1398072929","1398072931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8b84bac1ed7e698fabd13384afb20c59.jpg","text":"TemporaryFile(/tmp/multipartBody6700659348993379183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930483627,"filename":"image_05122025_11_08_44_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/5/804594f19728f26b2eba9370634d2ca2.jpg","text":"TemporaryFile(/tmp/multipartBody8254243416475834406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930483627,"filename":"image_05122025_11_08_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/5/0ab59342d75e5200c830ef9b72e7ac3e.jpg","text":"TemporaryFile(/tmp/multipartBody6653244053549437908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930483627,"filename":"image_05122025_11_08_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/5/d7066edf3f726e9bed6f34a466ce3c0c.jpg","text":"TemporaryFile(/tmp/multipartBody3153502444584525898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930483627,"filename":"image_05122025_11_08_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/5/90595cdb19e0ae6c5e3128a6878d49d6.jpg","text":"TemporaryFile(/tmp/multipartBody4643472966269439013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930483627,"filename":"image_05122025_11_08_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/5/6d25474182cf69b25a5385831d7cc00d.jpg","text":"TemporaryFile(/tmp/multipartBody5897268066939586294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930483627,"filename":"image_05122025_11_08_15_10858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072925","file1":"1398072923","file0":"1398072921","file4":"1398072929","file5":"1398072931","file3":"1398072927"},"map_files_photo_id_array":[{"photo_id":"1398072931","filename":"file5"},{"photo_id":"1398072925","filename":"file2"},{"photo_id":"1398072929","filename":"file4"},{"photo_id":"1398072923","filename":"file1"},{"photo_id":"1398072921","filename":"file0"},{"photo_id":"1398072927","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072929":["hashtag1","hashtag2"]},{"1398072931":["hashtag1","hashtag2"]},{"1398072925":["hashtag1","hashtag2"]},{"1398072927":["hashtag1","hashtag2"]},{"1398072921":["hashtag1","hashtag2"]},{"1398072923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072929, 1398072931, 1398072925, 1398072927, 1398072921, 1398072923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.225494384765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:27:42.411715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_44_2634.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_47_2676.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_50_3728.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_53_2797.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_56_2939.jpg', '/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_59_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_44_2634.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_47_2676.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_50_3728.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_53_2797.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_56_2939.jpg
/home/pi/Desktop/images/31102025/19/23/image_31102025_19_23_59_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":["1398072940","1398072937","1398072951","1398072939","1398072950","1398072944"],"photo_ids_order":["1398072937","1398072939","1398072940","1398072944","1398072950","1398072951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a75368024f2673092746fe324dada286.jpg","text":"TemporaryFile(/tmp/multipartBody6763553300646872024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930524051,"filename":"image_31102025_19_23_50_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/5/0d407f73a21d919ba7e78f7d9e473e7a.jpg","text":"TemporaryFile(/tmp/multipartBody4781866736337570405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930524051,"filename":"image_31102025_19_23_44_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/5/a05bd8031a4d476574304e1850c85d3a.jpg","text":"TemporaryFile(/tmp/multipartBody4330927894418494960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930524051,"filename":"image_31102025_19_23_59_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/5/a7298152fb1701c0d3a86383b8c08227.jpg","text":"TemporaryFile(/tmp/multipartBody1187683370732528465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930524051,"filename":"image_31102025_19_23_47_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/5/fda35490a91599674372323c8f8a011f.jpg","text":"TemporaryFile(/tmp/multipartBody4643697092421029334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930524051,"filename":"image_31102025_19_23_56_2939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/529cf14d1d9361432c53c685c1530af5.jpg","text":"TemporaryFile(/tmp/multipartBody1384509453851948025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930524051,"filename":"image_31102025_19_23_53_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072940","file1":"1398072939","file0":"1398072937","file4":"1398072950","file5":"1398072951","file3":"1398072944"},"map_files_photo_id_array":[{"photo_id":"1398072951","filename":"file5"},{"photo_id":"1398072940","filename":"file2"},{"photo_id":"1398072950","filename":"file4"},{"photo_id":"1398072939","filename":"file1"},{"photo_id":"1398072937","filename":"file0"},{"photo_id":"1398072944","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398072940":["hashtag1","hashtag2"]},{"1398072937":["hashtag1","hashtag2"]},{"1398072951":["hashtag1","hashtag2"]},{"1398072939":["hashtag1","hashtag2"]},{"1398072950":["hashtag1","hashtag2"]},{"1398072944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398072940, 1398072937, 1398072951, 1398072939, 1398072950, 1398072944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43063926696777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:28:22.577668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/08/image_05122025_11_09_05_10885.jpg', '/home/pi/Desktop/images/05122025/11/09/image_05122025_11_09_15_9951.jpg', '/home/pi/Desktop/images/05122025/11/09/image_05122025_11_09_24_9638.jpg', '/home/pi/Desktop/images/05122025/11/09/image_05122025_11_09_34_9697.jpg', '/home/pi/Desktop/images/05122025/11/09/image_05122025_11_09_45_10663.jpg', '/home/pi/Desktop/images/05122025/11/09/image_05122025_11_09_54_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/08/image_05122025_11_09_05_10885.jpg
/home/pi/Desktop/images/05122025/11/09/image_05122025_11_09_15_9951.jpg
/home/pi/Desktop/images/05122025/11/09/image_05122025_11_09_24_9638.jpg
/home/pi/Desktop/images/05122025/11/09/image_05122025_11_09_34_9697.jpg
/home/pi/Desktop/images/05122025/11/09/image_05122025_11_09_45_10663.jpg
/home/pi/Desktop/images/05122025/11/09/image_05122025_11_09_54_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":["1398072975","1398072963","1398072957","1398072980","1398072965","1398072959"],"photo_ids_order":["1398072957","1398072959","1398072963","1398072965","1398072975","1398072980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/07e2ecf512d54236fa51b18c0de3ed9b.jpg","text":"TemporaryFile(/tmp/multipartBody7609335449440386281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930563317,"filename":"image_05122025_11_09_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/5/151113d17f1af923a59c503039f63bb9.jpg","text":"TemporaryFile(/tmp/multipartBody4787913916347674684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930563317,"filename":"image_05122025_11_09_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/5/58be3930c6f816ebd485c95088d21fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5333001263478744618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930563317,"filename":"image_05122025_11_09_05_10885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3bcda9be7a33ab5cba18a1b8a0cc04ed.jpg","text":"TemporaryFile(/tmp/multipartBody3913858797191531258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930563317,"filename":"image_05122025_11_09_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/5/904b4a72d7bc736e630ac2ae8b53b041.jpg","text":"TemporaryFile(/tmp/multipartBody5731975947285527213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930563317,"filename":"image_05122025_11_09_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/5/056243a5d059cc8f83b0dedc23b50437.jpg","text":"TemporaryFile(/tmp/multipartBody24978700342730511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930563317,"filename":"image_05122025_11_09_15_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072963","file1":"1398072959","file0":"1398072957","file4":"1398072975","file5":"1398072980","file3":"1398072965"},"map_files_photo_id_array":[{"photo_id":"1398072980","filename":"file5"},{"photo_id":"1398072963","filename":"file2"},{"photo_id":"1398072975","filename":"file4"},{"photo_id":"1398072959","filename":"file1"},{"photo_id":"1398072957","filename":"file0"},{"photo_id":"1398072965","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072975":["hashtag1","hashtag2"]},{"1398072963":["hashtag1","hashtag2"]},{"1398072957":["hashtag1","hashtag2"]},{"1398072980":["hashtag1","hashtag2"]},{"1398072965":["hashtag1","hashtag2"]},{"1398072959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072975, 1398072963, 1398072957, 1398072980, 1398072965, 1398072959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86410212516785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:29:03.751163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/10/image_05122025_11_10_14_10068.jpg', '/home/pi/Desktop/images/05122025/11/10/image_05122025_11_10_25_10712.jpg', '/home/pi/Desktop/images/05122025/11/10/image_05122025_11_10_34_9596.jpg', '/home/pi/Desktop/images/05122025/11/10/image_05122025_11_10_44_9688.jpg', '/home/pi/Desktop/images/05122025/11/10/image_05122025_11_10_55_10780.jpg', '/home/pi/Desktop/images/05122025/11/10/image_05122025_11_11_04_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/10/image_05122025_11_10_14_10068.jpg
/home/pi/Desktop/images/05122025/11/10/image_05122025_11_10_25_10712.jpg
/home/pi/Desktop/images/05122025/11/10/image_05122025_11_10_34_9596.jpg
/home/pi/Desktop/images/05122025/11/10/image_05122025_11_10_44_9688.jpg
/home/pi/Desktop/images/05122025/11/10/image_05122025_11_10_55_10780.jpg
/home/pi/Desktop/images/05122025/11/10/image_05122025_11_11_04_9877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398072988","1398072981","1398072986","1398072995","1398072998","1398072983"],"photo_ids_order":["1398072981","1398072983","1398072986","1398072988","1398072995","1398072998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/69fb98d375510472201b910382c34e69.jpg","text":"TemporaryFile(/tmp/multipartBody1242056825462647460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930604662,"filename":"image_05122025_11_10_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/5/b44fde35c38883eea3d859ae64856e87.jpg","text":"TemporaryFile(/tmp/multipartBody2238844365731288656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930604662,"filename":"image_05122025_11_10_14_10068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1bbbcccd20de4bed8613f5137ec112a.jpg","text":"TemporaryFile(/tmp/multipartBody2983537582612828426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930604662,"filename":"image_05122025_11_10_34_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b005e7c25498fa485ebc640439d0ca12.jpg","text":"TemporaryFile(/tmp/multipartBody4170372161430029269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930604662,"filename":"image_05122025_11_10_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/5/ef3728807dfc6fb8d1fc67d42abd03a6.jpg","text":"TemporaryFile(/tmp/multipartBody1468434779267272629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930604662,"filename":"image_05122025_11_11_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/5/a2bdb56cf29e1c47e8376ef04a39bb0e.jpg","text":"TemporaryFile(/tmp/multipartBody7980274070296466237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930604662,"filename":"image_05122025_11_10_25_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398072986","file1":"1398072983","file0":"1398072981","file4":"1398072995","file5":"1398072998","file3":"1398072988"},"map_files_photo_id_array":[{"photo_id":"1398072998","filename":"file5"},{"photo_id":"1398072986","filename":"file2"},{"photo_id":"1398072995","filename":"file4"},{"photo_id":"1398072983","filename":"file1"},{"photo_id":"1398072981","filename":"file0"},{"photo_id":"1398072988","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398072988":["hashtag1","hashtag2"]},{"1398072981":["hashtag1","hashtag2"]},{"1398072986":["hashtag1","hashtag2"]},{"1398072995":["hashtag1","hashtag2"]},{"1398072998":["hashtag1","hashtag2"]},{"1398072983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398072988, 1398072981, 1398072986, 1398072995, 1398072998, 1398072983)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.420063495635986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:30:02.272862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/11/image_05122025_11_11_14_9586.jpg', '/home/pi/Desktop/images/05122025/11/11/image_05122025_11_11_24_9748.jpg', '/home/pi/Desktop/images/05122025/11/11/image_05122025_11_11_35_10723.jpg', '/home/pi/Desktop/images/05122025/11/11/image_05122025_11_11_44_9653.jpg', '/home/pi/Desktop/images/05122025/11/11/image_05122025_11_11_54_9657.jpg', '/home/pi/Desktop/images/05122025/11/11/image_05122025_11_12_05_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/11/image_05122025_11_11_14_9586.jpg
/home/pi/Desktop/images/05122025/11/11/image_05122025_11_11_24_9748.jpg
/home/pi/Desktop/images/05122025/11/11/image_05122025_11_11_35_10723.jpg
/home/pi/Desktop/images/05122025/11/11/image_05122025_11_11_44_9653.jpg
/home/pi/Desktop/images/05122025/11/11/image_05122025_11_11_54_9657.jpg
/home/pi/Desktop/images/05122025/11/11/image_05122025_11_12_05_10696.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":["1398073060","1398073065","1398073073","1398073061","1398073070","1398073064"],"photo_ids_order":["1398073060","1398073061","1398073064","1398073065","1398073070","1398073073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ce8b842983e481bf57a06b32deed28c.jpg","text":"TemporaryFile(/tmp/multipartBody8680746143072759821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930663034,"filename":"image_05122025_11_11_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/5/a8101e4eaf600a2800b67f8a7040acb9.jpg","text":"TemporaryFile(/tmp/multipartBody8849136283797601284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930663034,"filename":"image_05122025_11_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/5/c81c1eb6104f13d4ac1a428e2454a3c4.jpg","text":"TemporaryFile(/tmp/multipartBody96877222843533680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930663034,"filename":"image_05122025_11_12_05_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9c82b07383d1fe9aeb174172eb2f1c7.jpg","text":"TemporaryFile(/tmp/multipartBody7443889036160681248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930663034,"filename":"image_05122025_11_11_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/5/fd3cac1abdb68c9010210e47b0054c3a.jpg","text":"TemporaryFile(/tmp/multipartBody6649521251331084940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930663034,"filename":"image_05122025_11_11_54_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/5/3e2e47ef35000d045f8c3cc51d1234ab.jpg","text":"TemporaryFile(/tmp/multipartBody8169602497944197831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930663034,"filename":"image_05122025_11_11_35_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398073064","file1":"1398073061","file0":"1398073060","file4":"1398073070","file5":"1398073073","file3":"1398073065"},"map_files_photo_id_array":[{"photo_id":"1398073073","filename":"file5"},{"photo_id":"1398073064","filename":"file2"},{"photo_id":"1398073070","filename":"file4"},{"photo_id":"1398073061","filename":"file1"},{"photo_id":"1398073060","filename":"file0"},{"photo_id":"1398073065","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398073060":["hashtag1","hashtag2"]},{"1398073065":["hashtag1","hashtag2"]},{"1398073073":["hashtag1","hashtag2"]},{"1398073061":["hashtag1","hashtag2"]},{"1398073070":["hashtag1","hashtag2"]},{"1398073064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398073060, 1398073065, 1398073073, 1398073061, 1398073070, 1398073064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.288665533065796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:31:02.779676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/12/image_05122025_11_12_14_9783.jpg', '/home/pi/Desktop/images/05122025/11/12/image_05122025_11_12_24_9720.jpg', '/home/pi/Desktop/images/05122025/11/12/image_05122025_11_12_34_9731.jpg', '/home/pi/Desktop/images/05122025/11/12/image_05122025_11_12_44_10616.jpg', '/home/pi/Desktop/images/05122025/11/12/image_05122025_11_12_54_9709.jpg', '/home/pi/Desktop/images/05122025/11/12/image_05122025_11_13_04_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/12/image_05122025_11_12_14_9783.jpg
/home/pi/Desktop/images/05122025/11/12/image_05122025_11_12_24_9720.jpg
/home/pi/Desktop/images/05122025/11/12/image_05122025_11_12_34_9731.jpg
/home/pi/Desktop/images/05122025/11/12/image_05122025_11_12_44_10616.jpg
/home/pi/Desktop/images/05122025/11/12/image_05122025_11_12_54_9709.jpg
/home/pi/Desktop/images/05122025/11/12/image_05122025_11_13_04_9703.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":["1398073092","1398073098","1398073086","1398073094","1398073088","1398073090"],"photo_ids_order":["1398073086","1398073088","1398073090","1398073092","1398073094","1398073098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5dae6e9c0f7e1c25ef1cc41a9e51cc88.jpg","text":"TemporaryFile(/tmp/multipartBody7715244871214330622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930723569,"filename":"image_05122025_11_12_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bbad949aaccb428be8ddf080e38ec9bb.jpg","text":"TemporaryFile(/tmp/multipartBody8491119688697917596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930723569,"filename":"image_05122025_11_13_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/5/c63ef3fd4b01ec3d3c3049157eddc52b.jpg","text":"TemporaryFile(/tmp/multipartBody7646968262438396613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930723569,"filename":"image_05122025_11_12_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/5/0bb7f454be1c7fcdcb7b6d9bdbd98627.jpg","text":"TemporaryFile(/tmp/multipartBody412062492709341708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930723569,"filename":"image_05122025_11_12_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/5/e8687c9502546fb6f165afe1935637e3.jpg","text":"TemporaryFile(/tmp/multipartBody6586701689016544206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930723569,"filename":"image_05122025_11_12_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/5/d6c511dbe975c05159e469ff87d6c107.jpg","text":"TemporaryFile(/tmp/multipartBody4120121760433904902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930723569,"filename":"image_05122025_11_12_34_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398073090","file1":"1398073088","file0":"1398073086","file4":"1398073094","file5":"1398073098","file3":"1398073092"},"map_files_photo_id_array":[{"photo_id":"1398073098","filename":"file5"},{"photo_id":"1398073090","filename":"file2"},{"photo_id":"1398073094","filename":"file4"},{"photo_id":"1398073088","filename":"file1"},{"photo_id":"1398073086","filename":"file0"},{"photo_id":"1398073092","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398073092":["hashtag1","hashtag2"]},{"1398073098":["hashtag1","hashtag2"]},{"1398073086":["hashtag1","hashtag2"]},{"1398073094":["hashtag1","hashtag2"]},{"1398073088":["hashtag1","hashtag2"]},{"1398073090":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398073092, 1398073098, 1398073086, 1398073094, 1398073088, 1398073090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77756357192993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:32:02.741282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/13/image_05122025_11_13_14_10662.jpg', '/home/pi/Desktop/images/05122025/11/13/image_05122025_11_13_24_9617.jpg', '/home/pi/Desktop/images/05122025/11/13/image_05122025_11_13_34_9667.jpg', '/home/pi/Desktop/images/05122025/11/13/image_05122025_11_13_45_10777.jpg', '/home/pi/Desktop/images/05122025/11/13/image_05122025_11_13_54_9714.jpg', '/home/pi/Desktop/images/05122025/11/13/image_05122025_11_14_04_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/13/image_05122025_11_13_14_10662.jpg
/home/pi/Desktop/images/05122025/11/13/image_05122025_11_13_24_9617.jpg
/home/pi/Desktop/images/05122025/11/13/image_05122025_11_13_34_9667.jpg
/home/pi/Desktop/images/05122025/11/13/image_05122025_11_13_45_10777.jpg
/home/pi/Desktop/images/05122025/11/13/image_05122025_11_13_54_9714.jpg
/home/pi/Desktop/images/05122025/11/13/image_05122025_11_14_04_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":["1398073120","1398073114","1398073123","1398073128","1398073116","1398073118"],"photo_ids_order":["1398073114","1398073116","1398073118","1398073120","1398073123","1398073128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c3f56aa3a4ea755d43b8a8225ae3719.jpg","text":"TemporaryFile(/tmp/multipartBody5849095222104926091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930783496,"filename":"image_05122025_11_13_45_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/5/c73d8f56e168b3550ea7c40ae618a128.jpg","text":"TemporaryFile(/tmp/multipartBody1677602153556157356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930783496,"filename":"image_05122025_11_13_14_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7a89fb463ee2551fcd9dbba7ce184d0a.jpg","text":"TemporaryFile(/tmp/multipartBody4140657680202567055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930783496,"filename":"image_05122025_11_13_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/891413afe82fe3714ddc4a18dba03802.jpg","text":"TemporaryFile(/tmp/multipartBody6472992524618778647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930783496,"filename":"image_05122025_11_14_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/5/6079ea71f0807340e0364fe92d1dcb3b.jpg","text":"TemporaryFile(/tmp/multipartBody8584972322028869593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930783496,"filename":"image_05122025_11_13_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/5/97c7acecfd945a8b231a02f95eb0cf89.jpg","text":"TemporaryFile(/tmp/multipartBody4816900688411136547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930783496,"filename":"image_05122025_11_13_34_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398073118","file1":"1398073116","file0":"1398073114","file4":"1398073123","file5":"1398073128","file3":"1398073120"},"map_files_photo_id_array":[{"photo_id":"1398073128","filename":"file5"},{"photo_id":"1398073118","filename":"file2"},{"photo_id":"1398073123","filename":"file4"},{"photo_id":"1398073116","filename":"file1"},{"photo_id":"1398073114","filename":"file0"},{"photo_id":"1398073120","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398073120":["hashtag1","hashtag2"]},{"1398073114":["hashtag1","hashtag2"]},{"1398073123":["hashtag1","hashtag2"]},{"1398073128":["hashtag1","hashtag2"]},{"1398073116":["hashtag1","hashtag2"]},{"1398073118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398073120, 1398073114, 1398073123, 1398073128, 1398073116, 1398073118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.494154930114746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:32:42.311741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_02_3590.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_05_2644.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_07_2486.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_11_3519.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_14_2690.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_16_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_02_3590.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_05_2644.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_07_2486.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_11_3519.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_14_2690.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_16_2796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398073186","1398073185","1398073137","1398073184","1398073169","1398073183"],"photo_ids_order":["1398073137","1398073169","1398073183","1398073184","1398073185","1398073186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0e2e44e67c90b5a51f37551b3f2408d8.jpg","text":"TemporaryFile(/tmp/multipartBody8969061275409584064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930823952,"filename":"image_31102025_19_24_16_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74068ebe113b40fd8ef9e86bfd711077.jpg","text":"TemporaryFile(/tmp/multipartBody7599538156826685722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930823952,"filename":"image_31102025_19_24_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/5/1e24efcb31361087e918384371430f60.jpg","text":"TemporaryFile(/tmp/multipartBody3852016978798781706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930823952,"filename":"image_31102025_19_24_02_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/5/190f623998acb7c453025f42b37679e6.jpg","text":"TemporaryFile(/tmp/multipartBody4629976240489872381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930823952,"filename":"image_31102025_19_24_11_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/5/4324b5593c00f81759cd033aa541f98c.jpg","text":"TemporaryFile(/tmp/multipartBody3629293623745849508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930823952,"filename":"image_31102025_19_24_05_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/5/7ee358e5414bb458c977d5aca0d7af03.jpg","text":"TemporaryFile(/tmp/multipartBody8126967837425924369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930823952,"filename":"image_31102025_19_24_07_2486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398073183","file1":"1398073169","file0":"1398073137","file4":"1398073185","file5":"1398073186","file3":"1398073184"},"map_files_photo_id_array":[{"photo_id":"1398073186","filename":"file5"},{"photo_id":"1398073183","filename":"file2"},{"photo_id":"1398073185","filename":"file4"},{"photo_id":"1398073169","filename":"file1"},{"photo_id":"1398073137","filename":"file0"},{"photo_id":"1398073184","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398073186":["hashtag1","hashtag2"]},{"1398073185":["hashtag1","hashtag2"]},{"1398073137":["hashtag1","hashtag2"]},{"1398073184":["hashtag1","hashtag2"]},{"1398073169":["hashtag1","hashtag2"]},{"1398073183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398073186, 1398073185, 1398073137, 1398073184, 1398073169, 1398073183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12965989112854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:33:22.464261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_14_10648.jpg', '/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_24_9746.jpg', '/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_34_9679.jpg', '/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_45_10761.jpg', '/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_54_9748.jpg', '/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_14_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_14_10648.jpg
/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_24_9746.jpg
/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_34_9679.jpg
/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_45_10761.jpg
/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_54_9748.jpg
/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_14_10050.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6060802936553955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 11:33:32.602564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/36/image_02122025_18_36_34_9840.jpg', '/home/pi/Desktop/images/02122025/18/36/image_02122025_18_36_45_10853.jpg', '/home/pi/Desktop/images/02122025/18/36/image_02122025_18_36_55_9705.jpg', '/home/pi/Desktop/images/02122025/18/36/image_02122025_18_37_05_9622.jpg', '/home/pi/Desktop/images/02122025/18/37/image_02122025_18_37_15_10694.jpg', '/home/pi/Desktop/images/02122025/18/37/image_02122025_18_37_35_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/36/image_02122025_18_36_34_9840.jpg
/home/pi/Desktop/images/02122025/18/36/image_02122025_18_36_45_10853.jpg
/home/pi/Desktop/images/02122025/18/36/image_02122025_18_36_55_9705.jpg
/home/pi/Desktop/images/02122025/18/36/image_02122025_18_37_05_9622.jpg
/home/pi/Desktop/images/02122025/18/37/image_02122025_18_37_15_10694.jpg
/home/pi/Desktop/images/02122025/18/37/image_02122025_18_37_35_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398073201","1398073207","1398073224","1398073206","1398073205","1398073198"],"photo_ids_order":["1398073198","1398073201","1398073205","1398073206","1398073207","1398073224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c0731ecfff3f3a08365f54516bcea8da.jpg","text":"TemporaryFile(/tmp/multipartBody8301790586629212951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930874845,"filename":"image_02122025_18_36_45_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/5/dc5cc6119e9392ac89ac5e381ed35330.jpg","text":"TemporaryFile(/tmp/multipartBody8049371419745644196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930874845,"filename":"image_02122025_18_37_15_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/04caceac7d045586afd0a7115781fa0a.jpg","text":"TemporaryFile(/tmp/multipartBody2157450812313373315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930874845,"filename":"image_02122025_18_37_35_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/5/d78b6f48f23c24a0e2caac72d98405a4.jpg","text":"TemporaryFile(/tmp/multipartBody3097425650739287586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930874845,"filename":"image_02122025_18_37_05_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/5/052b64b08e95841311db2213be1d2c83.jpg","text":"TemporaryFile(/tmp/multipartBody8727932874590151268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930874845,"filename":"image_02122025_18_36_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/5/956a0c2056ff2dff6fb8006a34b6c9ec.jpg","text":"TemporaryFile(/tmp/multipartBody1192297030020812578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930874845,"filename":"image_02122025_18_36_34_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398073205","file1":"1398073201","file0":"1398073198","file4":"1398073207","file5":"1398073224","file3":"1398073206"},"map_files_photo_id_array":[{"photo_id":"1398073224","filename":"file5"},{"photo_id":"1398073205","filename":"file2"},{"photo_id":"1398073207","filename":"file4"},{"photo_id":"1398073201","filename":"file1"},{"photo_id":"1398073198","filename":"file0"},{"photo_id":"1398073206","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398073201":["hashtag1","hashtag2"]},{"1398073207":["hashtag1","hashtag2"]},{"1398073224":["hashtag1","hashtag2"]},{"1398073206":["hashtag1","hashtag2"]},{"1398073205":["hashtag1","hashtag2"]},{"1398073198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398073201, 1398073207, 1398073224, 1398073206, 1398073205, 1398073198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.706252098083496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 11:34:12.761835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/38/image_02122025_18_38_14_9660.jpg', '/home/pi/Desktop/images/02122025/18/38/image_02122025_18_38_54_9709.jpg', '/home/pi/Desktop/images/02122025/18/39/image_02122025_18_39_15_9659.jpg', '/home/pi/Desktop/images/02122025/18/39/image_02122025_18_39_24_9684.jpg', '/home/pi/Desktop/images/02122025/18/39/image_02122025_18_39_35_10723.jpg', '/home/pi/Desktop/images/02122025/18/39/image_02122025_18_39_45_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/38/image_02122025_18_38_14_9660.jpg
/home/pi/Desktop/images/02122025/18/38/image_02122025_18_38_54_9709.jpg
/home/pi/Desktop/images/02122025/18/39/image_02122025_18_39_15_9659.jpg
/home/pi/Desktop/images/02122025/18/39/image_02122025_18_39_24_9684.jpg
/home/pi/Desktop/images/02122025/18/39/image_02122025_18_39_35_10723.jpg
/home/pi/Desktop/images/02122025/18/39/image_02122025_18_39_45_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398073357","1398073351","1398073305","1398073349","1398073337","1398073325"],"photo_ids_order":["1398073305","1398073325","1398073337","1398073349","1398073351","1398073357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad359232ba4873ca2c9e2ada4c9d48f6.jpg","text":"TemporaryFile(/tmp/multipartBody2724793394378842981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930914945,"filename":"image_02122025_18_39_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/5/29e2079c89860aeb08f5e5b77722c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody4291060226458864138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930914945,"filename":"image_02122025_18_39_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/5/ea011af05259a0524760579337b87b23.jpg","text":"TemporaryFile(/tmp/multipartBody263108694053124128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930914945,"filename":"image_02122025_18_38_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/5/e45e3b0e83834807561be43e01360d88.jpg","text":"TemporaryFile(/tmp/multipartBody5944970707483493109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930914945,"filename":"image_02122025_18_39_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/5/a4860924bdfbbaf3bdfc8a05f07c0f4c.jpg","text":"TemporaryFile(/tmp/multipartBody2919147945796853962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930914945,"filename":"image_02122025_18_39_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/5/48d6e0454c51cfc4d10baef74debffde.jpg","text":"TemporaryFile(/tmp/multipartBody5306869034247382503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930914945,"filename":"image_02122025_18_38_54_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398073337","file1":"1398073325","file0":"1398073305","file4":"1398073351","file5":"1398073357","file3":"1398073349"},"map_files_photo_id_array":[{"photo_id":"1398073357","filename":"file5"},{"photo_id":"1398073337","filename":"file2"},{"photo_id":"1398073351","filename":"file4"},{"photo_id":"1398073325","filename":"file1"},{"photo_id":"1398073305","filename":"file0"},{"photo_id":"1398073349","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398073357":["hashtag1","hashtag2"]},{"1398073351":["hashtag1","hashtag2"]},{"1398073305":["hashtag1","hashtag2"]},{"1398073349":["hashtag1","hashtag2"]},{"1398073337":["hashtag1","hashtag2"]},{"1398073325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398073357, 1398073351, 1398073305, 1398073349, 1398073337, 1398073325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02212357521057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:35:02.577080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_14_10648.jpg', '/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_24_9746.jpg', '/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_34_9679.jpg', '/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_45_10761.jpg', '/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_54_9748.jpg', '/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_14_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_14_10648.jpg
/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_24_9746.jpg
/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_34_9679.jpg
/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_45_10761.jpg
/home/pi/Desktop/images/05122025/11/14/image_05122025_11_14_54_9748.jpg
/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_14_10050.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398073363","1398073368","1398073365","1398073364","1398073361","1398073369"],"photo_ids_order":["1398073361","1398073363","1398073364","1398073365","1398073368","1398073369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08187c5384c68f9c546beced737f984e.jpg","text":"TemporaryFile(/tmp/multipartBody6251302452795830804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930963368,"filename":"image_05122025_11_14_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/5/44ecd81b25661024e5341b927b34d27a.jpg","text":"TemporaryFile(/tmp/multipartBody6497601132656936186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930963368,"filename":"image_05122025_11_14_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/5/d8cc6f8ca0b140474b3bf150b4013cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8046379568846438465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930963368,"filename":"image_05122025_11_14_45_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/5/c0835853a629c92085c8b594c056ecc8.jpg","text":"TemporaryFile(/tmp/multipartBody9005963916675344949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930963368,"filename":"image_05122025_11_14_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bef165b3daa6484df444fa722a21d303.jpg","text":"TemporaryFile(/tmp/multipartBody7051257368264593359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930963368,"filename":"image_05122025_11_14_14_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/5/a4a3dc91f89f499b9671582ee261243c.jpg","text":"TemporaryFile(/tmp/multipartBody2741492525264797764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764930963368,"filename":"image_05122025_11_15_14_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398073364","file1":"1398073363","file0":"1398073361","file4":"1398073368","file5":"1398073369","file3":"1398073365"},"map_files_photo_id_array":[{"photo_id":"1398073369","filename":"file5"},{"photo_id":"1398073364","filename":"file2"},{"photo_id":"1398073368","filename":"file4"},{"photo_id":"1398073363","filename":"file1"},{"photo_id":"1398073361","filename":"file0"},{"photo_id":"1398073365","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398073363":["hashtag1","hashtag2"]},{"1398073368":["hashtag1","hashtag2"]},{"1398073365":["hashtag1","hashtag2"]},{"1398073364":["hashtag1","hashtag2"]},{"1398073361":["hashtag1","hashtag2"]},{"1398073369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398073363, 1398073368, 1398073365, 1398073364, 1398073361, 1398073369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64757823944092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:35:41.926059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_20_3768.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_23_2735.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_26_2665.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_29_3731.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_32_2709.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_35_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_20_3768.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_23_2735.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_26_2665.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_29_3731.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_32_2709.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_35_2616.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5751829147338867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:36:02.501620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_24_10655.jpg', '/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_34_9682.jpg', '/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_44_9666.jpg', '/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_54_10651.jpg', '/home/pi/Desktop/images/05122025/11/15/image_05122025_11_16_04_9597.jpg', '/home/pi/Desktop/images/05122025/11/16/image_05122025_11_16_15_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_24_10655.jpg
/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_34_9682.jpg
/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_44_9666.jpg
/home/pi/Desktop/images/05122025/11/15/image_05122025_11_15_54_10651.jpg
/home/pi/Desktop/images/05122025/11/15/image_05122025_11_16_04_9597.jpg
/home/pi/Desktop/images/05122025/11/16/image_05122025_11_16_15_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398073702","1398073819","1398073627","1398073665","1398073781","1398073739"],"photo_ids_order":["1398073627","1398073665","1398073702","1398073739","1398073781","1398073819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8b2647ace6073e7c02f2dd76c4527f64.jpg","text":"TemporaryFile(/tmp/multipartBody4339212946736290943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931023292,"filename":"image_05122025_11_15_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9eb0ae428b86de9834ea09a5046316a0.jpg","text":"TemporaryFile(/tmp/multipartBody3911942512133612783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931023292,"filename":"image_05122025_11_16_15_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/5/cec27a935aca7c87086ceeac2ca459a7.jpg","text":"TemporaryFile(/tmp/multipartBody5093555390765574763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931023292,"filename":"image_05122025_11_15_24_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/5/2c04c2c38a317b7f8c54ec71bf459035.jpg","text":"TemporaryFile(/tmp/multipartBody6252771583077437437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931023292,"filename":"image_05122025_11_15_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1f8070ac36b301de9c92d47419fd9e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3769673954575784206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931023292,"filename":"image_05122025_11_16_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/5/30dc417237c84555c02f32684387e955.jpg","text":"TemporaryFile(/tmp/multipartBody8333392990850061316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931023292,"filename":"image_05122025_11_15_54_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398073702","file1":"1398073665","file0":"1398073627","file4":"1398073781","file5":"1398073819","file3":"1398073739"},"map_files_photo_id_array":[{"photo_id":"1398073819","filename":"file5"},{"photo_id":"1398073702","filename":"file2"},{"photo_id":"1398073781","filename":"file4"},{"photo_id":"1398073665","filename":"file1"},{"photo_id":"1398073627","filename":"file0"},{"photo_id":"1398073739","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398073702":["hashtag1","hashtag2"]},{"1398073819":["hashtag1","hashtag2"]},{"1398073627":["hashtag1","hashtag2"]},{"1398073665":["hashtag1","hashtag2"]},{"1398073781":["hashtag1","hashtag2"]},{"1398073739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398073702, 1398073819, 1398073627, 1398073665, 1398073781, 1398073739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40084958076477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:36:42.125730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_20_3768.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_23_2735.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_26_2665.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_29_3731.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_32_2709.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_35_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_20_3768.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_23_2735.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_26_2665.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_29_3731.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_32_2709.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_35_2616.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4100837707519531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:37:02.885247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/16/image_05122025_11_16_24_9694.jpg', '/home/pi/Desktop/images/05122025/11/16/image_05122025_11_16_34_9684.jpg', '/home/pi/Desktop/images/05122025/11/16/image_05122025_11_16_45_10645.jpg', '/home/pi/Desktop/images/05122025/11/16/image_05122025_11_16_54_9773.jpg', '/home/pi/Desktop/images/05122025/11/16/image_05122025_11_17_04_9778.jpg', '/home/pi/Desktop/images/05122025/11/17/image_05122025_11_17_14_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/16/image_05122025_11_16_24_9694.jpg
/home/pi/Desktop/images/05122025/11/16/image_05122025_11_16_34_9684.jpg
/home/pi/Desktop/images/05122025/11/16/image_05122025_11_16_45_10645.jpg
/home/pi/Desktop/images/05122025/11/16/image_05122025_11_16_54_9773.jpg
/home/pi/Desktop/images/05122025/11/16/image_05122025_11_17_04_9778.jpg
/home/pi/Desktop/images/05122025/11/17/image_05122025_11_17_14_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":["1398074200","1398074061","1398074100","1398074267","1398074135","1398074341"],"photo_ids_order":["1398074061","1398074100","1398074135","1398074200","1398074267","1398074341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/848ccaddfa73927eb8b1ae36d6af5ad0.jpg","text":"TemporaryFile(/tmp/multipartBody5903897860979017495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931083635,"filename":"image_05122025_11_16_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/5/9412dbf9c8e8252472c7bfb4ee140db7.jpg","text":"TemporaryFile(/tmp/multipartBody1639881301209352318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931083635,"filename":"image_05122025_11_16_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94ad27955ff376d73c8d79641e16cde7.jpg","text":"TemporaryFile(/tmp/multipartBody2949807658198290617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931083635,"filename":"image_05122025_11_16_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/5/a813dd4b10e1a0254b15b681889f42cf.jpg","text":"TemporaryFile(/tmp/multipartBody1277743130527089204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931083635,"filename":"image_05122025_11_17_04_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/5/dd6098f2313d3f1ac40f19dd958c2818.jpg","text":"TemporaryFile(/tmp/multipartBody8122765842628024790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931083635,"filename":"image_05122025_11_16_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/5/dd0ea178a715a68c2ef1090e7d960970.jpg","text":"TemporaryFile(/tmp/multipartBody2148991678661965333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931083635,"filename":"image_05122025_11_17_14_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398074135","file1":"1398074100","file0":"1398074061","file4":"1398074267","file5":"1398074341","file3":"1398074200"},"map_files_photo_id_array":[{"photo_id":"1398074341","filename":"file5"},{"photo_id":"1398074135","filename":"file2"},{"photo_id":"1398074267","filename":"file4"},{"photo_id":"1398074100","filename":"file1"},{"photo_id":"1398074061","filename":"file0"},{"photo_id":"1398074200","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398074200":["hashtag1","hashtag2"]},{"1398074061":["hashtag1","hashtag2"]},{"1398074100":["hashtag1","hashtag2"]},{"1398074267":["hashtag1","hashtag2"]},{"1398074135":["hashtag1","hashtag2"]},{"1398074341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398074200, 1398074061, 1398074100, 1398074267, 1398074135, 1398074341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30717444419861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:37:42.415392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_20_3768.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_23_2735.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_26_2665.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_29_3731.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_32_2709.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_35_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_20_3768.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_23_2735.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_26_2665.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_29_3731.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_32_2709.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_35_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":["1398074673","1398074574","1398074637","1398074601","1398074546","1398074707"],"photo_ids_order":["1398074546","1398074574","1398074601","1398074637","1398074673","1398074707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af478c4b3f26e1143523f353fc421f25.jpg","text":"TemporaryFile(/tmp/multipartBody6909791338688656449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931123965,"filename":"image_31102025_19_24_32_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/5/694157a910bab04e5cf7b49431e99ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5706144214276927998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931123965,"filename":"image_31102025_19_24_23_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/5/f3a18a3f8d26faa98901b3dbc7759819.jpg","text":"TemporaryFile(/tmp/multipartBody1057109256830919445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931123965,"filename":"image_31102025_19_24_29_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/5/8a20b18345211227d0ee3e8227e94bf8.jpg","text":"TemporaryFile(/tmp/multipartBody2051381126239800821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931123965,"filename":"image_31102025_19_24_26_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/5/04b414a4ed148e3ff1af37eaef4649a0.jpg","text":"TemporaryFile(/tmp/multipartBody973269438979941703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931123965,"filename":"image_31102025_19_24_20_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/5/8385154dfeb523a1b9f1e021180f035a.jpg","text":"TemporaryFile(/tmp/multipartBody1357827965766858815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931123965,"filename":"image_31102025_19_24_35_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398074601","file1":"1398074574","file0":"1398074546","file4":"1398074673","file5":"1398074707","file3":"1398074637"},"map_files_photo_id_array":[{"photo_id":"1398074707","filename":"file5"},{"photo_id":"1398074601","filename":"file2"},{"photo_id":"1398074673","filename":"file4"},{"photo_id":"1398074574","filename":"file1"},{"photo_id":"1398074546","filename":"file0"},{"photo_id":"1398074637","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398074673":["hashtag1","hashtag2"]},{"1398074574":["hashtag1","hashtag2"]},{"1398074637":["hashtag1","hashtag2"]},{"1398074601":["hashtag1","hashtag2"]},{"1398074546":["hashtag1","hashtag2"]},{"1398074707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398074673, 1398074574, 1398074637, 1398074601, 1398074546, 1398074707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71579909324646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:38:22.572997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/17/image_05122025_11_17_24_10064.jpg', '/home/pi/Desktop/images/05122025/11/17/image_05122025_11_17_34_9743.jpg', '/home/pi/Desktop/images/05122025/11/17/image_05122025_11_17_45_10875.jpg', '/home/pi/Desktop/images/05122025/11/17/image_05122025_11_17_54_9729.jpg', '/home/pi/Desktop/images/05122025/11/17/image_05122025_11_18_04_9696.jpg', '/home/pi/Desktop/images/05122025/11/18/image_05122025_11_18_15_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/17/image_05122025_11_17_24_10064.jpg
/home/pi/Desktop/images/05122025/11/17/image_05122025_11_17_34_9743.jpg
/home/pi/Desktop/images/05122025/11/17/image_05122025_11_17_45_10875.jpg
/home/pi/Desktop/images/05122025/11/17/image_05122025_11_17_54_9729.jpg
/home/pi/Desktop/images/05122025/11/17/image_05122025_11_18_04_9696.jpg
/home/pi/Desktop/images/05122025/11/18/image_05122025_11_18_15_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":["1398074736","1398074792","1398074951","1398074927","1398074714","1398074860"],"photo_ids_order":["1398074714","1398074736","1398074792","1398074860","1398074927","1398074951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce16de8a98deadb22d9ab6cef257e054.jpg","text":"TemporaryFile(/tmp/multipartBody1265968235590024707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931163267,"filename":"image_05122025_11_17_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/5/228eaca3daf606af07fce8deb1961243.jpg","text":"TemporaryFile(/tmp/multipartBody8171920561313136258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931163267,"filename":"image_05122025_11_17_45_10875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0631b0faf719343467198a4280d1c83f.jpg","text":"TemporaryFile(/tmp/multipartBody3292146495235162725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931163267,"filename":"image_05122025_11_18_15_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/92867132de359e91285bb627506f7f02.jpg","text":"TemporaryFile(/tmp/multipartBody2362353782911305251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931163267,"filename":"image_05122025_11_18_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/68f19bc60bb277d57721f90e7a1d97e6.jpg","text":"TemporaryFile(/tmp/multipartBody4829473427316908828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931163267,"filename":"image_05122025_11_17_24_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/5/88390bdb8adda1e27bbb121d8dae766f.jpg","text":"TemporaryFile(/tmp/multipartBody3382476995729030953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931163267,"filename":"image_05122025_11_17_54_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398074792","file1":"1398074736","file0":"1398074714","file4":"1398074927","file5":"1398074951","file3":"1398074860"},"map_files_photo_id_array":[{"photo_id":"1398074951","filename":"file5"},{"photo_id":"1398074792","filename":"file2"},{"photo_id":"1398074927","filename":"file4"},{"photo_id":"1398074736","filename":"file1"},{"photo_id":"1398074714","filename":"file0"},{"photo_id":"1398074860","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398074736":["hashtag1","hashtag2"]},{"1398074792":["hashtag1","hashtag2"]},{"1398074951":["hashtag1","hashtag2"]},{"1398074927":["hashtag1","hashtag2"]},{"1398074714":["hashtag1","hashtag2"]},{"1398074860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398074736, 1398074792, 1398074951, 1398074927, 1398074714, 1398074860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02111268043518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:39:03.709198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/18/image_05122025_11_18_24_9765.jpg', '/home/pi/Desktop/images/05122025/11/18/image_05122025_11_18_34_9538.jpg', '/home/pi/Desktop/images/05122025/11/18/image_05122025_11_18_45_10593.jpg', '/home/pi/Desktop/images/05122025/11/18/image_05122025_11_18_54_9617.jpg', '/home/pi/Desktop/images/05122025/11/18/image_05122025_11_19_04_9697.jpg', '/home/pi/Desktop/images/05122025/11/19/image_05122025_11_19_15_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/18/image_05122025_11_18_24_9765.jpg
/home/pi/Desktop/images/05122025/11/18/image_05122025_11_18_34_9538.jpg
/home/pi/Desktop/images/05122025/11/18/image_05122025_11_18_45_10593.jpg
/home/pi/Desktop/images/05122025/11/18/image_05122025_11_18_54_9617.jpg
/home/pi/Desktop/images/05122025/11/18/image_05122025_11_19_04_9697.jpg
/home/pi/Desktop/images/05122025/11/19/image_05122025_11_19_15_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":["1398075092","1398075011","1398075094","1398075049","1398074977","1398075081"],"photo_ids_order":["1398074977","1398075011","1398075049","1398075081","1398075092","1398075094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8dedd693d5783d96eeb2a85e8243c05a.jpg","text":"TemporaryFile(/tmp/multipartBody2733477710773930420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931204457,"filename":"image_05122025_11_19_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/5/640ff4ca6c8dc8bcbf1b25a9f9743032.jpg","text":"TemporaryFile(/tmp/multipartBody6283574320150056087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931204457,"filename":"image_05122025_11_18_34_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/5/2f7fa3852a0f059e9abb367400082ae4.jpg","text":"TemporaryFile(/tmp/multipartBody6813424515911609087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931204457,"filename":"image_05122025_11_19_15_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f69ec9c8ac208cd1617ee75cd499adf.jpg","text":"TemporaryFile(/tmp/multipartBody1349984803734651354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931204457,"filename":"image_05122025_11_18_45_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/5/e32da078e58c5ac63c551bb7c208eeb2.jpg","text":"TemporaryFile(/tmp/multipartBody9153673056745397027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931204457,"filename":"image_05122025_11_18_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/5/eeee2dcb004e050c9607270eba0d5763.jpg","text":"TemporaryFile(/tmp/multipartBody2391499978284740174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931204457,"filename":"image_05122025_11_18_54_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398075049","file1":"1398075011","file0":"1398074977","file4":"1398075092","file5":"1398075094","file3":"1398075081"},"map_files_photo_id_array":[{"photo_id":"1398075094","filename":"file5"},{"photo_id":"1398075049","filename":"file2"},{"photo_id":"1398075092","filename":"file4"},{"photo_id":"1398075011","filename":"file1"},{"photo_id":"1398074977","filename":"file0"},{"photo_id":"1398075081","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398075092":["hashtag1","hashtag2"]},{"1398075011":["hashtag1","hashtag2"]},{"1398075094":["hashtag1","hashtag2"]},{"1398075049":["hashtag1","hashtag2"]},{"1398074977":["hashtag1","hashtag2"]},{"1398075081":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398075092, 1398075011, 1398075094, 1398075049, 1398074977, 1398075081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54521560668945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:39:42.781804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_37_2740.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_41_3892.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_44_2794.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_49_2619.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_53_3597.jpg', '/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_55_2508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_37_2740.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_41_3892.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_44_2794.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_49_2619.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_53_3597.jpg
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_55_2508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398075228","1398075120","1398075102","1398075101","1398075160","1398075099"],"photo_ids_order":["1398075099","1398075101","1398075102","1398075120","1398075160","1398075228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74ececcde467594b09847fd6d6be01a9.jpg","text":"TemporaryFile(/tmp/multipartBody7321784862930730662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931244448,"filename":"image_31102025_19_24_55_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a614e0e63f4099b19071bfa41b2c760b.jpg","text":"TemporaryFile(/tmp/multipartBody7572215347063878204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931244448,"filename":"image_31102025_19_24_49_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/5/f1dbc4f70a3d2c96b8b80bbdb15d685a.jpg","text":"TemporaryFile(/tmp/multipartBody2658807281603906440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931244448,"filename":"image_31102025_19_24_44_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/5/479153fc0983455f40bb6278edc0412f.jpg","text":"TemporaryFile(/tmp/multipartBody5758103082404846736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931244448,"filename":"image_31102025_19_24_41_3892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99c744c206a2f2a8eb54e26150e4419b.jpg","text":"TemporaryFile(/tmp/multipartBody7023479662955306515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931244448,"filename":"image_31102025_19_24_53_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/5/f2fe9cdc44fc61f866b80f92d2d38cee.jpg","text":"TemporaryFile(/tmp/multipartBody7374726960109601270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931244448,"filename":"image_31102025_19_24_37_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398075102","file1":"1398075101","file0":"1398075099","file4":"1398075160","file5":"1398075228","file3":"1398075120"},"map_files_photo_id_array":[{"photo_id":"1398075228","filename":"file5"},{"photo_id":"1398075102","filename":"file2"},{"photo_id":"1398075160","filename":"file4"},{"photo_id":"1398075101","filename":"file1"},{"photo_id":"1398075099","filename":"file0"},{"photo_id":"1398075120","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398075228":["hashtag1","hashtag2"]},{"1398075120":["hashtag1","hashtag2"]},{"1398075102":["hashtag1","hashtag2"]},{"1398075101":["hashtag1","hashtag2"]},{"1398075160":["hashtag1","hashtag2"]},{"1398075099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398075228, 1398075120, 1398075102, 1398075101, 1398075160, 1398075099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95001983642578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:40:21.904430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/19/image_05122025_11_19_24_9737.jpg', '/home/pi/Desktop/images/05122025/11/19/image_05122025_11_19_34_9737.jpg', '/home/pi/Desktop/images/05122025/11/19/image_05122025_11_19_45_10552.jpg', '/home/pi/Desktop/images/05122025/11/19/image_05122025_11_19_54_9720.jpg', '/home/pi/Desktop/images/05122025/11/20/image_05122025_11_20_15_10054.jpg', '/home/pi/Desktop/images/05122025/11/20/image_05122025_11_20_25_10253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/19/image_05122025_11_19_24_9737.jpg
/home/pi/Desktop/images/05122025/11/19/image_05122025_11_19_34_9737.jpg
/home/pi/Desktop/images/05122025/11/19/image_05122025_11_19_45_10552.jpg
/home/pi/Desktop/images/05122025/11/19/image_05122025_11_19_54_9720.jpg
/home/pi/Desktop/images/05122025/11/20/image_05122025_11_20_15_10054.jpg
/home/pi/Desktop/images/05122025/11/20/image_05122025_11_20_25_10253.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398075522","1398075426","1398075595","1398075484","1398075559","1398075387"],"photo_ids_order":["1398075387","1398075426","1398075484","1398075522","1398075559","1398075595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/910b163d0d1e2192e985870153c9fa66.jpg","text":"TemporaryFile(/tmp/multipartBody172974614639358309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931282594,"filename":"image_05122025_11_19_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/5/86d9e1b2291e94ad5c7664be5f1a0925.jpg","text":"TemporaryFile(/tmp/multipartBody4993429251300992845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931282594,"filename":"image_05122025_11_19_34_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5fe1fb123be73856b67131a842cc2cbe.jpg","text":"TemporaryFile(/tmp/multipartBody1290340342455408050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931282594,"filename":"image_05122025_11_20_25_10253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc2f23016eaee2c6715679b7e5600721.jpg","text":"TemporaryFile(/tmp/multipartBody6796577779724045668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931282594,"filename":"image_05122025_11_19_45_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fe24e44b54e5558123161bf80d39a495.jpg","text":"TemporaryFile(/tmp/multipartBody7661020085021245821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931282594,"filename":"image_05122025_11_20_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e57008c5ef97f0f648f0d86927e4965.jpg","text":"TemporaryFile(/tmp/multipartBody3621161326082214224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931282594,"filename":"image_05122025_11_19_24_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398075484","file1":"1398075426","file0":"1398075387","file4":"1398075559","file5":"1398075595","file3":"1398075522"},"map_files_photo_id_array":[{"photo_id":"1398075595","filename":"file5"},{"photo_id":"1398075484","filename":"file2"},{"photo_id":"1398075559","filename":"file4"},{"photo_id":"1398075426","filename":"file1"},{"photo_id":"1398075387","filename":"file0"},{"photo_id":"1398075522","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398075522":["hashtag1","hashtag2"]},{"1398075426":["hashtag1","hashtag2"]},{"1398075595":["hashtag1","hashtag2"]},{"1398075484":["hashtag1","hashtag2"]},{"1398075559":["hashtag1","hashtag2"]},{"1398075387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398075522, 1398075426, 1398075595, 1398075484, 1398075559, 1398075387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87685465812683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:41:02.762735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/20/image_05122025_11_20_35_9799.jpg', '/home/pi/Desktop/images/05122025/11/20/image_05122025_11_20_45_10654.jpg', '/home/pi/Desktop/images/05122025/11/20/image_05122025_11_20_55_9706.jpg', '/home/pi/Desktop/images/05122025/11/20/image_05122025_11_21_05_9727.jpg', '/home/pi/Desktop/images/05122025/11/21/image_05122025_11_21_15_10599.jpg', '/home/pi/Desktop/images/05122025/11/21/image_05122025_11_21_25_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/20/image_05122025_11_20_35_9799.jpg
/home/pi/Desktop/images/05122025/11/20/image_05122025_11_20_45_10654.jpg
/home/pi/Desktop/images/05122025/11/20/image_05122025_11_20_55_9706.jpg
/home/pi/Desktop/images/05122025/11/20/image_05122025_11_21_05_9727.jpg
/home/pi/Desktop/images/05122025/11/21/image_05122025_11_21_15_10599.jpg
/home/pi/Desktop/images/05122025/11/21/image_05122025_11_21_25_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398075741","1398075887","1398075825","1398075866","1398075784","1398075885"],"photo_ids_order":["1398075741","1398075784","1398075825","1398075866","1398075885","1398075887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/001b5b24cd85e8540412853fe6981fae.jpg","text":"TemporaryFile(/tmp/multipartBody5251709034224757815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931323591,"filename":"image_05122025_11_20_35_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/5/b298446bcfe4411dc23a621417e5d54d.jpg","text":"TemporaryFile(/tmp/multipartBody880283861677009109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931323591,"filename":"image_05122025_11_21_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/5/97f5404adbecf37f52328eb4d898a00e.jpg","text":"TemporaryFile(/tmp/multipartBody3236247063883616510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931323591,"filename":"image_05122025_11_20_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/90b78e5f15233549502856397eb10651.jpg","text":"TemporaryFile(/tmp/multipartBody541289698583943740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931323591,"filename":"image_05122025_11_21_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/5/ef054f42b3e6d74ead8fa368318f3ec9.jpg","text":"TemporaryFile(/tmp/multipartBody977599568184044517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931323591,"filename":"image_05122025_11_20_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/5/812f9eceb5ce894c1374f534fcecff08.jpg","text":"TemporaryFile(/tmp/multipartBody6365670742722924897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931323591,"filename":"image_05122025_11_21_15_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398075825","file1":"1398075784","file0":"1398075741","file4":"1398075885","file5":"1398075887","file3":"1398075866"},"map_files_photo_id_array":[{"photo_id":"1398075887","filename":"file5"},{"photo_id":"1398075825","filename":"file2"},{"photo_id":"1398075885","filename":"file4"},{"photo_id":"1398075784","filename":"file1"},{"photo_id":"1398075741","filename":"file0"},{"photo_id":"1398075866","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398075741":["hashtag1","hashtag2"]},{"1398075887":["hashtag1","hashtag2"]},{"1398075825":["hashtag1","hashtag2"]},{"1398075866":["hashtag1","hashtag2"]},{"1398075784":["hashtag1","hashtag2"]},{"1398075885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398075741, 1398075887, 1398075825, 1398075866, 1398075784, 1398075885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15495038032532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:41:42.151875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_59_3801.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_02_2529.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_05_2934.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_07_2670.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_14_2781.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_19_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/24/image_31102025_19_24_59_3801.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_02_2529.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_05_2934.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_07_2670.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_14_2781.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_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":["1398075915","1398075992","1398075903","1398075890","1398075902","1398075952"],"photo_ids_order":["1398075890","1398075902","1398075903","1398075915","1398075952","1398075992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ff27a0c913b9af78451b93001a04319.jpg","text":"TemporaryFile(/tmp/multipartBody3478472878392509849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931363835,"filename":"image_31102025_19_25_07_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/264369ee65f6f03fd995df39ea0491ec.jpg","text":"TemporaryFile(/tmp/multipartBody3470595558348096147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931363835,"filename":"image_31102025_19_25_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/5/f4f0e6dd8e62916c8dd9a2332e607b73.jpg","text":"TemporaryFile(/tmp/multipartBody6692656017658163512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931363835,"filename":"image_31102025_19_25_05_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/5/9b6d185854720ae897c495b4eb6c221d.jpg","text":"TemporaryFile(/tmp/multipartBody6023396158933345268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931363835,"filename":"image_31102025_19_24_59_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4cd11440fdf33b3f668bf8e4c62a63f.jpg","text":"TemporaryFile(/tmp/multipartBody13469981836114900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931363835,"filename":"image_31102025_19_25_02_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/212d4032bc0008a7b7e114d3d09c0e23.jpg","text":"TemporaryFile(/tmp/multipartBody8907444078684139211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931363835,"filename":"image_31102025_19_25_14_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398075903","file1":"1398075902","file0":"1398075890","file4":"1398075952","file5":"1398075992","file3":"1398075915"},"map_files_photo_id_array":[{"photo_id":"1398075992","filename":"file5"},{"photo_id":"1398075903","filename":"file2"},{"photo_id":"1398075952","filename":"file4"},{"photo_id":"1398075902","filename":"file1"},{"photo_id":"1398075890","filename":"file0"},{"photo_id":"1398075915","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398075915":["hashtag1","hashtag2"]},{"1398075992":["hashtag1","hashtag2"]},{"1398075903":["hashtag1","hashtag2"]},{"1398075890":["hashtag1","hashtag2"]},{"1398075902":["hashtag1","hashtag2"]},{"1398075952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398075915, 1398075992, 1398075903, 1398075890, 1398075902, 1398075952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.305367946624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:42:22.342251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/21/image_05122025_11_21_35_9744.jpg', '/home/pi/Desktop/images/05122025/11/21/image_05122025_11_21_45_10675.jpg', '/home/pi/Desktop/images/05122025/11/21/image_05122025_11_21_55_9771.jpg', '/home/pi/Desktop/images/05122025/11/21/image_05122025_11_22_05_9576.jpg', '/home/pi/Desktop/images/05122025/11/22/image_05122025_11_22_15_10622.jpg', '/home/pi/Desktop/images/05122025/11/22/image_05122025_11_22_25_9539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/21/image_05122025_11_21_35_9744.jpg
/home/pi/Desktop/images/05122025/11/21/image_05122025_11_21_45_10675.jpg
/home/pi/Desktop/images/05122025/11/21/image_05122025_11_21_55_9771.jpg
/home/pi/Desktop/images/05122025/11/21/image_05122025_11_22_05_9576.jpg
/home/pi/Desktop/images/05122025/11/22/image_05122025_11_22_15_10622.jpg
/home/pi/Desktop/images/05122025/11/22/image_05122025_11_22_25_9539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398076097","1398076104","1398076106","1398076100","1398076108","1398076095"],"photo_ids_order":["1398076095","1398076097","1398076100","1398076104","1398076106","1398076108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4fc608bbd1e3a7de72d3996fc78878f.jpg","text":"TemporaryFile(/tmp/multipartBody6031606123622108320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931403049,"filename":"image_05122025_11_21_45_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/5/8a18c9eae2e3f37530aeaf10ad13979c.jpg","text":"TemporaryFile(/tmp/multipartBody2341373470019345449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931403049,"filename":"image_05122025_11_22_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8b107217a4cdddf0e45027541780d0a9.jpg","text":"TemporaryFile(/tmp/multipartBody7043886292670730472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931403049,"filename":"image_05122025_11_22_15_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/211c16704d0b293db29efaba470438c3.jpg","text":"TemporaryFile(/tmp/multipartBody7530387980728797661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931403049,"filename":"image_05122025_11_21_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/5/fd7f13d8b1a8693cec9dda7f79d1b421.jpg","text":"TemporaryFile(/tmp/multipartBody6271672770798353231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931403049,"filename":"image_05122025_11_22_25_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/5/a0810613dbc797e73d3b5713a74073dc.jpg","text":"TemporaryFile(/tmp/multipartBody5980574109673364739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931403049,"filename":"image_05122025_11_21_35_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398076100","file1":"1398076097","file0":"1398076095","file4":"1398076106","file5":"1398076108","file3":"1398076104"},"map_files_photo_id_array":[{"photo_id":"1398076108","filename":"file5"},{"photo_id":"1398076100","filename":"file2"},{"photo_id":"1398076106","filename":"file4"},{"photo_id":"1398076097","filename":"file1"},{"photo_id":"1398076095","filename":"file0"},{"photo_id":"1398076104","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398076097":["hashtag1","hashtag2"]},{"1398076104":["hashtag1","hashtag2"]},{"1398076106":["hashtag1","hashtag2"]},{"1398076100":["hashtag1","hashtag2"]},{"1398076108":["hashtag1","hashtag2"]},{"1398076095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398076097, 1398076104, 1398076106, 1398076100, 1398076108, 1398076095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16134166717529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:43:03.183374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/22/image_05122025_11_22_36_10663.jpg', '/home/pi/Desktop/images/05122025/11/22/image_05122025_11_22_45_9755.jpg', '/home/pi/Desktop/images/05122025/11/22/image_05122025_11_22_55_9647.jpg', '/home/pi/Desktop/images/05122025/11/22/image_05122025_11_23_05_10064.jpg', '/home/pi/Desktop/images/05122025/11/23/image_05122025_11_23_15_9610.jpg', '/home/pi/Desktop/images/05122025/11/23/image_05122025_11_23_25_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/22/image_05122025_11_22_36_10663.jpg
/home/pi/Desktop/images/05122025/11/22/image_05122025_11_22_45_9755.jpg
/home/pi/Desktop/images/05122025/11/22/image_05122025_11_22_55_9647.jpg
/home/pi/Desktop/images/05122025/11/22/image_05122025_11_23_05_10064.jpg
/home/pi/Desktop/images/05122025/11/23/image_05122025_11_23_15_9610.jpg
/home/pi/Desktop/images/05122025/11/23/image_05122025_11_23_25_10785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398076286","1398076373","1398076181","1398076321","1398076359","1398076224"],"photo_ids_order":["1398076181","1398076224","1398076286","1398076321","1398076359","1398076373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54d1c7a3d106169886daac68199933be.jpg","text":"TemporaryFile(/tmp/multipartBody367759458386752304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931443926,"filename":"image_05122025_11_22_55_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/5/ec0cb4773cf51249165eb9384bf04abc.jpg","text":"TemporaryFile(/tmp/multipartBody1312068050557628494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931443926,"filename":"image_05122025_11_23_25_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/5/016569c3ad94fadef93bbe591c55b7aa.jpg","text":"TemporaryFile(/tmp/multipartBody493518355311293602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931443926,"filename":"image_05122025_11_22_36_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/82031a3c5d7d4455e68e8b1eea0306ab.jpg","text":"TemporaryFile(/tmp/multipartBody4211953147312570858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931443926,"filename":"image_05122025_11_23_05_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/5/e0894cc81a7b172eec2410245fe71174.jpg","text":"TemporaryFile(/tmp/multipartBody4198988592089601347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931443926,"filename":"image_05122025_11_23_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/5/e6dc6e8ce3ec592fcdad3dd580552059.jpg","text":"TemporaryFile(/tmp/multipartBody5137774084367103065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931443926,"filename":"image_05122025_11_22_45_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398076286","file1":"1398076224","file0":"1398076181","file4":"1398076359","file5":"1398076373","file3":"1398076321"},"map_files_photo_id_array":[{"photo_id":"1398076373","filename":"file5"},{"photo_id":"1398076286","filename":"file2"},{"photo_id":"1398076359","filename":"file4"},{"photo_id":"1398076224","filename":"file1"},{"photo_id":"1398076181","filename":"file0"},{"photo_id":"1398076321","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398076286":["hashtag1","hashtag2"]},{"1398076373":["hashtag1","hashtag2"]},{"1398076181":["hashtag1","hashtag2"]},{"1398076321":["hashtag1","hashtag2"]},{"1398076359":["hashtag1","hashtag2"]},{"1398076224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398076286, 1398076373, 1398076181, 1398076321, 1398076359, 1398076224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90795373916626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:43:42.449862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_23_3693.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_26_2650.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_28_2599.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_32_3596.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_35_2706.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_38_3807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_23_3693.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_26_2650.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_28_2599.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_32_3596.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_35_2706.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_38_3807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398076602","1398076431","1398076640","1398076564","1398076510","1398076458"],"photo_ids_order":["1398076431","1398076458","1398076510","1398076564","1398076602","1398076640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f5b704edb67e28ab78c0678e00c3782.jpg","text":"TemporaryFile(/tmp/multipartBody8198898128854167198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931484095,"filename":"image_31102025_19_25_35_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/5/bd0f5e01e1f72395672d8cbd6f6570bd.jpg","text":"TemporaryFile(/tmp/multipartBody8344367468456475387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931484095,"filename":"image_31102025_19_25_23_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/5/0e22f004726d05d5bf70a88615d4201d.jpg","text":"TemporaryFile(/tmp/multipartBody188386838446888741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931484095,"filename":"image_31102025_19_25_38_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/5/f7c3fbc9ab2a7718b60318b55f5e98b7.jpg","text":"TemporaryFile(/tmp/multipartBody1700238697049063739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931484095,"filename":"image_31102025_19_25_32_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/5/51d6a29f1afe274a93d537343fd5ae44.jpg","text":"TemporaryFile(/tmp/multipartBody2956893684220777972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931484095,"filename":"image_31102025_19_25_28_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/5/f4d9a820c281dd52cd7217ef3af70635.jpg","text":"TemporaryFile(/tmp/multipartBody669900426928460626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931484095,"filename":"image_31102025_19_25_26_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398076510","file1":"1398076458","file0":"1398076431","file4":"1398076602","file5":"1398076640","file3":"1398076564"},"map_files_photo_id_array":[{"photo_id":"1398076640","filename":"file5"},{"photo_id":"1398076510","filename":"file2"},{"photo_id":"1398076602","filename":"file4"},{"photo_id":"1398076458","filename":"file1"},{"photo_id":"1398076431","filename":"file0"},{"photo_id":"1398076564","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398076602":["hashtag1","hashtag2"]},{"1398076431":["hashtag1","hashtag2"]},{"1398076640":["hashtag1","hashtag2"]},{"1398076564":["hashtag1","hashtag2"]},{"1398076510":["hashtag1","hashtag2"]},{"1398076458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398076602, 1398076431, 1398076640, 1398076564, 1398076510, 1398076458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.680968284606934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:44:22.601540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/23/image_05122025_11_23_35_9884.jpg', '/home/pi/Desktop/images/05122025/11/23/image_05122025_11_23_45_9601.jpg', '/home/pi/Desktop/images/05122025/11/23/image_05122025_11_23_55_9855.jpg', '/home/pi/Desktop/images/05122025/11/23/image_05122025_11_24_05_10190.jpg', '/home/pi/Desktop/images/05122025/11/24/image_05122025_11_24_15_9686.jpg', '/home/pi/Desktop/images/05122025/11/24/image_05122025_11_24_25_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/23/image_05122025_11_23_35_9884.jpg
/home/pi/Desktop/images/05122025/11/23/image_05122025_11_23_45_9601.jpg
/home/pi/Desktop/images/05122025/11/23/image_05122025_11_23_55_9855.jpg
/home/pi/Desktop/images/05122025/11/23/image_05122025_11_24_05_10190.jpg
/home/pi/Desktop/images/05122025/11/24/image_05122025_11_24_15_9686.jpg
/home/pi/Desktop/images/05122025/11/24/image_05122025_11_24_25_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398076688","1398076667","1398076664","1398076669","1398076663","1398076671"],"photo_ids_order":["1398076663","1398076664","1398076667","1398076669","1398076671","1398076688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aeabcb0a4da3a97d1633f9d9fdad6429.jpg","text":"TemporaryFile(/tmp/multipartBody3708368280628895603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931523333,"filename":"image_05122025_11_24_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b142eccc423efeab2689dfd6f28090c4.jpg","text":"TemporaryFile(/tmp/multipartBody3522065676061895464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931523333,"filename":"image_05122025_11_23_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/5/a602dc320c7aebe381b9b77ae115953c.jpg","text":"TemporaryFile(/tmp/multipartBody7170629577462374941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931523333,"filename":"image_05122025_11_23_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/5/8762e88af58cde7c7781f097de0e06b2.jpg","text":"TemporaryFile(/tmp/multipartBody8995140646172646770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931523333,"filename":"image_05122025_11_24_05_10190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d553a4cbc7356267a074e1cc5a314ce6.jpg","text":"TemporaryFile(/tmp/multipartBody2696588116700191361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931523333,"filename":"image_05122025_11_23_35_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/5/0fb23d8931fdb109bfd368c869c6cbe9.jpg","text":"TemporaryFile(/tmp/multipartBody5167231308576284263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931523333,"filename":"image_05122025_11_24_15_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398076667","file1":"1398076664","file0":"1398076663","file4":"1398076671","file5":"1398076688","file3":"1398076669"},"map_files_photo_id_array":[{"photo_id":"1398076688","filename":"file5"},{"photo_id":"1398076667","filename":"file2"},{"photo_id":"1398076671","filename":"file4"},{"photo_id":"1398076664","filename":"file1"},{"photo_id":"1398076663","filename":"file0"},{"photo_id":"1398076669","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398076688":["hashtag1","hashtag2"]},{"1398076667":["hashtag1","hashtag2"]},{"1398076664":["hashtag1","hashtag2"]},{"1398076669":["hashtag1","hashtag2"]},{"1398076663":["hashtag1","hashtag2"]},{"1398076671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398076688, 1398076667, 1398076664, 1398076669, 1398076663, 1398076671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1437726020813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:45:03.539848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/24/image_05122025_11_24_35_9809.jpg', '/home/pi/Desktop/images/05122025/11/24/image_05122025_11_24_45_9746.jpg', '/home/pi/Desktop/images/05122025/11/24/image_05122025_11_24_55_9771.jpg', '/home/pi/Desktop/images/05122025/11/26/image_05122025_11_26_14_10037.jpg', '/home/pi/Desktop/images/05122025/11/26/image_05122025_11_26_25_10683.jpg', '/home/pi/Desktop/images/05122025/11/26/image_05122025_11_26_35_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/24/image_05122025_11_24_35_9809.jpg
/home/pi/Desktop/images/05122025/11/24/image_05122025_11_24_45_9746.jpg
/home/pi/Desktop/images/05122025/11/24/image_05122025_11_24_55_9771.jpg
/home/pi/Desktop/images/05122025/11/26/image_05122025_11_26_14_10037.jpg
/home/pi/Desktop/images/05122025/11/26/image_05122025_11_26_25_10683.jpg
/home/pi/Desktop/images/05122025/11/26/image_05122025_11_26_35_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398076763","1398076751","1398076717","1398076761","1398076708","1398076752"],"photo_ids_order":["1398076708","1398076717","1398076751","1398076752","1398076761","1398076763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95bde760485410385448af8a6ec475cb.jpg","text":"TemporaryFile(/tmp/multipartBody8131543914907101899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931564257,"filename":"image_05122025_11_26_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/5/55358b5de787aab849bd650e7663f7d0.jpg","text":"TemporaryFile(/tmp/multipartBody6219619294790069247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931564257,"filename":"image_05122025_11_24_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/5/154ec137333e973f86005ca87823c822.jpg","text":"TemporaryFile(/tmp/multipartBody4268235404262623112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931564257,"filename":"image_05122025_11_24_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/5/cb1f14b70bfb711f05aa2e5d78ee0089.jpg","text":"TemporaryFile(/tmp/multipartBody5750459241385097133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931564257,"filename":"image_05122025_11_26_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/5/90754ae9ecf43c3231bb5c47f4c07f22.jpg","text":"TemporaryFile(/tmp/multipartBody5063934505057882243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931564257,"filename":"image_05122025_11_24_35_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/5/357041b02d9c6aae1d26ace2a1eb4132.jpg","text":"TemporaryFile(/tmp/multipartBody7293857071027392546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931564257,"filename":"image_05122025_11_26_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398076751","file1":"1398076717","file0":"1398076708","file4":"1398076761","file5":"1398076763","file3":"1398076752"},"map_files_photo_id_array":[{"photo_id":"1398076763","filename":"file5"},{"photo_id":"1398076751","filename":"file2"},{"photo_id":"1398076761","filename":"file4"},{"photo_id":"1398076717","filename":"file1"},{"photo_id":"1398076708","filename":"file0"},{"photo_id":"1398076752","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398076763":["hashtag1","hashtag2"]},{"1398076751":["hashtag1","hashtag2"]},{"1398076717":["hashtag1","hashtag2"]},{"1398076761":["hashtag1","hashtag2"]},{"1398076708":["hashtag1","hashtag2"]},{"1398076752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398076763, 1398076751, 1398076717, 1398076761, 1398076708, 1398076752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01826214790344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:45:42.852022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_41_2747.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_44_2724.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_47_2657.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_50_3711.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_53_2530.jpg', '/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_55_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_41_2747.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_44_2724.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_47_2657.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_50_3711.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_53_2530.jpg
/home/pi/Desktop/images/31102025/19/25/image_31102025_19_25_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":["1398076772","1398076847","1398076769","1398076776","1398076770","1398076812"],"photo_ids_order":["1398076769","1398076770","1398076772","1398076776","1398076812","1398076847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ffd737e6b1c2a6dfa734b15a376da74d.jpg","text":"TemporaryFile(/tmp/multipartBody981471503574915050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931604514,"filename":"image_31102025_19_25_47_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f892c6b9e8349c359e28fb682e69322.jpg","text":"TemporaryFile(/tmp/multipartBody1804607627775890869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931604514,"filename":"image_31102025_19_25_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/5/f44977ee4b7649413c04f1c0fd4e472f.jpg","text":"TemporaryFile(/tmp/multipartBody3247279277051751661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931604514,"filename":"image_31102025_19_25_41_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95cc43a55168427b4c2ace0c9bf368ae.jpg","text":"TemporaryFile(/tmp/multipartBody4738751588606173921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931604514,"filename":"image_31102025_19_25_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/5/170b63680deb6f17798a3889df92867c.jpg","text":"TemporaryFile(/tmp/multipartBody4483848972739699115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931604514,"filename":"image_31102025_19_25_44_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/5/e30c35227233f585c11a4445d8f633fa.jpg","text":"TemporaryFile(/tmp/multipartBody1868061742915737292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931604514,"filename":"image_31102025_19_25_53_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398076772","file1":"1398076770","file0":"1398076769","file4":"1398076812","file5":"1398076847","file3":"1398076776"},"map_files_photo_id_array":[{"photo_id":"1398076847","filename":"file5"},{"photo_id":"1398076772","filename":"file2"},{"photo_id":"1398076812","filename":"file4"},{"photo_id":"1398076770","filename":"file1"},{"photo_id":"1398076769","filename":"file0"},{"photo_id":"1398076776","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398076772":["hashtag1","hashtag2"]},{"1398076847":["hashtag1","hashtag2"]},{"1398076769":["hashtag1","hashtag2"]},{"1398076776":["hashtag1","hashtag2"]},{"1398076770":["hashtag1","hashtag2"]},{"1398076812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398076772, 1398076847, 1398076769, 1398076776, 1398076770, 1398076812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5536150932312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:46:22.029685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/26/image_05122025_11_26_44_9614.jpg', '/home/pi/Desktop/images/05122025/11/26/image_05122025_11_26_55_10760.jpg', '/home/pi/Desktop/images/05122025/11/26/image_05122025_11_27_05_9625.jpg', '/home/pi/Desktop/images/05122025/11/27/image_05122025_11_27_15_9647.jpg', '/home/pi/Desktop/images/05122025/11/27/image_05122025_11_27_25_10754.jpg', '/home/pi/Desktop/images/05122025/11/27/image_05122025_11_27_35_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/26/image_05122025_11_26_44_9614.jpg
/home/pi/Desktop/images/05122025/11/26/image_05122025_11_26_55_10760.jpg
/home/pi/Desktop/images/05122025/11/26/image_05122025_11_27_05_9625.jpg
/home/pi/Desktop/images/05122025/11/27/image_05122025_11_27_15_9647.jpg
/home/pi/Desktop/images/05122025/11/27/image_05122025_11_27_25_10754.jpg
/home/pi/Desktop/images/05122025/11/27/image_05122025_11_27_35_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398076920","1398076952","1398076955","1398076925","1398076900","1398076917"],"photo_ids_order":["1398076900","1398076917","1398076920","1398076925","1398076952","1398076955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1318bc8f06591cafe7abf7ce0fba0606.jpg","text":"TemporaryFile(/tmp/multipartBody6875468399635460007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931642719,"filename":"image_05122025_11_27_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/5/2d76c51973782c7ed056518d595b41fe.jpg","text":"TemporaryFile(/tmp/multipartBody4788082382403495819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931642719,"filename":"image_05122025_11_27_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/5/e9a7fc0efae2a02f7bbcea288730246b.jpg","text":"TemporaryFile(/tmp/multipartBody2375608611557372970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931642719,"filename":"image_05122025_11_27_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/5/54235e6d30f9a6e7e70ce843be57c511.jpg","text":"TemporaryFile(/tmp/multipartBody5925699479735934763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931642719,"filename":"image_05122025_11_27_15_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/5/ebe1ed6b6434fd7fc8dcc53f3fcaf270.jpg","text":"TemporaryFile(/tmp/multipartBody132134031677013564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931642719,"filename":"image_05122025_11_26_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/5/37e93fdbbb33e2b2b72fb23ae15941de.jpg","text":"TemporaryFile(/tmp/multipartBody613046109384541075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931642719,"filename":"image_05122025_11_26_55_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398076920","file1":"1398076917","file0":"1398076900","file4":"1398076952","file5":"1398076955","file3":"1398076925"},"map_files_photo_id_array":[{"photo_id":"1398076955","filename":"file5"},{"photo_id":"1398076920","filename":"file2"},{"photo_id":"1398076952","filename":"file4"},{"photo_id":"1398076917","filename":"file1"},{"photo_id":"1398076900","filename":"file0"},{"photo_id":"1398076925","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398076920":["hashtag1","hashtag2"]},{"1398076952":["hashtag1","hashtag2"]},{"1398076955":["hashtag1","hashtag2"]},{"1398076925":["hashtag1","hashtag2"]},{"1398076900":["hashtag1","hashtag2"]},{"1398076917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398076920, 1398076952, 1398076955, 1398076925, 1398076900, 1398076917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72393345832825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:47:02.689768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/27/image_05122025_11_27_45_9712.jpg', '/home/pi/Desktop/images/05122025/11/27/image_05122025_11_27_55_10637.jpg', '/home/pi/Desktop/images/05122025/11/27/image_05122025_11_28_05_9635.jpg', '/home/pi/Desktop/images/05122025/11/28/image_05122025_11_28_15_9789.jpg', '/home/pi/Desktop/images/05122025/11/28/image_05122025_11_28_24_9786.jpg', '/home/pi/Desktop/images/05122025/11/28/image_05122025_11_28_35_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/27/image_05122025_11_27_45_9712.jpg
/home/pi/Desktop/images/05122025/11/27/image_05122025_11_27_55_10637.jpg
/home/pi/Desktop/images/05122025/11/27/image_05122025_11_28_05_9635.jpg
/home/pi/Desktop/images/05122025/11/28/image_05122025_11_28_15_9789.jpg
/home/pi/Desktop/images/05122025/11/28/image_05122025_11_28_24_9786.jpg
/home/pi/Desktop/images/05122025/11/28/image_05122025_11_28_35_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398076970","1398076969","1398076957","1398076972","1398076968","1398076962"],"photo_ids_order":["1398076957","1398076962","1398076968","1398076969","1398076970","1398076972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/09adf24744b1684b1c6b6f67d07e6cc1.jpg","text":"TemporaryFile(/tmp/multipartBody1129892444220369109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931683464,"filename":"image_05122025_11_28_24_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2146b69e5b03557a6fdc39de964c266c.jpg","text":"TemporaryFile(/tmp/multipartBody5339473065295796522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931683464,"filename":"image_05122025_11_28_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/5/933c9a3bbba511dc2f91dec07a9ff69a.jpg","text":"TemporaryFile(/tmp/multipartBody1806536161228672117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931683464,"filename":"image_05122025_11_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/5/7b2badd19feaa854d8887309349800cf.jpg","text":"TemporaryFile(/tmp/multipartBody3465789666455055371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931683464,"filename":"image_05122025_11_28_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/5/be3ae4faa91a0a8108852234d58649c3.jpg","text":"TemporaryFile(/tmp/multipartBody5474537506459637463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931683464,"filename":"image_05122025_11_28_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/35f3dc38c788a7aee85b6ca73b0f8872.jpg","text":"TemporaryFile(/tmp/multipartBody2848331676895703784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931683464,"filename":"image_05122025_11_27_55_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398076968","file1":"1398076962","file0":"1398076957","file4":"1398076970","file5":"1398076972","file3":"1398076969"},"map_files_photo_id_array":[{"photo_id":"1398076972","filename":"file5"},{"photo_id":"1398076968","filename":"file2"},{"photo_id":"1398076970","filename":"file4"},{"photo_id":"1398076962","filename":"file1"},{"photo_id":"1398076957","filename":"file0"},{"photo_id":"1398076969","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398076970":["hashtag1","hashtag2"]},{"1398076969":["hashtag1","hashtag2"]},{"1398076957":["hashtag1","hashtag2"]},{"1398076972":["hashtag1","hashtag2"]},{"1398076968":["hashtag1","hashtag2"]},{"1398076962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398076970, 1398076969, 1398076957, 1398076972, 1398076968, 1398076962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31062602996826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:47:42.239155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_02_2635.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_04_2746.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_08_3639.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_11_2661.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_13_2512.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_17_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_02_2635.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_04_2746.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_08_3639.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_11_2661.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_13_2512.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_17_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":["1398076982","1398076981","1398076984","1398076978","1398076986","1398076983"],"photo_ids_order":["1398076978","1398076981","1398076982","1398076983","1398076984","1398076986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ba2d0e5354e4dc404e7254dfe429539.jpg","text":"TemporaryFile(/tmp/multipartBody916125926147001833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931723890,"filename":"image_31102025_19_26_08_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa472eb91df7a787902e1232f2bb0286.jpg","text":"TemporaryFile(/tmp/multipartBody5459671105316452294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931723890,"filename":"image_31102025_19_26_04_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/5/aea8c5c44834b2ed139a10d17c5b334f.jpg","text":"TemporaryFile(/tmp/multipartBody5669429836529731824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931723890,"filename":"image_31102025_19_26_13_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/34aeb9bc920cfad3489db60e97c88c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8601142223033199706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931723890,"filename":"image_31102025_19_26_02_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/5/3cdab623b96deed3dfe4dce9883c11aa.jpg","text":"TemporaryFile(/tmp/multipartBody720412271675791320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931723890,"filename":"image_31102025_19_26_17_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/5/a5bb2603441e64766b7be910e35b9293.jpg","text":"TemporaryFile(/tmp/multipartBody2202469102060169546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931723890,"filename":"image_31102025_19_26_11_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398076982","file1":"1398076981","file0":"1398076978","file4":"1398076984","file5":"1398076986","file3":"1398076983"},"map_files_photo_id_array":[{"photo_id":"1398076986","filename":"file5"},{"photo_id":"1398076982","filename":"file2"},{"photo_id":"1398076984","filename":"file4"},{"photo_id":"1398076981","filename":"file1"},{"photo_id":"1398076978","filename":"file0"},{"photo_id":"1398076983","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398076982":["hashtag1","hashtag2"]},{"1398076981":["hashtag1","hashtag2"]},{"1398076984":["hashtag1","hashtag2"]},{"1398076978":["hashtag1","hashtag2"]},{"1398076986":["hashtag1","hashtag2"]},{"1398076983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398076982, 1398076981, 1398076984, 1398076978, 1398076986, 1398076983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90301585197449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:48:22.394220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/28/image_05122025_11_28_45_9726.jpg', '/home/pi/Desktop/images/05122025/11/28/image_05122025_11_28_55_9717.jpg', '/home/pi/Desktop/images/05122025/11/28/image_05122025_11_29_04_9766.jpg', '/home/pi/Desktop/images/05122025/11/29/image_05122025_11_29_15_10640.jpg', '/home/pi/Desktop/images/05122025/11/29/image_05122025_11_29_25_9719.jpg', '/home/pi/Desktop/images/05122025/11/29/image_05122025_11_29_34_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/28/image_05122025_11_28_45_9726.jpg
/home/pi/Desktop/images/05122025/11/28/image_05122025_11_28_55_9717.jpg
/home/pi/Desktop/images/05122025/11/28/image_05122025_11_29_04_9766.jpg
/home/pi/Desktop/images/05122025/11/29/image_05122025_11_29_15_10640.jpg
/home/pi/Desktop/images/05122025/11/29/image_05122025_11_29_25_9719.jpg
/home/pi/Desktop/images/05122025/11/29/image_05122025_11_29_34_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398076994","1398076987","1398076996","1398076998","1398076992","1398076989"],"photo_ids_order":["1398076987","1398076989","1398076992","1398076994","1398076996","1398076998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17e7603826df2451356c2d85338540e1.jpg","text":"TemporaryFile(/tmp/multipartBody2734818526735395967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931763084,"filename":"image_05122025_11_29_15_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/5/6b05bbe35b6ac277e2469a62fa72c96f.jpg","text":"TemporaryFile(/tmp/multipartBody2402238874169612641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931763084,"filename":"image_05122025_11_28_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/81c884a55028ec76b88f91505c95728b.jpg","text":"TemporaryFile(/tmp/multipartBody1757852185437648266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931763084,"filename":"image_05122025_11_29_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/5/3898ccb2fb535c59fdd2eea18f8f285e.jpg","text":"TemporaryFile(/tmp/multipartBody2736903230958216521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931763084,"filename":"image_05122025_11_29_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54d011b84a6838475331419d9852f4e8.jpg","text":"TemporaryFile(/tmp/multipartBody8534731702520673121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931763084,"filename":"image_05122025_11_29_04_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/5/4a2345009890513191944b6e1562768b.jpg","text":"TemporaryFile(/tmp/multipartBody711615478553922608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931763084,"filename":"image_05122025_11_28_55_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398076992","file1":"1398076989","file0":"1398076987","file4":"1398076996","file5":"1398076998","file3":"1398076994"},"map_files_photo_id_array":[{"photo_id":"1398076998","filename":"file5"},{"photo_id":"1398076992","filename":"file2"},{"photo_id":"1398076996","filename":"file4"},{"photo_id":"1398076989","filename":"file1"},{"photo_id":"1398076987","filename":"file0"},{"photo_id":"1398076994","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398076994":["hashtag1","hashtag2"]},{"1398076987":["hashtag1","hashtag2"]},{"1398076996":["hashtag1","hashtag2"]},{"1398076998":["hashtag1","hashtag2"]},{"1398076992":["hashtag1","hashtag2"]},{"1398076989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398076994, 1398076987, 1398076996, 1398076998, 1398076992, 1398076989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.393298387527466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:49:03.340076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/29/image_05122025_11_29_45_10738.jpg', '/home/pi/Desktop/images/05122025/11/29/image_05122025_11_29_55_9877.jpg', '/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_15_10059.jpg', '/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_26_10588.jpg', '/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_35_9685.jpg', '/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_45_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/29/image_05122025_11_29_45_10738.jpg
/home/pi/Desktop/images/05122025/11/29/image_05122025_11_29_55_9877.jpg
/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_15_10059.jpg
/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_26_10588.jpg
/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_35_9685.jpg
/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_45_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":["1398077060","1398077024","1398077011","1398077010","1398077106","1398077007"],"photo_ids_order":["1398077007","1398077010","1398077011","1398077024","1398077060","1398077106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43b64e1110fa6e38394076d8134b6ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3522889428579622321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931804239,"filename":"image_05122025_11_30_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/5/e02ab494130e25ca87d6aa7fb18d46a7.jpg","text":"TemporaryFile(/tmp/multipartBody7216422132858972311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931804239,"filename":"image_05122025_11_30_26_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/5/d6657565bd132343d63dd16b5c3c8f21.jpg","text":"TemporaryFile(/tmp/multipartBody5435960024969775174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931804239,"filename":"image_05122025_11_30_15_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/5/adee5ea98b4c90c01eaef250dcae11c6.jpg","text":"TemporaryFile(/tmp/multipartBody3540547988900882908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931804239,"filename":"image_05122025_11_29_55_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/acb757db0f4fae957058bfc27fbe23bf.jpg","text":"TemporaryFile(/tmp/multipartBody7496934281278947147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931804239,"filename":"image_05122025_11_30_45_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ef561f8fd313ebea7ee66efcec29d000.jpg","text":"TemporaryFile(/tmp/multipartBody5184598605911959885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931804239,"filename":"image_05122025_11_29_45_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077011","file1":"1398077010","file0":"1398077007","file4":"1398077060","file5":"1398077106","file3":"1398077024"},"map_files_photo_id_array":[{"photo_id":"1398077106","filename":"file5"},{"photo_id":"1398077011","filename":"file2"},{"photo_id":"1398077060","filename":"file4"},{"photo_id":"1398077010","filename":"file1"},{"photo_id":"1398077007","filename":"file0"},{"photo_id":"1398077024","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398077060":["hashtag1","hashtag2"]},{"1398077024":["hashtag1","hashtag2"]},{"1398077011":["hashtag1","hashtag2"]},{"1398077010":["hashtag1","hashtag2"]},{"1398077106":["hashtag1","hashtag2"]},{"1398077007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398077060, 1398077024, 1398077011, 1398077010, 1398077106, 1398077007)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.73954653739929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:50:02.411054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_56_10710.jpg', '/home/pi/Desktop/images/05122025/11/30/image_05122025_11_31_06_9839.jpg', '/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_15_9643.jpg', '/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_25_9910.jpg', '/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_36_10775.jpg', '/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_46_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_56_10710.jpg
/home/pi/Desktop/images/05122025/11/30/image_05122025_11_31_06_9839.jpg
/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_15_9643.jpg
/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_25_9910.jpg
/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_36_10775.jpg
/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_46_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.6079821586608887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 11:50:11.823933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/39/image_02122025_18_39_55_9890.jpg', '/home/pi/Desktop/images/02122025/18/39/image_02122025_18_40_05_10614.jpg', '/home/pi/Desktop/images/02122025/18/40/image_02122025_18_40_34_9844.jpg', '/home/pi/Desktop/images/02122025/18/40/image_02122025_18_40_45_10712.jpg', '/home/pi/Desktop/images/02122025/18/41/image_02122025_18_41_25_9625.jpg', '/home/pi/Desktop/images/02122025/18/41/image_02122025_18_41_45_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/39/image_02122025_18_39_55_9890.jpg
/home/pi/Desktop/images/02122025/18/39/image_02122025_18_40_05_10614.jpg
/home/pi/Desktop/images/02122025/18/40/image_02122025_18_40_34_9844.jpg
/home/pi/Desktop/images/02122025/18/40/image_02122025_18_40_45_10712.jpg
/home/pi/Desktop/images/02122025/18/41/image_02122025_18_41_25_9625.jpg
/home/pi/Desktop/images/02122025/18/41/image_02122025_18_41_45_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398077270","1398077267","1398077271","1398077265","1398077273","1398077276"],"photo_ids_order":["1398077265","1398077267","1398077270","1398077271","1398077273","1398077276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a794116e834897c2e7fe087ad339b731.jpg","text":"TemporaryFile(/tmp/multipartBody5198993064420866909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931873767,"filename":"image_02122025_18_40_34_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/5/4077193120be348fcedcb08abab8e55d.jpg","text":"TemporaryFile(/tmp/multipartBody7661392346848406925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931873767,"filename":"image_02122025_18_40_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/5/7575358471a79b9223a91ac4378611b0.jpg","text":"TemporaryFile(/tmp/multipartBody7850478688130406840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931873767,"filename":"image_02122025_18_40_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/5/926d6033a4773e37b57dd1dffb529f40.jpg","text":"TemporaryFile(/tmp/multipartBody2808001531919252554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931873767,"filename":"image_02122025_18_39_55_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/5/4f8f8fbd9050ad7b877ea0ca7fcbf528.jpg","text":"TemporaryFile(/tmp/multipartBody5026643432106594471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931873767,"filename":"image_02122025_18_41_25_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/5/36bb525de0dc90c9329451fe47805cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1062568721436596469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931873767,"filename":"image_02122025_18_41_45_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077270","file1":"1398077267","file0":"1398077265","file4":"1398077273","file5":"1398077276","file3":"1398077271"},"map_files_photo_id_array":[{"photo_id":"1398077276","filename":"file5"},{"photo_id":"1398077270","filename":"file2"},{"photo_id":"1398077273","filename":"file4"},{"photo_id":"1398077267","filename":"file1"},{"photo_id":"1398077265","filename":"file0"},{"photo_id":"1398077271","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398077270":["hashtag1","hashtag2"]},{"1398077267":["hashtag1","hashtag2"]},{"1398077271":["hashtag1","hashtag2"]},{"1398077265":["hashtag1","hashtag2"]},{"1398077273":["hashtag1","hashtag2"]},{"1398077276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398077270, 1398077267, 1398077271, 1398077265, 1398077273, 1398077276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.066717863082886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:51:02.722935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_56_10710.jpg', '/home/pi/Desktop/images/05122025/11/30/image_05122025_11_31_06_9839.jpg', '/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_15_9643.jpg', '/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_25_9910.jpg', '/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_36_10775.jpg', '/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_46_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/30/image_05122025_11_30_56_10710.jpg
/home/pi/Desktop/images/05122025/11/30/image_05122025_11_31_06_9839.jpg
/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_15_9643.jpg
/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_25_9910.jpg
/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_36_10775.jpg
/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_46_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":["1398077285","1398077284","1398077287","1398077283","1398077286","1398077289"],"photo_ids_order":["1398077283","1398077284","1398077285","1398077286","1398077287","1398077289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20a5679b94486da189f0541ee3412cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8857893929337553192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931923459,"filename":"image_05122025_11_31_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c91cb6bfad0a3a11de0dea04bd546d20.jpg","text":"TemporaryFile(/tmp/multipartBody49310117609875339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931923459,"filename":"image_05122025_11_31_06_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/5/0676cebdb150350b720aadbbff3230e9.jpg","text":"TemporaryFile(/tmp/multipartBody4217832533543832581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931923459,"filename":"image_05122025_11_31_36_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/5/4bcfdab52d028aacd37257e5bea7632c.jpg","text":"TemporaryFile(/tmp/multipartBody435681818783895354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931923459,"filename":"image_05122025_11_30_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/5/c38a45d681fd241b17a9e1b68ecd96b5.jpg","text":"TemporaryFile(/tmp/multipartBody8346314182100895437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931923459,"filename":"image_05122025_11_31_25_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f1bd2b6f600218ee603a181840804be4.jpg","text":"TemporaryFile(/tmp/multipartBody6204770736053388190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931923459,"filename":"image_05122025_11_31_46_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077285","file1":"1398077284","file0":"1398077283","file4":"1398077287","file5":"1398077289","file3":"1398077286"},"map_files_photo_id_array":[{"photo_id":"1398077289","filename":"file5"},{"photo_id":"1398077285","filename":"file2"},{"photo_id":"1398077287","filename":"file4"},{"photo_id":"1398077284","filename":"file1"},{"photo_id":"1398077283","filename":"file0"},{"photo_id":"1398077286","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398077285":["hashtag1","hashtag2"]},{"1398077284":["hashtag1","hashtag2"]},{"1398077287":["hashtag1","hashtag2"]},{"1398077283":["hashtag1","hashtag2"]},{"1398077286":["hashtag1","hashtag2"]},{"1398077289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398077285, 1398077284, 1398077287, 1398077283, 1398077286, 1398077289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82051992416382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:51:42.101563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_20_2739.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_22_2634.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_26_3572.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_35_3658.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_40_2769.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_44_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_20_2739.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_22_2634.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_26_3572.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_35_3658.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_40_2769.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_44_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":["1398077300","1398077299","1398077303","1398077302","1398077295","1398077298"],"photo_ids_order":["1398077295","1398077298","1398077299","1398077300","1398077302","1398077303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95a3e053af2be62cce2d9afa99198348.jpg","text":"TemporaryFile(/tmp/multipartBody7892201730092200012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931963726,"filename":"image_31102025_19_26_35_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/5/87211ad940f43e3d9152e6aec3c17b60.jpg","text":"TemporaryFile(/tmp/multipartBody3566556061301360146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931963726,"filename":"image_31102025_19_26_26_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/5/fa4339eaeb11c7b5d45d306cc6769f93.jpg","text":"TemporaryFile(/tmp/multipartBody1066411091966821918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931963726,"filename":"image_31102025_19_26_44_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/5/80fbff88ad62834505b6dcf33630c939.jpg","text":"TemporaryFile(/tmp/multipartBody7198661103558909032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931963726,"filename":"image_31102025_19_26_40_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/5/70c2b03911b7b0d2918d157348c55676.jpg","text":"TemporaryFile(/tmp/multipartBody6425161175208892231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931963726,"filename":"image_31102025_19_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/5/eb9663446f3063b7fdf8c4ce7d9700f2.jpg","text":"TemporaryFile(/tmp/multipartBody2923438289223558727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764931963726,"filename":"image_31102025_19_26_22_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077299","file1":"1398077298","file0":"1398077295","file4":"1398077302","file5":"1398077303","file3":"1398077300"},"map_files_photo_id_array":[{"photo_id":"1398077303","filename":"file5"},{"photo_id":"1398077299","filename":"file2"},{"photo_id":"1398077302","filename":"file4"},{"photo_id":"1398077298","filename":"file1"},{"photo_id":"1398077295","filename":"file0"},{"photo_id":"1398077300","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398077300":["hashtag1","hashtag2"]},{"1398077299":["hashtag1","hashtag2"]},{"1398077303":["hashtag1","hashtag2"]},{"1398077302":["hashtag1","hashtag2"]},{"1398077295":["hashtag1","hashtag2"]},{"1398077298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398077300, 1398077299, 1398077303, 1398077302, 1398077295, 1398077298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31991124153137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:52:22.278172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_55_9621.jpg', '/home/pi/Desktop/images/05122025/11/31/image_05122025_11_32_05_9771.jpg', '/home/pi/Desktop/images/05122025/11/32/image_05122025_11_32_16_10714.jpg', '/home/pi/Desktop/images/05122025/11/32/image_05122025_11_32_25_9706.jpg', '/home/pi/Desktop/images/05122025/11/32/image_05122025_11_32_35_9724.jpg', '/home/pi/Desktop/images/05122025/11/32/image_05122025_11_32_46_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/31/image_05122025_11_31_55_9621.jpg
/home/pi/Desktop/images/05122025/11/31/image_05122025_11_32_05_9771.jpg
/home/pi/Desktop/images/05122025/11/32/image_05122025_11_32_16_10714.jpg
/home/pi/Desktop/images/05122025/11/32/image_05122025_11_32_25_9706.jpg
/home/pi/Desktop/images/05122025/11/32/image_05122025_11_32_35_9724.jpg
/home/pi/Desktop/images/05122025/11/32/image_05122025_11_32_46_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398077402","1398077362","1398077320","1398077317","1398077311","1398077314"],"photo_ids_order":["1398077311","1398077314","1398077317","1398077320","1398077362","1398077402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc981673d377b50ae368ff5c46ee4198.jpg","text":"TemporaryFile(/tmp/multipartBody2802980656477144391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932002966,"filename":"image_05122025_11_32_46_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/5/4ec00e6b73a43e2b7e2fa15c8d0d5d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2614812460717247433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932002966,"filename":"image_05122025_11_32_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/5/cdd1c2fd3dad31920e3673407f060516.jpg","text":"TemporaryFile(/tmp/multipartBody8329047858874141105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932002966,"filename":"image_05122025_11_32_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/5/f99c58c473d2bc63996e3c1de61c77ad.jpg","text":"TemporaryFile(/tmp/multipartBody3049504068488012399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932002966,"filename":"image_05122025_11_32_16_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8ef0541170893adaddbb17d1406f3824.jpg","text":"TemporaryFile(/tmp/multipartBody4315431351741425523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932002966,"filename":"image_05122025_11_31_55_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/5/0360a3c296db58c7d16bfd807a8a9325.jpg","text":"TemporaryFile(/tmp/multipartBody6261090055037027005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932002966,"filename":"image_05122025_11_32_05_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077317","file1":"1398077314","file0":"1398077311","file4":"1398077362","file5":"1398077402","file3":"1398077320"},"map_files_photo_id_array":[{"photo_id":"1398077402","filename":"file5"},{"photo_id":"1398077317","filename":"file2"},{"photo_id":"1398077362","filename":"file4"},{"photo_id":"1398077314","filename":"file1"},{"photo_id":"1398077311","filename":"file0"},{"photo_id":"1398077320","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398077402":["hashtag1","hashtag2"]},{"1398077362":["hashtag1","hashtag2"]},{"1398077320":["hashtag1","hashtag2"]},{"1398077317":["hashtag1","hashtag2"]},{"1398077311":["hashtag1","hashtag2"]},{"1398077314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398077402, 1398077362, 1398077320, 1398077317, 1398077311, 1398077314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91058158874512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:53:03.164789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/32/image_05122025_11_32_55_9711.jpg', '/home/pi/Desktop/images/05122025/11/32/image_05122025_11_33_05_9812.jpg', '/home/pi/Desktop/images/05122025/11/33/image_05122025_11_33_16_10602.jpg', '/home/pi/Desktop/images/05122025/11/33/image_05122025_11_33_25_9589.jpg', '/home/pi/Desktop/images/05122025/11/33/image_05122025_11_33_35_9906.jpg', '/home/pi/Desktop/images/05122025/11/33/image_05122025_11_33_45_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/32/image_05122025_11_32_55_9711.jpg
/home/pi/Desktop/images/05122025/11/32/image_05122025_11_33_05_9812.jpg
/home/pi/Desktop/images/05122025/11/33/image_05122025_11_33_16_10602.jpg
/home/pi/Desktop/images/05122025/11/33/image_05122025_11_33_25_9589.jpg
/home/pi/Desktop/images/05122025/11/33/image_05122025_11_33_35_9906.jpg
/home/pi/Desktop/images/05122025/11/33/image_05122025_11_33_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":["1398077575","1398077635","1398077611","1398077577","1398077637","1398077571"],"photo_ids_order":["1398077571","1398077575","1398077577","1398077611","1398077635","1398077637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ec4f5243bf3e44a3cfdc1938050fc36d.jpg","text":"TemporaryFile(/tmp/multipartBody4246528753380450078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932043885,"filename":"image_05122025_11_33_05_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/5/b0dc5a25308ea686d50b5ebe6187cd69.jpg","text":"TemporaryFile(/tmp/multipartBody2201947085078617837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932043885,"filename":"image_05122025_11_33_35_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/5/dfcbca2fe1e0c6214f74365d27bbef0a.jpg","text":"TemporaryFile(/tmp/multipartBody2317326541075821121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932043885,"filename":"image_05122025_11_33_25_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4889708600f4f0b9827c65cd423521e7.jpg","text":"TemporaryFile(/tmp/multipartBody8801226795908560032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932043885,"filename":"image_05122025_11_33_16_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/5/bd3a3c7e539860bfb9988b830ac720b7.jpg","text":"TemporaryFile(/tmp/multipartBody3190690827407808013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932043885,"filename":"image_05122025_11_33_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/5/74c885acd10a0f9894bbd90b8c37b917.jpg","text":"TemporaryFile(/tmp/multipartBody8639816423604530158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932043885,"filename":"image_05122025_11_32_55_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077577","file1":"1398077575","file0":"1398077571","file4":"1398077635","file5":"1398077637","file3":"1398077611"},"map_files_photo_id_array":[{"photo_id":"1398077637","filename":"file5"},{"photo_id":"1398077577","filename":"file2"},{"photo_id":"1398077635","filename":"file4"},{"photo_id":"1398077575","filename":"file1"},{"photo_id":"1398077571","filename":"file0"},{"photo_id":"1398077611","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398077575":["hashtag1","hashtag2"]},{"1398077635":["hashtag1","hashtag2"]},{"1398077611":["hashtag1","hashtag2"]},{"1398077577":["hashtag1","hashtag2"]},{"1398077637":["hashtag1","hashtag2"]},{"1398077571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398077575, 1398077635, 1398077611, 1398077577, 1398077637, 1398077571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09128189086914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:53:42.599067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_49_2541.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_53_3620.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_56_2798.jpg', '/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_58_2759.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_02_3641.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_04_2508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_49_2541.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_53_3620.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_56_2798.jpg
/home/pi/Desktop/images/31102025/19/26/image_31102025_19_26_58_2759.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_02_3641.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_04_2508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398077743","1398077749","1398077685","1398077710","1398077688","1398077751"],"photo_ids_order":["1398077685","1398077688","1398077710","1398077743","1398077749","1398077751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a94665dbcded533bf297deb313a36e3.jpg","text":"TemporaryFile(/tmp/multipartBody5975452106909332193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932084342,"filename":"image_31102025_19_26_58_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/5/5e142ead1cbfd0bd2d6d9a1b3c9b74f9.jpg","text":"TemporaryFile(/tmp/multipartBody2524222981409213909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932084342,"filename":"image_31102025_19_27_02_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/5/f6e103cb6f357bdb7a40897eefceb2f3.jpg","text":"TemporaryFile(/tmp/multipartBody4391785800212698697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932084342,"filename":"image_31102025_19_26_49_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/5/b619c182ad647d5eeb5442ccb7ca1790.jpg","text":"TemporaryFile(/tmp/multipartBody8136957522760053691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932084342,"filename":"image_31102025_19_26_56_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/5/56b83c19bd629f72d69ef72c125627d3.jpg","text":"TemporaryFile(/tmp/multipartBody240592135686748085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932084342,"filename":"image_31102025_19_26_53_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d3578a30697a223ea26bef16c1f8a683.jpg","text":"TemporaryFile(/tmp/multipartBody7514454378360103040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932084342,"filename":"image_31102025_19_27_04_2508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077710","file1":"1398077688","file0":"1398077685","file4":"1398077749","file5":"1398077751","file3":"1398077743"},"map_files_photo_id_array":[{"photo_id":"1398077751","filename":"file5"},{"photo_id":"1398077710","filename":"file2"},{"photo_id":"1398077749","filename":"file4"},{"photo_id":"1398077688","filename":"file1"},{"photo_id":"1398077685","filename":"file0"},{"photo_id":"1398077743","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398077743":["hashtag1","hashtag2"]},{"1398077749":["hashtag1","hashtag2"]},{"1398077685":["hashtag1","hashtag2"]},{"1398077710":["hashtag1","hashtag2"]},{"1398077688":["hashtag1","hashtag2"]},{"1398077751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398077743, 1398077749, 1398077685, 1398077710, 1398077688, 1398077751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56740617752075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 11:54:22.766414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/33/image_05122025_11_33_56_10592.jpg', '/home/pi/Desktop/images/05122025/11/33/image_05122025_11_34_06_9924.jpg', '/home/pi/Desktop/images/05122025/11/34/image_05122025_11_34_15_9740.jpg', '/home/pi/Desktop/images/05122025/11/34/image_05122025_11_34_25_9706.jpg', '/home/pi/Desktop/images/05122025/11/34/image_05122025_11_34_36_10666.jpg', '/home/pi/Desktop/images/05122025/11/34/image_05122025_11_34_45_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/33/image_05122025_11_33_56_10592.jpg
/home/pi/Desktop/images/05122025/11/33/image_05122025_11_34_06_9924.jpg
/home/pi/Desktop/images/05122025/11/34/image_05122025_11_34_15_9740.jpg
/home/pi/Desktop/images/05122025/11/34/image_05122025_11_34_25_9706.jpg
/home/pi/Desktop/images/05122025/11/34/image_05122025_11_34_36_10666.jpg
/home/pi/Desktop/images/05122025/11/34/image_05122025_11_34_45_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398077753","1398077756","1398077755","1398077764","1398077758","1398077772"],"photo_ids_order":["1398077753","1398077755","1398077756","1398077758","1398077764","1398077772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78e618abd02c9dfad28e15a92981c859.jpg","text":"TemporaryFile(/tmp/multipartBody4563981611714589695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932123430,"filename":"image_05122025_11_33_56_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/5/9f8dff6f4f160e6bddc3d189feab9e9c.jpg","text":"TemporaryFile(/tmp/multipartBody2470572803357146835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932123430,"filename":"image_05122025_11_34_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/5/1bc96a5a755e425c7e48236f6b491b85.jpg","text":"TemporaryFile(/tmp/multipartBody5725317780209010237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932123430,"filename":"image_05122025_11_34_06_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/5/5a6a5303fabd3e1af5d603aae4d33201.jpg","text":"TemporaryFile(/tmp/multipartBody3400863889681265635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932123430,"filename":"image_05122025_11_34_36_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/5/068baad8d3b77685f69c6ff18a5117cc.jpg","text":"TemporaryFile(/tmp/multipartBody8070567148774503108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932123430,"filename":"image_05122025_11_34_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/5/7d728dd66048b912698331fdbac58f59.jpg","text":"TemporaryFile(/tmp/multipartBody5668754583168871954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932123430,"filename":"image_05122025_11_34_45_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077756","file1":"1398077755","file0":"1398077753","file4":"1398077764","file5":"1398077772","file3":"1398077758"},"map_files_photo_id_array":[{"photo_id":"1398077772","filename":"file5"},{"photo_id":"1398077756","filename":"file2"},{"photo_id":"1398077764","filename":"file4"},{"photo_id":"1398077755","filename":"file1"},{"photo_id":"1398077753","filename":"file0"},{"photo_id":"1398077758","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398077753":["hashtag1","hashtag2"]},{"1398077756":["hashtag1","hashtag2"]},{"1398077755":["hashtag1","hashtag2"]},{"1398077764":["hashtag1","hashtag2"]},{"1398077758":["hashtag1","hashtag2"]},{"1398077772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398077753, 1398077756, 1398077755, 1398077764, 1398077758, 1398077772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35372066497803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:55:02.729725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/34/image_05122025_11_34_55_9619.jpg', '/home/pi/Desktop/images/05122025/11/35/image_05122025_11_35_14_10050.jpg', '/home/pi/Desktop/images/05122025/11/35/image_05122025_11_35_25_10624.jpg', '/home/pi/Desktop/images/05122025/11/35/image_05122025_11_35_35_9660.jpg', '/home/pi/Desktop/images/05122025/11/35/image_05122025_11_35_44_9838.jpg', '/home/pi/Desktop/images/05122025/11/35/image_05122025_11_35_54_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/34/image_05122025_11_34_55_9619.jpg
/home/pi/Desktop/images/05122025/11/35/image_05122025_11_35_14_10050.jpg
/home/pi/Desktop/images/05122025/11/35/image_05122025_11_35_25_10624.jpg
/home/pi/Desktop/images/05122025/11/35/image_05122025_11_35_35_9660.jpg
/home/pi/Desktop/images/05122025/11/35/image_05122025_11_35_44_9838.jpg
/home/pi/Desktop/images/05122025/11/35/image_05122025_11_35_54_9975.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398077893","1398077905","1398077841","1398077907","1398077882","1398077870"],"photo_ids_order":["1398077841","1398077870","1398077882","1398077893","1398077905","1398077907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/64ad511268d2d7245852591df65a5665.jpg","text":"TemporaryFile(/tmp/multipartBody8689134347096588750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932163492,"filename":"image_05122025_11_35_35_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/5/8ec4bb0fee13bbba41c35f2948d482f5.jpg","text":"TemporaryFile(/tmp/multipartBody1039955889132675031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932163492,"filename":"image_05122025_11_35_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/5/1aa3a2e79b54755647555e154e58e9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1024532187546775267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932163492,"filename":"image_05122025_11_34_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/5/d38aa2aea7632cf09b48ae5bf864604a.jpg","text":"TemporaryFile(/tmp/multipartBody6331825384225381915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932163492,"filename":"image_05122025_11_35_54_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/5/19b6d892ecbb5695e407d51dd329a3de.jpg","text":"TemporaryFile(/tmp/multipartBody1224298324062540999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932163492,"filename":"image_05122025_11_35_25_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/5/02af7ef2f83200560842278b817df16b.jpg","text":"TemporaryFile(/tmp/multipartBody734064630146029713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932163492,"filename":"image_05122025_11_35_14_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077882","file1":"1398077870","file0":"1398077841","file4":"1398077905","file5":"1398077907","file3":"1398077893"},"map_files_photo_id_array":[{"photo_id":"1398077907","filename":"file5"},{"photo_id":"1398077882","filename":"file2"},{"photo_id":"1398077905","filename":"file4"},{"photo_id":"1398077870","filename":"file1"},{"photo_id":"1398077841","filename":"file0"},{"photo_id":"1398077893","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398077893":["hashtag1","hashtag2"]},{"1398077905":["hashtag1","hashtag2"]},{"1398077841":["hashtag1","hashtag2"]},{"1398077907":["hashtag1","hashtag2"]},{"1398077882":["hashtag1","hashtag2"]},{"1398077870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398077893, 1398077905, 1398077841, 1398077907, 1398077882, 1398077870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02016019821167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 11:55:41.964601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_07_2644.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_14_2733.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_16_2732.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_20_3625.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_23_2571.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_25_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_07_2644.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_14_2733.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_16_2732.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_20_3625.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_23_2571.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_25_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":["1398077912","1398077915","1398077917","1398077920","1398077914","1398077916"],"photo_ids_order":["1398077912","1398077914","1398077915","1398077916","1398077917","1398077920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b6ae3623c81260e4850b7a8cd809212f.jpg","text":"TemporaryFile(/tmp/multipartBody6489988893393061108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932203628,"filename":"image_31102025_19_27_07_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/5/818a9f083d801e3cc314e3f8bc01246e.jpg","text":"TemporaryFile(/tmp/multipartBody2697108544225188703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932203628,"filename":"image_31102025_19_27_16_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/5/f97016f284b047e7ef4507e9da1e2fb9.jpg","text":"TemporaryFile(/tmp/multipartBody3139947278699901741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932203628,"filename":"image_31102025_19_27_23_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/5/13ccd4a1c0fe502e3545d15fd23ce0e8.jpg","text":"TemporaryFile(/tmp/multipartBody606376680411422828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932203628,"filename":"image_31102025_19_27_25_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/5/502939c1f0108b2aef8bae91119a2cf3.jpg","text":"TemporaryFile(/tmp/multipartBody8253840663414722804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932203628,"filename":"image_31102025_19_27_14_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/5/bac8bf753b034cee20cd8ba92e795e1e.jpg","text":"TemporaryFile(/tmp/multipartBody2375667256344571547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932203628,"filename":"image_31102025_19_27_20_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077915","file1":"1398077914","file0":"1398077912","file4":"1398077917","file5":"1398077920","file3":"1398077916"},"map_files_photo_id_array":[{"photo_id":"1398077920","filename":"file5"},{"photo_id":"1398077915","filename":"file2"},{"photo_id":"1398077917","filename":"file4"},{"photo_id":"1398077914","filename":"file1"},{"photo_id":"1398077912","filename":"file0"},{"photo_id":"1398077916","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398077912":["hashtag1","hashtag2"]},{"1398077915":["hashtag1","hashtag2"]},{"1398077917":["hashtag1","hashtag2"]},{"1398077920":["hashtag1","hashtag2"]},{"1398077914":["hashtag1","hashtag2"]},{"1398077916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398077912, 1398077915, 1398077917, 1398077920, 1398077914, 1398077916)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.95651865005493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 11:56:32.095085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/41/image_02122025_18_41_55_9753.jpg', '/home/pi/Desktop/images/02122025/18/42/image_02122025_18_42_14_9653.jpg', '/home/pi/Desktop/images/02122025/18/42/image_02122025_18_42_25_10808.jpg', '/home/pi/Desktop/images/02122025/18/42/image_02122025_18_42_35_9619.jpg', '/home/pi/Desktop/images/02122025/18/42/image_02122025_18_42_54_9840.jpg', '/home/pi/Desktop/images/02122025/18/43/image_02122025_18_43_25_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/41/image_02122025_18_41_55_9753.jpg
/home/pi/Desktop/images/02122025/18/42/image_02122025_18_42_14_9653.jpg
/home/pi/Desktop/images/02122025/18/42/image_02122025_18_42_25_10808.jpg
/home/pi/Desktop/images/02122025/18/42/image_02122025_18_42_35_9619.jpg
/home/pi/Desktop/images/02122025/18/42/image_02122025_18_42_54_9840.jpg
/home/pi/Desktop/images/02122025/18/43/image_02122025_18_43_25_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":["1398077939","1398077930","1398077936","1398077935","1398077938","1398077937"],"photo_ids_order":["1398077930","1398077935","1398077936","1398077937","1398077938","1398077939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/11628521a11146da38d3685e1ab55dcc.jpg","text":"TemporaryFile(/tmp/multipartBody2035145562058753003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932254353,"filename":"image_02122025_18_43_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/5/a021bdf06be51c5bc11d129dccc84013.jpg","text":"TemporaryFile(/tmp/multipartBody7277174535276881668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932254353,"filename":"image_02122025_18_41_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/5/0a729b0db84f0180423b57c2364abc51.jpg","text":"TemporaryFile(/tmp/multipartBody5646816287017428804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932254353,"filename":"image_02122025_18_42_25_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/5/15fd211c45b9d301ac5ba027ec36b349.jpg","text":"TemporaryFile(/tmp/multipartBody1390003209731377925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932254353,"filename":"image_02122025_18_42_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/5/8271e173f70eb352d224ca8f1822a441.jpg","text":"TemporaryFile(/tmp/multipartBody3049759883901860542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932254353,"filename":"image_02122025_18_42_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/5/01218349c1a9e844696a8ec8310bcaab.jpg","text":"TemporaryFile(/tmp/multipartBody4355109797514362319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932254353,"filename":"image_02122025_18_42_35_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077936","file1":"1398077935","file0":"1398077930","file4":"1398077938","file5":"1398077939","file3":"1398077937"},"map_files_photo_id_array":[{"photo_id":"1398077939","filename":"file5"},{"photo_id":"1398077936","filename":"file2"},{"photo_id":"1398077938","filename":"file4"},{"photo_id":"1398077935","filename":"file1"},{"photo_id":"1398077930","filename":"file0"},{"photo_id":"1398077937","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398077939":["hashtag1","hashtag2"]},{"1398077930":["hashtag1","hashtag2"]},{"1398077936":["hashtag1","hashtag2"]},{"1398077935":["hashtag1","hashtag2"]},{"1398077938":["hashtag1","hashtag2"]},{"1398077937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398077939, 1398077930, 1398077936, 1398077935, 1398077938, 1398077937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46243691444397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 11:57:12.326989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/43/image_02122025_18_43_34_9681.jpg', '/home/pi/Desktop/images/02122025/18/43/image_02122025_18_43_44_9861.jpg', '/home/pi/Desktop/images/02122025/18/43/image_02122025_18_43_55_10814.jpg', '/home/pi/Desktop/images/02122025/18/44/image_02122025_18_44_15_9909.jpg', '/home/pi/Desktop/images/02122025/18/44/image_02122025_18_44_45_9770.jpg', '/home/pi/Desktop/images/02122025/18/44/image_02122025_18_45_04_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/43/image_02122025_18_43_34_9681.jpg
/home/pi/Desktop/images/02122025/18/43/image_02122025_18_43_44_9861.jpg
/home/pi/Desktop/images/02122025/18/43/image_02122025_18_43_55_10814.jpg
/home/pi/Desktop/images/02122025/18/44/image_02122025_18_44_15_9909.jpg
/home/pi/Desktop/images/02122025/18/44/image_02122025_18_44_45_9770.jpg
/home/pi/Desktop/images/02122025/18/44/image_02122025_18_45_04_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398077951","1398077945","1398077954","1398077948","1398077953","1398077942"],"photo_ids_order":["1398077942","1398077945","1398077948","1398077951","1398077953","1398077954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43a3df691e46b1ced86331a567cfb891.jpg","text":"TemporaryFile(/tmp/multipartBody7296451490935823085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932294472,"filename":"image_02122025_18_44_15_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/5/a65822d1bd3aa8ec12e054879f47e863.jpg","text":"TemporaryFile(/tmp/multipartBody8015231422033743091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932294472,"filename":"image_02122025_18_43_44_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/5/3acdc9905de915a17639e399d9a612a3.jpg","text":"TemporaryFile(/tmp/multipartBody1539471359955264652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932294472,"filename":"image_02122025_18_45_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/5/f16f7e6caeca8e859f1df3474d31fc33.jpg","text":"TemporaryFile(/tmp/multipartBody7400694320892678085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932294472,"filename":"image_02122025_18_43_55_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/5/79295284623d35e3bc7bd1539a5f4696.jpg","text":"TemporaryFile(/tmp/multipartBody2772632221975881875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932294472,"filename":"image_02122025_18_44_45_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/5/10bdf7daf523436de8b9b3c419a5e234.jpg","text":"TemporaryFile(/tmp/multipartBody6634256565753581155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932294472,"filename":"image_02122025_18_43_34_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398077948","file1":"1398077945","file0":"1398077942","file4":"1398077953","file5":"1398077954","file3":"1398077951"},"map_files_photo_id_array":[{"photo_id":"1398077954","filename":"file5"},{"photo_id":"1398077948","filename":"file2"},{"photo_id":"1398077953","filename":"file4"},{"photo_id":"1398077945","filename":"file1"},{"photo_id":"1398077942","filename":"file0"},{"photo_id":"1398077951","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398077951":["hashtag1","hashtag2"]},{"1398077945":["hashtag1","hashtag2"]},{"1398077954":["hashtag1","hashtag2"]},{"1398077948":["hashtag1","hashtag2"]},{"1398077953":["hashtag1","hashtag2"]},{"1398077942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398077951, 1398077945, 1398077954, 1398077948, 1398077953, 1398077942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04135274887085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 11:59:03.617047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/35/image_05122025_11_36_05_10787.jpg', '/home/pi/Desktop/images/05122025/11/36/image_05122025_11_36_15_9728.jpg', '/home/pi/Desktop/images/05122025/11/36/image_05122025_11_36_25_9807.jpg', '/home/pi/Desktop/images/05122025/11/36/image_05122025_11_36_35_10517.jpg', '/home/pi/Desktop/images/05122025/11/36/image_05122025_11_36_45_9675.jpg', '/home/pi/Desktop/images/05122025/11/36/image_05122025_11_36_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/35/image_05122025_11_36_05_10787.jpg
/home/pi/Desktop/images/05122025/11/36/image_05122025_11_36_15_9728.jpg
/home/pi/Desktop/images/05122025/11/36/image_05122025_11_36_25_9807.jpg
/home/pi/Desktop/images/05122025/11/36/image_05122025_11_36_35_10517.jpg
/home/pi/Desktop/images/05122025/11/36/image_05122025_11_36_45_9675.jpg
/home/pi/Desktop/images/05122025/11/36/image_05122025_11_36_54_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398078010","1398078004","1398078000","1398078012","1398078006","1398077993"],"photo_ids_order":["1398077993","1398078000","1398078004","1398078006","1398078010","1398078012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0e3164fa6de3b99f74a070f7e4e3183e.jpg","text":"TemporaryFile(/tmp/multipartBody8168353230669853876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932404383,"filename":"image_05122025_11_36_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/5/5186bd65c23cc917d07f23a1e095ba2d.jpg","text":"TemporaryFile(/tmp/multipartBody7634446684459142434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932404383,"filename":"image_05122025_11_36_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/5/b602306d2ff942892e9a5bde29d057f9.jpg","text":"TemporaryFile(/tmp/multipartBody8291025209790749527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932404383,"filename":"image_05122025_11_36_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/5/43dae8af43b1bfb0937f392d0cc15f21.jpg","text":"TemporaryFile(/tmp/multipartBody1253185980655500460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932404383,"filename":"image_05122025_11_36_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/5/49d38c19fea4249e16ff001c77cbc172.jpg","text":"TemporaryFile(/tmp/multipartBody1887241323273125087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932404383,"filename":"image_05122025_11_36_35_10517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/172ac5b9b6cc0f4ecb95b0a35d7ba559.jpg","text":"TemporaryFile(/tmp/multipartBody4234894114616063949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932404383,"filename":"image_05122025_11_36_05_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398078004","file1":"1398078000","file0":"1398077993","file4":"1398078010","file5":"1398078012","file3":"1398078006"},"map_files_photo_id_array":[{"photo_id":"1398078012","filename":"file5"},{"photo_id":"1398078004","filename":"file2"},{"photo_id":"1398078010","filename":"file4"},{"photo_id":"1398078000","filename":"file1"},{"photo_id":"1398077993","filename":"file0"},{"photo_id":"1398078006","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398078010":["hashtag1","hashtag2"]},{"1398078004":["hashtag1","hashtag2"]},{"1398078000":["hashtag1","hashtag2"]},{"1398078012":["hashtag1","hashtag2"]},{"1398078006":["hashtag1","hashtag2"]},{"1398077993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398078010, 1398078004, 1398078000, 1398078012, 1398078006, 1398077993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.130876302719116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:00:02.435211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/36/image_05122025_11_37_05_10721.jpg', '/home/pi/Desktop/images/05122025/11/37/image_05122025_11_37_15_9966.jpg', '/home/pi/Desktop/images/05122025/11/37/image_05122025_11_37_25_9717.jpg', '/home/pi/Desktop/images/05122025/11/37/image_05122025_11_37_34_9596.jpg', '/home/pi/Desktop/images/05122025/11/37/image_05122025_11_37_44_9749.jpg', '/home/pi/Desktop/images/05122025/11/37/image_05122025_11_37_55_10835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/36/image_05122025_11_37_05_10721.jpg
/home/pi/Desktop/images/05122025/11/37/image_05122025_11_37_15_9966.jpg
/home/pi/Desktop/images/05122025/11/37/image_05122025_11_37_25_9717.jpg
/home/pi/Desktop/images/05122025/11/37/image_05122025_11_37_34_9596.jpg
/home/pi/Desktop/images/05122025/11/37/image_05122025_11_37_44_9749.jpg
/home/pi/Desktop/images/05122025/11/37/image_05122025_11_37_55_10835.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":["1398078029","1398078022","1398078031","1398078025","1398078028","1398078027"],"photo_ids_order":["1398078022","1398078025","1398078027","1398078028","1398078029","1398078031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a60740618c11be0dc9b5a57af4a5daa7.jpg","text":"TemporaryFile(/tmp/multipartBody6055243651101926585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932463130,"filename":"image_05122025_11_37_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4729447d608f78262651725432b7e6d2.jpg","text":"TemporaryFile(/tmp/multipartBody1014193828028465180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932463130,"filename":"image_05122025_11_37_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/5/5a287d467c7d4e59e330168d033955b7.jpg","text":"TemporaryFile(/tmp/multipartBody3543220227497527273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932463130,"filename":"image_05122025_11_37_55_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b599a30d0890cd710483d5c8d6795b81.jpg","text":"TemporaryFile(/tmp/multipartBody2336119683154207202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932463130,"filename":"image_05122025_11_37_15_9966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74b60e29466fdc0204aa9b271eb369cb.jpg","text":"TemporaryFile(/tmp/multipartBody7743157933046462354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932463130,"filename":"image_05122025_11_37_34_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03e317c60b8b7db82b534daf31a1b6ab.jpg","text":"TemporaryFile(/tmp/multipartBody5961432226311522211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932463130,"filename":"image_05122025_11_37_25_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398078027","file1":"1398078025","file0":"1398078022","file4":"1398078029","file5":"1398078031","file3":"1398078028"},"map_files_photo_id_array":[{"photo_id":"1398078031","filename":"file5"},{"photo_id":"1398078027","filename":"file2"},{"photo_id":"1398078029","filename":"file4"},{"photo_id":"1398078025","filename":"file1"},{"photo_id":"1398078022","filename":"file0"},{"photo_id":"1398078028","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398078029":["hashtag1","hashtag2"]},{"1398078022":["hashtag1","hashtag2"]},{"1398078031":["hashtag1","hashtag2"]},{"1398078025":["hashtag1","hashtag2"]},{"1398078028":["hashtag1","hashtag2"]},{"1398078027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398078029, 1398078022, 1398078031, 1398078025, 1398078028, 1398078027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.404494285583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:01:02.956693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/37/image_05122025_11_38_05_9633.jpg', '/home/pi/Desktop/images/05122025/11/38/image_05122025_11_38_14_9728.jpg', '/home/pi/Desktop/images/05122025/11/38/image_05122025_11_38_25_10785.jpg', '/home/pi/Desktop/images/05122025/11/38/image_05122025_11_38_35_9664.jpg', '/home/pi/Desktop/images/05122025/11/38/image_05122025_11_38_45_9649.jpg', '/home/pi/Desktop/images/05122025/11/38/image_05122025_11_38_54_9904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/37/image_05122025_11_38_05_9633.jpg
/home/pi/Desktop/images/05122025/11/38/image_05122025_11_38_14_9728.jpg
/home/pi/Desktop/images/05122025/11/38/image_05122025_11_38_25_10785.jpg
/home/pi/Desktop/images/05122025/11/38/image_05122025_11_38_35_9664.jpg
/home/pi/Desktop/images/05122025/11/38/image_05122025_11_38_45_9649.jpg
/home/pi/Desktop/images/05122025/11/38/image_05122025_11_38_54_9904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398078082","1398078049","1398078121","1398078043","1398078045","1398078047"],"photo_ids_order":["1398078043","1398078045","1398078047","1398078049","1398078082","1398078121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4bebcc1033d288dce5f74c34266835fb.jpg","text":"TemporaryFile(/tmp/multipartBody102056016755878439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932523678,"filename":"image_05122025_11_38_45_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/5/876fde6cc65dbf3751f70b564a94ebe3.jpg","text":"TemporaryFile(/tmp/multipartBody2260616313477888363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932523678,"filename":"image_05122025_11_38_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/5/3861d5770451969ddc9a621080783fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7608109456362181353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932523678,"filename":"image_05122025_11_38_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/5/8a1c63be25d6d1e74ca335ec32912afd.jpg","text":"TemporaryFile(/tmp/multipartBody6101032734823675809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932523678,"filename":"image_05122025_11_38_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/5/d09b30b9caa1d73865fff12e14672c4c.jpg","text":"TemporaryFile(/tmp/multipartBody2032457012727246734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932523678,"filename":"image_05122025_11_38_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/5/8dcfc75d97ac81caa934d5a2403e0e10.jpg","text":"TemporaryFile(/tmp/multipartBody2861826147095828470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932523678,"filename":"image_05122025_11_38_25_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398078047","file1":"1398078045","file0":"1398078043","file4":"1398078082","file5":"1398078121","file3":"1398078049"},"map_files_photo_id_array":[{"photo_id":"1398078121","filename":"file5"},{"photo_id":"1398078047","filename":"file2"},{"photo_id":"1398078082","filename":"file4"},{"photo_id":"1398078045","filename":"file1"},{"photo_id":"1398078043","filename":"file0"},{"photo_id":"1398078049","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398078082":["hashtag1","hashtag2"]},{"1398078049":["hashtag1","hashtag2"]},{"1398078121":["hashtag1","hashtag2"]},{"1398078043":["hashtag1","hashtag2"]},{"1398078045":["hashtag1","hashtag2"]},{"1398078047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398078082, 1398078049, 1398078121, 1398078043, 1398078045, 1398078047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.186238527297974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:01:42.339616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_29_3678.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_32_2834.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_34_2630.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_41_2653.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_43_2527.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_47_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_29_3678.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_32_2834.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_34_2630.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_41_2653.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_43_2527.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_47_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398078425","1398078390","1398078354","1398078285","1398078249","1398078320"],"photo_ids_order":["1398078249","1398078285","1398078320","1398078354","1398078390","1398078425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f7d87e754b90256bdd7fe923e95e125e.jpg","text":"TemporaryFile(/tmp/multipartBody2427100711041122254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932564006,"filename":"image_31102025_19_27_47_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/5/52591d52e1c6eeb7404d33b4aa7d79f8.jpg","text":"TemporaryFile(/tmp/multipartBody7753470102881101629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932564006,"filename":"image_31102025_19_27_43_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3f9a260776d21971b1af18a67d7278c3.jpg","text":"TemporaryFile(/tmp/multipartBody3014889570658147008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932564006,"filename":"image_31102025_19_27_41_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ca252abb0d9e6de38feb5e1a2e27693d.jpg","text":"TemporaryFile(/tmp/multipartBody6077071290957044555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932564006,"filename":"image_31102025_19_27_32_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/5/5e749f37ad73d0ab0119f0c35f875600.jpg","text":"TemporaryFile(/tmp/multipartBody4267129094154115492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932564006,"filename":"image_31102025_19_27_29_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/5/dd5963a16f9a22a55c40bbc8cefdf4fe.jpg","text":"TemporaryFile(/tmp/multipartBody8805820490786835458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932564006,"filename":"image_31102025_19_27_34_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398078320","file1":"1398078285","file0":"1398078249","file4":"1398078390","file5":"1398078425","file3":"1398078354"},"map_files_photo_id_array":[{"photo_id":"1398078425","filename":"file5"},{"photo_id":"1398078320","filename":"file2"},{"photo_id":"1398078390","filename":"file4"},{"photo_id":"1398078285","filename":"file1"},{"photo_id":"1398078249","filename":"file0"},{"photo_id":"1398078354","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398078425":["hashtag1","hashtag2"]},{"1398078390":["hashtag1","hashtag2"]},{"1398078354":["hashtag1","hashtag2"]},{"1398078285":["hashtag1","hashtag2"]},{"1398078249":["hashtag1","hashtag2"]},{"1398078320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398078425, 1398078390, 1398078354, 1398078285, 1398078249, 1398078320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5639009475708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:02:22.577298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/38/image_05122025_11_39_05_10550.jpg', '/home/pi/Desktop/images/05122025/11/39/image_05122025_11_39_15_9635.jpg', '/home/pi/Desktop/images/05122025/11/39/image_05122025_11_39_25_9887.jpg', '/home/pi/Desktop/images/05122025/11/39/image_05122025_11_39_35_10620.jpg', '/home/pi/Desktop/images/05122025/11/39/image_05122025_11_39_45_9567.jpg', '/home/pi/Desktop/images/05122025/11/39/image_05122025_11_39_54_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/38/image_05122025_11_39_05_10550.jpg
/home/pi/Desktop/images/05122025/11/39/image_05122025_11_39_15_9635.jpg
/home/pi/Desktop/images/05122025/11/39/image_05122025_11_39_25_9887.jpg
/home/pi/Desktop/images/05122025/11/39/image_05122025_11_39_35_10620.jpg
/home/pi/Desktop/images/05122025/11/39/image_05122025_11_39_45_9567.jpg
/home/pi/Desktop/images/05122025/11/39/image_05122025_11_39_54_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398078800","1398078556","1398078724","1398078646","1398078945","1398078873"],"photo_ids_order":["1398078556","1398078646","1398078724","1398078800","1398078873","1398078945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c698c417ee608ed7a2418150b2b92170.jpg","text":"TemporaryFile(/tmp/multipartBody2970447190792551346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932603270,"filename":"image_05122025_11_39_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/5/49fcbc81b2e63ec1dfc57b6231927d20.jpg","text":"TemporaryFile(/tmp/multipartBody7456877162380749283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932603270,"filename":"image_05122025_11_39_05_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/5/f787ee7e2681ec3df6fe3772ac1d442b.jpg","text":"TemporaryFile(/tmp/multipartBody5978903859806973660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932603270,"filename":"image_05122025_11_39_25_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/5/354a564330b132acfc7048002b6879a7.jpg","text":"TemporaryFile(/tmp/multipartBody9078217880846983371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932603270,"filename":"image_05122025_11_39_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/5/3d097c28704c6f9f993925a07f8c969b.jpg","text":"TemporaryFile(/tmp/multipartBody1034621310188256479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932603270,"filename":"image_05122025_11_39_54_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/5/2603c96959131aa5def3b8cbd78f47df.jpg","text":"TemporaryFile(/tmp/multipartBody3105248478839352328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932603270,"filename":"image_05122025_11_39_45_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398078724","file1":"1398078646","file0":"1398078556","file4":"1398078873","file5":"1398078945","file3":"1398078800"},"map_files_photo_id_array":[{"photo_id":"1398078945","filename":"file5"},{"photo_id":"1398078724","filename":"file2"},{"photo_id":"1398078873","filename":"file4"},{"photo_id":"1398078646","filename":"file1"},{"photo_id":"1398078556","filename":"file0"},{"photo_id":"1398078800","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398078800":["hashtag1","hashtag2"]},{"1398078556":["hashtag1","hashtag2"]},{"1398078724":["hashtag1","hashtag2"]},{"1398078646":["hashtag1","hashtag2"]},{"1398078945":["hashtag1","hashtag2"]},{"1398078873":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398078800, 1398078556, 1398078724, 1398078646, 1398078945, 1398078873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6019983291626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:03:03.502777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/40/image_05122025_11_40_15_10054.jpg', '/home/pi/Desktop/images/05122025/11/40/image_05122025_11_40_26_10815.jpg', '/home/pi/Desktop/images/05122025/11/40/image_05122025_11_40_35_9614.jpg', '/home/pi/Desktop/images/05122025/11/40/image_05122025_11_40_45_9687.jpg', '/home/pi/Desktop/images/05122025/11/40/image_05122025_11_40_56_10750.jpg', '/home/pi/Desktop/images/05122025/11/40/image_05122025_11_41_06_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/40/image_05122025_11_40_15_10054.jpg
/home/pi/Desktop/images/05122025/11/40/image_05122025_11_40_26_10815.jpg
/home/pi/Desktop/images/05122025/11/40/image_05122025_11_40_35_9614.jpg
/home/pi/Desktop/images/05122025/11/40/image_05122025_11_40_45_9687.jpg
/home/pi/Desktop/images/05122025/11/40/image_05122025_11_40_56_10750.jpg
/home/pi/Desktop/images/05122025/11/40/image_05122025_11_41_06_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":["1398079279","1398079216","1398079281","1398079283","1398079259","1398079174"],"photo_ids_order":["1398079174","1398079216","1398079259","1398079279","1398079281","1398079283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b699bc2266f28c0d1bcab746cb4d0b4.jpg","text":"TemporaryFile(/tmp/multipartBody5406812302748255495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932644200,"filename":"image_05122025_11_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/5/275bae7e812caa7239c07d6869fe86d4.jpg","text":"TemporaryFile(/tmp/multipartBody4697540752122700491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932644200,"filename":"image_05122025_11_40_26_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db7c0c45d303c8cfbc2e27fb93fffd49.jpg","text":"TemporaryFile(/tmp/multipartBody8406214664518554120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932644200,"filename":"image_05122025_11_40_56_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/5/6f0323a5bbcda9e279290b8af997e3d3.jpg","text":"TemporaryFile(/tmp/multipartBody4117573065937020015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932644200,"filename":"image_05122025_11_41_06_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/5/8e9121f6ecb8f88125c891179ddd87ae.jpg","text":"TemporaryFile(/tmp/multipartBody8891089067763891394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932644200,"filename":"image_05122025_11_40_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/5/af0bc633ccebf7303e7e80d7c9f2a90e.jpg","text":"TemporaryFile(/tmp/multipartBody2120187447842010356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932644200,"filename":"image_05122025_11_40_15_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398079259","file1":"1398079216","file0":"1398079174","file4":"1398079281","file5":"1398079283","file3":"1398079279"},"map_files_photo_id_array":[{"photo_id":"1398079283","filename":"file5"},{"photo_id":"1398079259","filename":"file2"},{"photo_id":"1398079281","filename":"file4"},{"photo_id":"1398079216","filename":"file1"},{"photo_id":"1398079174","filename":"file0"},{"photo_id":"1398079279","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398079279":["hashtag1","hashtag2"]},{"1398079216":["hashtag1","hashtag2"]},{"1398079281":["hashtag1","hashtag2"]},{"1398079283":["hashtag1","hashtag2"]},{"1398079259":["hashtag1","hashtag2"]},{"1398079174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398079279, 1398079216, 1398079281, 1398079283, 1398079259, 1398079174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54919481277466 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-05 12:04:02.615431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/41/image_05122025_11_41_15_9790.jpg', '/home/pi/Desktop/images/05122025/11/41/image_05122025_11_41_25_9557.jpg', '/home/pi/Desktop/images/05122025/11/41/image_05122025_11_41_36_10830.jpg', '/home/pi/Desktop/images/05122025/11/41/image_05122025_11_41_46_9686.jpg', '/home/pi/Desktop/images/05122025/11/41/image_05122025_11_41_55_9674.jpg', '/home/pi/Desktop/images/05122025/11/41/image_05122025_11_42_06_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/41/image_05122025_11_41_15_9790.jpg
/home/pi/Desktop/images/05122025/11/41/image_05122025_11_41_25_9557.jpg
/home/pi/Desktop/images/05122025/11/41/image_05122025_11_41_36_10830.jpg
/home/pi/Desktop/images/05122025/11/41/image_05122025_11_41_46_9686.jpg
/home/pi/Desktop/images/05122025/11/41/image_05122025_11_41_55_9674.jpg
/home/pi/Desktop/images/05122025/11/41/image_05122025_11_42_06_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398079837","1398079797","1398079665","1398079812","1398079742","1398079625"],"photo_ids_order":["1398079625","1398079665","1398079742","1398079797","1398079812","1398079837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/321d4a91c3f29671cac5aefd69e1e7ab.jpg","text":"TemporaryFile(/tmp/multipartBody2628039006443095296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932703393,"filename":"image_05122025_11_42_06_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/5/81649ea2c31073bdc9abc85935bc2ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6965296248717296320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932703393,"filename":"image_05122025_11_41_46_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/5/6d4eb4f058ac40da4b01b0fe65dbb3a3.jpg","text":"TemporaryFile(/tmp/multipartBody8887296801844031261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932703393,"filename":"image_05122025_11_41_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/5/7d3d59d3487e4e5385640b9cd116c2dd.jpg","text":"TemporaryFile(/tmp/multipartBody3644184311889076004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932703393,"filename":"image_05122025_11_41_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2a2760dddcf0a1b47a8dbc67d7ec3d3.jpg","text":"TemporaryFile(/tmp/multipartBody7674780804315574095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932703393,"filename":"image_05122025_11_41_36_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/5/a0263c233b397e1638305420d1d73893.jpg","text":"TemporaryFile(/tmp/multipartBody3502439971226034014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932703393,"filename":"image_05122025_11_41_15_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398079742","file1":"1398079665","file0":"1398079625","file4":"1398079812","file5":"1398079837","file3":"1398079797"},"map_files_photo_id_array":[{"photo_id":"1398079837","filename":"file5"},{"photo_id":"1398079742","filename":"file2"},{"photo_id":"1398079812","filename":"file4"},{"photo_id":"1398079665","filename":"file1"},{"photo_id":"1398079625","filename":"file0"},{"photo_id":"1398079797","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398079837":["hashtag1","hashtag2"]},{"1398079797":["hashtag1","hashtag2"]},{"1398079665":["hashtag1","hashtag2"]},{"1398079812":["hashtag1","hashtag2"]},{"1398079742":["hashtag1","hashtag2"]},{"1398079625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398079837, 1398079797, 1398079665, 1398079812, 1398079742, 1398079625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90926194190979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:04:42.067010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_50_2814.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_56_3497.jpg', '/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_59_2653.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_01_2858.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_04_2664.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_08_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_50_2814.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_56_3497.jpg
/home/pi/Desktop/images/31102025/19/27/image_31102025_19_27_59_2653.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_01_2858.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_04_2664.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_08_3590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398079974","1398079958","1398079902","1398079946","1398079916","1398079904"],"photo_ids_order":["1398079902","1398079904","1398079916","1398079946","1398079958","1398079974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/480d07260b2150ba7cce0f7e37ca65a3.jpg","text":"TemporaryFile(/tmp/multipartBody6931687332775138404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932743703,"filename":"image_31102025_19_28_08_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/5/9b7cf87a571b2325730333817287a9ef.jpg","text":"TemporaryFile(/tmp/multipartBody989793141977547977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932743703,"filename":"image_31102025_19_28_04_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/5/31d00c08ddf6d506f41217730ede9845.jpg","text":"TemporaryFile(/tmp/multipartBody6919782366762260302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932743703,"filename":"image_31102025_19_27_50_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b9eaa86c0455e6e3b1195aa8e9209458.jpg","text":"TemporaryFile(/tmp/multipartBody1419103203601107774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932743703,"filename":"image_31102025_19_28_01_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/5/d6eb7de65376a2bb32172fccac34af7d.jpg","text":"TemporaryFile(/tmp/multipartBody8734122295288859244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932743703,"filename":"image_31102025_19_27_59_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/5/f017f8163db1f3d11e1714c11421579d.jpg","text":"TemporaryFile(/tmp/multipartBody2606825184202068803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932743703,"filename":"image_31102025_19_27_56_3497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398079916","file1":"1398079904","file0":"1398079902","file4":"1398079958","file5":"1398079974","file3":"1398079946"},"map_files_photo_id_array":[{"photo_id":"1398079974","filename":"file5"},{"photo_id":"1398079916","filename":"file2"},{"photo_id":"1398079958","filename":"file4"},{"photo_id":"1398079904","filename":"file1"},{"photo_id":"1398079902","filename":"file0"},{"photo_id":"1398079946","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398079974":["hashtag1","hashtag2"]},{"1398079958":["hashtag1","hashtag2"]},{"1398079902":["hashtag1","hashtag2"]},{"1398079946":["hashtag1","hashtag2"]},{"1398079916":["hashtag1","hashtag2"]},{"1398079904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398079974, 1398079958, 1398079902, 1398079946, 1398079916, 1398079904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05419111251831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:05:22.286851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/42/image_05122025_11_42_16_9713.jpg', '/home/pi/Desktop/images/05122025/11/42/image_05122025_11_42_25_9893.jpg', '/home/pi/Desktop/images/05122025/11/42/image_05122025_11_42_35_9758.jpg', '/home/pi/Desktop/images/05122025/11/42/image_05122025_11_42_45_9745.jpg', '/home/pi/Desktop/images/05122025/11/42/image_05122025_11_42_56_10775.jpg', '/home/pi/Desktop/images/05122025/11/42/image_05122025_11_43_05_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/42/image_05122025_11_42_16_9713.jpg
/home/pi/Desktop/images/05122025/11/42/image_05122025_11_42_25_9893.jpg
/home/pi/Desktop/images/05122025/11/42/image_05122025_11_42_35_9758.jpg
/home/pi/Desktop/images/05122025/11/42/image_05122025_11_42_45_9745.jpg
/home/pi/Desktop/images/05122025/11/42/image_05122025_11_42_56_10775.jpg
/home/pi/Desktop/images/05122025/11/42/image_05122025_11_43_05_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398079983","1398079986","1398079980","1398079994","1398079991","1398079988"],"photo_ids_order":["1398079980","1398079983","1398079986","1398079988","1398079991","1398079994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/32811acb983bd6e506fa5d620f64b8a2.jpg","text":"TemporaryFile(/tmp/multipartBody840485749086721666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932783016,"filename":"image_05122025_11_42_25_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0db9ddd8905d3fcb339a05e7e123a3da.jpg","text":"TemporaryFile(/tmp/multipartBody3459577213165893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932783016,"filename":"image_05122025_11_42_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/5/672c91b43a61ad62dcd9de93bbd5447e.jpg","text":"TemporaryFile(/tmp/multipartBody5937002469008216505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932783016,"filename":"image_05122025_11_42_16_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/5/722a7c6af2096b8ae4cf9f0e83a5a194.jpg","text":"TemporaryFile(/tmp/multipartBody5560279394869903263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932783016,"filename":"image_05122025_11_43_05_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/5/3c3a619231a52bbdd1c7eba2d11e66db.jpg","text":"TemporaryFile(/tmp/multipartBody1001466050832147419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932783016,"filename":"image_05122025_11_42_56_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac343b599834387e83f82ecde7467051.jpg","text":"TemporaryFile(/tmp/multipartBody2239265135024943536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932783016,"filename":"image_05122025_11_42_45_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398079986","file1":"1398079983","file0":"1398079980","file4":"1398079991","file5":"1398079994","file3":"1398079988"},"map_files_photo_id_array":[{"photo_id":"1398079994","filename":"file5"},{"photo_id":"1398079986","filename":"file2"},{"photo_id":"1398079991","filename":"file4"},{"photo_id":"1398079983","filename":"file1"},{"photo_id":"1398079980","filename":"file0"},{"photo_id":"1398079988","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398079983":["hashtag1","hashtag2"]},{"1398079986":["hashtag1","hashtag2"]},{"1398079980":["hashtag1","hashtag2"]},{"1398079994":["hashtag1","hashtag2"]},{"1398079991":["hashtag1","hashtag2"]},{"1398079988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398079983, 1398079986, 1398079980, 1398079994, 1398079991, 1398079988)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.63043451309204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:06:12.435467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/45/image_02122025_18_45_25_9712.jpg', '/home/pi/Desktop/images/02122025/18/45/image_02122025_18_45_54_9760.jpg', '/home/pi/Desktop/images/02122025/18/45/image_02122025_18_46_05_10621.jpg', '/home/pi/Desktop/images/02122025/18/46/image_02122025_18_46_15_9657.jpg', '/home/pi/Desktop/images/02122025/18/46/image_02122025_18_46_35_10731.jpg', '/home/pi/Desktop/images/02122025/18/47/image_02122025_18_47_15_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/45/image_02122025_18_45_25_9712.jpg
/home/pi/Desktop/images/02122025/18/45/image_02122025_18_45_54_9760.jpg
/home/pi/Desktop/images/02122025/18/45/image_02122025_18_46_05_10621.jpg
/home/pi/Desktop/images/02122025/18/46/image_02122025_18_46_15_9657.jpg
/home/pi/Desktop/images/02122025/18/46/image_02122025_18_46_35_10731.jpg
/home/pi/Desktop/images/02122025/18/47/image_02122025_18_47_15_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: 1.8017377853393555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:06:22.413356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/43/image_05122025_11_43_15_9770.jpg', '/home/pi/Desktop/images/05122025/11/43/image_05122025_11_43_25_9698.jpg', '/home/pi/Desktop/images/05122025/11/43/image_05122025_11_43_36_10643.jpg', '/home/pi/Desktop/images/05122025/11/43/image_05122025_11_43_45_9670.jpg', '/home/pi/Desktop/images/05122025/11/43/image_05122025_11_43_55_9746.jpg', '/home/pi/Desktop/images/05122025/11/43/image_05122025_11_44_06_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/43/image_05122025_11_43_15_9770.jpg
/home/pi/Desktop/images/05122025/11/43/image_05122025_11_43_25_9698.jpg
/home/pi/Desktop/images/05122025/11/43/image_05122025_11_43_36_10643.jpg
/home/pi/Desktop/images/05122025/11/43/image_05122025_11_43_45_9670.jpg
/home/pi/Desktop/images/05122025/11/43/image_05122025_11_43_55_9746.jpg
/home/pi/Desktop/images/05122025/11/43/image_05122025_11_44_06_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398080003","1398080006","1398080010","1398080021","1398080009","1398080000"],"photo_ids_order":["1398080000","1398080003","1398080006","1398080009","1398080010","1398080021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8b212d1b51ff8b91d32177dec44bb2ea.jpg","text":"TemporaryFile(/tmp/multipartBody7677658762191563848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932843163,"filename":"image_05122025_11_43_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/5/049007b3988b93b1f0da20e48a935241.jpg","text":"TemporaryFile(/tmp/multipartBody1102931848929295537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932843163,"filename":"image_05122025_11_43_36_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/5/b0cdf16945631818bfc049b37b6c7388.jpg","text":"TemporaryFile(/tmp/multipartBody518861921947375927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932843163,"filename":"image_05122025_11_43_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/5/c758a1c6534ce8494296b96233ccf7ed.jpg","text":"TemporaryFile(/tmp/multipartBody5043559427886457652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932843163,"filename":"image_05122025_11_44_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/5/5e3ccb2130c846448d19aa90db8ea8d3.jpg","text":"TemporaryFile(/tmp/multipartBody4112629181517406560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932843163,"filename":"image_05122025_11_43_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/5/c0057102ffdb986ee2d2db47859ddee1.jpg","text":"TemporaryFile(/tmp/multipartBody6730081293822047707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932843163,"filename":"image_05122025_11_43_15_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080006","file1":"1398080003","file0":"1398080000","file4":"1398080010","file5":"1398080021","file3":"1398080009"},"map_files_photo_id_array":[{"photo_id":"1398080021","filename":"file5"},{"photo_id":"1398080006","filename":"file2"},{"photo_id":"1398080010","filename":"file4"},{"photo_id":"1398080003","filename":"file1"},{"photo_id":"1398080000","filename":"file0"},{"photo_id":"1398080009","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398080003":["hashtag1","hashtag2"]},{"1398080006":["hashtag1","hashtag2"]},{"1398080010":["hashtag1","hashtag2"]},{"1398080021":["hashtag1","hashtag2"]},{"1398080009":["hashtag1","hashtag2"]},{"1398080000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398080003, 1398080006, 1398080010, 1398080021, 1398080009, 1398080000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42369484901428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:07:03.408536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/44/image_05122025_11_44_16_9818.jpg', '/home/pi/Desktop/images/05122025/11/44/image_05122025_11_44_25_9643.jpg', '/home/pi/Desktop/images/05122025/11/44/image_05122025_11_44_36_10740.jpg', '/home/pi/Desktop/images/05122025/11/44/image_05122025_11_44_46_9672.jpg', '/home/pi/Desktop/images/05122025/11/44/image_05122025_11_44_55_9749.jpg', '/home/pi/Desktop/images/05122025/11/45/image_05122025_11_45_14_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/44/image_05122025_11_44_16_9818.jpg
/home/pi/Desktop/images/05122025/11/44/image_05122025_11_44_25_9643.jpg
/home/pi/Desktop/images/05122025/11/44/image_05122025_11_44_36_10740.jpg
/home/pi/Desktop/images/05122025/11/44/image_05122025_11_44_46_9672.jpg
/home/pi/Desktop/images/05122025/11/44/image_05122025_11_44_55_9749.jpg
/home/pi/Desktop/images/05122025/11/45/image_05122025_11_45_14_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398080039","1398080041","1398080035","1398080034","1398080037","1398080036"],"photo_ids_order":["1398080034","1398080035","1398080036","1398080037","1398080039","1398080041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4375efb852729bd619c1b2ba6d146b1f.jpg","text":"TemporaryFile(/tmp/multipartBody1667198595660709673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932884201,"filename":"image_05122025_11_44_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/5/08e664cb7be8756b5185376ef884d5d9.jpg","text":"TemporaryFile(/tmp/multipartBody1592845905057256900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932884201,"filename":"image_05122025_11_45_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/5/2a2ffa2f3f4c7cca7376fc9b7f848791.jpg","text":"TemporaryFile(/tmp/multipartBody7804789079628373749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932884201,"filename":"image_05122025_11_44_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a0f735ce14680a61129536032bdf0f14.jpg","text":"TemporaryFile(/tmp/multipartBody9094756023530563267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932884201,"filename":"image_05122025_11_44_16_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/5/36c8048e4c199f125acf0bb3fc100b40.jpg","text":"TemporaryFile(/tmp/multipartBody2050251930595072054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932884201,"filename":"image_05122025_11_44_46_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/5/83b58640de976d497d140e6ad933f78b.jpg","text":"TemporaryFile(/tmp/multipartBody5457904100016185551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932884201,"filename":"image_05122025_11_44_36_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080036","file1":"1398080035","file0":"1398080034","file4":"1398080039","file5":"1398080041","file3":"1398080037"},"map_files_photo_id_array":[{"photo_id":"1398080041","filename":"file5"},{"photo_id":"1398080036","filename":"file2"},{"photo_id":"1398080039","filename":"file4"},{"photo_id":"1398080035","filename":"file1"},{"photo_id":"1398080034","filename":"file0"},{"photo_id":"1398080037","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398080039":["hashtag1","hashtag2"]},{"1398080041":["hashtag1","hashtag2"]},{"1398080035":["hashtag1","hashtag2"]},{"1398080034":["hashtag1","hashtag2"]},{"1398080037":["hashtag1","hashtag2"]},{"1398080036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398080039, 1398080041, 1398080035, 1398080034, 1398080037, 1398080036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48159575462341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:08:02.273932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/45/image_05122025_11_45_24_9975.jpg', '/home/pi/Desktop/images/05122025/11/45/image_05122025_11_45_35_10848.jpg', '/home/pi/Desktop/images/05122025/11/45/image_05122025_11_45_45_9888.jpg', '/home/pi/Desktop/images/05122025/11/45/image_05122025_11_45_54_9654.jpg', '/home/pi/Desktop/images/05122025/11/45/image_05122025_11_46_04_9776.jpg', '/home/pi/Desktop/images/05122025/11/46/image_05122025_11_46_14_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/45/image_05122025_11_45_24_9975.jpg
/home/pi/Desktop/images/05122025/11/45/image_05122025_11_45_35_10848.jpg
/home/pi/Desktop/images/05122025/11/45/image_05122025_11_45_45_9888.jpg
/home/pi/Desktop/images/05122025/11/45/image_05122025_11_45_54_9654.jpg
/home/pi/Desktop/images/05122025/11/45/image_05122025_11_46_04_9776.jpg
/home/pi/Desktop/images/05122025/11/46/image_05122025_11_46_14_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398080266","1398080341","1398080242","1398080305","1398080238","1398080240"],"photo_ids_order":["1398080238","1398080240","1398080242","1398080266","1398080305","1398080341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e3afcdd17f4c1eb0c8a2bb6ea16147e1.jpg","text":"TemporaryFile(/tmp/multipartBody224511264988055118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932943014,"filename":"image_05122025_11_45_54_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/5/1d570758f8d7b9369757f682aae69283.jpg","text":"TemporaryFile(/tmp/multipartBody4577686474609595521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932943014,"filename":"image_05122025_11_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/5/c1f5915f03d4ce27053ff34225ad235b.jpg","text":"TemporaryFile(/tmp/multipartBody6665258591130225375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932943014,"filename":"image_05122025_11_45_45_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/5/80416f7fe1df5123fda6da069fff475b.jpg","text":"TemporaryFile(/tmp/multipartBody8155668836462742971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932943014,"filename":"image_05122025_11_46_04_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3650b257bcdc2e572a329a133ad429a4.jpg","text":"TemporaryFile(/tmp/multipartBody1107639809929583721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932943014,"filename":"image_05122025_11_45_24_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/5/bcc07afe4e0d1ec634aeedf9144338b4.jpg","text":"TemporaryFile(/tmp/multipartBody5736352752195459664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764932943014,"filename":"image_05122025_11_45_35_10848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080242","file1":"1398080240","file0":"1398080238","file4":"1398080305","file5":"1398080341","file3":"1398080266"},"map_files_photo_id_array":[{"photo_id":"1398080341","filename":"file5"},{"photo_id":"1398080242","filename":"file2"},{"photo_id":"1398080305","filename":"file4"},{"photo_id":"1398080240","filename":"file1"},{"photo_id":"1398080238","filename":"file0"},{"photo_id":"1398080266","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398080266":["hashtag1","hashtag2"]},{"1398080341":["hashtag1","hashtag2"]},{"1398080242":["hashtag1","hashtag2"]},{"1398080305":["hashtag1","hashtag2"]},{"1398080238":["hashtag1","hashtag2"]},{"1398080240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398080266, 1398080341, 1398080242, 1398080305, 1398080238, 1398080240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12430429458618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:08:41.914250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_10_2544.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_14_3652.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_17_2798.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_19_2587.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_23_3694.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_26_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_10_2544.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_14_3652.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_17_2798.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_19_2587.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_23_3694.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_26_2662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.523106336593628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:09:03.061748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/46/image_05122025_11_46_25_10761.jpg', '/home/pi/Desktop/images/05122025/11/46/image_05122025_11_46_35_9714.jpg', '/home/pi/Desktop/images/05122025/11/46/image_05122025_11_46_45_9961.jpg', '/home/pi/Desktop/images/05122025/11/46/image_05122025_11_46_54_9711.jpg', '/home/pi/Desktop/images/05122025/11/46/image_05122025_11_47_05_10693.jpg', '/home/pi/Desktop/images/05122025/11/47/image_05122025_11_47_15_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/46/image_05122025_11_46_25_10761.jpg
/home/pi/Desktop/images/05122025/11/46/image_05122025_11_46_35_9714.jpg
/home/pi/Desktop/images/05122025/11/46/image_05122025_11_46_45_9961.jpg
/home/pi/Desktop/images/05122025/11/46/image_05122025_11_46_54_9711.jpg
/home/pi/Desktop/images/05122025/11/46/image_05122025_11_47_05_10693.jpg
/home/pi/Desktop/images/05122025/11/47/image_05122025_11_47_15_9851.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":["1398080449","1398080443","1398080451","1398080460","1398080462","1398080447"],"photo_ids_order":["1398080443","1398080447","1398080449","1398080451","1398080460","1398080462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5cb5c05048784c66d9c206082719b051.jpg","text":"TemporaryFile(/tmp/multipartBody7415689491283001295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933003954,"filename":"image_05122025_11_46_45_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/5/c0944272e595d697dd00a74c949e309a.jpg","text":"TemporaryFile(/tmp/multipartBody3482887252091056925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933003954,"filename":"image_05122025_11_46_25_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad4c39931e99f50ef1cef06da5e3e1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2274687089062503020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933003954,"filename":"image_05122025_11_46_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/5/adf4c7a96503e6d50d822d7732a47a89.jpg","text":"TemporaryFile(/tmp/multipartBody5359210413623548799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933003954,"filename":"image_05122025_11_47_05_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/5/fda6478b9c46fd08f49a033d57cb40d1.jpg","text":"TemporaryFile(/tmp/multipartBody4969553296392277858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933003954,"filename":"image_05122025_11_47_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/5/ec28c248a5cb44afc837fcc1e0b24d26.jpg","text":"TemporaryFile(/tmp/multipartBody651563862538800662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933003954,"filename":"image_05122025_11_46_35_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080449","file1":"1398080447","file0":"1398080443","file4":"1398080460","file5":"1398080462","file3":"1398080451"},"map_files_photo_id_array":[{"photo_id":"1398080462","filename":"file5"},{"photo_id":"1398080449","filename":"file2"},{"photo_id":"1398080460","filename":"file4"},{"photo_id":"1398080447","filename":"file1"},{"photo_id":"1398080443","filename":"file0"},{"photo_id":"1398080451","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398080449":["hashtag1","hashtag2"]},{"1398080443":["hashtag1","hashtag2"]},{"1398080451":["hashtag1","hashtag2"]},{"1398080460":["hashtag1","hashtag2"]},{"1398080462":["hashtag1","hashtag2"]},{"1398080447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398080449, 1398080443, 1398080451, 1398080460, 1398080462, 1398080447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12217354774475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:10:02.628519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/47/image_05122025_11_47_25_9739.jpg', '/home/pi/Desktop/images/05122025/11/47/image_05122025_11_47_34_9948.jpg', '/home/pi/Desktop/images/05122025/11/47/image_05122025_11_47_44_9813.jpg', '/home/pi/Desktop/images/05122025/11/47/image_05122025_11_47_55_10701.jpg', '/home/pi/Desktop/images/05122025/11/47/image_05122025_11_48_05_9771.jpg', '/home/pi/Desktop/images/05122025/11/48/image_05122025_11_48_14_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/47/image_05122025_11_47_25_9739.jpg
/home/pi/Desktop/images/05122025/11/47/image_05122025_11_47_34_9948.jpg
/home/pi/Desktop/images/05122025/11/47/image_05122025_11_47_44_9813.jpg
/home/pi/Desktop/images/05122025/11/47/image_05122025_11_47_55_10701.jpg
/home/pi/Desktop/images/05122025/11/47/image_05122025_11_48_05_9771.jpg
/home/pi/Desktop/images/05122025/11/48/image_05122025_11_48_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":["1398080507","1398080501","1398080503","1398080502","1398080505","1398080504"],"photo_ids_order":["1398080501","1398080502","1398080503","1398080504","1398080505","1398080507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2f0ba02ceaa07ef2b0f053b039d1458f.jpg","text":"TemporaryFile(/tmp/multipartBody2403736687321626691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933063357,"filename":"image_05122025_11_48_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/5/ed290ce44026a774ce7150ec8b47e54c.jpg","text":"TemporaryFile(/tmp/multipartBody1700174581302336049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933063357,"filename":"image_05122025_11_47_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/5/104e35d74f930f5d2d808dc639fd321d.jpg","text":"TemporaryFile(/tmp/multipartBody6191293583280739099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933063357,"filename":"image_05122025_11_47_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/5/f9018411d671ce3e3be64f28e9b41b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5653508092776556316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933063357,"filename":"image_05122025_11_47_34_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/5/4f05caa813628ff918c659c2123983df.jpg","text":"TemporaryFile(/tmp/multipartBody3862613000554368708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933063357,"filename":"image_05122025_11_48_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/5/0b8a94c01586f20c4506d95177c8f8d8.jpg","text":"TemporaryFile(/tmp/multipartBody1432251338623840407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933063357,"filename":"image_05122025_11_47_55_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080503","file1":"1398080502","file0":"1398080501","file4":"1398080505","file5":"1398080507","file3":"1398080504"},"map_files_photo_id_array":[{"photo_id":"1398080507","filename":"file5"},{"photo_id":"1398080503","filename":"file2"},{"photo_id":"1398080505","filename":"file4"},{"photo_id":"1398080502","filename":"file1"},{"photo_id":"1398080501","filename":"file0"},{"photo_id":"1398080504","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398080507":["hashtag1","hashtag2"]},{"1398080501":["hashtag1","hashtag2"]},{"1398080503":["hashtag1","hashtag2"]},{"1398080502":["hashtag1","hashtag2"]},{"1398080505":["hashtag1","hashtag2"]},{"1398080504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398080507, 1398080501, 1398080503, 1398080502, 1398080505, 1398080504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1340217590332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:10:42.303090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_10_2544.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_14_3652.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_17_2798.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_19_2587.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_23_3694.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_26_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_10_2544.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_14_3652.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_17_2798.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_19_2587.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_23_3694.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_26_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398080527","1398080518","1398080526","1398080523","1398080516","1398080519"],"photo_ids_order":["1398080516","1398080518","1398080519","1398080523","1398080526","1398080527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95d5b2b6b994abf38d8172c00637e9fc.jpg","text":"TemporaryFile(/tmp/multipartBody7942440341877653111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933103842,"filename":"image_31102025_19_28_26_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/5/eb02c899726b3080f9b4beaaeecc0b57.jpg","text":"TemporaryFile(/tmp/multipartBody217007875846496442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933103842,"filename":"image_31102025_19_28_14_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/5/431dbede0696789063bbf6fa5a19a1dd.jpg","text":"TemporaryFile(/tmp/multipartBody6208508411762878033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933103842,"filename":"image_31102025_19_28_23_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/5/828b122a8bd276fbcfd7c350ff396bb2.jpg","text":"TemporaryFile(/tmp/multipartBody1231577110870139750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933103842,"filename":"image_31102025_19_28_19_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/5/813fb92ace3d81b62960b4b93892ecb0.jpg","text":"TemporaryFile(/tmp/multipartBody4843463249882250494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933103842,"filename":"image_31102025_19_28_10_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/5/992de573bf19720f52b0a5be88d88881.jpg","text":"TemporaryFile(/tmp/multipartBody7668481060505899055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933103842,"filename":"image_31102025_19_28_17_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080519","file1":"1398080518","file0":"1398080516","file4":"1398080526","file5":"1398080527","file3":"1398080523"},"map_files_photo_id_array":[{"photo_id":"1398080527","filename":"file5"},{"photo_id":"1398080519","filename":"file2"},{"photo_id":"1398080526","filename":"file4"},{"photo_id":"1398080518","filename":"file1"},{"photo_id":"1398080516","filename":"file0"},{"photo_id":"1398080523","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398080527":["hashtag1","hashtag2"]},{"1398080518":["hashtag1","hashtag2"]},{"1398080526":["hashtag1","hashtag2"]},{"1398080523":["hashtag1","hashtag2"]},{"1398080516":["hashtag1","hashtag2"]},{"1398080519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398080527, 1398080518, 1398080526, 1398080523, 1398080516, 1398080519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.606261253356934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:11:32.563777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/45/image_02122025_18_45_25_9712.jpg', '/home/pi/Desktop/images/02122025/18/45/image_02122025_18_45_54_9760.jpg', '/home/pi/Desktop/images/02122025/18/45/image_02122025_18_46_05_10621.jpg', '/home/pi/Desktop/images/02122025/18/46/image_02122025_18_46_15_9657.jpg', '/home/pi/Desktop/images/02122025/18/46/image_02122025_18_46_35_10731.jpg', '/home/pi/Desktop/images/02122025/18/47/image_02122025_18_47_15_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/45/image_02122025_18_45_25_9712.jpg
/home/pi/Desktop/images/02122025/18/45/image_02122025_18_45_54_9760.jpg
/home/pi/Desktop/images/02122025/18/45/image_02122025_18_46_05_10621.jpg
/home/pi/Desktop/images/02122025/18/46/image_02122025_18_46_15_9657.jpg
/home/pi/Desktop/images/02122025/18/46/image_02122025_18_46_35_10731.jpg
/home/pi/Desktop/images/02122025/18/47/image_02122025_18_47_15_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":["1398080542","1398080539","1398080577","1398080532","1398080535","1398080570"],"photo_ids_order":["1398080532","1398080535","1398080539","1398080542","1398080570","1398080577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8229bbf38261f3e8547000325e6d110b.jpg","text":"TemporaryFile(/tmp/multipartBody8192662407160409661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933154674,"filename":"image_02122025_18_46_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/5/27a88c5a8e99c4f68dbb130855816444.jpg","text":"TemporaryFile(/tmp/multipartBody8528159291485054630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933154674,"filename":"image_02122025_18_46_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/5/29e814dcccfce95fa0aceda669e9f6db.jpg","text":"TemporaryFile(/tmp/multipartBody948048284270320633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933154674,"filename":"image_02122025_18_47_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/5/89a9d397e3ea8cc7a0918e13ed8adb52.jpg","text":"TemporaryFile(/tmp/multipartBody569076958282497634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933154674,"filename":"image_02122025_18_45_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/5/ba4ea4097ea8a19273451574cde26b11.jpg","text":"TemporaryFile(/tmp/multipartBody3409259954143447464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933154674,"filename":"image_02122025_18_45_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/5/6dbf3adf39f46858d31d99e2a9bab790.jpg","text":"TemporaryFile(/tmp/multipartBody3333269326427885310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933154674,"filename":"image_02122025_18_46_35_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080539","file1":"1398080535","file0":"1398080532","file4":"1398080570","file5":"1398080577","file3":"1398080542"},"map_files_photo_id_array":[{"photo_id":"1398080577","filename":"file5"},{"photo_id":"1398080539","filename":"file2"},{"photo_id":"1398080570","filename":"file4"},{"photo_id":"1398080535","filename":"file1"},{"photo_id":"1398080532","filename":"file0"},{"photo_id":"1398080542","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398080542":["hashtag1","hashtag2"]},{"1398080539":["hashtag1","hashtag2"]},{"1398080577":["hashtag1","hashtag2"]},{"1398080532":["hashtag1","hashtag2"]},{"1398080535":["hashtag1","hashtag2"]},{"1398080570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398080542, 1398080539, 1398080577, 1398080532, 1398080535, 1398080570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37346315383911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:12:12.801311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/47/image_02122025_18_47_34_9740.jpg', '/home/pi/Desktop/images/02122025/18/47/image_02122025_18_47_55_10732.jpg', '/home/pi/Desktop/images/02122025/18/48/image_02122025_18_48_15_9756.jpg', '/home/pi/Desktop/images/02122025/18/48/image_02122025_18_48_24_9790.jpg', '/home/pi/Desktop/images/02122025/18/48/image_02122025_18_48_35_10794.jpg', '/home/pi/Desktop/images/02122025/18/48/image_02122025_18_49_05_9948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/47/image_02122025_18_47_34_9740.jpg
/home/pi/Desktop/images/02122025/18/47/image_02122025_18_47_55_10732.jpg
/home/pi/Desktop/images/02122025/18/48/image_02122025_18_48_15_9756.jpg
/home/pi/Desktop/images/02122025/18/48/image_02122025_18_48_24_9790.jpg
/home/pi/Desktop/images/02122025/18/48/image_02122025_18_48_35_10794.jpg
/home/pi/Desktop/images/02122025/18/48/image_02122025_18_49_05_9948.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398080581","1398080587","1398080592","1398080580","1398080583","1398080585"],"photo_ids_order":["1398080580","1398080581","1398080583","1398080585","1398080587","1398080592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d7440aa9d30b2bf956c5edcd5111f571.jpg","text":"TemporaryFile(/tmp/multipartBody7154919161822828366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933195021,"filename":"image_02122025_18_47_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/5/fcb3643aee44a4747fa166c30e1793d2.jpg","text":"TemporaryFile(/tmp/multipartBody1110522174625116741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933195021,"filename":"image_02122025_18_48_35_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/5/c45f41dff6244cd6b61c85cfbad4ad82.jpg","text":"TemporaryFile(/tmp/multipartBody7839211881920041576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933195021,"filename":"image_02122025_18_49_05_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/5/d5c8c9815930c31f96eed0cf7289cebc.jpg","text":"TemporaryFile(/tmp/multipartBody7524168789341728921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933195021,"filename":"image_02122025_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/5/05dde7e68299a156ab1c443be5260871.jpg","text":"TemporaryFile(/tmp/multipartBody1684494152284482199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933195021,"filename":"image_02122025_18_48_15_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0881a2e71c5dc7fa3a64941fd981ed04.jpg","text":"TemporaryFile(/tmp/multipartBody163328500611681002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933195021,"filename":"image_02122025_18_48_24_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080583","file1":"1398080581","file0":"1398080580","file4":"1398080587","file5":"1398080592","file3":"1398080585"},"map_files_photo_id_array":[{"photo_id":"1398080592","filename":"file5"},{"photo_id":"1398080583","filename":"file2"},{"photo_id":"1398080587","filename":"file4"},{"photo_id":"1398080581","filename":"file1"},{"photo_id":"1398080580","filename":"file0"},{"photo_id":"1398080585","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398080581":["hashtag1","hashtag2"]},{"1398080587":["hashtag1","hashtag2"]},{"1398080592":["hashtag1","hashtag2"]},{"1398080580":["hashtag1","hashtag2"]},{"1398080583":["hashtag1","hashtag2"]},{"1398080585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398080581, 1398080587, 1398080592, 1398080580, 1398080583, 1398080585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.316545248031616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:13:02.636092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/48/image_05122025_11_48_24_9803.jpg', '/home/pi/Desktop/images/05122025/11/48/image_05122025_11_48_35_10563.jpg', '/home/pi/Desktop/images/05122025/11/48/image_05122025_11_48_54_9694.jpg', '/home/pi/Desktop/images/05122025/11/48/image_05122025_11_49_05_10672.jpg', '/home/pi/Desktop/images/05122025/11/49/image_05122025_11_49_15_9736.jpg', '/home/pi/Desktop/images/05122025/11/49/image_05122025_11_49_24_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/48/image_05122025_11_48_24_9803.jpg
/home/pi/Desktop/images/05122025/11/48/image_05122025_11_48_35_10563.jpg
/home/pi/Desktop/images/05122025/11/48/image_05122025_11_48_54_9694.jpg
/home/pi/Desktop/images/05122025/11/48/image_05122025_11_49_05_10672.jpg
/home/pi/Desktop/images/05122025/11/49/image_05122025_11_49_15_9736.jpg
/home/pi/Desktop/images/05122025/11/49/image_05122025_11_49_24_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":["1398080677","1398080676","1398080655","1398080733","1398080681","1398080717"],"photo_ids_order":["1398080655","1398080676","1398080677","1398080681","1398080717","1398080733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bbabf17d3c37afeab3073eb56db2d4be.jpg","text":"TemporaryFile(/tmp/multipartBody2943767373422509553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933243421,"filename":"image_05122025_11_48_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/5/6e6bafa74ba5cc579517569c75538a27.jpg","text":"TemporaryFile(/tmp/multipartBody4710015172451503918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933243421,"filename":"image_05122025_11_48_35_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d390ed341dc9493794d77171b5256248.jpg","text":"TemporaryFile(/tmp/multipartBody8834282682469557681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933243421,"filename":"image_05122025_11_48_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/5/76fc01948c46689a0d187c54f6c61b53.jpg","text":"TemporaryFile(/tmp/multipartBody8985814791613367480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933243421,"filename":"image_05122025_11_49_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/5/d7220053569cf96dc2c04f7f2fd37880.jpg","text":"TemporaryFile(/tmp/multipartBody4851637878261045335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933243421,"filename":"image_05122025_11_49_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/5/be8fa2c4a0af62c71ea16fc3a1bf8303.jpg","text":"TemporaryFile(/tmp/multipartBody363491515832077209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933243421,"filename":"image_05122025_11_49_15_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080677","file1":"1398080676","file0":"1398080655","file4":"1398080717","file5":"1398080733","file3":"1398080681"},"map_files_photo_id_array":[{"photo_id":"1398080733","filename":"file5"},{"photo_id":"1398080677","filename":"file2"},{"photo_id":"1398080717","filename":"file4"},{"photo_id":"1398080676","filename":"file1"},{"photo_id":"1398080655","filename":"file0"},{"photo_id":"1398080681","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398080677":["hashtag1","hashtag2"]},{"1398080676":["hashtag1","hashtag2"]},{"1398080655":["hashtag1","hashtag2"]},{"1398080733":["hashtag1","hashtag2"]},{"1398080681":["hashtag1","hashtag2"]},{"1398080717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398080677, 1398080676, 1398080655, 1398080733, 1398080681, 1398080717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15597414970398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:13:42.006985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_28_2793.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_31_2652.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_35_3574.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_37_2650.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_40_2658.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_44_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_28_2793.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_31_2652.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_35_3574.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_37_2650.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_40_2658.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_44_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":["1398080788","1398080782","1398080790","1398080784","1398080787","1398080786"],"photo_ids_order":["1398080782","1398080784","1398080786","1398080787","1398080788","1398080790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d7afa3a82518e98e4434c764b1d4612e.jpg","text":"TemporaryFile(/tmp/multipartBody4091287095462064722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933283630,"filename":"image_31102025_19_28_40_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/5/2187625d49908b0d57ce3cb87061e2e4.jpg","text":"TemporaryFile(/tmp/multipartBody3532355770935931240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933283630,"filename":"image_31102025_19_28_28_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/5/dfca1da6a6f6c9e167e627f36d01685c.jpg","text":"TemporaryFile(/tmp/multipartBody7166270530817452411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933283630,"filename":"image_31102025_19_28_44_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/5/e12498d94e9262b507312aeee6344689.jpg","text":"TemporaryFile(/tmp/multipartBody915674327007357839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933283630,"filename":"image_31102025_19_28_31_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/5/a7bf5105b276582228bac91ac42901dd.jpg","text":"TemporaryFile(/tmp/multipartBody3111278887188019926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933283630,"filename":"image_31102025_19_28_37_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/5/13aef09c6484223287b5fcd0cf65ad70.jpg","text":"TemporaryFile(/tmp/multipartBody4292649699358438114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933283630,"filename":"image_31102025_19_28_35_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080786","file1":"1398080784","file0":"1398080782","file4":"1398080788","file5":"1398080790","file3":"1398080787"},"map_files_photo_id_array":[{"photo_id":"1398080790","filename":"file5"},{"photo_id":"1398080786","filename":"file2"},{"photo_id":"1398080788","filename":"file4"},{"photo_id":"1398080784","filename":"file1"},{"photo_id":"1398080782","filename":"file0"},{"photo_id":"1398080787","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398080788":["hashtag1","hashtag2"]},{"1398080782":["hashtag1","hashtag2"]},{"1398080790":["hashtag1","hashtag2"]},{"1398080784":["hashtag1","hashtag2"]},{"1398080787":["hashtag1","hashtag2"]},{"1398080786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398080788, 1398080782, 1398080790, 1398080784, 1398080787, 1398080786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46424198150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:14:22.188351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/49/image_05122025_11_49_35_10636.jpg', '/home/pi/Desktop/images/05122025/11/49/image_05122025_11_49_45_9829.jpg', '/home/pi/Desktop/images/05122025/11/49/image_05122025_11_49_54_9740.jpg', '/home/pi/Desktop/images/05122025/11/50/image_05122025_11_50_15_10054.jpg', '/home/pi/Desktop/images/05122025/11/50/image_05122025_11_50_25_10682.jpg', '/home/pi/Desktop/images/05122025/11/50/image_05122025_11_50_35_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/49/image_05122025_11_49_35_10636.jpg
/home/pi/Desktop/images/05122025/11/49/image_05122025_11_49_45_9829.jpg
/home/pi/Desktop/images/05122025/11/49/image_05122025_11_49_54_9740.jpg
/home/pi/Desktop/images/05122025/11/50/image_05122025_11_50_15_10054.jpg
/home/pi/Desktop/images/05122025/11/50/image_05122025_11_50_25_10682.jpg
/home/pi/Desktop/images/05122025/11/50/image_05122025_11_50_35_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":["1398080800","1398080793","1398080802","1398080826","1398080795","1398080798"],"photo_ids_order":["1398080793","1398080795","1398080798","1398080800","1398080802","1398080826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3585aa848af77a1169e772d205fc72f8.jpg","text":"TemporaryFile(/tmp/multipartBody629433305706116128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933322878,"filename":"image_05122025_11_50_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1da5a80975521fafc9424ce5b5fc8ab7.jpg","text":"TemporaryFile(/tmp/multipartBody1859913368595326798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933322878,"filename":"image_05122025_11_49_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/50ee041abffc2f371fc840fc33fcbeea.jpg","text":"TemporaryFile(/tmp/multipartBody1362474805244499261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933322878,"filename":"image_05122025_11_50_25_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5ab6ea6dc25777b07d55e66c4a5f322.jpg","text":"TemporaryFile(/tmp/multipartBody3406144882483232374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933322878,"filename":"image_05122025_11_50_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/5/47e3ae72b008cf3056195eb399eb3373.jpg","text":"TemporaryFile(/tmp/multipartBody7022492173176101384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933322878,"filename":"image_05122025_11_49_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/5/558ba25e73cd2ed8f923dd586a8d169b.jpg","text":"TemporaryFile(/tmp/multipartBody4033497131867100117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933322878,"filename":"image_05122025_11_49_54_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080798","file1":"1398080795","file0":"1398080793","file4":"1398080802","file5":"1398080826","file3":"1398080800"},"map_files_photo_id_array":[{"photo_id":"1398080826","filename":"file5"},{"photo_id":"1398080798","filename":"file2"},{"photo_id":"1398080802","filename":"file4"},{"photo_id":"1398080795","filename":"file1"},{"photo_id":"1398080793","filename":"file0"},{"photo_id":"1398080800","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398080800":["hashtag1","hashtag2"]},{"1398080793":["hashtag1","hashtag2"]},{"1398080802":["hashtag1","hashtag2"]},{"1398080826":["hashtag1","hashtag2"]},{"1398080795":["hashtag1","hashtag2"]},{"1398080798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398080800, 1398080793, 1398080802, 1398080826, 1398080795, 1398080798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42855906486511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:15:12.325835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/49/image_02122025_18_49_44_9730.jpg', '/home/pi/Desktop/images/02122025/18/49/image_02122025_18_50_05_9813.jpg', '/home/pi/Desktop/images/02122025/18/50/image_02122025_18_50_15_9677.jpg', '/home/pi/Desktop/images/02122025/18/51/image_02122025_18_51_15_9922.jpg', '/home/pi/Desktop/images/02122025/18/51/image_02122025_18_51_34_9790.jpg', '/home/pi/Desktop/images/02122025/18/52/image_02122025_18_52_35_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/49/image_02122025_18_49_44_9730.jpg
/home/pi/Desktop/images/02122025/18/49/image_02122025_18_50_05_9813.jpg
/home/pi/Desktop/images/02122025/18/50/image_02122025_18_50_15_9677.jpg
/home/pi/Desktop/images/02122025/18/51/image_02122025_18_51_15_9922.jpg
/home/pi/Desktop/images/02122025/18/51/image_02122025_18_51_34_9790.jpg
/home/pi/Desktop/images/02122025/18/52/image_02122025_18_52_35_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":["1398080830","1398080829","1398080919","1398080832","1398080882","1398080899"],"photo_ids_order":["1398080829","1398080830","1398080832","1398080882","1398080899","1398080919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/02c293b9cc227562d52cf1034a569a65.jpg","text":"TemporaryFile(/tmp/multipartBody7316498155805879155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933374197,"filename":"image_02122025_18_50_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/5/ef933dc4d69ce500bc2d8cf5c1e0bfc6.jpg","text":"TemporaryFile(/tmp/multipartBody2476955660066678428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933374197,"filename":"image_02122025_18_49_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/5/a309d5fc2fb08d744916baba4ef28adc.jpg","text":"TemporaryFile(/tmp/multipartBody8301828464751484730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933374197,"filename":"image_02122025_18_52_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/5/933c6a30c73ca29fcb3480c003e22a2c.jpg","text":"TemporaryFile(/tmp/multipartBody2948967917970039923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933374197,"filename":"image_02122025_18_50_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/5/251e0088a4cb7c252840be7e9a28534e.jpg","text":"TemporaryFile(/tmp/multipartBody1918405784885525461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933374197,"filename":"image_02122025_18_51_15_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1cfb14a86ebe1f29d61b7c98bef3ccb8.jpg","text":"TemporaryFile(/tmp/multipartBody8538433213088093749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933374197,"filename":"image_02122025_18_51_34_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080832","file1":"1398080830","file0":"1398080829","file4":"1398080899","file5":"1398080919","file3":"1398080882"},"map_files_photo_id_array":[{"photo_id":"1398080919","filename":"file5"},{"photo_id":"1398080832","filename":"file2"},{"photo_id":"1398080899","filename":"file4"},{"photo_id":"1398080830","filename":"file1"},{"photo_id":"1398080829","filename":"file0"},{"photo_id":"1398080882","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398080830":["hashtag1","hashtag2"]},{"1398080829":["hashtag1","hashtag2"]},{"1398080919":["hashtag1","hashtag2"]},{"1398080832":["hashtag1","hashtag2"]},{"1398080882":["hashtag1","hashtag2"]},{"1398080899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398080830, 1398080829, 1398080919, 1398080832, 1398080882, 1398080899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.768707513809204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:16:03.086072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/50/image_05122025_11_50_45_9849.jpg', '/home/pi/Desktop/images/05122025/11/50/image_05122025_11_50_55_9854.jpg', '/home/pi/Desktop/images/05122025/11/50/image_05122025_11_51_06_10673.jpg', '/home/pi/Desktop/images/05122025/11/51/image_05122025_11_51_15_9558.jpg', '/home/pi/Desktop/images/05122025/11/51/image_05122025_11_51_25_9772.jpg', '/home/pi/Desktop/images/05122025/11/51/image_05122025_11_51_36_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/50/image_05122025_11_50_45_9849.jpg
/home/pi/Desktop/images/05122025/11/50/image_05122025_11_50_55_9854.jpg
/home/pi/Desktop/images/05122025/11/50/image_05122025_11_51_06_10673.jpg
/home/pi/Desktop/images/05122025/11/51/image_05122025_11_51_15_9558.jpg
/home/pi/Desktop/images/05122025/11/51/image_05122025_11_51_25_9772.jpg
/home/pi/Desktop/images/05122025/11/51/image_05122025_11_51_36_10778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398080926","1398080929","1398080928","1398080931","1398080930","1398080927"],"photo_ids_order":["1398080926","1398080927","1398080928","1398080929","1398080930","1398080931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c29c7449588588dd7afb423e1d05aa2.jpg","text":"TemporaryFile(/tmp/multipartBody9090672573821670076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933423786,"filename":"image_05122025_11_50_45_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/5/d5fef677576574810e549e7e8a8f8fb2.jpg","text":"TemporaryFile(/tmp/multipartBody5750451267206092075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933423786,"filename":"image_05122025_11_51_15_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/5/191c97a8c8332b4e271dc3634ab3a74c.jpg","text":"TemporaryFile(/tmp/multipartBody8510454955212151632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933423786,"filename":"image_05122025_11_51_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/5/6d9dde25cc007e49e480d94e79a81fa4.jpg","text":"TemporaryFile(/tmp/multipartBody2563919916946817086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933423786,"filename":"image_05122025_11_51_36_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/5/bd01f1c60569f06b07115a63f1980043.jpg","text":"TemporaryFile(/tmp/multipartBody5956910515227560518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933423786,"filename":"image_05122025_11_51_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/5/74c42a01ecc782c120db5ef5d2a25f8f.jpg","text":"TemporaryFile(/tmp/multipartBody4742497325846182475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933423786,"filename":"image_05122025_11_50_55_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398080928","file1":"1398080927","file0":"1398080926","file4":"1398080930","file5":"1398080931","file3":"1398080929"},"map_files_photo_id_array":[{"photo_id":"1398080931","filename":"file5"},{"photo_id":"1398080928","filename":"file2"},{"photo_id":"1398080930","filename":"file4"},{"photo_id":"1398080927","filename":"file1"},{"photo_id":"1398080926","filename":"file0"},{"photo_id":"1398080929","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398080926":["hashtag1","hashtag2"]},{"1398080929":["hashtag1","hashtag2"]},{"1398080928":["hashtag1","hashtag2"]},{"1398080931":["hashtag1","hashtag2"]},{"1398080930":["hashtag1","hashtag2"]},{"1398080927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398080926, 1398080929, 1398080928, 1398080931, 1398080930, 1398080927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41679072380066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:16:42.671640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_53_3583.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_55_2704.jpg', '/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_58_2753.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_01_2977.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_05_3603.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_07_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_53_3583.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_55_2704.jpg
/home/pi/Desktop/images/31102025/19/28/image_31102025_19_28_58_2753.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_01_2977.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_05_3603.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_07_2812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398081121","1398081106","1398081150","1398081117","1398081119","1398081067"],"photo_ids_order":["1398081067","1398081106","1398081117","1398081119","1398081121","1398081150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eda5d60d82c53e93c22056d40673ad1b.jpg","text":"TemporaryFile(/tmp/multipartBody684236167526991689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933464279,"filename":"image_31102025_19_29_05_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/5/6b00b451eea7231eea3b399a9452eab2.jpg","text":"TemporaryFile(/tmp/multipartBody7604169563646488796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933464279,"filename":"image_31102025_19_28_55_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/5/7ea24bb3f58d62b8008405dd9c335c82.jpg","text":"TemporaryFile(/tmp/multipartBody6678984850726102151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933464279,"filename":"image_31102025_19_29_07_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/5/852dddc4ade9cf42a79ce3c0284559c8.jpg","text":"TemporaryFile(/tmp/multipartBody7045117407116189408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933464279,"filename":"image_31102025_19_28_58_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/5/ec7b64f9f0f02f80a121cf777be4cf66.jpg","text":"TemporaryFile(/tmp/multipartBody2681394750274766686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933464279,"filename":"image_31102025_19_29_01_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/5/ea3c3ad6e23419e915c0f03feb6999d1.jpg","text":"TemporaryFile(/tmp/multipartBody4622116319090055543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933464279,"filename":"image_31102025_19_28_53_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398081117","file1":"1398081106","file0":"1398081067","file4":"1398081121","file5":"1398081150","file3":"1398081119"},"map_files_photo_id_array":[{"photo_id":"1398081150","filename":"file5"},{"photo_id":"1398081117","filename":"file2"},{"photo_id":"1398081121","filename":"file4"},{"photo_id":"1398081106","filename":"file1"},{"photo_id":"1398081067","filename":"file0"},{"photo_id":"1398081119","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398081121":["hashtag1","hashtag2"]},{"1398081106":["hashtag1","hashtag2"]},{"1398081150":["hashtag1","hashtag2"]},{"1398081117":["hashtag1","hashtag2"]},{"1398081119":["hashtag1","hashtag2"]},{"1398081067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398081121, 1398081106, 1398081150, 1398081117, 1398081119, 1398081067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12485194206238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:17:31.924652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/52/image_02122025_18_52_54_9831.jpg', '/home/pi/Desktop/images/02122025/18/53/image_02122025_18_53_15_9739.jpg', '/home/pi/Desktop/images/02122025/18/54/image_02122025_18_54_44_9704.jpg', '/home/pi/Desktop/images/02122025/18/55/image_02122025_18_55_15_10658.jpg', '/home/pi/Desktop/images/02122025/18/55/image_02122025_18_55_44_9858.jpg', '/home/pi/Desktop/images/02122025/18/55/image_02122025_18_55_55_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/52/image_02122025_18_52_54_9831.jpg
/home/pi/Desktop/images/02122025/18/53/image_02122025_18_53_15_9739.jpg
/home/pi/Desktop/images/02122025/18/54/image_02122025_18_54_44_9704.jpg
/home/pi/Desktop/images/02122025/18/55/image_02122025_18_55_15_10658.jpg
/home/pi/Desktop/images/02122025/18/55/image_02122025_18_55_44_9858.jpg
/home/pi/Desktop/images/02122025/18/55/image_02122025_18_55_55_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":["1398081280","1398081291","1398081288","1398081228","1398081242","1398081286"],"photo_ids_order":["1398081228","1398081242","1398081280","1398081286","1398081288","1398081291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e3bb5f61fc2125eae9bbaae440c3ac7.jpg","text":"TemporaryFile(/tmp/multipartBody2698415889289537925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933514199,"filename":"image_02122025_18_54_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e3ee48c534239ad34b9179a76005dde1.jpg","text":"TemporaryFile(/tmp/multipartBody247371204415321486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933514199,"filename":"image_02122025_18_55_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/5/53e9819cc29eb303bf3343d25ff2ca96.jpg","text":"TemporaryFile(/tmp/multipartBody8025664720487359174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933514199,"filename":"image_02122025_18_55_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/5/b811f7b8535a6e391f73583feefd9da3.jpg","text":"TemporaryFile(/tmp/multipartBody5282861217296109212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933514199,"filename":"image_02122025_18_52_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/5/88c3532527b8432361121e240c6372b8.jpg","text":"TemporaryFile(/tmp/multipartBody511330324115275548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933514199,"filename":"image_02122025_18_53_15_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/5/ca06fab059dcf33e6404962b24039167.jpg","text":"TemporaryFile(/tmp/multipartBody1352499966703313267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933514199,"filename":"image_02122025_18_55_15_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398081280","file1":"1398081242","file0":"1398081228","file4":"1398081288","file5":"1398081291","file3":"1398081286"},"map_files_photo_id_array":[{"photo_id":"1398081291","filename":"file5"},{"photo_id":"1398081280","filename":"file2"},{"photo_id":"1398081288","filename":"file4"},{"photo_id":"1398081242","filename":"file1"},{"photo_id":"1398081228","filename":"file0"},{"photo_id":"1398081286","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398081280":["hashtag1","hashtag2"]},{"1398081291":["hashtag1","hashtag2"]},{"1398081288":["hashtag1","hashtag2"]},{"1398081228":["hashtag1","hashtag2"]},{"1398081242":["hashtag1","hashtag2"]},{"1398081286":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398081280, 1398081291, 1398081288, 1398081228, 1398081242, 1398081286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90108609199524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:18:12.033090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/18/55/image_02122025_18_56_05_9594.jpg', '/home/pi/Desktop/images/02122025/18/56/image_02122025_18_56_14_9590.jpg', '/home/pi/Desktop/images/02122025/18/56/image_02122025_18_56_35_9692.jpg', '/home/pi/Desktop/images/02122025/18/56/image_02122025_18_57_05_9759.jpg', '/home/pi/Desktop/images/02122025/18/57/image_02122025_18_57_15_9806.jpg', '/home/pi/Desktop/images/02122025/18/58/image_02122025_18_58_15_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/18/55/image_02122025_18_56_05_9594.jpg
/home/pi/Desktop/images/02122025/18/56/image_02122025_18_56_14_9590.jpg
/home/pi/Desktop/images/02122025/18/56/image_02122025_18_56_35_9692.jpg
/home/pi/Desktop/images/02122025/18/56/image_02122025_18_57_05_9759.jpg
/home/pi/Desktop/images/02122025/18/57/image_02122025_18_57_15_9806.jpg
/home/pi/Desktop/images/02122025/18/58/image_02122025_18_58_15_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398081310","1398081309","1398081299","1398081302","1398081305","1398081308"],"photo_ids_order":["1398081299","1398081302","1398081305","1398081308","1398081309","1398081310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/38d9b8b9049aa7fc633da369fcb51a36.jpg","text":"TemporaryFile(/tmp/multipartBody4126206003783344582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933554090,"filename":"image_02122025_18_58_15_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/5/389230f26bbd3a24d98dd7994082a700.jpg","text":"TemporaryFile(/tmp/multipartBody6774138702601573080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933554090,"filename":"image_02122025_18_57_15_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e5222600f2c8bd03f76bbcffbd7f96bd.jpg","text":"TemporaryFile(/tmp/multipartBody9163364714069790778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933554090,"filename":"image_02122025_18_56_05_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7ad9651244f72a921badfbcae80e48f7.jpg","text":"TemporaryFile(/tmp/multipartBody3109325736834676371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933554090,"filename":"image_02122025_18_56_14_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7fc0d4b95224f0dd9e0e29abb11aa24a.jpg","text":"TemporaryFile(/tmp/multipartBody4466605222637598441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933554090,"filename":"image_02122025_18_56_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ebc39ecef5ff2f3f62ba1bf397946440.jpg","text":"TemporaryFile(/tmp/multipartBody4096525093302550565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933554090,"filename":"image_02122025_18_57_05_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398081305","file1":"1398081302","file0":"1398081299","file4":"1398081309","file5":"1398081310","file3":"1398081308"},"map_files_photo_id_array":[{"photo_id":"1398081310","filename":"file5"},{"photo_id":"1398081305","filename":"file2"},{"photo_id":"1398081309","filename":"file4"},{"photo_id":"1398081302","filename":"file1"},{"photo_id":"1398081299","filename":"file0"},{"photo_id":"1398081308","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398081310":["hashtag1","hashtag2"]},{"1398081309":["hashtag1","hashtag2"]},{"1398081299":["hashtag1","hashtag2"]},{"1398081302":["hashtag1","hashtag2"]},{"1398081305":["hashtag1","hashtag2"]},{"1398081308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398081310, 1398081309, 1398081299, 1398081302, 1398081305, 1398081308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76451921463013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:19:03.284550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/51/image_05122025_11_51_45_9618.jpg', '/home/pi/Desktop/images/05122025/11/51/image_05122025_11_51_55_9870.jpg', '/home/pi/Desktop/images/05122025/11/51/image_05122025_11_52_05_9766.jpg', '/home/pi/Desktop/images/05122025/11/52/image_05122025_11_52_16_10728.jpg', '/home/pi/Desktop/images/05122025/11/52/image_05122025_11_52_25_9820.jpg', '/home/pi/Desktop/images/05122025/11/52/image_05122025_11_52_35_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/51/image_05122025_11_51_45_9618.jpg
/home/pi/Desktop/images/05122025/11/51/image_05122025_11_51_55_9870.jpg
/home/pi/Desktop/images/05122025/11/51/image_05122025_11_52_05_9766.jpg
/home/pi/Desktop/images/05122025/11/52/image_05122025_11_52_16_10728.jpg
/home/pi/Desktop/images/05122025/11/52/image_05122025_11_52_25_9820.jpg
/home/pi/Desktop/images/05122025/11/52/image_05122025_11_52_35_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":["1398081322","1398081316","1398081319","1398081324","1398081341","1398081323"],"photo_ids_order":["1398081316","1398081319","1398081322","1398081323","1398081324","1398081341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cca1a10037e7de4f14c4b32774ebb59d.jpg","text":"TemporaryFile(/tmp/multipartBody6059560749512426138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933604109,"filename":"image_05122025_11_52_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/5/3e7f538a1d495d33fd79b7916b563790.jpg","text":"TemporaryFile(/tmp/multipartBody5191639004657682946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933604109,"filename":"image_05122025_11_51_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/560c3b66c607990c478ad8f15fdc8eaf.jpg","text":"TemporaryFile(/tmp/multipartBody8831392154650955047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933604109,"filename":"image_05122025_11_51_55_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c047bb755869acf25df9938cdd676736.jpg","text":"TemporaryFile(/tmp/multipartBody7020685917789366664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933604109,"filename":"image_05122025_11_52_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/5/2cb1a8b33531c1df17b098b487dfc817.jpg","text":"TemporaryFile(/tmp/multipartBody2939968236353850136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933604109,"filename":"image_05122025_11_52_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3900e14c1a8e8316920b58d2c0996be2.jpg","text":"TemporaryFile(/tmp/multipartBody8561796613870214910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933604109,"filename":"image_05122025_11_52_16_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398081322","file1":"1398081319","file0":"1398081316","file4":"1398081324","file5":"1398081341","file3":"1398081323"},"map_files_photo_id_array":[{"photo_id":"1398081341","filename":"file5"},{"photo_id":"1398081322","filename":"file2"},{"photo_id":"1398081324","filename":"file4"},{"photo_id":"1398081319","filename":"file1"},{"photo_id":"1398081316","filename":"file0"},{"photo_id":"1398081323","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398081322":["hashtag1","hashtag2"]},{"1398081316":["hashtag1","hashtag2"]},{"1398081319":["hashtag1","hashtag2"]},{"1398081324":["hashtag1","hashtag2"]},{"1398081341":["hashtag1","hashtag2"]},{"1398081323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398081322, 1398081316, 1398081319, 1398081324, 1398081341, 1398081323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07860803604126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:20:03.014307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/52/image_05122025_11_52_46_10564.jpg', '/home/pi/Desktop/images/05122025/11/52/image_05122025_11_52_55_9657.jpg', '/home/pi/Desktop/images/05122025/11/52/image_05122025_11_53_05_9765.jpg', '/home/pi/Desktop/images/05122025/11/53/image_05122025_11_53_16_10649.jpg', '/home/pi/Desktop/images/05122025/11/53/image_05122025_11_53_25_9604.jpg', '/home/pi/Desktop/images/05122025/11/53/image_05122025_11_53_35_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/52/image_05122025_11_52_46_10564.jpg
/home/pi/Desktop/images/05122025/11/52/image_05122025_11_52_55_9657.jpg
/home/pi/Desktop/images/05122025/11/52/image_05122025_11_53_05_9765.jpg
/home/pi/Desktop/images/05122025/11/53/image_05122025_11_53_16_10649.jpg
/home/pi/Desktop/images/05122025/11/53/image_05122025_11_53_25_9604.jpg
/home/pi/Desktop/images/05122025/11/53/image_05122025_11_53_35_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398081486","1398081483","1398081510","1398081485","1398081484","1398081478"],"photo_ids_order":["1398081478","1398081483","1398081484","1398081485","1398081486","1398081510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2be292586aad25dbc5842e1dba953387.jpg","text":"TemporaryFile(/tmp/multipartBody1140811964236397408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933663771,"filename":"image_05122025_11_53_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/5/fa0ab76a17dbe9d3ec540095fa74860b.jpg","text":"TemporaryFile(/tmp/multipartBody4868223885796090168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933663771,"filename":"image_05122025_11_52_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/5/d46c8643a9922e9b2e86b543e113d984.jpg","text":"TemporaryFile(/tmp/multipartBody469425228427246051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933663771,"filename":"image_05122025_11_53_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/5/a1377d50c097b7fbea528fede66af520.jpg","text":"TemporaryFile(/tmp/multipartBody6771081600005846795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933663771,"filename":"image_05122025_11_53_16_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/5/c48cbe56bc676b73a2cbafea3e6164fd.jpg","text":"TemporaryFile(/tmp/multipartBody186858855137372096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933663771,"filename":"image_05122025_11_53_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/5/c8d599fec9f147fafdcd1c5502f1d444.jpg","text":"TemporaryFile(/tmp/multipartBody7431284575546949555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933663771,"filename":"image_05122025_11_52_46_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398081484","file1":"1398081483","file0":"1398081478","file4":"1398081486","file5":"1398081510","file3":"1398081485"},"map_files_photo_id_array":[{"photo_id":"1398081510","filename":"file5"},{"photo_id":"1398081484","filename":"file2"},{"photo_id":"1398081486","filename":"file4"},{"photo_id":"1398081483","filename":"file1"},{"photo_id":"1398081478","filename":"file0"},{"photo_id":"1398081485","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398081486":["hashtag1","hashtag2"]},{"1398081483":["hashtag1","hashtag2"]},{"1398081510":["hashtag1","hashtag2"]},{"1398081485":["hashtag1","hashtag2"]},{"1398081484":["hashtag1","hashtag2"]},{"1398081478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398081486, 1398081483, 1398081510, 1398081485, 1398081484, 1398081478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.231160402297974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:20:42.694838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_10_2692.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_13_2812.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_17_3576.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_19_2691.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_22_2813.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_26_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_10_2692.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_13_2812.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_17_3576.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_19_2691.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_22_2813.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_26_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":["1398081741","1398081705","1398081869","1398081665","1398081608","1398081815"],"photo_ids_order":["1398081608","1398081665","1398081705","1398081741","1398081815","1398081869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/082554cdbb453f12766e4a58b98ec246.jpg","text":"TemporaryFile(/tmp/multipartBody3064578330399919128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933704305,"filename":"image_31102025_19_29_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/5/b30f1a4ed65df5176d4444eed4bc711c.jpg","text":"TemporaryFile(/tmp/multipartBody3101252863816994826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933704305,"filename":"image_31102025_19_29_17_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/79c9910a1c49257197c4c71a949d738b.jpg","text":"TemporaryFile(/tmp/multipartBody6059557756210784788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933704305,"filename":"image_31102025_19_29_26_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/5/e777399d40d8d6d04c137fb3ce2a31a0.jpg","text":"TemporaryFile(/tmp/multipartBody3161340141405423344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933704305,"filename":"image_31102025_19_29_13_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/5/0f8c65383d1b1a6f022f8f6d9a90b2fa.jpg","text":"TemporaryFile(/tmp/multipartBody3125448058320776072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933704305,"filename":"image_31102025_19_29_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/5/bd4684649f220027640bf44e654c5673.jpg","text":"TemporaryFile(/tmp/multipartBody6310756526458031429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933704305,"filename":"image_31102025_19_29_22_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398081705","file1":"1398081665","file0":"1398081608","file4":"1398081815","file5":"1398081869","file3":"1398081741"},"map_files_photo_id_array":[{"photo_id":"1398081869","filename":"file5"},{"photo_id":"1398081705","filename":"file2"},{"photo_id":"1398081815","filename":"file4"},{"photo_id":"1398081665","filename":"file1"},{"photo_id":"1398081608","filename":"file0"},{"photo_id":"1398081741","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398081741":["hashtag1","hashtag2"]},{"1398081705":["hashtag1","hashtag2"]},{"1398081869":["hashtag1","hashtag2"]},{"1398081665":["hashtag1","hashtag2"]},{"1398081608":["hashtag1","hashtag2"]},{"1398081815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398081741, 1398081705, 1398081869, 1398081665, 1398081608, 1398081815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44475841522217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:21:21.890753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/53/image_05122025_11_53_46_10599.jpg', '/home/pi/Desktop/images/05122025/11/53/image_05122025_11_53_55_9731.jpg', '/home/pi/Desktop/images/05122025/11/53/image_05122025_11_54_05_9722.jpg', '/home/pi/Desktop/images/05122025/11/54/image_05122025_11_54_16_10670.jpg', '/home/pi/Desktop/images/05122025/11/54/image_05122025_11_54_35_9856.jpg', '/home/pi/Desktop/images/05122025/11/54/image_05122025_11_54_45_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/53/image_05122025_11_53_46_10599.jpg
/home/pi/Desktop/images/05122025/11/53/image_05122025_11_53_55_9731.jpg
/home/pi/Desktop/images/05122025/11/53/image_05122025_11_54_05_9722.jpg
/home/pi/Desktop/images/05122025/11/54/image_05122025_11_54_16_10670.jpg
/home/pi/Desktop/images/05122025/11/54/image_05122025_11_54_35_9856.jpg
/home/pi/Desktop/images/05122025/11/54/image_05122025_11_54_45_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398082074","1398082079","1398082082","1398082081","1398082013","1398082084"],"photo_ids_order":["1398082013","1398082074","1398082079","1398082081","1398082082","1398082084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/714526e38b52878bd9e2a3287e4a582c.jpg","text":"TemporaryFile(/tmp/multipartBody8368499278021889562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933742587,"filename":"image_05122025_11_53_55_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22b608fa6cd9ce6c4fc8e7667d6ad75f.jpg","text":"TemporaryFile(/tmp/multipartBody8918351529406198964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933742587,"filename":"image_05122025_11_54_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee6ce08ed70dee0181a07296ed52ca46.jpg","text":"TemporaryFile(/tmp/multipartBody4182933115732175081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933742587,"filename":"image_05122025_11_54_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/5/42acd50e986e68bc501986125df9770c.jpg","text":"TemporaryFile(/tmp/multipartBody249488584819150027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933742587,"filename":"image_05122025_11_54_16_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/5/97a7f65adb7de8928a2151a496680261.jpg","text":"TemporaryFile(/tmp/multipartBody3638668638909269054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933742587,"filename":"image_05122025_11_53_46_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/5/b2cd8dadafd5cfa121706302efacd656.jpg","text":"TemporaryFile(/tmp/multipartBody6273141810862322031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933742587,"filename":"image_05122025_11_54_45_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082079","file1":"1398082074","file0":"1398082013","file4":"1398082082","file5":"1398082084","file3":"1398082081"},"map_files_photo_id_array":[{"photo_id":"1398082084","filename":"file5"},{"photo_id":"1398082079","filename":"file2"},{"photo_id":"1398082082","filename":"file4"},{"photo_id":"1398082074","filename":"file1"},{"photo_id":"1398082013","filename":"file0"},{"photo_id":"1398082081","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082074":["hashtag1","hashtag2"]},{"1398082079":["hashtag1","hashtag2"]},{"1398082082":["hashtag1","hashtag2"]},{"1398082081":["hashtag1","hashtag2"]},{"1398082013":["hashtag1","hashtag2"]},{"1398082084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082074, 1398082079, 1398082082, 1398082081, 1398082013, 1398082084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.092628955841064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:22:02.505198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/54/image_05122025_11_54_55_9850.jpg', '/home/pi/Desktop/images/05122025/11/55/image_05122025_11_55_14_10057.jpg', '/home/pi/Desktop/images/05122025/11/55/image_05122025_11_55_25_10663.jpg', '/home/pi/Desktop/images/05122025/11/55/image_05122025_11_55_35_9697.jpg', '/home/pi/Desktop/images/05122025/11/55/image_05122025_11_55_55_10701.jpg', '/home/pi/Desktop/images/05122025/11/55/image_05122025_11_56_05_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/54/image_05122025_11_54_55_9850.jpg
/home/pi/Desktop/images/05122025/11/55/image_05122025_11_55_14_10057.jpg
/home/pi/Desktop/images/05122025/11/55/image_05122025_11_55_25_10663.jpg
/home/pi/Desktop/images/05122025/11/55/image_05122025_11_55_35_9697.jpg
/home/pi/Desktop/images/05122025/11/55/image_05122025_11_55_55_10701.jpg
/home/pi/Desktop/images/05122025/11/55/image_05122025_11_56_05_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398082191","1398082266","1398082188","1398082224","1398082190","1398082189"],"photo_ids_order":["1398082188","1398082189","1398082190","1398082191","1398082224","1398082266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17ee835f89407c3a2d86524202cec808.jpg","text":"TemporaryFile(/tmp/multipartBody7271598697612917193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933783283,"filename":"image_05122025_11_55_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/5/db8d86e2d87b22a1fd462a9b204ded2d.jpg","text":"TemporaryFile(/tmp/multipartBody3037282131465418178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933783283,"filename":"image_05122025_11_56_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/5/ba6f699ca3866f9ae47a768dc647c2c0.jpg","text":"TemporaryFile(/tmp/multipartBody6929715532601799992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933783283,"filename":"image_05122025_11_54_55_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6edc77211a61e498244ada38376f59b3.jpg","text":"TemporaryFile(/tmp/multipartBody5528688165648574778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933783283,"filename":"image_05122025_11_55_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/5/908b4e6380847f0836ab39e95377a079.jpg","text":"TemporaryFile(/tmp/multipartBody7544778863218271471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933783283,"filename":"image_05122025_11_55_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/5/cdd6eab841247ae00ae6c0ce661b95e2.jpg","text":"TemporaryFile(/tmp/multipartBody6362373761668973290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933783283,"filename":"image_05122025_11_55_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082190","file1":"1398082189","file0":"1398082188","file4":"1398082224","file5":"1398082266","file3":"1398082191"},"map_files_photo_id_array":[{"photo_id":"1398082266","filename":"file5"},{"photo_id":"1398082190","filename":"file2"},{"photo_id":"1398082224","filename":"file4"},{"photo_id":"1398082189","filename":"file1"},{"photo_id":"1398082188","filename":"file0"},{"photo_id":"1398082191","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082191":["hashtag1","hashtag2"]},{"1398082266":["hashtag1","hashtag2"]},{"1398082188":["hashtag1","hashtag2"]},{"1398082224":["hashtag1","hashtag2"]},{"1398082190":["hashtag1","hashtag2"]},{"1398082189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082191, 1398082266, 1398082188, 1398082224, 1398082190, 1398082189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23551940917969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:22:42.023460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_28_2641.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_35_3739.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_37_2594.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_41_3607.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_43_2600.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_46_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_28_2641.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_35_3739.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_37_2594.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_41_3607.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_43_2600.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_46_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":["1398082386","1398082347","1398082281","1398082280","1398082310","1398082279"],"photo_ids_order":["1398082279","1398082280","1398082281","1398082310","1398082347","1398082386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c7493a010e7a54625eb494787e80c09.jpg","text":"TemporaryFile(/tmp/multipartBody8774972019461413730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933823633,"filename":"image_31102025_19_29_46_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/5/4f2c9ca98940f10fc46869c151e323d4.jpg","text":"TemporaryFile(/tmp/multipartBody6595118460032561944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933823633,"filename":"image_31102025_19_29_43_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/5/c5094fac1087849db77f30fd26336e8c.jpg","text":"TemporaryFile(/tmp/multipartBody160387877751503026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933823633,"filename":"image_31102025_19_29_37_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/5/9126cc0f6f2e8b21652c0b809490eff0.jpg","text":"TemporaryFile(/tmp/multipartBody8792525435981044157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933823633,"filename":"image_31102025_19_29_35_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/5/6708b60662073617873b18b78353a7e6.jpg","text":"TemporaryFile(/tmp/multipartBody4634175263668133005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933823633,"filename":"image_31102025_19_29_41_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/5/3a436ff24c71e6c84aa164fe2efea170.jpg","text":"TemporaryFile(/tmp/multipartBody3388351833801839560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933823633,"filename":"image_31102025_19_29_28_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082281","file1":"1398082280","file0":"1398082279","file4":"1398082347","file5":"1398082386","file3":"1398082310"},"map_files_photo_id_array":[{"photo_id":"1398082386","filename":"file5"},{"photo_id":"1398082281","filename":"file2"},{"photo_id":"1398082347","filename":"file4"},{"photo_id":"1398082280","filename":"file1"},{"photo_id":"1398082279","filename":"file0"},{"photo_id":"1398082310","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398082386":["hashtag1","hashtag2"]},{"1398082347":["hashtag1","hashtag2"]},{"1398082281":["hashtag1","hashtag2"]},{"1398082280":["hashtag1","hashtag2"]},{"1398082310":["hashtag1","hashtag2"]},{"1398082279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398082386, 1398082347, 1398082281, 1398082280, 1398082310, 1398082279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43308687210083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:23:22.201336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/56/image_05122025_11_56_15_9637.jpg', '/home/pi/Desktop/images/05122025/11/56/image_05122025_11_56_24_9689.jpg', '/home/pi/Desktop/images/05122025/11/56/image_05122025_11_56_35_10602.jpg', '/home/pi/Desktop/images/05122025/11/56/image_05122025_11_56_45_9563.jpg', '/home/pi/Desktop/images/05122025/11/56/image_05122025_11_56_55_10642.jpg', '/home/pi/Desktop/images/05122025/11/56/image_05122025_11_57_05_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/56/image_05122025_11_56_15_9637.jpg
/home/pi/Desktop/images/05122025/11/56/image_05122025_11_56_24_9689.jpg
/home/pi/Desktop/images/05122025/11/56/image_05122025_11_56_35_10602.jpg
/home/pi/Desktop/images/05122025/11/56/image_05122025_11_56_45_9563.jpg
/home/pi/Desktop/images/05122025/11/56/image_05122025_11_56_55_10642.jpg
/home/pi/Desktop/images/05122025/11/56/image_05122025_11_57_05_9547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398082429","1398082431","1398082433","1398082436","1398082435","1398082447"],"photo_ids_order":["1398082429","1398082431","1398082433","1398082435","1398082436","1398082447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/366b04d7a34741fe5636335b9302d017.jpg","text":"TemporaryFile(/tmp/multipartBody88055127447382397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933862913,"filename":"image_05122025_11_56_15_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/5/ef7ea75037d95d917f342b76ba6162d4.jpg","text":"TemporaryFile(/tmp/multipartBody1292767807180030801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933862913,"filename":"image_05122025_11_56_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/5/1beb74482859d4633b2512debc12b1f8.jpg","text":"TemporaryFile(/tmp/multipartBody5757746467396642360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933862913,"filename":"image_05122025_11_56_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/5/7403f4bb1bc0674eb14b34a42eb1971d.jpg","text":"TemporaryFile(/tmp/multipartBody598205334266630624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933862913,"filename":"image_05122025_11_56_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/5/5d4606454cab041df54a6363f9af0508.jpg","text":"TemporaryFile(/tmp/multipartBody2632443646130492115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933862913,"filename":"image_05122025_11_56_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d080a43e7d663edbe12ffe4f575a4448.jpg","text":"TemporaryFile(/tmp/multipartBody3704453234995754473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933862913,"filename":"image_05122025_11_57_05_9547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082433","file1":"1398082431","file0":"1398082429","file4":"1398082436","file5":"1398082447","file3":"1398082435"},"map_files_photo_id_array":[{"photo_id":"1398082447","filename":"file5"},{"photo_id":"1398082433","filename":"file2"},{"photo_id":"1398082436","filename":"file4"},{"photo_id":"1398082431","filename":"file1"},{"photo_id":"1398082429","filename":"file0"},{"photo_id":"1398082435","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082429":["hashtag1","hashtag2"]},{"1398082431":["hashtag1","hashtag2"]},{"1398082433":["hashtag1","hashtag2"]},{"1398082436":["hashtag1","hashtag2"]},{"1398082435":["hashtag1","hashtag2"]},{"1398082447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082429, 1398082431, 1398082433, 1398082436, 1398082435, 1398082447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19116997718811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:24:03.192826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/57/image_05122025_11_57_14_9593.jpg', '/home/pi/Desktop/images/05122025/11/57/image_05122025_11_57_25_10685.jpg', '/home/pi/Desktop/images/05122025/11/57/image_05122025_11_57_35_9661.jpg', '/home/pi/Desktop/images/05122025/11/57/image_05122025_11_57_44_9729.jpg', '/home/pi/Desktop/images/05122025/11/57/image_05122025_11_58_05_9735.jpg', '/home/pi/Desktop/images/05122025/11/58/image_05122025_11_58_15_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/57/image_05122025_11_57_14_9593.jpg
/home/pi/Desktop/images/05122025/11/57/image_05122025_11_57_25_10685.jpg
/home/pi/Desktop/images/05122025/11/57/image_05122025_11_57_35_9661.jpg
/home/pi/Desktop/images/05122025/11/57/image_05122025_11_57_44_9729.jpg
/home/pi/Desktop/images/05122025/11/57/image_05122025_11_58_05_9735.jpg
/home/pi/Desktop/images/05122025/11/58/image_05122025_11_58_15_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":["1398082458","1398082455","1398082460","1398082457","1398082462","1398082456"],"photo_ids_order":["1398082455","1398082456","1398082457","1398082458","1398082460","1398082462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/72075ae2ba231b106e74e3e67ed1ec40.jpg","text":"TemporaryFile(/tmp/multipartBody8771921552323302115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933905208,"filename":"image_05122025_11_57_44_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c0d7e6065347457fba47411a22b523cd.jpg","text":"TemporaryFile(/tmp/multipartBody7784056579152079628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933905208,"filename":"image_05122025_11_57_14_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/5/9a13424eed6349e649808ddaeb9d3825.jpg","text":"TemporaryFile(/tmp/multipartBody2408725545078762367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933905208,"filename":"image_05122025_11_58_05_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5179d409145f032ddd2886027932744c.jpg","text":"TemporaryFile(/tmp/multipartBody4751034012048524183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933905208,"filename":"image_05122025_11_57_35_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/33a53e91f58329243955f85f431578bd.jpg","text":"TemporaryFile(/tmp/multipartBody5687238447130001309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933905208,"filename":"image_05122025_11_58_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/5/d3bbfb6442b270e97cf2bcf6d3231a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6462240515038059583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933905208,"filename":"image_05122025_11_57_25_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082457","file1":"1398082456","file0":"1398082455","file4":"1398082460","file5":"1398082462","file3":"1398082458"},"map_files_photo_id_array":[{"photo_id":"1398082462","filename":"file5"},{"photo_id":"1398082457","filename":"file2"},{"photo_id":"1398082460","filename":"file4"},{"photo_id":"1398082456","filename":"file1"},{"photo_id":"1398082455","filename":"file0"},{"photo_id":"1398082458","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082458":["hashtag1","hashtag2"]},{"1398082455":["hashtag1","hashtag2"]},{"1398082460":["hashtag1","hashtag2"]},{"1398082457":["hashtag1","hashtag2"]},{"1398082462":["hashtag1","hashtag2"]},{"1398082456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082458, 1398082455, 1398082460, 1398082457, 1398082462, 1398082456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37582063674927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:24:42.541615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_50_3731.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_52_2606.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_55_2867.jpg', '/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_58_2573.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_07_3011.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_11_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_50_3731.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_52_2606.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_55_2867.jpg
/home/pi/Desktop/images/31102025/19/29/image_31102025_19_29_58_2573.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_07_3011.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_11_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":["1398082470","1398082473","1398082475","1398082466","1398082471","1398082468"],"photo_ids_order":["1398082466","1398082468","1398082470","1398082471","1398082473","1398082475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/18e1a81dc9a95e40696937f61f729476.jpg","text":"TemporaryFile(/tmp/multipartBody1517075220752906054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933944157,"filename":"image_31102025_19_29_55_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/5/f4e738613f271c2da795ffb93f8b5168.jpg","text":"TemporaryFile(/tmp/multipartBody2192830710235710806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933944157,"filename":"image_31102025_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/5/c194001762dd66f866d10a3eadb747b9.jpg","text":"TemporaryFile(/tmp/multipartBody272478969974886998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933944157,"filename":"image_31102025_19_30_11_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a7fc5df8b02b41ea88f2acf44ce29c1.jpg","text":"TemporaryFile(/tmp/multipartBody4188641415127336354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933944157,"filename":"image_31102025_19_29_50_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/5/44b745fc786c70ef4383e6fd8cc61102.jpg","text":"TemporaryFile(/tmp/multipartBody7605828018117759981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933944157,"filename":"image_31102025_19_29_58_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/5/a13898e4b29349abc835b3de371713c2.jpg","text":"TemporaryFile(/tmp/multipartBody5032759866187719620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933944157,"filename":"image_31102025_19_29_52_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082470","file1":"1398082468","file0":"1398082466","file4":"1398082473","file5":"1398082475","file3":"1398082471"},"map_files_photo_id_array":[{"photo_id":"1398082475","filename":"file5"},{"photo_id":"1398082470","filename":"file2"},{"photo_id":"1398082473","filename":"file4"},{"photo_id":"1398082468","filename":"file1"},{"photo_id":"1398082466","filename":"file0"},{"photo_id":"1398082471","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398082470":["hashtag1","hashtag2"]},{"1398082473":["hashtag1","hashtag2"]},{"1398082475":["hashtag1","hashtag2"]},{"1398082466":["hashtag1","hashtag2"]},{"1398082471":["hashtag1","hashtag2"]},{"1398082468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398082470, 1398082473, 1398082475, 1398082466, 1398082471, 1398082468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.883105993270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:25:22.673925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/58/image_05122025_11_58_25_10608.jpg', '/home/pi/Desktop/images/05122025/11/58/image_05122025_11_58_35_9722.jpg', '/home/pi/Desktop/images/05122025/11/58/image_05122025_11_58_45_9744.jpg', '/home/pi/Desktop/images/05122025/11/58/image_05122025_11_58_55_9812.jpg', '/home/pi/Desktop/images/05122025/11/58/image_05122025_11_59_05_10626.jpg', '/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_15_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/58/image_05122025_11_58_25_10608.jpg
/home/pi/Desktop/images/05122025/11/58/image_05122025_11_58_35_9722.jpg
/home/pi/Desktop/images/05122025/11/58/image_05122025_11_58_45_9744.jpg
/home/pi/Desktop/images/05122025/11/58/image_05122025_11_58_55_9812.jpg
/home/pi/Desktop/images/05122025/11/58/image_05122025_11_59_05_10626.jpg
/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_15_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398082507","1398082497","1398082491","1398082488","1398082524","1398082526"],"photo_ids_order":["1398082488","1398082491","1398082497","1398082507","1398082524","1398082526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a78fb0ea1fe6eaa7f7f6e7950aebcb31.jpg","text":"TemporaryFile(/tmp/multipartBody3130605845662675424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933983330,"filename":"image_05122025_11_58_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/5/54a04cadc0c1c95499d29cebd6b8d80d.jpg","text":"TemporaryFile(/tmp/multipartBody1874355041807482348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933983330,"filename":"image_05122025_11_58_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/5/17723781d6263958fc2ce8748d029a35.jpg","text":"TemporaryFile(/tmp/multipartBody338157846903418985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933983330,"filename":"image_05122025_11_58_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/5/65a88d4c33ee6de19c908a829ac19f28.jpg","text":"TemporaryFile(/tmp/multipartBody2636673240121889425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933983330,"filename":"image_05122025_11_58_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/5/99cbd4c7a3d9189520a5d03021126f16.jpg","text":"TemporaryFile(/tmp/multipartBody962985967434279090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933983330,"filename":"image_05122025_11_59_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/5/9bfdef51850dd4287206b96e29b273ab.jpg","text":"TemporaryFile(/tmp/multipartBody9096999491330960784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764933983330,"filename":"image_05122025_11_59_15_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082497","file1":"1398082491","file0":"1398082488","file4":"1398082524","file5":"1398082526","file3":"1398082507"},"map_files_photo_id_array":[{"photo_id":"1398082526","filename":"file5"},{"photo_id":"1398082497","filename":"file2"},{"photo_id":"1398082524","filename":"file4"},{"photo_id":"1398082491","filename":"file1"},{"photo_id":"1398082488","filename":"file0"},{"photo_id":"1398082507","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082507":["hashtag1","hashtag2"]},{"1398082497":["hashtag1","hashtag2"]},{"1398082491":["hashtag1","hashtag2"]},{"1398082488":["hashtag1","hashtag2"]},{"1398082524":["hashtag1","hashtag2"]},{"1398082526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082507, 1398082497, 1398082491, 1398082488, 1398082524, 1398082526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97166037559509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:26:03.026148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_25_9819.jpg', '/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_35_9916.jpg', '/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_45_10626.jpg', '/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_55_9739.jpg', '/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_13_10037.jpg', '/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_24_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_25_9819.jpg
/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_35_9916.jpg
/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_45_10626.jpg
/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_55_9739.jpg
/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_13_10037.jpg
/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_24_10621.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5762088298797607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:26:12.436984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/19/04/image_02122025_19_04_15_9673.jpg', '/home/pi/Desktop/images/02122025/19/06/image_02122025_19_06_55_10619.jpg', '/home/pi/Desktop/images/02122025/19/14/image_02122025_19_14_55_9621.jpg', '/home/pi/Desktop/images/02122025/19/15/image_02122025_19_15_25_9630.jpg', '/home/pi/Desktop/images/02122025/19/15/image_02122025_19_15_35_9627.jpg', '/home/pi/Desktop/images/02122025/19/16/image_02122025_19_16_46_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/19/04/image_02122025_19_04_15_9673.jpg
/home/pi/Desktop/images/02122025/19/06/image_02122025_19_06_55_10619.jpg
/home/pi/Desktop/images/02122025/19/14/image_02122025_19_14_55_9621.jpg
/home/pi/Desktop/images/02122025/19/15/image_02122025_19_15_25_9630.jpg
/home/pi/Desktop/images/02122025/19/15/image_02122025_19_15_35_9627.jpg
/home/pi/Desktop/images/02122025/19/16/image_02122025_19_16_46_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":["1398082533","1398082542","1398082536","1398082538","1398082540","1398082531"],"photo_ids_order":["1398082531","1398082533","1398082536","1398082538","1398082540","1398082542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7119fdb38764f0093340753516ab1f4b.jpg","text":"TemporaryFile(/tmp/multipartBody7003177550998352192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934034522,"filename":"image_02122025_19_06_55_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/5/027c01386c721a364e0c28b6ddc24e03.jpg","text":"TemporaryFile(/tmp/multipartBody5761663196237035187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934034522,"filename":"image_02122025_19_16_46_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/5/4dbc552c4d5fb9468300aab79a60e1bc.jpg","text":"TemporaryFile(/tmp/multipartBody7491304391979695739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934034522,"filename":"image_02122025_19_14_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c29c369921b0dd265cbe6d22a13db455.jpg","text":"TemporaryFile(/tmp/multipartBody4135397946997234664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934034522,"filename":"image_02122025_19_15_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c01c443167fc484551398cc843514ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8443686793309733222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934034522,"filename":"image_02122025_19_15_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/5/e12f7ed7c12e044adac5963f26cbe75b.jpg","text":"TemporaryFile(/tmp/multipartBody1258892157649139929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934034522,"filename":"image_02122025_19_04_15_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082536","file1":"1398082533","file0":"1398082531","file4":"1398082540","file5":"1398082542","file3":"1398082538"},"map_files_photo_id_array":[{"photo_id":"1398082542","filename":"file5"},{"photo_id":"1398082536","filename":"file2"},{"photo_id":"1398082540","filename":"file4"},{"photo_id":"1398082533","filename":"file1"},{"photo_id":"1398082531","filename":"file0"},{"photo_id":"1398082538","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398082533":["hashtag1","hashtag2"]},{"1398082542":["hashtag1","hashtag2"]},{"1398082536":["hashtag1","hashtag2"]},{"1398082538":["hashtag1","hashtag2"]},{"1398082540":["hashtag1","hashtag2"]},{"1398082531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398082533, 1398082542, 1398082536, 1398082538, 1398082540, 1398082531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.295472621917725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:27:03.248374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_25_9819.jpg', '/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_35_9916.jpg', '/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_45_10626.jpg', '/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_55_9739.jpg', '/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_13_10037.jpg', '/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_24_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_25_9819.jpg
/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_35_9916.jpg
/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_45_10626.jpg
/home/pi/Desktop/images/05122025/11/59/image_05122025_11_59_55_9739.jpg
/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_13_10037.jpg
/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_24_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":["1398082548","1398082550","1398082547","1398082552","1398082549","1398082546"],"photo_ids_order":["1398082546","1398082547","1398082548","1398082549","1398082550","1398082552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dcc1cce8fdb118d72accb75ad940122c.jpg","text":"TemporaryFile(/tmp/multipartBody2546094819162873335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934083971,"filename":"image_05122025_11_59_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/5/1d44beb6d62e4491f1e0a2fada39b73a.jpg","text":"TemporaryFile(/tmp/multipartBody8434237429182345562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934083971,"filename":"image_05122025_12_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/5/1d85834e54bac42945c809d9e6a188bb.jpg","text":"TemporaryFile(/tmp/multipartBody6437955581163871023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934083971,"filename":"image_05122025_11_59_35_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/26e3e835167f222ce2ef8addd4316a65.jpg","text":"TemporaryFile(/tmp/multipartBody4579144255038203392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934083971,"filename":"image_05122025_12_01_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/5/59f9661b400627dfc58c4cd1918f64ca.jpg","text":"TemporaryFile(/tmp/multipartBody4600038361191500122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934083971,"filename":"image_05122025_11_59_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/5/67b0d34075fd2c78f5eb365ec3005930.jpg","text":"TemporaryFile(/tmp/multipartBody6071027886326190050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934083971,"filename":"image_05122025_11_59_25_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082548","file1":"1398082547","file0":"1398082546","file4":"1398082550","file5":"1398082552","file3":"1398082549"},"map_files_photo_id_array":[{"photo_id":"1398082552","filename":"file5"},{"photo_id":"1398082548","filename":"file2"},{"photo_id":"1398082550","filename":"file4"},{"photo_id":"1398082547","filename":"file1"},{"photo_id":"1398082546","filename":"file0"},{"photo_id":"1398082549","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082548":["hashtag1","hashtag2"]},{"1398082550":["hashtag1","hashtag2"]},{"1398082547":["hashtag1","hashtag2"]},{"1398082552":["hashtag1","hashtag2"]},{"1398082549":["hashtag1","hashtag2"]},{"1398082546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082548, 1398082550, 1398082547, 1398082552, 1398082549, 1398082546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27519416809082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:27:42.659223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_14_2509.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_20_2696.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_23_2661.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_26_2892.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_29_3675.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_32_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_14_2509.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_20_2696.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_23_2661.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_26_2892.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_29_3675.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_32_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":["1398082563","1398082560","1398082562","1398082561","1398082564","1398082558"],"photo_ids_order":["1398082558","1398082560","1398082561","1398082562","1398082563","1398082564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/268b84092cba04d540baa7319d190904.jpg","text":"TemporaryFile(/tmp/multipartBody3171714805853505673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934124282,"filename":"image_31102025_19_30_29_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/5/0d1c70bd3d7e35504f74c7d84a443e45.jpg","text":"TemporaryFile(/tmp/multipartBody3249418420174673566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934124282,"filename":"image_31102025_19_30_20_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e95366b72218f7d4a27128ab6749286.jpg","text":"TemporaryFile(/tmp/multipartBody1251382541835489815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934124282,"filename":"image_31102025_19_30_26_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4844a2395f65b2623f2494624550e8e1.jpg","text":"TemporaryFile(/tmp/multipartBody5549733312806268856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934124282,"filename":"image_31102025_19_30_23_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/5/31ee5f3f39b8252c18d5e8a7e4a82eb7.jpg","text":"TemporaryFile(/tmp/multipartBody3332774520780093436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934124282,"filename":"image_31102025_19_30_32_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/5/7be6e22168e1cf3e32470fb250216183.jpg","text":"TemporaryFile(/tmp/multipartBody1194553904262496236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934124282,"filename":"image_31102025_19_30_14_2509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082561","file1":"1398082560","file0":"1398082558","file4":"1398082563","file5":"1398082564","file3":"1398082562"},"map_files_photo_id_array":[{"photo_id":"1398082564","filename":"file5"},{"photo_id":"1398082561","filename":"file2"},{"photo_id":"1398082563","filename":"file4"},{"photo_id":"1398082560","filename":"file1"},{"photo_id":"1398082558","filename":"file0"},{"photo_id":"1398082562","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398082563":["hashtag1","hashtag2"]},{"1398082560":["hashtag1","hashtag2"]},{"1398082562":["hashtag1","hashtag2"]},{"1398082561":["hashtag1","hashtag2"]},{"1398082564":["hashtag1","hashtag2"]},{"1398082558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398082563, 1398082560, 1398082562, 1398082561, 1398082564, 1398082558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38198947906494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:28:21.964252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_34_9606.jpg', '/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_43_9792.jpg', '/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_54_10736.jpg', '/home/pi/Desktop/images/05122025/12/01/image_05122025_12_02_04_9687.jpg', '/home/pi/Desktop/images/05122025/12/02/image_05122025_12_02_14_9769.jpg', '/home/pi/Desktop/images/05122025/12/02/image_05122025_12_02_24_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_34_9606.jpg
/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_43_9792.jpg
/home/pi/Desktop/images/05122025/12/01/image_05122025_12_01_54_10736.jpg
/home/pi/Desktop/images/05122025/12/01/image_05122025_12_02_04_9687.jpg
/home/pi/Desktop/images/05122025/12/02/image_05122025_12_02_14_9769.jpg
/home/pi/Desktop/images/05122025/12/02/image_05122025_12_02_24_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":["1398082569","1398082568","1398082571","1398082565","1398082573","1398082576"],"photo_ids_order":["1398082565","1398082568","1398082569","1398082571","1398082573","1398082576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d76fad7b3fd490081003a671ac9a400f.jpg","text":"TemporaryFile(/tmp/multipartBody4861293120119711756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934162627,"filename":"image_05122025_12_01_54_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/5/9e20d82b061406abb5fd16b648ea9046.jpg","text":"TemporaryFile(/tmp/multipartBody301902033414585626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934162627,"filename":"image_05122025_12_01_43_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/5/7f14417d4e82ef88913d1681d79a8729.jpg","text":"TemporaryFile(/tmp/multipartBody1778947762272752025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934162627,"filename":"image_05122025_12_02_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/5/dc6e73bc9ea622b189ad2e38b62a4bdc.jpg","text":"TemporaryFile(/tmp/multipartBody5455502250925373710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934162627,"filename":"image_05122025_12_01_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/5/e1091c12f0d0fbefcfb7cdb3439cfaa3.jpg","text":"TemporaryFile(/tmp/multipartBody6998410675677275502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934162627,"filename":"image_05122025_12_02_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/5/dfbafd283e43a814c7b40a0914a3f0b4.jpg","text":"TemporaryFile(/tmp/multipartBody2728627573791960481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934162627,"filename":"image_05122025_12_02_24_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082569","file1":"1398082568","file0":"1398082565","file4":"1398082573","file5":"1398082576","file3":"1398082571"},"map_files_photo_id_array":[{"photo_id":"1398082576","filename":"file5"},{"photo_id":"1398082569","filename":"file2"},{"photo_id":"1398082573","filename":"file4"},{"photo_id":"1398082568","filename":"file1"},{"photo_id":"1398082565","filename":"file0"},{"photo_id":"1398082571","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082569":["hashtag1","hashtag2"]},{"1398082568":["hashtag1","hashtag2"]},{"1398082571":["hashtag1","hashtag2"]},{"1398082565":["hashtag1","hashtag2"]},{"1398082573":["hashtag1","hashtag2"]},{"1398082576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082569, 1398082568, 1398082571, 1398082565, 1398082573, 1398082576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.878129720687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:29:03.033906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/02/image_05122025_12_02_34_9767.jpg', '/home/pi/Desktop/images/05122025/12/02/image_05122025_12_02_44_9531.jpg', '/home/pi/Desktop/images/05122025/12/02/image_05122025_12_02_54_10698.jpg', '/home/pi/Desktop/images/05122025/12/02/image_05122025_12_03_04_9776.jpg', '/home/pi/Desktop/images/05122025/12/03/image_05122025_12_03_14_9688.jpg', '/home/pi/Desktop/images/05122025/12/03/image_05122025_12_03_24_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/02/image_05122025_12_02_34_9767.jpg
/home/pi/Desktop/images/05122025/12/02/image_05122025_12_02_44_9531.jpg
/home/pi/Desktop/images/05122025/12/02/image_05122025_12_02_54_10698.jpg
/home/pi/Desktop/images/05122025/12/02/image_05122025_12_03_04_9776.jpg
/home/pi/Desktop/images/05122025/12/03/image_05122025_12_03_14_9688.jpg
/home/pi/Desktop/images/05122025/12/03/image_05122025_12_03_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":["1398082581","1398082578","1398082583","1398082585","1398082579","1398082582"],"photo_ids_order":["1398082578","1398082579","1398082581","1398082582","1398082583","1398082585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43e930dcc12688b03e5e98ce7aa05033.jpg","text":"TemporaryFile(/tmp/multipartBody7661107645429355423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934203861,"filename":"image_05122025_12_02_54_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/5/73e1c7cff0e60d4e589fe06383c1f551.jpg","text":"TemporaryFile(/tmp/multipartBody2986684501912287748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934203861,"filename":"image_05122025_12_02_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/5/8e27313afaf8f0ae64f70023b9388400.jpg","text":"TemporaryFile(/tmp/multipartBody4852215282365862693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934203861,"filename":"image_05122025_12_03_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/5/29c33d294a97653205d191f3252691b8.jpg","text":"TemporaryFile(/tmp/multipartBody4231275295650554383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934203861,"filename":"image_05122025_12_03_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/5/58e0a18e7e62e6d2bf148ca2d4fcffe9.jpg","text":"TemporaryFile(/tmp/multipartBody4127819104624450753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934203861,"filename":"image_05122025_12_02_44_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/5/6c4a07393cfe93cded177014d97fe444.jpg","text":"TemporaryFile(/tmp/multipartBody6507140184431359904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934203861,"filename":"image_05122025_12_03_04_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082581","file1":"1398082579","file0":"1398082578","file4":"1398082583","file5":"1398082585","file3":"1398082582"},"map_files_photo_id_array":[{"photo_id":"1398082585","filename":"file5"},{"photo_id":"1398082581","filename":"file2"},{"photo_id":"1398082583","filename":"file4"},{"photo_id":"1398082579","filename":"file1"},{"photo_id":"1398082578","filename":"file0"},{"photo_id":"1398082582","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082581":["hashtag1","hashtag2"]},{"1398082578":["hashtag1","hashtag2"]},{"1398082583":["hashtag1","hashtag2"]},{"1398082585":["hashtag1","hashtag2"]},{"1398082579":["hashtag1","hashtag2"]},{"1398082582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082581, 1398082578, 1398082583, 1398082585, 1398082579, 1398082582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.112961530685425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:29:41.958044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_35_2681.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_38_3701.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_41_2815.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_44_2699.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_47_3621.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_50_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_35_2681.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_38_3701.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_41_2815.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_44_2699.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_47_3621.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_50_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398082647","1398082611","1398082617","1398082640","1398082613","1398082648"],"photo_ids_order":["1398082611","1398082613","1398082617","1398082640","1398082647","1398082648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/efba9325e61b8a7c0ec128db8052bfe1.jpg","text":"TemporaryFile(/tmp/multipartBody5152358073201915393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934243575,"filename":"image_31102025_19_30_47_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/5/68ae696f80859192d7f139dcc9d2faea.jpg","text":"TemporaryFile(/tmp/multipartBody4347328620764760829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934243575,"filename":"image_31102025_19_30_35_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/5/55f689f9d1ac8e95f78dce089f5d528d.jpg","text":"TemporaryFile(/tmp/multipartBody3662833139890328805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934243575,"filename":"image_31102025_19_30_41_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/5/d126428536e319065834d864bd2fd2e0.jpg","text":"TemporaryFile(/tmp/multipartBody693374238074022695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934243575,"filename":"image_31102025_19_30_44_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/5/e6ed343324af0027b2bd2a6c5669cc00.jpg","text":"TemporaryFile(/tmp/multipartBody4081306143968230266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934243575,"filename":"image_31102025_19_30_38_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f43c15c9d66ef8379540da237f71d9af.jpg","text":"TemporaryFile(/tmp/multipartBody8699180766891706177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934243575,"filename":"image_31102025_19_30_50_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082617","file1":"1398082613","file0":"1398082611","file4":"1398082647","file5":"1398082648","file3":"1398082640"},"map_files_photo_id_array":[{"photo_id":"1398082648","filename":"file5"},{"photo_id":"1398082617","filename":"file2"},{"photo_id":"1398082647","filename":"file4"},{"photo_id":"1398082613","filename":"file1"},{"photo_id":"1398082611","filename":"file0"},{"photo_id":"1398082640","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398082647":["hashtag1","hashtag2"]},{"1398082611":["hashtag1","hashtag2"]},{"1398082617":["hashtag1","hashtag2"]},{"1398082640":["hashtag1","hashtag2"]},{"1398082613":["hashtag1","hashtag2"]},{"1398082648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398082647, 1398082611, 1398082617, 1398082640, 1398082613, 1398082648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.773197412490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:30:22.171602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/03/image_05122025_12_03_34_10730.jpg', '/home/pi/Desktop/images/05122025/12/03/image_05122025_12_03_44_9647.jpg', '/home/pi/Desktop/images/05122025/12/03/image_05122025_12_03_54_9639.jpg', '/home/pi/Desktop/images/05122025/12/03/image_05122025_12_04_04_10765.jpg', '/home/pi/Desktop/images/05122025/12/04/image_05122025_12_04_14_9756.jpg', '/home/pi/Desktop/images/05122025/12/04/image_05122025_12_04_24_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/03/image_05122025_12_03_34_10730.jpg
/home/pi/Desktop/images/05122025/12/03/image_05122025_12_03_44_9647.jpg
/home/pi/Desktop/images/05122025/12/03/image_05122025_12_03_54_9639.jpg
/home/pi/Desktop/images/05122025/12/03/image_05122025_12_04_04_10765.jpg
/home/pi/Desktop/images/05122025/12/04/image_05122025_12_04_14_9756.jpg
/home/pi/Desktop/images/05122025/12/04/image_05122025_12_04_24_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398082662","1398082659","1398082653","1398082655","1398082651","1398082657"],"photo_ids_order":["1398082651","1398082653","1398082655","1398082657","1398082659","1398082662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2845d77175e168f5c71d3c95ad9c20c8.jpg","text":"TemporaryFile(/tmp/multipartBody2352712805876365777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934282835,"filename":"image_05122025_12_04_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/5/ac6570fd4facc4ac4ee97d4798ef38c5.jpg","text":"TemporaryFile(/tmp/multipartBody3963473498358103425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934282835,"filename":"image_05122025_12_04_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c799869315140059f79dc8143ed39c5.jpg","text":"TemporaryFile(/tmp/multipartBody8520418309094353150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934282835,"filename":"image_05122025_12_03_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/5/30c08a702c59357b7584b1a3916047ea.jpg","text":"TemporaryFile(/tmp/multipartBody6198597215740970221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934282835,"filename":"image_05122025_12_03_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/5/7d013a321325070a505508acd9725a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4150103448809001635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934282835,"filename":"image_05122025_12_03_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/5/e8abedb41116b8c33c68f47bd8896367.jpg","text":"TemporaryFile(/tmp/multipartBody3725988173988257737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934282835,"filename":"image_05122025_12_04_04_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082655","file1":"1398082653","file0":"1398082651","file4":"1398082659","file5":"1398082662","file3":"1398082657"},"map_files_photo_id_array":[{"photo_id":"1398082662","filename":"file5"},{"photo_id":"1398082655","filename":"file2"},{"photo_id":"1398082659","filename":"file4"},{"photo_id":"1398082653","filename":"file1"},{"photo_id":"1398082651","filename":"file0"},{"photo_id":"1398082657","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082662":["hashtag1","hashtag2"]},{"1398082659":["hashtag1","hashtag2"]},{"1398082653":["hashtag1","hashtag2"]},{"1398082655":["hashtag1","hashtag2"]},{"1398082651":["hashtag1","hashtag2"]},{"1398082657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082662, 1398082659, 1398082653, 1398082655, 1398082651, 1398082657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82213640213013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:31:02.798740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/04/image_05122025_12_04_44_10649.jpg', '/home/pi/Desktop/images/05122025/12/04/image_05122025_12_04_54_9628.jpg', '/home/pi/Desktop/images/05122025/12/04/image_05122025_12_05_04_9791.jpg', '/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_14_10812.jpg', '/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_24_9644.jpg', '/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_34_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/04/image_05122025_12_04_44_10649.jpg
/home/pi/Desktop/images/05122025/12/04/image_05122025_12_04_54_9628.jpg
/home/pi/Desktop/images/05122025/12/04/image_05122025_12_05_04_9791.jpg
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_14_10812.jpg
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_24_9644.jpg
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_34_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":["1398082674","1398082665","1398082668","1398082670","1398082663","1398082666"],"photo_ids_order":["1398082663","1398082665","1398082666","1398082668","1398082670","1398082674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/120a3803bc2736fed3787a3a4726d187.jpg","text":"TemporaryFile(/tmp/multipartBody6839240382865778779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934323579,"filename":"image_05122025_12_05_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/5/3afcffdc2426887506766880fe766bd2.jpg","text":"TemporaryFile(/tmp/multipartBody7466143393953905076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934323579,"filename":"image_05122025_12_04_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ced71e690821d5ffc75533d98fe01445.jpg","text":"TemporaryFile(/tmp/multipartBody742711238715979530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934323579,"filename":"image_05122025_12_05_14_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/5/ce8c25b2490aca81bc98eba9725a21c0.jpg","text":"TemporaryFile(/tmp/multipartBody8899824343168454197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934323579,"filename":"image_05122025_12_05_24_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/5/dcd0933591cb39be9d42ecf889289163.jpg","text":"TemporaryFile(/tmp/multipartBody6809060965983613855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934323579,"filename":"image_05122025_12_04_44_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/5/c85166331e1b9a11b8706d1fb0ae0ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6834626129550932933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934323579,"filename":"image_05122025_12_05_04_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082666","file1":"1398082665","file0":"1398082663","file4":"1398082670","file5":"1398082674","file3":"1398082668"},"map_files_photo_id_array":[{"photo_id":"1398082674","filename":"file5"},{"photo_id":"1398082666","filename":"file2"},{"photo_id":"1398082670","filename":"file4"},{"photo_id":"1398082665","filename":"file1"},{"photo_id":"1398082663","filename":"file0"},{"photo_id":"1398082668","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082674":["hashtag1","hashtag2"]},{"1398082665":["hashtag1","hashtag2"]},{"1398082668":["hashtag1","hashtag2"]},{"1398082670":["hashtag1","hashtag2"]},{"1398082663":["hashtag1","hashtag2"]},{"1398082666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082674, 1398082665, 1398082668, 1398082670, 1398082663, 1398082666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48714828491211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:31:42.349576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_53_2621.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_56_3691.jpg', '/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_59_2668.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_02_2674.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_05_3579.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_08_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_53_2621.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_56_3691.jpg
/home/pi/Desktop/images/31102025/19/30/image_31102025_19_30_59_2668.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_02_2674.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_05_3579.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_08_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":["1398082683","1398082686","1398082685","1398082681","1398082684","1398082687"],"photo_ids_order":["1398082681","1398082683","1398082684","1398082685","1398082686","1398082687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b77226769a6f4cb0c6b44978ef08b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2491819184645393960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934363956,"filename":"image_31102025_19_30_56_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/5/9537da060389c553799d5c3d5b39e169.jpg","text":"TemporaryFile(/tmp/multipartBody113193570631980180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934363956,"filename":"image_31102025_19_31_05_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0a5bbcdd00c41805293a8e74330d30b.jpg","text":"TemporaryFile(/tmp/multipartBody5008894487244008253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934363956,"filename":"image_31102025_19_31_02_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/5/06e289b3410df1212f8256a6b93a9d66.jpg","text":"TemporaryFile(/tmp/multipartBody4107340919357763258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934363956,"filename":"image_31102025_19_30_53_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/5/b067355aab0d62cc18e67ea46424d29e.jpg","text":"TemporaryFile(/tmp/multipartBody8981905504253110654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934363956,"filename":"image_31102025_19_30_59_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/5/5e617a6e95216f6ff84e93226adb3e32.jpg","text":"TemporaryFile(/tmp/multipartBody7431958609215275095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934363956,"filename":"image_31102025_19_31_08_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082684","file1":"1398082683","file0":"1398082681","file4":"1398082686","file5":"1398082687","file3":"1398082685"},"map_files_photo_id_array":[{"photo_id":"1398082687","filename":"file5"},{"photo_id":"1398082684","filename":"file2"},{"photo_id":"1398082686","filename":"file4"},{"photo_id":"1398082683","filename":"file1"},{"photo_id":"1398082681","filename":"file0"},{"photo_id":"1398082685","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398082683":["hashtag1","hashtag2"]},{"1398082686":["hashtag1","hashtag2"]},{"1398082685":["hashtag1","hashtag2"]},{"1398082681":["hashtag1","hashtag2"]},{"1398082684":["hashtag1","hashtag2"]},{"1398082687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398082683, 1398082686, 1398082685, 1398082681, 1398082684, 1398082687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.276312589645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:32:22.566234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_44_9849.jpg', '/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_54_10632.jpg', '/home/pi/Desktop/images/05122025/12/05/image_05122025_12_06_04_9705.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_14_9752.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_24_10701.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_44_9849.jpg
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_54_10632.jpg
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_06_04_9705.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_14_9752.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_24_10701.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_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.5818886756896973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:32:32.635209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/19/17/image_02122025_19_17_16_10696.jpg', '/home/pi/Desktop/images/02122025/19/17/image_02122025_19_17_25_9724.jpg', '/home/pi/Desktop/images/02122025/19/17/image_02122025_19_17_35_9653.jpg', '/home/pi/Desktop/images/02122025/19/19/image_02122025_19_19_25_9750.jpg', '/home/pi/Desktop/images/02122025/19/34/image_02122025_19_34_35_9664.jpg', '/home/pi/Desktop/images/02122025/19/35/image_02122025_19_35_25_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/19/17/image_02122025_19_17_16_10696.jpg
/home/pi/Desktop/images/02122025/19/17/image_02122025_19_17_25_9724.jpg
/home/pi/Desktop/images/02122025/19/17/image_02122025_19_17_35_9653.jpg
/home/pi/Desktop/images/02122025/19/19/image_02122025_19_19_25_9750.jpg
/home/pi/Desktop/images/02122025/19/34/image_02122025_19_34_35_9664.jpg
/home/pi/Desktop/images/02122025/19/35/image_02122025_19_35_25_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":["1398082697","1398082701","1398082694","1398082703","1398082700","1398082702"],"photo_ids_order":["1398082694","1398082697","1398082700","1398082701","1398082702","1398082703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/63aaa388d9dcdab8351fb7206f5297a8.jpg","text":"TemporaryFile(/tmp/multipartBody9188733410034906684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934415138,"filename":"image_02122025_19_17_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03a18adbf04635478bf37641b16766dd.jpg","text":"TemporaryFile(/tmp/multipartBody4133649419396444227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934415138,"filename":"image_02122025_19_19_25_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/5/5df84ff8e7aa2bc7f562ea45a776cba4.jpg","text":"TemporaryFile(/tmp/multipartBody3787670659066219485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934415138,"filename":"image_02122025_19_17_16_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/5/291fe25b21b8c21bed416fbefb4dacd7.jpg","text":"TemporaryFile(/tmp/multipartBody6418473381537670856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934415138,"filename":"image_02122025_19_35_25_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/5/581d916cd1babd62e2e243939b992cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1966365765761204337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934415138,"filename":"image_02122025_19_17_35_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/5/5f6de63e5d89cabec33cb930a8ae9f42.jpg","text":"TemporaryFile(/tmp/multipartBody3190970657489826485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934415138,"filename":"image_02122025_19_34_35_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082700","file1":"1398082697","file0":"1398082694","file4":"1398082702","file5":"1398082703","file3":"1398082701"},"map_files_photo_id_array":[{"photo_id":"1398082703","filename":"file5"},{"photo_id":"1398082700","filename":"file2"},{"photo_id":"1398082702","filename":"file4"},{"photo_id":"1398082697","filename":"file1"},{"photo_id":"1398082694","filename":"file0"},{"photo_id":"1398082701","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398082697":["hashtag1","hashtag2"]},{"1398082701":["hashtag1","hashtag2"]},{"1398082694":["hashtag1","hashtag2"]},{"1398082703":["hashtag1","hashtag2"]},{"1398082700":["hashtag1","hashtag2"]},{"1398082702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398082697, 1398082701, 1398082694, 1398082703, 1398082700, 1398082702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69648838043213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:33:12.757106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/19/37/image_02122025_19_37_45_9568.jpg', '/home/pi/Desktop/images/02122025/19/38/image_02122025_19_38_25_9841.jpg', '/home/pi/Desktop/images/02122025/19/41/image_02122025_19_41_25_9762.jpg', '/home/pi/Desktop/images/02122025/19/41/image_02122025_19_41_55_9962.jpg', '/home/pi/Desktop/images/02122025/19/42/image_02122025_19_42_36_10759.jpg', '/home/pi/Desktop/images/02122025/19/42/image_02122025_19_42_55_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/19/37/image_02122025_19_37_45_9568.jpg
/home/pi/Desktop/images/02122025/19/38/image_02122025_19_38_25_9841.jpg
/home/pi/Desktop/images/02122025/19/41/image_02122025_19_41_25_9762.jpg
/home/pi/Desktop/images/02122025/19/41/image_02122025_19_41_55_9962.jpg
/home/pi/Desktop/images/02122025/19/42/image_02122025_19_42_36_10759.jpg
/home/pi/Desktop/images/02122025/19/42/image_02122025_19_42_55_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398082711","1398082705","1398082713","1398082707","1398082704","1398082709"],"photo_ids_order":["1398082704","1398082705","1398082707","1398082709","1398082711","1398082713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17fc0c7a66101d07f624a2abfb1e011a.jpg","text":"TemporaryFile(/tmp/multipartBody2718727011404210308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934454838,"filename":"image_02122025_19_42_36_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/5/238374720081cb0565cb1ada4b28fe90.jpg","text":"TemporaryFile(/tmp/multipartBody676352755973416762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934454838,"filename":"image_02122025_19_38_25_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/5/1e56764771391dfb44f78d2340702bd9.jpg","text":"TemporaryFile(/tmp/multipartBody4970945783617204979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934454838,"filename":"image_02122025_19_42_55_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/5/2781302c4473e0df14d5c449936eeac9.jpg","text":"TemporaryFile(/tmp/multipartBody8708139520568098046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934454838,"filename":"image_02122025_19_41_25_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/837935eccdc50d90b0b0eb964cb59b8d.jpg","text":"TemporaryFile(/tmp/multipartBody1301186664597074765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934454838,"filename":"image_02122025_19_37_45_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/09a216daf2a8e9947a784301b3bc8ba4.jpg","text":"TemporaryFile(/tmp/multipartBody6069617466704857143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934454838,"filename":"image_02122025_19_41_55_9962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082707","file1":"1398082705","file0":"1398082704","file4":"1398082711","file5":"1398082713","file3":"1398082709"},"map_files_photo_id_array":[{"photo_id":"1398082713","filename":"file5"},{"photo_id":"1398082707","filename":"file2"},{"photo_id":"1398082711","filename":"file4"},{"photo_id":"1398082705","filename":"file1"},{"photo_id":"1398082704","filename":"file0"},{"photo_id":"1398082709","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398082711":["hashtag1","hashtag2"]},{"1398082705":["hashtag1","hashtag2"]},{"1398082713":["hashtag1","hashtag2"]},{"1398082707":["hashtag1","hashtag2"]},{"1398082704":["hashtag1","hashtag2"]},{"1398082709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398082711, 1398082705, 1398082713, 1398082707, 1398082704, 1398082709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1578426361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:34:02.571964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_44_9849.jpg', '/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_54_10632.jpg', '/home/pi/Desktop/images/05122025/12/05/image_05122025_12_06_04_9705.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_14_9752.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_24_10701.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_44_9849.jpg
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_54_10632.jpg
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_06_04_9705.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_14_9752.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_24_10701.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_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.6765015125274658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:34:11.840024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/19/43/image_02122025_19_43_15_9673.jpg', '/home/pi/Desktop/images/02122025/19/44/image_02122025_19_44_55_9703.jpg', '/home/pi/Desktop/images/02122025/19/44/image_02122025_19_45_05_9729.jpg', '/home/pi/Desktop/images/02122025/19/45/image_02122025_19_45_16_10874.jpg', '/home/pi/Desktop/images/02122025/19/46/image_02122025_19_46_45_9758.jpg', '/home/pi/Desktop/images/02122025/19/47/image_02122025_19_47_35_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/19/43/image_02122025_19_43_15_9673.jpg
/home/pi/Desktop/images/02122025/19/44/image_02122025_19_44_55_9703.jpg
/home/pi/Desktop/images/02122025/19/44/image_02122025_19_45_05_9729.jpg
/home/pi/Desktop/images/02122025/19/45/image_02122025_19_45_16_10874.jpg
/home/pi/Desktop/images/02122025/19/46/image_02122025_19_46_45_9758.jpg
/home/pi/Desktop/images/02122025/19/47/image_02122025_19_47_35_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":["1398082788","1398082782","1398082785","1398082748","1398082750","1398082753"],"photo_ids_order":["1398082748","1398082750","1398082753","1398082782","1398082785","1398082788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b044441a74259c6c6f8d86d4704600c0.jpg","text":"TemporaryFile(/tmp/multipartBody1472716866335123897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934513939,"filename":"image_02122025_19_47_35_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4b0887e1b3aef6129eb6e5b6156a40d1.jpg","text":"TemporaryFile(/tmp/multipartBody8284809679887752704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934513939,"filename":"image_02122025_19_45_16_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/5/f58e10dfccd193e7fd6f335925577cc3.jpg","text":"TemporaryFile(/tmp/multipartBody4737181320563126431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934513939,"filename":"image_02122025_19_46_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/5/49beca8f2bde2f3bc3dd94aff90fca9d.jpg","text":"TemporaryFile(/tmp/multipartBody5206347708954457528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934513939,"filename":"image_02122025_19_43_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/5/31cfac35fb2ccea36526431396993971.jpg","text":"TemporaryFile(/tmp/multipartBody6340240487130546056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934513939,"filename":"image_02122025_19_44_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/5/83fb211ebe259f541f13220db91d4c85.jpg","text":"TemporaryFile(/tmp/multipartBody1099985811571379584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934513939,"filename":"image_02122025_19_45_05_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082753","file1":"1398082750","file0":"1398082748","file4":"1398082785","file5":"1398082788","file3":"1398082782"},"map_files_photo_id_array":[{"photo_id":"1398082788","filename":"file5"},{"photo_id":"1398082753","filename":"file2"},{"photo_id":"1398082785","filename":"file4"},{"photo_id":"1398082750","filename":"file1"},{"photo_id":"1398082748","filename":"file0"},{"photo_id":"1398082782","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398082788":["hashtag1","hashtag2"]},{"1398082782":["hashtag1","hashtag2"]},{"1398082785":["hashtag1","hashtag2"]},{"1398082748":["hashtag1","hashtag2"]},{"1398082750":["hashtag1","hashtag2"]},{"1398082753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398082788, 1398082782, 1398082785, 1398082748, 1398082750, 1398082753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92711067199707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:35:02.853925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_44_9849.jpg', '/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_54_10632.jpg', '/home/pi/Desktop/images/05122025/12/05/image_05122025_12_06_04_9705.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_14_9752.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_24_10701.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_44_9849.jpg
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_05_54_10632.jpg
/home/pi/Desktop/images/05122025/12/05/image_05122025_12_06_04_9705.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_14_9752.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_24_10701.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_34_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398082794","1398082796","1398082793","1398082798","1398082792","1398082791"],"photo_ids_order":["1398082791","1398082792","1398082793","1398082794","1398082796","1398082798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dcb22a20ec4e137d2f6b21ffac343a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2537197188864321822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934563706,"filename":"image_05122025_12_06_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/5/1219e1f33e915c73f0f05e8d7d270e09.jpg","text":"TemporaryFile(/tmp/multipartBody2179185502079994962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934563706,"filename":"image_05122025_12_06_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/5/a08ad18569ba6ca0b494247e482bd77c.jpg","text":"TemporaryFile(/tmp/multipartBody8153712669779725138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934563706,"filename":"image_05122025_12_06_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/5/215c35940b51f343f80ca1c47c126cc8.jpg","text":"TemporaryFile(/tmp/multipartBody8204572983687990347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934563706,"filename":"image_05122025_12_06_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/5/9fabcbd2a3f7b4b8bd5a3e93e354a575.jpg","text":"TemporaryFile(/tmp/multipartBody1935791408582607423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934563706,"filename":"image_05122025_12_05_54_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/5/54e5954d9891b4d23ca863ff61e463ac.jpg","text":"TemporaryFile(/tmp/multipartBody7078740523716220594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934563706,"filename":"image_05122025_12_05_44_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082793","file1":"1398082792","file0":"1398082791","file4":"1398082796","file5":"1398082798","file3":"1398082794"},"map_files_photo_id_array":[{"photo_id":"1398082798","filename":"file5"},{"photo_id":"1398082793","filename":"file2"},{"photo_id":"1398082796","filename":"file4"},{"photo_id":"1398082792","filename":"file1"},{"photo_id":"1398082791","filename":"file0"},{"photo_id":"1398082794","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082794":["hashtag1","hashtag2"]},{"1398082796":["hashtag1","hashtag2"]},{"1398082793":["hashtag1","hashtag2"]},{"1398082798":["hashtag1","hashtag2"]},{"1398082792":["hashtag1","hashtag2"]},{"1398082791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082794, 1398082796, 1398082793, 1398082798, 1398082792, 1398082791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.195945024490356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:35:42.115367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_11_2751.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_14_3556.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_17_2596.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_20_2771.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_23_3601.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_29_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_11_2751.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_14_3556.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_17_2596.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_20_2771.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_23_3601.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_29_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":["1398082806","1398082803","1398082820","1398082823","1398082828","1398082807"],"photo_ids_order":["1398082803","1398082806","1398082807","1398082820","1398082823","1398082828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ace8116ebd264abaf31289d2128a7168.jpg","text":"TemporaryFile(/tmp/multipartBody4796088818713368355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934603731,"filename":"image_31102025_19_31_14_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/5/a345a06e81eeb88c0b5a7dfdbdad75b7.jpg","text":"TemporaryFile(/tmp/multipartBody7981829476552338448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934603731,"filename":"image_31102025_19_31_11_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/5/b84b1136e30ffeedd9a966a4c3e1050b.jpg","text":"TemporaryFile(/tmp/multipartBody5092373053561988887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934603731,"filename":"image_31102025_19_31_20_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/5/514c1df74a13d546be87048b053447b2.jpg","text":"TemporaryFile(/tmp/multipartBody5039432750774077027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934603731,"filename":"image_31102025_19_31_23_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/5/a49d36147e5f0fcc48f70f513584eb4f.jpg","text":"TemporaryFile(/tmp/multipartBody2298446446779661561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934603731,"filename":"image_31102025_19_31_29_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/5/5430b78ed142d832b0789090e91bc879.jpg","text":"TemporaryFile(/tmp/multipartBody4256214912583417121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934603731,"filename":"image_31102025_19_31_17_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082807","file1":"1398082806","file0":"1398082803","file4":"1398082823","file5":"1398082828","file3":"1398082820"},"map_files_photo_id_array":[{"photo_id":"1398082828","filename":"file5"},{"photo_id":"1398082807","filename":"file2"},{"photo_id":"1398082823","filename":"file4"},{"photo_id":"1398082806","filename":"file1"},{"photo_id":"1398082803","filename":"file0"},{"photo_id":"1398082820","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398082806":["hashtag1","hashtag2"]},{"1398082803":["hashtag1","hashtag2"]},{"1398082820":["hashtag1","hashtag2"]},{"1398082823":["hashtag1","hashtag2"]},{"1398082828":["hashtag1","hashtag2"]},{"1398082807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398082806, 1398082803, 1398082820, 1398082823, 1398082828, 1398082807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56797528266907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:36:22.305626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_44_9558.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_54_10647.jpg', '/home/pi/Desktop/images/05122025/12/06/image_05122025_12_07_04_9778.jpg', '/home/pi/Desktop/images/05122025/12/07/image_05122025_12_07_14_9784.jpg', '/home/pi/Desktop/images/05122025/12/07/image_05122025_12_07_24_10547.jpg', '/home/pi/Desktop/images/05122025/12/07/image_05122025_12_07_34_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_44_9558.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_06_54_10647.jpg
/home/pi/Desktop/images/05122025/12/06/image_05122025_12_07_04_9778.jpg
/home/pi/Desktop/images/05122025/12/07/image_05122025_12_07_14_9784.jpg
/home/pi/Desktop/images/05122025/12/07/image_05122025_12_07_24_10547.jpg
/home/pi/Desktop/images/05122025/12/07/image_05122025_12_07_34_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":["1398082887","1398082883","1398082877","1398082862","1398082885","1398082890"],"photo_ids_order":["1398082862","1398082877","1398082883","1398082885","1398082887","1398082890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f4c91e70cf50298148602c4393a4a2ea.jpg","text":"TemporaryFile(/tmp/multipartBody3356414683261860062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934642957,"filename":"image_05122025_12_07_24_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/5/fc6827f361ac97750be44ce40f573936.jpg","text":"TemporaryFile(/tmp/multipartBody1657960261917025343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934642957,"filename":"image_05122025_12_07_04_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/5/a52d963aa578c6855562ab4db7eb2500.jpg","text":"TemporaryFile(/tmp/multipartBody1903944633294307339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934642957,"filename":"image_05122025_12_06_54_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/5/9a858917bbb103d565c16082ebbb2dfb.jpg","text":"TemporaryFile(/tmp/multipartBody7733131407632443699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934642957,"filename":"image_05122025_12_06_44_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/5/4216ee918fa45985e5dd2290d9e38587.jpg","text":"TemporaryFile(/tmp/multipartBody4018475640647986796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934642957,"filename":"image_05122025_12_07_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/5/32000e6586e007e8d0247c6057d850c9.jpg","text":"TemporaryFile(/tmp/multipartBody4074851757751398539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934642957,"filename":"image_05122025_12_07_34_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082883","file1":"1398082877","file0":"1398082862","file4":"1398082887","file5":"1398082890","file3":"1398082885"},"map_files_photo_id_array":[{"photo_id":"1398082890","filename":"file5"},{"photo_id":"1398082883","filename":"file2"},{"photo_id":"1398082887","filename":"file4"},{"photo_id":"1398082877","filename":"file1"},{"photo_id":"1398082862","filename":"file0"},{"photo_id":"1398082885","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082887":["hashtag1","hashtag2"]},{"1398082883":["hashtag1","hashtag2"]},{"1398082877":["hashtag1","hashtag2"]},{"1398082862":["hashtag1","hashtag2"]},{"1398082885":["hashtag1","hashtag2"]},{"1398082890":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082887, 1398082883, 1398082877, 1398082862, 1398082885, 1398082890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.381765842437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:37:03.152914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/07/image_05122025_12_07_44_9616.jpg', '/home/pi/Desktop/images/05122025/12/07/image_05122025_12_07_54_10619.jpg', '/home/pi/Desktop/images/05122025/12/07/image_05122025_12_08_04_9640.jpg', '/home/pi/Desktop/images/05122025/12/08/image_05122025_12_08_14_9751.jpg', '/home/pi/Desktop/images/05122025/12/08/image_05122025_12_08_24_10857.jpg', '/home/pi/Desktop/images/05122025/12/08/image_05122025_12_08_34_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/07/image_05122025_12_07_44_9616.jpg
/home/pi/Desktop/images/05122025/12/07/image_05122025_12_07_54_10619.jpg
/home/pi/Desktop/images/05122025/12/07/image_05122025_12_08_04_9640.jpg
/home/pi/Desktop/images/05122025/12/08/image_05122025_12_08_14_9751.jpg
/home/pi/Desktop/images/05122025/12/08/image_05122025_12_08_24_10857.jpg
/home/pi/Desktop/images/05122025/12/08/image_05122025_12_08_34_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398082893","1398082896","1398082895","1398082898","1398082892","1398082894"],"photo_ids_order":["1398082892","1398082893","1398082894","1398082895","1398082896","1398082898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ca5a4912b77e269b82856c196b30deee.jpg","text":"TemporaryFile(/tmp/multipartBody165062467387114988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934683830,"filename":"image_05122025_12_07_54_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/5/de85ea88db3f1dd79edbffd3a8deea87.jpg","text":"TemporaryFile(/tmp/multipartBody5077713488001113428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934683830,"filename":"image_05122025_12_08_24_10857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ae405de0dc4f1071c55d7248d3ea2db.jpg","text":"TemporaryFile(/tmp/multipartBody8358236290714826741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934683830,"filename":"image_05122025_12_08_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/5/b9d1507f7cf7bfea29077566d4a3cfd4.jpg","text":"TemporaryFile(/tmp/multipartBody3773740814618628088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934683830,"filename":"image_05122025_12_08_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87813f4c95cb2a933cb58f3b17f29ae2.jpg","text":"TemporaryFile(/tmp/multipartBody7571464147038994557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934683830,"filename":"image_05122025_12_07_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/55f7c06dba949f1bcc2e8e3a2fbfb3a4.jpg","text":"TemporaryFile(/tmp/multipartBody48274999237055554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934683830,"filename":"image_05122025_12_08_04_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082894","file1":"1398082893","file0":"1398082892","file4":"1398082896","file5":"1398082898","file3":"1398082895"},"map_files_photo_id_array":[{"photo_id":"1398082898","filename":"file5"},{"photo_id":"1398082894","filename":"file2"},{"photo_id":"1398082896","filename":"file4"},{"photo_id":"1398082893","filename":"file1"},{"photo_id":"1398082892","filename":"file0"},{"photo_id":"1398082895","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082893":["hashtag1","hashtag2"]},{"1398082896":["hashtag1","hashtag2"]},{"1398082895":["hashtag1","hashtag2"]},{"1398082898":["hashtag1","hashtag2"]},{"1398082892":["hashtag1","hashtag2"]},{"1398082894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082893, 1398082896, 1398082895, 1398082898, 1398082892, 1398082894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85588192939758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:37:42.470315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_31_2651.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_35_3670.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_38_2820.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_40_2582.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_44_3744.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_47_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_31_2651.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_35_3670.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_38_2820.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_40_2582.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_44_3744.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_47_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":["1398082911","1398082905","1398082914","1398082908","1398082913","1398082909"],"photo_ids_order":["1398082905","1398082908","1398082909","1398082911","1398082913","1398082914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8df6548e92be8b6193e822b12fe4a1f6.jpg","text":"TemporaryFile(/tmp/multipartBody7779397715440009961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934724131,"filename":"image_31102025_19_31_40_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84ad3e720457faa91b8bfe6a871c0025.jpg","text":"TemporaryFile(/tmp/multipartBody2909023625704613122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934724131,"filename":"image_31102025_19_31_31_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c6f7e90e27f11888b3d73439f1d03233.jpg","text":"TemporaryFile(/tmp/multipartBody4765177913893233798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934724131,"filename":"image_31102025_19_31_47_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/5/b55a3ef0d2e684e1283496ec24d0104b.jpg","text":"TemporaryFile(/tmp/multipartBody5730086983347993042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934724131,"filename":"image_31102025_19_31_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/5/afd229c0c05de1347a79e06628caab75.jpg","text":"TemporaryFile(/tmp/multipartBody9021655778229401754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934724131,"filename":"image_31102025_19_31_44_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/5/d340a5643811f4c4b9c7cab40862aa5b.jpg","text":"TemporaryFile(/tmp/multipartBody3256639524575842677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934724131,"filename":"image_31102025_19_31_38_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082909","file1":"1398082908","file0":"1398082905","file4":"1398082913","file5":"1398082914","file3":"1398082911"},"map_files_photo_id_array":[{"photo_id":"1398082914","filename":"file5"},{"photo_id":"1398082909","filename":"file2"},{"photo_id":"1398082913","filename":"file4"},{"photo_id":"1398082908","filename":"file1"},{"photo_id":"1398082905","filename":"file0"},{"photo_id":"1398082911","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398082911":["hashtag1","hashtag2"]},{"1398082905":["hashtag1","hashtag2"]},{"1398082914":["hashtag1","hashtag2"]},{"1398082908":["hashtag1","hashtag2"]},{"1398082913":["hashtag1","hashtag2"]},{"1398082909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398082911, 1398082905, 1398082914, 1398082908, 1398082913, 1398082909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39909219741821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:38:22.619141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/08/image_05122025_12_08_44_9719.jpg', '/home/pi/Desktop/images/05122025/12/08/image_05122025_12_08_54_10599.jpg', '/home/pi/Desktop/images/05122025/12/08/image_05122025_12_09_04_9672.jpg', '/home/pi/Desktop/images/05122025/12/09/image_05122025_12_09_14_9609.jpg', '/home/pi/Desktop/images/05122025/12/09/image_05122025_12_09_24_10765.jpg', '/home/pi/Desktop/images/05122025/12/09/image_05122025_12_09_34_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/08/image_05122025_12_08_44_9719.jpg
/home/pi/Desktop/images/05122025/12/08/image_05122025_12_08_54_10599.jpg
/home/pi/Desktop/images/05122025/12/08/image_05122025_12_09_04_9672.jpg
/home/pi/Desktop/images/05122025/12/09/image_05122025_12_09_14_9609.jpg
/home/pi/Desktop/images/05122025/12/09/image_05122025_12_09_24_10765.jpg
/home/pi/Desktop/images/05122025/12/09/image_05122025_12_09_34_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":["1398082918","1398082920","1398082922","1398082916","1398082925","1398082915"],"photo_ids_order":["1398082915","1398082916","1398082918","1398082920","1398082922","1398082925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f991e45da229e9c94b2e63bc80b5378b.jpg","text":"TemporaryFile(/tmp/multipartBody2560602199432305600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934763280,"filename":"image_05122025_12_09_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/5/7f9c5c45d6698c65192111d852f3b4b1.jpg","text":"TemporaryFile(/tmp/multipartBody3200677999047812565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934763280,"filename":"image_05122025_12_09_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a4d92eeb681553eea862dcfe1ca7ae6d.jpg","text":"TemporaryFile(/tmp/multipartBody2867342648421120383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934763280,"filename":"image_05122025_12_09_24_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/5/d286f72c5259d4d976c2b778a9551d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6155275244891937293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934763280,"filename":"image_05122025_12_08_54_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/5/ce52b07f276cd480672e05152bb28648.jpg","text":"TemporaryFile(/tmp/multipartBody5205258430565682607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934763280,"filename":"image_05122025_12_09_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22beae08b77f05fc90167ef53b32e050.jpg","text":"TemporaryFile(/tmp/multipartBody450806949776028120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934763280,"filename":"image_05122025_12_08_44_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082918","file1":"1398082916","file0":"1398082915","file4":"1398082922","file5":"1398082925","file3":"1398082920"},"map_files_photo_id_array":[{"photo_id":"1398082925","filename":"file5"},{"photo_id":"1398082918","filename":"file2"},{"photo_id":"1398082922","filename":"file4"},{"photo_id":"1398082916","filename":"file1"},{"photo_id":"1398082915","filename":"file0"},{"photo_id":"1398082920","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082918":["hashtag1","hashtag2"]},{"1398082920":["hashtag1","hashtag2"]},{"1398082922":["hashtag1","hashtag2"]},{"1398082916":["hashtag1","hashtag2"]},{"1398082925":["hashtag1","hashtag2"]},{"1398082915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082918, 1398082920, 1398082922, 1398082916, 1398082925, 1398082915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00803589820862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:39:03.568675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/09/image_05122025_12_09_44_9701.jpg', '/home/pi/Desktop/images/05122025/12/09/image_05122025_12_09_53_9734.jpg', '/home/pi/Desktop/images/05122025/12/09/image_05122025_12_10_04_10731.jpg', '/home/pi/Desktop/images/05122025/12/10/image_05122025_12_10_14_9890.jpg', '/home/pi/Desktop/images/05122025/12/10/image_05122025_12_10_24_9617.jpg', '/home/pi/Desktop/images/05122025/12/10/image_05122025_12_10_34_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/09/image_05122025_12_09_44_9701.jpg
/home/pi/Desktop/images/05122025/12/09/image_05122025_12_09_53_9734.jpg
/home/pi/Desktop/images/05122025/12/09/image_05122025_12_10_04_10731.jpg
/home/pi/Desktop/images/05122025/12/10/image_05122025_12_10_14_9890.jpg
/home/pi/Desktop/images/05122025/12/10/image_05122025_12_10_24_9617.jpg
/home/pi/Desktop/images/05122025/12/10/image_05122025_12_10_34_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":["1398082958","1398082931","1398082966","1398082951","1398082930","1398082936"],"photo_ids_order":["1398082930","1398082931","1398082936","1398082951","1398082958","1398082966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ede0caf71ccfc9177e30e8168ccfb36.jpg","text":"TemporaryFile(/tmp/multipartBody2917383743960955023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934804443,"filename":"image_05122025_12_10_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/5/15ff61c08feee735880977f1b3c70e12.jpg","text":"TemporaryFile(/tmp/multipartBody4254733886175684345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934804443,"filename":"image_05122025_12_09_53_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/5/45e25af631922287db076b9016f16a22.jpg","text":"TemporaryFile(/tmp/multipartBody7844096962494148286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934804443,"filename":"image_05122025_12_10_34_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/5/b24e794520b985694500c3edfe89ce48.jpg","text":"TemporaryFile(/tmp/multipartBody636386095843609746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934804443,"filename":"image_05122025_12_10_14_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/5/919286373f7c792c10e4a90300fa4975.jpg","text":"TemporaryFile(/tmp/multipartBody6203154683597309966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934804443,"filename":"image_05122025_12_09_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/5/617d6847c89695a68a017665f9bb8bd0.jpg","text":"TemporaryFile(/tmp/multipartBody3564293618292742740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934804443,"filename":"image_05122025_12_10_04_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398082936","file1":"1398082931","file0":"1398082930","file4":"1398082958","file5":"1398082966","file3":"1398082951"},"map_files_photo_id_array":[{"photo_id":"1398082966","filename":"file5"},{"photo_id":"1398082936","filename":"file2"},{"photo_id":"1398082958","filename":"file4"},{"photo_id":"1398082931","filename":"file1"},{"photo_id":"1398082930","filename":"file0"},{"photo_id":"1398082951","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398082958":["hashtag1","hashtag2"]},{"1398082931":["hashtag1","hashtag2"]},{"1398082966":["hashtag1","hashtag2"]},{"1398082951":["hashtag1","hashtag2"]},{"1398082930":["hashtag1","hashtag2"]},{"1398082936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398082958, 1398082931, 1398082966, 1398082951, 1398082930, 1398082936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.173365354537964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:39:42.820428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_50_2593.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_53_3672.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_56_2819.jpg', '/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_59_2707.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_02_2756.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_05_3529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_50_2593.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_53_3672.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_56_2819.jpg
/home/pi/Desktop/images/31102025/19/31/image_31102025_19_31_59_2707.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_02_2756.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_05_3529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083004","1398083001","1398083003","1398083005","1398082999","1398083002"],"photo_ids_order":["1398082999","1398083001","1398083002","1398083003","1398083004","1398083005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c5b46ce1b1a64cfabe074630eebdee9e.jpg","text":"TemporaryFile(/tmp/multipartBody7907574559892524543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934844427,"filename":"image_31102025_19_32_02_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/5/e0cbc3cdd27baef83b65abed60cfdc7c.jpg","text":"TemporaryFile(/tmp/multipartBody866744145090002927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934844427,"filename":"image_31102025_19_31_53_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/5/e532f27af1227e552af306bdd0c6c7e6.jpg","text":"TemporaryFile(/tmp/multipartBody8278913768443878624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934844427,"filename":"image_31102025_19_31_59_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/5/8f0eb611f81769320bbb392f8c55cede.jpg","text":"TemporaryFile(/tmp/multipartBody1818378418937479654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934844427,"filename":"image_31102025_19_32_05_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20c66b4f36b731355cd4388d9f7fb0e3.jpg","text":"TemporaryFile(/tmp/multipartBody319969133253657014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934844427,"filename":"image_31102025_19_31_50_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/5/e9da3169ed2770aea31b62c1c63b88f9.jpg","text":"TemporaryFile(/tmp/multipartBody8081487577594206126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934844427,"filename":"image_31102025_19_31_56_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083002","file1":"1398083001","file0":"1398082999","file4":"1398083004","file5":"1398083005","file3":"1398083003"},"map_files_photo_id_array":[{"photo_id":"1398083005","filename":"file5"},{"photo_id":"1398083002","filename":"file2"},{"photo_id":"1398083004","filename":"file4"},{"photo_id":"1398083001","filename":"file1"},{"photo_id":"1398082999","filename":"file0"},{"photo_id":"1398083003","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398083004":["hashtag1","hashtag2"]},{"1398083001":["hashtag1","hashtag2"]},{"1398083003":["hashtag1","hashtag2"]},{"1398083005":["hashtag1","hashtag2"]},{"1398082999":["hashtag1","hashtag2"]},{"1398083002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398083004, 1398083001, 1398083003, 1398083005, 1398082999, 1398083002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00651431083679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:40:21.943783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/10/image_05122025_12_10_44_9628.jpg', '/home/pi/Desktop/images/05122025/12/10/image_05122025_12_10_54_9707.jpg', '/home/pi/Desktop/images/05122025/12/10/image_05122025_12_11_03_9672.jpg', '/home/pi/Desktop/images/05122025/12/11/image_05122025_12_11_14_10698.jpg', '/home/pi/Desktop/images/05122025/12/11/image_05122025_12_11_24_9733.jpg', '/home/pi/Desktop/images/05122025/12/11/image_05122025_12_11_34_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/10/image_05122025_12_10_44_9628.jpg
/home/pi/Desktop/images/05122025/12/10/image_05122025_12_10_54_9707.jpg
/home/pi/Desktop/images/05122025/12/10/image_05122025_12_11_03_9672.jpg
/home/pi/Desktop/images/05122025/12/11/image_05122025_12_11_14_10698.jpg
/home/pi/Desktop/images/05122025/12/11/image_05122025_12_11_24_9733.jpg
/home/pi/Desktop/images/05122025/12/11/image_05122025_12_11_34_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":["1398083010","1398083013","1398083015","1398083018","1398083006","1398083008"],"photo_ids_order":["1398083006","1398083008","1398083010","1398083013","1398083015","1398083018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c354c565790470fd0ceaef8040d63d9.jpg","text":"TemporaryFile(/tmp/multipartBody2646153542616630219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934882603,"filename":"image_05122025_12_11_03_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/5/5cf7a950f4ce71ee3bb13fa52c5cdddd.jpg","text":"TemporaryFile(/tmp/multipartBody1482082437106544124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934882603,"filename":"image_05122025_12_11_14_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/5/34443555305e10db96235cb705ec2f62.jpg","text":"TemporaryFile(/tmp/multipartBody2823217124853821703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934882603,"filename":"image_05122025_12_11_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c5f302bde924d69fb02d92578563f6d0.jpg","text":"TemporaryFile(/tmp/multipartBody5696981391161800627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934882603,"filename":"image_05122025_12_11_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/5/8593eed7e8c87d4385dca240752fa841.jpg","text":"TemporaryFile(/tmp/multipartBody3979033089458719728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934882603,"filename":"image_05122025_12_10_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/5/3db7af0d808e06d4d87c7cac612264c9.jpg","text":"TemporaryFile(/tmp/multipartBody2871384124639340223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934882603,"filename":"image_05122025_12_10_54_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083010","file1":"1398083008","file0":"1398083006","file4":"1398083015","file5":"1398083018","file3":"1398083013"},"map_files_photo_id_array":[{"photo_id":"1398083018","filename":"file5"},{"photo_id":"1398083010","filename":"file2"},{"photo_id":"1398083015","filename":"file4"},{"photo_id":"1398083008","filename":"file1"},{"photo_id":"1398083006","filename":"file0"},{"photo_id":"1398083013","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083010":["hashtag1","hashtag2"]},{"1398083013":["hashtag1","hashtag2"]},{"1398083015":["hashtag1","hashtag2"]},{"1398083018":["hashtag1","hashtag2"]},{"1398083006":["hashtag1","hashtag2"]},{"1398083008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083010, 1398083013, 1398083015, 1398083018, 1398083006, 1398083008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55331635475159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:41:02.725958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/11/image_05122025_12_11_44_10635.jpg', '/home/pi/Desktop/images/05122025/12/11/image_05122025_12_11_54_9779.jpg', '/home/pi/Desktop/images/05122025/12/11/image_05122025_12_12_04_9792.jpg', '/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_13_9638.jpg', '/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_24_10729.jpg', '/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_34_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/11/image_05122025_12_11_44_10635.jpg
/home/pi/Desktop/images/05122025/12/11/image_05122025_12_11_54_9779.jpg
/home/pi/Desktop/images/05122025/12/11/image_05122025_12_12_04_9792.jpg
/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_13_9638.jpg
/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_24_10729.jpg
/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_34_9692.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":["1398083022","1398083019","1398083021","1398083024","1398083026","1398083020"],"photo_ids_order":["1398083019","1398083020","1398083021","1398083022","1398083024","1398083026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6cc389356e91153c64685ab07e56f0ee.jpg","text":"TemporaryFile(/tmp/multipartBody6216994115460746498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934923477,"filename":"image_05122025_12_12_13_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/5/9be59010409b943695a5c6b482edea73.jpg","text":"TemporaryFile(/tmp/multipartBody4076204235620456314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934923477,"filename":"image_05122025_12_11_44_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/5/17f7c8dbc9c53c823a61726f36b626c5.jpg","text":"TemporaryFile(/tmp/multipartBody4846647237630255214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934923477,"filename":"image_05122025_12_12_04_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/5/601eaf415be1364d8439ef3eba8dfcd1.jpg","text":"TemporaryFile(/tmp/multipartBody7929966090186664826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934923477,"filename":"image_05122025_12_12_24_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/5/1a96cc4426fbe076913ab709001587ac.jpg","text":"TemporaryFile(/tmp/multipartBody7057493171744976644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934923477,"filename":"image_05122025_12_12_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/5/887f80d0c153ef6c1e85ec056bf89629.jpg","text":"TemporaryFile(/tmp/multipartBody583560811796158818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934923477,"filename":"image_05122025_12_11_54_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083021","file1":"1398083020","file0":"1398083019","file4":"1398083024","file5":"1398083026","file3":"1398083022"},"map_files_photo_id_array":[{"photo_id":"1398083026","filename":"file5"},{"photo_id":"1398083021","filename":"file2"},{"photo_id":"1398083024","filename":"file4"},{"photo_id":"1398083020","filename":"file1"},{"photo_id":"1398083019","filename":"file0"},{"photo_id":"1398083022","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083022":["hashtag1","hashtag2"]},{"1398083019":["hashtag1","hashtag2"]},{"1398083021":["hashtag1","hashtag2"]},{"1398083024":["hashtag1","hashtag2"]},{"1398083026":["hashtag1","hashtag2"]},{"1398083020":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083022, 1398083019, 1398083021, 1398083024, 1398083026, 1398083020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98169827461243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:42:02.730282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_43_9580.jpg', '/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_54_10797.jpg', '/home/pi/Desktop/images/05122025/12/12/image_05122025_12_13_04_9589.jpg', '/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_14_9713.jpg', '/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_24_10877.jpg', '/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_34_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_43_9580.jpg
/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_54_10797.jpg
/home/pi/Desktop/images/05122025/12/12/image_05122025_12_13_04_9589.jpg
/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_14_9713.jpg
/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_24_10877.jpg
/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_34_9650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6040322780609131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:42:12.375700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/19/48/image_02122025_19_48_25_9639.jpg', '/home/pi/Desktop/images/02122025/19/48/image_02122025_19_48_45_9668.jpg', '/home/pi/Desktop/images/02122025/19/48/image_02122025_19_49_06_10748.jpg', '/home/pi/Desktop/images/02122025/19/49/image_02122025_19_49_15_9711.jpg', '/home/pi/Desktop/images/02122025/19/49/image_02122025_19_49_25_9883.jpg', '/home/pi/Desktop/images/02122025/19/49/image_02122025_19_49_35_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/19/48/image_02122025_19_48_25_9639.jpg
/home/pi/Desktop/images/02122025/19/48/image_02122025_19_48_45_9668.jpg
/home/pi/Desktop/images/02122025/19/48/image_02122025_19_49_06_10748.jpg
/home/pi/Desktop/images/02122025/19/49/image_02122025_19_49_15_9711.jpg
/home/pi/Desktop/images/02122025/19/49/image_02122025_19_49_25_9883.jpg
/home/pi/Desktop/images/02122025/19/49/image_02122025_19_49_35_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083037","1398083046","1398083039","1398083048","1398083042","1398083044"],"photo_ids_order":["1398083037","1398083039","1398083042","1398083044","1398083046","1398083048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91999ca369a248257b0e203c67da2b04.jpg","text":"TemporaryFile(/tmp/multipartBody6586493981319494142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934994249,"filename":"image_02122025_19_48_25_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/5/2c062c9381835d76a6d7a9528868a786.jpg","text":"TemporaryFile(/tmp/multipartBody7152875160554683719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934994249,"filename":"image_02122025_19_49_25_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/5/89d254859189e22d817ff23c2b56d3c0.jpg","text":"TemporaryFile(/tmp/multipartBody7991274910996878952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934994249,"filename":"image_02122025_19_48_45_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2fdd6bd47a8863e55100b8bd5c00488.jpg","text":"TemporaryFile(/tmp/multipartBody962399639318479941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934994249,"filename":"image_02122025_19_49_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/5/abc14dbd2b5e2eb0aa873d24730d9f8c.jpg","text":"TemporaryFile(/tmp/multipartBody4967719362398099900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934994249,"filename":"image_02122025_19_49_06_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/5/e84b3c8b3086b43be0d91efaa45ce718.jpg","text":"TemporaryFile(/tmp/multipartBody170338429434158753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764934994249,"filename":"image_02122025_19_49_15_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083042","file1":"1398083039","file0":"1398083037","file4":"1398083046","file5":"1398083048","file3":"1398083044"},"map_files_photo_id_array":[{"photo_id":"1398083048","filename":"file5"},{"photo_id":"1398083042","filename":"file2"},{"photo_id":"1398083046","filename":"file4"},{"photo_id":"1398083039","filename":"file1"},{"photo_id":"1398083037","filename":"file0"},{"photo_id":"1398083044","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398083037":["hashtag1","hashtag2"]},{"1398083046":["hashtag1","hashtag2"]},{"1398083039":["hashtag1","hashtag2"]},{"1398083048":["hashtag1","hashtag2"]},{"1398083042":["hashtag1","hashtag2"]},{"1398083044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398083037, 1398083046, 1398083039, 1398083048, 1398083042, 1398083044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.52398872375488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:43:03.180084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_43_9580.jpg', '/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_54_10797.jpg', '/home/pi/Desktop/images/05122025/12/12/image_05122025_12_13_04_9589.jpg', '/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_14_9713.jpg', '/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_24_10877.jpg', '/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_34_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_43_9580.jpg
/home/pi/Desktop/images/05122025/12/12/image_05122025_12_12_54_10797.jpg
/home/pi/Desktop/images/05122025/12/12/image_05122025_12_13_04_9589.jpg
/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_14_9713.jpg
/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_24_10877.jpg
/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_34_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083106","1398083071","1398083104","1398083091","1398083094","1398083073"],"photo_ids_order":["1398083071","1398083073","1398083091","1398083094","1398083104","1398083106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/68e05260f06252b211dffb574ea82548.jpg","text":"TemporaryFile(/tmp/multipartBody8062058214284678068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935043934,"filename":"image_05122025_12_13_34_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/5/7684eb44fb9fc7f53735d4dd674080a4.jpg","text":"TemporaryFile(/tmp/multipartBody5113444776224913704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935043934,"filename":"image_05122025_12_12_43_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/5/e72ea6a7f76e9e65e157de393e8b7191.jpg","text":"TemporaryFile(/tmp/multipartBody8146259698510418853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935043934,"filename":"image_05122025_12_13_24_10877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/308500939c4ed26a24e0508aee055297.jpg","text":"TemporaryFile(/tmp/multipartBody7919962461042462780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935043934,"filename":"image_05122025_12_13_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/5/70622101cfec963fc7e508ae69f96cce.jpg","text":"TemporaryFile(/tmp/multipartBody8766649240707764379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935043934,"filename":"image_05122025_12_13_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/5/924939b47e3e7f742310c6d21160c6ab.jpg","text":"TemporaryFile(/tmp/multipartBody8537167019891740922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935043934,"filename":"image_05122025_12_12_54_10797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083091","file1":"1398083073","file0":"1398083071","file4":"1398083104","file5":"1398083106","file3":"1398083094"},"map_files_photo_id_array":[{"photo_id":"1398083106","filename":"file5"},{"photo_id":"1398083091","filename":"file2"},{"photo_id":"1398083104","filename":"file4"},{"photo_id":"1398083073","filename":"file1"},{"photo_id":"1398083071","filename":"file0"},{"photo_id":"1398083094","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083106":["hashtag1","hashtag2"]},{"1398083071":["hashtag1","hashtag2"]},{"1398083104":["hashtag1","hashtag2"]},{"1398083091":["hashtag1","hashtag2"]},{"1398083094":["hashtag1","hashtag2"]},{"1398083073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083106, 1398083071, 1398083104, 1398083091, 1398083094, 1398083073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16420650482178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:43:42.522606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_08_2733.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_10_2593.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_13_2946.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_17_3698.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_20_2670.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_22_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_08_2733.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_10_2593.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_13_2946.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_17_3698.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_20_2670.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_22_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083121","1398083115","1398083112","1398083117","1398083119","1398083116"],"photo_ids_order":["1398083112","1398083115","1398083116","1398083117","1398083119","1398083121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/612753c0d83e10a61b1828f88310ecfd.jpg","text":"TemporaryFile(/tmp/multipartBody6698659145698453867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935084142,"filename":"image_31102025_19_32_22_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2745c0f332aa5d71206847c0fe176e49.jpg","text":"TemporaryFile(/tmp/multipartBody3722806295799869084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935084142,"filename":"image_31102025_19_32_10_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/5/e783b79bc4de9e19a2ae261d9570b6e2.jpg","text":"TemporaryFile(/tmp/multipartBody6847844433748537806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935084142,"filename":"image_31102025_19_32_08_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f553a92ca30becf7e4ce20d72b99157f.jpg","text":"TemporaryFile(/tmp/multipartBody6002294751719239630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935084142,"filename":"image_31102025_19_32_17_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/5/d3b62379ca166eee0133f021110d6f33.jpg","text":"TemporaryFile(/tmp/multipartBody4714919649294222595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935084142,"filename":"image_31102025_19_32_20_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/5/ba5595506cd9fae25b527be77e185410.jpg","text":"TemporaryFile(/tmp/multipartBody5174408948099308776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935084142,"filename":"image_31102025_19_32_13_2946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083116","file1":"1398083115","file0":"1398083112","file4":"1398083119","file5":"1398083121","file3":"1398083117"},"map_files_photo_id_array":[{"photo_id":"1398083121","filename":"file5"},{"photo_id":"1398083116","filename":"file2"},{"photo_id":"1398083119","filename":"file4"},{"photo_id":"1398083115","filename":"file1"},{"photo_id":"1398083112","filename":"file0"},{"photo_id":"1398083117","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398083121":["hashtag1","hashtag2"]},{"1398083115":["hashtag1","hashtag2"]},{"1398083112":["hashtag1","hashtag2"]},{"1398083117":["hashtag1","hashtag2"]},{"1398083119":["hashtag1","hashtag2"]},{"1398083116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398083121, 1398083115, 1398083112, 1398083117, 1398083119, 1398083116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71772480010986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:44:22.705477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_44_9728.jpg', '/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_54_10584.jpg', '/home/pi/Desktop/images/05122025/12/13/image_05122025_12_14_04_9744.jpg', '/home/pi/Desktop/images/05122025/12/14/image_05122025_12_14_14_9555.jpg', '/home/pi/Desktop/images/05122025/12/14/image_05122025_12_14_24_10721.jpg', '/home/pi/Desktop/images/05122025/12/14/image_05122025_12_14_34_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_44_9728.jpg
/home/pi/Desktop/images/05122025/12/13/image_05122025_12_13_54_10584.jpg
/home/pi/Desktop/images/05122025/12/13/image_05122025_12_14_04_9744.jpg
/home/pi/Desktop/images/05122025/12/14/image_05122025_12_14_14_9555.jpg
/home/pi/Desktop/images/05122025/12/14/image_05122025_12_14_24_10721.jpg
/home/pi/Desktop/images/05122025/12/14/image_05122025_12_14_34_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":["1398083136","1398083139","1398083132","1398083126","1398083129","1398083134"],"photo_ids_order":["1398083126","1398083129","1398083132","1398083134","1398083136","1398083139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47ab1f45e685b013ffe992f2ee6e4bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8778684540270777235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935123354,"filename":"image_05122025_12_14_24_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/5/55e825dc8f1b11f35212d6eb78c1d0d1.jpg","text":"TemporaryFile(/tmp/multipartBody2259703629787087144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935123354,"filename":"image_05122025_12_14_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/5/627bf4751e777926ff1fbd2136d7ebdf.jpg","text":"TemporaryFile(/tmp/multipartBody1803272084942624442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935123354,"filename":"image_05122025_12_14_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/5/4f1c8eda3a383ddc7bda78ad0ed011ab.jpg","text":"TemporaryFile(/tmp/multipartBody1697602960789721014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935123354,"filename":"image_05122025_12_13_44_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/5/da63cb8371da1ff384228794fd1bba39.jpg","text":"TemporaryFile(/tmp/multipartBody3035075864904877645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935123354,"filename":"image_05122025_12_13_54_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/5/965627e47554f9cb73d944ab3b1f187f.jpg","text":"TemporaryFile(/tmp/multipartBody2399728409890661624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935123354,"filename":"image_05122025_12_14_14_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083132","file1":"1398083129","file0":"1398083126","file4":"1398083136","file5":"1398083139","file3":"1398083134"},"map_files_photo_id_array":[{"photo_id":"1398083139","filename":"file5"},{"photo_id":"1398083132","filename":"file2"},{"photo_id":"1398083136","filename":"file4"},{"photo_id":"1398083129","filename":"file1"},{"photo_id":"1398083126","filename":"file0"},{"photo_id":"1398083134","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083136":["hashtag1","hashtag2"]},{"1398083139":["hashtag1","hashtag2"]},{"1398083132":["hashtag1","hashtag2"]},{"1398083126":["hashtag1","hashtag2"]},{"1398083129":["hashtag1","hashtag2"]},{"1398083134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083136, 1398083139, 1398083132, 1398083126, 1398083129, 1398083134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10568857192993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:45:02.648926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/14/image_05122025_12_14_44_9641.jpg', '/home/pi/Desktop/images/05122025/12/14/image_05122025_12_14_54_10701.jpg', '/home/pi/Desktop/images/05122025/12/14/image_05122025_12_15_04_9839.jpg', '/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_14_9650.jpg', '/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_24_9917.jpg', '/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_33_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/14/image_05122025_12_14_44_9641.jpg
/home/pi/Desktop/images/05122025/12/14/image_05122025_12_14_54_10701.jpg
/home/pi/Desktop/images/05122025/12/14/image_05122025_12_15_04_9839.jpg
/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_14_9650.jpg
/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_24_9917.jpg
/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_33_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":["1398083142","1398083144","1398083141","1398083140","1398083143","1398083146"],"photo_ids_order":["1398083140","1398083141","1398083142","1398083143","1398083144","1398083146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2f54cfe227a5cca33ef427c203962b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8819334992896843804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935163416,"filename":"image_05122025_12_15_04_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/5/36636c3caf1a29d973356fc80509a83c.jpg","text":"TemporaryFile(/tmp/multipartBody5709036808756086280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935163416,"filename":"image_05122025_12_15_24_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/5/3cb0a4d3a68d008e514c80c918734664.jpg","text":"TemporaryFile(/tmp/multipartBody925904959580024740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935163416,"filename":"image_05122025_12_14_54_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/5/048e23184cd20db87bbcccb3c758b036.jpg","text":"TemporaryFile(/tmp/multipartBody7127609717299783307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935163416,"filename":"image_05122025_12_14_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/5/1aebd742d8d1a678395b4b666ffb1c89.jpg","text":"TemporaryFile(/tmp/multipartBody6399459009416173357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935163416,"filename":"image_05122025_12_15_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/5/41bce40b6dbf65501110df5bd86416d7.jpg","text":"TemporaryFile(/tmp/multipartBody4061771569706310174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935163416,"filename":"image_05122025_12_15_33_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083142","file1":"1398083141","file0":"1398083140","file4":"1398083144","file5":"1398083146","file3":"1398083143"},"map_files_photo_id_array":[{"photo_id":"1398083146","filename":"file5"},{"photo_id":"1398083142","filename":"file2"},{"photo_id":"1398083144","filename":"file4"},{"photo_id":"1398083141","filename":"file1"},{"photo_id":"1398083140","filename":"file0"},{"photo_id":"1398083143","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083142":["hashtag1","hashtag2"]},{"1398083144":["hashtag1","hashtag2"]},{"1398083141":["hashtag1","hashtag2"]},{"1398083140":["hashtag1","hashtag2"]},{"1398083143":["hashtag1","hashtag2"]},{"1398083146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083142, 1398083144, 1398083141, 1398083140, 1398083143, 1398083146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.125529050827026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:45:41.932596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_26_3690.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_31_2649.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_35_3653.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_37_2584.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_40_2772.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_44_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_26_3690.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_31_2649.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_35_3653.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_37_2584.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_40_2772.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_44_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083154","1398083157","1398083156","1398083155","1398083158","1398083152"],"photo_ids_order":["1398083152","1398083154","1398083155","1398083156","1398083157","1398083158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/386ab8278122308038d950a12f9cb315.jpg","text":"TemporaryFile(/tmp/multipartBody8574718380491245240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935203587,"filename":"image_31102025_19_32_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/5/ae1a3ed22d5cc75cc3faf29fb45abfde.jpg","text":"TemporaryFile(/tmp/multipartBody2814093283674013375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935203587,"filename":"image_31102025_19_32_40_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d8e712ed9c7cde4c640ef44683d1c14e.jpg","text":"TemporaryFile(/tmp/multipartBody8756438221524761503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935203587,"filename":"image_31102025_19_32_37_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/5/a786013ee238a3fa646ea6ebf9dfa7e0.jpg","text":"TemporaryFile(/tmp/multipartBody6702076617316558852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935203587,"filename":"image_31102025_19_32_35_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/5/63e6d2bf814b570a386add5ad7dd64e3.jpg","text":"TemporaryFile(/tmp/multipartBody7541941185884480237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935203587,"filename":"image_31102025_19_32_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/5/b505eb9163de8ca1561d685c4a292e7f.jpg","text":"TemporaryFile(/tmp/multipartBody575116700753453642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935203587,"filename":"image_31102025_19_32_26_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083155","file1":"1398083154","file0":"1398083152","file4":"1398083157","file5":"1398083158","file3":"1398083156"},"map_files_photo_id_array":[{"photo_id":"1398083158","filename":"file5"},{"photo_id":"1398083155","filename":"file2"},{"photo_id":"1398083157","filename":"file4"},{"photo_id":"1398083154","filename":"file1"},{"photo_id":"1398083152","filename":"file0"},{"photo_id":"1398083156","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398083154":["hashtag1","hashtag2"]},{"1398083157":["hashtag1","hashtag2"]},{"1398083156":["hashtag1","hashtag2"]},{"1398083155":["hashtag1","hashtag2"]},{"1398083158":["hashtag1","hashtag2"]},{"1398083152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398083154, 1398083157, 1398083156, 1398083155, 1398083158, 1398083152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05836749076843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:46:22.175745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_44_10654.jpg', '/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_54_9611.jpg', '/home/pi/Desktop/images/05122025/12/15/image_05122025_12_16_04_9793.jpg', '/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_14_10790.jpg', '/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_24_9573.jpg', '/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_34_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_44_10654.jpg
/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_54_9611.jpg
/home/pi/Desktop/images/05122025/12/15/image_05122025_12_16_04_9793.jpg
/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_14_10790.jpg
/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_24_9573.jpg
/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_34_9644.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5843505859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:46:32.175699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/19/49/image_02122025_19_50_05_9721.jpg', '/home/pi/Desktop/images/02122025/19/50/image_02122025_19_50_15_9773.jpg', '/home/pi/Desktop/images/02122025/19/50/image_02122025_19_50_55_9691.jpg', '/home/pi/Desktop/images/02122025/19/51/image_02122025_19_51_15_9764.jpg', '/home/pi/Desktop/images/02122025/19/51/image_02122025_19_51_25_9641.jpg', '/home/pi/Desktop/images/02122025/19/51/image_02122025_19_51_36_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/19/49/image_02122025_19_50_05_9721.jpg
/home/pi/Desktop/images/02122025/19/50/image_02122025_19_50_15_9773.jpg
/home/pi/Desktop/images/02122025/19/50/image_02122025_19_50_55_9691.jpg
/home/pi/Desktop/images/02122025/19/51/image_02122025_19_51_15_9764.jpg
/home/pi/Desktop/images/02122025/19/51/image_02122025_19_51_25_9641.jpg
/home/pi/Desktop/images/02122025/19/51/image_02122025_19_51_36_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083175","1398083174","1398083165","1398083168","1398083176","1398083172"],"photo_ids_order":["1398083165","1398083168","1398083172","1398083174","1398083175","1398083176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6bcb56831fb901603affcc672fd536fa.jpg","text":"TemporaryFile(/tmp/multipartBody3054858766537904581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935254381,"filename":"image_02122025_19_51_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/5/29a59cd2feb3dd8d8260355692749a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7531128034941291361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935254381,"filename":"image_02122025_19_51_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/5/c81882f22c2df57bd7dec4c87b593d55.jpg","text":"TemporaryFile(/tmp/multipartBody2606130936375669446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935254381,"filename":"image_02122025_19_50_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/5/f8f12cb562e3ba5c520003102c5bd10f.jpg","text":"TemporaryFile(/tmp/multipartBody6143799817759664736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935254381,"filename":"image_02122025_19_50_15_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/5/7e1fec5d9af4c56707152e9c3682fd4a.jpg","text":"TemporaryFile(/tmp/multipartBody3103397567812288472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935254381,"filename":"image_02122025_19_51_36_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/5/ce535bd91814cd6633d532faeec17cc9.jpg","text":"TemporaryFile(/tmp/multipartBody415150414482182374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935254381,"filename":"image_02122025_19_50_55_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083172","file1":"1398083168","file0":"1398083165","file4":"1398083175","file5":"1398083176","file3":"1398083174"},"map_files_photo_id_array":[{"photo_id":"1398083176","filename":"file5"},{"photo_id":"1398083172","filename":"file2"},{"photo_id":"1398083175","filename":"file4"},{"photo_id":"1398083168","filename":"file1"},{"photo_id":"1398083165","filename":"file0"},{"photo_id":"1398083174","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398083175":["hashtag1","hashtag2"]},{"1398083174":["hashtag1","hashtag2"]},{"1398083165":["hashtag1","hashtag2"]},{"1398083168":["hashtag1","hashtag2"]},{"1398083176":["hashtag1","hashtag2"]},{"1398083172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398083175, 1398083174, 1398083165, 1398083168, 1398083176, 1398083172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16477656364441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:47:12.253165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/19/51/image_02122025_19_51_55_9897.jpg', '/home/pi/Desktop/images/02122025/19/52/image_02122025_19_52_25_9865.jpg', '/home/pi/Desktop/images/02122025/19/53/image_02122025_19_53_25_9569.jpg', '/home/pi/Desktop/images/02122025/19/53/image_02122025_19_53_55_9639.jpg', '/home/pi/Desktop/images/02122025/19/53/image_02122025_19_54_05_9702.jpg', '/home/pi/Desktop/images/02122025/19/54/image_02122025_19_54_16_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/19/51/image_02122025_19_51_55_9897.jpg
/home/pi/Desktop/images/02122025/19/52/image_02122025_19_52_25_9865.jpg
/home/pi/Desktop/images/02122025/19/53/image_02122025_19_53_25_9569.jpg
/home/pi/Desktop/images/02122025/19/53/image_02122025_19_53_55_9639.jpg
/home/pi/Desktop/images/02122025/19/53/image_02122025_19_54_05_9702.jpg
/home/pi/Desktop/images/02122025/19/54/image_02122025_19_54_16_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":["1398083180","1398083177","1398083186","1398083182","1398083184","1398083178"],"photo_ids_order":["1398083177","1398083178","1398083180","1398083182","1398083184","1398083186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9cdacdfcaf68ffc9d2c1c0730a99616e.jpg","text":"TemporaryFile(/tmp/multipartBody5186731143587966870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935294337,"filename":"image_02122025_19_53_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/5/fd75d6fa364d04a700ad4e8350023ece.jpg","text":"TemporaryFile(/tmp/multipartBody2831264487298675324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935294337,"filename":"image_02122025_19_51_55_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/5/19709963b4de1a1eb500f71b90855f20.jpg","text":"TemporaryFile(/tmp/multipartBody7911430698051642598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935294337,"filename":"image_02122025_19_54_16_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/5/16690a2c2efeaf8bf57c90434cb99682.jpg","text":"TemporaryFile(/tmp/multipartBody3065079259816188648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935294337,"filename":"image_02122025_19_53_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/5/eb0e6143c2e799204dea007b0d0a5b26.jpg","text":"TemporaryFile(/tmp/multipartBody7631466710659735239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935294337,"filename":"image_02122025_19_54_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/5/93c4f848f679e0676a760a555825c9d2.jpg","text":"TemporaryFile(/tmp/multipartBody6273010175867866092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935294337,"filename":"image_02122025_19_52_25_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083180","file1":"1398083178","file0":"1398083177","file4":"1398083184","file5":"1398083186","file3":"1398083182"},"map_files_photo_id_array":[{"photo_id":"1398083186","filename":"file5"},{"photo_id":"1398083180","filename":"file2"},{"photo_id":"1398083184","filename":"file4"},{"photo_id":"1398083178","filename":"file1"},{"photo_id":"1398083177","filename":"file0"},{"photo_id":"1398083182","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398083180":["hashtag1","hashtag2"]},{"1398083177":["hashtag1","hashtag2"]},{"1398083186":["hashtag1","hashtag2"]},{"1398083182":["hashtag1","hashtag2"]},{"1398083184":["hashtag1","hashtag2"]},{"1398083178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398083180, 1398083177, 1398083186, 1398083182, 1398083184, 1398083178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.513498306274414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:48:03.131897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_44_10654.jpg', '/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_54_9611.jpg', '/home/pi/Desktop/images/05122025/12/15/image_05122025_12_16_04_9793.jpg', '/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_14_10790.jpg', '/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_24_9573.jpg', '/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_34_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_44_10654.jpg
/home/pi/Desktop/images/05122025/12/15/image_05122025_12_15_54_9611.jpg
/home/pi/Desktop/images/05122025/12/15/image_05122025_12_16_04_9793.jpg
/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_14_10790.jpg
/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_24_9573.jpg
/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_34_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":["1398083195","1398083191","1398083194","1398083196","1398083199","1398083193"],"photo_ids_order":["1398083191","1398083193","1398083194","1398083195","1398083196","1398083199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5121d4128220a3d3e9a2c3c159a44951.jpg","text":"TemporaryFile(/tmp/multipartBody3924849331725340035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935343785,"filename":"image_05122025_12_16_14_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/5/c04b7a04c95caca95a5fc4e827434e60.jpg","text":"TemporaryFile(/tmp/multipartBody1992855294413838933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935343785,"filename":"image_05122025_12_15_44_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/5/9949b0d96758dda540198989cb5cfba0.jpg","text":"TemporaryFile(/tmp/multipartBody5825005561055831317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935343785,"filename":"image_05122025_12_16_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/5/9db3f39b786ab14473069611505eb9b6.jpg","text":"TemporaryFile(/tmp/multipartBody3023191562252296211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935343785,"filename":"image_05122025_12_16_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/5/353cce594a5f730957c591c39044e5ca.jpg","text":"TemporaryFile(/tmp/multipartBody8594567440831124019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935343785,"filename":"image_05122025_12_16_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/5/232df89035fc43ba65e0fbe547530df2.jpg","text":"TemporaryFile(/tmp/multipartBody3826865632715195876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935343785,"filename":"image_05122025_12_15_54_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083194","file1":"1398083193","file0":"1398083191","file4":"1398083196","file5":"1398083199","file3":"1398083195"},"map_files_photo_id_array":[{"photo_id":"1398083199","filename":"file5"},{"photo_id":"1398083194","filename":"file2"},{"photo_id":"1398083196","filename":"file4"},{"photo_id":"1398083193","filename":"file1"},{"photo_id":"1398083191","filename":"file0"},{"photo_id":"1398083195","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083195":["hashtag1","hashtag2"]},{"1398083191":["hashtag1","hashtag2"]},{"1398083194":["hashtag1","hashtag2"]},{"1398083196":["hashtag1","hashtag2"]},{"1398083199":["hashtag1","hashtag2"]},{"1398083193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083195, 1398083191, 1398083194, 1398083196, 1398083199, 1398083193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.870134353637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:48:42.606426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_47_2867.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_52_2843.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_56_3688.jpg', '/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_59_2585.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_01_2659.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_05_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_47_2867.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_52_2843.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_56_3688.jpg
/home/pi/Desktop/images/31102025/19/32/image_31102025_19_32_59_2585.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_01_2659.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_05_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":["1398083208","1398083210","1398083207","1398083204","1398083206","1398083209"],"photo_ids_order":["1398083204","1398083206","1398083207","1398083208","1398083209","1398083210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/feac815b421365f79d896fe19f68fa6a.jpg","text":"TemporaryFile(/tmp/multipartBody602825238756588089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935384262,"filename":"image_31102025_19_32_59_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/243f060948e7a29610bf018a80aa7807.jpg","text":"TemporaryFile(/tmp/multipartBody4564656345365419096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935384262,"filename":"image_31102025_19_33_05_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/5/7947860146537c9ff83bc2e7d2284e4a.jpg","text":"TemporaryFile(/tmp/multipartBody8265743003113161320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935384262,"filename":"image_31102025_19_32_56_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/da70776d57ecc17d8c9516061d57e3c4.jpg","text":"TemporaryFile(/tmp/multipartBody7078987148557863778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935384262,"filename":"image_31102025_19_32_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/5/72de1f09281a756aeaf79a257a2e8e10.jpg","text":"TemporaryFile(/tmp/multipartBody1114920041115119901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935384262,"filename":"image_31102025_19_32_52_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/5/623c753a809bf4d3a54d9c821d6ae478.jpg","text":"TemporaryFile(/tmp/multipartBody47430874537799363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935384262,"filename":"image_31102025_19_33_01_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083207","file1":"1398083206","file0":"1398083204","file4":"1398083209","file5":"1398083210","file3":"1398083208"},"map_files_photo_id_array":[{"photo_id":"1398083210","filename":"file5"},{"photo_id":"1398083207","filename":"file2"},{"photo_id":"1398083209","filename":"file4"},{"photo_id":"1398083206","filename":"file1"},{"photo_id":"1398083204","filename":"file0"},{"photo_id":"1398083208","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398083208":["hashtag1","hashtag2"]},{"1398083210":["hashtag1","hashtag2"]},{"1398083207":["hashtag1","hashtag2"]},{"1398083204":["hashtag1","hashtag2"]},{"1398083206":["hashtag1","hashtag2"]},{"1398083209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398083208, 1398083210, 1398083207, 1398083204, 1398083206, 1398083209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48193335533142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:49:22.701161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_44_10725.jpg', '/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_54_9702.jpg', '/home/pi/Desktop/images/05122025/12/16/image_05122025_12_17_04_9620.jpg', '/home/pi/Desktop/images/05122025/12/17/image_05122025_12_17_14_10726.jpg', '/home/pi/Desktop/images/05122025/12/17/image_05122025_12_17_24_9673.jpg', '/home/pi/Desktop/images/05122025/12/17/image_05122025_12_17_34_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_44_10725.jpg
/home/pi/Desktop/images/05122025/12/16/image_05122025_12_16_54_9702.jpg
/home/pi/Desktop/images/05122025/12/16/image_05122025_12_17_04_9620.jpg
/home/pi/Desktop/images/05122025/12/17/image_05122025_12_17_14_10726.jpg
/home/pi/Desktop/images/05122025/12/17/image_05122025_12_17_24_9673.jpg
/home/pi/Desktop/images/05122025/12/17/image_05122025_12_17_34_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":["1398083214","1398083216","1398083221","1398083224","1398083218","1398083212"],"photo_ids_order":["1398083212","1398083214","1398083216","1398083218","1398083221","1398083224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b3480ccbf7f43321faed44597bb9b9ba.jpg","text":"TemporaryFile(/tmp/multipartBody3057298720007628700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935423361,"filename":"image_05122025_12_16_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/703a055bdb19baa9223b602fa3d68838.jpg","text":"TemporaryFile(/tmp/multipartBody8110225440892935551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935423361,"filename":"image_05122025_12_17_04_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/5/9592e7aca7d6879be7890ec8ea23decb.jpg","text":"TemporaryFile(/tmp/multipartBody9151657156165958036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935423361,"filename":"image_05122025_12_17_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1498c3bd260c90c6a26d3f429f42e690.jpg","text":"TemporaryFile(/tmp/multipartBody355214404463315775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935423361,"filename":"image_05122025_12_17_34_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/5/600299baf020bdd5c49610f6807b47a2.jpg","text":"TemporaryFile(/tmp/multipartBody4870705296207710159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935423361,"filename":"image_05122025_12_17_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/5/a84a769bcd44fc389a2244173f2bd7ae.jpg","text":"TemporaryFile(/tmp/multipartBody7530229335586494571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935423361,"filename":"image_05122025_12_16_44_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083216","file1":"1398083214","file0":"1398083212","file4":"1398083221","file5":"1398083224","file3":"1398083218"},"map_files_photo_id_array":[{"photo_id":"1398083224","filename":"file5"},{"photo_id":"1398083216","filename":"file2"},{"photo_id":"1398083221","filename":"file4"},{"photo_id":"1398083214","filename":"file1"},{"photo_id":"1398083212","filename":"file0"},{"photo_id":"1398083218","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083214":["hashtag1","hashtag2"]},{"1398083216":["hashtag1","hashtag2"]},{"1398083221":["hashtag1","hashtag2"]},{"1398083224":["hashtag1","hashtag2"]},{"1398083218":["hashtag1","hashtag2"]},{"1398083212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083214, 1398083216, 1398083221, 1398083224, 1398083218, 1398083212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.125508069992065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:50:02.292788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/17/image_05122025_12_17_44_10693.jpg', '/home/pi/Desktop/images/05122025/12/17/image_05122025_12_17_54_9643.jpg', '/home/pi/Desktop/images/05122025/12/17/image_05122025_12_18_04_9547.jpg', '/home/pi/Desktop/images/05122025/12/18/image_05122025_12_18_14_10789.jpg', '/home/pi/Desktop/images/05122025/12/18/image_05122025_12_18_24_9596.jpg', '/home/pi/Desktop/images/05122025/12/18/image_05122025_12_18_34_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/17/image_05122025_12_17_44_10693.jpg
/home/pi/Desktop/images/05122025/12/17/image_05122025_12_17_54_9643.jpg
/home/pi/Desktop/images/05122025/12/17/image_05122025_12_18_04_9547.jpg
/home/pi/Desktop/images/05122025/12/18/image_05122025_12_18_14_10789.jpg
/home/pi/Desktop/images/05122025/12/18/image_05122025_12_18_24_9596.jpg
/home/pi/Desktop/images/05122025/12/18/image_05122025_12_18_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":["1398083226","1398083225","1398083228","1398083230","1398083233","1398083227"],"photo_ids_order":["1398083225","1398083226","1398083227","1398083228","1398083230","1398083233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bf999c42ea9d6b963636d165cb493708.jpg","text":"TemporaryFile(/tmp/multipartBody7648585543773011228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935465079,"filename":"image_05122025_12_17_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dd8d1321fe164e8474f41fa26d5483fc.jpg","text":"TemporaryFile(/tmp/multipartBody5468793074191549289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935465079,"filename":"image_05122025_12_17_44_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c269d0280d6b264704e1aee8f84d615c.jpg","text":"TemporaryFile(/tmp/multipartBody5505613760771004915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935465079,"filename":"image_05122025_12_18_14_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/5/cf6b1e11cb6d19a9a4dfcf8922fc1081.jpg","text":"TemporaryFile(/tmp/multipartBody8280644002004836613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935465079,"filename":"image_05122025_12_18_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/5/d7cc748051ff3a0fcbfa63b5c8e21f58.jpg","text":"TemporaryFile(/tmp/multipartBody1617223249918473651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935465079,"filename":"image_05122025_12_18_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/5/16eb38345c65c210d1df89bc1634d45e.jpg","text":"TemporaryFile(/tmp/multipartBody857251486363520968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935465079,"filename":"image_05122025_12_18_04_9547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083227","file1":"1398083226","file0":"1398083225","file4":"1398083230","file5":"1398083233","file3":"1398083228"},"map_files_photo_id_array":[{"photo_id":"1398083233","filename":"file5"},{"photo_id":"1398083227","filename":"file2"},{"photo_id":"1398083230","filename":"file4"},{"photo_id":"1398083226","filename":"file1"},{"photo_id":"1398083225","filename":"file0"},{"photo_id":"1398083228","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083226":["hashtag1","hashtag2"]},{"1398083225":["hashtag1","hashtag2"]},{"1398083228":["hashtag1","hashtag2"]},{"1398083230":["hashtag1","hashtag2"]},{"1398083233":["hashtag1","hashtag2"]},{"1398083227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083226, 1398083225, 1398083228, 1398083230, 1398083233, 1398083227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93923878669739 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-05 12:51:02.776821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/18/image_05122025_12_18_44_10024.jpg', '/home/pi/Desktop/images/05122025/12/18/image_05122025_12_18_54_10690.jpg', '/home/pi/Desktop/images/05122025/12/18/image_05122025_12_19_04_9709.jpg', '/home/pi/Desktop/images/05122025/12/19/image_05122025_12_19_14_9752.jpg', '/home/pi/Desktop/images/05122025/12/19/image_05122025_12_19_24_10621.jpg', '/home/pi/Desktop/images/05122025/12/19/image_05122025_12_19_34_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/18/image_05122025_12_18_44_10024.jpg
/home/pi/Desktop/images/05122025/12/18/image_05122025_12_18_54_10690.jpg
/home/pi/Desktop/images/05122025/12/18/image_05122025_12_19_04_9709.jpg
/home/pi/Desktop/images/05122025/12/19/image_05122025_12_19_14_9752.jpg
/home/pi/Desktop/images/05122025/12/19/image_05122025_12_19_24_10621.jpg
/home/pi/Desktop/images/05122025/12/19/image_05122025_12_19_34_9575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083247","1398083246","1398083248","1398083245","1398083250","1398083244"],"photo_ids_order":["1398083244","1398083245","1398083246","1398083247","1398083248","1398083250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db2c160b1c168dd15c3ae0c1a2b815fc.jpg","text":"TemporaryFile(/tmp/multipartBody4263131720184276966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935523505,"filename":"image_05122025_12_19_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/5/6ba248a79f0b108f0c6be1f2eae48cc9.jpg","text":"TemporaryFile(/tmp/multipartBody4829876939468669114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935523505,"filename":"image_05122025_12_19_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c58dd35a49d8b3042ab2485e16943cac.jpg","text":"TemporaryFile(/tmp/multipartBody7195630758640555015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935523505,"filename":"image_05122025_12_19_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/5/d52d1752c084fbf3125388f7a8d857c4.jpg","text":"TemporaryFile(/tmp/multipartBody1134838801504639176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935523505,"filename":"image_05122025_12_18_54_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/82043508013a14cde1272c5e5d8efe3c.jpg","text":"TemporaryFile(/tmp/multipartBody2874060787989391498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935523505,"filename":"image_05122025_12_19_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/5/12c1eeb690756200e748ad349c165eb2.jpg","text":"TemporaryFile(/tmp/multipartBody5852351607582196225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935523505,"filename":"image_05122025_12_18_44_10024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083246","file1":"1398083245","file0":"1398083244","file4":"1398083248","file5":"1398083250","file3":"1398083247"},"map_files_photo_id_array":[{"photo_id":"1398083250","filename":"file5"},{"photo_id":"1398083246","filename":"file2"},{"photo_id":"1398083248","filename":"file4"},{"photo_id":"1398083245","filename":"file1"},{"photo_id":"1398083244","filename":"file0"},{"photo_id":"1398083247","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083247":["hashtag1","hashtag2"]},{"1398083246":["hashtag1","hashtag2"]},{"1398083248":["hashtag1","hashtag2"]},{"1398083245":["hashtag1","hashtag2"]},{"1398083250":["hashtag1","hashtag2"]},{"1398083244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083247, 1398083246, 1398083248, 1398083245, 1398083250, 1398083244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36511445045471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:51:42.005940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_08_2548.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_14_3721.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_17_2848.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_19_2615.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_23_3687.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_26_2865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_08_2548.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_14_3721.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_17_2848.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_19_2615.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_23_3687.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_26_2865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083256","1398083261","1398083260","1398083263","1398083262","1398083259"],"photo_ids_order":["1398083256","1398083259","1398083260","1398083261","1398083262","1398083263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3befb0759f592af436e8f844f9f71d10.jpg","text":"TemporaryFile(/tmp/multipartBody8276229628351082041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935563661,"filename":"image_31102025_19_33_08_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa45471ea0f19519b3359e23c70ba6df.jpg","text":"TemporaryFile(/tmp/multipartBody6424504960186617140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935563661,"filename":"image_31102025_19_33_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/5/11a1af97ae6c63b0d4dd913c280363fb.jpg","text":"TemporaryFile(/tmp/multipartBody4798354916609895364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935563661,"filename":"image_31102025_19_33_17_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/5/c858b669ecb6d0dd2db1d856a4d5a81c.jpg","text":"TemporaryFile(/tmp/multipartBody4221404838076628940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935563661,"filename":"image_31102025_19_33_26_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/116f24141fa418c414b2f29497a02c88.jpg","text":"TemporaryFile(/tmp/multipartBody9005848075373373610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935563661,"filename":"image_31102025_19_33_23_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d91efe7cdc6ab4101fb0400d1b4f44fe.jpg","text":"TemporaryFile(/tmp/multipartBody6051580706916955560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935563661,"filename":"image_31102025_19_33_14_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083260","file1":"1398083259","file0":"1398083256","file4":"1398083262","file5":"1398083263","file3":"1398083261"},"map_files_photo_id_array":[{"photo_id":"1398083263","filename":"file5"},{"photo_id":"1398083260","filename":"file2"},{"photo_id":"1398083262","filename":"file4"},{"photo_id":"1398083259","filename":"file1"},{"photo_id":"1398083256","filename":"file0"},{"photo_id":"1398083261","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398083256":["hashtag1","hashtag2"]},{"1398083261":["hashtag1","hashtag2"]},{"1398083260":["hashtag1","hashtag2"]},{"1398083263":["hashtag1","hashtag2"]},{"1398083262":["hashtag1","hashtag2"]},{"1398083259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398083256, 1398083261, 1398083260, 1398083263, 1398083262, 1398083259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31274342536926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:52:22.241116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/19/image_05122025_12_19_44_9577.jpg', '/home/pi/Desktop/images/05122025/12/19/image_05122025_12_19_54_10749.jpg', '/home/pi/Desktop/images/05122025/12/19/image_05122025_12_20_04_9655.jpg', '/home/pi/Desktop/images/05122025/12/20/image_05122025_12_20_14_9765.jpg', '/home/pi/Desktop/images/05122025/12/20/image_05122025_12_20_23_9688.jpg', '/home/pi/Desktop/images/05122025/12/20/image_05122025_12_20_34_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/19/image_05122025_12_19_44_9577.jpg
/home/pi/Desktop/images/05122025/12/19/image_05122025_12_19_54_10749.jpg
/home/pi/Desktop/images/05122025/12/19/image_05122025_12_20_04_9655.jpg
/home/pi/Desktop/images/05122025/12/20/image_05122025_12_20_14_9765.jpg
/home/pi/Desktop/images/05122025/12/20/image_05122025_12_20_23_9688.jpg
/home/pi/Desktop/images/05122025/12/20/image_05122025_12_20_34_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":["1398083268","1398083270","1398083264","1398083267","1398083272","1398083275"],"photo_ids_order":["1398083264","1398083267","1398083268","1398083270","1398083272","1398083275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7b05589ef2aa0a9350afb764b3e09d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1664665691980389771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935602930,"filename":"image_05122025_12_20_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab4c0bd80a03731173557457f2817205.jpg","text":"TemporaryFile(/tmp/multipartBody890411290944730386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935602930,"filename":"image_05122025_12_20_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/5/c190a3910a22adc02400a2fbe8434c42.jpg","text":"TemporaryFile(/tmp/multipartBody6130579492690797166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935602930,"filename":"image_05122025_12_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/5/72fad72d83ff9767db2923472dd3e1c9.jpg","text":"TemporaryFile(/tmp/multipartBody818449889160948715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935602930,"filename":"image_05122025_12_19_54_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/5/ad11f77763152e4bb30339fb1653c38f.jpg","text":"TemporaryFile(/tmp/multipartBody7403031227091720390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935602930,"filename":"image_05122025_12_20_23_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/5/3b71b74d3057a47dca3ee0f72db0e758.jpg","text":"TemporaryFile(/tmp/multipartBody7179278831782494370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935602930,"filename":"image_05122025_12_20_34_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083268","file1":"1398083267","file0":"1398083264","file4":"1398083272","file5":"1398083275","file3":"1398083270"},"map_files_photo_id_array":[{"photo_id":"1398083275","filename":"file5"},{"photo_id":"1398083268","filename":"file2"},{"photo_id":"1398083272","filename":"file4"},{"photo_id":"1398083267","filename":"file1"},{"photo_id":"1398083264","filename":"file0"},{"photo_id":"1398083270","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083268":["hashtag1","hashtag2"]},{"1398083270":["hashtag1","hashtag2"]},{"1398083264":["hashtag1","hashtag2"]},{"1398083267":["hashtag1","hashtag2"]},{"1398083272":["hashtag1","hashtag2"]},{"1398083275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083268, 1398083270, 1398083264, 1398083267, 1398083272, 1398083275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.785311222076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:53:03.021608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/20/image_05122025_12_20_44_9612.jpg', '/home/pi/Desktop/images/05122025/12/20/image_05122025_12_20_54_10717.jpg', '/home/pi/Desktop/images/05122025/12/20/image_05122025_12_21_04_9609.jpg', '/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_14_9637.jpg', '/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_24_9868.jpg', '/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_34_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/20/image_05122025_12_20_44_9612.jpg
/home/pi/Desktop/images/05122025/12/20/image_05122025_12_20_54_10717.jpg
/home/pi/Desktop/images/05122025/12/20/image_05122025_12_21_04_9609.jpg
/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_14_9637.jpg
/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_24_9868.jpg
/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_34_10756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083279","1398083278","1398083281","1398083280","1398083283","1398083277"],"photo_ids_order":["1398083277","1398083278","1398083279","1398083280","1398083281","1398083283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4813204b8738daa713fff31c4b2428bc.jpg","text":"TemporaryFile(/tmp/multipartBody7253608017553269692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935643753,"filename":"image_05122025_12_21_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/092cafe9a6f9755b099e53aea58b71df.jpg","text":"TemporaryFile(/tmp/multipartBody1282891571407012041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935643753,"filename":"image_05122025_12_20_54_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/5/a2865317b2cfa0834e4e8d03d4562693.jpg","text":"TemporaryFile(/tmp/multipartBody3590450850203999390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935643753,"filename":"image_05122025_12_21_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/5/bb5ce18d971828dbcf5463e7086201e8.jpg","text":"TemporaryFile(/tmp/multipartBody4321962898606745105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935643753,"filename":"image_05122025_12_21_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/5/6f06c9ffd3a28880be73638dc32cfa3f.jpg","text":"TemporaryFile(/tmp/multipartBody4912803110831774621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935643753,"filename":"image_05122025_12_21_34_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/5/d32254025b6941f6d2d09cd84fff1776.jpg","text":"TemporaryFile(/tmp/multipartBody104601304951178039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935643753,"filename":"image_05122025_12_20_44_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083279","file1":"1398083278","file0":"1398083277","file4":"1398083281","file5":"1398083283","file3":"1398083280"},"map_files_photo_id_array":[{"photo_id":"1398083283","filename":"file5"},{"photo_id":"1398083279","filename":"file2"},{"photo_id":"1398083281","filename":"file4"},{"photo_id":"1398083278","filename":"file1"},{"photo_id":"1398083277","filename":"file0"},{"photo_id":"1398083280","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083279":["hashtag1","hashtag2"]},{"1398083278":["hashtag1","hashtag2"]},{"1398083281":["hashtag1","hashtag2"]},{"1398083280":["hashtag1","hashtag2"]},{"1398083283":["hashtag1","hashtag2"]},{"1398083277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083279, 1398083278, 1398083281, 1398083280, 1398083283, 1398083277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5109326839447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:53:42.372676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_29_2712.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_35_3654.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_38_2797.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_40_2631.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_43_2755.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_47_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_29_2712.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_35_3654.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_38_2797.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_40_2631.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_43_2755.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_47_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":["1398083291","1398083294","1398083293","1398083295","1398083289","1398083292"],"photo_ids_order":["1398083289","1398083291","1398083292","1398083293","1398083294","1398083295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c3b0c944929b1314e0ba5f47f0763d0.jpg","text":"TemporaryFile(/tmp/multipartBody8136645054017301488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935684017,"filename":"image_31102025_19_33_35_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/5/1c6a7289720d7890ac610016159fb559.jpg","text":"TemporaryFile(/tmp/multipartBody7746862345496970274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935684017,"filename":"image_31102025_19_33_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/5/6e9f6cc36f479091ad5d1281c4d26b86.jpg","text":"TemporaryFile(/tmp/multipartBody4506199868044567607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935684017,"filename":"image_31102025_19_33_40_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/5/6de520050b00d604a4b6d6ecad37c571.jpg","text":"TemporaryFile(/tmp/multipartBody7574292636951118253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935684017,"filename":"image_31102025_19_33_47_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/5/c756d25890f44534fccbc6f36e5ef892.jpg","text":"TemporaryFile(/tmp/multipartBody6686728274273184040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935684017,"filename":"image_31102025_19_33_29_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/5/5a323dbf50e208fd76cf98ff62b92807.jpg","text":"TemporaryFile(/tmp/multipartBody870331497512458911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935684017,"filename":"image_31102025_19_33_38_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083292","file1":"1398083291","file0":"1398083289","file4":"1398083294","file5":"1398083295","file3":"1398083293"},"map_files_photo_id_array":[{"photo_id":"1398083295","filename":"file5"},{"photo_id":"1398083292","filename":"file2"},{"photo_id":"1398083294","filename":"file4"},{"photo_id":"1398083291","filename":"file1"},{"photo_id":"1398083289","filename":"file0"},{"photo_id":"1398083293","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398083291":["hashtag1","hashtag2"]},{"1398083294":["hashtag1","hashtag2"]},{"1398083293":["hashtag1","hashtag2"]},{"1398083295":["hashtag1","hashtag2"]},{"1398083289":["hashtag1","hashtag2"]},{"1398083292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398083291, 1398083294, 1398083293, 1398083295, 1398083289, 1398083292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63270664215088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 12:54:22.533199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_44_9557.jpg', '/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_54_9830.jpg', '/home/pi/Desktop/images/05122025/12/21/image_05122025_12_22_04_10737.jpg', '/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_14_9843.jpg', '/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_24_9667.jpg', '/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_34_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_44_9557.jpg
/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_54_9830.jpg
/home/pi/Desktop/images/05122025/12/21/image_05122025_12_22_04_10737.jpg
/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_14_9843.jpg
/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_24_9667.jpg
/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_34_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.5482401847839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:54:32.544640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/19/54/image_02122025_19_54_25_9716.jpg', '/home/pi/Desktop/images/02122025/19/54/image_02122025_19_54_35_9855.jpg', '/home/pi/Desktop/images/02122025/19/55/image_02122025_19_55_25_9722.jpg', '/home/pi/Desktop/images/02122025/19/55/image_02122025_19_56_06_10732.jpg', '/home/pi/Desktop/images/02122025/19/56/image_02122025_19_56_15_9681.jpg', '/home/pi/Desktop/images/02122025/19/56/image_02122025_19_56_25_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/19/54/image_02122025_19_54_25_9716.jpg
/home/pi/Desktop/images/02122025/19/54/image_02122025_19_54_35_9855.jpg
/home/pi/Desktop/images/02122025/19/55/image_02122025_19_55_25_9722.jpg
/home/pi/Desktop/images/02122025/19/55/image_02122025_19_56_06_10732.jpg
/home/pi/Desktop/images/02122025/19/56/image_02122025_19_56_15_9681.jpg
/home/pi/Desktop/images/02122025/19/56/image_02122025_19_56_25_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":["1398083313","1398083312","1398083309","1398083302","1398083311","1398083305"],"photo_ids_order":["1398083302","1398083305","1398083309","1398083311","1398083312","1398083313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e57639876174da2d1169a237733356b8.jpg","text":"TemporaryFile(/tmp/multipartBody949865668679860904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935734765,"filename":"image_02122025_19_56_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/5/24db63cae7b764d2e148c8f94df4832a.jpg","text":"TemporaryFile(/tmp/multipartBody6968496582921478134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935734765,"filename":"image_02122025_19_56_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/5/d67b5883ba48fa4bbf10b51e38234a06.jpg","text":"TemporaryFile(/tmp/multipartBody4155658595571426202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935734765,"filename":"image_02122025_19_55_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/5/7ed843b4809f7123e2979ff46ea23461.jpg","text":"TemporaryFile(/tmp/multipartBody1309324970787470639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935734765,"filename":"image_02122025_19_54_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/5/b04ab26c0ebc6677e400ea1d06e96c6b.jpg","text":"TemporaryFile(/tmp/multipartBody3439816246628106248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935734765,"filename":"image_02122025_19_56_06_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/5/ecefca3dac1bff308ca85f13d8992e9d.jpg","text":"TemporaryFile(/tmp/multipartBody5174932897207613563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935734765,"filename":"image_02122025_19_54_35_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083309","file1":"1398083305","file0":"1398083302","file4":"1398083312","file5":"1398083313","file3":"1398083311"},"map_files_photo_id_array":[{"photo_id":"1398083313","filename":"file5"},{"photo_id":"1398083309","filename":"file2"},{"photo_id":"1398083312","filename":"file4"},{"photo_id":"1398083305","filename":"file1"},{"photo_id":"1398083302","filename":"file0"},{"photo_id":"1398083311","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398083313":["hashtag1","hashtag2"]},{"1398083312":["hashtag1","hashtag2"]},{"1398083309":["hashtag1","hashtag2"]},{"1398083302":["hashtag1","hashtag2"]},{"1398083311":["hashtag1","hashtag2"]},{"1398083305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398083313, 1398083312, 1398083309, 1398083302, 1398083311, 1398083305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71328163146973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:55:12.595434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/19/56/image_02122025_19_57_05_9731.jpg', '/home/pi/Desktop/images/02122025/19/57/image_02122025_19_57_15_10677.jpg', '/home/pi/Desktop/images/02122025/19/57/image_02122025_19_57_55_9812.jpg', '/home/pi/Desktop/images/02122025/19/58/image_02122025_19_58_15_9823.jpg', '/home/pi/Desktop/images/02122025/19/58/image_02122025_19_58_55_9629.jpg', '/home/pi/Desktop/images/02122025/20/01/image_02122025_20_01_55_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/19/56/image_02122025_19_57_05_9731.jpg
/home/pi/Desktop/images/02122025/19/57/image_02122025_19_57_15_10677.jpg
/home/pi/Desktop/images/02122025/19/57/image_02122025_19_57_55_9812.jpg
/home/pi/Desktop/images/02122025/19/58/image_02122025_19_58_15_9823.jpg
/home/pi/Desktop/images/02122025/19/58/image_02122025_19_58_55_9629.jpg
/home/pi/Desktop/images/02122025/20/01/image_02122025_20_01_55_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083319","1398083321","1398083315","1398083323","1398083317","1398083314"],"photo_ids_order":["1398083314","1398083315","1398083317","1398083319","1398083321","1398083323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3dac8fe1dfbf8779044058b595a5fa9b.jpg","text":"TemporaryFile(/tmp/multipartBody81087436157019931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935774654,"filename":"image_02122025_19_58_15_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/5/27de9be7da9e8778f82451fa1254ab40.jpg","text":"TemporaryFile(/tmp/multipartBody6316693513686011603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935774654,"filename":"image_02122025_19_58_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/5/b169256fb3501315728427099963cd28.jpg","text":"TemporaryFile(/tmp/multipartBody77349859875634762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935774654,"filename":"image_02122025_19_57_15_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d45cd3403521ba6fffa84b57bc5424f.jpg","text":"TemporaryFile(/tmp/multipartBody2898709402892553805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935774654,"filename":"image_02122025_20_01_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/5/933e0ef0be9a14deddc5da2d74e8983e.jpg","text":"TemporaryFile(/tmp/multipartBody773247777247262353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935774654,"filename":"image_02122025_19_57_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/5/ef34c4239594182e5f7e0ff26ea401b7.jpg","text":"TemporaryFile(/tmp/multipartBody2435322846654147007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935774654,"filename":"image_02122025_19_57_05_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083317","file1":"1398083315","file0":"1398083314","file4":"1398083321","file5":"1398083323","file3":"1398083319"},"map_files_photo_id_array":[{"photo_id":"1398083323","filename":"file5"},{"photo_id":"1398083317","filename":"file2"},{"photo_id":"1398083321","filename":"file4"},{"photo_id":"1398083315","filename":"file1"},{"photo_id":"1398083314","filename":"file0"},{"photo_id":"1398083319","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398083319":["hashtag1","hashtag2"]},{"1398083321":["hashtag1","hashtag2"]},{"1398083315":["hashtag1","hashtag2"]},{"1398083323":["hashtag1","hashtag2"]},{"1398083317":["hashtag1","hashtag2"]},{"1398083314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398083319, 1398083321, 1398083315, 1398083323, 1398083317, 1398083314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39279913902283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:56:03.260207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_44_9557.jpg', '/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_54_9830.jpg', '/home/pi/Desktop/images/05122025/12/21/image_05122025_12_22_04_10737.jpg', '/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_14_9843.jpg', '/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_24_9667.jpg', '/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_34_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_44_9557.jpg
/home/pi/Desktop/images/05122025/12/21/image_05122025_12_21_54_9830.jpg
/home/pi/Desktop/images/05122025/12/21/image_05122025_12_22_04_10737.jpg
/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_14_9843.jpg
/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_24_9667.jpg
/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_34_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083331","1398083334","1398083328","1398083330","1398083329","1398083332"],"photo_ids_order":["1398083328","1398083329","1398083330","1398083331","1398083332","1398083334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/137671aee03346e860147bb6699e9121.jpg","text":"TemporaryFile(/tmp/multipartBody8258134952846102549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935823943,"filename":"image_05122025_12_22_14_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/5/bfe1067bba9bb150573388ce6ba0f796.jpg","text":"TemporaryFile(/tmp/multipartBody7951495632825853335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935823943,"filename":"image_05122025_12_22_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5bc99b7029daac9076166ccac2a1684.jpg","text":"TemporaryFile(/tmp/multipartBody567039213389443824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935823943,"filename":"image_05122025_12_21_44_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/5/2545f1521ce6f66c2ba8e7f22e547cc4.jpg","text":"TemporaryFile(/tmp/multipartBody4131418776997719985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935823943,"filename":"image_05122025_12_22_04_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/5/4a54cc2d125c00d52363c3bea4faedaa.jpg","text":"TemporaryFile(/tmp/multipartBody8629867747644434646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935823943,"filename":"image_05122025_12_21_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/5/01b862d1dc33e6ffd187532b1cd787f7.jpg","text":"TemporaryFile(/tmp/multipartBody8314330051493402252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935823943,"filename":"image_05122025_12_22_24_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083330","file1":"1398083329","file0":"1398083328","file4":"1398083332","file5":"1398083334","file3":"1398083331"},"map_files_photo_id_array":[{"photo_id":"1398083334","filename":"file5"},{"photo_id":"1398083330","filename":"file2"},{"photo_id":"1398083332","filename":"file4"},{"photo_id":"1398083329","filename":"file1"},{"photo_id":"1398083328","filename":"file0"},{"photo_id":"1398083331","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083331":["hashtag1","hashtag2"]},{"1398083334":["hashtag1","hashtag2"]},{"1398083328":["hashtag1","hashtag2"]},{"1398083330":["hashtag1","hashtag2"]},{"1398083329":["hashtag1","hashtag2"]},{"1398083332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083331, 1398083334, 1398083328, 1398083330, 1398083329, 1398083332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.330764055252075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 12:56:42.872913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_49_2622.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_52_2702.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_56_3656.jpg', '/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_58_2574.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_01_2764.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_05_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_49_2622.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_52_2702.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_56_3656.jpg
/home/pi/Desktop/images/31102025/19/33/image_31102025_19_33_58_2574.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_01_2764.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_05_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398083349","1398083340","1398083351","1398083345","1398083347","1398083343"],"photo_ids_order":["1398083340","1398083343","1398083345","1398083347","1398083349","1398083351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a7a420ff655b70853ad81ba60115aa13.jpg","text":"TemporaryFile(/tmp/multipartBody1757387045948452042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935864484,"filename":"image_31102025_19_34_01_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3bf717d29db9786cf4210338c8dfa9cd.jpg","text":"TemporaryFile(/tmp/multipartBody6096593576030253215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935864484,"filename":"image_31102025_19_33_49_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/5/255d3ec84eb25beece9302649df43bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2084170725151620119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935864484,"filename":"image_31102025_19_34_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/5/cf29ae3ba48f9939d0430543ddb80eaa.jpg","text":"TemporaryFile(/tmp/multipartBody8789903750350316546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935864484,"filename":"image_31102025_19_33_56_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/5/5fff8bbade7bc63143d2d61ce45f2954.jpg","text":"TemporaryFile(/tmp/multipartBody4344438811881064809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935864484,"filename":"image_31102025_19_33_58_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/5/3f05d858e82713899388cf9be3d74c14.jpg","text":"TemporaryFile(/tmp/multipartBody2877913895737686856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935864484,"filename":"image_31102025_19_33_52_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083345","file1":"1398083343","file0":"1398083340","file4":"1398083349","file5":"1398083351","file3":"1398083347"},"map_files_photo_id_array":[{"photo_id":"1398083351","filename":"file5"},{"photo_id":"1398083345","filename":"file2"},{"photo_id":"1398083349","filename":"file4"},{"photo_id":"1398083343","filename":"file1"},{"photo_id":"1398083340","filename":"file0"},{"photo_id":"1398083347","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398083349":["hashtag1","hashtag2"]},{"1398083340":["hashtag1","hashtag2"]},{"1398083351":["hashtag1","hashtag2"]},{"1398083345":["hashtag1","hashtag2"]},{"1398083347":["hashtag1","hashtag2"]},{"1398083343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398083349, 1398083340, 1398083351, 1398083345, 1398083347, 1398083343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.52282977104187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 12:57:32.059442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/01/image_02122025_20_02_06_10772.jpg', '/home/pi/Desktop/images/02122025/20/02/image_02122025_20_02_15_9766.jpg', '/home/pi/Desktop/images/02122025/20/02/image_02122025_20_02_35_9717.jpg', '/home/pi/Desktop/images/02122025/20/02/image_02122025_20_02_55_9601.jpg', '/home/pi/Desktop/images/02122025/20/02/image_02122025_20_03_05_9693.jpg', '/home/pi/Desktop/images/02122025/20/03/image_02122025_20_03_25_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/01/image_02122025_20_02_06_10772.jpg
/home/pi/Desktop/images/02122025/20/02/image_02122025_20_02_15_9766.jpg
/home/pi/Desktop/images/02122025/20/02/image_02122025_20_02_35_9717.jpg
/home/pi/Desktop/images/02122025/20/02/image_02122025_20_02_55_9601.jpg
/home/pi/Desktop/images/02122025/20/02/image_02122025_20_03_05_9693.jpg
/home/pi/Desktop/images/02122025/20/03/image_02122025_20_03_25_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083637","1398083559","1398083597","1398083519","1398083443","1398083481"],"photo_ids_order":["1398083443","1398083481","1398083519","1398083559","1398083597","1398083637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/50ec0955038280fe1b5b4636b30db66a.jpg","text":"TemporaryFile(/tmp/multipartBody4560211087436704783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935914247,"filename":"image_02122025_20_03_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/5/18a53ce3eee7937d80835d6e07547417.jpg","text":"TemporaryFile(/tmp/multipartBody3330028998514067598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935914247,"filename":"image_02122025_20_02_55_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/5/a5686129fc232ba098a80c10980ec756.jpg","text":"TemporaryFile(/tmp/multipartBody7545401995317984197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935914247,"filename":"image_02122025_20_03_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/5/dd8156c0d68825a7bed89147e26995ae.jpg","text":"TemporaryFile(/tmp/multipartBody6009312291286406483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935914247,"filename":"image_02122025_20_02_35_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/5/6624bc5fa450f2355207ca1b69eca6c4.jpg","text":"TemporaryFile(/tmp/multipartBody396093493014114015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935914247,"filename":"image_02122025_20_02_06_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/5/3fa6626c84391ff9457ec6c8f89e1844.jpg","text":"TemporaryFile(/tmp/multipartBody4692806951296473704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764935914247,"filename":"image_02122025_20_02_15_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083519","file1":"1398083481","file0":"1398083443","file4":"1398083597","file5":"1398083637","file3":"1398083559"},"map_files_photo_id_array":[{"photo_id":"1398083637","filename":"file5"},{"photo_id":"1398083519","filename":"file2"},{"photo_id":"1398083597","filename":"file4"},{"photo_id":"1398083481","filename":"file1"},{"photo_id":"1398083443","filename":"file0"},{"photo_id":"1398083559","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398083637":["hashtag1","hashtag2"]},{"1398083559":["hashtag1","hashtag2"]},{"1398083597":["hashtag1","hashtag2"]},{"1398083519":["hashtag1","hashtag2"]},{"1398083443":["hashtag1","hashtag2"]},{"1398083481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398083637, 1398083559, 1398083597, 1398083519, 1398083443, 1398083481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22758889198303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 12:59:03.329499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_44_10619.jpg', '/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_54_9766.jpg', '/home/pi/Desktop/images/05122025/12/22/image_05122025_12_23_04_9681.jpg', '/home/pi/Desktop/images/05122025/12/23/image_05122025_12_23_14_10620.jpg', '/home/pi/Desktop/images/05122025/12/23/image_05122025_12_23_24_9599.jpg', '/home/pi/Desktop/images/05122025/12/23/image_05122025_12_23_34_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_44_10619.jpg
/home/pi/Desktop/images/05122025/12/22/image_05122025_12_22_54_9766.jpg
/home/pi/Desktop/images/05122025/12/22/image_05122025_12_23_04_9681.jpg
/home/pi/Desktop/images/05122025/12/23/image_05122025_12_23_14_10620.jpg
/home/pi/Desktop/images/05122025/12/23/image_05122025_12_23_24_9599.jpg
/home/pi/Desktop/images/05122025/12/23/image_05122025_12_23_34_9940.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":["1398083901","1398083897","1398083864","1398083899","1398083895","1398083886"],"photo_ids_order":["1398083864","1398083886","1398083895","1398083897","1398083899","1398083901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54d438959eb313523857124c4cd69f01.jpg","text":"TemporaryFile(/tmp/multipartBody8270896927975320509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936004158,"filename":"image_05122025_12_23_34_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/5/9bc135adf3aac2b61d82fbb8e607d81c.jpg","text":"TemporaryFile(/tmp/multipartBody8946794240585967641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936004158,"filename":"image_05122025_12_23_14_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/5/2e82581350f58e750ea900e150d572a3.jpg","text":"TemporaryFile(/tmp/multipartBody2387528114742514114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936004158,"filename":"image_05122025_12_22_44_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/5/276ccae5ead8133f24177359e840cbea.jpg","text":"TemporaryFile(/tmp/multipartBody5372758351388446421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936004158,"filename":"image_05122025_12_23_24_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0dce93424dc84833f91d9fc6788bbc43.jpg","text":"TemporaryFile(/tmp/multipartBody6740014308181457443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936004158,"filename":"image_05122025_12_23_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/24218c5a15d71a368b2564bb6a7e471d.jpg","text":"TemporaryFile(/tmp/multipartBody6456433824963807357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936004158,"filename":"image_05122025_12_22_54_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083895","file1":"1398083886","file0":"1398083864","file4":"1398083899","file5":"1398083901","file3":"1398083897"},"map_files_photo_id_array":[{"photo_id":"1398083901","filename":"file5"},{"photo_id":"1398083895","filename":"file2"},{"photo_id":"1398083899","filename":"file4"},{"photo_id":"1398083886","filename":"file1"},{"photo_id":"1398083864","filename":"file0"},{"photo_id":"1398083897","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083901":["hashtag1","hashtag2"]},{"1398083897":["hashtag1","hashtag2"]},{"1398083864":["hashtag1","hashtag2"]},{"1398083899":["hashtag1","hashtag2"]},{"1398083895":["hashtag1","hashtag2"]},{"1398083886":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083901, 1398083897, 1398083864, 1398083899, 1398083895, 1398083886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.708118200302124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:00:03.104948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/23/image_05122025_12_23_44_10610.jpg', '/home/pi/Desktop/images/05122025/12/23/image_05122025_12_23_54_9725.jpg', '/home/pi/Desktop/images/05122025/12/23/image_05122025_12_24_04_9614.jpg', '/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_14_10641.jpg', '/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_24_9542.jpg', '/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_34_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/23/image_05122025_12_23_44_10610.jpg
/home/pi/Desktop/images/05122025/12/23/image_05122025_12_23_54_9725.jpg
/home/pi/Desktop/images/05122025/12/23/image_05122025_12_24_04_9614.jpg
/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_14_10641.jpg
/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_24_9542.jpg
/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_34_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398083913","1398083937","1398083915","1398083911","1398083976","1398083914"],"photo_ids_order":["1398083911","1398083913","1398083914","1398083915","1398083937","1398083976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3fec2310347b810ae3c5c16c7cc72181.jpg","text":"TemporaryFile(/tmp/multipartBody8430688526136807402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936063820,"filename":"image_05122025_12_23_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/5/e00d61ba1ad5467780ba3de89c0c25d6.jpg","text":"TemporaryFile(/tmp/multipartBody4244384306110586836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936063820,"filename":"image_05122025_12_24_24_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/68c8cf1f2dc2833d037d1c414742fd53.jpg","text":"TemporaryFile(/tmp/multipartBody7571323670990957880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936063820,"filename":"image_05122025_12_24_14_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/5/62b92d8378bc085fc74b512bf669967e.jpg","text":"TemporaryFile(/tmp/multipartBody2668740445366343955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936063820,"filename":"image_05122025_12_23_44_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ab59b37ea58a1bc2ecf73d7061bad7d.jpg","text":"TemporaryFile(/tmp/multipartBody4510527417160007886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936063820,"filename":"image_05122025_12_24_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/5/575ebecc3c1f1ae17d19f4c75657fc9b.jpg","text":"TemporaryFile(/tmp/multipartBody5382616597309838020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936063820,"filename":"image_05122025_12_24_04_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398083914","file1":"1398083913","file0":"1398083911","file4":"1398083937","file5":"1398083976","file3":"1398083915"},"map_files_photo_id_array":[{"photo_id":"1398083976","filename":"file5"},{"photo_id":"1398083914","filename":"file2"},{"photo_id":"1398083937","filename":"file4"},{"photo_id":"1398083913","filename":"file1"},{"photo_id":"1398083911","filename":"file0"},{"photo_id":"1398083915","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398083913":["hashtag1","hashtag2"]},{"1398083937":["hashtag1","hashtag2"]},{"1398083915":["hashtag1","hashtag2"]},{"1398083911":["hashtag1","hashtag2"]},{"1398083976":["hashtag1","hashtag2"]},{"1398083914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398083913, 1398083937, 1398083915, 1398083911, 1398083976, 1398083914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97052526473999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:00:42.829063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_08_2784.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_10_2598.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_17_2695.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_23_3571.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_26_2646.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_28_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_08_2784.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_10_2598.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_17_2695.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_23_3571.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_26_2646.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_28_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398084356","1398084317","1398084280","1398084172","1398084115","1398084231"],"photo_ids_order":["1398084115","1398084172","1398084231","1398084280","1398084317","1398084356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49e114612e13991b3eaaea38d8d7aa77.jpg","text":"TemporaryFile(/tmp/multipartBody3944552406665482107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936104443,"filename":"image_31102025_19_34_28_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/5/636696fefad5abf01e9bb4044709774c.jpg","text":"TemporaryFile(/tmp/multipartBody7108610891624270201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936104443,"filename":"image_31102025_19_34_26_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/5/89cc3252da002e6df1bcf6c55fabe83a.jpg","text":"TemporaryFile(/tmp/multipartBody1724475671949031891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936104443,"filename":"image_31102025_19_34_23_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/5/bdc561dcbb8d43cd9a42db69112c9012.jpg","text":"TemporaryFile(/tmp/multipartBody3042889349024637359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936104443,"filename":"image_31102025_19_34_10_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/5/1afc9057f5e83ab7d18ce9e4e51502f8.jpg","text":"TemporaryFile(/tmp/multipartBody1260038714265450500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936104443,"filename":"image_31102025_19_34_08_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/5/643d3482f30068aa3eb5c9c3d2103f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8148432288650146737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936104443,"filename":"image_31102025_19_34_17_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398084231","file1":"1398084172","file0":"1398084115","file4":"1398084317","file5":"1398084356","file3":"1398084280"},"map_files_photo_id_array":[{"photo_id":"1398084356","filename":"file5"},{"photo_id":"1398084231","filename":"file2"},{"photo_id":"1398084317","filename":"file4"},{"photo_id":"1398084172","filename":"file1"},{"photo_id":"1398084115","filename":"file0"},{"photo_id":"1398084280","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398084356":["hashtag1","hashtag2"]},{"1398084317":["hashtag1","hashtag2"]},{"1398084280":["hashtag1","hashtag2"]},{"1398084172":["hashtag1","hashtag2"]},{"1398084115":["hashtag1","hashtag2"]},{"1398084231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398084356, 1398084317, 1398084280, 1398084172, 1398084115, 1398084231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.90356707572937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 13:01:32.003789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/03/image_02122025_20_04_05_9557.jpg', '/home/pi/Desktop/images/02122025/20/04/image_02122025_20_04_25_9687.jpg', '/home/pi/Desktop/images/02122025/20/04/image_02122025_20_04_35_9730.jpg', '/home/pi/Desktop/images/02122025/20/04/image_02122025_20_04_45_9693.jpg', '/home/pi/Desktop/images/02122025/20/05/image_02122025_20_05_25_9754.jpg', '/home/pi/Desktop/images/02122025/20/06/image_02122025_20_06_15_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/03/image_02122025_20_04_05_9557.jpg
/home/pi/Desktop/images/02122025/20/04/image_02122025_20_04_25_9687.jpg
/home/pi/Desktop/images/02122025/20/04/image_02122025_20_04_35_9730.jpg
/home/pi/Desktop/images/02122025/20/04/image_02122025_20_04_45_9693.jpg
/home/pi/Desktop/images/02122025/20/05/image_02122025_20_05_25_9754.jpg
/home/pi/Desktop/images/02122025/20/06/image_02122025_20_06_15_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":["1398084554","1398084515","1398084682","1398084643","1398084718","1398084591"],"photo_ids_order":["1398084515","1398084554","1398084591","1398084643","1398084682","1398084718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d50006495e96ec87bcd960f4b5462b2e.jpg","text":"TemporaryFile(/tmp/multipartBody4557235974450936643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936154796,"filename":"image_02122025_20_04_25_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/010793e05c8a3299d2a89805e6f5b020.jpg","text":"TemporaryFile(/tmp/multipartBody9120634975835869299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936154796,"filename":"image_02122025_20_04_05_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3f8f26dfcbff6a1b2720ccb6215c85ec.jpg","text":"TemporaryFile(/tmp/multipartBody6941665950654661292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936154796,"filename":"image_02122025_20_05_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/5/7ba908e690b16ed086760543fe5aec57.jpg","text":"TemporaryFile(/tmp/multipartBody3533914049347513927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936154796,"filename":"image_02122025_20_04_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/edc490ca4919600a5bcd6a6548bfae3d.jpg","text":"TemporaryFile(/tmp/multipartBody2836459555486007547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936154796,"filename":"image_02122025_20_06_15_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/5/0a6e1dd6834eeccef2bc1171c8a1ddcb.jpg","text":"TemporaryFile(/tmp/multipartBody1089713589370713849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936154796,"filename":"image_02122025_20_04_35_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398084591","file1":"1398084554","file0":"1398084515","file4":"1398084682","file5":"1398084718","file3":"1398084643"},"map_files_photo_id_array":[{"photo_id":"1398084718","filename":"file5"},{"photo_id":"1398084591","filename":"file2"},{"photo_id":"1398084682","filename":"file4"},{"photo_id":"1398084554","filename":"file1"},{"photo_id":"1398084515","filename":"file0"},{"photo_id":"1398084643","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398084554":["hashtag1","hashtag2"]},{"1398084515":["hashtag1","hashtag2"]},{"1398084682":["hashtag1","hashtag2"]},{"1398084643":["hashtag1","hashtag2"]},{"1398084718":["hashtag1","hashtag2"]},{"1398084591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398084554, 1398084515, 1398084682, 1398084643, 1398084718, 1398084591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50029683113098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:02:22.186584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_44_10614.jpg', '/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_54_9663.jpg', '/home/pi/Desktop/images/05122025/12/24/image_05122025_12_25_04_9740.jpg', '/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_14_10653.jpg', '/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_24_9576.jpg', '/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_34_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_44_10614.jpg
/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_54_9663.jpg
/home/pi/Desktop/images/05122025/12/24/image_05122025_12_25_04_9740.jpg
/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_14_10653.jpg
/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_24_9576.jpg
/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_34_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.6265854835510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 13:02:32.220016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/06/image_02122025_20_06_45_9545.jpg', '/home/pi/Desktop/images/02122025/20/07/image_02122025_20_07_15_9611.jpg', '/home/pi/Desktop/images/02122025/20/07/image_02122025_20_07_45_9693.jpg', '/home/pi/Desktop/images/02122025/20/08/image_02122025_20_08_25_9625.jpg', '/home/pi/Desktop/images/02122025/20/08/image_02122025_20_08_35_9688.jpg', '/home/pi/Desktop/images/02122025/20/08/image_02122025_20_08_55_9886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/06/image_02122025_20_06_45_9545.jpg
/home/pi/Desktop/images/02122025/20/07/image_02122025_20_07_15_9611.jpg
/home/pi/Desktop/images/02122025/20/07/image_02122025_20_07_45_9693.jpg
/home/pi/Desktop/images/02122025/20/08/image_02122025_20_08_25_9625.jpg
/home/pi/Desktop/images/02122025/20/08/image_02122025_20_08_35_9688.jpg
/home/pi/Desktop/images/02122025/20/08/image_02122025_20_08_55_9886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398084986","1398085138","1398085207","1398085071","1398085023","1398084948"],"photo_ids_order":["1398084948","1398084986","1398085023","1398085071","1398085138","1398085207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49847a27cc68b6d3a010aa2fb7c3cbd3.jpg","text":"TemporaryFile(/tmp/multipartBody7526010070036022817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936214398,"filename":"image_02122025_20_07_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/5/300d334e1f9e6b6246286a6603f96760.jpg","text":"TemporaryFile(/tmp/multipartBody4135966011623200467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936214398,"filename":"image_02122025_20_08_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/66e9fd764fa552485fc3f785404f60c6.jpg","text":"TemporaryFile(/tmp/multipartBody9109813130318415799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936214398,"filename":"image_02122025_20_08_55_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/5/79574fed692c90d468f344fea47c992a.jpg","text":"TemporaryFile(/tmp/multipartBody2052831383147608619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936214398,"filename":"image_02122025_20_08_25_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/5/b64511ad22d6f78605c79a10087b4c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3661656376413889361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936214398,"filename":"image_02122025_20_07_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95ced9511707019bf361ed097573a483.jpg","text":"TemporaryFile(/tmp/multipartBody7148995627309211496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936214398,"filename":"image_02122025_20_06_45_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398085023","file1":"1398084986","file0":"1398084948","file4":"1398085138","file5":"1398085207","file3":"1398085071"},"map_files_photo_id_array":[{"photo_id":"1398085207","filename":"file5"},{"photo_id":"1398085023","filename":"file2"},{"photo_id":"1398085138","filename":"file4"},{"photo_id":"1398084986","filename":"file1"},{"photo_id":"1398084948","filename":"file0"},{"photo_id":"1398085071","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398084986":["hashtag1","hashtag2"]},{"1398085138":["hashtag1","hashtag2"]},{"1398085207":["hashtag1","hashtag2"]},{"1398085071":["hashtag1","hashtag2"]},{"1398085023":["hashtag1","hashtag2"]},{"1398084948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398084986, 1398085138, 1398085207, 1398085071, 1398085023, 1398084948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20574069023132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 13:03:12.536806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/09/image_02122025_20_09_26_10878.jpg', '/home/pi/Desktop/images/02122025/20/09/image_02122025_20_09_35_9602.jpg', '/home/pi/Desktop/images/02122025/20/09/image_02122025_20_10_05_9719.jpg', '/home/pi/Desktop/images/02122025/20/10/image_02122025_20_10_15_9620.jpg', '/home/pi/Desktop/images/02122025/20/10/image_02122025_20_11_05_10736.jpg', '/home/pi/Desktop/images/02122025/20/11/image_02122025_20_11_15_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/09/image_02122025_20_09_26_10878.jpg
/home/pi/Desktop/images/02122025/20/09/image_02122025_20_09_35_9602.jpg
/home/pi/Desktop/images/02122025/20/09/image_02122025_20_10_05_9719.jpg
/home/pi/Desktop/images/02122025/20/10/image_02122025_20_10_15_9620.jpg
/home/pi/Desktop/images/02122025/20/10/image_02122025_20_11_05_10736.jpg
/home/pi/Desktop/images/02122025/20/11/image_02122025_20_11_15_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":["1398085520","1398085561","1398085708","1398085636","1398085482","1398085598"],"photo_ids_order":["1398085482","1398085520","1398085561","1398085598","1398085636","1398085708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee7a8e03bedac5581d689f53ca0c724c.jpg","text":"TemporaryFile(/tmp/multipartBody9155956247972915849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936254616,"filename":"image_02122025_20_09_35_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/5/4664b84982c233d3cbba5d181c7369f3.jpg","text":"TemporaryFile(/tmp/multipartBody7889293623993229071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936254616,"filename":"image_02122025_20_10_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/5/fb45360d663c56e32643089552ed63b3.jpg","text":"TemporaryFile(/tmp/multipartBody325532190378798567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936254616,"filename":"image_02122025_20_11_15_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/42c6064978b0f237f58a3d2bc2513a9c.jpg","text":"TemporaryFile(/tmp/multipartBody8583010059803337445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936254616,"filename":"image_02122025_20_11_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/5/4ecc3a05f8de8271e0d7aade24d8e767.jpg","text":"TemporaryFile(/tmp/multipartBody819884530778868648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936254616,"filename":"image_02122025_20_09_26_10878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a6593a544b825878ff66da9d1e19ed3e.jpg","text":"TemporaryFile(/tmp/multipartBody7869738716754520478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936254616,"filename":"image_02122025_20_10_15_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398085561","file1":"1398085520","file0":"1398085482","file4":"1398085636","file5":"1398085708","file3":"1398085598"},"map_files_photo_id_array":[{"photo_id":"1398085708","filename":"file5"},{"photo_id":"1398085561","filename":"file2"},{"photo_id":"1398085636","filename":"file4"},{"photo_id":"1398085520","filename":"file1"},{"photo_id":"1398085482","filename":"file0"},{"photo_id":"1398085598","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398085520":["hashtag1","hashtag2"]},{"1398085561":["hashtag1","hashtag2"]},{"1398085708":["hashtag1","hashtag2"]},{"1398085636":["hashtag1","hashtag2"]},{"1398085482":["hashtag1","hashtag2"]},{"1398085598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398085520, 1398085561, 1398085708, 1398085636, 1398085482, 1398085598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.780818939208984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:04:03.561086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_44_10614.jpg', '/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_54_9663.jpg', '/home/pi/Desktop/images/05122025/12/24/image_05122025_12_25_04_9740.jpg', '/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_14_10653.jpg', '/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_24_9576.jpg', '/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_34_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_44_10614.jpg
/home/pi/Desktop/images/05122025/12/24/image_05122025_12_24_54_9663.jpg
/home/pi/Desktop/images/05122025/12/24/image_05122025_12_25_04_9740.jpg
/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_14_10653.jpg
/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_24_9576.jpg
/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_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":["1398086300","1398086056","1398086055","1398086202","1398086099","1398086021"],"photo_ids_order":["1398086021","1398086055","1398086056","1398086099","1398086202","1398086300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f9145072ee78bd50bd5b1a6b11a4f59e.jpg","text":"TemporaryFile(/tmp/multipartBody2408254370826139731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936304256,"filename":"image_05122025_12_25_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/5/4b2e09577f99f0aa1faeebf8a8f92181.jpg","text":"TemporaryFile(/tmp/multipartBody418115865719265877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936304256,"filename":"image_05122025_12_25_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/5/3964c18b602589efd29091a5e71d48d1.jpg","text":"TemporaryFile(/tmp/multipartBody2249165518617566202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936304256,"filename":"image_05122025_12_24_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/5/fc93b99fb274b07ff8dbff7d1af2d807.jpg","text":"TemporaryFile(/tmp/multipartBody3666083215918664531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936304256,"filename":"image_05122025_12_25_24_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/33a214afd55b45e140671b564353e4db.jpg","text":"TemporaryFile(/tmp/multipartBody2579885165663114848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936304256,"filename":"image_05122025_12_25_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/5/22a143cbb94419014d33d88b1ab32c1b.jpg","text":"TemporaryFile(/tmp/multipartBody285719742492385213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936304256,"filename":"image_05122025_12_24_44_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398086056","file1":"1398086055","file0":"1398086021","file4":"1398086202","file5":"1398086300","file3":"1398086099"},"map_files_photo_id_array":[{"photo_id":"1398086300","filename":"file5"},{"photo_id":"1398086056","filename":"file2"},{"photo_id":"1398086202","filename":"file4"},{"photo_id":"1398086055","filename":"file1"},{"photo_id":"1398086021","filename":"file0"},{"photo_id":"1398086099","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398086300":["hashtag1","hashtag2"]},{"1398086056":["hashtag1","hashtag2"]},{"1398086055":["hashtag1","hashtag2"]},{"1398086202":["hashtag1","hashtag2"]},{"1398086099":["hashtag1","hashtag2"]},{"1398086021":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398086300, 1398086056, 1398086055, 1398086202, 1398086099, 1398086021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27050995826721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:04:42.793086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_32_3654.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_35_2842.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_40_2790.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_44_3572.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_46_2681.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_50_3557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_32_3654.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_35_2842.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_40_2790.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_44_3572.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_46_2681.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_50_3557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398086632","1398086635","1398086629","1398086634","1398086639","1398086633"],"photo_ids_order":["1398086629","1398086632","1398086633","1398086634","1398086635","1398086639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f7480d50eb7461c140d8446c509ceeb7.jpg","text":"TemporaryFile(/tmp/multipartBody4731904985654807714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936344434,"filename":"image_31102025_19_34_35_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/640cfaff3e671c02739366fc66659c5d.jpg","text":"TemporaryFile(/tmp/multipartBody944098238844144932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936344434,"filename":"image_31102025_19_34_46_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/5/aa28b497bf8d5e4c8e81ed2762b85b41.jpg","text":"TemporaryFile(/tmp/multipartBody8867967612157207118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936344434,"filename":"image_31102025_19_34_32_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/5/4d3890e6c0fe25ff92e6ad1432f7ac8f.jpg","text":"TemporaryFile(/tmp/multipartBody2435506377546034518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936344434,"filename":"image_31102025_19_34_44_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/5/bb1f4b0081b8ed70dd78885b1534331a.jpg","text":"TemporaryFile(/tmp/multipartBody3460414923553320682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936344434,"filename":"image_31102025_19_34_50_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/783ca646016b761fd499cbdc766e80a8.jpg","text":"TemporaryFile(/tmp/multipartBody2274716228006772248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936344434,"filename":"image_31102025_19_34_40_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398086633","file1":"1398086632","file0":"1398086629","file4":"1398086635","file5":"1398086639","file3":"1398086634"},"map_files_photo_id_array":[{"photo_id":"1398086639","filename":"file5"},{"photo_id":"1398086633","filename":"file2"},{"photo_id":"1398086635","filename":"file4"},{"photo_id":"1398086632","filename":"file1"},{"photo_id":"1398086629","filename":"file0"},{"photo_id":"1398086634","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398086632":["hashtag1","hashtag2"]},{"1398086635":["hashtag1","hashtag2"]},{"1398086629":["hashtag1","hashtag2"]},{"1398086634":["hashtag1","hashtag2"]},{"1398086639":["hashtag1","hashtag2"]},{"1398086633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398086632, 1398086635, 1398086629, 1398086634, 1398086639, 1398086633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65910053253174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 13:05:31.989916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/11/image_02122025_20_11_45_9712.jpg', '/home/pi/Desktop/images/02122025/20/12/image_02122025_20_12_45_9731.jpg', '/home/pi/Desktop/images/02122025/20/13/image_02122025_20_13_15_9662.jpg', '/home/pi/Desktop/images/02122025/20/13/image_02122025_20_13_55_9676.jpg', '/home/pi/Desktop/images/02122025/20/14/image_02122025_20_14_16_10754.jpg', '/home/pi/Desktop/images/02122025/20/14/image_02122025_20_14_25_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/11/image_02122025_20_11_45_9712.jpg
/home/pi/Desktop/images/02122025/20/12/image_02122025_20_12_45_9731.jpg
/home/pi/Desktop/images/02122025/20/13/image_02122025_20_13_15_9662.jpg
/home/pi/Desktop/images/02122025/20/13/image_02122025_20_13_55_9676.jpg
/home/pi/Desktop/images/02122025/20/14/image_02122025_20_14_16_10754.jpg
/home/pi/Desktop/images/02122025/20/14/image_02122025_20_14_25_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398086872","1398086989","1398087033","1398086831","1398086912","1398086834"],"photo_ids_order":["1398086831","1398086834","1398086872","1398086912","1398086989","1398087033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d8f485f88927e930181b8c2c2ed4ba58.jpg","text":"TemporaryFile(/tmp/multipartBody9204991647502421086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936394137,"filename":"image_02122025_20_13_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/5/b558031a955f31e975b13df146b54272.jpg","text":"TemporaryFile(/tmp/multipartBody3124197843020351011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936394137,"filename":"image_02122025_20_14_16_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/5/2d7cc0b120d4d5ff66c202d89fa589fe.jpg","text":"TemporaryFile(/tmp/multipartBody5027446212964600196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936394137,"filename":"image_02122025_20_14_25_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a447403639b69e3d445ea8548794c436.jpg","text":"TemporaryFile(/tmp/multipartBody7940116642045313270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936394137,"filename":"image_02122025_20_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/5/826d87612313e7b46b7efdcaeab6ab34.jpg","text":"TemporaryFile(/tmp/multipartBody2738532999202849344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936394137,"filename":"image_02122025_20_13_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/5/1e1badca719117c64d02128fafd4ec53.jpg","text":"TemporaryFile(/tmp/multipartBody8182223410266468083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936394137,"filename":"image_02122025_20_12_45_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398086872","file1":"1398086834","file0":"1398086831","file4":"1398086989","file5":"1398087033","file3":"1398086912"},"map_files_photo_id_array":[{"photo_id":"1398087033","filename":"file5"},{"photo_id":"1398086872","filename":"file2"},{"photo_id":"1398086989","filename":"file4"},{"photo_id":"1398086834","filename":"file1"},{"photo_id":"1398086831","filename":"file0"},{"photo_id":"1398086912","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398086872":["hashtag1","hashtag2"]},{"1398086989":["hashtag1","hashtag2"]},{"1398087033":["hashtag1","hashtag2"]},{"1398086831":["hashtag1","hashtag2"]},{"1398086912":["hashtag1","hashtag2"]},{"1398086834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398086872, 1398086989, 1398087033, 1398086831, 1398086912, 1398086834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0183482170105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 13:06:12.239917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/14/image_02122025_20_14_35_9659.jpg', '/home/pi/Desktop/images/02122025/20/14/image_02122025_20_14_55_9801.jpg', '/home/pi/Desktop/images/02122025/20/15/image_02122025_20_15_25_9696.jpg', '/home/pi/Desktop/images/02122025/20/15/image_02122025_20_15_45_9622.jpg', '/home/pi/Desktop/images/02122025/20/16/image_02122025_20_16_15_10681.jpg', '/home/pi/Desktop/images/02122025/20/16/image_02122025_20_16_25_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/14/image_02122025_20_14_35_9659.jpg
/home/pi/Desktop/images/02122025/20/14/image_02122025_20_14_55_9801.jpg
/home/pi/Desktop/images/02122025/20/15/image_02122025_20_15_25_9696.jpg
/home/pi/Desktop/images/02122025/20/15/image_02122025_20_15_45_9622.jpg
/home/pi/Desktop/images/02122025/20/16/image_02122025_20_16_15_10681.jpg
/home/pi/Desktop/images/02122025/20/16/image_02122025_20_16_25_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398087198","1398087162","1398087353","1398087236","1398087317","1398087280"],"photo_ids_order":["1398087162","1398087198","1398087236","1398087280","1398087317","1398087353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6b23d446cc2e17c4647418010b6fe131.jpg","text":"TemporaryFile(/tmp/multipartBody5957830265345944664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936434292,"filename":"image_02122025_20_14_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/5/89a3c1df1a722b07a87acdd5581d4cf1.jpg","text":"TemporaryFile(/tmp/multipartBody3489491046201346414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936434292,"filename":"image_02122025_20_14_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/5/cee34ce7f49fc77de6d94b61f2e830b1.jpg","text":"TemporaryFile(/tmp/multipartBody2981721661215268542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936434292,"filename":"image_02122025_20_16_25_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/5/2f17c39a35fdfdf9671181e416240bb9.jpg","text":"TemporaryFile(/tmp/multipartBody7078871311811234762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936434292,"filename":"image_02122025_20_15_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/5/1c67ef567122f208e2ebdd8f9fff8801.jpg","text":"TemporaryFile(/tmp/multipartBody6536951838601745699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936434292,"filename":"image_02122025_20_16_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/5/f6ffac77342d86927b8523f6dbe764c1.jpg","text":"TemporaryFile(/tmp/multipartBody3072201567622543497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936434292,"filename":"image_02122025_20_15_45_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398087236","file1":"1398087198","file0":"1398087162","file4":"1398087317","file5":"1398087353","file3":"1398087280"},"map_files_photo_id_array":[{"photo_id":"1398087353","filename":"file5"},{"photo_id":"1398087236","filename":"file2"},{"photo_id":"1398087317","filename":"file4"},{"photo_id":"1398087198","filename":"file1"},{"photo_id":"1398087162","filename":"file0"},{"photo_id":"1398087280","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398087198":["hashtag1","hashtag2"]},{"1398087162":["hashtag1","hashtag2"]},{"1398087353":["hashtag1","hashtag2"]},{"1398087236":["hashtag1","hashtag2"]},{"1398087317":["hashtag1","hashtag2"]},{"1398087280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398087198, 1398087162, 1398087353, 1398087236, 1398087317, 1398087280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.882864475250244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:07:03.638059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_44_10644.jpg', '/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_54_9678.jpg', '/home/pi/Desktop/images/05122025/12/25/image_05122025_12_26_04_9866.jpg', '/home/pi/Desktop/images/05122025/12/26/image_05122025_12_26_13_9657.jpg', '/home/pi/Desktop/images/05122025/12/26/image_05122025_12_26_24_10765.jpg', '/home/pi/Desktop/images/05122025/12/26/image_05122025_12_26_34_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_44_10644.jpg
/home/pi/Desktop/images/05122025/12/25/image_05122025_12_25_54_9678.jpg
/home/pi/Desktop/images/05122025/12/25/image_05122025_12_26_04_9866.jpg
/home/pi/Desktop/images/05122025/12/26/image_05122025_12_26_13_9657.jpg
/home/pi/Desktop/images/05122025/12/26/image_05122025_12_26_24_10765.jpg
/home/pi/Desktop/images/05122025/12/26/image_05122025_12_26_34_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":["1398087465","1398087470","1398087464","1398087467","1398087437","1398087401"],"photo_ids_order":["1398087401","1398087437","1398087464","1398087465","1398087467","1398087470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fdad4422ba6d9974ba370366d8d624b9.jpg","text":"TemporaryFile(/tmp/multipartBody982923302567338682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936484298,"filename":"image_05122025_12_26_13_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/5/fe870bb4ef52f27f84b8c2e233304b57.jpg","text":"TemporaryFile(/tmp/multipartBody1334591958195206619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936484298,"filename":"image_05122025_12_26_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/5/9e3bdaa8ce180c6f22ff63c690836237.jpg","text":"TemporaryFile(/tmp/multipartBody7153646418810232842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936484298,"filename":"image_05122025_12_26_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/5/701a23c6839d275810b55a02fd0754ec.jpg","text":"TemporaryFile(/tmp/multipartBody75322385283004824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936484298,"filename":"image_05122025_12_26_24_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/5/6a447a3cabfe4090a71e0fb79aeb3f50.jpg","text":"TemporaryFile(/tmp/multipartBody348291628909006362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936484298,"filename":"image_05122025_12_25_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/5/3aaab61c10e8024adfceb575d82eb97f.jpg","text":"TemporaryFile(/tmp/multipartBody1320821230606039334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936484298,"filename":"image_05122025_12_25_44_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398087464","file1":"1398087437","file0":"1398087401","file4":"1398087467","file5":"1398087470","file3":"1398087465"},"map_files_photo_id_array":[{"photo_id":"1398087470","filename":"file5"},{"photo_id":"1398087464","filename":"file2"},{"photo_id":"1398087467","filename":"file4"},{"photo_id":"1398087437","filename":"file1"},{"photo_id":"1398087401","filename":"file0"},{"photo_id":"1398087465","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398087465":["hashtag1","hashtag2"]},{"1398087470":["hashtag1","hashtag2"]},{"1398087464":["hashtag1","hashtag2"]},{"1398087467":["hashtag1","hashtag2"]},{"1398087437":["hashtag1","hashtag2"]},{"1398087401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398087465, 1398087470, 1398087464, 1398087467, 1398087437, 1398087401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87944030761719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:07:42.543075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_55_2545.jpg', '/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_59_3597.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_01_2747.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_04_2915.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_07_2759.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_13_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_55_2545.jpg
/home/pi/Desktop/images/31102025/19/34/image_31102025_19_34_59_3597.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_01_2747.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_04_2915.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_07_2759.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_13_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":["1398087591","1398087588","1398087587","1398087590","1398087572","1398087589"],"photo_ids_order":["1398087572","1398087587","1398087588","1398087589","1398087590","1398087591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/59f0293f1f21418655e77ec3acedc78e.jpg","text":"TemporaryFile(/tmp/multipartBody5386579367923011977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936524160,"filename":"image_31102025_19_35_13_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/5/356eb81c4e8f73dd6f5a0dba9901c331.jpg","text":"TemporaryFile(/tmp/multipartBody4275639318425544368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936524160,"filename":"image_31102025_19_35_01_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/5/13ceaeadad9d0226ced88c9d225bfa14.jpg","text":"TemporaryFile(/tmp/multipartBody3553327471070688905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936524160,"filename":"image_31102025_19_34_59_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/5/7bff982c19de538e62763b94ecd07ad4.jpg","text":"TemporaryFile(/tmp/multipartBody4449709171808042083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936524160,"filename":"image_31102025_19_35_07_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/5/792f2c25799b2a9d7ea49f67519eefb0.jpg","text":"TemporaryFile(/tmp/multipartBody9004597296435577152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936524160,"filename":"image_31102025_19_34_55_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/5/9f5e4c2a9092395714ad2c5294d3f279.jpg","text":"TemporaryFile(/tmp/multipartBody425895213772611034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936524160,"filename":"image_31102025_19_35_04_2915.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398087588","file1":"1398087587","file0":"1398087572","file4":"1398087590","file5":"1398087591","file3":"1398087589"},"map_files_photo_id_array":[{"photo_id":"1398087591","filename":"file5"},{"photo_id":"1398087588","filename":"file2"},{"photo_id":"1398087590","filename":"file4"},{"photo_id":"1398087587","filename":"file1"},{"photo_id":"1398087572","filename":"file0"},{"photo_id":"1398087589","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398087591":["hashtag1","hashtag2"]},{"1398087588":["hashtag1","hashtag2"]},{"1398087587":["hashtag1","hashtag2"]},{"1398087590":["hashtag1","hashtag2"]},{"1398087572":["hashtag1","hashtag2"]},{"1398087589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398087591, 1398087588, 1398087587, 1398087590, 1398087572, 1398087589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.535717487335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:08:22.663028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/26/image_05122025_12_26_44_9784.jpg', '/home/pi/Desktop/images/05122025/12/26/image_05122025_12_26_54_10631.jpg', '/home/pi/Desktop/images/05122025/12/26/image_05122025_12_27_04_9642.jpg', '/home/pi/Desktop/images/05122025/12/27/image_05122025_12_27_14_9701.jpg', '/home/pi/Desktop/images/05122025/12/27/image_05122025_12_27_24_10801.jpg', '/home/pi/Desktop/images/05122025/12/27/image_05122025_12_27_34_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/26/image_05122025_12_26_44_9784.jpg
/home/pi/Desktop/images/05122025/12/26/image_05122025_12_26_54_10631.jpg
/home/pi/Desktop/images/05122025/12/26/image_05122025_12_27_04_9642.jpg
/home/pi/Desktop/images/05122025/12/27/image_05122025_12_27_14_9701.jpg
/home/pi/Desktop/images/05122025/12/27/image_05122025_12_27_24_10801.jpg
/home/pi/Desktop/images/05122025/12/27/image_05122025_12_27_34_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":["1398087600","1398087603","1398087593","1398087596","1398087598","1398087595"],"photo_ids_order":["1398087593","1398087595","1398087596","1398087598","1398087600","1398087603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bbeba7a32a120f83f2f34088e12e6346.jpg","text":"TemporaryFile(/tmp/multipartBody6183523144767945735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936563302,"filename":"image_05122025_12_27_24_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e0cf0baecace1d9fa1d5b7147445b448.jpg","text":"TemporaryFile(/tmp/multipartBody4249519313610818697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936563302,"filename":"image_05122025_12_27_34_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/5/ea15ee975ad1b53d5197237a32648404.jpg","text":"TemporaryFile(/tmp/multipartBody2026451261304353792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936563302,"filename":"image_05122025_12_26_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/5/e706a0ab8cdb847a2ba13718a952b73e.jpg","text":"TemporaryFile(/tmp/multipartBody7651632318244538108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936563302,"filename":"image_05122025_12_27_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/5/ddb28516668852d1f619a19afdeda69e.jpg","text":"TemporaryFile(/tmp/multipartBody6089363072387058731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936563302,"filename":"image_05122025_12_27_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/5/523570ae490ca81bb03052ed90fd9fce.jpg","text":"TemporaryFile(/tmp/multipartBody4867691439694387306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936563302,"filename":"image_05122025_12_26_54_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398087596","file1":"1398087595","file0":"1398087593","file4":"1398087600","file5":"1398087603","file3":"1398087598"},"map_files_photo_id_array":[{"photo_id":"1398087603","filename":"file5"},{"photo_id":"1398087596","filename":"file2"},{"photo_id":"1398087600","filename":"file4"},{"photo_id":"1398087595","filename":"file1"},{"photo_id":"1398087593","filename":"file0"},{"photo_id":"1398087598","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398087600":["hashtag1","hashtag2"]},{"1398087603":["hashtag1","hashtag2"]},{"1398087593":["hashtag1","hashtag2"]},{"1398087596":["hashtag1","hashtag2"]},{"1398087598":["hashtag1","hashtag2"]},{"1398087595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398087600, 1398087603, 1398087593, 1398087596, 1398087598, 1398087595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56808876991272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:09:02.833800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/27/image_05122025_12_27_44_9672.jpg', '/home/pi/Desktop/images/05122025/12/27/image_05122025_12_27_53_9664.jpg', '/home/pi/Desktop/images/05122025/12/27/image_05122025_12_28_04_10729.jpg', '/home/pi/Desktop/images/05122025/12/28/image_05122025_12_28_14_9614.jpg', '/home/pi/Desktop/images/05122025/12/28/image_05122025_12_28_24_10593.jpg', '/home/pi/Desktop/images/05122025/12/28/image_05122025_12_28_34_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/27/image_05122025_12_27_44_9672.jpg
/home/pi/Desktop/images/05122025/12/27/image_05122025_12_27_53_9664.jpg
/home/pi/Desktop/images/05122025/12/27/image_05122025_12_28_04_10729.jpg
/home/pi/Desktop/images/05122025/12/28/image_05122025_12_28_14_9614.jpg
/home/pi/Desktop/images/05122025/12/28/image_05122025_12_28_24_10593.jpg
/home/pi/Desktop/images/05122025/12/28/image_05122025_12_28_34_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":["1398087607","1398087609","1398087606","1398087611","1398087605","1398087608"],"photo_ids_order":["1398087605","1398087606","1398087607","1398087608","1398087609","1398087611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/598b35db837de62e9a4d43e8eb90bf5b.jpg","text":"TemporaryFile(/tmp/multipartBody4271986286323957956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936603617,"filename":"image_05122025_12_28_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/5/d05d402b9310daa164df1a8426b3ff2a.jpg","text":"TemporaryFile(/tmp/multipartBody2859799770881749452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936603617,"filename":"image_05122025_12_28_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/5/837109bb56138911b01793e9cb789ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2988374309977816708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936603617,"filename":"image_05122025_12_27_53_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/5/f0791cc9112da47e39f2b438337562bb.jpg","text":"TemporaryFile(/tmp/multipartBody7765427370806085391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936603617,"filename":"image_05122025_12_28_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/5/221330a77d6259f7e2ab8aeeb13abbb0.jpg","text":"TemporaryFile(/tmp/multipartBody5481424041302059530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936603617,"filename":"image_05122025_12_27_44_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/5/147503041c90af6557e14fa5c9380a48.jpg","text":"TemporaryFile(/tmp/multipartBody8704190927156577021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936603617,"filename":"image_05122025_12_28_14_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398087607","file1":"1398087606","file0":"1398087605","file4":"1398087609","file5":"1398087611","file3":"1398087608"},"map_files_photo_id_array":[{"photo_id":"1398087611","filename":"file5"},{"photo_id":"1398087607","filename":"file2"},{"photo_id":"1398087609","filename":"file4"},{"photo_id":"1398087606","filename":"file1"},{"photo_id":"1398087605","filename":"file0"},{"photo_id":"1398087608","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398087607":["hashtag1","hashtag2"]},{"1398087609":["hashtag1","hashtag2"]},{"1398087606":["hashtag1","hashtag2"]},{"1398087611":["hashtag1","hashtag2"]},{"1398087605":["hashtag1","hashtag2"]},{"1398087608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398087607, 1398087609, 1398087606, 1398087611, 1398087605, 1398087608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.876535177230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:09:41.847042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_20_3696.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_23_2745.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_25_2776.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_28_2652.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_32_3780.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_37_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_20_3696.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_23_2745.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_25_2776.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_28_2652.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_32_3780.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_37_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":["1398087622","1398087619","1398087621","1398087623","1398087620","1398087617"],"photo_ids_order":["1398087617","1398087619","1398087620","1398087621","1398087622","1398087623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b249b2cd62196b345d4794b5ef04262.jpg","text":"TemporaryFile(/tmp/multipartBody6687786516437480755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936643454,"filename":"image_31102025_19_35_32_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/88da4c43857dcf7057b2a574b6136709.jpg","text":"TemporaryFile(/tmp/multipartBody3794218527679587598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936643454,"filename":"image_31102025_19_35_23_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/5/37e24fa01222dc37773977c4998c18d7.jpg","text":"TemporaryFile(/tmp/multipartBody2436059538149266907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936643454,"filename":"image_31102025_19_35_28_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/5/0b5e615cb24058fe5ed540476695d1eb.jpg","text":"TemporaryFile(/tmp/multipartBody3214417411928615452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936643454,"filename":"image_31102025_19_35_37_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/099b092fe1f565a272a3e0e296bd3b3d.jpg","text":"TemporaryFile(/tmp/multipartBody6688585256437336236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936643454,"filename":"image_31102025_19_35_25_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/5/8579b0a51a0ba42e3dad86c6f77b06e1.jpg","text":"TemporaryFile(/tmp/multipartBody7511847696583258004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936643454,"filename":"image_31102025_19_35_20_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398087620","file1":"1398087619","file0":"1398087617","file4":"1398087622","file5":"1398087623","file3":"1398087621"},"map_files_photo_id_array":[{"photo_id":"1398087623","filename":"file5"},{"photo_id":"1398087620","filename":"file2"},{"photo_id":"1398087622","filename":"file4"},{"photo_id":"1398087619","filename":"file1"},{"photo_id":"1398087617","filename":"file0"},{"photo_id":"1398087621","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398087622":["hashtag1","hashtag2"]},{"1398087619":["hashtag1","hashtag2"]},{"1398087621":["hashtag1","hashtag2"]},{"1398087623":["hashtag1","hashtag2"]},{"1398087620":["hashtag1","hashtag2"]},{"1398087617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398087622, 1398087619, 1398087621, 1398087623, 1398087620, 1398087617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58168077468872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:10:22.004893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/28/image_05122025_12_28_44_9659.jpg', '/home/pi/Desktop/images/05122025/12/28/image_05122025_12_28_54_10572.jpg', '/home/pi/Desktop/images/05122025/12/28/image_05122025_12_29_04_9616.jpg', '/home/pi/Desktop/images/05122025/12/29/image_05122025_12_29_14_9663.jpg', '/home/pi/Desktop/images/05122025/12/29/image_05122025_12_29_24_10661.jpg', '/home/pi/Desktop/images/05122025/12/29/image_05122025_12_29_34_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/28/image_05122025_12_28_44_9659.jpg
/home/pi/Desktop/images/05122025/12/28/image_05122025_12_28_54_10572.jpg
/home/pi/Desktop/images/05122025/12/28/image_05122025_12_29_04_9616.jpg
/home/pi/Desktop/images/05122025/12/29/image_05122025_12_29_14_9663.jpg
/home/pi/Desktop/images/05122025/12/29/image_05122025_12_29_24_10661.jpg
/home/pi/Desktop/images/05122025/12/29/image_05122025_12_29_34_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398087631","1398087625","1398087627","1398087624","1398087635","1398087629"],"photo_ids_order":["1398087624","1398087625","1398087627","1398087629","1398087631","1398087635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c4208ad68d2a6fce328eb33df60d281.jpg","text":"TemporaryFile(/tmp/multipartBody2079649491377135272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936682656,"filename":"image_05122025_12_29_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/5/dce8587deff0363b74f6597192f73b43.jpg","text":"TemporaryFile(/tmp/multipartBody7751620452745518738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936682656,"filename":"image_05122025_12_28_54_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/5/0c840a6f6b2a1ae4799bedb8bbe507ba.jpg","text":"TemporaryFile(/tmp/multipartBody1923590684329345260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936682656,"filename":"image_05122025_12_29_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/5/5b731c9c45f7b0c3268457492827a5a0.jpg","text":"TemporaryFile(/tmp/multipartBody7145827929531871153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936682656,"filename":"image_05122025_12_28_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/02c1306c3da25448e4560de264d5db20.jpg","text":"TemporaryFile(/tmp/multipartBody1259214555111187486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936682656,"filename":"image_05122025_12_29_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e23e5758a8bcbe7cb6998b49d4c3c92e.jpg","text":"TemporaryFile(/tmp/multipartBody2641468215730643605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936682656,"filename":"image_05122025_12_29_14_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398087627","file1":"1398087625","file0":"1398087624","file4":"1398087631","file5":"1398087635","file3":"1398087629"},"map_files_photo_id_array":[{"photo_id":"1398087635","filename":"file5"},{"photo_id":"1398087627","filename":"file2"},{"photo_id":"1398087631","filename":"file4"},{"photo_id":"1398087625","filename":"file1"},{"photo_id":"1398087624","filename":"file0"},{"photo_id":"1398087629","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398087631":["hashtag1","hashtag2"]},{"1398087625":["hashtag1","hashtag2"]},{"1398087627":["hashtag1","hashtag2"]},{"1398087624":["hashtag1","hashtag2"]},{"1398087635":["hashtag1","hashtag2"]},{"1398087629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398087631, 1398087625, 1398087627, 1398087624, 1398087635, 1398087629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77294421195984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:11:02.834544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/29/image_05122025_12_29_44_9683.jpg', '/home/pi/Desktop/images/05122025/12/29/image_05122025_12_29_54_10626.jpg', '/home/pi/Desktop/images/05122025/12/30/image_05122025_12_30_14_10055.jpg', '/home/pi/Desktop/images/05122025/12/30/image_05122025_12_30_25_10655.jpg', '/home/pi/Desktop/images/05122025/12/30/image_05122025_12_30_34_9684.jpg', '/home/pi/Desktop/images/05122025/12/30/image_05122025_12_30_44_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/29/image_05122025_12_29_44_9683.jpg
/home/pi/Desktop/images/05122025/12/29/image_05122025_12_29_54_10626.jpg
/home/pi/Desktop/images/05122025/12/30/image_05122025_12_30_14_10055.jpg
/home/pi/Desktop/images/05122025/12/30/image_05122025_12_30_25_10655.jpg
/home/pi/Desktop/images/05122025/12/30/image_05122025_12_30_34_9684.jpg
/home/pi/Desktop/images/05122025/12/30/image_05122025_12_30_44_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":["1398087645","1398087642","1398087644","1398087647","1398087646","1398087649"],"photo_ids_order":["1398087642","1398087644","1398087645","1398087646","1398087647","1398087649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e8b9cd8aecd401b3e901acffc263e34.jpg","text":"TemporaryFile(/tmp/multipartBody647304611951215589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936723554,"filename":"image_05122025_12_30_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4743e3299e514d1eba88ba299fae869e.jpg","text":"TemporaryFile(/tmp/multipartBody6496399238404432916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936723554,"filename":"image_05122025_12_29_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/5/e90fdd42ce5f7a51d82d46e75e83e911.jpg","text":"TemporaryFile(/tmp/multipartBody8851290882136469143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936723554,"filename":"image_05122025_12_29_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/5/63e68ae4b6db6405a5eb6f6767d1d4b9.jpg","text":"TemporaryFile(/tmp/multipartBody1353808375667275663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936723554,"filename":"image_05122025_12_30_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/5/6ba07b4f01bae1e7029642cf2cabc875.jpg","text":"TemporaryFile(/tmp/multipartBody7440366678472827053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936723554,"filename":"image_05122025_12_30_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/5/3e17ccec00d90a57c0c30a23dc98e709.jpg","text":"TemporaryFile(/tmp/multipartBody3425750947222872777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936723554,"filename":"image_05122025_12_30_44_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398087645","file1":"1398087644","file0":"1398087642","file4":"1398087647","file5":"1398087649","file3":"1398087646"},"map_files_photo_id_array":[{"photo_id":"1398087649","filename":"file5"},{"photo_id":"1398087645","filename":"file2"},{"photo_id":"1398087647","filename":"file4"},{"photo_id":"1398087644","filename":"file1"},{"photo_id":"1398087642","filename":"file0"},{"photo_id":"1398087646","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398087645":["hashtag1","hashtag2"]},{"1398087642":["hashtag1","hashtag2"]},{"1398087644":["hashtag1","hashtag2"]},{"1398087647":["hashtag1","hashtag2"]},{"1398087646":["hashtag1","hashtag2"]},{"1398087649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398087645, 1398087642, 1398087644, 1398087647, 1398087646, 1398087649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.566588163375854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:11:42.263057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_41_3576.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_43_2698.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_46_2613.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_50_3774.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_53_2802.jpg', '/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_55_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_41_3576.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_43_2698.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_46_2613.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_50_3774.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_53_2802.jpg
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_55_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":["1398087742","1398087668","1398087656","1398087671","1398087659","1398087701"],"photo_ids_order":["1398087656","1398087659","1398087668","1398087671","1398087701","1398087742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b68a647fd85328adf0ccab306cef5ded.jpg","text":"TemporaryFile(/tmp/multipartBody4938026363957347363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936763894,"filename":"image_31102025_19_35_55_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/5/37458a632117f40cb64a169b60499bce.jpg","text":"TemporaryFile(/tmp/multipartBody8432655892604243012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936763894,"filename":"image_31102025_19_35_46_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/5/61fa664a61a699d21a441f2c6e6b1905.jpg","text":"TemporaryFile(/tmp/multipartBody2328366833386139767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936763894,"filename":"image_31102025_19_35_41_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/5/456b18b3739ea0487ebd937e572da2c9.jpg","text":"TemporaryFile(/tmp/multipartBody384944363238733070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936763894,"filename":"image_31102025_19_35_50_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a5c6046f16bd280b58c0c12e9a9d2ef.jpg","text":"TemporaryFile(/tmp/multipartBody8506592704021420052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936763894,"filename":"image_31102025_19_35_43_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/5/7fca92401ec72573b457facf202bc7e1.jpg","text":"TemporaryFile(/tmp/multipartBody3592867747464703238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936763894,"filename":"image_31102025_19_35_53_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398087668","file1":"1398087659","file0":"1398087656","file4":"1398087701","file5":"1398087742","file3":"1398087671"},"map_files_photo_id_array":[{"photo_id":"1398087742","filename":"file5"},{"photo_id":"1398087668","filename":"file2"},{"photo_id":"1398087701","filename":"file4"},{"photo_id":"1398087659","filename":"file1"},{"photo_id":"1398087656","filename":"file0"},{"photo_id":"1398087671","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398087742":["hashtag1","hashtag2"]},{"1398087668":["hashtag1","hashtag2"]},{"1398087656":["hashtag1","hashtag2"]},{"1398087671":["hashtag1","hashtag2"]},{"1398087659":["hashtag1","hashtag2"]},{"1398087701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398087742, 1398087668, 1398087656, 1398087671, 1398087659, 1398087701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68414521217346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:12:22.465341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/30/image_05122025_12_30_55_10725.jpg', '/home/pi/Desktop/images/05122025/12/30/image_05122025_12_31_05_9792.jpg', '/home/pi/Desktop/images/05122025/12/31/image_05122025_12_31_14_9520.jpg', '/home/pi/Desktop/images/05122025/12/31/image_05122025_12_31_25_10656.jpg', '/home/pi/Desktop/images/05122025/12/31/image_05122025_12_31_35_9677.jpg', '/home/pi/Desktop/images/05122025/12/31/image_05122025_12_31_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/30/image_05122025_12_30_55_10725.jpg
/home/pi/Desktop/images/05122025/12/30/image_05122025_12_31_05_9792.jpg
/home/pi/Desktop/images/05122025/12/31/image_05122025_12_31_14_9520.jpg
/home/pi/Desktop/images/05122025/12/31/image_05122025_12_31_25_10656.jpg
/home/pi/Desktop/images/05122025/12/31/image_05122025_12_31_35_9677.jpg
/home/pi/Desktop/images/05122025/12/31/image_05122025_12_31_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":["1398087901","1398087897","1398087936","1398087899","1398087884","1398087965"],"photo_ids_order":["1398087884","1398087897","1398087899","1398087901","1398087936","1398087965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a94e2479b30ba7f493ccfd060f6f3b6c.jpg","text":"TemporaryFile(/tmp/multipartBody3426990424256744177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936803148,"filename":"image_05122025_12_31_25_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/5/21d72179eb11291a34cbdd4ac5868b62.jpg","text":"TemporaryFile(/tmp/multipartBody9091909794916548201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936803148,"filename":"image_05122025_12_31_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/5/303298b8f7837bb0456db4bbf6dcc020.jpg","text":"TemporaryFile(/tmp/multipartBody8794708186554320803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936803148,"filename":"image_05122025_12_31_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/5/633cf8714f54afa656f8a8d2113807a4.jpg","text":"TemporaryFile(/tmp/multipartBody5053087143759679203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936803148,"filename":"image_05122025_12_31_14_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/5/0ac9f46b0d644800df2e589bf262e36a.jpg","text":"TemporaryFile(/tmp/multipartBody8594765806767043328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936803148,"filename":"image_05122025_12_30_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/5/e3a21fcd464f8e630b32c5106265bb88.jpg","text":"TemporaryFile(/tmp/multipartBody9044841323677147083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936803148,"filename":"image_05122025_12_31_44_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398087899","file1":"1398087897","file0":"1398087884","file4":"1398087936","file5":"1398087965","file3":"1398087901"},"map_files_photo_id_array":[{"photo_id":"1398087965","filename":"file5"},{"photo_id":"1398087899","filename":"file2"},{"photo_id":"1398087936","filename":"file4"},{"photo_id":"1398087897","filename":"file1"},{"photo_id":"1398087884","filename":"file0"},{"photo_id":"1398087901","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398087901":["hashtag1","hashtag2"]},{"1398087897":["hashtag1","hashtag2"]},{"1398087936":["hashtag1","hashtag2"]},{"1398087899":["hashtag1","hashtag2"]},{"1398087884":["hashtag1","hashtag2"]},{"1398087965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398087901, 1398087897, 1398087936, 1398087899, 1398087884, 1398087965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04429864883423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:13:03.372602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/31/image_05122025_12_31_55_10570.jpg', '/home/pi/Desktop/images/05122025/12/31/image_05122025_12_32_05_9612.jpg', '/home/pi/Desktop/images/05122025/12/32/image_05122025_12_32_14_9607.jpg', '/home/pi/Desktop/images/05122025/12/32/image_05122025_12_32_25_10636.jpg', '/home/pi/Desktop/images/05122025/12/32/image_05122025_12_32_34_9535.jpg', '/home/pi/Desktop/images/05122025/12/32/image_05122025_12_32_45_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/31/image_05122025_12_31_55_10570.jpg
/home/pi/Desktop/images/05122025/12/31/image_05122025_12_32_05_9612.jpg
/home/pi/Desktop/images/05122025/12/32/image_05122025_12_32_14_9607.jpg
/home/pi/Desktop/images/05122025/12/32/image_05122025_12_32_25_10636.jpg
/home/pi/Desktop/images/05122025/12/32/image_05122025_12_32_34_9535.jpg
/home/pi/Desktop/images/05122025/12/32/image_05122025_12_32_45_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088053","1398088017","1398088070","1398088002","1398088001","1398088078"],"photo_ids_order":["1398088001","1398088002","1398088017","1398088053","1398088070","1398088078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2254dd2d89cfd74731256e82f9f40c1.jpg","text":"TemporaryFile(/tmp/multipartBody4213291726529064431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936844126,"filename":"image_05122025_12_32_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/5/c48ed09a07390a7ebd7fd4ed5c8d0bf3.jpg","text":"TemporaryFile(/tmp/multipartBody8603465490732586006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936844126,"filename":"image_05122025_12_32_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/5/72776da9b5e66f8bf451fbd5c66c66dc.jpg","text":"TemporaryFile(/tmp/multipartBody8387467418997000759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936844126,"filename":"image_05122025_12_32_34_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/003048f102be498120e001b9be957de7.jpg","text":"TemporaryFile(/tmp/multipartBody6611206049834486277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936844126,"filename":"image_05122025_12_32_05_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e6f0d4380544d13b2807f38aff659905.jpg","text":"TemporaryFile(/tmp/multipartBody1365820329984483165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936844126,"filename":"image_05122025_12_31_55_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/5/09a558f152bdb34100c68675f3c34aec.jpg","text":"TemporaryFile(/tmp/multipartBody3244494365433068863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936844126,"filename":"image_05122025_12_32_45_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088017","file1":"1398088002","file0":"1398088001","file4":"1398088070","file5":"1398088078","file3":"1398088053"},"map_files_photo_id_array":[{"photo_id":"1398088078","filename":"file5"},{"photo_id":"1398088017","filename":"file2"},{"photo_id":"1398088070","filename":"file4"},{"photo_id":"1398088002","filename":"file1"},{"photo_id":"1398088001","filename":"file0"},{"photo_id":"1398088053","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088053":["hashtag1","hashtag2"]},{"1398088017":["hashtag1","hashtag2"]},{"1398088070":["hashtag1","hashtag2"]},{"1398088002":["hashtag1","hashtag2"]},{"1398088001":["hashtag1","hashtag2"]},{"1398088078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088053, 1398088017, 1398088070, 1398088002, 1398088001, 1398088078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41791820526123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:13:42.736454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_59_3648.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_02_2742.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_04_2657.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_07_2666.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_11_3681.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_13_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/35/image_31102025_19_35_59_3648.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_02_2742.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_04_2657.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_07_2666.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_11_3681.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_13_2787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088086","1398088089","1398088091","1398088088","1398088087","1398088084"],"photo_ids_order":["1398088084","1398088086","1398088087","1398088088","1398088089","1398088091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a98c9b2ae21417ebe4d8a27d01cd2b31.jpg","text":"TemporaryFile(/tmp/multipartBody3473062934349511717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936884351,"filename":"image_31102025_19_36_02_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/5/2393df4832b7ccd17bb3386ea36906d1.jpg","text":"TemporaryFile(/tmp/multipartBody2915896850700532421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936884351,"filename":"image_31102025_19_36_11_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/5/f6ab3be38e849c748818af1dad60604c.jpg","text":"TemporaryFile(/tmp/multipartBody2375587313858358055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936884351,"filename":"image_31102025_19_36_13_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/5/93941a16dd1fc78f377ef9b7e499a14c.jpg","text":"TemporaryFile(/tmp/multipartBody2601398487566080986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936884351,"filename":"image_31102025_19_36_07_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/5/4415f5f351173ca16f11c04c40a6d9eb.jpg","text":"TemporaryFile(/tmp/multipartBody3508751526980651493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936884351,"filename":"image_31102025_19_36_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/5/f292d3645962eee605647b30be5f6f71.jpg","text":"TemporaryFile(/tmp/multipartBody6222858458645696340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936884351,"filename":"image_31102025_19_35_59_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088087","file1":"1398088086","file0":"1398088084","file4":"1398088089","file5":"1398088091","file3":"1398088088"},"map_files_photo_id_array":[{"photo_id":"1398088091","filename":"file5"},{"photo_id":"1398088087","filename":"file2"},{"photo_id":"1398088089","filename":"file4"},{"photo_id":"1398088086","filename":"file1"},{"photo_id":"1398088084","filename":"file0"},{"photo_id":"1398088088","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088086":["hashtag1","hashtag2"]},{"1398088089":["hashtag1","hashtag2"]},{"1398088091":["hashtag1","hashtag2"]},{"1398088088":["hashtag1","hashtag2"]},{"1398088087":["hashtag1","hashtag2"]},{"1398088084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088086, 1398088089, 1398088091, 1398088088, 1398088087, 1398088084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25014805793762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:14:21.934558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/32/image_05122025_12_32_55_9739.jpg', '/home/pi/Desktop/images/05122025/12/32/image_05122025_12_33_04_9576.jpg', '/home/pi/Desktop/images/05122025/12/33/image_05122025_12_33_15_10720.jpg', '/home/pi/Desktop/images/05122025/12/33/image_05122025_12_33_25_9684.jpg', '/home/pi/Desktop/images/05122025/12/33/image_05122025_12_33_34_9656.jpg', '/home/pi/Desktop/images/05122025/12/33/image_05122025_12_33_45_10559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/32/image_05122025_12_32_55_9739.jpg
/home/pi/Desktop/images/05122025/12/32/image_05122025_12_33_04_9576.jpg
/home/pi/Desktop/images/05122025/12/33/image_05122025_12_33_15_10720.jpg
/home/pi/Desktop/images/05122025/12/33/image_05122025_12_33_25_9684.jpg
/home/pi/Desktop/images/05122025/12/33/image_05122025_12_33_34_9656.jpg
/home/pi/Desktop/images/05122025/12/33/image_05122025_12_33_45_10559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088095","1398088101","1398088100","1398088103","1398088093","1398088098"],"photo_ids_order":["1398088093","1398088095","1398088098","1398088100","1398088101","1398088103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/39243f749c5106a0d1a68344766bca3b.jpg","text":"TemporaryFile(/tmp/multipartBody4057444814717766673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936922571,"filename":"image_05122025_12_33_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/5/32607e7a63e97380d71b1067e4b45547.jpg","text":"TemporaryFile(/tmp/multipartBody4927903980526828767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936922571,"filename":"image_05122025_12_33_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/5/1e64d0c87084b7a9e1201bc22be4830b.jpg","text":"TemporaryFile(/tmp/multipartBody8646830418228316004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936922571,"filename":"image_05122025_12_33_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/5/8ef582846d9aa147d49b4d1a2037f2f0.jpg","text":"TemporaryFile(/tmp/multipartBody5162485502083060846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936922571,"filename":"image_05122025_12_33_45_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9fcb953162fa5b1bdf671325e9c9b0a8.jpg","text":"TemporaryFile(/tmp/multipartBody5522292029365817051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936922571,"filename":"image_05122025_12_32_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/5/4b65ad7552be2c03047ae8962946a0ad.jpg","text":"TemporaryFile(/tmp/multipartBody140379704820277761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936922571,"filename":"image_05122025_12_33_15_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088098","file1":"1398088095","file0":"1398088093","file4":"1398088101","file5":"1398088103","file3":"1398088100"},"map_files_photo_id_array":[{"photo_id":"1398088103","filename":"file5"},{"photo_id":"1398088098","filename":"file2"},{"photo_id":"1398088101","filename":"file4"},{"photo_id":"1398088095","filename":"file1"},{"photo_id":"1398088093","filename":"file0"},{"photo_id":"1398088100","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088095":["hashtag1","hashtag2"]},{"1398088101":["hashtag1","hashtag2"]},{"1398088100":["hashtag1","hashtag2"]},{"1398088103":["hashtag1","hashtag2"]},{"1398088093":["hashtag1","hashtag2"]},{"1398088098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088095, 1398088101, 1398088100, 1398088103, 1398088093, 1398088098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.536319732666016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:15:02.881637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/33/image_05122025_12_33_55_9621.jpg', '/home/pi/Desktop/images/05122025/12/33/image_05122025_12_34_04_9607.jpg', '/home/pi/Desktop/images/05122025/12/34/image_05122025_12_34_15_10714.jpg', '/home/pi/Desktop/images/05122025/12/34/image_05122025_12_34_24_9622.jpg', '/home/pi/Desktop/images/05122025/12/34/image_05122025_12_34_34_9671.jpg', '/home/pi/Desktop/images/05122025/12/34/image_05122025_12_34_45_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/33/image_05122025_12_33_55_9621.jpg
/home/pi/Desktop/images/05122025/12/33/image_05122025_12_34_04_9607.jpg
/home/pi/Desktop/images/05122025/12/34/image_05122025_12_34_15_10714.jpg
/home/pi/Desktop/images/05122025/12/34/image_05122025_12_34_24_9622.jpg
/home/pi/Desktop/images/05122025/12/34/image_05122025_12_34_34_9671.jpg
/home/pi/Desktop/images/05122025/12/34/image_05122025_12_34_45_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":["1398088110","1398088107","1398088109","1398088111","1398088105","1398088108"],"photo_ids_order":["1398088105","1398088107","1398088108","1398088109","1398088110","1398088111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5bae8b8ab7e87ff38562fb94c341bbe2.jpg","text":"TemporaryFile(/tmp/multipartBody504754757541139639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936963595,"filename":"image_05122025_12_34_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/5/41df583e59cb3220afc520718942b039.jpg","text":"TemporaryFile(/tmp/multipartBody6978653322951526416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936963595,"filename":"image_05122025_12_34_04_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c10ed3ca1f79e76b8f2e54bc606c500e.jpg","text":"TemporaryFile(/tmp/multipartBody2084458240276315248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936963595,"filename":"image_05122025_12_34_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/5/2c965f9511bc87fceea23a26e6e7f858.jpg","text":"TemporaryFile(/tmp/multipartBody1959135537290129218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936963595,"filename":"image_05122025_12_34_45_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/5/85ea08a0c30a5f104db552525706f8f1.jpg","text":"TemporaryFile(/tmp/multipartBody5083565030423958336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936963595,"filename":"image_05122025_12_33_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/70cb8604acc1c2c0d527cd10b4425410.jpg","text":"TemporaryFile(/tmp/multipartBody1335111320443365058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764936963595,"filename":"image_05122025_12_34_15_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088108","file1":"1398088107","file0":"1398088105","file4":"1398088110","file5":"1398088111","file3":"1398088109"},"map_files_photo_id_array":[{"photo_id":"1398088111","filename":"file5"},{"photo_id":"1398088108","filename":"file2"},{"photo_id":"1398088110","filename":"file4"},{"photo_id":"1398088107","filename":"file1"},{"photo_id":"1398088105","filename":"file0"},{"photo_id":"1398088109","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088110":["hashtag1","hashtag2"]},{"1398088107":["hashtag1","hashtag2"]},{"1398088109":["hashtag1","hashtag2"]},{"1398088111":["hashtag1","hashtag2"]},{"1398088105":["hashtag1","hashtag2"]},{"1398088108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088110, 1398088107, 1398088109, 1398088111, 1398088105, 1398088108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.453479528427124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:15:42.229780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_16_2564.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_20_3777.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_32_2992.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_34_2684.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_37_2824.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_41_3515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_16_2564.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_20_3777.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_32_2992.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_34_2684.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_37_2824.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_41_3515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088128","1398088125","1398088130","1398088127","1398088124","1398088126"],"photo_ids_order":["1398088124","1398088125","1398088126","1398088127","1398088128","1398088130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db08dc908551a2764d79f65ea38685d6.jpg","text":"TemporaryFile(/tmp/multipartBody6836948864043600598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937003824,"filename":"image_31102025_19_36_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/5/e6ec46f3cd4581e557cd6fd41e3f8d82.jpg","text":"TemporaryFile(/tmp/multipartBody1715924329589178727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937003824,"filename":"image_31102025_19_36_20_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/5/2fbd6c31bbae5b8ea8f2077025741054.jpg","text":"TemporaryFile(/tmp/multipartBody5200999850089206626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937003824,"filename":"image_31102025_19_36_41_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9346e5c1fc65b15ba7ba721f31fbd5a5.jpg","text":"TemporaryFile(/tmp/multipartBody4164417045846786493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937003824,"filename":"image_31102025_19_36_34_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/5/101d9f931e8a9ef3fa541d9af1e1790b.jpg","text":"TemporaryFile(/tmp/multipartBody5235553007919648566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937003824,"filename":"image_31102025_19_36_16_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dd0e493d037765a8f80f64f30254b6ce.jpg","text":"TemporaryFile(/tmp/multipartBody3530941481337223769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937003824,"filename":"image_31102025_19_36_32_2992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088126","file1":"1398088125","file0":"1398088124","file4":"1398088128","file5":"1398088130","file3":"1398088127"},"map_files_photo_id_array":[{"photo_id":"1398088130","filename":"file5"},{"photo_id":"1398088126","filename":"file2"},{"photo_id":"1398088128","filename":"file4"},{"photo_id":"1398088125","filename":"file1"},{"photo_id":"1398088124","filename":"file0"},{"photo_id":"1398088127","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088128":["hashtag1","hashtag2"]},{"1398088125":["hashtag1","hashtag2"]},{"1398088130":["hashtag1","hashtag2"]},{"1398088127":["hashtag1","hashtag2"]},{"1398088124":["hashtag1","hashtag2"]},{"1398088126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088128, 1398088125, 1398088130, 1398088127, 1398088124, 1398088126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75019311904907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:16:22.397404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/34/image_05122025_12_34_55_9825.jpg', '/home/pi/Desktop/images/05122025/12/34/image_05122025_12_35_04_9701.jpg', '/home/pi/Desktop/images/05122025/12/35/image_05122025_12_35_15_10727.jpg', '/home/pi/Desktop/images/05122025/12/35/image_05122025_12_35_25_9547.jpg', '/home/pi/Desktop/images/05122025/12/35/image_05122025_12_35_34_9665.jpg', '/home/pi/Desktop/images/05122025/12/35/image_05122025_12_35_45_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/34/image_05122025_12_34_55_9825.jpg
/home/pi/Desktop/images/05122025/12/34/image_05122025_12_35_04_9701.jpg
/home/pi/Desktop/images/05122025/12/35/image_05122025_12_35_15_10727.jpg
/home/pi/Desktop/images/05122025/12/35/image_05122025_12_35_25_9547.jpg
/home/pi/Desktop/images/05122025/12/35/image_05122025_12_35_34_9665.jpg
/home/pi/Desktop/images/05122025/12/35/image_05122025_12_35_45_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088134","1398088137","1398088131","1398088133","1398088132","1398088135"],"photo_ids_order":["1398088131","1398088132","1398088133","1398088134","1398088135","1398088137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/387ba00aea4c3f658306eaae711400d1.jpg","text":"TemporaryFile(/tmp/multipartBody8997700274967579065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937043044,"filename":"image_05122025_12_35_25_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/5/bd9c44fa0061284ce074d54a70631ffd.jpg","text":"TemporaryFile(/tmp/multipartBody9108907883199856416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937043044,"filename":"image_05122025_12_35_45_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/5/61cbfee4e78552f87e029bf15e22e6bd.jpg","text":"TemporaryFile(/tmp/multipartBody5256496744058014525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937043044,"filename":"image_05122025_12_34_55_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/5/ae019e3f22dae56a4d1253e880847d50.jpg","text":"TemporaryFile(/tmp/multipartBody5008046018670147804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937043044,"filename":"image_05122025_12_35_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/5/ec6752bf392536cd16ced90237784e9c.jpg","text":"TemporaryFile(/tmp/multipartBody227467481930992481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937043044,"filename":"image_05122025_12_35_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/5/2e8c8cfeca89a3b55c38464d4fc7d705.jpg","text":"TemporaryFile(/tmp/multipartBody181308894297630519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937043044,"filename":"image_05122025_12_35_34_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088133","file1":"1398088132","file0":"1398088131","file4":"1398088135","file5":"1398088137","file3":"1398088134"},"map_files_photo_id_array":[{"photo_id":"1398088137","filename":"file5"},{"photo_id":"1398088133","filename":"file2"},{"photo_id":"1398088135","filename":"file4"},{"photo_id":"1398088132","filename":"file1"},{"photo_id":"1398088131","filename":"file0"},{"photo_id":"1398088134","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088134":["hashtag1","hashtag2"]},{"1398088137":["hashtag1","hashtag2"]},{"1398088131":["hashtag1","hashtag2"]},{"1398088133":["hashtag1","hashtag2"]},{"1398088132":["hashtag1","hashtag2"]},{"1398088135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088134, 1398088137, 1398088131, 1398088133, 1398088132, 1398088135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8384268283844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:17:03.374447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/35/image_05122025_12_35_54_9617.jpg', '/home/pi/Desktop/images/05122025/12/35/image_05122025_12_36_04_9817.jpg', '/home/pi/Desktop/images/05122025/12/36/image_05122025_12_36_15_10712.jpg', '/home/pi/Desktop/images/05122025/12/36/image_05122025_12_36_25_9740.jpg', '/home/pi/Desktop/images/05122025/12/36/image_05122025_12_36_34_9677.jpg', '/home/pi/Desktop/images/05122025/12/36/image_05122025_12_36_45_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/35/image_05122025_12_35_54_9617.jpg
/home/pi/Desktop/images/05122025/12/35/image_05122025_12_36_04_9817.jpg
/home/pi/Desktop/images/05122025/12/36/image_05122025_12_36_15_10712.jpg
/home/pi/Desktop/images/05122025/12/36/image_05122025_12_36_25_9740.jpg
/home/pi/Desktop/images/05122025/12/36/image_05122025_12_36_34_9677.jpg
/home/pi/Desktop/images/05122025/12/36/image_05122025_12_36_45_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088140","1398088145","1398088139","1398088142","1398088141","1398088144"],"photo_ids_order":["1398088139","1398088140","1398088141","1398088142","1398088144","1398088145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3dbe3f145d0c64acd171bef774091bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2827940857028791641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937084139,"filename":"image_05122025_12_36_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/5/7852b543cbac6907e376a3d269c7494e.jpg","text":"TemporaryFile(/tmp/multipartBody1477115668314240035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937084139,"filename":"image_05122025_12_36_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/5/de2f9891f956e5d614afa8353dff3a26.jpg","text":"TemporaryFile(/tmp/multipartBody1472209818831684834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937084139,"filename":"image_05122025_12_35_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/5/d4f37163d710f70e1cad7f16ad9f9432.jpg","text":"TemporaryFile(/tmp/multipartBody3784909504376169632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937084139,"filename":"image_05122025_12_36_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/5/91dde03db7809b232f3fa902e66adc3d.jpg","text":"TemporaryFile(/tmp/multipartBody4362255618817208948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937084139,"filename":"image_05122025_12_36_15_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f442864642eced5f4c68744148b386a6.jpg","text":"TemporaryFile(/tmp/multipartBody3667684809546354874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937084139,"filename":"image_05122025_12_36_34_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088141","file1":"1398088140","file0":"1398088139","file4":"1398088144","file5":"1398088145","file3":"1398088142"},"map_files_photo_id_array":[{"photo_id":"1398088145","filename":"file5"},{"photo_id":"1398088141","filename":"file2"},{"photo_id":"1398088144","filename":"file4"},{"photo_id":"1398088140","filename":"file1"},{"photo_id":"1398088139","filename":"file0"},{"photo_id":"1398088142","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088140":["hashtag1","hashtag2"]},{"1398088145":["hashtag1","hashtag2"]},{"1398088139":["hashtag1","hashtag2"]},{"1398088142":["hashtag1","hashtag2"]},{"1398088141":["hashtag1","hashtag2"]},{"1398088144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088140, 1398088145, 1398088139, 1398088142, 1398088141, 1398088144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62201738357544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:17:42.814756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_43_2639.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_46_2692.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_49_2919.jpg', '/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_53_3646.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_02_3764.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_04_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_43_2639.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_46_2692.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_49_2919.jpg
/home/pi/Desktop/images/31102025/19/36/image_31102025_19_36_53_3646.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_02_3764.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_04_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":["1398088149","1398088151","1398088154","1398088148","1398088153","1398088147"],"photo_ids_order":["1398088147","1398088148","1398088149","1398088151","1398088153","1398088154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7abc3b27f4125327f636e6f66e024485.jpg","text":"TemporaryFile(/tmp/multipartBody9188021032063162468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937124430,"filename":"image_31102025_19_36_49_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54c455df21b094be360c59ad0e6d7dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7188888107948249695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937124430,"filename":"image_31102025_19_36_53_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/5/ea69a8dc7713f218ca74bd0fece395f8.jpg","text":"TemporaryFile(/tmp/multipartBody8808803466107284604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937124430,"filename":"image_31102025_19_37_04_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/5/d3a1adcc7a0c649417c052b1218f1e3b.jpg","text":"TemporaryFile(/tmp/multipartBody4573717898813093097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937124430,"filename":"image_31102025_19_36_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/5/856d6248a580ec281041fe159dbe9e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4278477087703867536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937124430,"filename":"image_31102025_19_37_02_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/5/5284d14b114b69233a8c373a672da1d1.jpg","text":"TemporaryFile(/tmp/multipartBody2656665300227109300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937124430,"filename":"image_31102025_19_36_43_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088149","file1":"1398088148","file0":"1398088147","file4":"1398088153","file5":"1398088154","file3":"1398088151"},"map_files_photo_id_array":[{"photo_id":"1398088154","filename":"file5"},{"photo_id":"1398088149","filename":"file2"},{"photo_id":"1398088153","filename":"file4"},{"photo_id":"1398088148","filename":"file1"},{"photo_id":"1398088147","filename":"file0"},{"photo_id":"1398088151","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088149":["hashtag1","hashtag2"]},{"1398088151":["hashtag1","hashtag2"]},{"1398088154":["hashtag1","hashtag2"]},{"1398088148":["hashtag1","hashtag2"]},{"1398088153":["hashtag1","hashtag2"]},{"1398088147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088149, 1398088151, 1398088154, 1398088148, 1398088153, 1398088147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00658965110779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:18:22.086530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/36/image_05122025_12_36_55_9637.jpg', '/home/pi/Desktop/images/05122025/12/36/image_05122025_12_37_04_9791.jpg', '/home/pi/Desktop/images/05122025/12/37/image_05122025_12_37_14_9729.jpg', '/home/pi/Desktop/images/05122025/12/37/image_05122025_12_37_25_10799.jpg', '/home/pi/Desktop/images/05122025/12/37/image_05122025_12_37_35_9673.jpg', '/home/pi/Desktop/images/05122025/12/37/image_05122025_12_37_44_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/36/image_05122025_12_36_55_9637.jpg
/home/pi/Desktop/images/05122025/12/36/image_05122025_12_37_04_9791.jpg
/home/pi/Desktop/images/05122025/12/37/image_05122025_12_37_14_9729.jpg
/home/pi/Desktop/images/05122025/12/37/image_05122025_12_37_25_10799.jpg
/home/pi/Desktop/images/05122025/12/37/image_05122025_12_37_35_9673.jpg
/home/pi/Desktop/images/05122025/12/37/image_05122025_12_37_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":["1398088164","1398088166","1398088168","1398088162","1398088165","1398088159"],"photo_ids_order":["1398088159","1398088162","1398088164","1398088165","1398088166","1398088168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45cb4435ce006df545a5574df36c0adf.jpg","text":"TemporaryFile(/tmp/multipartBody8158761902760761368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937162750,"filename":"image_05122025_12_37_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/5/dc0df31c1081b3e214b7f1fa028218eb.jpg","text":"TemporaryFile(/tmp/multipartBody8833835413090361670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937162750,"filename":"image_05122025_12_37_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/5/329071df0d87fc2aa6fe17fe57e79753.jpg","text":"TemporaryFile(/tmp/multipartBody870884647849317384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937162750,"filename":"image_05122025_12_37_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/5/20c9cf4c7f428524522b08fdbfff5469.jpg","text":"TemporaryFile(/tmp/multipartBody6184340904665883137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937162750,"filename":"image_05122025_12_37_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/5/7b76a63577dbdde0f9a889811f644162.jpg","text":"TemporaryFile(/tmp/multipartBody5270085929739718370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937162750,"filename":"image_05122025_12_37_25_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d33416a73f5fd75719a413f42324400.jpg","text":"TemporaryFile(/tmp/multipartBody5400265038061997108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937162750,"filename":"image_05122025_12_36_55_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088164","file1":"1398088162","file0":"1398088159","file4":"1398088166","file5":"1398088168","file3":"1398088165"},"map_files_photo_id_array":[{"photo_id":"1398088168","filename":"file5"},{"photo_id":"1398088164","filename":"file2"},{"photo_id":"1398088166","filename":"file4"},{"photo_id":"1398088162","filename":"file1"},{"photo_id":"1398088159","filename":"file0"},{"photo_id":"1398088165","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088164":["hashtag1","hashtag2"]},{"1398088166":["hashtag1","hashtag2"]},{"1398088168":["hashtag1","hashtag2"]},{"1398088162":["hashtag1","hashtag2"]},{"1398088165":["hashtag1","hashtag2"]},{"1398088159":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088164, 1398088166, 1398088168, 1398088162, 1398088165, 1398088159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10338258743286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:19:03.180765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/37/image_05122025_12_37_55_10565.jpg', '/home/pi/Desktop/images/05122025/12/37/image_05122025_12_38_05_9731.jpg', '/home/pi/Desktop/images/05122025/12/38/image_05122025_12_38_14_9647.jpg', '/home/pi/Desktop/images/05122025/12/38/image_05122025_12_38_25_10750.jpg', '/home/pi/Desktop/images/05122025/12/38/image_05122025_12_38_35_9945.jpg', '/home/pi/Desktop/images/05122025/12/38/image_05122025_12_38_45_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/37/image_05122025_12_37_55_10565.jpg
/home/pi/Desktop/images/05122025/12/37/image_05122025_12_38_05_9731.jpg
/home/pi/Desktop/images/05122025/12/38/image_05122025_12_38_14_9647.jpg
/home/pi/Desktop/images/05122025/12/38/image_05122025_12_38_25_10750.jpg
/home/pi/Desktop/images/05122025/12/38/image_05122025_12_38_35_9945.jpg
/home/pi/Desktop/images/05122025/12/38/image_05122025_12_38_45_9653.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":["1398088170","1398088176","1398088172","1398088174","1398088177","1398088171"],"photo_ids_order":["1398088170","1398088171","1398088172","1398088174","1398088176","1398088177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/44e8390c7f02e5e1fb3f6bc8e2718828.jpg","text":"TemporaryFile(/tmp/multipartBody4436942298873693278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937209005,"filename":"image_05122025_12_37_55_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/5/e8b6513332a6fd4603f8941404c57fa5.jpg","text":"TemporaryFile(/tmp/multipartBody6645403646637967394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937209005,"filename":"image_05122025_12_38_35_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4361ec5fa347821bb01aa98fd6a4c5ad.jpg","text":"TemporaryFile(/tmp/multipartBody8813932124513379676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937209005,"filename":"image_05122025_12_38_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/5/b95d8a7c1c59c6872ad43098867c37d6.jpg","text":"TemporaryFile(/tmp/multipartBody3779669274400220185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937209005,"filename":"image_05122025_12_38_25_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f16e6528734299799c6e2dc719aa145.jpg","text":"TemporaryFile(/tmp/multipartBody5858038723003666773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937209005,"filename":"image_05122025_12_38_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/5/74852225137e1fb436aeeef2d55a63a7.jpg","text":"TemporaryFile(/tmp/multipartBody5103137880042239051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937209005,"filename":"image_05122025_12_38_05_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088172","file1":"1398088171","file0":"1398088170","file4":"1398088176","file5":"1398088177","file3":"1398088174"},"map_files_photo_id_array":[{"photo_id":"1398088177","filename":"file5"},{"photo_id":"1398088172","filename":"file2"},{"photo_id":"1398088176","filename":"file4"},{"photo_id":"1398088171","filename":"file1"},{"photo_id":"1398088170","filename":"file0"},{"photo_id":"1398088174","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088170":["hashtag1","hashtag2"]},{"1398088176":["hashtag1","hashtag2"]},{"1398088172":["hashtag1","hashtag2"]},{"1398088174":["hashtag1","hashtag2"]},{"1398088177":["hashtag1","hashtag2"]},{"1398088171":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088170, 1398088176, 1398088172, 1398088174, 1398088177, 1398088171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.31889748573303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:20:02.894056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/38/image_05122025_12_38_54_9655.jpg', '/home/pi/Desktop/images/05122025/12/38/image_05122025_12_39_05_10753.jpg', '/home/pi/Desktop/images/05122025/12/39/image_05122025_12_39_15_9671.jpg', '/home/pi/Desktop/images/05122025/12/39/image_05122025_12_39_24_9709.jpg', '/home/pi/Desktop/images/05122025/12/39/image_05122025_12_39_35_10629.jpg', '/home/pi/Desktop/images/05122025/12/39/image_05122025_12_39_45_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/38/image_05122025_12_38_54_9655.jpg
/home/pi/Desktop/images/05122025/12/38/image_05122025_12_39_05_10753.jpg
/home/pi/Desktop/images/05122025/12/39/image_05122025_12_39_15_9671.jpg
/home/pi/Desktop/images/05122025/12/39/image_05122025_12_39_24_9709.jpg
/home/pi/Desktop/images/05122025/12/39/image_05122025_12_39_35_10629.jpg
/home/pi/Desktop/images/05122025/12/39/image_05122025_12_39_45_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088185","1398088179","1398088181","1398088180","1398088183","1398088182"],"photo_ids_order":["1398088179","1398088180","1398088181","1398088182","1398088183","1398088185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf83e9081146ff5a9c5d232f5049afb6.jpg","text":"TemporaryFile(/tmp/multipartBody8846121299257758355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937263569,"filename":"image_05122025_12_39_45_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c836b1f63b894657422da8d6c25800dd.jpg","text":"TemporaryFile(/tmp/multipartBody7392747289801588184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937263569,"filename":"image_05122025_12_38_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/5/22f2b46a2469946887ab1267d9ab485f.jpg","text":"TemporaryFile(/tmp/multipartBody6361505324964962930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937263569,"filename":"image_05122025_12_39_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/5/2524d206a251a37bee519a20ae03b016.jpg","text":"TemporaryFile(/tmp/multipartBody4427733789308597823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937263569,"filename":"image_05122025_12_39_05_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1f4a47b729c815ce10be3a71ceee7b0a.jpg","text":"TemporaryFile(/tmp/multipartBody8357732012248496443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937263569,"filename":"image_05122025_12_39_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/5/53006671e38d77aa302040e2dfdba162.jpg","text":"TemporaryFile(/tmp/multipartBody1742578041259587093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937263569,"filename":"image_05122025_12_39_24_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088181","file1":"1398088180","file0":"1398088179","file4":"1398088183","file5":"1398088185","file3":"1398088182"},"map_files_photo_id_array":[{"photo_id":"1398088185","filename":"file5"},{"photo_id":"1398088181","filename":"file2"},{"photo_id":"1398088183","filename":"file4"},{"photo_id":"1398088180","filename":"file1"},{"photo_id":"1398088179","filename":"file0"},{"photo_id":"1398088182","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088185":["hashtag1","hashtag2"]},{"1398088179":["hashtag1","hashtag2"]},{"1398088181":["hashtag1","hashtag2"]},{"1398088180":["hashtag1","hashtag2"]},{"1398088183":["hashtag1","hashtag2"]},{"1398088182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088185, 1398088179, 1398088181, 1398088180, 1398088183, 1398088182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42837619781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:20:42.361322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_08_3500.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_11_2770.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_20_3560.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_22_2586.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_25_2577.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_28_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_08_3500.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_11_2770.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_20_3560.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_22_2586.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_25_2577.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_28_3615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088194","1398088196","1398088190","1398088192","1398088195","1398088198"],"photo_ids_order":["1398088190","1398088192","1398088194","1398088195","1398088196","1398088198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/da4058bbbac1ce0cced8391efca25d26.jpg","text":"TemporaryFile(/tmp/multipartBody41861605790548555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937304020,"filename":"image_31102025_19_37_20_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ed762fdedd3e3f2f3edb0a5ba12e859.jpg","text":"TemporaryFile(/tmp/multipartBody1260695926145524323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937304020,"filename":"image_31102025_19_37_25_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/5/03697a3aa65d4989f5a85b804dfb88ea.jpg","text":"TemporaryFile(/tmp/multipartBody6672048188661975445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937304020,"filename":"image_31102025_19_37_08_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b8919e74654e3e32289140a3081d5e93.jpg","text":"TemporaryFile(/tmp/multipartBody6587603130473760074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937304020,"filename":"image_31102025_19_37_11_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1f682b6fd8a63eb914e94c100a861d2.jpg","text":"TemporaryFile(/tmp/multipartBody1871805074453188069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937304020,"filename":"image_31102025_19_37_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/5/9af2ec816e49b7387b7da6339882a354.jpg","text":"TemporaryFile(/tmp/multipartBody7149657069827771966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937304020,"filename":"image_31102025_19_37_28_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088194","file1":"1398088192","file0":"1398088190","file4":"1398088196","file5":"1398088198","file3":"1398088195"},"map_files_photo_id_array":[{"photo_id":"1398088198","filename":"file5"},{"photo_id":"1398088194","filename":"file2"},{"photo_id":"1398088196","filename":"file4"},{"photo_id":"1398088192","filename":"file1"},{"photo_id":"1398088190","filename":"file0"},{"photo_id":"1398088195","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088194":["hashtag1","hashtag2"]},{"1398088196":["hashtag1","hashtag2"]},{"1398088190":["hashtag1","hashtag2"]},{"1398088192":["hashtag1","hashtag2"]},{"1398088195":["hashtag1","hashtag2"]},{"1398088198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088194, 1398088196, 1398088190, 1398088192, 1398088195, 1398088198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90970158576965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:21:22.487126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/39/image_05122025_12_39_55_9751.jpg', '/home/pi/Desktop/images/05122025/12/39/image_05122025_12_40_04_9688.jpg', '/home/pi/Desktop/images/05122025/12/40/image_05122025_12_40_15_10769.jpg', '/home/pi/Desktop/images/05122025/12/40/image_05122025_12_40_25_9710.jpg', '/home/pi/Desktop/images/05122025/12/40/image_05122025_12_40_35_9788.jpg', '/home/pi/Desktop/images/05122025/12/40/image_05122025_12_40_44_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/39/image_05122025_12_39_55_9751.jpg
/home/pi/Desktop/images/05122025/12/39/image_05122025_12_40_04_9688.jpg
/home/pi/Desktop/images/05122025/12/40/image_05122025_12_40_15_10769.jpg
/home/pi/Desktop/images/05122025/12/40/image_05122025_12_40_25_9710.jpg
/home/pi/Desktop/images/05122025/12/40/image_05122025_12_40_35_9788.jpg
/home/pi/Desktop/images/05122025/12/40/image_05122025_12_40_44_9566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088209","1398088203","1398088211","1398088202","1398088205","1398088207"],"photo_ids_order":["1398088202","1398088203","1398088205","1398088207","1398088209","1398088211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3cb3777137b42d516321c1d8ebda57e5.jpg","text":"TemporaryFile(/tmp/multipartBody7257382533613407173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937343190,"filename":"image_05122025_12_40_35_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/5/b9a75ddbcc7e58800df6f8366533f7af.jpg","text":"TemporaryFile(/tmp/multipartBody4164491273381049615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937343190,"filename":"image_05122025_12_40_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/5/7bfa9e68bc926d39be0eb647163a96dd.jpg","text":"TemporaryFile(/tmp/multipartBody3818480852829725449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937343190,"filename":"image_05122025_12_40_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/5/2ad773d25122b1e283d1316118c28d33.jpg","text":"TemporaryFile(/tmp/multipartBody6709018339445988598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937343190,"filename":"image_05122025_12_39_55_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20b7b172a35b6800c72244a89a193ce8.jpg","text":"TemporaryFile(/tmp/multipartBody3199066697393844021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937343190,"filename":"image_05122025_12_40_15_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8ad068403db725c13747293d16c6bbf3.jpg","text":"TemporaryFile(/tmp/multipartBody1899503618872097190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937343190,"filename":"image_05122025_12_40_25_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088205","file1":"1398088203","file0":"1398088202","file4":"1398088209","file5":"1398088211","file3":"1398088207"},"map_files_photo_id_array":[{"photo_id":"1398088211","filename":"file5"},{"photo_id":"1398088205","filename":"file2"},{"photo_id":"1398088209","filename":"file4"},{"photo_id":"1398088203","filename":"file1"},{"photo_id":"1398088202","filename":"file0"},{"photo_id":"1398088207","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088209":["hashtag1","hashtag2"]},{"1398088203":["hashtag1","hashtag2"]},{"1398088211":["hashtag1","hashtag2"]},{"1398088202":["hashtag1","hashtag2"]},{"1398088205":["hashtag1","hashtag2"]},{"1398088207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088209, 1398088203, 1398088211, 1398088202, 1398088205, 1398088207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.317517042160034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:22:03.186521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/40/image_05122025_12_40_55_10697.jpg', '/home/pi/Desktop/images/05122025/12/40/image_05122025_12_41_04_9640.jpg', '/home/pi/Desktop/images/05122025/12/41/image_05122025_12_41_15_10550.jpg', '/home/pi/Desktop/images/05122025/12/41/image_05122025_12_41_25_9973.jpg', '/home/pi/Desktop/images/05122025/12/41/image_05122025_12_41_35_9608.jpg', '/home/pi/Desktop/images/05122025/12/41/image_05122025_12_41_44_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/40/image_05122025_12_40_55_10697.jpg
/home/pi/Desktop/images/05122025/12/40/image_05122025_12_41_04_9640.jpg
/home/pi/Desktop/images/05122025/12/41/image_05122025_12_41_15_10550.jpg
/home/pi/Desktop/images/05122025/12/41/image_05122025_12_41_25_9973.jpg
/home/pi/Desktop/images/05122025/12/41/image_05122025_12_41_35_9608.jpg
/home/pi/Desktop/images/05122025/12/41/image_05122025_12_41_44_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":["1398088216","1398088215","1398088214","1398088217","1398088219","1398088213"],"photo_ids_order":["1398088213","1398088214","1398088215","1398088216","1398088217","1398088219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6ef7fd58cdb375d6f2d65a49ce151e8e.jpg","text":"TemporaryFile(/tmp/multipartBody4420846131606114083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937383881,"filename":"image_05122025_12_41_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/5/59be32233e9f07a32a2b0f6a2f344599.jpg","text":"TemporaryFile(/tmp/multipartBody5818018484766848218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937383881,"filename":"image_05122025_12_41_15_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/5/b208133ab3ce80ccdd8498ddae6e1d16.jpg","text":"TemporaryFile(/tmp/multipartBody3673078890405900388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937383881,"filename":"image_05122025_12_41_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/5/99703a8c39d177a8f6be953fdb5de457.jpg","text":"TemporaryFile(/tmp/multipartBody7527157486905710825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937383881,"filename":"image_05122025_12_41_35_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/5/dc27ade7b581cd903709094d771113b5.jpg","text":"TemporaryFile(/tmp/multipartBody7747793046966194372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937383881,"filename":"image_05122025_12_41_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/5/6d2ae6292f0c02fd0790bfe5810df8d5.jpg","text":"TemporaryFile(/tmp/multipartBody1788591240365144767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937383881,"filename":"image_05122025_12_40_55_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088215","file1":"1398088214","file0":"1398088213","file4":"1398088217","file5":"1398088219","file3":"1398088216"},"map_files_photo_id_array":[{"photo_id":"1398088219","filename":"file5"},{"photo_id":"1398088215","filename":"file2"},{"photo_id":"1398088217","filename":"file4"},{"photo_id":"1398088214","filename":"file1"},{"photo_id":"1398088213","filename":"file0"},{"photo_id":"1398088216","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088216":["hashtag1","hashtag2"]},{"1398088215":["hashtag1","hashtag2"]},{"1398088214":["hashtag1","hashtag2"]},{"1398088217":["hashtag1","hashtag2"]},{"1398088219":["hashtag1","hashtag2"]},{"1398088213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088216, 1398088215, 1398088214, 1398088217, 1398088219, 1398088213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47670245170593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:22:42.798169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_31_2617.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_35_3639.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_37_2717.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_40_2657.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_43_2717.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_46_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_31_2617.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_35_3639.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_37_2717.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_40_2657.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_43_2717.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_46_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":["1398088230","1398088232","1398088229","1398088231","1398088225","1398088228"],"photo_ids_order":["1398088225","1398088228","1398088229","1398088230","1398088231","1398088232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/06f1c969f60d2966e4a3f61636887511.jpg","text":"TemporaryFile(/tmp/multipartBody8438102660780677201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937424428,"filename":"image_31102025_19_37_40_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/931c0376b4a3d88f5e8fdcc289aa0408.jpg","text":"TemporaryFile(/tmp/multipartBody1692888207623975561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937424428,"filename":"image_31102025_19_37_46_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/5/735f03d22c4e5c3efcb287be2bed168c.jpg","text":"TemporaryFile(/tmp/multipartBody8753908019507869336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937424428,"filename":"image_31102025_19_37_37_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/024f0c14a994e2e3076dfa9d835ac48a.jpg","text":"TemporaryFile(/tmp/multipartBody1103856032338633621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937424428,"filename":"image_31102025_19_37_43_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/5/ddd123e76a1e01799cbe540294a7241c.jpg","text":"TemporaryFile(/tmp/multipartBody4791119350146161823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937424428,"filename":"image_31102025_19_37_31_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f1abc66eabb8a674519ba4919db220de.jpg","text":"TemporaryFile(/tmp/multipartBody104241640315633334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937424428,"filename":"image_31102025_19_37_35_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088229","file1":"1398088228","file0":"1398088225","file4":"1398088231","file5":"1398088232","file3":"1398088230"},"map_files_photo_id_array":[{"photo_id":"1398088232","filename":"file5"},{"photo_id":"1398088229","filename":"file2"},{"photo_id":"1398088231","filename":"file4"},{"photo_id":"1398088228","filename":"file1"},{"photo_id":"1398088225","filename":"file0"},{"photo_id":"1398088230","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088230":["hashtag1","hashtag2"]},{"1398088232":["hashtag1","hashtag2"]},{"1398088229":["hashtag1","hashtag2"]},{"1398088231":["hashtag1","hashtag2"]},{"1398088225":["hashtag1","hashtag2"]},{"1398088228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088230, 1398088232, 1398088229, 1398088231, 1398088225, 1398088228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25042748451233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:23:21.969568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/41/image_05122025_12_41_55_10807.jpg', '/home/pi/Desktop/images/05122025/12/41/image_05122025_12_42_05_9610.jpg', '/home/pi/Desktop/images/05122025/12/42/image_05122025_12_42_14_9664.jpg', '/home/pi/Desktop/images/05122025/12/42/image_05122025_12_42_24_9781.jpg', '/home/pi/Desktop/images/05122025/12/42/image_05122025_12_42_35_10663.jpg', '/home/pi/Desktop/images/05122025/12/42/image_05122025_12_42_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/41/image_05122025_12_41_55_10807.jpg
/home/pi/Desktop/images/05122025/12/41/image_05122025_12_42_05_9610.jpg
/home/pi/Desktop/images/05122025/12/42/image_05122025_12_42_14_9664.jpg
/home/pi/Desktop/images/05122025/12/42/image_05122025_12_42_24_9781.jpg
/home/pi/Desktop/images/05122025/12/42/image_05122025_12_42_35_10663.jpg
/home/pi/Desktop/images/05122025/12/42/image_05122025_12_42_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":["1398088245","1398088233","1398088242","1398088235","1398088240","1398088237"],"photo_ids_order":["1398088233","1398088235","1398088237","1398088240","1398088242","1398088245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f99e1a9550a85985777d4775f7272859.jpg","text":"TemporaryFile(/tmp/multipartBody8341781979248221600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937462657,"filename":"image_05122025_12_42_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/5/995d94b791e5822815190783730fa2ba.jpg","text":"TemporaryFile(/tmp/multipartBody4824937943104083498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937462657,"filename":"image_05122025_12_41_55_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/5/d74a777a34246521be31cbb398b41b90.jpg","text":"TemporaryFile(/tmp/multipartBody8681191338221307198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937462657,"filename":"image_05122025_12_42_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/79469aeb53a1c2e54da9a65d0c19ed31.jpg","text":"TemporaryFile(/tmp/multipartBody2886659887573964614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937462657,"filename":"image_05122025_12_42_05_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/5/8fce5c29cec64c3c04bcab2d857d4cf5.jpg","text":"TemporaryFile(/tmp/multipartBody3481053063620897559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937462657,"filename":"image_05122025_12_42_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a49da215efcdc3056c3d200c3c7b4adc.jpg","text":"TemporaryFile(/tmp/multipartBody5808535783041130147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937462657,"filename":"image_05122025_12_42_14_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088237","file1":"1398088235","file0":"1398088233","file4":"1398088242","file5":"1398088245","file3":"1398088240"},"map_files_photo_id_array":[{"photo_id":"1398088245","filename":"file5"},{"photo_id":"1398088237","filename":"file2"},{"photo_id":"1398088242","filename":"file4"},{"photo_id":"1398088235","filename":"file1"},{"photo_id":"1398088233","filename":"file0"},{"photo_id":"1398088240","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088245":["hashtag1","hashtag2"]},{"1398088233":["hashtag1","hashtag2"]},{"1398088242":["hashtag1","hashtag2"]},{"1398088235":["hashtag1","hashtag2"]},{"1398088240":["hashtag1","hashtag2"]},{"1398088237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088245, 1398088233, 1398088242, 1398088235, 1398088240, 1398088237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08246684074402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:24:02.664201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/42/image_05122025_12_42_54_9750.jpg', '/home/pi/Desktop/images/05122025/12/42/image_05122025_12_43_05_10615.jpg', '/home/pi/Desktop/images/05122025/12/43/image_05122025_12_43_14_9599.jpg', '/home/pi/Desktop/images/05122025/12/43/image_05122025_12_43_25_10611.jpg', '/home/pi/Desktop/images/05122025/12/43/image_05122025_12_43_35_9643.jpg', '/home/pi/Desktop/images/05122025/12/43/image_05122025_12_43_44_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/42/image_05122025_12_42_54_9750.jpg
/home/pi/Desktop/images/05122025/12/42/image_05122025_12_43_05_10615.jpg
/home/pi/Desktop/images/05122025/12/43/image_05122025_12_43_14_9599.jpg
/home/pi/Desktop/images/05122025/12/43/image_05122025_12_43_25_10611.jpg
/home/pi/Desktop/images/05122025/12/43/image_05122025_12_43_35_9643.jpg
/home/pi/Desktop/images/05122025/12/43/image_05122025_12_43_44_9548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088251","1398088254","1398088248","1398088250","1398088247","1398088246"],"photo_ids_order":["1398088246","1398088247","1398088248","1398088250","1398088251","1398088254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee5e75e73011a6e5b98880b66d443a65.jpg","text":"TemporaryFile(/tmp/multipartBody5003021845558024441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937503460,"filename":"image_05122025_12_43_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/5/c9cf6918a010c99d7a494ccf45e923a2.jpg","text":"TemporaryFile(/tmp/multipartBody422380605707293782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937503460,"filename":"image_05122025_12_43_44_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/5/53eb165c82f464cdd3d0842d7d535b68.jpg","text":"TemporaryFile(/tmp/multipartBody4244019254245472664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937503460,"filename":"image_05122025_12_43_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/5/6d4f4966baa5b8d312bde7eef765af7f.jpg","text":"TemporaryFile(/tmp/multipartBody2341331675328959336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937503460,"filename":"image_05122025_12_43_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/5/2291719b6ad7eb50d56f5b61d7bb8ced.jpg","text":"TemporaryFile(/tmp/multipartBody4409167059790094976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937503460,"filename":"image_05122025_12_43_05_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/5/78ceb33ad005d85f3be5bb2ab0c49402.jpg","text":"TemporaryFile(/tmp/multipartBody1568313853280774117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937503460,"filename":"image_05122025_12_42_54_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088248","file1":"1398088247","file0":"1398088246","file4":"1398088251","file5":"1398088254","file3":"1398088250"},"map_files_photo_id_array":[{"photo_id":"1398088254","filename":"file5"},{"photo_id":"1398088248","filename":"file2"},{"photo_id":"1398088251","filename":"file4"},{"photo_id":"1398088247","filename":"file1"},{"photo_id":"1398088246","filename":"file0"},{"photo_id":"1398088250","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088251":["hashtag1","hashtag2"]},{"1398088254":["hashtag1","hashtag2"]},{"1398088248":["hashtag1","hashtag2"]},{"1398088250":["hashtag1","hashtag2"]},{"1398088247":["hashtag1","hashtag2"]},{"1398088246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088251, 1398088254, 1398088248, 1398088250, 1398088247, 1398088246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37563729286194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:24:42.120516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_56_3761.jpg', '/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_58_2640.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_01_2514.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_04_3575.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_07_2701.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_11_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_56_3761.jpg
/home/pi/Desktop/images/31102025/19/37/image_31102025_19_37_58_2640.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_01_2514.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_04_3575.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_07_2701.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_11_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088263","1398088269","1398088271","1398088268","1398088267","1398088270"],"photo_ids_order":["1398088263","1398088267","1398088268","1398088269","1398088270","1398088271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f5174c8e6afbd05a8a862530b8c28ff5.jpg","text":"TemporaryFile(/tmp/multipartBody4922273579015538524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937543754,"filename":"image_31102025_19_37_56_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/5/36b4c7a434f018e3c9446485082ac1c4.jpg","text":"TemporaryFile(/tmp/multipartBody7814762631058430710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937543754,"filename":"image_31102025_19_38_04_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/5/2312c1ac5b56de5fe8c80c5e40729920.jpg","text":"TemporaryFile(/tmp/multipartBody755768797259013084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937543754,"filename":"image_31102025_19_38_11_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f135dc82065b5fa1efc6973231e9b707.jpg","text":"TemporaryFile(/tmp/multipartBody5318767140895791541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937543754,"filename":"image_31102025_19_38_01_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/142929229c30e21a487d819dfef478c7.jpg","text":"TemporaryFile(/tmp/multipartBody6618091129025897914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937543754,"filename":"image_31102025_19_37_58_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/5/6637be4457a209cfc7b52c3db8584070.jpg","text":"TemporaryFile(/tmp/multipartBody6288283439019609979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937543754,"filename":"image_31102025_19_38_07_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088268","file1":"1398088267","file0":"1398088263","file4":"1398088270","file5":"1398088271","file3":"1398088269"},"map_files_photo_id_array":[{"photo_id":"1398088271","filename":"file5"},{"photo_id":"1398088268","filename":"file2"},{"photo_id":"1398088270","filename":"file4"},{"photo_id":"1398088267","filename":"file1"},{"photo_id":"1398088263","filename":"file0"},{"photo_id":"1398088269","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088263":["hashtag1","hashtag2"]},{"1398088269":["hashtag1","hashtag2"]},{"1398088271":["hashtag1","hashtag2"]},{"1398088268":["hashtag1","hashtag2"]},{"1398088267":["hashtag1","hashtag2"]},{"1398088270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088263, 1398088269, 1398088271, 1398088268, 1398088267, 1398088270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08457827568054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:25:22.321747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/43/image_05122025_12_43_55_10632.jpg', '/home/pi/Desktop/images/05122025/12/43/image_05122025_12_44_04_9677.jpg', '/home/pi/Desktop/images/05122025/12/44/image_05122025_12_44_14_9688.jpg', '/home/pi/Desktop/images/05122025/12/44/image_05122025_12_44_24_9940.jpg', '/home/pi/Desktop/images/05122025/12/44/image_05122025_12_44_35_10641.jpg', '/home/pi/Desktop/images/05122025/12/44/image_05122025_12_44_45_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/43/image_05122025_12_43_55_10632.jpg
/home/pi/Desktop/images/05122025/12/43/image_05122025_12_44_04_9677.jpg
/home/pi/Desktop/images/05122025/12/44/image_05122025_12_44_14_9688.jpg
/home/pi/Desktop/images/05122025/12/44/image_05122025_12_44_24_9940.jpg
/home/pi/Desktop/images/05122025/12/44/image_05122025_12_44_35_10641.jpg
/home/pi/Desktop/images/05122025/12/44/image_05122025_12_44_45_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088284","1398088275","1398088277","1398088279","1398088273","1398088281"],"photo_ids_order":["1398088273","1398088275","1398088277","1398088279","1398088281","1398088284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e88c30902c2ab41d023043e8d24332ed.jpg","text":"TemporaryFile(/tmp/multipartBody2157535424295400216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937582974,"filename":"image_05122025_12_44_45_10348.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a281900640dc40ef8809e41309af37f7.jpg","text":"TemporaryFile(/tmp/multipartBody5659382213255731307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937582974,"filename":"image_05122025_12_44_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/5/3553e176fe56dd36ebe66973ea0a1314.jpg","text":"TemporaryFile(/tmp/multipartBody8246603677494775111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937582974,"filename":"image_05122025_12_44_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/5/1435bfaecb794b7f161748a835d73bdb.jpg","text":"TemporaryFile(/tmp/multipartBody7823584279090797024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937582974,"filename":"image_05122025_12_44_24_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/5/8ac4b58952e155c559c17cab2c64b1e4.jpg","text":"TemporaryFile(/tmp/multipartBody8320806481520343817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937582974,"filename":"image_05122025_12_43_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/5/49681c9c7dcbec59b6a3aa57d7ae2882.jpg","text":"TemporaryFile(/tmp/multipartBody3250341820615358223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937582974,"filename":"image_05122025_12_44_35_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088277","file1":"1398088275","file0":"1398088273","file4":"1398088281","file5":"1398088284","file3":"1398088279"},"map_files_photo_id_array":[{"photo_id":"1398088284","filename":"file5"},{"photo_id":"1398088277","filename":"file2"},{"photo_id":"1398088281","filename":"file4"},{"photo_id":"1398088275","filename":"file1"},{"photo_id":"1398088273","filename":"file0"},{"photo_id":"1398088279","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088284":["hashtag1","hashtag2"]},{"1398088275":["hashtag1","hashtag2"]},{"1398088277":["hashtag1","hashtag2"]},{"1398088279":["hashtag1","hashtag2"]},{"1398088273":["hashtag1","hashtag2"]},{"1398088281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088284, 1398088275, 1398088277, 1398088279, 1398088273, 1398088281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.360846757888794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:26:03.030113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/44/image_05122025_12_44_55_9732.jpg', '/home/pi/Desktop/images/05122025/12/44/image_05122025_12_45_05_9713.jpg', '/home/pi/Desktop/images/05122025/12/45/image_05122025_12_45_14_9796.jpg', '/home/pi/Desktop/images/05122025/12/45/image_05122025_12_45_25_10658.jpg', '/home/pi/Desktop/images/05122025/12/45/image_05122025_12_45_35_9814.jpg', '/home/pi/Desktop/images/05122025/12/45/image_05122025_12_45_44_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/44/image_05122025_12_44_55_9732.jpg
/home/pi/Desktop/images/05122025/12/44/image_05122025_12_45_05_9713.jpg
/home/pi/Desktop/images/05122025/12/45/image_05122025_12_45_14_9796.jpg
/home/pi/Desktop/images/05122025/12/45/image_05122025_12_45_25_10658.jpg
/home/pi/Desktop/images/05122025/12/45/image_05122025_12_45_35_9814.jpg
/home/pi/Desktop/images/05122025/12/45/image_05122025_12_45_44_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088290","1398088287","1398088292","1398088289","1398088286","1398088288"],"photo_ids_order":["1398088286","1398088287","1398088288","1398088289","1398088290","1398088292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf669a8a81f5a4d92b1f1212c8d9615b.jpg","text":"TemporaryFile(/tmp/multipartBody755665145540675830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937623685,"filename":"image_05122025_12_45_35_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/5/cd60faa2453d60ecf870c2ba3a79e95f.jpg","text":"TemporaryFile(/tmp/multipartBody9130597599188015171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937623685,"filename":"image_05122025_12_45_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/5/a130c438267cf6d0e59cd5c6afeccd80.jpg","text":"TemporaryFile(/tmp/multipartBody2130864476306591628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937623685,"filename":"image_05122025_12_45_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c13185aba69d09bd14ed1510f3b2490.jpg","text":"TemporaryFile(/tmp/multipartBody6962547057760333482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937623685,"filename":"image_05122025_12_45_25_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af275beec0f539ce6c33b338c1fb0671.jpg","text":"TemporaryFile(/tmp/multipartBody5221299833647923596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937623685,"filename":"image_05122025_12_44_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/5/87d8b54fccc6507f0b8d17f3b2964873.jpg","text":"TemporaryFile(/tmp/multipartBody6017923560663331957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937623685,"filename":"image_05122025_12_45_14_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088288","file1":"1398088287","file0":"1398088286","file4":"1398088290","file5":"1398088292","file3":"1398088289"},"map_files_photo_id_array":[{"photo_id":"1398088292","filename":"file5"},{"photo_id":"1398088288","filename":"file2"},{"photo_id":"1398088290","filename":"file4"},{"photo_id":"1398088287","filename":"file1"},{"photo_id":"1398088286","filename":"file0"},{"photo_id":"1398088289","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088290":["hashtag1","hashtag2"]},{"1398088287":["hashtag1","hashtag2"]},{"1398088292":["hashtag1","hashtag2"]},{"1398088289":["hashtag1","hashtag2"]},{"1398088286":["hashtag1","hashtag2"]},{"1398088288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088290, 1398088287, 1398088292, 1398088289, 1398088286, 1398088288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32075881958008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:26:42.611199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_13_2535.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_16_2584.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_19_3606.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_22_2621.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_26_3532.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_31_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_13_2535.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_16_2584.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_19_3606.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_22_2621.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_26_3532.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_31_2690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5309557914733887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:27:03.428691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/45/image_05122025_12_45_54_9664.jpg', '/home/pi/Desktop/images/05122025/12/46/image_05122025_12_46_14_9801.jpg', '/home/pi/Desktop/images/05122025/12/46/image_05122025_12_46_24_9600.jpg', '/home/pi/Desktop/images/05122025/12/46/image_05122025_12_46_35_10759.jpg', '/home/pi/Desktop/images/05122025/12/46/image_05122025_12_46_44_9585.jpg', '/home/pi/Desktop/images/05122025/12/46/image_05122025_12_46_54_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/45/image_05122025_12_45_54_9664.jpg
/home/pi/Desktop/images/05122025/12/46/image_05122025_12_46_14_9801.jpg
/home/pi/Desktop/images/05122025/12/46/image_05122025_12_46_24_9600.jpg
/home/pi/Desktop/images/05122025/12/46/image_05122025_12_46_35_10759.jpg
/home/pi/Desktop/images/05122025/12/46/image_05122025_12_46_44_9585.jpg
/home/pi/Desktop/images/05122025/12/46/image_05122025_12_46_54_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":["1398088309","1398088308","1398088311","1398088305","1398088307","1398088306"],"photo_ids_order":["1398088305","1398088306","1398088307","1398088308","1398088309","1398088311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4cdbbc4c62e0e233b1853ef1717c63f7.jpg","text":"TemporaryFile(/tmp/multipartBody1817645591482376429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937684126,"filename":"image_05122025_12_46_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/5/4e92990e512daae9e50b0466a3996ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2719389081540365552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937684126,"filename":"image_05122025_12_46_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/5/380db9e174719537efd819976e49c532.jpg","text":"TemporaryFile(/tmp/multipartBody7337534072389252299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937684126,"filename":"image_05122025_12_46_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/5/6ad68440bab3ac27f924345eec678ceb.jpg","text":"TemporaryFile(/tmp/multipartBody2820841301408568571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937684126,"filename":"image_05122025_12_45_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a0fb50775b950b8fcaa7c8e166e2327.jpg","text":"TemporaryFile(/tmp/multipartBody8700195188654156734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937684126,"filename":"image_05122025_12_46_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/5/bd7adc2f0f5cc1f3136ae4f8d429147a.jpg","text":"TemporaryFile(/tmp/multipartBody8878784899187347776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937684126,"filename":"image_05122025_12_46_14_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088307","file1":"1398088306","file0":"1398088305","file4":"1398088309","file5":"1398088311","file3":"1398088308"},"map_files_photo_id_array":[{"photo_id":"1398088311","filename":"file5"},{"photo_id":"1398088307","filename":"file2"},{"photo_id":"1398088309","filename":"file4"},{"photo_id":"1398088306","filename":"file1"},{"photo_id":"1398088305","filename":"file0"},{"photo_id":"1398088308","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088309":["hashtag1","hashtag2"]},{"1398088308":["hashtag1","hashtag2"]},{"1398088311":["hashtag1","hashtag2"]},{"1398088305":["hashtag1","hashtag2"]},{"1398088307":["hashtag1","hashtag2"]},{"1398088306":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088309, 1398088308, 1398088311, 1398088305, 1398088307, 1398088306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.844266414642334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:27:42.762140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_13_2535.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_16_2584.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_19_3606.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_22_2621.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_26_3532.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_31_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_13_2535.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_16_2584.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_19_3606.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_22_2621.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_26_3532.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_31_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":["1398088320","1398088323","1398088317","1398088319","1398088322","1398088321"],"photo_ids_order":["1398088317","1398088319","1398088320","1398088321","1398088322","1398088323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6bba9dc163f1ca249c94d3545e08a51f.jpg","text":"TemporaryFile(/tmp/multipartBody4764004914551558105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937724266,"filename":"image_31102025_19_38_19_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/5/c16723506758cb8eb825dc214527de34.jpg","text":"TemporaryFile(/tmp/multipartBody4070419813017226875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937724266,"filename":"image_31102025_19_38_31_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/5/d9ee6f042688f984589fc08f834a2919.jpg","text":"TemporaryFile(/tmp/multipartBody7256588005959431986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937724266,"filename":"image_31102025_19_38_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/5/c88333e5414a2ba94c0a87c3a996f533.jpg","text":"TemporaryFile(/tmp/multipartBody2784275752527619540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937724266,"filename":"image_31102025_19_38_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/5/9da91d8d3a72cd4d8274e756710d84c4.jpg","text":"TemporaryFile(/tmp/multipartBody2181769507045496256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937724266,"filename":"image_31102025_19_38_26_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/5/283133556608f6f5da2095bd00654e1a.jpg","text":"TemporaryFile(/tmp/multipartBody6685296585737579411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937724266,"filename":"image_31102025_19_38_22_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088320","file1":"1398088319","file0":"1398088317","file4":"1398088322","file5":"1398088323","file3":"1398088321"},"map_files_photo_id_array":[{"photo_id":"1398088323","filename":"file5"},{"photo_id":"1398088320","filename":"file2"},{"photo_id":"1398088322","filename":"file4"},{"photo_id":"1398088319","filename":"file1"},{"photo_id":"1398088317","filename":"file0"},{"photo_id":"1398088321","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088320":["hashtag1","hashtag2"]},{"1398088323":["hashtag1","hashtag2"]},{"1398088317":["hashtag1","hashtag2"]},{"1398088319":["hashtag1","hashtag2"]},{"1398088322":["hashtag1","hashtag2"]},{"1398088321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088320, 1398088323, 1398088317, 1398088319, 1398088322, 1398088321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57777190208435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:28:21.930479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/46/image_05122025_12_47_05_10731.jpg', '/home/pi/Desktop/images/05122025/12/47/image_05122025_12_47_15_9801.jpg', '/home/pi/Desktop/images/05122025/12/47/image_05122025_12_47_24_9740.jpg', '/home/pi/Desktop/images/05122025/12/47/image_05122025_12_47_34_9804.jpg', '/home/pi/Desktop/images/05122025/12/47/image_05122025_12_47_55_10670.jpg', '/home/pi/Desktop/images/05122025/12/47/image_05122025_12_48_05_9903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/46/image_05122025_12_47_05_10731.jpg
/home/pi/Desktop/images/05122025/12/47/image_05122025_12_47_15_9801.jpg
/home/pi/Desktop/images/05122025/12/47/image_05122025_12_47_24_9740.jpg
/home/pi/Desktop/images/05122025/12/47/image_05122025_12_47_34_9804.jpg
/home/pi/Desktop/images/05122025/12/47/image_05122025_12_47_55_10670.jpg
/home/pi/Desktop/images/05122025/12/47/image_05122025_12_48_05_9903.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088332","1398088326","1398088335","1398088328","1398088330","1398088324"],"photo_ids_order":["1398088324","1398088326","1398088328","1398088330","1398088332","1398088335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/885a1ab3f7edfe11f71e30285c765993.jpg","text":"TemporaryFile(/tmp/multipartBody9217495697322988515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937762611,"filename":"image_05122025_12_47_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c98b71503b466aceb74ecf2db361c3d.jpg","text":"TemporaryFile(/tmp/multipartBody9153716810566757149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937762611,"filename":"image_05122025_12_47_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/5/664bbc1cbf1bdaa44516f6bd1a135652.jpg","text":"TemporaryFile(/tmp/multipartBody4216903937553382790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937762611,"filename":"image_05122025_12_48_05_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/5/e344560f655ea44f0aa32ddae9d31d81.jpg","text":"TemporaryFile(/tmp/multipartBody1776150919503986458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937762611,"filename":"image_05122025_12_47_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/5/0c13ff5979201a5715108ae0afba0983.jpg","text":"TemporaryFile(/tmp/multipartBody2886606550642720873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937762611,"filename":"image_05122025_12_47_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/5/88f249cbb7217df8afa04524643bcccd.jpg","text":"TemporaryFile(/tmp/multipartBody7406678583644919884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937762611,"filename":"image_05122025_12_47_05_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088328","file1":"1398088326","file0":"1398088324","file4":"1398088332","file5":"1398088335","file3":"1398088330"},"map_files_photo_id_array":[{"photo_id":"1398088335","filename":"file5"},{"photo_id":"1398088328","filename":"file2"},{"photo_id":"1398088332","filename":"file4"},{"photo_id":"1398088326","filename":"file1"},{"photo_id":"1398088324","filename":"file0"},{"photo_id":"1398088330","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088332":["hashtag1","hashtag2"]},{"1398088326":["hashtag1","hashtag2"]},{"1398088335":["hashtag1","hashtag2"]},{"1398088328":["hashtag1","hashtag2"]},{"1398088330":["hashtag1","hashtag2"]},{"1398088324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088332, 1398088326, 1398088335, 1398088328, 1398088330, 1398088324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25766658782959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:29:02.954694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/48/image_05122025_12_48_25_10586.jpg', '/home/pi/Desktop/images/05122025/12/48/image_05122025_12_48_35_9691.jpg', '/home/pi/Desktop/images/05122025/12/48/image_05122025_12_48_44_9607.jpg', '/home/pi/Desktop/images/05122025/12/48/image_05122025_12_48_55_10621.jpg', '/home/pi/Desktop/images/05122025/12/48/image_05122025_12_49_05_9658.jpg', '/home/pi/Desktop/images/05122025/12/49/image_05122025_12_49_14_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/48/image_05122025_12_48_25_10586.jpg
/home/pi/Desktop/images/05122025/12/48/image_05122025_12_48_35_9691.jpg
/home/pi/Desktop/images/05122025/12/48/image_05122025_12_48_44_9607.jpg
/home/pi/Desktop/images/05122025/12/48/image_05122025_12_48_55_10621.jpg
/home/pi/Desktop/images/05122025/12/48/image_05122025_12_49_05_9658.jpg
/home/pi/Desktop/images/05122025/12/49/image_05122025_12_49_14_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":["1398088341","1398088338","1398088343","1398088342","1398088345","1398088339"],"photo_ids_order":["1398088338","1398088339","1398088341","1398088342","1398088343","1398088345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f68551571dda9410bbfcc5acc840cd12.jpg","text":"TemporaryFile(/tmp/multipartBody2805556854514838262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937803866,"filename":"image_05122025_12_48_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/5/54870cb4dd9b54e73b993ea7178842d1.jpg","text":"TemporaryFile(/tmp/multipartBody8409565571161382037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937803866,"filename":"image_05122025_12_48_25_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/055cdc868e8e3092b2a80941980566e1.jpg","text":"TemporaryFile(/tmp/multipartBody4640254074596711566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937803866,"filename":"image_05122025_12_49_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/5/1ccdd89fb3f4646de4a7f2ff9b3a51e8.jpg","text":"TemporaryFile(/tmp/multipartBody4546972465954021470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937803866,"filename":"image_05122025_12_48_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/5/8a731f71cc9f9ac60cc7471be2969d4d.jpg","text":"TemporaryFile(/tmp/multipartBody910481170795984411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937803866,"filename":"image_05122025_12_49_14_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8408bf2a6729f09d9f8d079278d62d27.jpg","text":"TemporaryFile(/tmp/multipartBody5135070391355368965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937803866,"filename":"image_05122025_12_48_35_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088341","file1":"1398088339","file0":"1398088338","file4":"1398088343","file5":"1398088345","file3":"1398088342"},"map_files_photo_id_array":[{"photo_id":"1398088345","filename":"file5"},{"photo_id":"1398088341","filename":"file2"},{"photo_id":"1398088343","filename":"file4"},{"photo_id":"1398088339","filename":"file1"},{"photo_id":"1398088338","filename":"file0"},{"photo_id":"1398088342","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088341":["hashtag1","hashtag2"]},{"1398088338":["hashtag1","hashtag2"]},{"1398088343":["hashtag1","hashtag2"]},{"1398088342":["hashtag1","hashtag2"]},{"1398088345":["hashtag1","hashtag2"]},{"1398088339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088341, 1398088338, 1398088343, 1398088342, 1398088345, 1398088339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62140917778015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:29:42.110424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_34_3587.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_37_2485.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_40_2680.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_43_3798.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_46_2815.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_49_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_34_3587.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_37_2485.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_40_2680.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_43_3798.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_46_2815.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_49_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":["1398088353","1398088356","1398088355","1398088358","1398088357","1398088351"],"photo_ids_order":["1398088351","1398088353","1398088355","1398088356","1398088357","1398088358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a436cd9c8e17ea6c5cdc7f8fdf319b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7516010051286854912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937843729,"filename":"image_31102025_19_38_37_2485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/89239229fd76dafa77843cd6baabef7f.jpg","text":"TemporaryFile(/tmp/multipartBody3599547151379664353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937843729,"filename":"image_31102025_19_38_43_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5bdef1e66a7fd25b8ef068f4fe080894.jpg","text":"TemporaryFile(/tmp/multipartBody6548338223577958420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937843729,"filename":"image_31102025_19_38_40_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/5/af14e6c48e4c8775c32c9734b746ab9f.jpg","text":"TemporaryFile(/tmp/multipartBody5543523284043463564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937843729,"filename":"image_31102025_19_38_49_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/5/2d6fc4b0d2b08368a90ddd44929fa634.jpg","text":"TemporaryFile(/tmp/multipartBody692532458539276520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937843729,"filename":"image_31102025_19_38_46_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/5/9af08c1cf300bde0d7f59a65a452b1ec.jpg","text":"TemporaryFile(/tmp/multipartBody1138102973748411657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937843729,"filename":"image_31102025_19_38_34_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088355","file1":"1398088353","file0":"1398088351","file4":"1398088357","file5":"1398088358","file3":"1398088356"},"map_files_photo_id_array":[{"photo_id":"1398088358","filename":"file5"},{"photo_id":"1398088355","filename":"file2"},{"photo_id":"1398088357","filename":"file4"},{"photo_id":"1398088353","filename":"file1"},{"photo_id":"1398088351","filename":"file0"},{"photo_id":"1398088356","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088353":["hashtag1","hashtag2"]},{"1398088356":["hashtag1","hashtag2"]},{"1398088355":["hashtag1","hashtag2"]},{"1398088358":["hashtag1","hashtag2"]},{"1398088357":["hashtag1","hashtag2"]},{"1398088351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088353, 1398088356, 1398088355, 1398088358, 1398088357, 1398088351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20759630203247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:30:22.360218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/49/image_05122025_12_49_24_9772.jpg', '/home/pi/Desktop/images/05122025/12/49/image_05122025_12_49_35_10757.jpg', '/home/pi/Desktop/images/05122025/12/49/image_05122025_12_49_44_9563.jpg', '/home/pi/Desktop/images/05122025/12/49/image_05122025_12_49_54_9642.jpg', '/home/pi/Desktop/images/05122025/12/49/image_05122025_12_50_05_10688.jpg', '/home/pi/Desktop/images/05122025/12/50/image_05122025_12_50_15_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/49/image_05122025_12_49_24_9772.jpg
/home/pi/Desktop/images/05122025/12/49/image_05122025_12_49_35_10757.jpg
/home/pi/Desktop/images/05122025/12/49/image_05122025_12_49_44_9563.jpg
/home/pi/Desktop/images/05122025/12/49/image_05122025_12_49_54_9642.jpg
/home/pi/Desktop/images/05122025/12/49/image_05122025_12_50_05_10688.jpg
/home/pi/Desktop/images/05122025/12/50/image_05122025_12_50_15_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088365","1398088368","1398088361","1398088372","1398088360","1398088363"],"photo_ids_order":["1398088360","1398088361","1398088363","1398088365","1398088368","1398088372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/723005e0e1cfc349cc140850183c1e95.jpg","text":"TemporaryFile(/tmp/multipartBody2593772361851775201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937883008,"filename":"image_05122025_12_49_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/5/50380583e43e4f56940e79fbd4dec9da.jpg","text":"TemporaryFile(/tmp/multipartBody8188294439195749966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937883008,"filename":"image_05122025_12_50_05_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/5/b5075703c576429197d2668c3e3e92d2.jpg","text":"TemporaryFile(/tmp/multipartBody8155264024889772249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937883008,"filename":"image_05122025_12_49_35_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b64bbcfade8d947ee48690fe83bd37e0.jpg","text":"TemporaryFile(/tmp/multipartBody8378877130197832553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937883008,"filename":"image_05122025_12_50_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/5/e8a4d10a0fa1ef72936467c783e8e222.jpg","text":"TemporaryFile(/tmp/multipartBody1668599060097379780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937883008,"filename":"image_05122025_12_49_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/5/40ef9a6630910ebd4827e9daecd96ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7148919705532234555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937883008,"filename":"image_05122025_12_49_44_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088363","file1":"1398088361","file0":"1398088360","file4":"1398088368","file5":"1398088372","file3":"1398088365"},"map_files_photo_id_array":[{"photo_id":"1398088372","filename":"file5"},{"photo_id":"1398088363","filename":"file2"},{"photo_id":"1398088368","filename":"file4"},{"photo_id":"1398088361","filename":"file1"},{"photo_id":"1398088360","filename":"file0"},{"photo_id":"1398088365","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088365":["hashtag1","hashtag2"]},{"1398088368":["hashtag1","hashtag2"]},{"1398088361":["hashtag1","hashtag2"]},{"1398088372":["hashtag1","hashtag2"]},{"1398088360":["hashtag1","hashtag2"]},{"1398088363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088365, 1398088368, 1398088361, 1398088372, 1398088360, 1398088363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25558400154114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:31:03.106319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/50/image_05122025_12_50_24_9748.jpg', '/home/pi/Desktop/images/05122025/12/50/image_05122025_12_50_35_10603.jpg', '/home/pi/Desktop/images/05122025/12/50/image_05122025_12_50_45_9738.jpg', '/home/pi/Desktop/images/05122025/12/50/image_05122025_12_50_54_9652.jpg', '/home/pi/Desktop/images/05122025/12/50/image_05122025_12_51_05_10691.jpg', '/home/pi/Desktop/images/05122025/12/51/image_05122025_12_51_15_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/50/image_05122025_12_50_24_9748.jpg
/home/pi/Desktop/images/05122025/12/50/image_05122025_12_50_35_10603.jpg
/home/pi/Desktop/images/05122025/12/50/image_05122025_12_50_45_9738.jpg
/home/pi/Desktop/images/05122025/12/50/image_05122025_12_50_54_9652.jpg
/home/pi/Desktop/images/05122025/12/50/image_05122025_12_51_05_10691.jpg
/home/pi/Desktop/images/05122025/12/51/image_05122025_12_51_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":["1398088383","1398088382","1398088385","1398088378","1398088381","1398088380"],"photo_ids_order":["1398088378","1398088380","1398088381","1398088382","1398088383","1398088385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ab64b82f89800f4462cb6d3d4a25e30.jpg","text":"TemporaryFile(/tmp/multipartBody8089567568604704509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937923818,"filename":"image_05122025_12_51_05_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/5/c768fba2bff0d8eecd379981d4aa44a0.jpg","text":"TemporaryFile(/tmp/multipartBody7837086795096844540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937923818,"filename":"image_05122025_12_50_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/811f8fce56b76a738ed26b47d38a1002.jpg","text":"TemporaryFile(/tmp/multipartBody4163801163102984449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937923818,"filename":"image_05122025_12_51_15_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/5/b9371888e613a4b0189128fcbc9dbd4a.jpg","text":"TemporaryFile(/tmp/multipartBody6470037345064907189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937923818,"filename":"image_05122025_12_50_24_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/befc551a718c975c8d90b576507a8444.jpg","text":"TemporaryFile(/tmp/multipartBody6799236394428727478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937923818,"filename":"image_05122025_12_50_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/5/81a5b3eef08d41a43af3a48c2f0fd7dd.jpg","text":"TemporaryFile(/tmp/multipartBody8824655447760767495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937923818,"filename":"image_05122025_12_50_35_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088381","file1":"1398088380","file0":"1398088378","file4":"1398088383","file5":"1398088385","file3":"1398088382"},"map_files_photo_id_array":[{"photo_id":"1398088385","filename":"file5"},{"photo_id":"1398088381","filename":"file2"},{"photo_id":"1398088383","filename":"file4"},{"photo_id":"1398088380","filename":"file1"},{"photo_id":"1398088378","filename":"file0"},{"photo_id":"1398088382","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088383":["hashtag1","hashtag2"]},{"1398088382":["hashtag1","hashtag2"]},{"1398088385":["hashtag1","hashtag2"]},{"1398088378":["hashtag1","hashtag2"]},{"1398088381":["hashtag1","hashtag2"]},{"1398088380":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088383, 1398088382, 1398088385, 1398088378, 1398088381, 1398088380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69168949127197 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-05 13:32:03.153952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/51/image_05122025_12_51_24_9519.jpg', '/home/pi/Desktop/images/05122025/12/51/image_05122025_12_51_35_10636.jpg', '/home/pi/Desktop/images/05122025/12/51/image_05122025_12_51_45_9648.jpg', '/home/pi/Desktop/images/05122025/12/51/image_05122025_12_51_54_9651.jpg', '/home/pi/Desktop/images/05122025/12/51/image_05122025_12_52_05_10669.jpg', '/home/pi/Desktop/images/05122025/12/52/image_05122025_12_52_15_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/51/image_05122025_12_51_24_9519.jpg
/home/pi/Desktop/images/05122025/12/51/image_05122025_12_51_35_10636.jpg
/home/pi/Desktop/images/05122025/12/51/image_05122025_12_51_45_9648.jpg
/home/pi/Desktop/images/05122025/12/51/image_05122025_12_51_54_9651.jpg
/home/pi/Desktop/images/05122025/12/51/image_05122025_12_52_05_10669.jpg
/home/pi/Desktop/images/05122025/12/52/image_05122025_12_52_15_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088398","1398088392","1398088394","1398088396","1398088393","1398088395"],"photo_ids_order":["1398088392","1398088393","1398088394","1398088395","1398088396","1398088398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/67d21414128510829d668ef38b5f073b.jpg","text":"TemporaryFile(/tmp/multipartBody5060350823888262923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937983860,"filename":"image_05122025_12_52_15_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/5/bfb2843ee19acbc03ab9be9663dcaefc.jpg","text":"TemporaryFile(/tmp/multipartBody8343735641182517470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937983860,"filename":"image_05122025_12_51_24_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/5/7b13d79782940e7176ea162cfcd042de.jpg","text":"TemporaryFile(/tmp/multipartBody4019252232308707735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937983860,"filename":"image_05122025_12_51_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bac3654f06f69f2eff1c4e63c836581c.jpg","text":"TemporaryFile(/tmp/multipartBody4610740361295789487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937983860,"filename":"image_05122025_12_52_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d8bd9cf362774b6dce9b5d2173da9951.jpg","text":"TemporaryFile(/tmp/multipartBody8721411181861817016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937983860,"filename":"image_05122025_12_51_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/961c7273a7ea3d2eab34c4cde077ccdf.jpg","text":"TemporaryFile(/tmp/multipartBody1773768776965718481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764937983860,"filename":"image_05122025_12_51_54_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088394","file1":"1398088393","file0":"1398088392","file4":"1398088396","file5":"1398088398","file3":"1398088395"},"map_files_photo_id_array":[{"photo_id":"1398088398","filename":"file5"},{"photo_id":"1398088394","filename":"file2"},{"photo_id":"1398088396","filename":"file4"},{"photo_id":"1398088393","filename":"file1"},{"photo_id":"1398088392","filename":"file0"},{"photo_id":"1398088395","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088398":["hashtag1","hashtag2"]},{"1398088392":["hashtag1","hashtag2"]},{"1398088394":["hashtag1","hashtag2"]},{"1398088396":["hashtag1","hashtag2"]},{"1398088393":["hashtag1","hashtag2"]},{"1398088395":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088398, 1398088392, 1398088394, 1398088396, 1398088393, 1398088395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.532970905303955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:32:42.720314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_53_3673.jpg', '/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_58_2833.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_01_2766.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_10_2644.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_13_3574.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_16_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_53_3673.jpg
/home/pi/Desktop/images/31102025/19/38/image_31102025_19_38_58_2833.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_01_2766.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_10_2644.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_13_3574.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_16_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088408","1398088407","1398088410","1398088404","1398088409","1398088411"],"photo_ids_order":["1398088404","1398088407","1398088408","1398088409","1398088410","1398088411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/685743a37c3609bb4af06a42cbda4cc5.jpg","text":"TemporaryFile(/tmp/multipartBody9012275694065556268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938024359,"filename":"image_31102025_19_39_01_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/5/e5a3d1eebde9f25809433c99f1961ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7692334748596923674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938024359,"filename":"image_31102025_19_38_58_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff56eb50bf79ef589b409f185ecbb0e4.jpg","text":"TemporaryFile(/tmp/multipartBody1766467807951718881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938024359,"filename":"image_31102025_19_39_13_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/5/0732f92c2db62dff970c94e31c780931.jpg","text":"TemporaryFile(/tmp/multipartBody3102988335690885430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938024359,"filename":"image_31102025_19_38_53_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/5/15c0b8e00904b6c52acb118220212162.jpg","text":"TemporaryFile(/tmp/multipartBody46690307109947650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938024359,"filename":"image_31102025_19_39_10_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/5/b33f2b9be9086bd82f3a0da14d5fc3b0.jpg","text":"TemporaryFile(/tmp/multipartBody7335829543830456515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938024359,"filename":"image_31102025_19_39_16_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088408","file1":"1398088407","file0":"1398088404","file4":"1398088410","file5":"1398088411","file3":"1398088409"},"map_files_photo_id_array":[{"photo_id":"1398088411","filename":"file5"},{"photo_id":"1398088408","filename":"file2"},{"photo_id":"1398088410","filename":"file4"},{"photo_id":"1398088407","filename":"file1"},{"photo_id":"1398088404","filename":"file0"},{"photo_id":"1398088409","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088408":["hashtag1","hashtag2"]},{"1398088407":["hashtag1","hashtag2"]},{"1398088410":["hashtag1","hashtag2"]},{"1398088404":["hashtag1","hashtag2"]},{"1398088409":["hashtag1","hashtag2"]},{"1398088411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088408, 1398088407, 1398088410, 1398088404, 1398088409, 1398088411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.516823291778564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:33:22.014285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/52/image_05122025_12_52_25_9840.jpg', '/home/pi/Desktop/images/05122025/12/52/image_05122025_12_52_34_9786.jpg', '/home/pi/Desktop/images/05122025/12/52/image_05122025_12_52_45_10691.jpg', '/home/pi/Desktop/images/05122025/12/52/image_05122025_12_52_55_9893.jpg', '/home/pi/Desktop/images/05122025/12/52/image_05122025_12_53_05_9825.jpg', '/home/pi/Desktop/images/05122025/12/53/image_05122025_12_53_14_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/52/image_05122025_12_52_25_9840.jpg
/home/pi/Desktop/images/05122025/12/52/image_05122025_12_52_34_9786.jpg
/home/pi/Desktop/images/05122025/12/52/image_05122025_12_52_45_10691.jpg
/home/pi/Desktop/images/05122025/12/52/image_05122025_12_52_55_9893.jpg
/home/pi/Desktop/images/05122025/12/52/image_05122025_12_53_05_9825.jpg
/home/pi/Desktop/images/05122025/12/53/image_05122025_12_53_14_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":["1398088416","1398088418","1398088412","1398088420","1398088414","1398088423"],"photo_ids_order":["1398088412","1398088414","1398088416","1398088418","1398088420","1398088423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c87b95092b44b1117d0bc2d7029bfc40.jpg","text":"TemporaryFile(/tmp/multipartBody5073615271908559517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938062684,"filename":"image_05122025_12_52_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/5/5932b06f7b26ef991e404d74961838b3.jpg","text":"TemporaryFile(/tmp/multipartBody5357752031317368585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938062684,"filename":"image_05122025_12_52_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/5/c95e1c5f048390def3283ee1495ea50c.jpg","text":"TemporaryFile(/tmp/multipartBody6127275211500726736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938062684,"filename":"image_05122025_12_52_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/5/a6df0d39d93a85dc74f4c1e7fccd5543.jpg","text":"TemporaryFile(/tmp/multipartBody3798269117158139730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938062684,"filename":"image_05122025_12_53_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/5/6b2bd4d0ff56e8496b80d1aec2fa0b82.jpg","text":"TemporaryFile(/tmp/multipartBody6925649029029816531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938062684,"filename":"image_05122025_12_52_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/5/0d6eddd8380c9f8ff822f3a62e1b8ecf.jpg","text":"TemporaryFile(/tmp/multipartBody2426176352718822263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938062684,"filename":"image_05122025_12_53_14_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088416","file1":"1398088414","file0":"1398088412","file4":"1398088420","file5":"1398088423","file3":"1398088418"},"map_files_photo_id_array":[{"photo_id":"1398088423","filename":"file5"},{"photo_id":"1398088416","filename":"file2"},{"photo_id":"1398088420","filename":"file4"},{"photo_id":"1398088414","filename":"file1"},{"photo_id":"1398088412","filename":"file0"},{"photo_id":"1398088418","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088416":["hashtag1","hashtag2"]},{"1398088418":["hashtag1","hashtag2"]},{"1398088412":["hashtag1","hashtag2"]},{"1398088420":["hashtag1","hashtag2"]},{"1398088414":["hashtag1","hashtag2"]},{"1398088423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088416, 1398088418, 1398088412, 1398088420, 1398088414, 1398088423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91564059257507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:34:02.769371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/53/image_05122025_12_53_24_9753.jpg', '/home/pi/Desktop/images/05122025/12/53/image_05122025_12_53_35_10729.jpg', '/home/pi/Desktop/images/05122025/12/53/image_05122025_12_53_45_9656.jpg', '/home/pi/Desktop/images/05122025/12/53/image_05122025_12_53_54_9586.jpg', '/home/pi/Desktop/images/05122025/12/54/image_05122025_12_54_14_9719.jpg', '/home/pi/Desktop/images/05122025/12/54/image_05122025_12_54_25_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/53/image_05122025_12_53_24_9753.jpg
/home/pi/Desktop/images/05122025/12/53/image_05122025_12_53_35_10729.jpg
/home/pi/Desktop/images/05122025/12/53/image_05122025_12_53_45_9656.jpg
/home/pi/Desktop/images/05122025/12/53/image_05122025_12_53_54_9586.jpg
/home/pi/Desktop/images/05122025/12/54/image_05122025_12_54_14_9719.jpg
/home/pi/Desktop/images/05122025/12/54/image_05122025_12_54_25_10576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088473","1398088449","1398088472","1398088466","1398088448","1398088447"],"photo_ids_order":["1398088447","1398088448","1398088449","1398088466","1398088472","1398088473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/026e9de62fdfbc41a6bdfc239251d710.jpg","text":"TemporaryFile(/tmp/multipartBody8136935843832530381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938103459,"filename":"image_05122025_12_54_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/5/03dcf5da9f9c3dd9a6d538283bb5f740.jpg","text":"TemporaryFile(/tmp/multipartBody4780086986182667060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938103459,"filename":"image_05122025_12_53_45_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/5/24f2c459e1d5c2e1eab8a9fe3f847d33.jpg","text":"TemporaryFile(/tmp/multipartBody5660859982810705953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938103459,"filename":"image_05122025_12_54_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/5/e19ec2e0b58c93261c5f8b427fb8a701.jpg","text":"TemporaryFile(/tmp/multipartBody8476917768854969366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938103459,"filename":"image_05122025_12_53_54_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/5/f1c26617080583449db2fbe415b01a90.jpg","text":"TemporaryFile(/tmp/multipartBody4274320561207594223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938103459,"filename":"image_05122025_12_53_35_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8dbebb46e807dcb89dbead49cf7a7328.jpg","text":"TemporaryFile(/tmp/multipartBody3732750541499993105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938103459,"filename":"image_05122025_12_53_24_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088449","file1":"1398088448","file0":"1398088447","file4":"1398088472","file5":"1398088473","file3":"1398088466"},"map_files_photo_id_array":[{"photo_id":"1398088473","filename":"file5"},{"photo_id":"1398088449","filename":"file2"},{"photo_id":"1398088472","filename":"file4"},{"photo_id":"1398088448","filename":"file1"},{"photo_id":"1398088447","filename":"file0"},{"photo_id":"1398088466","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088473":["hashtag1","hashtag2"]},{"1398088449":["hashtag1","hashtag2"]},{"1398088472":["hashtag1","hashtag2"]},{"1398088466":["hashtag1","hashtag2"]},{"1398088448":["hashtag1","hashtag2"]},{"1398088447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088473, 1398088449, 1398088472, 1398088466, 1398088448, 1398088447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.415610790252686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:34:42.168814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_19_2886.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_25_3756.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_28_2524.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_31_2658.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_34_3687.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_37_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_19_2886.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_25_3756.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_28_2524.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_31_2658.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_34_3687.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_37_2511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088485","1398088490","1398088487","1398088483","1398088489","1398088480"],"photo_ids_order":["1398088480","1398088483","1398088485","1398088487","1398088489","1398088490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7b805616327799027421c0e679b1be2a.jpg","text":"TemporaryFile(/tmp/multipartBody7616262337676100687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938143921,"filename":"image_31102025_19_39_28_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/5/cd95e280e347db7823e49098b3ce2248.jpg","text":"TemporaryFile(/tmp/multipartBody9161577149555556206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938143921,"filename":"image_31102025_19_39_37_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23770d3d4feb65eb48cabc878502e893.jpg","text":"TemporaryFile(/tmp/multipartBody5336793369773155896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938143921,"filename":"image_31102025_19_39_31_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/5/af290a05b9c338c6df815bfeeb04c725.jpg","text":"TemporaryFile(/tmp/multipartBody5949344832447140030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938143921,"filename":"image_31102025_19_39_25_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/5/6dac8dac83d2ac0e9b31944f07e37327.jpg","text":"TemporaryFile(/tmp/multipartBody7427857774856793150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938143921,"filename":"image_31102025_19_39_34_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/438429cb92f6741e9f6eb80b6a33b12a.jpg","text":"TemporaryFile(/tmp/multipartBody3397406557180980047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938143921,"filename":"image_31102025_19_39_19_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088485","file1":"1398088483","file0":"1398088480","file4":"1398088489","file5":"1398088490","file3":"1398088487"},"map_files_photo_id_array":[{"photo_id":"1398088490","filename":"file5"},{"photo_id":"1398088485","filename":"file2"},{"photo_id":"1398088489","filename":"file4"},{"photo_id":"1398088483","filename":"file1"},{"photo_id":"1398088480","filename":"file0"},{"photo_id":"1398088487","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088485":["hashtag1","hashtag2"]},{"1398088490":["hashtag1","hashtag2"]},{"1398088487":["hashtag1","hashtag2"]},{"1398088483":["hashtag1","hashtag2"]},{"1398088489":["hashtag1","hashtag2"]},{"1398088480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088485, 1398088490, 1398088487, 1398088483, 1398088489, 1398088480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01186943054199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:35:22.417021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/54/image_05122025_12_54_35_9875.jpg', '/home/pi/Desktop/images/05122025/12/54/image_05122025_12_54_45_9678.jpg', '/home/pi/Desktop/images/05122025/12/54/image_05122025_12_54_54_9754.jpg', '/home/pi/Desktop/images/05122025/12/54/image_05122025_12_55_05_10725.jpg', '/home/pi/Desktop/images/05122025/12/55/image_05122025_12_55_15_9754.jpg', '/home/pi/Desktop/images/05122025/12/55/image_05122025_12_55_24_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/54/image_05122025_12_54_35_9875.jpg
/home/pi/Desktop/images/05122025/12/54/image_05122025_12_54_45_9678.jpg
/home/pi/Desktop/images/05122025/12/54/image_05122025_12_54_54_9754.jpg
/home/pi/Desktop/images/05122025/12/54/image_05122025_12_55_05_10725.jpg
/home/pi/Desktop/images/05122025/12/55/image_05122025_12_55_15_9754.jpg
/home/pi/Desktop/images/05122025/12/55/image_05122025_12_55_24_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088491","1398088496","1398088498","1398088502","1398088492","1398088494"],"photo_ids_order":["1398088491","1398088492","1398088494","1398088496","1398088498","1398088502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d9a7d690034d6c36b01397ae32dba629.jpg","text":"TemporaryFile(/tmp/multipartBody4966550858778377749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938183046,"filename":"image_05122025_12_54_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/5/920592a2d9c5105673e461fddf86178b.jpg","text":"TemporaryFile(/tmp/multipartBody2006005892883523501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938183046,"filename":"image_05122025_12_55_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/5/8c1e55a5119c6bc3f813544ced9f87f6.jpg","text":"TemporaryFile(/tmp/multipartBody4554514153331725773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938183046,"filename":"image_05122025_12_55_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/5/c79c70a127b68d8512ca6ab3e65a70af.jpg","text":"TemporaryFile(/tmp/multipartBody5785199088967665047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938183046,"filename":"image_05122025_12_55_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/5/575ad06868851e1bf7378b2e9dcc59af.jpg","text":"TemporaryFile(/tmp/multipartBody5034909176375390366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938183046,"filename":"image_05122025_12_54_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f14250887c0dce82cc197311661cd1b3.jpg","text":"TemporaryFile(/tmp/multipartBody5190459288307097207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938183046,"filename":"image_05122025_12_54_54_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088494","file1":"1398088492","file0":"1398088491","file4":"1398088498","file5":"1398088502","file3":"1398088496"},"map_files_photo_id_array":[{"photo_id":"1398088502","filename":"file5"},{"photo_id":"1398088494","filename":"file2"},{"photo_id":"1398088498","filename":"file4"},{"photo_id":"1398088492","filename":"file1"},{"photo_id":"1398088491","filename":"file0"},{"photo_id":"1398088496","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088491":["hashtag1","hashtag2"]},{"1398088496":["hashtag1","hashtag2"]},{"1398088498":["hashtag1","hashtag2"]},{"1398088502":["hashtag1","hashtag2"]},{"1398088492":["hashtag1","hashtag2"]},{"1398088494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088491, 1398088496, 1398088498, 1398088502, 1398088492, 1398088494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3924822807312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:36:03.031154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/55/image_05122025_12_55_34_9793.jpg', '/home/pi/Desktop/images/05122025/12/55/image_05122025_12_55_55_9769.jpg', '/home/pi/Desktop/images/05122025/12/55/image_05122025_12_56_04_9652.jpg', '/home/pi/Desktop/images/05122025/12/56/image_05122025_12_56_14_9713.jpg', '/home/pi/Desktop/images/05122025/12/56/image_05122025_12_56_25_10791.jpg', '/home/pi/Desktop/images/05122025/12/56/image_05122025_12_56_35_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/55/image_05122025_12_55_34_9793.jpg
/home/pi/Desktop/images/05122025/12/55/image_05122025_12_55_55_9769.jpg
/home/pi/Desktop/images/05122025/12/55/image_05122025_12_56_04_9652.jpg
/home/pi/Desktop/images/05122025/12/56/image_05122025_12_56_14_9713.jpg
/home/pi/Desktop/images/05122025/12/56/image_05122025_12_56_25_10791.jpg
/home/pi/Desktop/images/05122025/12/56/image_05122025_12_56_35_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":["1398088515","1398088518","1398088517","1398088520","1398088513","1398088516"],"photo_ids_order":["1398088513","1398088515","1398088516","1398088517","1398088518","1398088520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80c0e7f533f842e96541d6e0c2eaab05.jpg","text":"TemporaryFile(/tmp/multipartBody7734663021990301246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938223690,"filename":"image_05122025_12_55_55_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/5/cb6ad9280e3482e941480d44b6b6ab8f.jpg","text":"TemporaryFile(/tmp/multipartBody5271053388906657137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938223690,"filename":"image_05122025_12_56_25_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/5/24da6d00dfd3885e5cdeb9667ac91572.jpg","text":"TemporaryFile(/tmp/multipartBody4638721194885797850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938223690,"filename":"image_05122025_12_56_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/5/b95dba6488dd25e2e6d0af2acda4f181.jpg","text":"TemporaryFile(/tmp/multipartBody6627027645386860200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938223690,"filename":"image_05122025_12_56_35_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/5/96f228d5d2561ccbe0ca409c5202a5ac.jpg","text":"TemporaryFile(/tmp/multipartBody7563931233953417216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938223690,"filename":"image_05122025_12_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/5/e32dd01e35b9b17b6d6f3d1065b6c5fb.jpg","text":"TemporaryFile(/tmp/multipartBody1060125866083732123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938223690,"filename":"image_05122025_12_56_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088516","file1":"1398088515","file0":"1398088513","file4":"1398088518","file5":"1398088520","file3":"1398088517"},"map_files_photo_id_array":[{"photo_id":"1398088520","filename":"file5"},{"photo_id":"1398088516","filename":"file2"},{"photo_id":"1398088518","filename":"file4"},{"photo_id":"1398088515","filename":"file1"},{"photo_id":"1398088513","filename":"file0"},{"photo_id":"1398088517","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088515":["hashtag1","hashtag2"]},{"1398088518":["hashtag1","hashtag2"]},{"1398088517":["hashtag1","hashtag2"]},{"1398088520":["hashtag1","hashtag2"]},{"1398088513":["hashtag1","hashtag2"]},{"1398088516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088515, 1398088518, 1398088517, 1398088520, 1398088513, 1398088516)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.270997762680054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:37:02.819708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/56/image_05122025_12_56_44_9704.jpg', '/home/pi/Desktop/images/05122025/12/56/image_05122025_12_56_54_9714.jpg', '/home/pi/Desktop/images/05122025/12/56/image_05122025_12_57_05_10646.jpg', '/home/pi/Desktop/images/05122025/12/57/image_05122025_12_57_14_9595.jpg', '/home/pi/Desktop/images/05122025/12/57/image_05122025_12_57_24_9778.jpg', '/home/pi/Desktop/images/05122025/12/57/image_05122025_12_57_35_10520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/56/image_05122025_12_56_44_9704.jpg
/home/pi/Desktop/images/05122025/12/56/image_05122025_12_56_54_9714.jpg
/home/pi/Desktop/images/05122025/12/56/image_05122025_12_57_05_10646.jpg
/home/pi/Desktop/images/05122025/12/57/image_05122025_12_57_14_9595.jpg
/home/pi/Desktop/images/05122025/12/57/image_05122025_12_57_24_9778.jpg
/home/pi/Desktop/images/05122025/12/57/image_05122025_12_57_35_10520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088527","1398088536","1398088529","1398088538","1398088532","1398088534"],"photo_ids_order":["1398088527","1398088529","1398088532","1398088534","1398088536","1398088538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ab734a148c67148bf743176acc5717d.jpg","text":"TemporaryFile(/tmp/multipartBody2341423918929340341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938283523,"filename":"image_05122025_12_56_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c74ad95911a83a746ad2b6c75fa28489.jpg","text":"TemporaryFile(/tmp/multipartBody2598959006855229916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938283523,"filename":"image_05122025_12_57_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/5/20959ba30e645eb4a8f2b39c125146a7.jpg","text":"TemporaryFile(/tmp/multipartBody5393938031328911405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938283523,"filename":"image_05122025_12_56_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/5/8ff47ddaf6d2069d833fb58d10083f10.jpg","text":"TemporaryFile(/tmp/multipartBody4861836914417749415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938283523,"filename":"image_05122025_12_57_35_10520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c3217f3b8a7a5c6e8df98f7a53d3936.jpg","text":"TemporaryFile(/tmp/multipartBody4560095254167275407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938283523,"filename":"image_05122025_12_57_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/5/5603201ff4b2eb763f4591cf9a00ffc2.jpg","text":"TemporaryFile(/tmp/multipartBody7387954281102387316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938283523,"filename":"image_05122025_12_57_14_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088532","file1":"1398088529","file0":"1398088527","file4":"1398088536","file5":"1398088538","file3":"1398088534"},"map_files_photo_id_array":[{"photo_id":"1398088538","filename":"file5"},{"photo_id":"1398088532","filename":"file2"},{"photo_id":"1398088536","filename":"file4"},{"photo_id":"1398088529","filename":"file1"},{"photo_id":"1398088527","filename":"file0"},{"photo_id":"1398088534","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088527":["hashtag1","hashtag2"]},{"1398088536":["hashtag1","hashtag2"]},{"1398088529":["hashtag1","hashtag2"]},{"1398088538":["hashtag1","hashtag2"]},{"1398088532":["hashtag1","hashtag2"]},{"1398088534":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088527, 1398088536, 1398088529, 1398088538, 1398088532, 1398088534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.932496309280396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:37:42.130522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_40_3661.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_43_2692.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_46_2704.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_49_2670.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_52_3917.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_55_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_40_3661.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_43_2692.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_46_2704.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_49_2670.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_52_3917.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_55_2572.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.521834373474121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:38:02.704465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/57/image_05122025_12_57_45_9836.jpg', '/home/pi/Desktop/images/05122025/12/57/image_05122025_12_57_54_9612.jpg', '/home/pi/Desktop/images/05122025/12/58/image_05122025_12_58_14_9724.jpg', '/home/pi/Desktop/images/05122025/12/58/image_05122025_12_58_24_9637.jpg', '/home/pi/Desktop/images/05122025/12/58/image_05122025_12_58_35_10877.jpg', '/home/pi/Desktop/images/05122025/12/58/image_05122025_12_58_45_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/57/image_05122025_12_57_45_9836.jpg
/home/pi/Desktop/images/05122025/12/57/image_05122025_12_57_54_9612.jpg
/home/pi/Desktop/images/05122025/12/58/image_05122025_12_58_14_9724.jpg
/home/pi/Desktop/images/05122025/12/58/image_05122025_12_58_24_9637.jpg
/home/pi/Desktop/images/05122025/12/58/image_05122025_12_58_35_10877.jpg
/home/pi/Desktop/images/05122025/12/58/image_05122025_12_58_45_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088557","1398088554","1398088553","1398088556","1398088559","1398088555"],"photo_ids_order":["1398088553","1398088554","1398088555","1398088556","1398088557","1398088559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e15d641b324429a0d759d0719ddebf66.jpg","text":"TemporaryFile(/tmp/multipartBody568254543627651920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938343362,"filename":"image_05122025_12_58_35_10877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b5e4c97433ef0a44a7e57136bc80c792.jpg","text":"TemporaryFile(/tmp/multipartBody1934593922824407162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938343362,"filename":"image_05122025_12_57_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/5/5fed4f9e341c5d02b51b791fd46c4bba.jpg","text":"TemporaryFile(/tmp/multipartBody4857334628516206868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938343362,"filename":"image_05122025_12_57_45_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/5/67aa63823c9ca1d26822a87c75b4f30b.jpg","text":"TemporaryFile(/tmp/multipartBody1403586815442699230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938343362,"filename":"image_05122025_12_58_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9fd21a7155d47679b4159286833f528e.jpg","text":"TemporaryFile(/tmp/multipartBody5515370514552762922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938343362,"filename":"image_05122025_12_58_45_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/5/105f8181d070145d9289b572082013bf.jpg","text":"TemporaryFile(/tmp/multipartBody7955939229812213372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938343362,"filename":"image_05122025_12_58_14_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088555","file1":"1398088554","file0":"1398088553","file4":"1398088557","file5":"1398088559","file3":"1398088556"},"map_files_photo_id_array":[{"photo_id":"1398088559","filename":"file5"},{"photo_id":"1398088555","filename":"file2"},{"photo_id":"1398088557","filename":"file4"},{"photo_id":"1398088554","filename":"file1"},{"photo_id":"1398088553","filename":"file0"},{"photo_id":"1398088556","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088557":["hashtag1","hashtag2"]},{"1398088554":["hashtag1","hashtag2"]},{"1398088553":["hashtag1","hashtag2"]},{"1398088556":["hashtag1","hashtag2"]},{"1398088559":["hashtag1","hashtag2"]},{"1398088555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088557, 1398088554, 1398088553, 1398088556, 1398088559, 1398088555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.555548667907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:38:42.313664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_40_3661.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_43_2692.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_46_2704.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_49_2670.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_52_3917.jpg', '/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_55_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_40_3661.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_43_2692.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_46_2704.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_49_2670.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_52_3917.jpg
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_39_55_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088569","1398088590","1398088584","1398088565","1398088568","1398088570"],"photo_ids_order":["1398088565","1398088568","1398088569","1398088570","1398088584","1398088590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ea6bd85280cc1e474304813d105e7f8.jpg","text":"TemporaryFile(/tmp/multipartBody9171959685716240303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938383885,"filename":"image_31102025_19_39_46_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bef823e851a5441fe72f053b8500ba56.jpg","text":"TemporaryFile(/tmp/multipartBody4766329786355206720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938383885,"filename":"image_31102025_19_39_55_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/5/df00285125803b0f9b9275290c10197a.jpg","text":"TemporaryFile(/tmp/multipartBody1111227844806200932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938383885,"filename":"image_31102025_19_39_52_3917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/73f3a48d226a80ca412e092a8c3dcd58.jpg","text":"TemporaryFile(/tmp/multipartBody8444936002789555678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938383885,"filename":"image_31102025_19_39_40_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/5/5cbd30070bf5eb2942c5aed0a9f1b3cc.jpg","text":"TemporaryFile(/tmp/multipartBody7214069660171483878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938383885,"filename":"image_31102025_19_39_43_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba8dc30ea04a33556976414a747a41ef.jpg","text":"TemporaryFile(/tmp/multipartBody284608626623022837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938383885,"filename":"image_31102025_19_39_49_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088569","file1":"1398088568","file0":"1398088565","file4":"1398088584","file5":"1398088590","file3":"1398088570"},"map_files_photo_id_array":[{"photo_id":"1398088590","filename":"file5"},{"photo_id":"1398088569","filename":"file2"},{"photo_id":"1398088584","filename":"file4"},{"photo_id":"1398088568","filename":"file1"},{"photo_id":"1398088565","filename":"file0"},{"photo_id":"1398088570","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088569":["hashtag1","hashtag2"]},{"1398088590":["hashtag1","hashtag2"]},{"1398088584":["hashtag1","hashtag2"]},{"1398088565":["hashtag1","hashtag2"]},{"1398088568":["hashtag1","hashtag2"]},{"1398088570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088569, 1398088590, 1398088584, 1398088565, 1398088568, 1398088570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.622817277908325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:39:22.502566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/12/58/image_05122025_12_58_54_9657.jpg', '/home/pi/Desktop/images/05122025/12/58/image_05122025_12_59_05_10597.jpg', '/home/pi/Desktop/images/05122025/12/59/image_05122025_12_59_14_9680.jpg', '/home/pi/Desktop/images/05122025/12/59/image_05122025_12_59_24_9643.jpg', '/home/pi/Desktop/images/05122025/12/59/image_05122025_12_59_44_9640.jpg', '/home/pi/Desktop/images/05122025/12/59/image_05122025_12_59_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/12/58/image_05122025_12_58_54_9657.jpg
/home/pi/Desktop/images/05122025/12/58/image_05122025_12_59_05_10597.jpg
/home/pi/Desktop/images/05122025/12/59/image_05122025_12_59_14_9680.jpg
/home/pi/Desktop/images/05122025/12/59/image_05122025_12_59_24_9643.jpg
/home/pi/Desktop/images/05122025/12/59/image_05122025_12_59_44_9640.jpg
/home/pi/Desktop/images/05122025/12/59/image_05122025_12_59_55_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088632","1398088608","1398088592","1398088595","1398088594","1398088597"],"photo_ids_order":["1398088592","1398088594","1398088595","1398088597","1398088608","1398088632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce5e5f6cfa968a6ffe8ab5a296c71b62.jpg","text":"TemporaryFile(/tmp/multipartBody7754549250019360907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938423130,"filename":"image_05122025_12_59_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/5/86ec1bdb5393a7d93ac8e95a770cbcae.jpg","text":"TemporaryFile(/tmp/multipartBody357403504465131116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938423130,"filename":"image_05122025_12_59_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/5/4b6d75191042542db04a2d20cd3334fe.jpg","text":"TemporaryFile(/tmp/multipartBody3541375543092027216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938423130,"filename":"image_05122025_12_58_54_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/5/e63391b432fd1a5d62ba8781d95be2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5493652207789940382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938423130,"filename":"image_05122025_12_59_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/5/1ea98042b32a01889ec88b8ca68abc10.jpg","text":"TemporaryFile(/tmp/multipartBody7132961497111120640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938423130,"filename":"image_05122025_12_59_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/5/1cc30915ca0eead966c172443125bd82.jpg","text":"TemporaryFile(/tmp/multipartBody4013981431764479883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938423130,"filename":"image_05122025_12_59_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088595","file1":"1398088594","file0":"1398088592","file4":"1398088608","file5":"1398088632","file3":"1398088597"},"map_files_photo_id_array":[{"photo_id":"1398088632","filename":"file5"},{"photo_id":"1398088595","filename":"file2"},{"photo_id":"1398088608","filename":"file4"},{"photo_id":"1398088594","filename":"file1"},{"photo_id":"1398088592","filename":"file0"},{"photo_id":"1398088597","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088632":["hashtag1","hashtag2"]},{"1398088608":["hashtag1","hashtag2"]},{"1398088592":["hashtag1","hashtag2"]},{"1398088595":["hashtag1","hashtag2"]},{"1398088594":["hashtag1","hashtag2"]},{"1398088597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088632, 1398088608, 1398088592, 1398088595, 1398088594, 1398088597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.796987533569336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:40:03.223100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/00/image_05122025_13_00_15_10056.jpg', '/home/pi/Desktop/images/05122025/13/00/image_05122025_13_00_25_10541.jpg', '/home/pi/Desktop/images/05122025/13/00/image_05122025_13_00_35_9578.jpg', '/home/pi/Desktop/images/05122025/13/00/image_05122025_13_00_45_10675.jpg', '/home/pi/Desktop/images/05122025/13/01/image_05122025_13_01_25_9573.jpg', '/home/pi/Desktop/images/05122025/13/01/image_05122025_13_01_35_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/00/image_05122025_13_00_15_10056.jpg
/home/pi/Desktop/images/05122025/13/00/image_05122025_13_00_25_10541.jpg
/home/pi/Desktop/images/05122025/13/00/image_05122025_13_00_35_9578.jpg
/home/pi/Desktop/images/05122025/13/00/image_05122025_13_00_45_10675.jpg
/home/pi/Desktop/images/05122025/13/01/image_05122025_13_01_25_9573.jpg
/home/pi/Desktop/images/05122025/13/01/image_05122025_13_01_35_10575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088752","1398088746","1398088751","1398088754","1398088748","1398088750"],"photo_ids_order":["1398088746","1398088748","1398088750","1398088751","1398088752","1398088754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7966ea8451ebf6e7e5b4805068cbf7ce.jpg","text":"TemporaryFile(/tmp/multipartBody4260930176367380263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938463892,"filename":"image_05122025_13_01_25_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/5/d20a619c7ebff1a150dc6dbb4e33a0f2.jpg","text":"TemporaryFile(/tmp/multipartBody1528800622782417905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938463892,"filename":"image_05122025_13_00_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5094e77eb58bcc2fed0d9934d6c94d11.jpg","text":"TemporaryFile(/tmp/multipartBody3762727221376818272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938463892,"filename":"image_05122025_13_00_45_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/5/8b263a93f2218952db89dc6d00f1a415.jpg","text":"TemporaryFile(/tmp/multipartBody7316532180823255919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938463892,"filename":"image_05122025_13_01_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/5/0c0ce2a0ff699b3f5e57f4ae23c922b5.jpg","text":"TemporaryFile(/tmp/multipartBody2828644978029820466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938463892,"filename":"image_05122025_13_00_25_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/5/4ac49e0d01c3d53e00ba67df063ec658.jpg","text":"TemporaryFile(/tmp/multipartBody8350632304596357587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938463892,"filename":"image_05122025_13_00_35_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088750","file1":"1398088748","file0":"1398088746","file4":"1398088752","file5":"1398088754","file3":"1398088751"},"map_files_photo_id_array":[{"photo_id":"1398088754","filename":"file5"},{"photo_id":"1398088750","filename":"file2"},{"photo_id":"1398088752","filename":"file4"},{"photo_id":"1398088748","filename":"file1"},{"photo_id":"1398088746","filename":"file0"},{"photo_id":"1398088751","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088752":["hashtag1","hashtag2"]},{"1398088746":["hashtag1","hashtag2"]},{"1398088751":["hashtag1","hashtag2"]},{"1398088754":["hashtag1","hashtag2"]},{"1398088748":["hashtag1","hashtag2"]},{"1398088750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088752, 1398088746, 1398088751, 1398088754, 1398088748, 1398088750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02836847305298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:40:42.754881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/39/image_31102025_19_40_01_3679.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_07_2619.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_10_3627.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_16_3541.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_19_2669.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_22_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/39/image_31102025_19_40_01_3679.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_07_2619.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_10_3627.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_16_3541.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_19_2669.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_22_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":["1398088767","1398088764","1398088763","1398088760","1398088762","1398088765"],"photo_ids_order":["1398088760","1398088762","1398088763","1398088764","1398088765","1398088767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d2f4a4d8b3c71619f278158d93348c5.jpg","text":"TemporaryFile(/tmp/multipartBody3702869931778662877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938504396,"filename":"image_31102025_19_40_22_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/5/d5b8d70d116b4f5df7179200d16fdb18.jpg","text":"TemporaryFile(/tmp/multipartBody2044184189567670155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938504396,"filename":"image_31102025_19_40_16_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e997d70047a0fafbfaeed2cda8fb4b08.jpg","text":"TemporaryFile(/tmp/multipartBody4448178142437062203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938504396,"filename":"image_31102025_19_40_10_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/5/f7695a5c28b54efa4c7eff6c0325535a.jpg","text":"TemporaryFile(/tmp/multipartBody6765340597319741119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938504396,"filename":"image_31102025_19_40_01_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/5/d59cad887cfebecceb88baf2e2befc78.jpg","text":"TemporaryFile(/tmp/multipartBody6438400320131943364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938504396,"filename":"image_31102025_19_40_07_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/5/6db19e5e577a38b666c9a920ba7defd2.jpg","text":"TemporaryFile(/tmp/multipartBody3695627875659475860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938504396,"filename":"image_31102025_19_40_19_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088763","file1":"1398088762","file0":"1398088760","file4":"1398088765","file5":"1398088767","file3":"1398088764"},"map_files_photo_id_array":[{"photo_id":"1398088767","filename":"file5"},{"photo_id":"1398088763","filename":"file2"},{"photo_id":"1398088765","filename":"file4"},{"photo_id":"1398088762","filename":"file1"},{"photo_id":"1398088760","filename":"file0"},{"photo_id":"1398088764","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088767":["hashtag1","hashtag2"]},{"1398088764":["hashtag1","hashtag2"]},{"1398088763":["hashtag1","hashtag2"]},{"1398088760":["hashtag1","hashtag2"]},{"1398088762":["hashtag1","hashtag2"]},{"1398088765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088767, 1398088764, 1398088763, 1398088760, 1398088762, 1398088765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.653172969818115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:41:21.966615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/01/image_05122025_13_02_05_10626.jpg', '/home/pi/Desktop/images/05122025/13/02/image_05122025_13_02_15_9602.jpg', '/home/pi/Desktop/images/05122025/13/02/image_05122025_13_02_25_10640.jpg', '/home/pi/Desktop/images/05122025/13/02/image_05122025_13_02_35_9606.jpg', '/home/pi/Desktop/images/05122025/13/02/image_05122025_13_02_45_9753.jpg', '/home/pi/Desktop/images/05122025/13/02/image_05122025_13_02_55_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/01/image_05122025_13_02_05_10626.jpg
/home/pi/Desktop/images/05122025/13/02/image_05122025_13_02_15_9602.jpg
/home/pi/Desktop/images/05122025/13/02/image_05122025_13_02_25_10640.jpg
/home/pi/Desktop/images/05122025/13/02/image_05122025_13_02_35_9606.jpg
/home/pi/Desktop/images/05122025/13/02/image_05122025_13_02_45_9753.jpg
/home/pi/Desktop/images/05122025/13/02/image_05122025_13_02_55_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088776","1398088778","1398088772","1398088774","1398088768","1398088770"],"photo_ids_order":["1398088768","1398088770","1398088772","1398088774","1398088776","1398088778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f89941e8ebff545034bb410a2554398.jpg","text":"TemporaryFile(/tmp/multipartBody5321603808895610089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938542607,"filename":"image_05122025_13_02_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/5/c4d78e9246ab497b5da8cb2e86976c23.jpg","text":"TemporaryFile(/tmp/multipartBody1625203218676772842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938542607,"filename":"image_05122025_13_02_55_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/5/9f385f52ee310603aa37ab745be00968.jpg","text":"TemporaryFile(/tmp/multipartBody4080259886805357829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938542607,"filename":"image_05122025_13_02_25_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/5/f31ee7b9511772f42ecbda674cc835c6.jpg","text":"TemporaryFile(/tmp/multipartBody5826737191933336509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938542607,"filename":"image_05122025_13_02_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/5/194c151148cdb53e21b788d533888bae.jpg","text":"TemporaryFile(/tmp/multipartBody2436326850746651745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938542607,"filename":"image_05122025_13_02_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/5/c89ce4219ea12cb355a56a8d22ac404e.jpg","text":"TemporaryFile(/tmp/multipartBody1131656362786512057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938542607,"filename":"image_05122025_13_02_15_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088772","file1":"1398088770","file0":"1398088768","file4":"1398088776","file5":"1398088778","file3":"1398088774"},"map_files_photo_id_array":[{"photo_id":"1398088778","filename":"file5"},{"photo_id":"1398088772","filename":"file2"},{"photo_id":"1398088776","filename":"file4"},{"photo_id":"1398088770","filename":"file1"},{"photo_id":"1398088768","filename":"file0"},{"photo_id":"1398088774","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088776":["hashtag1","hashtag2"]},{"1398088778":["hashtag1","hashtag2"]},{"1398088772":["hashtag1","hashtag2"]},{"1398088774":["hashtag1","hashtag2"]},{"1398088768":["hashtag1","hashtag2"]},{"1398088770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088776, 1398088778, 1398088772, 1398088774, 1398088768, 1398088770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60038447380066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:42:02.595430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/02/image_05122025_13_03_05_9583.jpg', '/home/pi/Desktop/images/05122025/13/03/image_05122025_13_03_15_9837.jpg', '/home/pi/Desktop/images/05122025/13/03/image_05122025_13_03_25_10589.jpg', '/home/pi/Desktop/images/05122025/13/03/image_05122025_13_03_35_9608.jpg', '/home/pi/Desktop/images/05122025/13/03/image_05122025_13_03_55_10575.jpg', '/home/pi/Desktop/images/05122025/13/03/image_05122025_13_04_05_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/02/image_05122025_13_03_05_9583.jpg
/home/pi/Desktop/images/05122025/13/03/image_05122025_13_03_15_9837.jpg
/home/pi/Desktop/images/05122025/13/03/image_05122025_13_03_25_10589.jpg
/home/pi/Desktop/images/05122025/13/03/image_05122025_13_03_35_9608.jpg
/home/pi/Desktop/images/05122025/13/03/image_05122025_13_03_55_10575.jpg
/home/pi/Desktop/images/05122025/13/03/image_05122025_13_04_05_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":["1398088782","1398088781","1398088780","1398088783","1398088785","1398088779"],"photo_ids_order":["1398088779","1398088780","1398088781","1398088782","1398088783","1398088785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f78de5634f74635b410cb11fc22e38b9.jpg","text":"TemporaryFile(/tmp/multipartBody8643353877570306041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938583257,"filename":"image_05122025_13_03_35_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/5/720ff1bb84a1402e0313ec899010729b.jpg","text":"TemporaryFile(/tmp/multipartBody5178952661564261036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938583257,"filename":"image_05122025_13_03_25_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/5/baf9b5b8818a25a10f4f41a7b5f3af81.jpg","text":"TemporaryFile(/tmp/multipartBody8747234421573686215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938583257,"filename":"image_05122025_13_03_15_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f3895c84792211eced5d50ee4f4f888a.jpg","text":"TemporaryFile(/tmp/multipartBody3223705560168110688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938583257,"filename":"image_05122025_13_03_55_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/5/15bc2c3f33f6935d531f106e22c7a4de.jpg","text":"TemporaryFile(/tmp/multipartBody7236641903580623395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938583257,"filename":"image_05122025_13_04_05_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/5/ced6fc9ce5e5b853839e46a98853f653.jpg","text":"TemporaryFile(/tmp/multipartBody939645282001446101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938583257,"filename":"image_05122025_13_03_05_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088781","file1":"1398088780","file0":"1398088779","file4":"1398088783","file5":"1398088785","file3":"1398088782"},"map_files_photo_id_array":[{"photo_id":"1398088785","filename":"file5"},{"photo_id":"1398088781","filename":"file2"},{"photo_id":"1398088783","filename":"file4"},{"photo_id":"1398088780","filename":"file1"},{"photo_id":"1398088779","filename":"file0"},{"photo_id":"1398088782","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088782":["hashtag1","hashtag2"]},{"1398088781":["hashtag1","hashtag2"]},{"1398088780":["hashtag1","hashtag2"]},{"1398088783":["hashtag1","hashtag2"]},{"1398088785":["hashtag1","hashtag2"]},{"1398088779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088782, 1398088781, 1398088780, 1398088783, 1398088785, 1398088779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24563455581665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:42:42.194929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_24_2670.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_28_3582.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_31_2724.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_33_2636.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_37_3729.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_40_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_24_2670.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_28_3582.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_31_2724.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_33_2636.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_37_3729.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_40_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":["1398088794","1398088796","1398088793","1398088802","1398088795","1398088791"],"photo_ids_order":["1398088791","1398088793","1398088794","1398088795","1398088796","1398088802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91efedb5134bf9ee91a01859a7b792a8.jpg","text":"TemporaryFile(/tmp/multipartBody1641904889587584077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938623830,"filename":"image_31102025_19_40_31_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/5/f006696ab8b5b5beb5a12ada5c1c1e38.jpg","text":"TemporaryFile(/tmp/multipartBody4191965112829112143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938623830,"filename":"image_31102025_19_40_37_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/731c1f11a8dd21ab5860cd3162b7d38e.jpg","text":"TemporaryFile(/tmp/multipartBody1228030187676392358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938623830,"filename":"image_31102025_19_40_28_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9a56e728227235ffb4e58eb09eca4a8b.jpg","text":"TemporaryFile(/tmp/multipartBody6181203606205095375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938623830,"filename":"image_31102025_19_40_40_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/5/d3ba27cee00e18819fb17aaa360bef49.jpg","text":"TemporaryFile(/tmp/multipartBody6842236108850318006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938623830,"filename":"image_31102025_19_40_33_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/5/b65d5c62287bd2f0d58a7cc7e5a06a53.jpg","text":"TemporaryFile(/tmp/multipartBody4589183995434484220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938623830,"filename":"image_31102025_19_40_24_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088794","file1":"1398088793","file0":"1398088791","file4":"1398088796","file5":"1398088802","file3":"1398088795"},"map_files_photo_id_array":[{"photo_id":"1398088802","filename":"file5"},{"photo_id":"1398088794","filename":"file2"},{"photo_id":"1398088796","filename":"file4"},{"photo_id":"1398088793","filename":"file1"},{"photo_id":"1398088791","filename":"file0"},{"photo_id":"1398088795","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088794":["hashtag1","hashtag2"]},{"1398088796":["hashtag1","hashtag2"]},{"1398088793":["hashtag1","hashtag2"]},{"1398088802":["hashtag1","hashtag2"]},{"1398088795":["hashtag1","hashtag2"]},{"1398088791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088794, 1398088796, 1398088793, 1398088802, 1398088795, 1398088791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.309112310409546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:43:22.470544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/04/image_05122025_13_04_15_9635.jpg', '/home/pi/Desktop/images/05122025/13/04/image_05122025_13_04_25_10840.jpg', '/home/pi/Desktop/images/05122025/13/04/image_05122025_13_04_46_10523.jpg', '/home/pi/Desktop/images/05122025/13/04/image_05122025_13_04_55_9787.jpg', '/home/pi/Desktop/images/05122025/13/05/image_05122025_13_05_45_9768.jpg', '/home/pi/Desktop/images/05122025/13/05/image_05122025_13_05_55_10875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/04/image_05122025_13_04_15_9635.jpg
/home/pi/Desktop/images/05122025/13/04/image_05122025_13_04_25_10840.jpg
/home/pi/Desktop/images/05122025/13/04/image_05122025_13_04_46_10523.jpg
/home/pi/Desktop/images/05122025/13/04/image_05122025_13_04_55_9787.jpg
/home/pi/Desktop/images/05122025/13/05/image_05122025_13_05_45_9768.jpg
/home/pi/Desktop/images/05122025/13/05/image_05122025_13_05_55_10875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088815","1398088809","1398088820","1398088817","1398088811","1398088813"],"photo_ids_order":["1398088809","1398088811","1398088813","1398088815","1398088817","1398088820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7ab00f712535d2ca6b0ab1f503693bfb.jpg","text":"TemporaryFile(/tmp/multipartBody7357399931293085162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938663096,"filename":"image_05122025_13_04_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/5/9834e4b216b2a6458c5074aadfb037f5.jpg","text":"TemporaryFile(/tmp/multipartBody7782624258237539715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938663096,"filename":"image_05122025_13_04_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/5/dca653712607fb69f376befb5c9fdbbe.jpg","text":"TemporaryFile(/tmp/multipartBody6438398607050376785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938663096,"filename":"image_05122025_13_05_55_10875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6814fde78a72f9251c973a6319ac26b1.jpg","text":"TemporaryFile(/tmp/multipartBody8579314845737732784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938663096,"filename":"image_05122025_13_05_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/5/b346056025a71cdfaddc14d36e8653b2.jpg","text":"TemporaryFile(/tmp/multipartBody8890922027613895266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938663096,"filename":"image_05122025_13_04_25_10840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d86001786df9b47309775b4333f7a9b9.jpg","text":"TemporaryFile(/tmp/multipartBody2409200165403283313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938663096,"filename":"image_05122025_13_04_46_10523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088813","file1":"1398088811","file0":"1398088809","file4":"1398088817","file5":"1398088820","file3":"1398088815"},"map_files_photo_id_array":[{"photo_id":"1398088820","filename":"file5"},{"photo_id":"1398088813","filename":"file2"},{"photo_id":"1398088817","filename":"file4"},{"photo_id":"1398088811","filename":"file1"},{"photo_id":"1398088809","filename":"file0"},{"photo_id":"1398088815","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088815":["hashtag1","hashtag2"]},{"1398088809":["hashtag1","hashtag2"]},{"1398088820":["hashtag1","hashtag2"]},{"1398088817":["hashtag1","hashtag2"]},{"1398088811":["hashtag1","hashtag2"]},{"1398088813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088815, 1398088809, 1398088820, 1398088817, 1398088811, 1398088813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79286289215088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:44:03.272806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/05/image_05122025_13_06_05_9861.jpg', '/home/pi/Desktop/images/05122025/13/06/image_05122025_13_06_15_9888.jpg', '/home/pi/Desktop/images/05122025/13/06/image_05122025_13_06_35_10530.jpg', '/home/pi/Desktop/images/05122025/13/06/image_05122025_13_06_45_9633.jpg', '/home/pi/Desktop/images/05122025/13/06/image_05122025_13_06_55_9688.jpg', '/home/pi/Desktop/images/05122025/13/06/image_05122025_13_07_05_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/05/image_05122025_13_06_05_9861.jpg
/home/pi/Desktop/images/05122025/13/06/image_05122025_13_06_15_9888.jpg
/home/pi/Desktop/images/05122025/13/06/image_05122025_13_06_35_10530.jpg
/home/pi/Desktop/images/05122025/13/06/image_05122025_13_06_45_9633.jpg
/home/pi/Desktop/images/05122025/13/06/image_05122025_13_06_55_9688.jpg
/home/pi/Desktop/images/05122025/13/06/image_05122025_13_07_05_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088830","1398088824","1398088826","1398088829","1398088831","1398088828"],"photo_ids_order":["1398088824","1398088826","1398088828","1398088829","1398088830","1398088831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7927f1be19c0bc20acbf9e4132628d89.jpg","text":"TemporaryFile(/tmp/multipartBody4251244620620061021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938703947,"filename":"image_05122025_13_06_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/5/3d5e08b3f3ae11c2a4a378d2e50f203b.jpg","text":"TemporaryFile(/tmp/multipartBody6052903086119529502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938703947,"filename":"image_05122025_13_06_05_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/5/86148654b6a45ecdfaf1228ac787c133.jpg","text":"TemporaryFile(/tmp/multipartBody8110996896149951583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938703947,"filename":"image_05122025_13_06_15_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/5/f62400dbc7ec7bd63094ff4c9d6e32d8.jpg","text":"TemporaryFile(/tmp/multipartBody2091247439589101262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938703947,"filename":"image_05122025_13_06_45_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/5/761f50b054b462053001776a807794e3.jpg","text":"TemporaryFile(/tmp/multipartBody7754341400857784832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938703947,"filename":"image_05122025_13_07_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/5/44859806bf8cecc594de91f0a38fe74a.jpg","text":"TemporaryFile(/tmp/multipartBody2912592686089523917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938703947,"filename":"image_05122025_13_06_35_10530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088828","file1":"1398088826","file0":"1398088824","file4":"1398088830","file5":"1398088831","file3":"1398088829"},"map_files_photo_id_array":[{"photo_id":"1398088831","filename":"file5"},{"photo_id":"1398088828","filename":"file2"},{"photo_id":"1398088830","filename":"file4"},{"photo_id":"1398088826","filename":"file1"},{"photo_id":"1398088824","filename":"file0"},{"photo_id":"1398088829","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088830":["hashtag1","hashtag2"]},{"1398088824":["hashtag1","hashtag2"]},{"1398088826":["hashtag1","hashtag2"]},{"1398088829":["hashtag1","hashtag2"]},{"1398088831":["hashtag1","hashtag2"]},{"1398088828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088830, 1398088824, 1398088826, 1398088829, 1398088831, 1398088828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30746793746948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:44:42.618921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_43_2726.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_46_3485.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_49_2655.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_52_3556.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_55_2536.jpg', '/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_57_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_43_2726.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_46_3485.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_49_2655.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_52_3556.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_55_2536.jpg
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_40_57_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":["1398088848","1398088842","1398088839","1398088844","1398088849","1398088846"],"photo_ids_order":["1398088839","1398088842","1398088844","1398088846","1398088848","1398088849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2dc337b72189ca827543aa1bbd69d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8587182499608415912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938745540,"filename":"image_31102025_19_40_55_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/5/a64713e544e3ac91ac6a9e75352305e0.jpg","text":"TemporaryFile(/tmp/multipartBody8351284996282850820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938745540,"filename":"image_31102025_19_40_46_3485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d147d1ac8b34f9af5265b5443ea06a0.jpg","text":"TemporaryFile(/tmp/multipartBody7655648081128967177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938745540,"filename":"image_31102025_19_40_43_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa3911c5f811d8ff8f41c11f93e8c6ec.jpg","text":"TemporaryFile(/tmp/multipartBody2646948166449780950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938745540,"filename":"image_31102025_19_40_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/5/222de44b20e85f27fbaba357d2669dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1051833655265042132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938745540,"filename":"image_31102025_19_40_57_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/5/1e2ea93efaa8b5c4902105a616a0a443.jpg","text":"TemporaryFile(/tmp/multipartBody3177417893370179467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938745540,"filename":"image_31102025_19_40_52_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088844","file1":"1398088842","file0":"1398088839","file4":"1398088848","file5":"1398088849","file3":"1398088846"},"map_files_photo_id_array":[{"photo_id":"1398088849","filename":"file5"},{"photo_id":"1398088844","filename":"file2"},{"photo_id":"1398088848","filename":"file4"},{"photo_id":"1398088842","filename":"file1"},{"photo_id":"1398088839","filename":"file0"},{"photo_id":"1398088846","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398088848":["hashtag1","hashtag2"]},{"1398088842":["hashtag1","hashtag2"]},{"1398088839":["hashtag1","hashtag2"]},{"1398088844":["hashtag1","hashtag2"]},{"1398088849":["hashtag1","hashtag2"]},{"1398088846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398088848, 1398088842, 1398088839, 1398088844, 1398088849, 1398088846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11936283111572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:45:22.834375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_35_10667.jpg', '/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_45_9606.jpg', '/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_55_9882.jpg', '/home/pi/Desktop/images/05122025/13/07/image_05122025_13_08_05_9756.jpg', '/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_15_10667.jpg', '/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_25_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_35_10667.jpg
/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_45_9606.jpg
/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_55_9882.jpg
/home/pi/Desktop/images/05122025/13/07/image_05122025_13_08_05_9756.jpg
/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_15_10667.jpg
/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_25_9670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5127129554748535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 13:45:32.783552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/16/image_02122025_20_16_35_9729.jpg', '/home/pi/Desktop/images/02122025/20/16/image_02122025_20_16_55_9614.jpg', '/home/pi/Desktop/images/02122025/20/16/image_02122025_20_17_05_9640.jpg', '/home/pi/Desktop/images/02122025/20/17/image_02122025_20_17_25_9929.jpg', '/home/pi/Desktop/images/02122025/20/17/image_02122025_20_17_35_9819.jpg', '/home/pi/Desktop/images/02122025/20/18/image_02122025_20_18_56_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/16/image_02122025_20_16_35_9729.jpg
/home/pi/Desktop/images/02122025/20/16/image_02122025_20_16_55_9614.jpg
/home/pi/Desktop/images/02122025/20/16/image_02122025_20_17_05_9640.jpg
/home/pi/Desktop/images/02122025/20/17/image_02122025_20_17_25_9929.jpg
/home/pi/Desktop/images/02122025/20/17/image_02122025_20_17_35_9819.jpg
/home/pi/Desktop/images/02122025/20/18/image_02122025_20_18_56_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398088860","1398088863","1398088862","1398088865","1398088864","1398088858"],"photo_ids_order":["1398088858","1398088860","1398088862","1398088863","1398088864","1398088865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54658a2274645e2b74abd3e93dcce1a7.jpg","text":"TemporaryFile(/tmp/multipartBody7403125741350276233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938797410,"filename":"image_02122025_20_16_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/5/78e5d410eaf628bcfc1ede64b85a4c23.jpg","text":"TemporaryFile(/tmp/multipartBody4907834391062166484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938797410,"filename":"image_02122025_20_17_25_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/5/77f2332ee337c068bcabc03c9819b6b4.jpg","text":"TemporaryFile(/tmp/multipartBody7895921056297239035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938797410,"filename":"image_02122025_20_17_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/5/82c8e280b9a0a5e0cb006047418a9501.jpg","text":"TemporaryFile(/tmp/multipartBody1554788075097687631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938797410,"filename":"image_02122025_20_18_56_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/5/3c028ec8b82df10e8060221a8d49fb39.jpg","text":"TemporaryFile(/tmp/multipartBody1571898625384071332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938797410,"filename":"image_02122025_20_17_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/5/84b4890bff34eb98466c067d902d2632.jpg","text":"TemporaryFile(/tmp/multipartBody8991829597463969274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938797410,"filename":"image_02122025_20_16_35_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088862","file1":"1398088860","file0":"1398088858","file4":"1398088864","file5":"1398088865","file3":"1398088863"},"map_files_photo_id_array":[{"photo_id":"1398088865","filename":"file5"},{"photo_id":"1398088862","filename":"file2"},{"photo_id":"1398088864","filename":"file4"},{"photo_id":"1398088860","filename":"file1"},{"photo_id":"1398088858","filename":"file0"},{"photo_id":"1398088863","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398088860":["hashtag1","hashtag2"]},{"1398088863":["hashtag1","hashtag2"]},{"1398088862":["hashtag1","hashtag2"]},{"1398088865":["hashtag1","hashtag2"]},{"1398088864":["hashtag1","hashtag2"]},{"1398088858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398088860, 1398088863, 1398088862, 1398088865, 1398088864, 1398088858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.930887937545776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:46:21.991750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_35_10667.jpg', '/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_45_9606.jpg', '/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_55_9882.jpg', '/home/pi/Desktop/images/05122025/13/07/image_05122025_13_08_05_9756.jpg', '/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_15_10667.jpg', '/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_25_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_35_10667.jpg
/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_45_9606.jpg
/home/pi/Desktop/images/05122025/13/07/image_05122025_13_07_55_9882.jpg
/home/pi/Desktop/images/05122025/13/07/image_05122025_13_08_05_9756.jpg
/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_15_10667.jpg
/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_25_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":["1398088872","1398088866","1398088877","1398088874","1398088868","1398088870"],"photo_ids_order":["1398088866","1398088868","1398088870","1398088872","1398088874","1398088877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d24c2aa5eb344e1ec66edcabf95cc65c.jpg","text":"TemporaryFile(/tmp/multipartBody8926829271785430798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938842644,"filename":"image_05122025_13_08_05_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/5/46aff5d9a09b3d73599401fdb023c184.jpg","text":"TemporaryFile(/tmp/multipartBody7729073599027664881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938842644,"filename":"image_05122025_13_07_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/5/a4fc521a22da84cd544f8fd689ce87ce.jpg","text":"TemporaryFile(/tmp/multipartBody5678573255875461503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938842644,"filename":"image_05122025_13_08_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/5/d5bd2e4cb45ad3dfa147660a62b99c58.jpg","text":"TemporaryFile(/tmp/multipartBody3748593778884183364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938842644,"filename":"image_05122025_13_08_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/5/b299a0e3e68c8238de68a4be6a770d91.jpg","text":"TemporaryFile(/tmp/multipartBody2826686701839768356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938842644,"filename":"image_05122025_13_07_45_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/5/e8660e5fa9f536b388284aad7ee02b6e.jpg","text":"TemporaryFile(/tmp/multipartBody6014119126684436097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938842644,"filename":"image_05122025_13_07_55_9882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088870","file1":"1398088868","file0":"1398088866","file4":"1398088874","file5":"1398088877","file3":"1398088872"},"map_files_photo_id_array":[{"photo_id":"1398088877","filename":"file5"},{"photo_id":"1398088870","filename":"file2"},{"photo_id":"1398088874","filename":"file4"},{"photo_id":"1398088868","filename":"file1"},{"photo_id":"1398088866","filename":"file0"},{"photo_id":"1398088872","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088872":["hashtag1","hashtag2"]},{"1398088866":["hashtag1","hashtag2"]},{"1398088877":["hashtag1","hashtag2"]},{"1398088874":["hashtag1","hashtag2"]},{"1398088868":["hashtag1","hashtag2"]},{"1398088870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088872, 1398088866, 1398088877, 1398088874, 1398088868, 1398088870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69604730606079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:47:02.877654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_35_9812.jpg', '/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_45_9682.jpg', '/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_55_10638.jpg', '/home/pi/Desktop/images/05122025/13/08/image_05122025_13_09_05_9682.jpg', '/home/pi/Desktop/images/05122025/13/09/image_05122025_13_09_15_9622.jpg', '/home/pi/Desktop/images/05122025/13/09/image_05122025_13_09_45_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_35_9812.jpg
/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_45_9682.jpg
/home/pi/Desktop/images/05122025/13/08/image_05122025_13_08_55_10638.jpg
/home/pi/Desktop/images/05122025/13/08/image_05122025_13_09_05_9682.jpg
/home/pi/Desktop/images/05122025/13/09/image_05122025_13_09_15_9622.jpg
/home/pi/Desktop/images/05122025/13/09/image_05122025_13_09_45_10652.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":["1398088903","1398088901","1398088885","1398088888","1398088906","1398088896"],"photo_ids_order":["1398088885","1398088888","1398088896","1398088901","1398088903","1398088906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7405a35f4f63fa99a96110fcea57ca4e.jpg","text":"TemporaryFile(/tmp/multipartBody7669751183685193229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938883543,"filename":"image_05122025_13_09_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f68185b8cc917bce2c96152f66e1dd3.jpg","text":"TemporaryFile(/tmp/multipartBody8664536514149373289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938883543,"filename":"image_05122025_13_09_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/5/5564cba5c51df2ec5e6881bb2deb5db8.jpg","text":"TemporaryFile(/tmp/multipartBody8530742370482757815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938883543,"filename":"image_05122025_13_08_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/5/043080f27f0e061b4a38c833f8c9625f.jpg","text":"TemporaryFile(/tmp/multipartBody599924818246214075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938883543,"filename":"image_05122025_13_08_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/5/3485cdea60eadad94a542f31446b7d91.jpg","text":"TemporaryFile(/tmp/multipartBody4561090180410541980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938883543,"filename":"image_05122025_13_09_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/5/b061d758f3f6ebb9d5fb49eecfe974d9.jpg","text":"TemporaryFile(/tmp/multipartBody2521188978351656043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938883543,"filename":"image_05122025_13_08_55_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398088896","file1":"1398088888","file0":"1398088885","file4":"1398088903","file5":"1398088906","file3":"1398088901"},"map_files_photo_id_array":[{"photo_id":"1398088906","filename":"file5"},{"photo_id":"1398088896","filename":"file2"},{"photo_id":"1398088903","filename":"file4"},{"photo_id":"1398088888","filename":"file1"},{"photo_id":"1398088885","filename":"file0"},{"photo_id":"1398088901","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398088903":["hashtag1","hashtag2"]},{"1398088901":["hashtag1","hashtag2"]},{"1398088885":["hashtag1","hashtag2"]},{"1398088888":["hashtag1","hashtag2"]},{"1398088906":["hashtag1","hashtag2"]},{"1398088896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398088903, 1398088901, 1398088885, 1398088888, 1398088906, 1398088896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52792692184448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:48:02.842870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/09/image_05122025_13_09_55_9531.jpg', '/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_15_9794.jpg', '/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_25_9579.jpg', '/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_35_10563.jpg', '/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_45_9622.jpg', '/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_55_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/09/image_05122025_13_09_55_9531.jpg
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_15_9794.jpg
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_25_9579.jpg
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_35_10563.jpg
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_45_9622.jpg
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_55_9697.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5378458499908447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 13:48:12.345238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/18/image_02122025_20_19_05_9757.jpg', '/home/pi/Desktop/images/02122025/20/19/image_02122025_20_19_15_9834.jpg', '/home/pi/Desktop/images/02122025/20/19/image_02122025_20_19_25_9688.jpg', '/home/pi/Desktop/images/02122025/20/19/image_02122025_20_19_36_10792.jpg', '/home/pi/Desktop/images/02122025/20/19/image_02122025_20_19_45_9687.jpg', '/home/pi/Desktop/images/02122025/20/19/image_02122025_20_19_55_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/18/image_02122025_20_19_05_9757.jpg
/home/pi/Desktop/images/02122025/20/19/image_02122025_20_19_15_9834.jpg
/home/pi/Desktop/images/02122025/20/19/image_02122025_20_19_25_9688.jpg
/home/pi/Desktop/images/02122025/20/19/image_02122025_20_19_36_10792.jpg
/home/pi/Desktop/images/02122025/20/19/image_02122025_20_19_45_9687.jpg
/home/pi/Desktop/images/02122025/20/19/image_02122025_20_19_55_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089253","1398089235","1398089249","1398089251","1398089233","1398089238"],"photo_ids_order":["1398089233","1398089235","1398089238","1398089249","1398089251","1398089253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/56c1e69037d880c78511033ce222bfa9.jpg","text":"TemporaryFile(/tmp/multipartBody1265311409208326688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938954339,"filename":"image_02122025_20_19_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/5/1a1ef2c4f505ff0106c6a72f44003ed2.jpg","text":"TemporaryFile(/tmp/multipartBody3169459718923545364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938954339,"filename":"image_02122025_20_19_15_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/5/9a4bf5aefb35ed75a8f377a618f22f71.jpg","text":"TemporaryFile(/tmp/multipartBody6384980469380747340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938954339,"filename":"image_02122025_20_19_36_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/5/b016ea5f6176ae44c7969b760fc67309.jpg","text":"TemporaryFile(/tmp/multipartBody5747729270235826033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938954339,"filename":"image_02122025_20_19_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/5/f86a34d689a7dd405126c7cd2ddf703c.jpg","text":"TemporaryFile(/tmp/multipartBody7038628823753427894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938954339,"filename":"image_02122025_20_19_05_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/5/23658bcb3f6ff148e69796206c79e8ab.jpg","text":"TemporaryFile(/tmp/multipartBody428896020198660576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764938954339,"filename":"image_02122025_20_19_25_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089238","file1":"1398089235","file0":"1398089233","file4":"1398089251","file5":"1398089253","file3":"1398089249"},"map_files_photo_id_array":[{"photo_id":"1398089253","filename":"file5"},{"photo_id":"1398089238","filename":"file2"},{"photo_id":"1398089251","filename":"file4"},{"photo_id":"1398089235","filename":"file1"},{"photo_id":"1398089233","filename":"file0"},{"photo_id":"1398089249","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398089253":["hashtag1","hashtag2"]},{"1398089235":["hashtag1","hashtag2"]},{"1398089249":["hashtag1","hashtag2"]},{"1398089251":["hashtag1","hashtag2"]},{"1398089233":["hashtag1","hashtag2"]},{"1398089238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398089253, 1398089235, 1398089249, 1398089251, 1398089233, 1398089238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.974292516708374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:49:03.527517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/09/image_05122025_13_09_55_9531.jpg', '/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_15_9794.jpg', '/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_25_9579.jpg', '/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_35_10563.jpg', '/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_45_9622.jpg', '/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_55_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/09/image_05122025_13_09_55_9531.jpg
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_15_9794.jpg
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_25_9579.jpg
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_35_10563.jpg
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_45_9622.jpg
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_10_55_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089267","1398089264","1398089258","1398089260","1398089262","1398089265"],"photo_ids_order":["1398089258","1398089260","1398089262","1398089264","1398089265","1398089267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ef60251589c2cb14a9c730f1007e2e66.jpg","text":"TemporaryFile(/tmp/multipartBody3527945473027829927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939004327,"filename":"image_05122025_13_10_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d21d9a418f85b275a73cb338cd2cb53.jpg","text":"TemporaryFile(/tmp/multipartBody5198072815193101237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939004327,"filename":"image_05122025_13_10_35_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e044c05ecd1f76d22ca8909258080b66.jpg","text":"TemporaryFile(/tmp/multipartBody5077188502933591333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939004327,"filename":"image_05122025_13_09_55_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/5/95794219149c3d78768f25ec4ee5f982.jpg","text":"TemporaryFile(/tmp/multipartBody8449004529838284443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939004327,"filename":"image_05122025_13_10_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/5/56d6e599e40cf9252a281d02953e08fb.jpg","text":"TemporaryFile(/tmp/multipartBody2964004328736397854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939004327,"filename":"image_05122025_13_10_25_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/5/ef00e1a305c11ffda9629c4f7aec095f.jpg","text":"TemporaryFile(/tmp/multipartBody1614501788138689400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939004327,"filename":"image_05122025_13_10_45_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089262","file1":"1398089260","file0":"1398089258","file4":"1398089265","file5":"1398089267","file3":"1398089264"},"map_files_photo_id_array":[{"photo_id":"1398089267","filename":"file5"},{"photo_id":"1398089262","filename":"file2"},{"photo_id":"1398089265","filename":"file4"},{"photo_id":"1398089260","filename":"file1"},{"photo_id":"1398089258","filename":"file0"},{"photo_id":"1398089264","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089267":["hashtag1","hashtag2"]},{"1398089264":["hashtag1","hashtag2"]},{"1398089258":["hashtag1","hashtag2"]},{"1398089260":["hashtag1","hashtag2"]},{"1398089262":["hashtag1","hashtag2"]},{"1398089265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089267, 1398089264, 1398089258, 1398089260, 1398089262, 1398089265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8360800743103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:49:42.650371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/40/image_31102025_19_41_01_3711.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_04_2619.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_07_2759.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_10_3543.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_13_2809.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_15_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/40/image_31102025_19_41_01_3711.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_04_2619.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_07_2759.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_10_3543.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_13_2809.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_15_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089273","1398089282","1398089276","1398089278","1398089275","1398089280"],"photo_ids_order":["1398089273","1398089275","1398089276","1398089278","1398089280","1398089282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3eaf9fea5a436fcdac9774f1d98f0ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3622439454902292260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939044305,"filename":"image_31102025_19_41_01_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/5/e33153ba09343a553d2bdf2b86374b56.jpg","text":"TemporaryFile(/tmp/multipartBody3581405508848615150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939044305,"filename":"image_31102025_19_41_15_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/5/1ccfe0e54e918a1c232accd0519de116.jpg","text":"TemporaryFile(/tmp/multipartBody2431992358387988547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939044305,"filename":"image_31102025_19_41_07_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/5/21cefc69a6f7fc07d2f231f950bc6305.jpg","text":"TemporaryFile(/tmp/multipartBody8150640345110018476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939044305,"filename":"image_31102025_19_41_10_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74513ffd6c4e7236236aabb380f0ad65.jpg","text":"TemporaryFile(/tmp/multipartBody6827330690816295933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939044305,"filename":"image_31102025_19_41_04_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/5/17cbcb0ce76ff4b2cf0e1f93f6b4c439.jpg","text":"TemporaryFile(/tmp/multipartBody4391913324842173082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939044305,"filename":"image_31102025_19_41_13_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089276","file1":"1398089275","file0":"1398089273","file4":"1398089280","file5":"1398089282","file3":"1398089278"},"map_files_photo_id_array":[{"photo_id":"1398089282","filename":"file5"},{"photo_id":"1398089276","filename":"file2"},{"photo_id":"1398089280","filename":"file4"},{"photo_id":"1398089275","filename":"file1"},{"photo_id":"1398089273","filename":"file0"},{"photo_id":"1398089278","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398089273":["hashtag1","hashtag2"]},{"1398089282":["hashtag1","hashtag2"]},{"1398089276":["hashtag1","hashtag2"]},{"1398089278":["hashtag1","hashtag2"]},{"1398089275":["hashtag1","hashtag2"]},{"1398089280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398089273, 1398089282, 1398089276, 1398089278, 1398089275, 1398089280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65801191329956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:50:22.824696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/10/image_05122025_13_11_05_9890.jpg', '/home/pi/Desktop/images/05122025/13/11/image_05122025_13_11_15_10711.jpg', '/home/pi/Desktop/images/05122025/13/11/image_05122025_13_11_25_9640.jpg', '/home/pi/Desktop/images/05122025/13/11/image_05122025_13_11_35_9669.jpg', '/home/pi/Desktop/images/05122025/13/11/image_05122025_13_11_45_10700.jpg', '/home/pi/Desktop/images/05122025/13/11/image_05122025_13_11_55_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/10/image_05122025_13_11_05_9890.jpg
/home/pi/Desktop/images/05122025/13/11/image_05122025_13_11_15_10711.jpg
/home/pi/Desktop/images/05122025/13/11/image_05122025_13_11_25_9640.jpg
/home/pi/Desktop/images/05122025/13/11/image_05122025_13_11_35_9669.jpg
/home/pi/Desktop/images/05122025/13/11/image_05122025_13_11_45_10700.jpg
/home/pi/Desktop/images/05122025/13/11/image_05122025_13_11_55_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":["1398089322","1398089301","1398089294","1398089299","1398089287","1398089317"],"photo_ids_order":["1398089287","1398089294","1398089299","1398089301","1398089317","1398089322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/63b269bfa7e9f824bac07f4c50b91754.jpg","text":"TemporaryFile(/tmp/multipartBody3715613916091791120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939083500,"filename":"image_05122025_13_11_55_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/5/adaba7577cf894ec7162267c2bb6cb52.jpg","text":"TemporaryFile(/tmp/multipartBody3709601592822650530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939083500,"filename":"image_05122025_13_11_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/5/376113803f11bad5244a8bd438a795cd.jpg","text":"TemporaryFile(/tmp/multipartBody5566053249677333926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939083500,"filename":"image_05122025_13_11_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/5/4adeb405587231558449bee6bf7d9379.jpg","text":"TemporaryFile(/tmp/multipartBody4265729419621717263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939083500,"filename":"image_05122025_13_11_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee6784a1d24a6d0258ffd4c117d5aca1.jpg","text":"TemporaryFile(/tmp/multipartBody5806433887892225364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939083500,"filename":"image_05122025_13_11_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/5/51f836b2748456cac13923bbf67d36e8.jpg","text":"TemporaryFile(/tmp/multipartBody5986125505935528227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939083500,"filename":"image_05122025_13_11_45_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089299","file1":"1398089294","file0":"1398089287","file4":"1398089317","file5":"1398089322","file3":"1398089301"},"map_files_photo_id_array":[{"photo_id":"1398089322","filename":"file5"},{"photo_id":"1398089299","filename":"file2"},{"photo_id":"1398089317","filename":"file4"},{"photo_id":"1398089294","filename":"file1"},{"photo_id":"1398089287","filename":"file0"},{"photo_id":"1398089301","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089322":["hashtag1","hashtag2"]},{"1398089301":["hashtag1","hashtag2"]},{"1398089294":["hashtag1","hashtag2"]},{"1398089299":["hashtag1","hashtag2"]},{"1398089287":["hashtag1","hashtag2"]},{"1398089317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089322, 1398089301, 1398089294, 1398089299, 1398089287, 1398089317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88560891151428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:51:02.570716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/11/image_05122025_13_12_05_9774.jpg', '/home/pi/Desktop/images/05122025/13/12/image_05122025_13_12_15_10772.jpg', '/home/pi/Desktop/images/05122025/13/12/image_05122025_13_12_25_9600.jpg', '/home/pi/Desktop/images/05122025/13/12/image_05122025_13_12_35_9756.jpg', '/home/pi/Desktop/images/05122025/13/12/image_05122025_13_12_45_10629.jpg', '/home/pi/Desktop/images/05122025/13/12/image_05122025_13_12_55_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/11/image_05122025_13_12_05_9774.jpg
/home/pi/Desktop/images/05122025/13/12/image_05122025_13_12_15_10772.jpg
/home/pi/Desktop/images/05122025/13/12/image_05122025_13_12_25_9600.jpg
/home/pi/Desktop/images/05122025/13/12/image_05122025_13_12_35_9756.jpg
/home/pi/Desktop/images/05122025/13/12/image_05122025_13_12_45_10629.jpg
/home/pi/Desktop/images/05122025/13/12/image_05122025_13_12_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":["1398089325","1398089328","1398089330","1398089324","1398089327","1398089326"],"photo_ids_order":["1398089324","1398089325","1398089326","1398089327","1398089328","1398089330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2bb156841a6fc0f4be550c110b763b92.jpg","text":"TemporaryFile(/tmp/multipartBody6613246399610528331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939123265,"filename":"image_05122025_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/5/9f1a7e0f808954222f5809e34faab0a5.jpg","text":"TemporaryFile(/tmp/multipartBody6157558671060645966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939123265,"filename":"image_05122025_13_12_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/5/920bf56597581ee9b5bc88c373a85769.jpg","text":"TemporaryFile(/tmp/multipartBody6846271245334340711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939123265,"filename":"image_05122025_13_12_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/5/09b1b585ecd9ba27b7b6d4d5f21dae3f.jpg","text":"TemporaryFile(/tmp/multipartBody3874388309822395128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939123265,"filename":"image_05122025_13_12_05_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/5/dbe6c28fcd605a225e26a21861ac9bb8.jpg","text":"TemporaryFile(/tmp/multipartBody6168336174157222020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939123265,"filename":"image_05122025_13_12_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/5/ebbcfdf5245b5c79fa74991587674d37.jpg","text":"TemporaryFile(/tmp/multipartBody5743906538933884025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939123265,"filename":"image_05122025_13_12_25_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089326","file1":"1398089325","file0":"1398089324","file4":"1398089328","file5":"1398089330","file3":"1398089327"},"map_files_photo_id_array":[{"photo_id":"1398089330","filename":"file5"},{"photo_id":"1398089326","filename":"file2"},{"photo_id":"1398089328","filename":"file4"},{"photo_id":"1398089325","filename":"file1"},{"photo_id":"1398089324","filename":"file0"},{"photo_id":"1398089327","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089325":["hashtag1","hashtag2"]},{"1398089328":["hashtag1","hashtag2"]},{"1398089330":["hashtag1","hashtag2"]},{"1398089324":["hashtag1","hashtag2"]},{"1398089327":["hashtag1","hashtag2"]},{"1398089326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089325, 1398089328, 1398089330, 1398089324, 1398089327, 1398089326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60123157501221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:51:42.087970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_19_3814.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_28_3698.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_31_2585.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_33_2586.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_37_3690.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_43_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_19_3814.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_28_3698.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_31_2585.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_33_2586.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_37_3690.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_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":["1398089340","1398089342","1398089336","1398089339","1398089341","1398089338"],"photo_ids_order":["1398089336","1398089338","1398089339","1398089340","1398089341","1398089342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aadffc1b9e2c4a42721f4b08083a3c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6932737210178575238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939163714,"filename":"image_31102025_19_41_33_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/5/380dd823b22f8cc8522ad9c1a8cad855.jpg","text":"TemporaryFile(/tmp/multipartBody8025457924906379234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939163714,"filename":"image_31102025_19_41_43_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/5/96c692e96b42c4883810a854e8ca1109.jpg","text":"TemporaryFile(/tmp/multipartBody6450138411872976334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939163714,"filename":"image_31102025_19_41_19_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/5/425bad2aee9b05c9bf66891d732b3a06.jpg","text":"TemporaryFile(/tmp/multipartBody974690058406466642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939163714,"filename":"image_31102025_19_41_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/5/68e558566285c772e31406b999305444.jpg","text":"TemporaryFile(/tmp/multipartBody5087936758466749096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939163714,"filename":"image_31102025_19_41_37_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/5/5953319d9507ae28a8b065a8ef13ab6a.jpg","text":"TemporaryFile(/tmp/multipartBody7553384659541009267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939163714,"filename":"image_31102025_19_41_28_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089339","file1":"1398089338","file0":"1398089336","file4":"1398089341","file5":"1398089342","file3":"1398089340"},"map_files_photo_id_array":[{"photo_id":"1398089342","filename":"file5"},{"photo_id":"1398089339","filename":"file2"},{"photo_id":"1398089341","filename":"file4"},{"photo_id":"1398089338","filename":"file1"},{"photo_id":"1398089336","filename":"file0"},{"photo_id":"1398089340","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398089340":["hashtag1","hashtag2"]},{"1398089342":["hashtag1","hashtag2"]},{"1398089336":["hashtag1","hashtag2"]},{"1398089339":["hashtag1","hashtag2"]},{"1398089341":["hashtag1","hashtag2"]},{"1398089338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398089340, 1398089342, 1398089336, 1398089339, 1398089341, 1398089338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.947444677352905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:52:22.256527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/12/image_05122025_13_13_05_9723.jpg', '/home/pi/Desktop/images/05122025/13/13/image_05122025_13_13_15_10634.jpg', '/home/pi/Desktop/images/05122025/13/13/image_05122025_13_13_25_9747.jpg', '/home/pi/Desktop/images/05122025/13/13/image_05122025_13_13_35_9565.jpg', '/home/pi/Desktop/images/05122025/13/13/image_05122025_13_13_45_9744.jpg', '/home/pi/Desktop/images/05122025/13/13/image_05122025_13_13_55_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/12/image_05122025_13_13_05_9723.jpg
/home/pi/Desktop/images/05122025/13/13/image_05122025_13_13_15_10634.jpg
/home/pi/Desktop/images/05122025/13/13/image_05122025_13_13_25_9747.jpg
/home/pi/Desktop/images/05122025/13/13/image_05122025_13_13_35_9565.jpg
/home/pi/Desktop/images/05122025/13/13/image_05122025_13_13_45_9744.jpg
/home/pi/Desktop/images/05122025/13/13/image_05122025_13_13_55_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089351","1398089345","1398089347","1398089355","1398089349","1398089343"],"photo_ids_order":["1398089343","1398089345","1398089347","1398089349","1398089351","1398089355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d3d76c59faa0e9c2510fc31fb4ac12a2.jpg","text":"TemporaryFile(/tmp/multipartBody6334936168252519597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939202893,"filename":"image_05122025_13_13_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/5/249cdb4a8d473304f1a340cbdaf9569e.jpg","text":"TemporaryFile(/tmp/multipartBody5618417243632081936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939202893,"filename":"image_05122025_13_13_15_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/5/25a5ae1a34e67e5997a8fb013d9c9345.jpg","text":"TemporaryFile(/tmp/multipartBody829639149153079229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939202893,"filename":"image_05122025_13_13_25_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/5/ae279969bf40affa2b530f5822a6675a.jpg","text":"TemporaryFile(/tmp/multipartBody1496763450291583790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939202893,"filename":"image_05122025_13_13_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2cc1b3cf12a9594d50937950bfeff27d.jpg","text":"TemporaryFile(/tmp/multipartBody3593387108928749616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939202893,"filename":"image_05122025_13_13_35_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/5/b41b28a7c259295e2eb2331d29be9972.jpg","text":"TemporaryFile(/tmp/multipartBody1327878264495136270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939202893,"filename":"image_05122025_13_13_05_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089347","file1":"1398089345","file0":"1398089343","file4":"1398089351","file5":"1398089355","file3":"1398089349"},"map_files_photo_id_array":[{"photo_id":"1398089355","filename":"file5"},{"photo_id":"1398089347","filename":"file2"},{"photo_id":"1398089351","filename":"file4"},{"photo_id":"1398089345","filename":"file1"},{"photo_id":"1398089343","filename":"file0"},{"photo_id":"1398089349","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089351":["hashtag1","hashtag2"]},{"1398089345":["hashtag1","hashtag2"]},{"1398089347":["hashtag1","hashtag2"]},{"1398089355":["hashtag1","hashtag2"]},{"1398089349":["hashtag1","hashtag2"]},{"1398089343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089351, 1398089345, 1398089347, 1398089355, 1398089349, 1398089343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.783297061920166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:53:03.067500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/13/image_05122025_13_14_05_9722.jpg', '/home/pi/Desktop/images/05122025/13/14/image_05122025_13_14_15_9698.jpg', '/home/pi/Desktop/images/05122025/13/14/image_05122025_13_14_25_10802.jpg', '/home/pi/Desktop/images/05122025/13/14/image_05122025_13_14_35_9600.jpg', '/home/pi/Desktop/images/05122025/13/14/image_05122025_13_14_45_9722.jpg', '/home/pi/Desktop/images/05122025/13/14/image_05122025_13_14_55_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/13/image_05122025_13_14_05_9722.jpg
/home/pi/Desktop/images/05122025/13/14/image_05122025_13_14_15_9698.jpg
/home/pi/Desktop/images/05122025/13/14/image_05122025_13_14_25_10802.jpg
/home/pi/Desktop/images/05122025/13/14/image_05122025_13_14_35_9600.jpg
/home/pi/Desktop/images/05122025/13/14/image_05122025_13_14_45_9722.jpg
/home/pi/Desktop/images/05122025/13/14/image_05122025_13_14_55_10570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089366","1398089369","1398089363","1398089365","1398089361","1398089364"],"photo_ids_order":["1398089361","1398089363","1398089364","1398089365","1398089366","1398089369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ea22c57b0915e391a7df340e267129c.jpg","text":"TemporaryFile(/tmp/multipartBody330945159029285033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939243764,"filename":"image_05122025_13_14_45_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/5/2c2fcd3a67c0afaeef71c3fb5952cfbb.jpg","text":"TemporaryFile(/tmp/multipartBody7288919804921716549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939243764,"filename":"image_05122025_13_14_55_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/5/30aea2cffb9628d79a36febe2637a3e5.jpg","text":"TemporaryFile(/tmp/multipartBody1042638496705914786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939243764,"filename":"image_05122025_13_14_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/5/af8cde023b9988ccfebde199e972444b.jpg","text":"TemporaryFile(/tmp/multipartBody3669959406752519403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939243764,"filename":"image_05122025_13_14_35_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/5/ccd0885be7aed4ebf8e6fa08a3eecdf2.jpg","text":"TemporaryFile(/tmp/multipartBody2420418069525344520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939243764,"filename":"image_05122025_13_14_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b48e45b32ef60b3450a581f65c7b65b.jpg","text":"TemporaryFile(/tmp/multipartBody2799508030317152682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939243764,"filename":"image_05122025_13_14_25_10802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089364","file1":"1398089363","file0":"1398089361","file4":"1398089366","file5":"1398089369","file3":"1398089365"},"map_files_photo_id_array":[{"photo_id":"1398089369","filename":"file5"},{"photo_id":"1398089364","filename":"file2"},{"photo_id":"1398089366","filename":"file4"},{"photo_id":"1398089363","filename":"file1"},{"photo_id":"1398089361","filename":"file0"},{"photo_id":"1398089365","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089366":["hashtag1","hashtag2"]},{"1398089369":["hashtag1","hashtag2"]},{"1398089363":["hashtag1","hashtag2"]},{"1398089365":["hashtag1","hashtag2"]},{"1398089361":["hashtag1","hashtag2"]},{"1398089364":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089366, 1398089369, 1398089363, 1398089365, 1398089361, 1398089364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.971213817596436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:53:42.603856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_46_3599.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_49_2889.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_52_2547.jpg', '/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_54_2807.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_03_2698.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_07_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_46_3599.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_49_2889.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_52_2547.jpg
/home/pi/Desktop/images/31102025/19/41/image_31102025_19_41_54_2807.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_03_2698.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_07_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089378","1398089381","1398089375","1398089377","1398089373","1398089376"],"photo_ids_order":["1398089373","1398089375","1398089376","1398089377","1398089378","1398089381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e38a502926190ee8b961a1f7f5f3f65.jpg","text":"TemporaryFile(/tmp/multipartBody876730208451628537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939284227,"filename":"image_31102025_19_42_03_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d94820ca5fa982aeee98e02bb2510b61.jpg","text":"TemporaryFile(/tmp/multipartBody7683621363016076187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939284227,"filename":"image_31102025_19_42_07_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/5/e632c91725df49ee077c2336c2b18162.jpg","text":"TemporaryFile(/tmp/multipartBody7879913310430444538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939284227,"filename":"image_31102025_19_41_49_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/5/fba7333ba304754ad312fc9c612912b3.jpg","text":"TemporaryFile(/tmp/multipartBody5995427164234052163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939284227,"filename":"image_31102025_19_41_54_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/5/4adde86e2cbc34db1da5864c09dde654.jpg","text":"TemporaryFile(/tmp/multipartBody2238048407152880925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939284227,"filename":"image_31102025_19_41_46_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/5/f4538d867d935f4b3e5953af52845978.jpg","text":"TemporaryFile(/tmp/multipartBody2783278927482716778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939284227,"filename":"image_31102025_19_41_52_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089376","file1":"1398089375","file0":"1398089373","file4":"1398089378","file5":"1398089381","file3":"1398089377"},"map_files_photo_id_array":[{"photo_id":"1398089381","filename":"file5"},{"photo_id":"1398089376","filename":"file2"},{"photo_id":"1398089378","filename":"file4"},{"photo_id":"1398089375","filename":"file1"},{"photo_id":"1398089373","filename":"file0"},{"photo_id":"1398089377","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398089378":["hashtag1","hashtag2"]},{"1398089381":["hashtag1","hashtag2"]},{"1398089375":["hashtag1","hashtag2"]},{"1398089377":["hashtag1","hashtag2"]},{"1398089373":["hashtag1","hashtag2"]},{"1398089376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398089378, 1398089381, 1398089375, 1398089377, 1398089373, 1398089376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57387900352478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:54:22.756339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/14/image_05122025_13_15_05_9675.jpg', '/home/pi/Desktop/images/05122025/13/15/image_05122025_13_15_15_9591.jpg', '/home/pi/Desktop/images/05122025/13/15/image_05122025_13_15_25_10782.jpg', '/home/pi/Desktop/images/05122025/13/15/image_05122025_13_15_35_9725.jpg', '/home/pi/Desktop/images/05122025/13/15/image_05122025_13_15_45_9670.jpg', '/home/pi/Desktop/images/05122025/13/15/image_05122025_13_15_55_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/14/image_05122025_13_15_05_9675.jpg
/home/pi/Desktop/images/05122025/13/15/image_05122025_13_15_15_9591.jpg
/home/pi/Desktop/images/05122025/13/15/image_05122025_13_15_25_10782.jpg
/home/pi/Desktop/images/05122025/13/15/image_05122025_13_15_35_9725.jpg
/home/pi/Desktop/images/05122025/13/15/image_05122025_13_15_45_9670.jpg
/home/pi/Desktop/images/05122025/13/15/image_05122025_13_15_55_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":["1398089390","1398089393","1398089387","1398089389","1398089383","1398089385"],"photo_ids_order":["1398089383","1398089385","1398089387","1398089389","1398089390","1398089393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5a9754552d0c0d852f4d01b0617e2946.jpg","text":"TemporaryFile(/tmp/multipartBody925133917058954528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939323408,"filename":"image_05122025_13_15_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/5/a6ee22f2c83ade100435270780a36a19.jpg","text":"TemporaryFile(/tmp/multipartBody6990923155416594640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939323408,"filename":"image_05122025_13_15_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb04f943ca2f4a4659aa49b5a7f5ec72.jpg","text":"TemporaryFile(/tmp/multipartBody7710604316982673235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939323408,"filename":"image_05122025_13_15_25_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/5/d565fc39bdc263e0efaadc0975480b5f.jpg","text":"TemporaryFile(/tmp/multipartBody6729904141621021813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939323408,"filename":"image_05122025_13_15_35_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/5/1887e82cbb9a2a060b8228193ca39a55.jpg","text":"TemporaryFile(/tmp/multipartBody3779700554265745138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939323408,"filename":"image_05122025_13_15_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/5/3c4dc4669b15a91253dc6386ab61c2d6.jpg","text":"TemporaryFile(/tmp/multipartBody8248915634048022437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939323408,"filename":"image_05122025_13_15_15_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089387","file1":"1398089385","file0":"1398089383","file4":"1398089390","file5":"1398089393","file3":"1398089389"},"map_files_photo_id_array":[{"photo_id":"1398089393","filename":"file5"},{"photo_id":"1398089387","filename":"file2"},{"photo_id":"1398089390","filename":"file4"},{"photo_id":"1398089385","filename":"file1"},{"photo_id":"1398089383","filename":"file0"},{"photo_id":"1398089389","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089390":["hashtag1","hashtag2"]},{"1398089393":["hashtag1","hashtag2"]},{"1398089387":["hashtag1","hashtag2"]},{"1398089389":["hashtag1","hashtag2"]},{"1398089383":["hashtag1","hashtag2"]},{"1398089385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089390, 1398089393, 1398089387, 1398089389, 1398089383, 1398089385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.669543504714966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:55:02.641479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/15/image_05122025_13_16_05_9683.jpg', '/home/pi/Desktop/images/05122025/13/16/image_05122025_13_16_15_9789.jpg', '/home/pi/Desktop/images/05122025/13/16/image_05122025_13_16_25_9712.jpg', '/home/pi/Desktop/images/05122025/13/16/image_05122025_13_16_35_10612.jpg', '/home/pi/Desktop/images/05122025/13/16/image_05122025_13_16_45_9676.jpg', '/home/pi/Desktop/images/05122025/13/16/image_05122025_13_16_55_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/15/image_05122025_13_16_05_9683.jpg
/home/pi/Desktop/images/05122025/13/16/image_05122025_13_16_15_9789.jpg
/home/pi/Desktop/images/05122025/13/16/image_05122025_13_16_25_9712.jpg
/home/pi/Desktop/images/05122025/13/16/image_05122025_13_16_35_10612.jpg
/home/pi/Desktop/images/05122025/13/16/image_05122025_13_16_45_9676.jpg
/home/pi/Desktop/images/05122025/13/16/image_05122025_13_16_55_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":["1398089406","1398089399","1398089402","1398089395","1398089404","1398089397"],"photo_ids_order":["1398089395","1398089397","1398089399","1398089402","1398089404","1398089406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1576eb10e614a09013744de7f1124b64.jpg","text":"TemporaryFile(/tmp/multipartBody3476542909199283614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939363388,"filename":"image_05122025_13_16_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/5/015b7b28ed765124788d7b7ae1c08d90.jpg","text":"TemporaryFile(/tmp/multipartBody1282496779821743441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939363388,"filename":"image_05122025_13_16_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/5/3004b3e941b70c8917418eaeca3e2e70.jpg","text":"TemporaryFile(/tmp/multipartBody3843132439969896014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939363388,"filename":"image_05122025_13_16_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/62872ec821787e32ce59e234293a01d6.jpg","text":"TemporaryFile(/tmp/multipartBody7231250947764936198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939363388,"filename":"image_05122025_13_16_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/48d4bb676d353eedee0e9597fcb0389e.jpg","text":"TemporaryFile(/tmp/multipartBody7879471472969680049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939363388,"filename":"image_05122025_13_16_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/5/ba19005912fc316f1c3b5140a077307e.jpg","text":"TemporaryFile(/tmp/multipartBody7618240779195550401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939363388,"filename":"image_05122025_13_16_15_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089399","file1":"1398089397","file0":"1398089395","file4":"1398089404","file5":"1398089406","file3":"1398089402"},"map_files_photo_id_array":[{"photo_id":"1398089406","filename":"file5"},{"photo_id":"1398089399","filename":"file2"},{"photo_id":"1398089404","filename":"file4"},{"photo_id":"1398089397","filename":"file1"},{"photo_id":"1398089395","filename":"file0"},{"photo_id":"1398089402","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089406":["hashtag1","hashtag2"]},{"1398089399":["hashtag1","hashtag2"]},{"1398089402":["hashtag1","hashtag2"]},{"1398089395":["hashtag1","hashtag2"]},{"1398089404":["hashtag1","hashtag2"]},{"1398089397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089406, 1398089399, 1398089402, 1398089395, 1398089404, 1398089397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46333456039429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:55:41.883777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_10_2646.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_13_2701.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_16_3549.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_19_2812.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_22_2640.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_25_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_10_2646.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_13_2701.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_16_3549.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_19_2812.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_22_2640.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_25_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":["1398089418","1398089415","1398089414","1398089411","1398089413","1398089416"],"photo_ids_order":["1398089411","1398089413","1398089414","1398089415","1398089416","1398089418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f81e1de0fc0601da8754cd3211f315d.jpg","text":"TemporaryFile(/tmp/multipartBody4391248132048134765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939403495,"filename":"image_31102025_19_42_25_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/5/d4402719c6efa683743e12c38f4882a5.jpg","text":"TemporaryFile(/tmp/multipartBody7546746803360314246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939403495,"filename":"image_31102025_19_42_19_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2d381b452c788610ae27b529b368af6b.jpg","text":"TemporaryFile(/tmp/multipartBody1519362023808003738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939403495,"filename":"image_31102025_19_42_16_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/5/88ded762d371d18883b5ea22162e18eb.jpg","text":"TemporaryFile(/tmp/multipartBody1937715423503450526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939403495,"filename":"image_31102025_19_42_10_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/5/4b296a16e79e85382f5e4bf92a8da528.jpg","text":"TemporaryFile(/tmp/multipartBody8268994270747179618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939403495,"filename":"image_31102025_19_42_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/5/dae1eaa1836aaaa612237ed4fafc920a.jpg","text":"TemporaryFile(/tmp/multipartBody4503974442892601304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939403495,"filename":"image_31102025_19_42_22_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089414","file1":"1398089413","file0":"1398089411","file4":"1398089416","file5":"1398089418","file3":"1398089415"},"map_files_photo_id_array":[{"photo_id":"1398089418","filename":"file5"},{"photo_id":"1398089414","filename":"file2"},{"photo_id":"1398089416","filename":"file4"},{"photo_id":"1398089413","filename":"file1"},{"photo_id":"1398089411","filename":"file0"},{"photo_id":"1398089415","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398089418":["hashtag1","hashtag2"]},{"1398089415":["hashtag1","hashtag2"]},{"1398089414":["hashtag1","hashtag2"]},{"1398089411":["hashtag1","hashtag2"]},{"1398089413":["hashtag1","hashtag2"]},{"1398089416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398089418, 1398089415, 1398089414, 1398089411, 1398089413, 1398089416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74425220489502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 13:56:22.066836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/16/image_05122025_13_17_05_10758.jpg', '/home/pi/Desktop/images/05122025/13/17/image_05122025_13_17_15_9595.jpg', '/home/pi/Desktop/images/05122025/13/17/image_05122025_13_17_25_9634.jpg', '/home/pi/Desktop/images/05122025/13/17/image_05122025_13_17_35_10807.jpg', '/home/pi/Desktop/images/05122025/13/17/image_05122025_13_17_45_9795.jpg', '/home/pi/Desktop/images/05122025/13/17/image_05122025_13_17_55_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/16/image_05122025_13_17_05_10758.jpg
/home/pi/Desktop/images/05122025/13/17/image_05122025_13_17_15_9595.jpg
/home/pi/Desktop/images/05122025/13/17/image_05122025_13_17_25_9634.jpg
/home/pi/Desktop/images/05122025/13/17/image_05122025_13_17_35_10807.jpg
/home/pi/Desktop/images/05122025/13/17/image_05122025_13_17_45_9795.jpg
/home/pi/Desktop/images/05122025/13/17/image_05122025_13_17_55_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089559","1398089451","1398089525","1398089425","1398089428","1398089490"],"photo_ids_order":["1398089425","1398089428","1398089451","1398089490","1398089525","1398089559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c4d2f7361dbd644c82c071ba9ecc769.jpg","text":"TemporaryFile(/tmp/multipartBody3342432972761588232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939442751,"filename":"image_05122025_13_17_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/5/29eec918b00a27ce8b5c4a088a82a75e.jpg","text":"TemporaryFile(/tmp/multipartBody927028502746785307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939442751,"filename":"image_05122025_13_17_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0581cdb75e4806ed3b793bab10d12cae.jpg","text":"TemporaryFile(/tmp/multipartBody8343007225050056035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939442751,"filename":"image_05122025_13_17_45_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/578470d05535426ff1f14b52e1f794d6.jpg","text":"TemporaryFile(/tmp/multipartBody814530157061540044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939442751,"filename":"image_05122025_13_17_05_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/5/05c8e8455c8635589a1bf1b63493694f.jpg","text":"TemporaryFile(/tmp/multipartBody7846032425565475609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939442751,"filename":"image_05122025_13_17_15_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/90ce252edcb7cedfc1b6b6ccc994a813.jpg","text":"TemporaryFile(/tmp/multipartBody6109369863127298637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939442751,"filename":"image_05122025_13_17_35_10807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089451","file1":"1398089428","file0":"1398089425","file4":"1398089525","file5":"1398089559","file3":"1398089490"},"map_files_photo_id_array":[{"photo_id":"1398089559","filename":"file5"},{"photo_id":"1398089451","filename":"file2"},{"photo_id":"1398089525","filename":"file4"},{"photo_id":"1398089428","filename":"file1"},{"photo_id":"1398089425","filename":"file0"},{"photo_id":"1398089490","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089559":["hashtag1","hashtag2"]},{"1398089451":["hashtag1","hashtag2"]},{"1398089525":["hashtag1","hashtag2"]},{"1398089425":["hashtag1","hashtag2"]},{"1398089428":["hashtag1","hashtag2"]},{"1398089490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089559, 1398089451, 1398089525, 1398089425, 1398089428, 1398089490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72368836402893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:57:04.225277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/17/image_05122025_13_18_06_10641.jpg', '/home/pi/Desktop/images/05122025/13/18/image_05122025_13_18_15_9667.jpg', '/home/pi/Desktop/images/05122025/13/18/image_05122025_13_18_25_9847.jpg', '/home/pi/Desktop/images/05122025/13/18/image_05122025_13_18_35_9714.jpg', '/home/pi/Desktop/images/05122025/13/18/image_05122025_13_18_45_10639.jpg', '/home/pi/Desktop/images/05122025/13/18/image_05122025_13_18_55_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/17/image_05122025_13_18_06_10641.jpg
/home/pi/Desktop/images/05122025/13/18/image_05122025_13_18_15_9667.jpg
/home/pi/Desktop/images/05122025/13/18/image_05122025_13_18_25_9847.jpg
/home/pi/Desktop/images/05122025/13/18/image_05122025_13_18_35_9714.jpg
/home/pi/Desktop/images/05122025/13/18/image_05122025_13_18_45_10639.jpg
/home/pi/Desktop/images/05122025/13/18/image_05122025_13_18_55_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":["1398089695","1398089674","1398089677","1398089641","1398089722","1398089716"],"photo_ids_order":["1398089641","1398089674","1398089677","1398089695","1398089716","1398089722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a87c646af5762a93389cdac12c9a49f7.jpg","text":"TemporaryFile(/tmp/multipartBody6509160848605831655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939484947,"filename":"image_05122025_13_18_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/5/c2de349bc1323d5c4ab0cd24ea4d0bf3.jpg","text":"TemporaryFile(/tmp/multipartBody8623343067051313349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939484947,"filename":"image_05122025_13_18_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/5/62bd1af1f1fc458a12574b0cb82081f5.jpg","text":"TemporaryFile(/tmp/multipartBody8764544751954813754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939484947,"filename":"image_05122025_13_18_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/5/f5f08c63617076022c819218b07aa95d.jpg","text":"TemporaryFile(/tmp/multipartBody1709198906011994375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939484947,"filename":"image_05122025_13_18_06_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/5/9720df5d645c418af6cec15d420677d4.jpg","text":"TemporaryFile(/tmp/multipartBody5618269551804660735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939484947,"filename":"image_05122025_13_18_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/5/5d24e3d2dcd479bc2f545e7c62cb8a5e.jpg","text":"TemporaryFile(/tmp/multipartBody1383442818842403568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939484947,"filename":"image_05122025_13_18_45_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089677","file1":"1398089674","file0":"1398089641","file4":"1398089716","file5":"1398089722","file3":"1398089695"},"map_files_photo_id_array":[{"photo_id":"1398089722","filename":"file5"},{"photo_id":"1398089677","filename":"file2"},{"photo_id":"1398089716","filename":"file4"},{"photo_id":"1398089674","filename":"file1"},{"photo_id":"1398089641","filename":"file0"},{"photo_id":"1398089695","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089695":["hashtag1","hashtag2"]},{"1398089674":["hashtag1","hashtag2"]},{"1398089677":["hashtag1","hashtag2"]},{"1398089641":["hashtag1","hashtag2"]},{"1398089722":["hashtag1","hashtag2"]},{"1398089716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089695, 1398089674, 1398089677, 1398089641, 1398089722, 1398089716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55232810974121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:57:43.483115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_28_2673.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_37_2684.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_39_2574.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_43_3586.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_45_2574.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_49_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_28_2673.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_37_2684.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_39_2574.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_43_3586.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_45_2574.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_49_3578.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089730","1398089732","1398089729","1398089731","1398089728","1398089733"],"photo_ids_order":["1398089728","1398089729","1398089730","1398089731","1398089732","1398089733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22b2d2706eb355c4b44dad56129e791b.jpg","text":"TemporaryFile(/tmp/multipartBody6620187710684457300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939525111,"filename":"image_31102025_19_42_39_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/5/38b8cea94b019f10f190fef7acfd974a.jpg","text":"TemporaryFile(/tmp/multipartBody7567439578072679364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939525111,"filename":"image_31102025_19_42_45_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/5/9ea58ae160a6f6f6b886467bbcfa3185.jpg","text":"TemporaryFile(/tmp/multipartBody4649442435774898481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939525111,"filename":"image_31102025_19_42_37_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/5/2206ba1cf0873153b5466b02aa4b67d3.jpg","text":"TemporaryFile(/tmp/multipartBody227076360082376595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939525111,"filename":"image_31102025_19_42_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/5/ac798e83c12e1206276a87f78ddbc25c.jpg","text":"TemporaryFile(/tmp/multipartBody6408710138099768518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939525111,"filename":"image_31102025_19_42_28_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/5/a8de48e8eb80db5f61073c9fd9200998.jpg","text":"TemporaryFile(/tmp/multipartBody4346332370218272372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939525111,"filename":"image_31102025_19_42_49_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089730","file1":"1398089729","file0":"1398089728","file4":"1398089732","file5":"1398089733","file3":"1398089731"},"map_files_photo_id_array":[{"photo_id":"1398089733","filename":"file5"},{"photo_id":"1398089730","filename":"file2"},{"photo_id":"1398089732","filename":"file4"},{"photo_id":"1398089729","filename":"file1"},{"photo_id":"1398089728","filename":"file0"},{"photo_id":"1398089731","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398089730":["hashtag1","hashtag2"]},{"1398089732":["hashtag1","hashtag2"]},{"1398089729":["hashtag1","hashtag2"]},{"1398089731":["hashtag1","hashtag2"]},{"1398089728":["hashtag1","hashtag2"]},{"1398089733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398089730, 1398089732, 1398089729, 1398089731, 1398089728, 1398089733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62630915641785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 13:59:03.696247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/18/image_05122025_13_19_05_9605.jpg', '/home/pi/Desktop/images/05122025/13/19/image_05122025_13_19_15_10582.jpg', '/home/pi/Desktop/images/05122025/13/19/image_05122025_13_19_25_9707.jpg', '/home/pi/Desktop/images/05122025/13/19/image_05122025_13_19_35_9754.jpg', '/home/pi/Desktop/images/05122025/13/19/image_05122025_13_19_45_10645.jpg', '/home/pi/Desktop/images/05122025/13/19/image_05122025_13_19_55_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/18/image_05122025_13_19_05_9605.jpg
/home/pi/Desktop/images/05122025/13/19/image_05122025_13_19_15_10582.jpg
/home/pi/Desktop/images/05122025/13/19/image_05122025_13_19_25_9707.jpg
/home/pi/Desktop/images/05122025/13/19/image_05122025_13_19_35_9754.jpg
/home/pi/Desktop/images/05122025/13/19/image_05122025_13_19_45_10645.jpg
/home/pi/Desktop/images/05122025/13/19/image_05122025_13_19_55_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089747","1398089749","1398089740","1398089743","1398089751","1398089754"],"photo_ids_order":["1398089740","1398089743","1398089747","1398089749","1398089751","1398089754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47576e5adc77dae818062621f59ff234.jpg","text":"TemporaryFile(/tmp/multipartBody2313897017497442268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939604411,"filename":"image_05122025_13_19_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/5/46e6c927c8270da5cece0c88435f7339.jpg","text":"TemporaryFile(/tmp/multipartBody3144306462105150779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939604411,"filename":"image_05122025_13_19_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/5/79e78e16b01e2374a803281719cab6e9.jpg","text":"TemporaryFile(/tmp/multipartBody2481357890123265188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939604411,"filename":"image_05122025_13_19_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/de56d1134ab4c85cb97a6e1cf6598414.jpg","text":"TemporaryFile(/tmp/multipartBody7839472563296264124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939604411,"filename":"image_05122025_13_19_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/5/72b3b8560a3d0c5a4840a03a2a8cee17.jpg","text":"TemporaryFile(/tmp/multipartBody5485357987640312968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939604411,"filename":"image_05122025_13_19_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/5/b807eccc9e7493c56c16c645c08976c0.jpg","text":"TemporaryFile(/tmp/multipartBody4784529668462815147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939604411,"filename":"image_05122025_13_19_55_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089747","file1":"1398089743","file0":"1398089740","file4":"1398089751","file5":"1398089754","file3":"1398089749"},"map_files_photo_id_array":[{"photo_id":"1398089754","filename":"file5"},{"photo_id":"1398089747","filename":"file2"},{"photo_id":"1398089751","filename":"file4"},{"photo_id":"1398089743","filename":"file1"},{"photo_id":"1398089740","filename":"file0"},{"photo_id":"1398089749","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089747":["hashtag1","hashtag2"]},{"1398089749":["hashtag1","hashtag2"]},{"1398089740":["hashtag1","hashtag2"]},{"1398089743":["hashtag1","hashtag2"]},{"1398089751":["hashtag1","hashtag2"]},{"1398089754":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089747, 1398089749, 1398089740, 1398089743, 1398089751, 1398089754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12451529502869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 13:59:42.794258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_52_2760.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_54_2616.jpg', '/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_58_3570.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_01_2648.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_03_2782.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_07_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_52_2760.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_54_2616.jpg
/home/pi/Desktop/images/31102025/19/42/image_31102025_19_42_58_3570.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_01_2648.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_03_2782.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_07_3645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089768","1398089762","1398089765","1398089759","1398089770","1398089767"],"photo_ids_order":["1398089759","1398089762","1398089765","1398089767","1398089768","1398089770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/769e94f8342a95c41e96a0edd118ddde.jpg","text":"TemporaryFile(/tmp/multipartBody1010879937406161420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939644449,"filename":"image_31102025_19_43_03_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/5/6f7eb7df04e3696f1e152bd86ead5be5.jpg","text":"TemporaryFile(/tmp/multipartBody6325524197880661061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939644449,"filename":"image_31102025_19_42_54_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/5/7a2225e6834d6897a01cfea5dac00968.jpg","text":"TemporaryFile(/tmp/multipartBody494299949956737389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939644449,"filename":"image_31102025_19_42_58_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/5/525fb9533a67a0db7074dba0d9aab601.jpg","text":"TemporaryFile(/tmp/multipartBody6751419017953513000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939644449,"filename":"image_31102025_19_42_52_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/5/32fc4dd2e64c2a771a958bc45b6dcdab.jpg","text":"TemporaryFile(/tmp/multipartBody8598517990596990126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939644449,"filename":"image_31102025_19_43_07_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/5/cc1760000a0c6192235807ac16588dfb.jpg","text":"TemporaryFile(/tmp/multipartBody5123762858146810488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939644449,"filename":"image_31102025_19_43_01_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089765","file1":"1398089762","file0":"1398089759","file4":"1398089768","file5":"1398089770","file3":"1398089767"},"map_files_photo_id_array":[{"photo_id":"1398089770","filename":"file5"},{"photo_id":"1398089765","filename":"file2"},{"photo_id":"1398089768","filename":"file4"},{"photo_id":"1398089762","filename":"file1"},{"photo_id":"1398089759","filename":"file0"},{"photo_id":"1398089767","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398089768":["hashtag1","hashtag2"]},{"1398089762":["hashtag1","hashtag2"]},{"1398089765":["hashtag1","hashtag2"]},{"1398089759":["hashtag1","hashtag2"]},{"1398089770":["hashtag1","hashtag2"]},{"1398089767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398089768, 1398089762, 1398089765, 1398089759, 1398089770, 1398089767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77913784980774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:00:21.946379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/19/image_05122025_13_20_05_9700.jpg', '/home/pi/Desktop/images/05122025/13/20/image_05122025_13_20_15_9731.jpg', '/home/pi/Desktop/images/05122025/13/20/image_05122025_13_20_25_10652.jpg', '/home/pi/Desktop/images/05122025/13/20/image_05122025_13_20_35_9691.jpg', '/home/pi/Desktop/images/05122025/13/20/image_05122025_13_20_45_9655.jpg', '/home/pi/Desktop/images/05122025/13/20/image_05122025_13_20_55_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/19/image_05122025_13_20_05_9700.jpg
/home/pi/Desktop/images/05122025/13/20/image_05122025_13_20_15_9731.jpg
/home/pi/Desktop/images/05122025/13/20/image_05122025_13_20_25_10652.jpg
/home/pi/Desktop/images/05122025/13/20/image_05122025_13_20_35_9691.jpg
/home/pi/Desktop/images/05122025/13/20/image_05122025_13_20_45_9655.jpg
/home/pi/Desktop/images/05122025/13/20/image_05122025_13_20_55_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":["1398089780","1398089774","1398089782","1398089776","1398089778","1398089772"],"photo_ids_order":["1398089772","1398089774","1398089776","1398089778","1398089780","1398089782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/019601141fe708f0872da7afa543a6da.jpg","text":"TemporaryFile(/tmp/multipartBody3428297342511827952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939682562,"filename":"image_05122025_13_20_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/5/f1deff899d9879b1f71f7f2ee3ef699f.jpg","text":"TemporaryFile(/tmp/multipartBody8349471581544631566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939682562,"filename":"image_05122025_13_20_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/5/1ef087f415e2c9fe8e81ba0299761f26.jpg","text":"TemporaryFile(/tmp/multipartBody1550930958748445869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939682562,"filename":"image_05122025_13_20_55_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/5/303c08824b51db16c39866a1625b4b6f.jpg","text":"TemporaryFile(/tmp/multipartBody7642420215735362202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939682562,"filename":"image_05122025_13_20_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/5/3da1f1fab1479116dd48df2993fabff7.jpg","text":"TemporaryFile(/tmp/multipartBody113483758356906433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939682562,"filename":"image_05122025_13_20_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/5/9bbb30eb83c1fbfd201075b11d801c2f.jpg","text":"TemporaryFile(/tmp/multipartBody3653619312654774684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939682562,"filename":"image_05122025_13_20_05_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089776","file1":"1398089774","file0":"1398089772","file4":"1398089780","file5":"1398089782","file3":"1398089778"},"map_files_photo_id_array":[{"photo_id":"1398089782","filename":"file5"},{"photo_id":"1398089776","filename":"file2"},{"photo_id":"1398089780","filename":"file4"},{"photo_id":"1398089774","filename":"file1"},{"photo_id":"1398089772","filename":"file0"},{"photo_id":"1398089778","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089780":["hashtag1","hashtag2"]},{"1398089774":["hashtag1","hashtag2"]},{"1398089782":["hashtag1","hashtag2"]},{"1398089776":["hashtag1","hashtag2"]},{"1398089778":["hashtag1","hashtag2"]},{"1398089772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089780, 1398089774, 1398089782, 1398089776, 1398089778, 1398089772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.418801069259644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:01:02.834298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/20/image_05122025_13_21_05_9533.jpg', '/home/pi/Desktop/images/05122025/13/21/image_05122025_13_21_25_10659.jpg', '/home/pi/Desktop/images/05122025/13/21/image_05122025_13_21_35_9944.jpg', '/home/pi/Desktop/images/05122025/13/21/image_05122025_13_21_55_9727.jpg', '/home/pi/Desktop/images/05122025/13/21/image_05122025_13_22_05_10703.jpg', '/home/pi/Desktop/images/05122025/13/22/image_05122025_13_22_25_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/20/image_05122025_13_21_05_9533.jpg
/home/pi/Desktop/images/05122025/13/21/image_05122025_13_21_25_10659.jpg
/home/pi/Desktop/images/05122025/13/21/image_05122025_13_21_35_9944.jpg
/home/pi/Desktop/images/05122025/13/21/image_05122025_13_21_55_9727.jpg
/home/pi/Desktop/images/05122025/13/21/image_05122025_13_22_05_10703.jpg
/home/pi/Desktop/images/05122025/13/22/image_05122025_13_22_25_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398089792","1398089786","1398089791","1398089794","1398089784","1398089787"],"photo_ids_order":["1398089784","1398089786","1398089787","1398089791","1398089792","1398089794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/464679efbb480ff14214ce65fb6839d6.jpg","text":"TemporaryFile(/tmp/multipartBody4903671657304500958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939723549,"filename":"image_05122025_13_22_05_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/5/c413ba1c52fe637f271afb775c29509b.jpg","text":"TemporaryFile(/tmp/multipartBody849696594458475751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939723549,"filename":"image_05122025_13_21_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/5/f74c2743554b23e097522e7b4d49bf60.jpg","text":"TemporaryFile(/tmp/multipartBody5213605776591440957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939723549,"filename":"image_05122025_13_21_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/5/2d179b71bbbc57adb29e7834cdeb95ba.jpg","text":"TemporaryFile(/tmp/multipartBody9132827287525250716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939723549,"filename":"image_05122025_13_22_25_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/5/6869afcbcefc46b89c465b1143def307.jpg","text":"TemporaryFile(/tmp/multipartBody878715553966421825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939723549,"filename":"image_05122025_13_21_05_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac6787a10545999de1ebdf6441cebd26.jpg","text":"TemporaryFile(/tmp/multipartBody7259769890798358214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939723549,"filename":"image_05122025_13_21_35_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089787","file1":"1398089786","file0":"1398089784","file4":"1398089792","file5":"1398089794","file3":"1398089791"},"map_files_photo_id_array":[{"photo_id":"1398089794","filename":"file5"},{"photo_id":"1398089787","filename":"file2"},{"photo_id":"1398089792","filename":"file4"},{"photo_id":"1398089786","filename":"file1"},{"photo_id":"1398089784","filename":"file0"},{"photo_id":"1398089791","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398089792":["hashtag1","hashtag2"]},{"1398089786":["hashtag1","hashtag2"]},{"1398089791":["hashtag1","hashtag2"]},{"1398089794":["hashtag1","hashtag2"]},{"1398089784":["hashtag1","hashtag2"]},{"1398089787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398089792, 1398089786, 1398089791, 1398089794, 1398089784, 1398089787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.899378538131714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:01:42.257383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_10_2633.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_12_2779.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_16_3674.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_19_2680.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_22_2778.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_24_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_10_2633.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_12_2779.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_16_3674.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_19_2680.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_22_2778.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_24_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":["1398089817","1398089802","1398089852","1398089801","1398089804","1398089800"],"photo_ids_order":["1398089800","1398089801","1398089802","1398089804","1398089817","1398089852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d9cd572747a2e075bace0486e819ffc5.jpg","text":"TemporaryFile(/tmp/multipartBody1186945605298001178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939764566,"filename":"image_31102025_19_43_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/5/b1154bba7195a7ba69afdd07cc3990f8.jpg","text":"TemporaryFile(/tmp/multipartBody5744663266743011789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939764566,"filename":"image_31102025_19_43_16_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/5/c39a20480b9e3a7abcf27a3d5936ea52.jpg","text":"TemporaryFile(/tmp/multipartBody3552598022163269419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939764566,"filename":"image_31102025_19_43_24_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/5/beebeb4918dd8deb03cefb26e21d6621.jpg","text":"TemporaryFile(/tmp/multipartBody3504043108845851079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939764566,"filename":"image_31102025_19_43_12_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b469fbc9fc16de2bd779465d5e4990d3.jpg","text":"TemporaryFile(/tmp/multipartBody7984187776300628049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939764566,"filename":"image_31102025_19_43_19_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/5/64adec935dba04cc7bd70153daff65fe.jpg","text":"TemporaryFile(/tmp/multipartBody5370431235056015056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939764566,"filename":"image_31102025_19_43_10_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398089802","file1":"1398089801","file0":"1398089800","file4":"1398089817","file5":"1398089852","file3":"1398089804"},"map_files_photo_id_array":[{"photo_id":"1398089852","filename":"file5"},{"photo_id":"1398089802","filename":"file2"},{"photo_id":"1398089817","filename":"file4"},{"photo_id":"1398089801","filename":"file1"},{"photo_id":"1398089800","filename":"file0"},{"photo_id":"1398089804","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398089817":["hashtag1","hashtag2"]},{"1398089802":["hashtag1","hashtag2"]},{"1398089852":["hashtag1","hashtag2"]},{"1398089801":["hashtag1","hashtag2"]},{"1398089804":["hashtag1","hashtag2"]},{"1398089800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398089817, 1398089802, 1398089852, 1398089801, 1398089804, 1398089800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19011044502258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:02:22.620003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/22/image_05122025_13_22_35_10542.jpg', '/home/pi/Desktop/images/05122025/13/22/image_05122025_13_22_45_9708.jpg', '/home/pi/Desktop/images/05122025/13/23/image_05122025_13_23_25_9656.jpg', '/home/pi/Desktop/images/05122025/13/23/image_05122025_13_23_45_9647.jpg', '/home/pi/Desktop/images/05122025/13/23/image_05122025_13_24_05_10789.jpg', '/home/pi/Desktop/images/05122025/13/24/image_05122025_13_24_15_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/22/image_05122025_13_22_35_10542.jpg
/home/pi/Desktop/images/05122025/13/22/image_05122025_13_22_45_9708.jpg
/home/pi/Desktop/images/05122025/13/23/image_05122025_13_23_25_9656.jpg
/home/pi/Desktop/images/05122025/13/23/image_05122025_13_23_45_9647.jpg
/home/pi/Desktop/images/05122025/13/23/image_05122025_13_24_05_10789.jpg
/home/pi/Desktop/images/05122025/13/24/image_05122025_13_24_15_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.5071945190429688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:02:32.420566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/20/image_02122025_20_20_25_9630.jpg', '/home/pi/Desktop/images/02122025/20/21/image_02122025_20_21_35_9661.jpg', '/home/pi/Desktop/images/02122025/20/21/image_02122025_20_21_46_10718.jpg', '/home/pi/Desktop/images/02122025/20/21/image_02122025_20_21_55_9569.jpg', '/home/pi/Desktop/images/02122025/20/22/image_02122025_20_22_46_10662.jpg', '/home/pi/Desktop/images/02122025/20/22/image_02122025_20_22_55_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/20/image_02122025_20_20_25_9630.jpg
/home/pi/Desktop/images/02122025/20/21/image_02122025_20_21_35_9661.jpg
/home/pi/Desktop/images/02122025/20/21/image_02122025_20_21_46_10718.jpg
/home/pi/Desktop/images/02122025/20/21/image_02122025_20_21_55_9569.jpg
/home/pi/Desktop/images/02122025/20/22/image_02122025_20_22_46_10662.jpg
/home/pi/Desktop/images/02122025/20/22/image_02122025_20_22_55_9575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398090205","1398090279","1398090242","1398090166","1398090076","1398090121"],"photo_ids_order":["1398090076","1398090121","1398090166","1398090205","1398090242","1398090279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/75a2c87e979fcbcaeebbcab3d131a4e6.jpg","text":"TemporaryFile(/tmp/multipartBody7875840367141216752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939814578,"filename":"image_02122025_20_21_55_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/5/0b734e79768945b446e57ec7299ede74.jpg","text":"TemporaryFile(/tmp/multipartBody1256096169106931713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939814578,"filename":"image_02122025_20_22_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/5/e8681ad96324065f9585a663469f2abe.jpg","text":"TemporaryFile(/tmp/multipartBody8467072208495196568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939814578,"filename":"image_02122025_20_22_46_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/5/55ad829cc46e0f3fc41846163a2db198.jpg","text":"TemporaryFile(/tmp/multipartBody2277054117343821010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939814578,"filename":"image_02122025_20_21_46_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/5/64244851511e13d82e7bd685bbff7910.jpg","text":"TemporaryFile(/tmp/multipartBody6191693481631877580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939814578,"filename":"image_02122025_20_20_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a7df8da648834c90b76254df847f66f6.jpg","text":"TemporaryFile(/tmp/multipartBody1076724338951443044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939814578,"filename":"image_02122025_20_21_35_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398090166","file1":"1398090121","file0":"1398090076","file4":"1398090242","file5":"1398090279","file3":"1398090205"},"map_files_photo_id_array":[{"photo_id":"1398090279","filename":"file5"},{"photo_id":"1398090166","filename":"file2"},{"photo_id":"1398090242","filename":"file4"},{"photo_id":"1398090121","filename":"file1"},{"photo_id":"1398090076","filename":"file0"},{"photo_id":"1398090205","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398090205":["hashtag1","hashtag2"]},{"1398090279":["hashtag1","hashtag2"]},{"1398090242":["hashtag1","hashtag2"]},{"1398090166":["hashtag1","hashtag2"]},{"1398090076":["hashtag1","hashtag2"]},{"1398090121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398090205, 1398090279, 1398090242, 1398090166, 1398090076, 1398090121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91292381286621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:03:12.734568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/23/image_02122025_20_23_25_9617.jpg', '/home/pi/Desktop/images/02122025/20/23/image_02122025_20_23_36_10584.jpg', '/home/pi/Desktop/images/02122025/20/23/image_02122025_20_23_45_9670.jpg', '/home/pi/Desktop/images/02122025/20/23/image_02122025_20_23_55_9858.jpg', '/home/pi/Desktop/images/02122025/20/23/image_02122025_20_24_05_9770.jpg', '/home/pi/Desktop/images/02122025/20/24/image_02122025_20_24_16_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/23/image_02122025_20_23_25_9617.jpg
/home/pi/Desktop/images/02122025/20/23/image_02122025_20_23_36_10584.jpg
/home/pi/Desktop/images/02122025/20/23/image_02122025_20_23_45_9670.jpg
/home/pi/Desktop/images/02122025/20/23/image_02122025_20_23_55_9858.jpg
/home/pi/Desktop/images/02122025/20/23/image_02122025_20_24_05_9770.jpg
/home/pi/Desktop/images/02122025/20/24/image_02122025_20_24_16_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398090798","1398090719","1398090499","1398090422","1398090640","1398090565"],"photo_ids_order":["1398090422","1398090499","1398090565","1398090640","1398090719","1398090798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/397a885b5cc6c64f95d2b13c3f51ea04.jpg","text":"TemporaryFile(/tmp/multipartBody7454778410993366490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939854793,"filename":"image_02122025_20_24_16_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/5/b1d2f795eca7a7dc818970be75d209ad.jpg","text":"TemporaryFile(/tmp/multipartBody818465891622624611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939854793,"filename":"image_02122025_20_24_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/5/a6f9c806658f241c8f90f055a6b9ad1f.jpg","text":"TemporaryFile(/tmp/multipartBody6113824989002799243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939854793,"filename":"image_02122025_20_23_36_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/5/8ee4e4f40558ecb332bde7c543e89f52.jpg","text":"TemporaryFile(/tmp/multipartBody4654392446458107385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939854793,"filename":"image_02122025_20_23_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/5/0aeaac9c4367eaece0574ffa8023b9ae.jpg","text":"TemporaryFile(/tmp/multipartBody5743094943310553404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939854793,"filename":"image_02122025_20_23_55_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/5/75193cd1b025de58ad2f2128e8e150ad.jpg","text":"TemporaryFile(/tmp/multipartBody1364044212719139348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939854793,"filename":"image_02122025_20_23_45_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398090565","file1":"1398090499","file0":"1398090422","file4":"1398090719","file5":"1398090798","file3":"1398090640"},"map_files_photo_id_array":[{"photo_id":"1398090798","filename":"file5"},{"photo_id":"1398090565","filename":"file2"},{"photo_id":"1398090719","filename":"file4"},{"photo_id":"1398090499","filename":"file1"},{"photo_id":"1398090422","filename":"file0"},{"photo_id":"1398090640","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398090798":["hashtag1","hashtag2"]},{"1398090719":["hashtag1","hashtag2"]},{"1398090499":["hashtag1","hashtag2"]},{"1398090422":["hashtag1","hashtag2"]},{"1398090640":["hashtag1","hashtag2"]},{"1398090565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398090798, 1398090719, 1398090499, 1398090422, 1398090640, 1398090565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78105068206787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:04:03.015468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/22/image_05122025_13_22_35_10542.jpg', '/home/pi/Desktop/images/05122025/13/22/image_05122025_13_22_45_9708.jpg', '/home/pi/Desktop/images/05122025/13/23/image_05122025_13_23_25_9656.jpg', '/home/pi/Desktop/images/05122025/13/23/image_05122025_13_23_45_9647.jpg', '/home/pi/Desktop/images/05122025/13/23/image_05122025_13_24_05_10789.jpg', '/home/pi/Desktop/images/05122025/13/24/image_05122025_13_24_15_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/22/image_05122025_13_22_35_10542.jpg
/home/pi/Desktop/images/05122025/13/22/image_05122025_13_22_45_9708.jpg
/home/pi/Desktop/images/05122025/13/23/image_05122025_13_23_25_9656.jpg
/home/pi/Desktop/images/05122025/13/23/image_05122025_13_23_45_9647.jpg
/home/pi/Desktop/images/05122025/13/23/image_05122025_13_24_05_10789.jpg
/home/pi/Desktop/images/05122025/13/24/image_05122025_13_24_15_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398091305","1398091259","1398091154","1398091189","1398091342","1398091225"],"photo_ids_order":["1398091154","1398091189","1398091225","1398091259","1398091305","1398091342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a11390abd82bc9bbcc1344d815b52bdf.jpg","text":"TemporaryFile(/tmp/multipartBody9127108543605550132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939903900,"filename":"image_05122025_13_24_05_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/5/5114951bb50cbc5c0a78292348690212.jpg","text":"TemporaryFile(/tmp/multipartBody3733211077481284529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939903900,"filename":"image_05122025_13_23_45_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/5/03ffc92cc4f7ad4a2e3952651adb7030.jpg","text":"TemporaryFile(/tmp/multipartBody4542405279114540018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939903900,"filename":"image_05122025_13_22_35_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47bd5ace316a1258968ccc2e28ec0c15.jpg","text":"TemporaryFile(/tmp/multipartBody2034680974928631970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939903900,"filename":"image_05122025_13_22_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc34376c8df5a0169b7a6f94f11a4965.jpg","text":"TemporaryFile(/tmp/multipartBody9081297529480567746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939903900,"filename":"image_05122025_13_24_15_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/5/240ca569d7b65dc8051ae998df61df70.jpg","text":"TemporaryFile(/tmp/multipartBody253827844408723285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939903900,"filename":"image_05122025_13_23_25_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398091225","file1":"1398091189","file0":"1398091154","file4":"1398091305","file5":"1398091342","file3":"1398091259"},"map_files_photo_id_array":[{"photo_id":"1398091342","filename":"file5"},{"photo_id":"1398091225","filename":"file2"},{"photo_id":"1398091305","filename":"file4"},{"photo_id":"1398091189","filename":"file1"},{"photo_id":"1398091154","filename":"file0"},{"photo_id":"1398091259","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398091305":["hashtag1","hashtag2"]},{"1398091259":["hashtag1","hashtag2"]},{"1398091154":["hashtag1","hashtag2"]},{"1398091189":["hashtag1","hashtag2"]},{"1398091342":["hashtag1","hashtag2"]},{"1398091225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398091305, 1398091259, 1398091154, 1398091189, 1398091342, 1398091225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.196860551834106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:04:41.981727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_28_3788.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_33_2667.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_37_3780.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_40_2772.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_42_2532.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_45_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_28_3788.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_33_2667.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_37_3780.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_40_2772.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_42_2532.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_45_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":["1398091378","1398091381","1398091375","1398091417","1398091380","1398091383"],"photo_ids_order":["1398091375","1398091378","1398091380","1398091381","1398091383","1398091417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c54b9a6cc0a78646dfbb66e6592ccb3f.jpg","text":"TemporaryFile(/tmp/multipartBody4933094520447982078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939943652,"filename":"image_31102025_19_43_33_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/5/e2443696fe6b21e4f5bd7fe1030c8eab.jpg","text":"TemporaryFile(/tmp/multipartBody68327000684178070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939943652,"filename":"image_31102025_19_43_40_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/40b481b48e6b3b0dc19b9fc021317051.jpg","text":"TemporaryFile(/tmp/multipartBody5375640531904368900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939943652,"filename":"image_31102025_19_43_28_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/5/4efa32adc819f50b297ac2bd5e6a1d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4959283147802271744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939943652,"filename":"image_31102025_19_43_45_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/5/9f42f06e9413c27a9be56e4ab1dd29b2.jpg","text":"TemporaryFile(/tmp/multipartBody2584582583290528351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939943652,"filename":"image_31102025_19_43_37_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/5/0182a0ef64787997016fc43e6c87155b.jpg","text":"TemporaryFile(/tmp/multipartBody3499192898937288660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939943652,"filename":"image_31102025_19_43_42_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398091380","file1":"1398091378","file0":"1398091375","file4":"1398091383","file5":"1398091417","file3":"1398091381"},"map_files_photo_id_array":[{"photo_id":"1398091417","filename":"file5"},{"photo_id":"1398091380","filename":"file2"},{"photo_id":"1398091383","filename":"file4"},{"photo_id":"1398091378","filename":"file1"},{"photo_id":"1398091375","filename":"file0"},{"photo_id":"1398091381","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398091378":["hashtag1","hashtag2"]},{"1398091381":["hashtag1","hashtag2"]},{"1398091375":["hashtag1","hashtag2"]},{"1398091417":["hashtag1","hashtag2"]},{"1398091380":["hashtag1","hashtag2"]},{"1398091383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398091378, 1398091381, 1398091375, 1398091417, 1398091380, 1398091383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85161089897156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:05:22.108719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/24/image_05122025_13_24_25_9725.jpg', '/home/pi/Desktop/images/05122025/13/24/image_05122025_13_24_35_9636.jpg', '/home/pi/Desktop/images/05122025/13/24/image_05122025_13_24_55_9632.jpg', '/home/pi/Desktop/images/05122025/13/24/image_05122025_13_25_05_9731.jpg', '/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_15_10654.jpg', '/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_25_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/24/image_05122025_13_24_25_9725.jpg
/home/pi/Desktop/images/05122025/13/24/image_05122025_13_24_35_9636.jpg
/home/pi/Desktop/images/05122025/13/24/image_05122025_13_24_55_9632.jpg
/home/pi/Desktop/images/05122025/13/24/image_05122025_13_25_05_9731.jpg
/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_15_10654.jpg
/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_25_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":["1398091653","1398091694","1398091610","1398091861","1398091822","1398091764"],"photo_ids_order":["1398091610","1398091653","1398091694","1398091764","1398091822","1398091861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fb9e9aef88dae1a786cbc516b706f729.jpg","text":"TemporaryFile(/tmp/multipartBody3741189481610035602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939982766,"filename":"image_05122025_13_24_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/5/f52ea469c7f403d95c1dcaff2fbcde85.jpg","text":"TemporaryFile(/tmp/multipartBody6679569950626830733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939982766,"filename":"image_05122025_13_24_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/931606cf57b6b662c71afc73a7ae13f1.jpg","text":"TemporaryFile(/tmp/multipartBody2183936394043882060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939982766,"filename":"image_05122025_13_24_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/5/74ac12df9e05881743b19b1c3003cd67.jpg","text":"TemporaryFile(/tmp/multipartBody2925391829743999296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939982766,"filename":"image_05122025_13_25_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/5/f0e5e1dec7de9a8f2a12cdea2c415d70.jpg","text":"TemporaryFile(/tmp/multipartBody4223365176715571629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939982766,"filename":"image_05122025_13_25_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/5/bc5451ecca961b61562ea878bec1dcfa.jpg","text":"TemporaryFile(/tmp/multipartBody7303738961520325270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764939982766,"filename":"image_05122025_13_25_05_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398091694","file1":"1398091653","file0":"1398091610","file4":"1398091822","file5":"1398091861","file3":"1398091764"},"map_files_photo_id_array":[{"photo_id":"1398091861","filename":"file5"},{"photo_id":"1398091694","filename":"file2"},{"photo_id":"1398091822","filename":"file4"},{"photo_id":"1398091653","filename":"file1"},{"photo_id":"1398091610","filename":"file0"},{"photo_id":"1398091764","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398091653":["hashtag1","hashtag2"]},{"1398091694":["hashtag1","hashtag2"]},{"1398091610":["hashtag1","hashtag2"]},{"1398091861":["hashtag1","hashtag2"]},{"1398091822":["hashtag1","hashtag2"]},{"1398091764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398091653, 1398091694, 1398091610, 1398091861, 1398091822, 1398091764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37873125076294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:06:02.715522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_35_9892.jpg', '/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_45_10521.jpg', '/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_55_9592.jpg', '/home/pi/Desktop/images/05122025/13/26/image_05122025_13_26_15_10677.jpg', '/home/pi/Desktop/images/05122025/13/26/image_05122025_13_26_55_9520.jpg', '/home/pi/Desktop/images/05122025/13/26/image_05122025_13_27_05_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_35_9892.jpg
/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_45_10521.jpg
/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_55_9592.jpg
/home/pi/Desktop/images/05122025/13/26/image_05122025_13_26_15_10677.jpg
/home/pi/Desktop/images/05122025/13/26/image_05122025_13_26_55_9520.jpg
/home/pi/Desktop/images/05122025/13/26/image_05122025_13_27_05_10552.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5396144390106201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:06:12.180687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/24/image_02122025_20_24_25_9660.jpg', '/home/pi/Desktop/images/02122025/20/24/image_02122025_20_24_55_9796.jpg', '/home/pi/Desktop/images/02122025/20/25/image_02122025_20_25_15_9778.jpg', '/home/pi/Desktop/images/02122025/20/25/image_02122025_20_25_25_9690.jpg', '/home/pi/Desktop/images/02122025/20/25/image_02122025_20_25_45_9606.jpg', '/home/pi/Desktop/images/02122025/20/25/image_02122025_20_26_05_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/24/image_02122025_20_24_25_9660.jpg
/home/pi/Desktop/images/02122025/20/24/image_02122025_20_24_55_9796.jpg
/home/pi/Desktop/images/02122025/20/25/image_02122025_20_25_15_9778.jpg
/home/pi/Desktop/images/02122025/20/25/image_02122025_20_25_25_9690.jpg
/home/pi/Desktop/images/02122025/20/25/image_02122025_20_25_45_9606.jpg
/home/pi/Desktop/images/02122025/20/25/image_02122025_20_26_05_10747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092075","1398092045","1398092006","1398092077","1398092079","1398092087"],"photo_ids_order":["1398092006","1398092045","1398092075","1398092077","1398092079","1398092087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc9ce8ee1ed867715b76ac98ffa0e6c3.jpg","text":"TemporaryFile(/tmp/multipartBody4625235113049368547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940034177,"filename":"image_02122025_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/5/1273f06d7269233bd53e990b4b52f7d6.jpg","text":"TemporaryFile(/tmp/multipartBody7349755805223113378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940034177,"filename":"image_02122025_20_24_55_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3be70dafe5cc55fd3eb280c8a7e4f044.jpg","text":"TemporaryFile(/tmp/multipartBody9045895632834996121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940034177,"filename":"image_02122025_20_24_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/5/848f93a3c3314fd245ac68051855984b.jpg","text":"TemporaryFile(/tmp/multipartBody3082785611626604368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940034177,"filename":"image_02122025_20_25_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/5/02d1c4366b13a73a6b223ad0e5eabf01.jpg","text":"TemporaryFile(/tmp/multipartBody1260467700219751924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940034177,"filename":"image_02122025_20_25_45_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/5/e3cad4e6f92c1fdae3ca09ce47340dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7723392392619245605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940034177,"filename":"image_02122025_20_26_05_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092075","file1":"1398092045","file0":"1398092006","file4":"1398092079","file5":"1398092087","file3":"1398092077"},"map_files_photo_id_array":[{"photo_id":"1398092087","filename":"file5"},{"photo_id":"1398092075","filename":"file2"},{"photo_id":"1398092079","filename":"file4"},{"photo_id":"1398092045","filename":"file1"},{"photo_id":"1398092006","filename":"file0"},{"photo_id":"1398092077","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398092075":["hashtag1","hashtag2"]},{"1398092045":["hashtag1","hashtag2"]},{"1398092006":["hashtag1","hashtag2"]},{"1398092077":["hashtag1","hashtag2"]},{"1398092079":["hashtag1","hashtag2"]},{"1398092087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398092075, 1398092045, 1398092006, 1398092077, 1398092079, 1398092087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30849289894104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:07:03.129688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_35_9892.jpg', '/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_45_10521.jpg', '/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_55_9592.jpg', '/home/pi/Desktop/images/05122025/13/26/image_05122025_13_26_15_10677.jpg', '/home/pi/Desktop/images/05122025/13/26/image_05122025_13_26_55_9520.jpg', '/home/pi/Desktop/images/05122025/13/26/image_05122025_13_27_05_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_35_9892.jpg
/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_45_10521.jpg
/home/pi/Desktop/images/05122025/13/25/image_05122025_13_25_55_9592.jpg
/home/pi/Desktop/images/05122025/13/26/image_05122025_13_26_15_10677.jpg
/home/pi/Desktop/images/05122025/13/26/image_05122025_13_26_55_9520.jpg
/home/pi/Desktop/images/05122025/13/26/image_05122025_13_27_05_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":["1398092489","1398092462","1398092345","1398092386","1398092425","1398092192"],"photo_ids_order":["1398092192","1398092345","1398092386","1398092425","1398092462","1398092489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9caf8119693d1c52a2e83b6129c03ece.jpg","text":"TemporaryFile(/tmp/multipartBody5926579179515808635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940083844,"filename":"image_05122025_13_27_05_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d4a863bf319ec321b5f2c846a4abf846.jpg","text":"TemporaryFile(/tmp/multipartBody6745938044220174844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940083844,"filename":"image_05122025_13_26_55_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/5/67e73e7aac9eb933e25f203b6e0219e9.jpg","text":"TemporaryFile(/tmp/multipartBody446458177851837327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940083844,"filename":"image_05122025_13_25_45_10521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee8d1b1f224a0bdf89a50ce49d1f5263.jpg","text":"TemporaryFile(/tmp/multipartBody4626821213517246395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940083844,"filename":"image_05122025_13_25_55_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/5/d67cb7e2ccd8b7ea5421027c6f4cb45e.jpg","text":"TemporaryFile(/tmp/multipartBody1201088855208696251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940083844,"filename":"image_05122025_13_26_15_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6329aba981a2fc81937cdd03eaa7d0fb.jpg","text":"TemporaryFile(/tmp/multipartBody7000112079111839059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940083844,"filename":"image_05122025_13_25_35_9892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092386","file1":"1398092345","file0":"1398092192","file4":"1398092462","file5":"1398092489","file3":"1398092425"},"map_files_photo_id_array":[{"photo_id":"1398092489","filename":"file5"},{"photo_id":"1398092386","filename":"file2"},{"photo_id":"1398092462","filename":"file4"},{"photo_id":"1398092345","filename":"file1"},{"photo_id":"1398092192","filename":"file0"},{"photo_id":"1398092425","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092489":["hashtag1","hashtag2"]},{"1398092462":["hashtag1","hashtag2"]},{"1398092345":["hashtag1","hashtag2"]},{"1398092386":["hashtag1","hashtag2"]},{"1398092425":["hashtag1","hashtag2"]},{"1398092192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092489, 1398092462, 1398092345, 1398092386, 1398092425, 1398092192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.851495027542114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:08:03.273793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/27/image_05122025_13_27_15_9655.jpg', '/home/pi/Desktop/images/05122025/13/27/image_05122025_13_27_25_9669.jpg', '/home/pi/Desktop/images/05122025/13/27/image_05122025_13_27_35_10694.jpg', '/home/pi/Desktop/images/05122025/13/27/image_05122025_13_27_45_9740.jpg', '/home/pi/Desktop/images/05122025/13/27/image_05122025_13_27_55_9714.jpg', '/home/pi/Desktop/images/05122025/13/27/image_05122025_13_28_05_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/27/image_05122025_13_27_15_9655.jpg
/home/pi/Desktop/images/05122025/13/27/image_05122025_13_27_25_9669.jpg
/home/pi/Desktop/images/05122025/13/27/image_05122025_13_27_35_10694.jpg
/home/pi/Desktop/images/05122025/13/27/image_05122025_13_27_45_9740.jpg
/home/pi/Desktop/images/05122025/13/27/image_05122025_13_27_55_9714.jpg
/home/pi/Desktop/images/05122025/13/27/image_05122025_13_28_05_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":["1398092504","1398092507","1398092506","1398092509","1398092503","1398092505"],"photo_ids_order":["1398092503","1398092504","1398092505","1398092506","1398092507","1398092509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b86e335d676f41d63668e837d04e18a.jpg","text":"TemporaryFile(/tmp/multipartBody2962641291393444781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940143908,"filename":"image_05122025_13_27_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/5/ad1b000727c0bc9782c1bb05136c4aac.jpg","text":"TemporaryFile(/tmp/multipartBody1355967096608793397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940143908,"filename":"image_05122025_13_27_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/5/d4aeb85a52486a7995f73469b03c729b.jpg","text":"TemporaryFile(/tmp/multipartBody4021450213591197076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940143908,"filename":"image_05122025_13_27_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/5/2ce5793cb3e60bc9766aa4c2ffd057c6.jpg","text":"TemporaryFile(/tmp/multipartBody6930652944500417850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940143908,"filename":"image_05122025_13_28_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/5/382c672a5eef30dec12cec99b4b2aed8.jpg","text":"TemporaryFile(/tmp/multipartBody920056805763040002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940143908,"filename":"image_05122025_13_27_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d9b6ae0a7730e7b815d46a4b5d22082.jpg","text":"TemporaryFile(/tmp/multipartBody3496254549331659641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940143908,"filename":"image_05122025_13_27_35_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092505","file1":"1398092504","file0":"1398092503","file4":"1398092507","file5":"1398092509","file3":"1398092506"},"map_files_photo_id_array":[{"photo_id":"1398092509","filename":"file5"},{"photo_id":"1398092505","filename":"file2"},{"photo_id":"1398092507","filename":"file4"},{"photo_id":"1398092504","filename":"file1"},{"photo_id":"1398092503","filename":"file0"},{"photo_id":"1398092506","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092504":["hashtag1","hashtag2"]},{"1398092507":["hashtag1","hashtag2"]},{"1398092506":["hashtag1","hashtag2"]},{"1398092509":["hashtag1","hashtag2"]},{"1398092503":["hashtag1","hashtag2"]},{"1398092505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092504, 1398092507, 1398092506, 1398092509, 1398092503, 1398092505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.561150312423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:08:42.776525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_49_3734.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_52_2724.jpg', '/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_54_2659.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_01_2589.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_03_2665.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_07_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_49_3734.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_52_2724.jpg
/home/pi/Desktop/images/31102025/19/43/image_31102025_19_43_54_2659.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_01_2589.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_03_2665.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_07_3558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092519","1398092521","1398092515","1398092518","1398092517","1398092520"],"photo_ids_order":["1398092515","1398092517","1398092518","1398092519","1398092520","1398092521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/718f05f5e56cef113b2cbc31d636075a.jpg","text":"TemporaryFile(/tmp/multipartBody6744385431213122924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940184412,"filename":"image_31102025_19_44_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/5/5775cd1d8cc2dd27b2ffcde7f1e0d12d.jpg","text":"TemporaryFile(/tmp/multipartBody808514614139032428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940184412,"filename":"image_31102025_19_44_07_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/5/168b34a78de114d2f7f171b19f94dda5.jpg","text":"TemporaryFile(/tmp/multipartBody6387036549602414655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940184412,"filename":"image_31102025_19_43_49_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f483dd5448053d3bffb965fb9ce6a1a4.jpg","text":"TemporaryFile(/tmp/multipartBody3521730134667446037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940184412,"filename":"image_31102025_19_43_54_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/5/ccdf956305147d37a776ecbe51e7b307.jpg","text":"TemporaryFile(/tmp/multipartBody7878900264058909532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940184412,"filename":"image_31102025_19_43_52_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/5/b6a82e2bf9ae3f533addc53714d535ed.jpg","text":"TemporaryFile(/tmp/multipartBody5808959315247501151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940184412,"filename":"image_31102025_19_44_03_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092518","file1":"1398092517","file0":"1398092515","file4":"1398092520","file5":"1398092521","file3":"1398092519"},"map_files_photo_id_array":[{"photo_id":"1398092521","filename":"file5"},{"photo_id":"1398092518","filename":"file2"},{"photo_id":"1398092520","filename":"file4"},{"photo_id":"1398092517","filename":"file1"},{"photo_id":"1398092515","filename":"file0"},{"photo_id":"1398092519","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398092519":["hashtag1","hashtag2"]},{"1398092521":["hashtag1","hashtag2"]},{"1398092515":["hashtag1","hashtag2"]},{"1398092518":["hashtag1","hashtag2"]},{"1398092517":["hashtag1","hashtag2"]},{"1398092520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398092519, 1398092521, 1398092515, 1398092518, 1398092517, 1398092520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.465025663375854 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-05 14:09:32.141584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/26/image_02122025_20_26_15_9731.jpg', '/home/pi/Desktop/images/02122025/20/26/image_02122025_20_26_36_10730.jpg', '/home/pi/Desktop/images/02122025/20/26/image_02122025_20_26_45_9709.jpg', '/home/pi/Desktop/images/02122025/20/26/image_02122025_20_26_55_9614.jpg', '/home/pi/Desktop/images/02122025/20/27/image_02122025_20_27_15_9756.jpg', '/home/pi/Desktop/images/02122025/20/27/image_02122025_20_27_35_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/26/image_02122025_20_26_15_9731.jpg
/home/pi/Desktop/images/02122025/20/26/image_02122025_20_26_36_10730.jpg
/home/pi/Desktop/images/02122025/20/26/image_02122025_20_26_45_9709.jpg
/home/pi/Desktop/images/02122025/20/26/image_02122025_20_26_55_9614.jpg
/home/pi/Desktop/images/02122025/20/27/image_02122025_20_27_15_9756.jpg
/home/pi/Desktop/images/02122025/20/27/image_02122025_20_27_35_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092534","1398092525","1398092530","1398092533","1398092527","1398092532"],"photo_ids_order":["1398092525","1398092527","1398092530","1398092532","1398092533","1398092534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ca297909fbc69352b6159b417372860e.jpg","text":"TemporaryFile(/tmp/multipartBody5538308757122843800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940234334,"filename":"image_02122025_20_27_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/5/65c2c35a73adf782e519339cac95eb7b.jpg","text":"TemporaryFile(/tmp/multipartBody7175398221226071667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940234334,"filename":"image_02122025_20_26_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/5/9fa2771703d964ee0b9ecb295cd5950b.jpg","text":"TemporaryFile(/tmp/multipartBody8514024902625448137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940234334,"filename":"image_02122025_20_26_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/5/186a452e6a8d3ee0f04ea722af7f7f95.jpg","text":"TemporaryFile(/tmp/multipartBody4717560940058492455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940234334,"filename":"image_02122025_20_27_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/5/5cb63e0f3354e5341abcc65adccb025d.jpg","text":"TemporaryFile(/tmp/multipartBody7043666368608849313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940234334,"filename":"image_02122025_20_26_36_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/5/4dda9f59492f5f390adde670add3b9be.jpg","text":"TemporaryFile(/tmp/multipartBody2146672897793746026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940234334,"filename":"image_02122025_20_26_55_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092530","file1":"1398092527","file0":"1398092525","file4":"1398092533","file5":"1398092534","file3":"1398092532"},"map_files_photo_id_array":[{"photo_id":"1398092534","filename":"file5"},{"photo_id":"1398092530","filename":"file2"},{"photo_id":"1398092533","filename":"file4"},{"photo_id":"1398092527","filename":"file1"},{"photo_id":"1398092525","filename":"file0"},{"photo_id":"1398092532","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398092534":["hashtag1","hashtag2"]},{"1398092525":["hashtag1","hashtag2"]},{"1398092530":["hashtag1","hashtag2"]},{"1398092533":["hashtag1","hashtag2"]},{"1398092527":["hashtag1","hashtag2"]},{"1398092532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398092534, 1398092525, 1398092530, 1398092533, 1398092527, 1398092532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.066040992736816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:10:12.249967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/27/image_02122025_20_28_05_9644.jpg', '/home/pi/Desktop/images/02122025/20/28/image_02122025_20_28_25_10613.jpg', '/home/pi/Desktop/images/02122025/20/28/image_02122025_20_28_45_9710.jpg', '/home/pi/Desktop/images/02122025/20/29/image_02122025_20_29_15_9644.jpg', '/home/pi/Desktop/images/02122025/20/29/image_02122025_20_29_45_9672.jpg', '/home/pi/Desktop/images/02122025/20/29/image_02122025_20_30_05_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/27/image_02122025_20_28_05_9644.jpg
/home/pi/Desktop/images/02122025/20/28/image_02122025_20_28_25_10613.jpg
/home/pi/Desktop/images/02122025/20/28/image_02122025_20_28_45_9710.jpg
/home/pi/Desktop/images/02122025/20/29/image_02122025_20_29_15_9644.jpg
/home/pi/Desktop/images/02122025/20/29/image_02122025_20_29_45_9672.jpg
/home/pi/Desktop/images/02122025/20/29/image_02122025_20_30_05_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092549","1398092537","1398092542","1398092545","1398092539","1398092547"],"photo_ids_order":["1398092537","1398092539","1398092542","1398092545","1398092547","1398092549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d4b41d037427664b12bacfc5601194c.jpg","text":"TemporaryFile(/tmp/multipartBody4873751721300050459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940274327,"filename":"image_02122025_20_30_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/5/aa5adea667b30af5b436aab9213eef30.jpg","text":"TemporaryFile(/tmp/multipartBody392925268677110933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940274327,"filename":"image_02122025_20_28_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/5/a8ac358923b575c7070dec135d12dc56.jpg","text":"TemporaryFile(/tmp/multipartBody6880361513626957674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940274327,"filename":"image_02122025_20_28_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/5/3787abfd1d1d8b21f710dcaa239d306a.jpg","text":"TemporaryFile(/tmp/multipartBody4639306997602553701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940274327,"filename":"image_02122025_20_29_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/5/d15f3d4e4a7a5e97d126412349616380.jpg","text":"TemporaryFile(/tmp/multipartBody4592287335676940865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940274327,"filename":"image_02122025_20_28_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/39288b927d3d98d0c8cbd5ac40f7cd08.jpg","text":"TemporaryFile(/tmp/multipartBody1735506231341277981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940274327,"filename":"image_02122025_20_29_45_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092542","file1":"1398092539","file0":"1398092537","file4":"1398092547","file5":"1398092549","file3":"1398092545"},"map_files_photo_id_array":[{"photo_id":"1398092549","filename":"file5"},{"photo_id":"1398092542","filename":"file2"},{"photo_id":"1398092547","filename":"file4"},{"photo_id":"1398092539","filename":"file1"},{"photo_id":"1398092537","filename":"file0"},{"photo_id":"1398092545","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398092549":["hashtag1","hashtag2"]},{"1398092537":["hashtag1","hashtag2"]},{"1398092542":["hashtag1","hashtag2"]},{"1398092545":["hashtag1","hashtag2"]},{"1398092539":["hashtag1","hashtag2"]},{"1398092547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398092549, 1398092537, 1398092542, 1398092545, 1398092539, 1398092547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11436462402344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:11:03.255955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/28/image_05122025_13_28_15_10886.jpg', '/home/pi/Desktop/images/05122025/13/28/image_05122025_13_28_25_9629.jpg', '/home/pi/Desktop/images/05122025/13/28/image_05122025_13_28_35_9614.jpg', '/home/pi/Desktop/images/05122025/13/28/image_05122025_13_28_45_10548.jpg', '/home/pi/Desktop/images/05122025/13/28/image_05122025_13_28_55_9539.jpg', '/home/pi/Desktop/images/05122025/13/28/image_05122025_13_29_05_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/28/image_05122025_13_28_15_10886.jpg
/home/pi/Desktop/images/05122025/13/28/image_05122025_13_28_25_9629.jpg
/home/pi/Desktop/images/05122025/13/28/image_05122025_13_28_35_9614.jpg
/home/pi/Desktop/images/05122025/13/28/image_05122025_13_28_45_10548.jpg
/home/pi/Desktop/images/05122025/13/28/image_05122025_13_28_55_9539.jpg
/home/pi/Desktop/images/05122025/13/28/image_05122025_13_29_05_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092567","1398092560","1398092563","1398092557","1398092554","1398092556"],"photo_ids_order":["1398092554","1398092556","1398092557","1398092560","1398092563","1398092567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1bdbc002ac8fcc7b4b00abc3634436ab.jpg","text":"TemporaryFile(/tmp/multipartBody874532561516670108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940323958,"filename":"image_05122025_13_29_05_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e44c809f0ad3ac277fa9bf1e71a594a.jpg","text":"TemporaryFile(/tmp/multipartBody1303332772828319720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940323958,"filename":"image_05122025_13_28_45_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/5/d0daa13ddb2dfc79d3bb08c491ac2af7.jpg","text":"TemporaryFile(/tmp/multipartBody4568650789416213056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940323958,"filename":"image_05122025_13_28_55_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/5/1d46790fdb0478d764870333110f59ae.jpg","text":"TemporaryFile(/tmp/multipartBody4522033369365406469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940323958,"filename":"image_05122025_13_28_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/5/883ea9989010180ee448ce0646e5a68d.jpg","text":"TemporaryFile(/tmp/multipartBody4390090562420555079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940323958,"filename":"image_05122025_13_28_15_10886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8cc398fc9ccdd7c8e86dc661ede93a47.jpg","text":"TemporaryFile(/tmp/multipartBody4652227964580727239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940323958,"filename":"image_05122025_13_28_25_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092557","file1":"1398092556","file0":"1398092554","file4":"1398092563","file5":"1398092567","file3":"1398092560"},"map_files_photo_id_array":[{"photo_id":"1398092567","filename":"file5"},{"photo_id":"1398092557","filename":"file2"},{"photo_id":"1398092563","filename":"file4"},{"photo_id":"1398092556","filename":"file1"},{"photo_id":"1398092554","filename":"file0"},{"photo_id":"1398092560","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092567":["hashtag1","hashtag2"]},{"1398092560":["hashtag1","hashtag2"]},{"1398092563":["hashtag1","hashtag2"]},{"1398092557":["hashtag1","hashtag2"]},{"1398092554":["hashtag1","hashtag2"]},{"1398092556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092567, 1398092560, 1398092563, 1398092557, 1398092554, 1398092556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.914334774017334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:11:42.480391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_09_2594.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_12_2766.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_16_3784.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_19_2592.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_21_2639.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_25_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_09_2594.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_12_2766.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_16_3784.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_19_2592.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_21_2639.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_25_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092581","1398092575","1398092578","1398092583","1398092580","1398092582"],"photo_ids_order":["1398092575","1398092578","1398092580","1398092581","1398092582","1398092583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b230a053fed19a98650367cfd1dba102.jpg","text":"TemporaryFile(/tmp/multipartBody391023354851104025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940364163,"filename":"image_31102025_19_44_19_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/5/a6c05f65ed784154e24a213bd87c9b1d.jpg","text":"TemporaryFile(/tmp/multipartBody1352031214270599453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940364163,"filename":"image_31102025_19_44_09_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/5/da44c9f6e806583dd7c650f3d7879939.jpg","text":"TemporaryFile(/tmp/multipartBody8445416450510171667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940364163,"filename":"image_31102025_19_44_12_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/5/86e14f5557bcd6263902b530bd1e8285.jpg","text":"TemporaryFile(/tmp/multipartBody7760144971112951268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940364163,"filename":"image_31102025_19_44_25_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/5/24227092c0a89ce538d8d593069e3618.jpg","text":"TemporaryFile(/tmp/multipartBody2744693370448276066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940364163,"filename":"image_31102025_19_44_16_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/393e333fd9e7cb2896965f45c5871993.jpg","text":"TemporaryFile(/tmp/multipartBody8972952492982148457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940364163,"filename":"image_31102025_19_44_21_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092580","file1":"1398092578","file0":"1398092575","file4":"1398092582","file5":"1398092583","file3":"1398092581"},"map_files_photo_id_array":[{"photo_id":"1398092583","filename":"file5"},{"photo_id":"1398092580","filename":"file2"},{"photo_id":"1398092582","filename":"file4"},{"photo_id":"1398092578","filename":"file1"},{"photo_id":"1398092575","filename":"file0"},{"photo_id":"1398092581","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398092581":["hashtag1","hashtag2"]},{"1398092575":["hashtag1","hashtag2"]},{"1398092578":["hashtag1","hashtag2"]},{"1398092583":["hashtag1","hashtag2"]},{"1398092580":["hashtag1","hashtag2"]},{"1398092582":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398092581, 1398092575, 1398092578, 1398092583, 1398092580, 1398092582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31324648857117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:12:22.621033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/29/image_05122025_13_29_15_9737.jpg', '/home/pi/Desktop/images/05122025/13/29/image_05122025_13_29_25_9705.jpg', '/home/pi/Desktop/images/05122025/13/29/image_05122025_13_29_35_9582.jpg', '/home/pi/Desktop/images/05122025/13/29/image_05122025_13_29_45_10604.jpg', '/home/pi/Desktop/images/05122025/13/29/image_05122025_13_29_55_9742.jpg', '/home/pi/Desktop/images/05122025/13/30/image_05122025_13_30_14_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/29/image_05122025_13_29_15_9737.jpg
/home/pi/Desktop/images/05122025/13/29/image_05122025_13_29_25_9705.jpg
/home/pi/Desktop/images/05122025/13/29/image_05122025_13_29_35_9582.jpg
/home/pi/Desktop/images/05122025/13/29/image_05122025_13_29_45_10604.jpg
/home/pi/Desktop/images/05122025/13/29/image_05122025_13_29_55_9742.jpg
/home/pi/Desktop/images/05122025/13/30/image_05122025_13_30_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":["1398092600","1398092590","1398092616","1398092594","1398092607","1398092597"],"photo_ids_order":["1398092590","1398092594","1398092597","1398092600","1398092607","1398092616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aa767ca159b10e11cfc459d066680605.jpg","text":"TemporaryFile(/tmp/multipartBody9128667620785907623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940403276,"filename":"image_05122025_13_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/5/ff55b637f8f443045e27db5ac1d864e8.jpg","text":"TemporaryFile(/tmp/multipartBody7987982796444218846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940403276,"filename":"image_05122025_13_29_15_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a6e64a13afdf62a9e3eed1c0b33ec92.jpg","text":"TemporaryFile(/tmp/multipartBody701504000915057650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940403276,"filename":"image_05122025_13_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/5/b58bc2d271e1a2153ee47fa5824b3975.jpg","text":"TemporaryFile(/tmp/multipartBody8496106786378034648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940403276,"filename":"image_05122025_13_29_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/028d3c4acbeec51dad1a83fae2c9e6fa.jpg","text":"TemporaryFile(/tmp/multipartBody7734654906720413070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940403276,"filename":"image_05122025_13_29_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/5/f7ff88f0974b83fe2f17de5d5ac38932.jpg","text":"TemporaryFile(/tmp/multipartBody2541051063935676664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940403276,"filename":"image_05122025_13_29_35_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092597","file1":"1398092594","file0":"1398092590","file4":"1398092607","file5":"1398092616","file3":"1398092600"},"map_files_photo_id_array":[{"photo_id":"1398092616","filename":"file5"},{"photo_id":"1398092597","filename":"file2"},{"photo_id":"1398092607","filename":"file4"},{"photo_id":"1398092594","filename":"file1"},{"photo_id":"1398092590","filename":"file0"},{"photo_id":"1398092600","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092600":["hashtag1","hashtag2"]},{"1398092590":["hashtag1","hashtag2"]},{"1398092616":["hashtag1","hashtag2"]},{"1398092594":["hashtag1","hashtag2"]},{"1398092607":["hashtag1","hashtag2"]},{"1398092597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092600, 1398092590, 1398092616, 1398092594, 1398092607, 1398092597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.182345151901245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:13:02.611239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/30/image_05122025_13_30_25_10650.jpg', '/home/pi/Desktop/images/05122025/13/30/image_05122025_13_30_35_9656.jpg', '/home/pi/Desktop/images/05122025/13/30/image_05122025_13_30_45_10616.jpg', '/home/pi/Desktop/images/05122025/13/30/image_05122025_13_30_55_9497.jpg', '/home/pi/Desktop/images/05122025/13/30/image_05122025_13_31_04_9627.jpg', '/home/pi/Desktop/images/05122025/13/31/image_05122025_13_31_15_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/30/image_05122025_13_30_25_10650.jpg
/home/pi/Desktop/images/05122025/13/30/image_05122025_13_30_35_9656.jpg
/home/pi/Desktop/images/05122025/13/30/image_05122025_13_30_45_10616.jpg
/home/pi/Desktop/images/05122025/13/30/image_05122025_13_30_55_9497.jpg
/home/pi/Desktop/images/05122025/13/30/image_05122025_13_31_04_9627.jpg
/home/pi/Desktop/images/05122025/13/31/image_05122025_13_31_15_10793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092621","1398092623","1398092617","1398092628","1398092625","1398092619"],"photo_ids_order":["1398092617","1398092619","1398092621","1398092623","1398092625","1398092628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e920953e9d61757e1bc78879c58264fa.jpg","text":"TemporaryFile(/tmp/multipartBody7581212305941410747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940443309,"filename":"image_05122025_13_30_45_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/5/df85fe9e648b23f0811355e4566a560f.jpg","text":"TemporaryFile(/tmp/multipartBody1597255547890362355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940443309,"filename":"image_05122025_13_30_55_9497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/68b3a75ac4de6a316eeeb5c7680193b7.jpg","text":"TemporaryFile(/tmp/multipartBody218106296819996841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940443309,"filename":"image_05122025_13_30_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/5/6042f5ef26a326d2b5f63b5afaaefc19.jpg","text":"TemporaryFile(/tmp/multipartBody105792888015809189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940443309,"filename":"image_05122025_13_31_15_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/5/9fc0cfcb6d0e38ae410e72c25f935ec6.jpg","text":"TemporaryFile(/tmp/multipartBody1857960046741026350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940443309,"filename":"image_05122025_13_31_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/5/fc076f4269770be91a9b0677888b7685.jpg","text":"TemporaryFile(/tmp/multipartBody909788490738869613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940443309,"filename":"image_05122025_13_30_35_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092621","file1":"1398092619","file0":"1398092617","file4":"1398092625","file5":"1398092628","file3":"1398092623"},"map_files_photo_id_array":[{"photo_id":"1398092628","filename":"file5"},{"photo_id":"1398092621","filename":"file2"},{"photo_id":"1398092625","filename":"file4"},{"photo_id":"1398092619","filename":"file1"},{"photo_id":"1398092617","filename":"file0"},{"photo_id":"1398092623","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092621":["hashtag1","hashtag2"]},{"1398092623":["hashtag1","hashtag2"]},{"1398092617":["hashtag1","hashtag2"]},{"1398092628":["hashtag1","hashtag2"]},{"1398092625":["hashtag1","hashtag2"]},{"1398092619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092621, 1398092623, 1398092617, 1398092628, 1398092625, 1398092619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96301531791687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:13:42.003210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_27_2581.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_34_2640.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_39_2707.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_45_2648.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_48_2647.jpg', '/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_54_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_27_2581.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_34_2640.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_39_2707.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_45_2648.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_48_2647.jpg
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_44_54_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":["1398092639","1398092642","1398092641","1398092638","1398092635","1398092640"],"photo_ids_order":["1398092635","1398092638","1398092639","1398092640","1398092641","1398092642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dcc0f2c9b8159719a3834362ef612fe4.jpg","text":"TemporaryFile(/tmp/multipartBody622052705124395455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940483741,"filename":"image_31102025_19_44_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/5/ef01082248c6eda003d92f7c6b9f0534.jpg","text":"TemporaryFile(/tmp/multipartBody1483322947076045073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940483741,"filename":"image_31102025_19_44_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/5/5bc7704e7ae7799014407c33c56d31dc.jpg","text":"TemporaryFile(/tmp/multipartBody7098614745098540866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940483741,"filename":"image_31102025_19_44_48_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/5/68063de891414e666be3d52cf28206b9.jpg","text":"TemporaryFile(/tmp/multipartBody463367248340789903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940483741,"filename":"image_31102025_19_44_34_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/5/cdd12787cd51f0fc9897c124b54f03d5.jpg","text":"TemporaryFile(/tmp/multipartBody3198509603272917987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940483741,"filename":"image_31102025_19_44_27_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/5/a5bb3818098d3aa87d5d374ce3744166.jpg","text":"TemporaryFile(/tmp/multipartBody3946214737270285980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940483741,"filename":"image_31102025_19_44_45_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092639","file1":"1398092638","file0":"1398092635","file4":"1398092641","file5":"1398092642","file3":"1398092640"},"map_files_photo_id_array":[{"photo_id":"1398092642","filename":"file5"},{"photo_id":"1398092639","filename":"file2"},{"photo_id":"1398092641","filename":"file4"},{"photo_id":"1398092638","filename":"file1"},{"photo_id":"1398092635","filename":"file0"},{"photo_id":"1398092640","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398092639":["hashtag1","hashtag2"]},{"1398092642":["hashtag1","hashtag2"]},{"1398092641":["hashtag1","hashtag2"]},{"1398092638":["hashtag1","hashtag2"]},{"1398092635":["hashtag1","hashtag2"]},{"1398092640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398092639, 1398092642, 1398092641, 1398092638, 1398092635, 1398092640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66892218589783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:14:22.248414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/31/image_05122025_13_31_25_9645.jpg', '/home/pi/Desktop/images/05122025/13/31/image_05122025_13_31_35_9718.jpg', '/home/pi/Desktop/images/05122025/13/31/image_05122025_13_31_45_10690.jpg', '/home/pi/Desktop/images/05122025/13/31/image_05122025_13_31_55_9715.jpg', '/home/pi/Desktop/images/05122025/13/31/image_05122025_13_32_05_9554.jpg', '/home/pi/Desktop/images/05122025/13/32/image_05122025_13_32_15_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/31/image_05122025_13_31_25_9645.jpg
/home/pi/Desktop/images/05122025/13/31/image_05122025_13_31_35_9718.jpg
/home/pi/Desktop/images/05122025/13/31/image_05122025_13_31_45_10690.jpg
/home/pi/Desktop/images/05122025/13/31/image_05122025_13_31_55_9715.jpg
/home/pi/Desktop/images/05122025/13/31/image_05122025_13_32_05_9554.jpg
/home/pi/Desktop/images/05122025/13/32/image_05122025_13_32_15_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092654","1398092648","1398092665","1398092650","1398092673","1398092652"],"photo_ids_order":["1398092648","1398092650","1398092652","1398092654","1398092665","1398092673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2df8444b3b1d24c02a674d38acb8421f.jpg","text":"TemporaryFile(/tmp/multipartBody578448673957504529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940522881,"filename":"image_05122025_13_31_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/5/977c2bb2d157a58250f864a45bbfd45f.jpg","text":"TemporaryFile(/tmp/multipartBody2363166174960258872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940522881,"filename":"image_05122025_13_31_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a2e99b5d1ca85ed527ff6297e1f577c.jpg","text":"TemporaryFile(/tmp/multipartBody82817132622775480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940522881,"filename":"image_05122025_13_32_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/5/0fb77d88ba2db19b451b34e05ca57f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2024160662391830291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940522881,"filename":"image_05122025_13_31_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/5/794f4f00268e21e0eadd2647213778a1.jpg","text":"TemporaryFile(/tmp/multipartBody6875845309853706888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940522881,"filename":"image_05122025_13_32_15_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5c8832150868dbae31b29ea7b7afcd63.jpg","text":"TemporaryFile(/tmp/multipartBody1955426716266583588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940522881,"filename":"image_05122025_13_31_45_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092652","file1":"1398092650","file0":"1398092648","file4":"1398092665","file5":"1398092673","file3":"1398092654"},"map_files_photo_id_array":[{"photo_id":"1398092673","filename":"file5"},{"photo_id":"1398092652","filename":"file2"},{"photo_id":"1398092665","filename":"file4"},{"photo_id":"1398092650","filename":"file1"},{"photo_id":"1398092648","filename":"file0"},{"photo_id":"1398092654","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092654":["hashtag1","hashtag2"]},{"1398092648":["hashtag1","hashtag2"]},{"1398092665":["hashtag1","hashtag2"]},{"1398092650":["hashtag1","hashtag2"]},{"1398092673":["hashtag1","hashtag2"]},{"1398092652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092654, 1398092648, 1398092665, 1398092650, 1398092673, 1398092652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.499889850616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:15:03.011945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/32/image_05122025_13_32_25_9883.jpg', '/home/pi/Desktop/images/05122025/13/32/image_05122025_13_32_35_9787.jpg', '/home/pi/Desktop/images/05122025/13/32/image_05122025_13_32_45_9612.jpg', '/home/pi/Desktop/images/05122025/13/32/image_05122025_13_32_55_10735.jpg', '/home/pi/Desktop/images/05122025/13/32/image_05122025_13_33_05_9707.jpg', '/home/pi/Desktop/images/05122025/13/33/image_05122025_13_33_15_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/32/image_05122025_13_32_25_9883.jpg
/home/pi/Desktop/images/05122025/13/32/image_05122025_13_32_35_9787.jpg
/home/pi/Desktop/images/05122025/13/32/image_05122025_13_32_45_9612.jpg
/home/pi/Desktop/images/05122025/13/32/image_05122025_13_32_55_10735.jpg
/home/pi/Desktop/images/05122025/13/32/image_05122025_13_33_05_9707.jpg
/home/pi/Desktop/images/05122025/13/33/image_05122025_13_33_15_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":["1398092690","1398092692","1398092685","1398092694","1398092688","1398092696"],"photo_ids_order":["1398092685","1398092688","1398092690","1398092692","1398092694","1398092696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/339642ebc9ced0634ba1b822a129ee48.jpg","text":"TemporaryFile(/tmp/multipartBody6870604729539862270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940563740,"filename":"image_05122025_13_32_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1fd132f1885f8a7380e94331d081303d.jpg","text":"TemporaryFile(/tmp/multipartBody3469766141755186973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940563740,"filename":"image_05122025_13_32_55_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/5/2a439e625fe40394ec24702a4432c579.jpg","text":"TemporaryFile(/tmp/multipartBody271022812028794655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940563740,"filename":"image_05122025_13_32_25_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/5/a588411e1e583755a28fff60b572af93.jpg","text":"TemporaryFile(/tmp/multipartBody6540944512770908324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940563740,"filename":"image_05122025_13_33_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/5/3e7ccd8e59522ba4498e50bffd4a210b.jpg","text":"TemporaryFile(/tmp/multipartBody400819808093716254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940563740,"filename":"image_05122025_13_32_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/5/43cfc4c1372d4b7cf630fb24adb573bd.jpg","text":"TemporaryFile(/tmp/multipartBody5666507593882327274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940563740,"filename":"image_05122025_13_33_15_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092690","file1":"1398092688","file0":"1398092685","file4":"1398092694","file5":"1398092696","file3":"1398092692"},"map_files_photo_id_array":[{"photo_id":"1398092696","filename":"file5"},{"photo_id":"1398092690","filename":"file2"},{"photo_id":"1398092694","filename":"file4"},{"photo_id":"1398092688","filename":"file1"},{"photo_id":"1398092685","filename":"file0"},{"photo_id":"1398092692","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092690":["hashtag1","hashtag2"]},{"1398092692":["hashtag1","hashtag2"]},{"1398092685":["hashtag1","hashtag2"]},{"1398092694":["hashtag1","hashtag2"]},{"1398092688":["hashtag1","hashtag2"]},{"1398092696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092690, 1398092692, 1398092685, 1398092694, 1398092688, 1398092696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3690299987793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:15:42.578577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/44/image_31102025_19_45_00_2753.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_04_3548.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_06_2748.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_09_2607.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_13_3590.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_19_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/44/image_31102025_19_45_00_2753.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_04_3548.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_06_2748.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_09_2607.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_13_3590.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_19_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":["1398092708","1398092702","1398092705","1398092707","1398092709","1398092706"],"photo_ids_order":["1398092702","1398092705","1398092706","1398092707","1398092708","1398092709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ec5747b1a8415272b014ef6bc51cdd2c.jpg","text":"TemporaryFile(/tmp/multipartBody708976967745179561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940604306,"filename":"image_31102025_19_45_13_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/5/ba77b6a44714c2d6f4ab6f7fc67cd5f8.jpg","text":"TemporaryFile(/tmp/multipartBody2814610662837878217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940604306,"filename":"image_31102025_19_45_00_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/5/8a2455bf778f9c5c61e395b71da4ca89.jpg","text":"TemporaryFile(/tmp/multipartBody7983101541542609725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940604306,"filename":"image_31102025_19_45_04_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/5/7ec3f934cb68b4df0114271fe24ac760.jpg","text":"TemporaryFile(/tmp/multipartBody2025488582682001331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940604306,"filename":"image_31102025_19_45_09_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/5/8e2c5f751386b8f3b14754814705ecd3.jpg","text":"TemporaryFile(/tmp/multipartBody3062117576352570894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940604306,"filename":"image_31102025_19_45_19_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/5/5928209e3aac2eca5ef5abb7fc77086f.jpg","text":"TemporaryFile(/tmp/multipartBody738045089635678320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940604306,"filename":"image_31102025_19_45_06_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092706","file1":"1398092705","file0":"1398092702","file4":"1398092708","file5":"1398092709","file3":"1398092707"},"map_files_photo_id_array":[{"photo_id":"1398092709","filename":"file5"},{"photo_id":"1398092706","filename":"file2"},{"photo_id":"1398092708","filename":"file4"},{"photo_id":"1398092705","filename":"file1"},{"photo_id":"1398092702","filename":"file0"},{"photo_id":"1398092707","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398092708":["hashtag1","hashtag2"]},{"1398092702":["hashtag1","hashtag2"]},{"1398092705":["hashtag1","hashtag2"]},{"1398092707":["hashtag1","hashtag2"]},{"1398092709":["hashtag1","hashtag2"]},{"1398092706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398092708, 1398092702, 1398092705, 1398092707, 1398092709, 1398092706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36697483062744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:16:22.707600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/33/image_05122025_13_33_24_9752.jpg', '/home/pi/Desktop/images/05122025/13/33/image_05122025_13_33_35_10571.jpg', '/home/pi/Desktop/images/05122025/13/33/image_05122025_13_33_45_9577.jpg', '/home/pi/Desktop/images/05122025/13/33/image_05122025_13_33_55_10658.jpg', '/home/pi/Desktop/images/05122025/13/33/image_05122025_13_34_05_9578.jpg', '/home/pi/Desktop/images/05122025/13/34/image_05122025_13_34_14_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/33/image_05122025_13_33_24_9752.jpg
/home/pi/Desktop/images/05122025/13/33/image_05122025_13_33_35_10571.jpg
/home/pi/Desktop/images/05122025/13/33/image_05122025_13_33_45_9577.jpg
/home/pi/Desktop/images/05122025/13/33/image_05122025_13_33_55_10658.jpg
/home/pi/Desktop/images/05122025/13/33/image_05122025_13_34_05_9578.jpg
/home/pi/Desktop/images/05122025/13/34/image_05122025_13_34_14_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092726","1398092729","1398092717","1398092719","1398092715","1398092730"],"photo_ids_order":["1398092715","1398092717","1398092719","1398092726","1398092729","1398092730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8136d8453194d26ec1379778114fec59.jpg","text":"TemporaryFile(/tmp/multipartBody307674071219835024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940643342,"filename":"image_05122025_13_33_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ded43630bac7f95287438281784d536.jpg","text":"TemporaryFile(/tmp/multipartBody4872706237751742442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940643342,"filename":"image_05122025_13_34_05_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/5/d85891a30b9493950701897698e04000.jpg","text":"TemporaryFile(/tmp/multipartBody4229831969717320188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940643342,"filename":"image_05122025_13_33_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/efe60cfecc28f7f92010b42ad4a14664.jpg","text":"TemporaryFile(/tmp/multipartBody4874877273986946828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940643342,"filename":"image_05122025_13_33_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/5/68b072454edbd7da0df63323cd86fb09.jpg","text":"TemporaryFile(/tmp/multipartBody7522765543153678916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940643342,"filename":"image_05122025_13_33_24_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9cae6257f137874998371a64c431f429.jpg","text":"TemporaryFile(/tmp/multipartBody1177633855495942399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940643342,"filename":"image_05122025_13_34_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092719","file1":"1398092717","file0":"1398092715","file4":"1398092729","file5":"1398092730","file3":"1398092726"},"map_files_photo_id_array":[{"photo_id":"1398092730","filename":"file5"},{"photo_id":"1398092719","filename":"file2"},{"photo_id":"1398092729","filename":"file4"},{"photo_id":"1398092717","filename":"file1"},{"photo_id":"1398092715","filename":"file0"},{"photo_id":"1398092726","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092726":["hashtag1","hashtag2"]},{"1398092729":["hashtag1","hashtag2"]},{"1398092717":["hashtag1","hashtag2"]},{"1398092719":["hashtag1","hashtag2"]},{"1398092715":["hashtag1","hashtag2"]},{"1398092730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092726, 1398092729, 1398092717, 1398092719, 1398092715, 1398092730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68503975868225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:17:02.599967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/34/image_05122025_13_34_25_10679.jpg', '/home/pi/Desktop/images/05122025/13/34/image_05122025_13_34_35_9871.jpg', '/home/pi/Desktop/images/05122025/13/34/image_05122025_13_34_45_9682.jpg', '/home/pi/Desktop/images/05122025/13/34/image_05122025_13_34_55_9926.jpg', '/home/pi/Desktop/images/05122025/13/34/image_05122025_13_35_05_10024.jpg', '/home/pi/Desktop/images/05122025/13/35/image_05122025_13_35_15_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/34/image_05122025_13_34_25_10679.jpg
/home/pi/Desktop/images/05122025/13/34/image_05122025_13_34_35_9871.jpg
/home/pi/Desktop/images/05122025/13/34/image_05122025_13_34_45_9682.jpg
/home/pi/Desktop/images/05122025/13/34/image_05122025_13_34_55_9926.jpg
/home/pi/Desktop/images/05122025/13/34/image_05122025_13_35_05_10024.jpg
/home/pi/Desktop/images/05122025/13/35/image_05122025_13_35_15_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":["1398092735","1398092737","1398092731","1398092733","1398092742","1398092739"],"photo_ids_order":["1398092731","1398092733","1398092735","1398092737","1398092739","1398092742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a49bca7a1dd7498a009d121611c5a98.jpg","text":"TemporaryFile(/tmp/multipartBody3016964126027492473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940685144,"filename":"image_05122025_13_34_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/5/9e4b96439429299e251d286e095d83cc.jpg","text":"TemporaryFile(/tmp/multipartBody3715996760238408299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940685144,"filename":"image_05122025_13_34_55_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/5/f7cefc70848a4c05a0524fb835814cdc.jpg","text":"TemporaryFile(/tmp/multipartBody5858113587581593416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940685144,"filename":"image_05122025_13_34_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/5/75ad14b9eacb533de916858396ee6117.jpg","text":"TemporaryFile(/tmp/multipartBody1134555573567018775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940685144,"filename":"image_05122025_13_34_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/5/5083ea6df2460deff756bfd191739891.jpg","text":"TemporaryFile(/tmp/multipartBody8481741894729785767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940685144,"filename":"image_05122025_13_35_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a74bb39361fef03af90f8bde19ae6e22.jpg","text":"TemporaryFile(/tmp/multipartBody8113348516709074388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940685144,"filename":"image_05122025_13_35_05_10024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092735","file1":"1398092733","file0":"1398092731","file4":"1398092739","file5":"1398092742","file3":"1398092737"},"map_files_photo_id_array":[{"photo_id":"1398092742","filename":"file5"},{"photo_id":"1398092735","filename":"file2"},{"photo_id":"1398092739","filename":"file4"},{"photo_id":"1398092733","filename":"file1"},{"photo_id":"1398092731","filename":"file0"},{"photo_id":"1398092737","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092735":["hashtag1","hashtag2"]},{"1398092737":["hashtag1","hashtag2"]},{"1398092731":["hashtag1","hashtag2"]},{"1398092733":["hashtag1","hashtag2"]},{"1398092742":["hashtag1","hashtag2"]},{"1398092739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092735, 1398092737, 1398092731, 1398092733, 1398092742, 1398092739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.034698724746704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:17:41.883387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_21_2633.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_28_3798.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_30_2646.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_33_2537.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_37_3778.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_39_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_21_2633.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_28_3798.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_30_2646.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_33_2537.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_37_3778.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_39_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":["1398092750","1398092753","1398092747","1398092755","1398092749","1398092751"],"photo_ids_order":["1398092747","1398092749","1398092750","1398092751","1398092753","1398092755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6000da39bc7befb6f75621ad278f3bc7.jpg","text":"TemporaryFile(/tmp/multipartBody1122433453963722316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940723521,"filename":"image_31102025_19_45_30_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/5/1f909e3683a3a2782d5b36cc25258414.jpg","text":"TemporaryFile(/tmp/multipartBody5934711027575512375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940723521,"filename":"image_31102025_19_45_37_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/5/5c2ad577dc4f8ad31e6fed390ad9c38b.jpg","text":"TemporaryFile(/tmp/multipartBody4002438467921559681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940723521,"filename":"image_31102025_19_45_21_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/5/7d9b0394da1fa0eb5187ab2e4a37da27.jpg","text":"TemporaryFile(/tmp/multipartBody6014043837174946162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940723521,"filename":"image_31102025_19_45_39_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/5/21feaf93bb1f6b59fb55a6b34229ce99.jpg","text":"TemporaryFile(/tmp/multipartBody3916953265819938024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940723521,"filename":"image_31102025_19_45_28_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c558e241747ac4119d85d26451300a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2295850588176579018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940723521,"filename":"image_31102025_19_45_33_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092750","file1":"1398092749","file0":"1398092747","file4":"1398092753","file5":"1398092755","file3":"1398092751"},"map_files_photo_id_array":[{"photo_id":"1398092755","filename":"file5"},{"photo_id":"1398092750","filename":"file2"},{"photo_id":"1398092753","filename":"file4"},{"photo_id":"1398092749","filename":"file1"},{"photo_id":"1398092747","filename":"file0"},{"photo_id":"1398092751","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398092750":["hashtag1","hashtag2"]},{"1398092753":["hashtag1","hashtag2"]},{"1398092747":["hashtag1","hashtag2"]},{"1398092755":["hashtag1","hashtag2"]},{"1398092749":["hashtag1","hashtag2"]},{"1398092751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398092750, 1398092753, 1398092747, 1398092755, 1398092749, 1398092751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.677451848983765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:18:22.046624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/35/image_05122025_13_35_25_9628.jpg', '/home/pi/Desktop/images/05122025/13/35/image_05122025_13_35_35_9666.jpg', '/home/pi/Desktop/images/05122025/13/35/image_05122025_13_35_45_10568.jpg', '/home/pi/Desktop/images/05122025/13/35/image_05122025_13_35_55_9700.jpg', '/home/pi/Desktop/images/05122025/13/35/image_05122025_13_36_05_9747.jpg', '/home/pi/Desktop/images/05122025/13/36/image_05122025_13_36_15_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/35/image_05122025_13_35_25_9628.jpg
/home/pi/Desktop/images/05122025/13/35/image_05122025_13_35_35_9666.jpg
/home/pi/Desktop/images/05122025/13/35/image_05122025_13_35_45_10568.jpg
/home/pi/Desktop/images/05122025/13/35/image_05122025_13_35_55_9700.jpg
/home/pi/Desktop/images/05122025/13/35/image_05122025_13_36_05_9747.jpg
/home/pi/Desktop/images/05122025/13/36/image_05122025_13_36_15_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":["1398092777","1398092767","1398092761","1398092764","1398092769","1398092780"],"photo_ids_order":["1398092761","1398092764","1398092767","1398092769","1398092777","1398092780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bdb83565d6444eec5fe5cff849b8e6f1.jpg","text":"TemporaryFile(/tmp/multipartBody2556800705608013207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940762690,"filename":"image_05122025_13_36_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/5/550a92f8e76c111e9a6224b3b23bce14.jpg","text":"TemporaryFile(/tmp/multipartBody7428554736973817286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940762690,"filename":"image_05122025_13_35_45_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/5/6131479ab6485d499c7b45fc3e80242f.jpg","text":"TemporaryFile(/tmp/multipartBody1057892702751996782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940762690,"filename":"image_05122025_13_35_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/5/be49a9a209874f61788355d979b027fb.jpg","text":"TemporaryFile(/tmp/multipartBody4940150731308561791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940762690,"filename":"image_05122025_13_35_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/5/4c2c08277bfe15ad18636fcc3c9c39d2.jpg","text":"TemporaryFile(/tmp/multipartBody3353852086710310816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940762690,"filename":"image_05122025_13_35_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/5/e199f93daf9ceed8b08b3228569f127d.jpg","text":"TemporaryFile(/tmp/multipartBody789691347027787772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940762690,"filename":"image_05122025_13_36_15_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092767","file1":"1398092764","file0":"1398092761","file4":"1398092777","file5":"1398092780","file3":"1398092769"},"map_files_photo_id_array":[{"photo_id":"1398092780","filename":"file5"},{"photo_id":"1398092767","filename":"file2"},{"photo_id":"1398092777","filename":"file4"},{"photo_id":"1398092764","filename":"file1"},{"photo_id":"1398092761","filename":"file0"},{"photo_id":"1398092769","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092777":["hashtag1","hashtag2"]},{"1398092767":["hashtag1","hashtag2"]},{"1398092761":["hashtag1","hashtag2"]},{"1398092764":["hashtag1","hashtag2"]},{"1398092769":["hashtag1","hashtag2"]},{"1398092780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092777, 1398092767, 1398092761, 1398092764, 1398092769, 1398092780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96899771690369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:19:03.136769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/36/image_05122025_13_36_25_9603.jpg', '/home/pi/Desktop/images/05122025/13/36/image_05122025_13_36_35_10607.jpg', '/home/pi/Desktop/images/05122025/13/36/image_05122025_13_36_45_9741.jpg', '/home/pi/Desktop/images/05122025/13/36/image_05122025_13_36_55_9650.jpg', '/home/pi/Desktop/images/05122025/13/36/image_05122025_13_37_05_10615.jpg', '/home/pi/Desktop/images/05122025/13/37/image_05122025_13_37_15_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/36/image_05122025_13_36_25_9603.jpg
/home/pi/Desktop/images/05122025/13/36/image_05122025_13_36_35_10607.jpg
/home/pi/Desktop/images/05122025/13/36/image_05122025_13_36_45_9741.jpg
/home/pi/Desktop/images/05122025/13/36/image_05122025_13_36_55_9650.jpg
/home/pi/Desktop/images/05122025/13/36/image_05122025_13_37_05_10615.jpg
/home/pi/Desktop/images/05122025/13/37/image_05122025_13_37_15_9548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092791","1398092788","1398092782","1398092781","1398092784","1398092786"],"photo_ids_order":["1398092781","1398092782","1398092784","1398092786","1398092788","1398092791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/021fdfdbe0501db6041da1d4f56e1d24.jpg","text":"TemporaryFile(/tmp/multipartBody3945726519670180606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940803845,"filename":"image_05122025_13_37_15_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/5/d753e5ff907da6d7f6aa5463f94dc815.jpg","text":"TemporaryFile(/tmp/multipartBody4166480415990054328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940803845,"filename":"image_05122025_13_37_05_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/5/0a022210cefd5495fda332ca038f9823.jpg","text":"TemporaryFile(/tmp/multipartBody2969151841478849408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940803845,"filename":"image_05122025_13_36_35_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/5/f68e48b2d72a8842a1e2ca2a582bdf58.jpg","text":"TemporaryFile(/tmp/multipartBody8040166052998283682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940803845,"filename":"image_05122025_13_36_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/5/306e183b7c6e03b1c8ffaf0158c5b305.jpg","text":"TemporaryFile(/tmp/multipartBody7654565861410647016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940803845,"filename":"image_05122025_13_36_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/5/7ff2169ccb73813cfe63274313eee914.jpg","text":"TemporaryFile(/tmp/multipartBody1265713455570273677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940803845,"filename":"image_05122025_13_36_55_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092784","file1":"1398092782","file0":"1398092781","file4":"1398092788","file5":"1398092791","file3":"1398092786"},"map_files_photo_id_array":[{"photo_id":"1398092791","filename":"file5"},{"photo_id":"1398092784","filename":"file2"},{"photo_id":"1398092788","filename":"file4"},{"photo_id":"1398092782","filename":"file1"},{"photo_id":"1398092781","filename":"file0"},{"photo_id":"1398092786","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092791":["hashtag1","hashtag2"]},{"1398092788":["hashtag1","hashtag2"]},{"1398092782":["hashtag1","hashtag2"]},{"1398092781":["hashtag1","hashtag2"]},{"1398092784":["hashtag1","hashtag2"]},{"1398092786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092791, 1398092788, 1398092782, 1398092781, 1398092784, 1398092786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.928364276885986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:19:42.247444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_42_2591.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_46_3563.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_48_2664.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_52_3511.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_54_2732.jpg', '/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_57_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_42_2591.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_46_3563.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_48_2664.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_52_3511.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_54_2732.jpg
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_45_57_2520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092807","1398092804","1398092806","1398092799","1398092808","1398092802"],"photo_ids_order":["1398092799","1398092802","1398092804","1398092806","1398092807","1398092808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5c5ceb23b90614e6f463d56cdfb5d862.jpg","text":"TemporaryFile(/tmp/multipartBody4068074497993544939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940843898,"filename":"image_31102025_19_45_54_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/5/de005b4cb91bc2543c13aaa6a627a1cc.jpg","text":"TemporaryFile(/tmp/multipartBody8030135402793216001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940843898,"filename":"image_31102025_19_45_48_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/afe7dae065911d016f385da855c933fe.jpg","text":"TemporaryFile(/tmp/multipartBody7440627196771573615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940843898,"filename":"image_31102025_19_45_52_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/358a99a238988c8c1519ecde0603809d.jpg","text":"TemporaryFile(/tmp/multipartBody231256241540789139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940843898,"filename":"image_31102025_19_45_42_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/5/3099fadd651b36c28f23feb7a33b0827.jpg","text":"TemporaryFile(/tmp/multipartBody4517129043499235485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940843898,"filename":"image_31102025_19_45_57_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/281e6260e70f5000d0d779ae8387ed4a.jpg","text":"TemporaryFile(/tmp/multipartBody7754838665580483246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940843898,"filename":"image_31102025_19_45_46_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092804","file1":"1398092802","file0":"1398092799","file4":"1398092807","file5":"1398092808","file3":"1398092806"},"map_files_photo_id_array":[{"photo_id":"1398092808","filename":"file5"},{"photo_id":"1398092804","filename":"file2"},{"photo_id":"1398092807","filename":"file4"},{"photo_id":"1398092802","filename":"file1"},{"photo_id":"1398092799","filename":"file0"},{"photo_id":"1398092806","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398092807":["hashtag1","hashtag2"]},{"1398092804":["hashtag1","hashtag2"]},{"1398092806":["hashtag1","hashtag2"]},{"1398092799":["hashtag1","hashtag2"]},{"1398092808":["hashtag1","hashtag2"]},{"1398092802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398092807, 1398092804, 1398092806, 1398092799, 1398092808, 1398092802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.612277030944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:20:22.435629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/37/image_05122025_13_37_25_9770.jpg', '/home/pi/Desktop/images/05122025/13/37/image_05122025_13_37_35_10620.jpg', '/home/pi/Desktop/images/05122025/13/37/image_05122025_13_37_45_9671.jpg', '/home/pi/Desktop/images/05122025/13/37/image_05122025_13_37_55_9549.jpg', '/home/pi/Desktop/images/05122025/13/37/image_05122025_13_38_05_10728.jpg', '/home/pi/Desktop/images/05122025/13/38/image_05122025_13_38_15_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/37/image_05122025_13_37_25_9770.jpg
/home/pi/Desktop/images/05122025/13/37/image_05122025_13_37_35_10620.jpg
/home/pi/Desktop/images/05122025/13/37/image_05122025_13_37_45_9671.jpg
/home/pi/Desktop/images/05122025/13/37/image_05122025_13_37_55_9549.jpg
/home/pi/Desktop/images/05122025/13/37/image_05122025_13_38_05_10728.jpg
/home/pi/Desktop/images/05122025/13/38/image_05122025_13_38_15_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":["1398092816","1398092824","1398092818","1398092812","1398092832","1398092814"],"photo_ids_order":["1398092812","1398092814","1398092816","1398092818","1398092824","1398092832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/885e52bd2cdba5a6b59eea37b5a2c38f.jpg","text":"TemporaryFile(/tmp/multipartBody49197996918052083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940883047,"filename":"image_05122025_13_37_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/5/f0351d60c0ea268f923fc9b3dc9c6f68.jpg","text":"TemporaryFile(/tmp/multipartBody1257294784056098118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940883047,"filename":"image_05122025_13_38_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/5/9ec31fd95cf17531e47e698daf4f02e6.jpg","text":"TemporaryFile(/tmp/multipartBody4289639035375327882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940883047,"filename":"image_05122025_13_37_55_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/5/52794a7ef5280aec7f7e526b96a36c6f.jpg","text":"TemporaryFile(/tmp/multipartBody1894049310057211003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940883047,"filename":"image_05122025_13_37_25_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cacd6403bac6ccd5a0aeb39311a19ebb.jpg","text":"TemporaryFile(/tmp/multipartBody5129673905114046670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940883047,"filename":"image_05122025_13_38_15_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/5/22e38425b0e5e2745add7156261502b0.jpg","text":"TemporaryFile(/tmp/multipartBody4606174344411731304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940883047,"filename":"image_05122025_13_37_35_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092816","file1":"1398092814","file0":"1398092812","file4":"1398092824","file5":"1398092832","file3":"1398092818"},"map_files_photo_id_array":[{"photo_id":"1398092832","filename":"file5"},{"photo_id":"1398092816","filename":"file2"},{"photo_id":"1398092824","filename":"file4"},{"photo_id":"1398092814","filename":"file1"},{"photo_id":"1398092812","filename":"file0"},{"photo_id":"1398092818","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092816":["hashtag1","hashtag2"]},{"1398092824":["hashtag1","hashtag2"]},{"1398092818":["hashtag1","hashtag2"]},{"1398092812":["hashtag1","hashtag2"]},{"1398092832":["hashtag1","hashtag2"]},{"1398092814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092816, 1398092824, 1398092818, 1398092812, 1398092832, 1398092814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83782386779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:21:03.178944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/38/image_05122025_13_38_25_9735.jpg', '/home/pi/Desktop/images/05122025/13/38/image_05122025_13_38_35_10064.jpg', '/home/pi/Desktop/images/05122025/13/38/image_05122025_13_38_45_9830.jpg', '/home/pi/Desktop/images/05122025/13/38/image_05122025_13_38_55_10651.jpg', '/home/pi/Desktop/images/05122025/13/38/image_05122025_13_39_05_9829.jpg', '/home/pi/Desktop/images/05122025/13/39/image_05122025_13_39_15_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/38/image_05122025_13_38_25_9735.jpg
/home/pi/Desktop/images/05122025/13/38/image_05122025_13_38_35_10064.jpg
/home/pi/Desktop/images/05122025/13/38/image_05122025_13_38_45_9830.jpg
/home/pi/Desktop/images/05122025/13/38/image_05122025_13_38_55_10651.jpg
/home/pi/Desktop/images/05122025/13/38/image_05122025_13_39_05_9829.jpg
/home/pi/Desktop/images/05122025/13/39/image_05122025_13_39_15_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092843","1398092837","1398092848","1398092845","1398092839","1398092841"],"photo_ids_order":["1398092837","1398092839","1398092841","1398092843","1398092845","1398092848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/67c0199416d1d8319fe6e3f7fd41954b.jpg","text":"TemporaryFile(/tmp/multipartBody3632469884755359949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940923865,"filename":"image_05122025_13_38_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/5/464163a4de25d0b8c27b5c097c04479a.jpg","text":"TemporaryFile(/tmp/multipartBody5328259644968679473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940923865,"filename":"image_05122025_13_38_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/5/a9291ca0edeb9410f4f73bfaf417c7ac.jpg","text":"TemporaryFile(/tmp/multipartBody6852831302110239730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940923865,"filename":"image_05122025_13_39_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/5/e684400419c399e1127b00b430e1de2f.jpg","text":"TemporaryFile(/tmp/multipartBody1592916255735949355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940923865,"filename":"image_05122025_13_39_05_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/5/c13e6292512e464344d4d5fcaa57f171.jpg","text":"TemporaryFile(/tmp/multipartBody8270078368020180115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940923865,"filename":"image_05122025_13_38_35_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/5/d29ae569dd635493fc99750968cd23f1.jpg","text":"TemporaryFile(/tmp/multipartBody8390382935155695069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940923865,"filename":"image_05122025_13_38_45_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092841","file1":"1398092839","file0":"1398092837","file4":"1398092845","file5":"1398092848","file3":"1398092843"},"map_files_photo_id_array":[{"photo_id":"1398092848","filename":"file5"},{"photo_id":"1398092841","filename":"file2"},{"photo_id":"1398092845","filename":"file4"},{"photo_id":"1398092839","filename":"file1"},{"photo_id":"1398092837","filename":"file0"},{"photo_id":"1398092843","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092843":["hashtag1","hashtag2"]},{"1398092837":["hashtag1","hashtag2"]},{"1398092848":["hashtag1","hashtag2"]},{"1398092845":["hashtag1","hashtag2"]},{"1398092839":["hashtag1","hashtag2"]},{"1398092841":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092843, 1398092837, 1398092848, 1398092845, 1398092839, 1398092841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.236311197280884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:21:42.524688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/45/image_31102025_19_46_01_3775.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_03_2718.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_06_2668.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_10_3628.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_15_2519.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_19_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/45/image_31102025_19_46_01_3775.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_03_2718.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_06_2668.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_10_3628.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_15_2519.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_19_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":["1398092858","1398092860","1398092854","1398092857","1398092859","1398092856"],"photo_ids_order":["1398092854","1398092856","1398092857","1398092858","1398092859","1398092860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e7bb5a2622814aadcd8b7a1c9038a664.jpg","text":"TemporaryFile(/tmp/multipartBody3283212760862723646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940964139,"filename":"image_31102025_19_46_10_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/5/59196fda6e2ad91f9a8f352f5ac2994b.jpg","text":"TemporaryFile(/tmp/multipartBody1880607217468849919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940964139,"filename":"image_31102025_19_46_19_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/5/2b68710bce495ef13e508c7fe953a48d.jpg","text":"TemporaryFile(/tmp/multipartBody645495764854088896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940964139,"filename":"image_31102025_19_46_01_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad7ff49932710238ad17cb49f3b9e340.jpg","text":"TemporaryFile(/tmp/multipartBody7559916707423239286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940964139,"filename":"image_31102025_19_46_06_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/5/f419729a321199a2ced8aef6db77bbab.jpg","text":"TemporaryFile(/tmp/multipartBody2391467358811559183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940964139,"filename":"image_31102025_19_46_15_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/5/9a3f36eb70510ae18f7c99b792ca6a20.jpg","text":"TemporaryFile(/tmp/multipartBody3723838175589805863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764940964139,"filename":"image_31102025_19_46_03_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092857","file1":"1398092856","file0":"1398092854","file4":"1398092859","file5":"1398092860","file3":"1398092858"},"map_files_photo_id_array":[{"photo_id":"1398092860","filename":"file5"},{"photo_id":"1398092857","filename":"file2"},{"photo_id":"1398092859","filename":"file4"},{"photo_id":"1398092856","filename":"file1"},{"photo_id":"1398092854","filename":"file0"},{"photo_id":"1398092858","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398092858":["hashtag1","hashtag2"]},{"1398092860":["hashtag1","hashtag2"]},{"1398092854":["hashtag1","hashtag2"]},{"1398092857":["hashtag1","hashtag2"]},{"1398092859":["hashtag1","hashtag2"]},{"1398092856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398092858, 1398092860, 1398092854, 1398092857, 1398092859, 1398092856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42344689369202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:22:22.759552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/39/image_05122025_13_39_25_10579.jpg', '/home/pi/Desktop/images/05122025/13/39/image_05122025_13_39_35_9518.jpg', '/home/pi/Desktop/images/05122025/13/39/image_05122025_13_39_44_9688.jpg', '/home/pi/Desktop/images/05122025/13/39/image_05122025_13_39_55_10581.jpg', '/home/pi/Desktop/images/05122025/13/39/image_05122025_13_40_05_9633.jpg', '/home/pi/Desktop/images/05122025/13/40/image_05122025_13_40_15_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/39/image_05122025_13_39_25_10579.jpg
/home/pi/Desktop/images/05122025/13/39/image_05122025_13_39_35_9518.jpg
/home/pi/Desktop/images/05122025/13/39/image_05122025_13_39_44_9688.jpg
/home/pi/Desktop/images/05122025/13/39/image_05122025_13_39_55_10581.jpg
/home/pi/Desktop/images/05122025/13/39/image_05122025_13_40_05_9633.jpg
/home/pi/Desktop/images/05122025/13/40/image_05122025_13_40_15_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092878","1398092866","1398092881","1398092877","1398092874","1398092868"],"photo_ids_order":["1398092866","1398092868","1398092874","1398092877","1398092878","1398092881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e3b3b1a53d5a1d86fde0b3b0ffc5640e.jpg","text":"TemporaryFile(/tmp/multipartBody2494899781763694396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941003364,"filename":"image_05122025_13_40_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/5/95a11283bba1362e2c81e386498de151.jpg","text":"TemporaryFile(/tmp/multipartBody9038222907433449344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941003364,"filename":"image_05122025_13_39_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/5/aab43b6db33a19f63ac4581739db350d.jpg","text":"TemporaryFile(/tmp/multipartBody5206563102780612691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941003364,"filename":"image_05122025_13_40_15_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/5/2959ab7f75d86568c51eec90f6eaafe5.jpg","text":"TemporaryFile(/tmp/multipartBody475086838609396440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941003364,"filename":"image_05122025_13_39_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/5/d5ce4419a14cafba5c94410a00b9197c.jpg","text":"TemporaryFile(/tmp/multipartBody8824668913818169054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941003364,"filename":"image_05122025_13_39_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/5/73dd4aad263c81d49d0ad47dc1c677f7.jpg","text":"TemporaryFile(/tmp/multipartBody8372178239039736060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941003364,"filename":"image_05122025_13_39_35_9518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092874","file1":"1398092868","file0":"1398092866","file4":"1398092878","file5":"1398092881","file3":"1398092877"},"map_files_photo_id_array":[{"photo_id":"1398092881","filename":"file5"},{"photo_id":"1398092874","filename":"file2"},{"photo_id":"1398092878","filename":"file4"},{"photo_id":"1398092868","filename":"file1"},{"photo_id":"1398092866","filename":"file0"},{"photo_id":"1398092877","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092878":["hashtag1","hashtag2"]},{"1398092866":["hashtag1","hashtag2"]},{"1398092881":["hashtag1","hashtag2"]},{"1398092877":["hashtag1","hashtag2"]},{"1398092874":["hashtag1","hashtag2"]},{"1398092868":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092878, 1398092866, 1398092881, 1398092877, 1398092874, 1398092868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.091782093048096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:23:02.534634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/40/image_05122025_13_40_25_10561.jpg', '/home/pi/Desktop/images/05122025/13/40/image_05122025_13_40_35_9606.jpg', '/home/pi/Desktop/images/05122025/13/40/image_05122025_13_40_44_9718.jpg', '/home/pi/Desktop/images/05122025/13/40/image_05122025_13_40_55_10658.jpg', '/home/pi/Desktop/images/05122025/13/40/image_05122025_13_41_05_9679.jpg', '/home/pi/Desktop/images/05122025/13/41/image_05122025_13_41_35_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/40/image_05122025_13_40_25_10561.jpg
/home/pi/Desktop/images/05122025/13/40/image_05122025_13_40_35_9606.jpg
/home/pi/Desktop/images/05122025/13/40/image_05122025_13_40_44_9718.jpg
/home/pi/Desktop/images/05122025/13/40/image_05122025_13_40_55_10658.jpg
/home/pi/Desktop/images/05122025/13/40/image_05122025_13_41_05_9679.jpg
/home/pi/Desktop/images/05122025/13/41/image_05122025_13_41_35_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":["1398092896","1398092900","1398092903","1398092893","1398092898","1398092894"],"photo_ids_order":["1398092893","1398092894","1398092896","1398092898","1398092900","1398092903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/375bd9046e6152b85222b6c98751ae32.jpg","text":"TemporaryFile(/tmp/multipartBody1469477039020108109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941043176,"filename":"image_05122025_13_40_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/5/b294071b5a11e60c214288a3511954fb.jpg","text":"TemporaryFile(/tmp/multipartBody2580124481079379229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941043176,"filename":"image_05122025_13_41_05_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/5/d1e96b75cb76306080c582619a3f0517.jpg","text":"TemporaryFile(/tmp/multipartBody7711166210048645699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941043176,"filename":"image_05122025_13_41_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7932802bf404c1d2d2cdfc9a166939d3.jpg","text":"TemporaryFile(/tmp/multipartBody6338576670228093766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941043176,"filename":"image_05122025_13_40_25_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/650d52331d707e3133be1a6d2508d52e.jpg","text":"TemporaryFile(/tmp/multipartBody1938390812487573692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941043176,"filename":"image_05122025_13_40_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/5/ea197f0ae190ba173d7c94f5f63796c5.jpg","text":"TemporaryFile(/tmp/multipartBody8690151366880352652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941043176,"filename":"image_05122025_13_40_35_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092896","file1":"1398092894","file0":"1398092893","file4":"1398092900","file5":"1398092903","file3":"1398092898"},"map_files_photo_id_array":[{"photo_id":"1398092903","filename":"file5"},{"photo_id":"1398092896","filename":"file2"},{"photo_id":"1398092900","filename":"file4"},{"photo_id":"1398092894","filename":"file1"},{"photo_id":"1398092893","filename":"file0"},{"photo_id":"1398092898","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092896":["hashtag1","hashtag2"]},{"1398092900":["hashtag1","hashtag2"]},{"1398092903":["hashtag1","hashtag2"]},{"1398092893":["hashtag1","hashtag2"]},{"1398092898":["hashtag1","hashtag2"]},{"1398092894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092896, 1398092900, 1398092903, 1398092893, 1398092898, 1398092894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38164138793945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:23:41.939176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_21_2534.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_25_3635.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_27_2629.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_30_2761.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_33_2622.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_43_3525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_21_2534.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_25_3635.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_27_2629.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_30_2761.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_33_2622.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_43_3525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092912","1398092915","1398092909","1398092914","1398092913","1398092916"],"photo_ids_order":["1398092909","1398092912","1398092913","1398092914","1398092915","1398092916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d664d68b6be164c5e32567b88d33aacd.jpg","text":"TemporaryFile(/tmp/multipartBody5119095420611429260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941083590,"filename":"image_31102025_19_46_25_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51f96872012b10f531f5287976fe693c.jpg","text":"TemporaryFile(/tmp/multipartBody5513768162358018165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941083590,"filename":"image_31102025_19_46_33_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/5/bccfbbe39289c10f3e3ab691e4883002.jpg","text":"TemporaryFile(/tmp/multipartBody8634849517250094046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941083590,"filename":"image_31102025_19_46_21_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/5/4731fec32d3d172d2c140aabc3f5aa5d.jpg","text":"TemporaryFile(/tmp/multipartBody3105052062428237888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941083590,"filename":"image_31102025_19_46_30_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/5/b65870c9e8b9ff0bbc6dfb3936316a23.jpg","text":"TemporaryFile(/tmp/multipartBody586169051713561020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941083590,"filename":"image_31102025_19_46_27_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/5/70f5699a7b1e44ad45c2c8c3f21d2c54.jpg","text":"TemporaryFile(/tmp/multipartBody1465055620454756508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941083590,"filename":"image_31102025_19_46_43_3525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092913","file1":"1398092912","file0":"1398092909","file4":"1398092915","file5":"1398092916","file3":"1398092914"},"map_files_photo_id_array":[{"photo_id":"1398092916","filename":"file5"},{"photo_id":"1398092913","filename":"file2"},{"photo_id":"1398092915","filename":"file4"},{"photo_id":"1398092912","filename":"file1"},{"photo_id":"1398092909","filename":"file0"},{"photo_id":"1398092914","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398092912":["hashtag1","hashtag2"]},{"1398092915":["hashtag1","hashtag2"]},{"1398092909":["hashtag1","hashtag2"]},{"1398092914":["hashtag1","hashtag2"]},{"1398092913":["hashtag1","hashtag2"]},{"1398092916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398092912, 1398092915, 1398092909, 1398092914, 1398092913, 1398092916)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.692540884017944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:24:32.131950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/30/image_02122025_20_30_15_9664.jpg', '/home/pi/Desktop/images/02122025/20/30/image_02122025_20_30_35_9587.jpg', '/home/pi/Desktop/images/02122025/20/30/image_02122025_20_30_45_9757.jpg', '/home/pi/Desktop/images/02122025/20/30/image_02122025_20_30_56_10664.jpg', '/home/pi/Desktop/images/02122025/20/31/image_02122025_20_31_15_9813.jpg', '/home/pi/Desktop/images/02122025/20/31/image_02122025_20_31_36_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/30/image_02122025_20_30_15_9664.jpg
/home/pi/Desktop/images/02122025/20/30/image_02122025_20_30_35_9587.jpg
/home/pi/Desktop/images/02122025/20/30/image_02122025_20_30_45_9757.jpg
/home/pi/Desktop/images/02122025/20/30/image_02122025_20_30_56_10664.jpg
/home/pi/Desktop/images/02122025/20/31/image_02122025_20_31_15_9813.jpg
/home/pi/Desktop/images/02122025/20/31/image_02122025_20_31_36_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":["1398092941","1398092938","1398092923","1398092925","1398092940","1398092928"],"photo_ids_order":["1398092923","1398092925","1398092928","1398092938","1398092940","1398092941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/27abaec3b78b4f88f7089928a426d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody1678324590510503032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941134319,"filename":"image_02122025_20_31_36_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b00d2704581b5812c8cbab46b2a44f40.jpg","text":"TemporaryFile(/tmp/multipartBody5059874192217934330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941134319,"filename":"image_02122025_20_30_56_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9235ff170c0e705499e986f1ee3f4b1d.jpg","text":"TemporaryFile(/tmp/multipartBody1984281231198122747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941134319,"filename":"image_02122025_20_30_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/5/72bee500ee53279ab4e660eb077438fb.jpg","text":"TemporaryFile(/tmp/multipartBody5045833851606605847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941134319,"filename":"image_02122025_20_30_35_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/5/ec755a1ca81cfc8a96996b06b60482fc.jpg","text":"TemporaryFile(/tmp/multipartBody777324834495235100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941134319,"filename":"image_02122025_20_31_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/5/0bcd8c3c6b36604946b9609b821841f9.jpg","text":"TemporaryFile(/tmp/multipartBody2454207405884075664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941134319,"filename":"image_02122025_20_30_45_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092928","file1":"1398092925","file0":"1398092923","file4":"1398092940","file5":"1398092941","file3":"1398092938"},"map_files_photo_id_array":[{"photo_id":"1398092941","filename":"file5"},{"photo_id":"1398092928","filename":"file2"},{"photo_id":"1398092940","filename":"file4"},{"photo_id":"1398092925","filename":"file1"},{"photo_id":"1398092923","filename":"file0"},{"photo_id":"1398092938","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398092941":["hashtag1","hashtag2"]},{"1398092938":["hashtag1","hashtag2"]},{"1398092923":["hashtag1","hashtag2"]},{"1398092925":["hashtag1","hashtag2"]},{"1398092940":["hashtag1","hashtag2"]},{"1398092928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398092941, 1398092938, 1398092923, 1398092925, 1398092940, 1398092928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68401336669922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:25:13.507002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/31/image_02122025_20_31_45_9766.jpg', '/home/pi/Desktop/images/02122025/20/31/image_02122025_20_32_06_10629.jpg', '/home/pi/Desktop/images/02122025/20/32/image_02122025_20_32_15_9657.jpg', '/home/pi/Desktop/images/02122025/20/32/image_02122025_20_33_05_9602.jpg', '/home/pi/Desktop/images/02122025/20/33/image_02122025_20_33_35_9668.jpg', '/home/pi/Desktop/images/02122025/20/35/image_02122025_20_35_35_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/31/image_02122025_20_31_45_9766.jpg
/home/pi/Desktop/images/02122025/20/31/image_02122025_20_32_06_10629.jpg
/home/pi/Desktop/images/02122025/20/32/image_02122025_20_32_15_9657.jpg
/home/pi/Desktop/images/02122025/20/32/image_02122025_20_33_05_9602.jpg
/home/pi/Desktop/images/02122025/20/33/image_02122025_20_33_35_9668.jpg
/home/pi/Desktop/images/02122025/20/35/image_02122025_20_35_35_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398092954","1398092963","1398092950","1398092947","1398092961","1398092958"],"photo_ids_order":["1398092947","1398092950","1398092954","1398092958","1398092961","1398092963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20eb320a3356e3ffb467a021f682bded.jpg","text":"TemporaryFile(/tmp/multipartBody2999388331783278413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941175568,"filename":"image_02122025_20_32_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/312e9da70e25521811c5b7a1759d8baf.jpg","text":"TemporaryFile(/tmp/multipartBody5395236527260281547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941175568,"filename":"image_02122025_20_35_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d9f8d57ade0a5f2d6c90ccaa5e931c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3122042183581304351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941175568,"filename":"image_02122025_20_32_06_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/5/be5886e7726c93784ebeb0f30def2b64.jpg","text":"TemporaryFile(/tmp/multipartBody8532611329786092072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941175568,"filename":"image_02122025_20_31_45_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f37b2b0fbfdcc262dcca5d680aabf79c.jpg","text":"TemporaryFile(/tmp/multipartBody2106974263088419383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941175568,"filename":"image_02122025_20_33_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/5/eb1a39bdb2678340516ef4ce1106da2d.jpg","text":"TemporaryFile(/tmp/multipartBody1339516911714872355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941175568,"filename":"image_02122025_20_33_05_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092954","file1":"1398092950","file0":"1398092947","file4":"1398092961","file5":"1398092963","file3":"1398092958"},"map_files_photo_id_array":[{"photo_id":"1398092963","filename":"file5"},{"photo_id":"1398092954","filename":"file2"},{"photo_id":"1398092961","filename":"file4"},{"photo_id":"1398092950","filename":"file1"},{"photo_id":"1398092947","filename":"file0"},{"photo_id":"1398092958","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398092954":["hashtag1","hashtag2"]},{"1398092963":["hashtag1","hashtag2"]},{"1398092950":["hashtag1","hashtag2"]},{"1398092947":["hashtag1","hashtag2"]},{"1398092961":["hashtag1","hashtag2"]},{"1398092958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398092954, 1398092963, 1398092950, 1398092947, 1398092961, 1398092958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51770210266113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:26:03.139496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/41/image_05122025_13_41_45_10650.jpg', '/home/pi/Desktop/images/05122025/13/41/image_05122025_13_42_05_9670.jpg', '/home/pi/Desktop/images/05122025/13/42/image_05122025_13_42_25_9686.jpg', '/home/pi/Desktop/images/05122025/13/42/image_05122025_13_42_35_9675.jpg', '/home/pi/Desktop/images/05122025/13/42/image_05122025_13_42_45_10747.jpg', '/home/pi/Desktop/images/05122025/13/42/image_05122025_13_42_55_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/41/image_05122025_13_41_45_10650.jpg
/home/pi/Desktop/images/05122025/13/41/image_05122025_13_42_05_9670.jpg
/home/pi/Desktop/images/05122025/13/42/image_05122025_13_42_25_9686.jpg
/home/pi/Desktop/images/05122025/13/42/image_05122025_13_42_35_9675.jpg
/home/pi/Desktop/images/05122025/13/42/image_05122025_13_42_45_10747.jpg
/home/pi/Desktop/images/05122025/13/42/image_05122025_13_42_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":["1398092974","1398092968","1398092976","1398092970","1398092972","1398092966"],"photo_ids_order":["1398092966","1398092968","1398092970","1398092972","1398092974","1398092976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a4b054c9ea629e239f2856d6f8823234.jpg","text":"TemporaryFile(/tmp/multipartBody3030906654643472648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941223762,"filename":"image_05122025_13_42_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/5/54091773804674b870d118ec9e2703b4.jpg","text":"TemporaryFile(/tmp/multipartBody1529634170942106045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941223762,"filename":"image_05122025_13_42_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/5/e01dcb404f1a524cdf90e147b4d819ff.jpg","text":"TemporaryFile(/tmp/multipartBody543660256994984823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941223762,"filename":"image_05122025_13_42_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/5/f7c23d1c239ca4f2171e0fa3854ebab3.jpg","text":"TemporaryFile(/tmp/multipartBody8541372096077730159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941223762,"filename":"image_05122025_13_42_25_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/69f1ac1205d63d2e963a0fb81fa3aa3a.jpg","text":"TemporaryFile(/tmp/multipartBody3456994219485827016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941223762,"filename":"image_05122025_13_42_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/5/8ccb8811c4b7c1b1b43ca85f268d8c78.jpg","text":"TemporaryFile(/tmp/multipartBody8802707464452161933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941223762,"filename":"image_05122025_13_41_45_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092970","file1":"1398092968","file0":"1398092966","file4":"1398092974","file5":"1398092976","file3":"1398092972"},"map_files_photo_id_array":[{"photo_id":"1398092976","filename":"file5"},{"photo_id":"1398092970","filename":"file2"},{"photo_id":"1398092974","filename":"file4"},{"photo_id":"1398092968","filename":"file1"},{"photo_id":"1398092966","filename":"file0"},{"photo_id":"1398092972","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092974":["hashtag1","hashtag2"]},{"1398092968":["hashtag1","hashtag2"]},{"1398092976":["hashtag1","hashtag2"]},{"1398092970":["hashtag1","hashtag2"]},{"1398092972":["hashtag1","hashtag2"]},{"1398092966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092974, 1398092968, 1398092976, 1398092970, 1398092972, 1398092966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05801057815552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:26:42.652061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_45_2581.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_48_2614.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_52_3645.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_54_2598.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_57_2759.jpg', '/home/pi/Desktop/images/31102025/19/46/image_31102025_19_47_01_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_45_2581.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_48_2614.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_52_3645.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_54_2598.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_46_57_2759.jpg
/home/pi/Desktop/images/31102025/19/46/image_31102025_19_47_01_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":["1398092989","1398092988","1398092991","1398092990","1398092984","1398092987"],"photo_ids_order":["1398092984","1398092987","1398092988","1398092989","1398092990","1398092991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ef9c100e9d06208b09f55058f497481f.jpg","text":"TemporaryFile(/tmp/multipartBody4657870969665664713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941264284,"filename":"image_31102025_19_46_54_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/5/95aed046c08e2d8df504fcc5f39052d0.jpg","text":"TemporaryFile(/tmp/multipartBody5780844293101201370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941264284,"filename":"image_31102025_19_46_52_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/86a4e9b8cd8557ffdbfa23ac978bcacd.jpg","text":"TemporaryFile(/tmp/multipartBody5610646602429688620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941264284,"filename":"image_31102025_19_47_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/5/3b8675797f4ffbaff7cf3af3117cf956.jpg","text":"TemporaryFile(/tmp/multipartBody3122098891791174930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941264284,"filename":"image_31102025_19_46_57_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/5/ef5599ba7ed399fbb4f2e5bca627f5e1.jpg","text":"TemporaryFile(/tmp/multipartBody2770403413781566169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941264284,"filename":"image_31102025_19_46_45_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/5/5d9861ea3607402f449681ea811e8ab8.jpg","text":"TemporaryFile(/tmp/multipartBody6224611001158549624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941264284,"filename":"image_31102025_19_46_48_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092988","file1":"1398092987","file0":"1398092984","file4":"1398092990","file5":"1398092991","file3":"1398092989"},"map_files_photo_id_array":[{"photo_id":"1398092991","filename":"file5"},{"photo_id":"1398092988","filename":"file2"},{"photo_id":"1398092990","filename":"file4"},{"photo_id":"1398092987","filename":"file1"},{"photo_id":"1398092984","filename":"file0"},{"photo_id":"1398092989","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398092989":["hashtag1","hashtag2"]},{"1398092988":["hashtag1","hashtag2"]},{"1398092991":["hashtag1","hashtag2"]},{"1398092990":["hashtag1","hashtag2"]},{"1398092984":["hashtag1","hashtag2"]},{"1398092987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398092989, 1398092988, 1398092991, 1398092990, 1398092984, 1398092987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12588310241699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:27:21.827675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/42/image_05122025_13_43_05_9556.jpg', '/home/pi/Desktop/images/05122025/13/43/image_05122025_13_43_25_9649.jpg', '/home/pi/Desktop/images/05122025/13/43/image_05122025_13_43_35_9643.jpg', '/home/pi/Desktop/images/05122025/13/43/image_05122025_13_43_44_9888.jpg', '/home/pi/Desktop/images/05122025/13/43/image_05122025_13_43_55_10620.jpg', '/home/pi/Desktop/images/05122025/13/43/image_05122025_13_44_05_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/42/image_05122025_13_43_05_9556.jpg
/home/pi/Desktop/images/05122025/13/43/image_05122025_13_43_25_9649.jpg
/home/pi/Desktop/images/05122025/13/43/image_05122025_13_43_35_9643.jpg
/home/pi/Desktop/images/05122025/13/43/image_05122025_13_43_44_9888.jpg
/home/pi/Desktop/images/05122025/13/43/image_05122025_13_43_55_10620.jpg
/home/pi/Desktop/images/05122025/13/43/image_05122025_13_44_05_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":["1398092996","1398093001","1398092997","1398093006","1398093003","1398092999"],"photo_ids_order":["1398092996","1398092997","1398092999","1398093001","1398093003","1398093006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45c959f53f3c31fe1bb7d9b5e97078bb.jpg","text":"TemporaryFile(/tmp/multipartBody911655980369128423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941302487,"filename":"image_05122025_13_43_05_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f5cba40772721178d8790ed8483e3a12.jpg","text":"TemporaryFile(/tmp/multipartBody2511123177325487881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941302487,"filename":"image_05122025_13_43_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/5/825b45ae7b94b370aac0cdd22afbb62c.jpg","text":"TemporaryFile(/tmp/multipartBody2364556857112123871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941302487,"filename":"image_05122025_13_43_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/5/f003a5b070cc1d74c87567f687e03fd4.jpg","text":"TemporaryFile(/tmp/multipartBody604859373349545431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941302487,"filename":"image_05122025_13_44_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/5/4439c137a37e76ab5658cdd7a9340801.jpg","text":"TemporaryFile(/tmp/multipartBody5828769425384949015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941302487,"filename":"image_05122025_13_43_55_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/5/684b3b6fb2ffaa9a700cdc6b085084c7.jpg","text":"TemporaryFile(/tmp/multipartBody1848281404926717298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941302487,"filename":"image_05122025_13_43_35_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398092999","file1":"1398092997","file0":"1398092996","file4":"1398093003","file5":"1398093006","file3":"1398093001"},"map_files_photo_id_array":[{"photo_id":"1398093006","filename":"file5"},{"photo_id":"1398092999","filename":"file2"},{"photo_id":"1398093003","filename":"file4"},{"photo_id":"1398092997","filename":"file1"},{"photo_id":"1398092996","filename":"file0"},{"photo_id":"1398093001","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398092996":["hashtag1","hashtag2"]},{"1398093001":["hashtag1","hashtag2"]},{"1398092997":["hashtag1","hashtag2"]},{"1398093006":["hashtag1","hashtag2"]},{"1398093003":["hashtag1","hashtag2"]},{"1398092999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398092996, 1398093001, 1398092997, 1398093006, 1398093003, 1398092999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26783466339111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:28:02.446706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/44/image_05122025_13_44_15_10529.jpg', '/home/pi/Desktop/images/05122025/13/44/image_05122025_13_44_34_9558.jpg', '/home/pi/Desktop/images/05122025/13/44/image_05122025_13_44_45_10605.jpg', '/home/pi/Desktop/images/05122025/13/44/image_05122025_13_44_55_9620.jpg', '/home/pi/Desktop/images/05122025/13/44/image_05122025_13_45_04_9750.jpg', '/home/pi/Desktop/images/05122025/13/45/image_05122025_13_45_15_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/44/image_05122025_13_44_15_10529.jpg
/home/pi/Desktop/images/05122025/13/44/image_05122025_13_44_34_9558.jpg
/home/pi/Desktop/images/05122025/13/44/image_05122025_13_44_45_10605.jpg
/home/pi/Desktop/images/05122025/13/44/image_05122025_13_44_55_9620.jpg
/home/pi/Desktop/images/05122025/13/44/image_05122025_13_45_04_9750.jpg
/home/pi/Desktop/images/05122025/13/45/image_05122025_13_45_15_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":["1398093017","1398093011","1398093022","1398093019","1398093012","1398093015"],"photo_ids_order":["1398093011","1398093012","1398093015","1398093017","1398093019","1398093022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/75f5185d5eeebbe300a2c4feb3297aab.jpg","text":"TemporaryFile(/tmp/multipartBody9117059141752250330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941343102,"filename":"image_05122025_13_44_55_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/5/3feeea1ec40a246f48ed1b8ccdf26847.jpg","text":"TemporaryFile(/tmp/multipartBody6493761261251645127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941343102,"filename":"image_05122025_13_44_15_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/5/9edbbc9926e46182966bf07f39f400f1.jpg","text":"TemporaryFile(/tmp/multipartBody8259339476282056781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941343102,"filename":"image_05122025_13_45_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/5/ce37e0248e68d8a643e1bc221c3dd2c2.jpg","text":"TemporaryFile(/tmp/multipartBody8110009416645924409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941343102,"filename":"image_05122025_13_45_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/5/a9ca253173e11c7cc53c573adfcfe80f.jpg","text":"TemporaryFile(/tmp/multipartBody5358411968451726757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941343102,"filename":"image_05122025_13_44_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/5/dd2d027437190287f17210f634b2c781.jpg","text":"TemporaryFile(/tmp/multipartBody1312470274405076499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941343102,"filename":"image_05122025_13_44_45_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093015","file1":"1398093012","file0":"1398093011","file4":"1398093019","file5":"1398093022","file3":"1398093017"},"map_files_photo_id_array":[{"photo_id":"1398093022","filename":"file5"},{"photo_id":"1398093015","filename":"file2"},{"photo_id":"1398093019","filename":"file4"},{"photo_id":"1398093012","filename":"file1"},{"photo_id":"1398093011","filename":"file0"},{"photo_id":"1398093017","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093017":["hashtag1","hashtag2"]},{"1398093011":["hashtag1","hashtag2"]},{"1398093022":["hashtag1","hashtag2"]},{"1398093019":["hashtag1","hashtag2"]},{"1398093012":["hashtag1","hashtag2"]},{"1398093015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093017, 1398093011, 1398093022, 1398093019, 1398093012, 1398093015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25609636306763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:28:42.029681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_06_2672.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_09_2654.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_13_3736.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_18_2819.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_21_2723.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_25_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_06_2672.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_09_2654.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_13_3736.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_18_2819.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_21_2723.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_25_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":["1398093032","1398093037","1398093039","1398093030","1398093033","1398093041"],"photo_ids_order":["1398093030","1398093032","1398093033","1398093037","1398093039","1398093041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6968495319b76d54c1483c44519d4e75.jpg","text":"TemporaryFile(/tmp/multipartBody1785922259695721579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941383692,"filename":"image_31102025_19_47_09_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/286fcf1a19826da918e48aae77760e56.jpg","text":"TemporaryFile(/tmp/multipartBody6464779712566782016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941383692,"filename":"image_31102025_19_47_18_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/5/1d5c80053a5c1dbb7841c87fb22e3dc6.jpg","text":"TemporaryFile(/tmp/multipartBody4198088916363934584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941383692,"filename":"image_31102025_19_47_21_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/5/f53f622778e273988591c1b8979e48c1.jpg","text":"TemporaryFile(/tmp/multipartBody318147235700017552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941383692,"filename":"image_31102025_19_47_06_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ed3724b115e46442057faf74adca0dc6.jpg","text":"TemporaryFile(/tmp/multipartBody4498144134766418748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941383692,"filename":"image_31102025_19_47_13_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2da6d2cb465a4dc575c2729441d813d7.jpg","text":"TemporaryFile(/tmp/multipartBody1126792593281047666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941383692,"filename":"image_31102025_19_47_25_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093033","file1":"1398093032","file0":"1398093030","file4":"1398093039","file5":"1398093041","file3":"1398093037"},"map_files_photo_id_array":[{"photo_id":"1398093041","filename":"file5"},{"photo_id":"1398093033","filename":"file2"},{"photo_id":"1398093039","filename":"file4"},{"photo_id":"1398093032","filename":"file1"},{"photo_id":"1398093030","filename":"file0"},{"photo_id":"1398093037","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398093032":["hashtag1","hashtag2"]},{"1398093037":["hashtag1","hashtag2"]},{"1398093039":["hashtag1","hashtag2"]},{"1398093030":["hashtag1","hashtag2"]},{"1398093033":["hashtag1","hashtag2"]},{"1398093041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398093032, 1398093037, 1398093039, 1398093030, 1398093033, 1398093041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.985790491104126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:29:22.210125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/45/image_05122025_13_45_45_9722.jpg', '/home/pi/Desktop/images/05122025/13/45/image_05122025_13_45_55_9518.jpg', '/home/pi/Desktop/images/05122025/13/45/image_05122025_13_46_05_10591.jpg', '/home/pi/Desktop/images/05122025/13/46/image_05122025_13_46_15_9500.jpg', '/home/pi/Desktop/images/05122025/13/46/image_05122025_13_46_25_10621.jpg', '/home/pi/Desktop/images/05122025/13/46/image_05122025_13_46_35_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/45/image_05122025_13_45_45_9722.jpg
/home/pi/Desktop/images/05122025/13/45/image_05122025_13_45_55_9518.jpg
/home/pi/Desktop/images/05122025/13/45/image_05122025_13_46_05_10591.jpg
/home/pi/Desktop/images/05122025/13/46/image_05122025_13_46_15_9500.jpg
/home/pi/Desktop/images/05122025/13/46/image_05122025_13_46_25_10621.jpg
/home/pi/Desktop/images/05122025/13/46/image_05122025_13_46_35_9566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093052","1398093055","1398093049","1398093060","1398093057","1398093045"],"photo_ids_order":["1398093045","1398093049","1398093052","1398093055","1398093057","1398093060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c9981f0f52514316690cfa7b11735a25.jpg","text":"TemporaryFile(/tmp/multipartBody8863536253423602672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941422820,"filename":"image_05122025_13_46_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/5/a205e7e442d7d9f7305b0d67ba6f2a80.jpg","text":"TemporaryFile(/tmp/multipartBody6747473955934251325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941422820,"filename":"image_05122025_13_46_15_9500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f3094223e74b4f5748b312b418857a1d.jpg","text":"TemporaryFile(/tmp/multipartBody8832505055611503842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941422820,"filename":"image_05122025_13_45_55_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/5/25e8c96e2d6a56f4d260869ca5c4409e.jpg","text":"TemporaryFile(/tmp/multipartBody5949265082174803411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941422820,"filename":"image_05122025_13_46_35_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2472ab394e100f6cf5066ee0566339e9.jpg","text":"TemporaryFile(/tmp/multipartBody4390078132090994166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941422820,"filename":"image_05122025_13_46_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/5/7c054e5ff228effa18222e735a202630.jpg","text":"TemporaryFile(/tmp/multipartBody3841501538559295935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941422820,"filename":"image_05122025_13_45_45_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093052","file1":"1398093049","file0":"1398093045","file4":"1398093057","file5":"1398093060","file3":"1398093055"},"map_files_photo_id_array":[{"photo_id":"1398093060","filename":"file5"},{"photo_id":"1398093052","filename":"file2"},{"photo_id":"1398093057","filename":"file4"},{"photo_id":"1398093049","filename":"file1"},{"photo_id":"1398093045","filename":"file0"},{"photo_id":"1398093055","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093052":["hashtag1","hashtag2"]},{"1398093055":["hashtag1","hashtag2"]},{"1398093049":["hashtag1","hashtag2"]},{"1398093060":["hashtag1","hashtag2"]},{"1398093057":["hashtag1","hashtag2"]},{"1398093045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093052, 1398093055, 1398093049, 1398093060, 1398093057, 1398093045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.608006954193115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:30:02.781565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/46/image_05122025_13_46_45_9714.jpg', '/home/pi/Desktop/images/05122025/13/46/image_05122025_13_46_55_10717.jpg', '/home/pi/Desktop/images/05122025/13/46/image_05122025_13_47_05_9737.jpg', '/home/pi/Desktop/images/05122025/13/47/image_05122025_13_47_15_9517.jpg', '/home/pi/Desktop/images/05122025/13/47/image_05122025_13_47_25_10643.jpg', '/home/pi/Desktop/images/05122025/13/47/image_05122025_13_47_35_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/46/image_05122025_13_46_45_9714.jpg
/home/pi/Desktop/images/05122025/13/46/image_05122025_13_46_55_10717.jpg
/home/pi/Desktop/images/05122025/13/46/image_05122025_13_47_05_9737.jpg
/home/pi/Desktop/images/05122025/13/47/image_05122025_13_47_15_9517.jpg
/home/pi/Desktop/images/05122025/13/47/image_05122025_13_47_25_10643.jpg
/home/pi/Desktop/images/05122025/13/47/image_05122025_13_47_35_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093070","1398093067","1398093069","1398093072","1398093066","1398093068"],"photo_ids_order":["1398093066","1398093067","1398093068","1398093069","1398093070","1398093072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84a3bf0bbb32cd40751d033d774911b8.jpg","text":"TemporaryFile(/tmp/multipartBody2476850764065757444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941463417,"filename":"image_05122025_13_47_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/5/4528f895cd28b334b3ba75ee7146cb85.jpg","text":"TemporaryFile(/tmp/multipartBody7715892690402316161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941463417,"filename":"image_05122025_13_46_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/5/10cf5e126d2a12f8ba25f4b04851458e.jpg","text":"TemporaryFile(/tmp/multipartBody3499714364867246306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941463417,"filename":"image_05122025_13_47_15_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ea07ec61772b951da7b540fed9f73bd.jpg","text":"TemporaryFile(/tmp/multipartBody6655972799401061602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941463417,"filename":"image_05122025_13_47_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/5/f5612adf69f881603a25a891a6a1fac4.jpg","text":"TemporaryFile(/tmp/multipartBody1135662233689341092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941463417,"filename":"image_05122025_13_46_45_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/5/428e8419179eef0da5f32c4245bbecd2.jpg","text":"TemporaryFile(/tmp/multipartBody4538259842888829342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941463417,"filename":"image_05122025_13_47_05_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093068","file1":"1398093067","file0":"1398093066","file4":"1398093070","file5":"1398093072","file3":"1398093069"},"map_files_photo_id_array":[{"photo_id":"1398093072","filename":"file5"},{"photo_id":"1398093068","filename":"file2"},{"photo_id":"1398093070","filename":"file4"},{"photo_id":"1398093067","filename":"file1"},{"photo_id":"1398093066","filename":"file0"},{"photo_id":"1398093069","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093070":["hashtag1","hashtag2"]},{"1398093067":["hashtag1","hashtag2"]},{"1398093069":["hashtag1","hashtag2"]},{"1398093072":["hashtag1","hashtag2"]},{"1398093066":["hashtag1","hashtag2"]},{"1398093068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093070, 1398093067, 1398093069, 1398093072, 1398093066, 1398093068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.045799016952515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:30:42.315585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_27_2753.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_30_2634.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_34_3684.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_36_2684.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_39_2547.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_43_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_27_2753.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_30_2634.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_34_3684.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_36_2684.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_39_2547.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_43_3686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093101","1398093091","1398093099","1398093087","1398093084","1398093089"],"photo_ids_order":["1398093084","1398093087","1398093089","1398093091","1398093099","1398093101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d8d5520abf3c5bdb191fc0bb798a7a28.jpg","text":"TemporaryFile(/tmp/multipartBody5322557525009850461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941503873,"filename":"image_31102025_19_47_43_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/5/a67e40984606b08a08090ce7a11d7fe0.jpg","text":"TemporaryFile(/tmp/multipartBody4441650862342869186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941503873,"filename":"image_31102025_19_47_36_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/5/1ae4034f1bdca430447d02961971b456.jpg","text":"TemporaryFile(/tmp/multipartBody8137737262127655172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941503873,"filename":"image_31102025_19_47_39_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/5/7feecd30961b6546d30b9cef7537a6b3.jpg","text":"TemporaryFile(/tmp/multipartBody671682857228494843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941503873,"filename":"image_31102025_19_47_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/5/f6aa1628e089fcf26cc9cbbe1d1a35b4.jpg","text":"TemporaryFile(/tmp/multipartBody1979422795274853954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941503873,"filename":"image_31102025_19_47_27_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/5/f3e57a4d66a32b8bbca87939152d5033.jpg","text":"TemporaryFile(/tmp/multipartBody3296011980473932219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941503873,"filename":"image_31102025_19_47_34_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093089","file1":"1398093087","file0":"1398093084","file4":"1398093099","file5":"1398093101","file3":"1398093091"},"map_files_photo_id_array":[{"photo_id":"1398093101","filename":"file5"},{"photo_id":"1398093089","filename":"file2"},{"photo_id":"1398093099","filename":"file4"},{"photo_id":"1398093087","filename":"file1"},{"photo_id":"1398093084","filename":"file0"},{"photo_id":"1398093091","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398093101":["hashtag1","hashtag2"]},{"1398093091":["hashtag1","hashtag2"]},{"1398093099":["hashtag1","hashtag2"]},{"1398093087":["hashtag1","hashtag2"]},{"1398093084":["hashtag1","hashtag2"]},{"1398093089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398093101, 1398093091, 1398093099, 1398093087, 1398093084, 1398093089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63412022590637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:31:22.574909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/47/image_05122025_13_47_44_9599.jpg', '/home/pi/Desktop/images/05122025/13/47/image_05122025_13_47_55_10504.jpg', '/home/pi/Desktop/images/05122025/13/48/image_05122025_13_48_14_9813.jpg', '/home/pi/Desktop/images/05122025/13/48/image_05122025_13_48_35_9555.jpg', '/home/pi/Desktop/images/05122025/13/48/image_05122025_13_48_45_10680.jpg', '/home/pi/Desktop/images/05122025/13/48/image_05122025_13_48_55_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/47/image_05122025_13_47_44_9599.jpg
/home/pi/Desktop/images/05122025/13/47/image_05122025_13_47_55_10504.jpg
/home/pi/Desktop/images/05122025/13/48/image_05122025_13_48_14_9813.jpg
/home/pi/Desktop/images/05122025/13/48/image_05122025_13_48_35_9555.jpg
/home/pi/Desktop/images/05122025/13/48/image_05122025_13_48_45_10680.jpg
/home/pi/Desktop/images/05122025/13/48/image_05122025_13_48_55_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093119","1398093104","1398093107","1398093115","1398093124","1398093111"],"photo_ids_order":["1398093104","1398093107","1398093111","1398093115","1398093119","1398093124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/622e4d9f7db96194c5cbb625b377146c.jpg","text":"TemporaryFile(/tmp/multipartBody2451111568236400158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941543308,"filename":"image_05122025_13_48_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/5/4373eb1df00d0bf8de5d5d9cc7a8b629.jpg","text":"TemporaryFile(/tmp/multipartBody8078802781372419695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941543308,"filename":"image_05122025_13_47_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0cef9ba697bff388d22620770c51f92a.jpg","text":"TemporaryFile(/tmp/multipartBody545992699073086172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941543308,"filename":"image_05122025_13_47_55_10504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8fea169a5eaa35ff34ca98b20ade8ffe.jpg","text":"TemporaryFile(/tmp/multipartBody419628598983550662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941543308,"filename":"image_05122025_13_48_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/5/22e25d70a50546d1fbb5f6e9afd0b6b1.jpg","text":"TemporaryFile(/tmp/multipartBody7844809388547664670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941543308,"filename":"image_05122025_13_48_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03386e168a9b277bb75d77ac240e0be4.jpg","text":"TemporaryFile(/tmp/multipartBody7870000519649918745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941543308,"filename":"image_05122025_13_48_14_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093111","file1":"1398093107","file0":"1398093104","file4":"1398093119","file5":"1398093124","file3":"1398093115"},"map_files_photo_id_array":[{"photo_id":"1398093124","filename":"file5"},{"photo_id":"1398093111","filename":"file2"},{"photo_id":"1398093119","filename":"file4"},{"photo_id":"1398093107","filename":"file1"},{"photo_id":"1398093104","filename":"file0"},{"photo_id":"1398093115","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093119":["hashtag1","hashtag2"]},{"1398093104":["hashtag1","hashtag2"]},{"1398093107":["hashtag1","hashtag2"]},{"1398093115":["hashtag1","hashtag2"]},{"1398093124":["hashtag1","hashtag2"]},{"1398093111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093119, 1398093104, 1398093107, 1398093115, 1398093124, 1398093111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71498441696167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:32:03.181390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/48/image_05122025_13_49_05_9748.jpg', '/home/pi/Desktop/images/05122025/13/49/image_05122025_13_49_15_9735.jpg', '/home/pi/Desktop/images/05122025/13/49/image_05122025_13_49_25_10628.jpg', '/home/pi/Desktop/images/05122025/13/49/image_05122025_13_49_35_9750.jpg', '/home/pi/Desktop/images/05122025/13/49/image_05122025_13_49_45_9873.jpg', '/home/pi/Desktop/images/05122025/13/49/image_05122025_13_49_55_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/48/image_05122025_13_49_05_9748.jpg
/home/pi/Desktop/images/05122025/13/49/image_05122025_13_49_15_9735.jpg
/home/pi/Desktop/images/05122025/13/49/image_05122025_13_49_25_10628.jpg
/home/pi/Desktop/images/05122025/13/49/image_05122025_13_49_35_9750.jpg
/home/pi/Desktop/images/05122025/13/49/image_05122025_13_49_45_9873.jpg
/home/pi/Desktop/images/05122025/13/49/image_05122025_13_49_55_10576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093131","1398093133","1398093138","1398093135","1398093129","1398093140"],"photo_ids_order":["1398093129","1398093131","1398093133","1398093135","1398093138","1398093140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2d20d0cb39846019a78e57396a366a78.jpg","text":"TemporaryFile(/tmp/multipartBody4819704598195842660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941583828,"filename":"image_05122025_13_49_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/5/6985150100e384f921b6c3aa8614a4c4.jpg","text":"TemporaryFile(/tmp/multipartBody2916720893322375946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941583828,"filename":"image_05122025_13_49_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/5/a04e720d96bc0e171b0b38b95ac655b1.jpg","text":"TemporaryFile(/tmp/multipartBody4014826265984623902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941583828,"filename":"image_05122025_13_49_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/5/9ce5d524ad5fd81a84834a04441ae055.jpg","text":"TemporaryFile(/tmp/multipartBody9196965178666294251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941583828,"filename":"image_05122025_13_49_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/5/089ba7c03b2cbe4f522d62b800a67133.jpg","text":"TemporaryFile(/tmp/multipartBody766832209719076422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941583828,"filename":"image_05122025_13_49_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/5/8d54dbf15dff82c5541bd29890e16c00.jpg","text":"TemporaryFile(/tmp/multipartBody6814389294811408495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941583828,"filename":"image_05122025_13_49_55_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093133","file1":"1398093131","file0":"1398093129","file4":"1398093138","file5":"1398093140","file3":"1398093135"},"map_files_photo_id_array":[{"photo_id":"1398093140","filename":"file5"},{"photo_id":"1398093133","filename":"file2"},{"photo_id":"1398093138","filename":"file4"},{"photo_id":"1398093131","filename":"file1"},{"photo_id":"1398093129","filename":"file0"},{"photo_id":"1398093135","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093131":["hashtag1","hashtag2"]},{"1398093133":["hashtag1","hashtag2"]},{"1398093138":["hashtag1","hashtag2"]},{"1398093135":["hashtag1","hashtag2"]},{"1398093129":["hashtag1","hashtag2"]},{"1398093140":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093131, 1398093133, 1398093138, 1398093135, 1398093129, 1398093140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.379417419433594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:32:42.773179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_45_2818.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_48_2494.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_51_3630.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_57_2622.jpg', '/home/pi/Desktop/images/31102025/19/47/image_31102025_19_48_01_3627.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_03_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_45_2818.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_48_2494.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_51_3630.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_47_57_2622.jpg
/home/pi/Desktop/images/31102025/19/47/image_31102025_19_48_01_3627.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_03_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093158","1398093151","1398093156","1398093144","1398093147","1398093146"],"photo_ids_order":["1398093144","1398093146","1398093147","1398093151","1398093156","1398093158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49948e065084b01bd506946cbd73472f.jpg","text":"TemporaryFile(/tmp/multipartBody1922094929922404879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941624421,"filename":"image_31102025_19_48_03_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/735e55bef6f29f837667e1fb2ddc677e.jpg","text":"TemporaryFile(/tmp/multipartBody4639786093490557220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941624421,"filename":"image_31102025_19_47_57_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/5/5aa1e80ec918d8be6a85b5c355b5ca10.jpg","text":"TemporaryFile(/tmp/multipartBody499361075019827501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941624421,"filename":"image_31102025_19_48_01_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/5/8dd0635055f0c9fec66b426cfc30615b.jpg","text":"TemporaryFile(/tmp/multipartBody2570350932729165615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941624421,"filename":"image_31102025_19_47_45_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/5/be7ce2c92a52d2bcddbdc664888fbad0.jpg","text":"TemporaryFile(/tmp/multipartBody7801440514208684980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941624421,"filename":"image_31102025_19_47_51_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/5/bae15d87e41b87a0b79b8708220c0cee.jpg","text":"TemporaryFile(/tmp/multipartBody2278802822328234785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941624421,"filename":"image_31102025_19_47_48_2494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093147","file1":"1398093146","file0":"1398093144","file4":"1398093156","file5":"1398093158","file3":"1398093151"},"map_files_photo_id_array":[{"photo_id":"1398093158","filename":"file5"},{"photo_id":"1398093147","filename":"file2"},{"photo_id":"1398093156","filename":"file4"},{"photo_id":"1398093146","filename":"file1"},{"photo_id":"1398093144","filename":"file0"},{"photo_id":"1398093151","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398093158":["hashtag1","hashtag2"]},{"1398093151":["hashtag1","hashtag2"]},{"1398093156":["hashtag1","hashtag2"]},{"1398093144":["hashtag1","hashtag2"]},{"1398093147":["hashtag1","hashtag2"]},{"1398093146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398093158, 1398093151, 1398093156, 1398093144, 1398093147, 1398093146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6281156539917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:33:22.060425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/49/image_05122025_13_50_05_9679.jpg', '/home/pi/Desktop/images/05122025/13/50/image_05122025_13_50_15_9632.jpg', '/home/pi/Desktop/images/05122025/13/50/image_05122025_13_50_25_10622.jpg', '/home/pi/Desktop/images/05122025/13/50/image_05122025_13_50_35_9660.jpg', '/home/pi/Desktop/images/05122025/13/50/image_05122025_13_50_45_9568.jpg', '/home/pi/Desktop/images/05122025/13/50/image_05122025_13_50_55_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/49/image_05122025_13_50_05_9679.jpg
/home/pi/Desktop/images/05122025/13/50/image_05122025_13_50_15_9632.jpg
/home/pi/Desktop/images/05122025/13/50/image_05122025_13_50_25_10622.jpg
/home/pi/Desktop/images/05122025/13/50/image_05122025_13_50_35_9660.jpg
/home/pi/Desktop/images/05122025/13/50/image_05122025_13_50_45_9568.jpg
/home/pi/Desktop/images/05122025/13/50/image_05122025_13_50_55_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093166","1398093168","1398093162","1398093170","1398093164","1398093173"],"photo_ids_order":["1398093162","1398093164","1398093166","1398093168","1398093170","1398093173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3dc10a48105efe2120d6ddc2eb3052c4.jpg","text":"TemporaryFile(/tmp/multipartBody1855868414643184180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941662723,"filename":"image_05122025_13_50_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/5/d7a1a3f5da7d0bfa9c4b290cd7ca3aee.jpg","text":"TemporaryFile(/tmp/multipartBody3228877959040679677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941662723,"filename":"image_05122025_13_50_35_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/5/c2b4051c36f7af06f304a4fbdd43f0ba.jpg","text":"TemporaryFile(/tmp/multipartBody6140700733623295269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941662723,"filename":"image_05122025_13_50_05_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/5/170391696e9bc9af085f31a2dc8e7105.jpg","text":"TemporaryFile(/tmp/multipartBody6922554135565734633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941662723,"filename":"image_05122025_13_50_45_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47d66619d2fcea394ee2691e221635f9.jpg","text":"TemporaryFile(/tmp/multipartBody7504948177535694828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941662723,"filename":"image_05122025_13_50_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/5/c6817af77e795f8fc6c84e7a7acc917a.jpg","text":"TemporaryFile(/tmp/multipartBody5029933826050231779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941662723,"filename":"image_05122025_13_50_55_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093166","file1":"1398093164","file0":"1398093162","file4":"1398093170","file5":"1398093173","file3":"1398093168"},"map_files_photo_id_array":[{"photo_id":"1398093173","filename":"file5"},{"photo_id":"1398093166","filename":"file2"},{"photo_id":"1398093170","filename":"file4"},{"photo_id":"1398093164","filename":"file1"},{"photo_id":"1398093162","filename":"file0"},{"photo_id":"1398093168","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093166":["hashtag1","hashtag2"]},{"1398093168":["hashtag1","hashtag2"]},{"1398093162":["hashtag1","hashtag2"]},{"1398093170":["hashtag1","hashtag2"]},{"1398093164":["hashtag1","hashtag2"]},{"1398093173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093166, 1398093168, 1398093162, 1398093170, 1398093164, 1398093173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.719645261764526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:34:02.894115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/50/image_05122025_13_51_05_9693.jpg', '/home/pi/Desktop/images/05122025/13/51/image_05122025_13_51_15_9662.jpg', '/home/pi/Desktop/images/05122025/13/51/image_05122025_13_51_25_10760.jpg', '/home/pi/Desktop/images/05122025/13/51/image_05122025_13_51_35_9574.jpg', '/home/pi/Desktop/images/05122025/13/51/image_05122025_13_52_05_9667.jpg', '/home/pi/Desktop/images/05122025/13/52/image_05122025_13_52_15_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/50/image_05122025_13_51_05_9693.jpg
/home/pi/Desktop/images/05122025/13/51/image_05122025_13_51_15_9662.jpg
/home/pi/Desktop/images/05122025/13/51/image_05122025_13_51_25_10760.jpg
/home/pi/Desktop/images/05122025/13/51/image_05122025_13_51_35_9574.jpg
/home/pi/Desktop/images/05122025/13/51/image_05122025_13_52_05_9667.jpg
/home/pi/Desktop/images/05122025/13/52/image_05122025_13_52_15_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093181","1398093175","1398093187","1398093183","1398093177","1398093179"],"photo_ids_order":["1398093175","1398093177","1398093179","1398093181","1398093183","1398093187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5294a5ca06240aeb3ca40874b2dd201e.jpg","text":"TemporaryFile(/tmp/multipartBody5293122129626843478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941703639,"filename":"image_05122025_13_51_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/5/ef07d98a3c68e51f58515d52972943c7.jpg","text":"TemporaryFile(/tmp/multipartBody7578841569072915844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941703639,"filename":"image_05122025_13_51_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/5/8177a61a80ae0b13de06c580e0c1d905.jpg","text":"TemporaryFile(/tmp/multipartBody9200367227620588543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941703639,"filename":"image_05122025_13_52_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/5/4fb29a60372dc5e357764c9bec32dbda.jpg","text":"TemporaryFile(/tmp/multipartBody7780216255978262604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941703639,"filename":"image_05122025_13_52_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/5/0e9775e51f67c635fc3b4b43d637a1ef.jpg","text":"TemporaryFile(/tmp/multipartBody4939049198022379731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941703639,"filename":"image_05122025_13_51_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/5/fa37f269ff87e66e8c065d9d90cc361a.jpg","text":"TemporaryFile(/tmp/multipartBody4138851072358157862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941703639,"filename":"image_05122025_13_51_25_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093179","file1":"1398093177","file0":"1398093175","file4":"1398093183","file5":"1398093187","file3":"1398093181"},"map_files_photo_id_array":[{"photo_id":"1398093187","filename":"file5"},{"photo_id":"1398093179","filename":"file2"},{"photo_id":"1398093183","filename":"file4"},{"photo_id":"1398093177","filename":"file1"},{"photo_id":"1398093175","filename":"file0"},{"photo_id":"1398093181","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093181":["hashtag1","hashtag2"]},{"1398093175":["hashtag1","hashtag2"]},{"1398093187":["hashtag1","hashtag2"]},{"1398093183":["hashtag1","hashtag2"]},{"1398093177":["hashtag1","hashtag2"]},{"1398093179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093181, 1398093175, 1398093187, 1398093183, 1398093177, 1398093179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43842387199402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:34:42.167197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_06_2597.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_10_3792.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_12_2747.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_15_2642.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_18_3558.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_21_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_06_2597.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_10_3792.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_12_2747.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_15_2642.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_18_3558.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_21_2697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093203","1398093206","1398093198","1398093205","1398093204","1398093213"],"photo_ids_order":["1398093198","1398093203","1398093204","1398093205","1398093206","1398093213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4eb80aed8cbea6a5a9f93097faf2c41.jpg","text":"TemporaryFile(/tmp/multipartBody7240043770583822796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941743816,"filename":"image_31102025_19_48_10_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/5/50412b08f4d0c700620bc31440e30f37.jpg","text":"TemporaryFile(/tmp/multipartBody170641129855650637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941743816,"filename":"image_31102025_19_48_18_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/5/001522dec5b531bbd38d606a6f3fe482.jpg","text":"TemporaryFile(/tmp/multipartBody7136271308270613704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941743816,"filename":"image_31102025_19_48_06_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dd444e4230738f58981b4c07b1d767e1.jpg","text":"TemporaryFile(/tmp/multipartBody3009851029560101911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941743816,"filename":"image_31102025_19_48_15_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/5/565e2994fd9fd4ce2e275867050558db.jpg","text":"TemporaryFile(/tmp/multipartBody6732808930807045416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941743816,"filename":"image_31102025_19_48_12_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/5/22dc3fa3a1b8a4588fce07fed7ed8125.jpg","text":"TemporaryFile(/tmp/multipartBody7429822555713188019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941743816,"filename":"image_31102025_19_48_21_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093204","file1":"1398093203","file0":"1398093198","file4":"1398093206","file5":"1398093213","file3":"1398093205"},"map_files_photo_id_array":[{"photo_id":"1398093213","filename":"file5"},{"photo_id":"1398093204","filename":"file2"},{"photo_id":"1398093206","filename":"file4"},{"photo_id":"1398093203","filename":"file1"},{"photo_id":"1398093198","filename":"file0"},{"photo_id":"1398093205","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398093203":["hashtag1","hashtag2"]},{"1398093206":["hashtag1","hashtag2"]},{"1398093198":["hashtag1","hashtag2"]},{"1398093205":["hashtag1","hashtag2"]},{"1398093204":["hashtag1","hashtag2"]},{"1398093213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398093203, 1398093206, 1398093198, 1398093205, 1398093204, 1398093213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.852848529815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:35:32.258143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/36/image_02122025_20_36_15_9704.jpg', '/home/pi/Desktop/images/02122025/20/36/image_02122025_20_36_25_9687.jpg', '/home/pi/Desktop/images/02122025/20/36/image_02122025_20_36_36_10911.jpg', '/home/pi/Desktop/images/02122025/20/36/image_02122025_20_36_55_9729.jpg', '/home/pi/Desktop/images/02122025/20/37/image_02122025_20_37_35_9565.jpg', '/home/pi/Desktop/images/02122025/20/37/image_02122025_20_37_46_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/36/image_02122025_20_36_15_9704.jpg
/home/pi/Desktop/images/02122025/20/36/image_02122025_20_36_25_9687.jpg
/home/pi/Desktop/images/02122025/20/36/image_02122025_20_36_36_10911.jpg
/home/pi/Desktop/images/02122025/20/36/image_02122025_20_36_55_9729.jpg
/home/pi/Desktop/images/02122025/20/37/image_02122025_20_37_35_9565.jpg
/home/pi/Desktop/images/02122025/20/37/image_02122025_20_37_46_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093242","1398093244","1398093238","1398093226","1398093229","1398093227"],"photo_ids_order":["1398093226","1398093227","1398093229","1398093238","1398093242","1398093244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/90b1087f9dbc29e8d6cd5654cd930ab3.jpg","text":"TemporaryFile(/tmp/multipartBody2584954315225529795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941794458,"filename":"image_02122025_20_37_35_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/5/95b82209e50fc7ee333d1f06abe6450d.jpg","text":"TemporaryFile(/tmp/multipartBody1687616138241564794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941794458,"filename":"image_02122025_20_37_46_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/822770e1d376d2360b914cc68b843adb.jpg","text":"TemporaryFile(/tmp/multipartBody2298833471254710199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941794458,"filename":"image_02122025_20_36_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/5/6136c50007fff8d94ad90c9a22ae6d17.jpg","text":"TemporaryFile(/tmp/multipartBody144461863704301481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941794458,"filename":"image_02122025_20_36_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/5/d51f72f2204685754a002edc9eef5518.jpg","text":"TemporaryFile(/tmp/multipartBody1805895494433487536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941794458,"filename":"image_02122025_20_36_36_10911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6bd844196c19c3f7c58b2a6408605bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4912306078910832887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941794458,"filename":"image_02122025_20_36_25_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093229","file1":"1398093227","file0":"1398093226","file4":"1398093242","file5":"1398093244","file3":"1398093238"},"map_files_photo_id_array":[{"photo_id":"1398093244","filename":"file5"},{"photo_id":"1398093229","filename":"file2"},{"photo_id":"1398093242","filename":"file4"},{"photo_id":"1398093227","filename":"file1"},{"photo_id":"1398093226","filename":"file0"},{"photo_id":"1398093238","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398093242":["hashtag1","hashtag2"]},{"1398093244":["hashtag1","hashtag2"]},{"1398093238":["hashtag1","hashtag2"]},{"1398093226":["hashtag1","hashtag2"]},{"1398093229":["hashtag1","hashtag2"]},{"1398093227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398093242, 1398093244, 1398093238, 1398093226, 1398093229, 1398093227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78581643104553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:36:12.573678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/38/image_02122025_20_38_25_9689.jpg', '/home/pi/Desktop/images/02122025/20/38/image_02122025_20_38_55_10640.jpg', '/home/pi/Desktop/images/02122025/20/39/image_02122025_20_39_45_9604.jpg', '/home/pi/Desktop/images/02122025/20/40/image_02122025_20_40_15_9700.jpg', '/home/pi/Desktop/images/02122025/20/41/image_02122025_20_41_15_9671.jpg', '/home/pi/Desktop/images/02122025/20/42/image_02122025_20_42_35_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/38/image_02122025_20_38_25_9689.jpg
/home/pi/Desktop/images/02122025/20/38/image_02122025_20_38_55_10640.jpg
/home/pi/Desktop/images/02122025/20/39/image_02122025_20_39_45_9604.jpg
/home/pi/Desktop/images/02122025/20/40/image_02122025_20_40_15_9700.jpg
/home/pi/Desktop/images/02122025/20/41/image_02122025_20_41_15_9671.jpg
/home/pi/Desktop/images/02122025/20/42/image_02122025_20_42_35_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093250","1398093252","1398093246","1398093251","1398093245","1398093248"],"photo_ids_order":["1398093245","1398093246","1398093248","1398093250","1398093251","1398093252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a99f0d54d350184e5fba9722b1ae9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4356716948571684516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941834658,"filename":"image_02122025_20_40_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/5/0c104bffe3ea76614702cd3a0305b624.jpg","text":"TemporaryFile(/tmp/multipartBody7649179003545673941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941834658,"filename":"image_02122025_20_42_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/5/0d5808f695e8dbcda09bd2f90a963dd7.jpg","text":"TemporaryFile(/tmp/multipartBody5918115521821763030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941834658,"filename":"image_02122025_20_38_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/5/1bea78614eb3cb33d144af52008cac73.jpg","text":"TemporaryFile(/tmp/multipartBody1410682577545870910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941834658,"filename":"image_02122025_20_41_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/5/51834f35bbf5fe0cd5ab10213ca3277b.jpg","text":"TemporaryFile(/tmp/multipartBody4860902995116858973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941834658,"filename":"image_02122025_20_38_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/5/066aece4915df2e6c4c26465b09f0a75.jpg","text":"TemporaryFile(/tmp/multipartBody7943430299646314994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941834658,"filename":"image_02122025_20_39_45_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093248","file1":"1398093246","file0":"1398093245","file4":"1398093251","file5":"1398093252","file3":"1398093250"},"map_files_photo_id_array":[{"photo_id":"1398093252","filename":"file5"},{"photo_id":"1398093248","filename":"file2"},{"photo_id":"1398093251","filename":"file4"},{"photo_id":"1398093246","filename":"file1"},{"photo_id":"1398093245","filename":"file0"},{"photo_id":"1398093250","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398093250":["hashtag1","hashtag2"]},{"1398093252":["hashtag1","hashtag2"]},{"1398093246":["hashtag1","hashtag2"]},{"1398093251":["hashtag1","hashtag2"]},{"1398093245":["hashtag1","hashtag2"]},{"1398093248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398093250, 1398093252, 1398093246, 1398093251, 1398093245, 1398093248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.839871406555176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:37:03.378672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/52/image_05122025_13_52_25_10762.jpg', '/home/pi/Desktop/images/05122025/13/52/image_05122025_13_52_35_9601.jpg', '/home/pi/Desktop/images/05122025/13/52/image_05122025_13_52_45_9665.jpg', '/home/pi/Desktop/images/05122025/13/52/image_05122025_13_52_55_10641.jpg', '/home/pi/Desktop/images/05122025/13/52/image_05122025_13_53_05_9829.jpg', '/home/pi/Desktop/images/05122025/13/53/image_05122025_13_53_15_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/52/image_05122025_13_52_25_10762.jpg
/home/pi/Desktop/images/05122025/13/52/image_05122025_13_52_35_9601.jpg
/home/pi/Desktop/images/05122025/13/52/image_05122025_13_52_45_9665.jpg
/home/pi/Desktop/images/05122025/13/52/image_05122025_13_52_55_10641.jpg
/home/pi/Desktop/images/05122025/13/52/image_05122025_13_53_05_9829.jpg
/home/pi/Desktop/images/05122025/13/53/image_05122025_13_53_15_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093268","1398093270","1398093264","1398093272","1398093266","1398093269"],"photo_ids_order":["1398093264","1398093266","1398093268","1398093269","1398093270","1398093272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1cfa5f3eeec7b609ccc0db507d78ecc7.jpg","text":"TemporaryFile(/tmp/multipartBody5670993786827947762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941884058,"filename":"image_05122025_13_52_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/5/0fa6e152fe1dfecce536b3fef0e213ca.jpg","text":"TemporaryFile(/tmp/multipartBody7810396182068358213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941884058,"filename":"image_05122025_13_53_05_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/5/1f5f800738abd31525500c1a2caea81d.jpg","text":"TemporaryFile(/tmp/multipartBody7848274073173358023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941884058,"filename":"image_05122025_13_52_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/5/591b63159f902557a3e37f35f3d29017.jpg","text":"TemporaryFile(/tmp/multipartBody2073553066204745688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941884058,"filename":"image_05122025_13_53_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/5/4c122641f8ed39a5484767bc50f1dff3.jpg","text":"TemporaryFile(/tmp/multipartBody2668129637792748742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941884058,"filename":"image_05122025_13_52_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/5/1e0df6cefeef72d438a9e2f1879369b6.jpg","text":"TemporaryFile(/tmp/multipartBody4487020190019480431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941884058,"filename":"image_05122025_13_52_55_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093268","file1":"1398093266","file0":"1398093264","file4":"1398093270","file5":"1398093272","file3":"1398093269"},"map_files_photo_id_array":[{"photo_id":"1398093272","filename":"file5"},{"photo_id":"1398093268","filename":"file2"},{"photo_id":"1398093270","filename":"file4"},{"photo_id":"1398093266","filename":"file1"},{"photo_id":"1398093264","filename":"file0"},{"photo_id":"1398093269","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093268":["hashtag1","hashtag2"]},{"1398093270":["hashtag1","hashtag2"]},{"1398093264":["hashtag1","hashtag2"]},{"1398093272":["hashtag1","hashtag2"]},{"1398093266":["hashtag1","hashtag2"]},{"1398093269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093268, 1398093270, 1398093264, 1398093272, 1398093266, 1398093269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02497673034668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:37:42.875380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_24_2577.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_27_3699.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_36_3714.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_39_2763.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_45_3554.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_51_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_24_2577.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_27_3699.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_36_3714.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_39_2763.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_45_3554.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_51_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":["1398093283","1398093277","1398093279","1398093281","1398093284","1398093287"],"photo_ids_order":["1398093277","1398093279","1398093281","1398093283","1398093284","1398093287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f03f953152742005e41683d727cea5d1.jpg","text":"TemporaryFile(/tmp/multipartBody9208670309176529675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941924509,"filename":"image_31102025_19_48_39_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/5/680e4bb53ec8188ef853f1ad345f55a3.jpg","text":"TemporaryFile(/tmp/multipartBody2233078634611204644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941924509,"filename":"image_31102025_19_48_24_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/5/76bea5d4c8e3c3c9693dd8dd90c7a35d.jpg","text":"TemporaryFile(/tmp/multipartBody3715232214849026605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941924509,"filename":"image_31102025_19_48_27_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/5/215ac347a950d14afe3c5a5db529a260.jpg","text":"TemporaryFile(/tmp/multipartBody7614544726712241548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941924509,"filename":"image_31102025_19_48_36_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/5/0e37a2c32bc477f8530240aabadd9038.jpg","text":"TemporaryFile(/tmp/multipartBody4943499916480083843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941924509,"filename":"image_31102025_19_48_45_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/5/0508d13a4547cbaac5f70270e8b6bcd2.jpg","text":"TemporaryFile(/tmp/multipartBody539469311503521294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941924509,"filename":"image_31102025_19_48_51_2852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093281","file1":"1398093279","file0":"1398093277","file4":"1398093284","file5":"1398093287","file3":"1398093283"},"map_files_photo_id_array":[{"photo_id":"1398093287","filename":"file5"},{"photo_id":"1398093281","filename":"file2"},{"photo_id":"1398093284","filename":"file4"},{"photo_id":"1398093279","filename":"file1"},{"photo_id":"1398093277","filename":"file0"},{"photo_id":"1398093283","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398093283":["hashtag1","hashtag2"]},{"1398093277":["hashtag1","hashtag2"]},{"1398093279":["hashtag1","hashtag2"]},{"1398093281":["hashtag1","hashtag2"]},{"1398093284":["hashtag1","hashtag2"]},{"1398093287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398093283, 1398093277, 1398093279, 1398093281, 1398093284, 1398093287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.488605976104736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:38:22.118780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/53/image_05122025_13_53_25_10621.jpg', '/home/pi/Desktop/images/05122025/13/53/image_05122025_13_53_35_9648.jpg', '/home/pi/Desktop/images/05122025/13/53/image_05122025_13_53_45_9618.jpg', '/home/pi/Desktop/images/05122025/13/53/image_05122025_13_53_55_10679.jpg', '/home/pi/Desktop/images/05122025/13/53/image_05122025_13_54_05_9705.jpg', '/home/pi/Desktop/images/05122025/13/54/image_05122025_13_54_15_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/53/image_05122025_13_53_25_10621.jpg
/home/pi/Desktop/images/05122025/13/53/image_05122025_13_53_35_9648.jpg
/home/pi/Desktop/images/05122025/13/53/image_05122025_13_53_45_9618.jpg
/home/pi/Desktop/images/05122025/13/53/image_05122025_13_53_55_10679.jpg
/home/pi/Desktop/images/05122025/13/53/image_05122025_13_54_05_9705.jpg
/home/pi/Desktop/images/05122025/13/54/image_05122025_13_54_15_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":["1398093292","1398093298","1398093291","1398093304","1398093294","1398093300"],"photo_ids_order":["1398093291","1398093292","1398093294","1398093298","1398093300","1398093304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/05f3c6cdb21b49133193c8998fab04cf.jpg","text":"TemporaryFile(/tmp/multipartBody1132751315106506407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941962741,"filename":"image_05122025_13_53_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/5/9d71116565d6e14c837232bbc46bf035.jpg","text":"TemporaryFile(/tmp/multipartBody2285320560424732180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941962741,"filename":"image_05122025_13_53_55_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bca8182769074c97706285a309e28684.jpg","text":"TemporaryFile(/tmp/multipartBody6784377524215316161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941962741,"filename":"image_05122025_13_53_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/5/8335e0c67792e3e879fe92ffe507a96d.jpg","text":"TemporaryFile(/tmp/multipartBody5506703621639438455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941962741,"filename":"image_05122025_13_54_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/5/4afb7a34f8c2bdce7a19add0e6708b71.jpg","text":"TemporaryFile(/tmp/multipartBody5818361658507712144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941962741,"filename":"image_05122025_13_53_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb5f074cf61800819f0394be0274233f.jpg","text":"TemporaryFile(/tmp/multipartBody5186660816261427047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764941962741,"filename":"image_05122025_13_54_05_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093294","file1":"1398093292","file0":"1398093291","file4":"1398093300","file5":"1398093304","file3":"1398093298"},"map_files_photo_id_array":[{"photo_id":"1398093304","filename":"file5"},{"photo_id":"1398093294","filename":"file2"},{"photo_id":"1398093300","filename":"file4"},{"photo_id":"1398093292","filename":"file1"},{"photo_id":"1398093291","filename":"file0"},{"photo_id":"1398093298","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093292":["hashtag1","hashtag2"]},{"1398093298":["hashtag1","hashtag2"]},{"1398093291":["hashtag1","hashtag2"]},{"1398093304":["hashtag1","hashtag2"]},{"1398093294":["hashtag1","hashtag2"]},{"1398093300":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093292, 1398093298, 1398093291, 1398093304, 1398093294, 1398093300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38141489028931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:39:03.256060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/54/image_05122025_13_54_25_10698.jpg', '/home/pi/Desktop/images/05122025/13/54/image_05122025_13_54_35_9737.jpg', '/home/pi/Desktop/images/05122025/13/54/image_05122025_13_54_45_9726.jpg', '/home/pi/Desktop/images/05122025/13/54/image_05122025_13_54_55_9739.jpg', '/home/pi/Desktop/images/05122025/13/54/image_05122025_13_55_05_10678.jpg', '/home/pi/Desktop/images/05122025/13/55/image_05122025_13_55_15_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/54/image_05122025_13_54_25_10698.jpg
/home/pi/Desktop/images/05122025/13/54/image_05122025_13_54_35_9737.jpg
/home/pi/Desktop/images/05122025/13/54/image_05122025_13_54_45_9726.jpg
/home/pi/Desktop/images/05122025/13/54/image_05122025_13_54_55_9739.jpg
/home/pi/Desktop/images/05122025/13/54/image_05122025_13_55_05_10678.jpg
/home/pi/Desktop/images/05122025/13/55/image_05122025_13_55_15_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":["1398093325","1398093313","1398093316","1398093321","1398093324","1398093318"],"photo_ids_order":["1398093313","1398093316","1398093318","1398093321","1398093324","1398093325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8949f8113f44d50d395d4c31a801ceb5.jpg","text":"TemporaryFile(/tmp/multipartBody2531562498448080781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942003942,"filename":"image_05122025_13_55_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/5/dcd28e0433059b07a17970fbce1560b4.jpg","text":"TemporaryFile(/tmp/multipartBody1891647661566167333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942003942,"filename":"image_05122025_13_54_25_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/5/272c1efefdd8f423955e72f65cdda015.jpg","text":"TemporaryFile(/tmp/multipartBody2733139654318663448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942003942,"filename":"image_05122025_13_54_35_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af676d16d9c4b172153136acb3bf80ac.jpg","text":"TemporaryFile(/tmp/multipartBody1250283160057426264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942003942,"filename":"image_05122025_13_54_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/5/8aaa6b7576f72afb9d19b06ba986d330.jpg","text":"TemporaryFile(/tmp/multipartBody1809065902481600200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942003942,"filename":"image_05122025_13_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/5/f47380339579d96fcd9fd3abceedf78d.jpg","text":"TemporaryFile(/tmp/multipartBody6781806911245530297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942003942,"filename":"image_05122025_13_54_45_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093318","file1":"1398093316","file0":"1398093313","file4":"1398093324","file5":"1398093325","file3":"1398093321"},"map_files_photo_id_array":[{"photo_id":"1398093325","filename":"file5"},{"photo_id":"1398093318","filename":"file2"},{"photo_id":"1398093324","filename":"file4"},{"photo_id":"1398093316","filename":"file1"},{"photo_id":"1398093313","filename":"file0"},{"photo_id":"1398093321","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093325":["hashtag1","hashtag2"]},{"1398093313":["hashtag1","hashtag2"]},{"1398093316":["hashtag1","hashtag2"]},{"1398093321":["hashtag1","hashtag2"]},{"1398093324":["hashtag1","hashtag2"]},{"1398093318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093325, 1398093313, 1398093316, 1398093321, 1398093324, 1398093318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08094763755798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:39:42.222351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_54_3594.jpg', '/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_57_2630.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_03_2622.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_09_3558.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_12_2562.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_15_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_54_3594.jpg
/home/pi/Desktop/images/31102025/19/48/image_31102025_19_48_57_2630.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_03_2622.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_09_3558.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_12_2562.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_15_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":["1398093335","1398093331","1398093334","1398093333","1398093330","1398093332"],"photo_ids_order":["1398093330","1398093331","1398093332","1398093333","1398093334","1398093335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ef106372abb01979f392b55f501e3a0.jpg","text":"TemporaryFile(/tmp/multipartBody8393043257684740220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942043904,"filename":"image_31102025_19_49_15_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/5/8eb0dd094c37e5b687ffe874a134998f.jpg","text":"TemporaryFile(/tmp/multipartBody3548501848835362292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942043904,"filename":"image_31102025_19_48_57_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/5/e5c0dbb11845f0e450b8118b169e1eb5.jpg","text":"TemporaryFile(/tmp/multipartBody8751789138353212041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942043904,"filename":"image_31102025_19_49_12_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/5/4f212d7dcef954457855aff561ec17a7.jpg","text":"TemporaryFile(/tmp/multipartBody3616952044420330546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942043904,"filename":"image_31102025_19_49_09_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/5/a5875aac289770351b399109539d1b6f.jpg","text":"TemporaryFile(/tmp/multipartBody1834258850889518276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942043904,"filename":"image_31102025_19_48_54_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/5/889e45688714512282082398a72dd702.jpg","text":"TemporaryFile(/tmp/multipartBody1091573788673045507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942043904,"filename":"image_31102025_19_49_03_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093332","file1":"1398093331","file0":"1398093330","file4":"1398093334","file5":"1398093335","file3":"1398093333"},"map_files_photo_id_array":[{"photo_id":"1398093335","filename":"file5"},{"photo_id":"1398093332","filename":"file2"},{"photo_id":"1398093334","filename":"file4"},{"photo_id":"1398093331","filename":"file1"},{"photo_id":"1398093330","filename":"file0"},{"photo_id":"1398093333","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398093335":["hashtag1","hashtag2"]},{"1398093331":["hashtag1","hashtag2"]},{"1398093334":["hashtag1","hashtag2"]},{"1398093333":["hashtag1","hashtag2"]},{"1398093330":["hashtag1","hashtag2"]},{"1398093332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398093335, 1398093331, 1398093334, 1398093333, 1398093330, 1398093332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21443271636963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:40:22.461640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/55/image_05122025_13_55_25_9724.jpg', '/home/pi/Desktop/images/05122025/13/55/image_05122025_13_55_34_9796.jpg', '/home/pi/Desktop/images/05122025/13/55/image_05122025_13_55_45_10618.jpg', '/home/pi/Desktop/images/05122025/13/55/image_05122025_13_55_55_9691.jpg', '/home/pi/Desktop/images/05122025/13/55/image_05122025_13_56_05_10611.jpg', '/home/pi/Desktop/images/05122025/13/56/image_05122025_13_56_15_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/55/image_05122025_13_55_25_9724.jpg
/home/pi/Desktop/images/05122025/13/55/image_05122025_13_55_34_9796.jpg
/home/pi/Desktop/images/05122025/13/55/image_05122025_13_55_45_10618.jpg
/home/pi/Desktop/images/05122025/13/55/image_05122025_13_55_55_9691.jpg
/home/pi/Desktop/images/05122025/13/55/image_05122025_13_56_05_10611.jpg
/home/pi/Desktop/images/05122025/13/56/image_05122025_13_56_15_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093341","1398093352","1398093346","1398093340","1398093351","1398093344"],"photo_ids_order":["1398093340","1398093341","1398093344","1398093346","1398093351","1398093352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/372d777526b033161cdcb3a3922e3c33.jpg","text":"TemporaryFile(/tmp/multipartBody3413364267204564563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942083081,"filename":"image_05122025_13_55_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/5/e27e49220bf95dba886c4b30b1c11dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6824264148233663708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942083081,"filename":"image_05122025_13_56_15_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abcc5a33fdbc78e3dd31fb0fb96c5ccb.jpg","text":"TemporaryFile(/tmp/multipartBody2121945172987387891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942083081,"filename":"image_05122025_13_55_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/5/d64ff9d7e30461d81a89a7aeda10cc6a.jpg","text":"TemporaryFile(/tmp/multipartBody5710496629776232591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942083081,"filename":"image_05122025_13_55_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/5/4ec90104a76134add399e15f60910ca9.jpg","text":"TemporaryFile(/tmp/multipartBody3121159592885744747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942083081,"filename":"image_05122025_13_56_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/5/9b2082af9fd22bbcfeb05d1e64e8712c.jpg","text":"TemporaryFile(/tmp/multipartBody6808634504793640719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942083081,"filename":"image_05122025_13_55_45_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093344","file1":"1398093341","file0":"1398093340","file4":"1398093351","file5":"1398093352","file3":"1398093346"},"map_files_photo_id_array":[{"photo_id":"1398093352","filename":"file5"},{"photo_id":"1398093344","filename":"file2"},{"photo_id":"1398093351","filename":"file4"},{"photo_id":"1398093341","filename":"file1"},{"photo_id":"1398093340","filename":"file0"},{"photo_id":"1398093346","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093341":["hashtag1","hashtag2"]},{"1398093352":["hashtag1","hashtag2"]},{"1398093346":["hashtag1","hashtag2"]},{"1398093340":["hashtag1","hashtag2"]},{"1398093351":["hashtag1","hashtag2"]},{"1398093344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093341, 1398093352, 1398093346, 1398093340, 1398093351, 1398093344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98461699485779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:41:03.282312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/56/image_05122025_13_56_25_9724.jpg', '/home/pi/Desktop/images/05122025/13/56/image_05122025_13_56_34_9724.jpg', '/home/pi/Desktop/images/05122025/13/56/image_05122025_13_56_45_10669.jpg', '/home/pi/Desktop/images/05122025/13/56/image_05122025_13_56_55_9587.jpg', '/home/pi/Desktop/images/05122025/13/56/image_05122025_13_57_05_9932.jpg', '/home/pi/Desktop/images/05122025/13/57/image_05122025_13_57_15_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/56/image_05122025_13_56_25_9724.jpg
/home/pi/Desktop/images/05122025/13/56/image_05122025_13_56_34_9724.jpg
/home/pi/Desktop/images/05122025/13/56/image_05122025_13_56_45_10669.jpg
/home/pi/Desktop/images/05122025/13/56/image_05122025_13_56_55_9587.jpg
/home/pi/Desktop/images/05122025/13/56/image_05122025_13_57_05_9932.jpg
/home/pi/Desktop/images/05122025/13/57/image_05122025_13_57_15_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093373","1398093375","1398093369","1398093357","1398093371","1398093365"],"photo_ids_order":["1398093357","1398093365","1398093369","1398093371","1398093373","1398093375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b68041fbdaf8598b9a0b88cb2aeb5b85.jpg","text":"TemporaryFile(/tmp/multipartBody8081607172180833799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942123964,"filename":"image_05122025_13_57_05_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/5/95b660df50720cc2ab03e647dd1d3126.jpg","text":"TemporaryFile(/tmp/multipartBody2813856307734537165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942123964,"filename":"image_05122025_13_57_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/5/b5eca534ee7b8699419dee26068dc821.jpg","text":"TemporaryFile(/tmp/multipartBody8724061426561885729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942123964,"filename":"image_05122025_13_56_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a1ef1d07f948cf30f14a8f0498aeb13a.jpg","text":"TemporaryFile(/tmp/multipartBody6364339677899654004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942123964,"filename":"image_05122025_13_56_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/5/6bed35bfe5a9ebb9393cccc8771aff42.jpg","text":"TemporaryFile(/tmp/multipartBody484033411062976880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942123964,"filename":"image_05122025_13_56_55_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/5/a4456a9cefb251cd90de41fa68106de3.jpg","text":"TemporaryFile(/tmp/multipartBody4103245638679993409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942123964,"filename":"image_05122025_13_56_34_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093369","file1":"1398093365","file0":"1398093357","file4":"1398093373","file5":"1398093375","file3":"1398093371"},"map_files_photo_id_array":[{"photo_id":"1398093375","filename":"file5"},{"photo_id":"1398093369","filename":"file2"},{"photo_id":"1398093373","filename":"file4"},{"photo_id":"1398093365","filename":"file1"},{"photo_id":"1398093357","filename":"file0"},{"photo_id":"1398093371","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093373":["hashtag1","hashtag2"]},{"1398093375":["hashtag1","hashtag2"]},{"1398093369":["hashtag1","hashtag2"]},{"1398093357":["hashtag1","hashtag2"]},{"1398093371":["hashtag1","hashtag2"]},{"1398093365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093373, 1398093375, 1398093369, 1398093357, 1398093371, 1398093365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4115788936615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:41:42.544154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_18_3707.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_21_2756.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_24_2848.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_27_2718.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_30_3675.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_33_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_18_3707.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_21_2756.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_24_2848.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_27_2718.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_30_3675.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_33_2758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093391","1398093388","1398093387","1398093389","1398093383","1398093386"],"photo_ids_order":["1398093383","1398093386","1398093387","1398093388","1398093389","1398093391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3871d08c3358e5876716ca0079eb5260.jpg","text":"TemporaryFile(/tmp/multipartBody3566306717757097171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942164172,"filename":"image_31102025_19_49_33_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/5/4697d35bc685dd4dccda134f9857c6d8.jpg","text":"TemporaryFile(/tmp/multipartBody2094951954481002353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942164172,"filename":"image_31102025_19_49_27_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/5/8b62ca899550a7fe1599f687e8d91d8c.jpg","text":"TemporaryFile(/tmp/multipartBody964608973834421586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942164172,"filename":"image_31102025_19_49_24_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/5/de1491ce042adc98470b698078a87362.jpg","text":"TemporaryFile(/tmp/multipartBody4698855055477679490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942164172,"filename":"image_31102025_19_49_30_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9036f3f020697452bf4bd691e3904c27.jpg","text":"TemporaryFile(/tmp/multipartBody3299240660401508142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942164172,"filename":"image_31102025_19_49_18_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/5/f39b30baf2bc924bc07b7ffc20b44da0.jpg","text":"TemporaryFile(/tmp/multipartBody5260242359014407372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942164172,"filename":"image_31102025_19_49_21_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093387","file1":"1398093386","file0":"1398093383","file4":"1398093389","file5":"1398093391","file3":"1398093388"},"map_files_photo_id_array":[{"photo_id":"1398093391","filename":"file5"},{"photo_id":"1398093387","filename":"file2"},{"photo_id":"1398093389","filename":"file4"},{"photo_id":"1398093386","filename":"file1"},{"photo_id":"1398093383","filename":"file0"},{"photo_id":"1398093388","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398093391":["hashtag1","hashtag2"]},{"1398093388":["hashtag1","hashtag2"]},{"1398093387":["hashtag1","hashtag2"]},{"1398093389":["hashtag1","hashtag2"]},{"1398093383":["hashtag1","hashtag2"]},{"1398093386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398093391, 1398093388, 1398093387, 1398093389, 1398093383, 1398093386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52403807640076 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-05 14:42:32.705262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/43/image_02122025_20_43_15_9676.jpg', '/home/pi/Desktop/images/02122025/20/44/image_02122025_20_44_15_10595.jpg', '/home/pi/Desktop/images/02122025/20/45/image_02122025_20_45_15_9694.jpg', '/home/pi/Desktop/images/02122025/20/45/image_02122025_20_45_45_9799.jpg', '/home/pi/Desktop/images/02122025/20/45/image_02122025_20_45_55_9710.jpg', '/home/pi/Desktop/images/02122025/20/46/image_02122025_20_46_36_10874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/43/image_02122025_20_43_15_9676.jpg
/home/pi/Desktop/images/02122025/20/44/image_02122025_20_44_15_10595.jpg
/home/pi/Desktop/images/02122025/20/45/image_02122025_20_45_15_9694.jpg
/home/pi/Desktop/images/02122025/20/45/image_02122025_20_45_45_9799.jpg
/home/pi/Desktop/images/02122025/20/45/image_02122025_20_45_55_9710.jpg
/home/pi/Desktop/images/02122025/20/46/image_02122025_20_46_36_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":["1398093413","1398093401","1398093412","1398093414","1398093411","1398093408"],"photo_ids_order":["1398093401","1398093408","1398093411","1398093412","1398093413","1398093414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4da79c7daaa8615c8d83cabb38b10b0b.jpg","text":"TemporaryFile(/tmp/multipartBody7785824987856880822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942214902,"filename":"image_02122025_20_45_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/5/5c135afb5d7dbfaf57793ab19d85c37a.jpg","text":"TemporaryFile(/tmp/multipartBody9078968879831010257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942214902,"filename":"image_02122025_20_43_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/5/b5e39cca504d69f91437d0a1655ffedd.jpg","text":"TemporaryFile(/tmp/multipartBody6449945186274960349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942214902,"filename":"image_02122025_20_45_45_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5a87e442dff2e73bcd29005b9c636a3.jpg","text":"TemporaryFile(/tmp/multipartBody6229854746724935210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942214902,"filename":"image_02122025_20_46_36_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/5/b4039f1e8e7c5e00925b4382baa06359.jpg","text":"TemporaryFile(/tmp/multipartBody6836369085855423139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942214902,"filename":"image_02122025_20_45_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/5/55720989d3c87f3e134264039694db9f.jpg","text":"TemporaryFile(/tmp/multipartBody7597180112157539308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942214902,"filename":"image_02122025_20_44_15_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093411","file1":"1398093408","file0":"1398093401","file4":"1398093413","file5":"1398093414","file3":"1398093412"},"map_files_photo_id_array":[{"photo_id":"1398093414","filename":"file5"},{"photo_id":"1398093411","filename":"file2"},{"photo_id":"1398093413","filename":"file4"},{"photo_id":"1398093408","filename":"file1"},{"photo_id":"1398093401","filename":"file0"},{"photo_id":"1398093412","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398093413":["hashtag1","hashtag2"]},{"1398093401":["hashtag1","hashtag2"]},{"1398093412":["hashtag1","hashtag2"]},{"1398093414":["hashtag1","hashtag2"]},{"1398093411":["hashtag1","hashtag2"]},{"1398093408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398093413, 1398093401, 1398093412, 1398093414, 1398093411, 1398093408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04663419723511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:43:11.883562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/46/image_02122025_20_46_45_9716.jpg', '/home/pi/Desktop/images/02122025/20/46/image_02122025_20_46_55_9765.jpg', '/home/pi/Desktop/images/02122025/20/47/image_02122025_20_47_15_10676.jpg', '/home/pi/Desktop/images/02122025/20/47/image_02122025_20_47_25_9642.jpg', '/home/pi/Desktop/images/02122025/20/47/image_02122025_20_47_35_9772.jpg', '/home/pi/Desktop/images/02122025/20/47/image_02122025_20_47_45_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/46/image_02122025_20_46_45_9716.jpg
/home/pi/Desktop/images/02122025/20/46/image_02122025_20_46_55_9765.jpg
/home/pi/Desktop/images/02122025/20/47/image_02122025_20_47_15_10676.jpg
/home/pi/Desktop/images/02122025/20/47/image_02122025_20_47_25_9642.jpg
/home/pi/Desktop/images/02122025/20/47/image_02122025_20_47_35_9772.jpg
/home/pi/Desktop/images/02122025/20/47/image_02122025_20_47_45_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093428","1398093419","1398093424","1398093421","1398093417","1398093426"],"photo_ids_order":["1398093417","1398093419","1398093421","1398093424","1398093426","1398093428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a3df3da6ac57605653d3f7b168832de4.jpg","text":"TemporaryFile(/tmp/multipartBody5842611850209535780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942253940,"filename":"image_02122025_20_47_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/5/be7d3258c752fa3b5c52b462d41feca5.jpg","text":"TemporaryFile(/tmp/multipartBody3541305888313863611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942253940,"filename":"image_02122025_20_46_55_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/5/4a3ed70ebd498a7bee03d5b13bf978c7.jpg","text":"TemporaryFile(/tmp/multipartBody1945522671730693115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942253940,"filename":"image_02122025_20_47_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/5/3f35451ecd89629970d35c6588a6ead9.jpg","text":"TemporaryFile(/tmp/multipartBody2227981314454211762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942253940,"filename":"image_02122025_20_47_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/5/211fce08de53b03e588d940fdd43aeba.jpg","text":"TemporaryFile(/tmp/multipartBody3810892986311146841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942253940,"filename":"image_02122025_20_46_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bd02da113f61d2dc0d420540f4091579.jpg","text":"TemporaryFile(/tmp/multipartBody8376861768274076525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942253940,"filename":"image_02122025_20_47_35_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093421","file1":"1398093419","file0":"1398093417","file4":"1398093426","file5":"1398093428","file3":"1398093424"},"map_files_photo_id_array":[{"photo_id":"1398093428","filename":"file5"},{"photo_id":"1398093421","filename":"file2"},{"photo_id":"1398093426","filename":"file4"},{"photo_id":"1398093419","filename":"file1"},{"photo_id":"1398093417","filename":"file0"},{"photo_id":"1398093424","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398093428":["hashtag1","hashtag2"]},{"1398093419":["hashtag1","hashtag2"]},{"1398093424":["hashtag1","hashtag2"]},{"1398093421":["hashtag1","hashtag2"]},{"1398093417":["hashtag1","hashtag2"]},{"1398093426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398093428, 1398093419, 1398093424, 1398093421, 1398093417, 1398093426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22596836090088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:44:03.512456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/57/image_05122025_13_57_25_9621.jpg', '/home/pi/Desktop/images/05122025/13/57/image_05122025_13_57_34_9612.jpg', '/home/pi/Desktop/images/05122025/13/57/image_05122025_13_57_45_10748.jpg', '/home/pi/Desktop/images/05122025/13/57/image_05122025_13_57_55_9635.jpg', '/home/pi/Desktop/images/05122025/13/57/image_05122025_13_58_04_9614.jpg', '/home/pi/Desktop/images/05122025/13/58/image_05122025_13_58_15_10805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/57/image_05122025_13_57_25_9621.jpg
/home/pi/Desktop/images/05122025/13/57/image_05122025_13_57_34_9612.jpg
/home/pi/Desktop/images/05122025/13/57/image_05122025_13_57_45_10748.jpg
/home/pi/Desktop/images/05122025/13/57/image_05122025_13_57_55_9635.jpg
/home/pi/Desktop/images/05122025/13/57/image_05122025_13_58_04_9614.jpg
/home/pi/Desktop/images/05122025/13/58/image_05122025_13_58_15_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":["1398093449","1398093440","1398093460","1398093463","1398093458","1398093443"],"photo_ids_order":["1398093440","1398093443","1398093449","1398093458","1398093460","1398093463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49e1f9649ba8e3085be4b19a6cf700e0.jpg","text":"TemporaryFile(/tmp/multipartBody8314520276744005456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942304153,"filename":"image_05122025_13_57_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/5/30ff37a2776b03db8462c6875aae5b4b.jpg","text":"TemporaryFile(/tmp/multipartBody8212555078280593702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942304153,"filename":"image_05122025_13_57_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/5/1dd2a851c56d61cf1fa41f9dc639e5fb.jpg","text":"TemporaryFile(/tmp/multipartBody6834516716315132441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942304153,"filename":"image_05122025_13_58_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/5/88d632c13c64956d45267430bf89f7e5.jpg","text":"TemporaryFile(/tmp/multipartBody8201203256745889621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942304153,"filename":"image_05122025_13_58_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/5/603e90fd0a6c9861490903d28caa4b17.jpg","text":"TemporaryFile(/tmp/multipartBody5300305591050876934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942304153,"filename":"image_05122025_13_57_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8441bea5e4c20cc3b1bd6a9def2004c6.jpg","text":"TemporaryFile(/tmp/multipartBody174427676672632457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942304153,"filename":"image_05122025_13_57_34_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093449","file1":"1398093443","file0":"1398093440","file4":"1398093460","file5":"1398093463","file3":"1398093458"},"map_files_photo_id_array":[{"photo_id":"1398093463","filename":"file5"},{"photo_id":"1398093449","filename":"file2"},{"photo_id":"1398093460","filename":"file4"},{"photo_id":"1398093443","filename":"file1"},{"photo_id":"1398093440","filename":"file0"},{"photo_id":"1398093458","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093449":["hashtag1","hashtag2"]},{"1398093440":["hashtag1","hashtag2"]},{"1398093460":["hashtag1","hashtag2"]},{"1398093463":["hashtag1","hashtag2"]},{"1398093458":["hashtag1","hashtag2"]},{"1398093443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093449, 1398093440, 1398093460, 1398093463, 1398093458, 1398093443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72731137275696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:44:42.802107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_39_3601.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_42_2654.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_45_2581.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_48_3796.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_51_2685.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_54_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_39_3601.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_42_2654.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_45_2581.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_48_3796.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_51_2685.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_54_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":["1398093487","1398093477","1398093489","1398093488","1398093482","1398093479"],"photo_ids_order":["1398093477","1398093479","1398093482","1398093487","1398093488","1398093489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc131d87088402f7e47841b4b643c202.jpg","text":"TemporaryFile(/tmp/multipartBody6775588982033143177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942344439,"filename":"image_31102025_19_49_48_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/5/4f5e6e2e8b99b17887456e376ac25ef9.jpg","text":"TemporaryFile(/tmp/multipartBody5725369131328499201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942344439,"filename":"image_31102025_19_49_39_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/5/0f7595ed9c0c9a0a3d35fe08b6a77972.jpg","text":"TemporaryFile(/tmp/multipartBody2107385101941163551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942344439,"filename":"image_31102025_19_49_54_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/5/1e5ea6d6798cbea964ecdc89b299ae6a.jpg","text":"TemporaryFile(/tmp/multipartBody4478877868307890865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942344439,"filename":"image_31102025_19_49_51_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/5/2c46d0354b8f185456a19b3977c161c2.jpg","text":"TemporaryFile(/tmp/multipartBody5411129297969442094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942344439,"filename":"image_31102025_19_49_45_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/5/b6d3c21fd9a58c118ae4d276e05211a5.jpg","text":"TemporaryFile(/tmp/multipartBody1644632122183972382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942344439,"filename":"image_31102025_19_49_42_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093482","file1":"1398093479","file0":"1398093477","file4":"1398093488","file5":"1398093489","file3":"1398093487"},"map_files_photo_id_array":[{"photo_id":"1398093489","filename":"file5"},{"photo_id":"1398093482","filename":"file2"},{"photo_id":"1398093488","filename":"file4"},{"photo_id":"1398093479","filename":"file1"},{"photo_id":"1398093477","filename":"file0"},{"photo_id":"1398093487","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398093487":["hashtag1","hashtag2"]},{"1398093477":["hashtag1","hashtag2"]},{"1398093489":["hashtag1","hashtag2"]},{"1398093488":["hashtag1","hashtag2"]},{"1398093482":["hashtag1","hashtag2"]},{"1398093479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398093487, 1398093477, 1398093489, 1398093488, 1398093482, 1398093479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.806405782699585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:45:21.955622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/58/image_05122025_13_58_25_9609.jpg', '/home/pi/Desktop/images/05122025/13/58/image_05122025_13_58_35_9716.jpg', '/home/pi/Desktop/images/05122025/13/58/image_05122025_13_58_45_10724.jpg', '/home/pi/Desktop/images/05122025/13/58/image_05122025_13_58_55_9561.jpg', '/home/pi/Desktop/images/05122025/13/58/image_05122025_13_59_05_9683.jpg', '/home/pi/Desktop/images/05122025/13/59/image_05122025_13_59_15_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/58/image_05122025_13_58_25_9609.jpg
/home/pi/Desktop/images/05122025/13/58/image_05122025_13_58_35_9716.jpg
/home/pi/Desktop/images/05122025/13/58/image_05122025_13_58_45_10724.jpg
/home/pi/Desktop/images/05122025/13/58/image_05122025_13_58_55_9561.jpg
/home/pi/Desktop/images/05122025/13/58/image_05122025_13_59_05_9683.jpg
/home/pi/Desktop/images/05122025/13/59/image_05122025_13_59_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":["1398093500","1398093502","1398093504","1398093494","1398093507","1398093497"],"photo_ids_order":["1398093494","1398093497","1398093500","1398093502","1398093504","1398093507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/14c9a90e0492b6736949af98b5c83a50.jpg","text":"TemporaryFile(/tmp/multipartBody4101797513403182406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942382580,"filename":"image_05122025_13_58_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/5/b8d59e425a7c421fa8d11a3ea3c94ea8.jpg","text":"TemporaryFile(/tmp/multipartBody1043797131876307929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942382580,"filename":"image_05122025_13_58_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/5/0fee3ac05631171022505f8f48d758c8.jpg","text":"TemporaryFile(/tmp/multipartBody328709610457635347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942382580,"filename":"image_05122025_13_59_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/5/8683de4582927cdf148dde7389afec58.jpg","text":"TemporaryFile(/tmp/multipartBody3772783284555459402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942382580,"filename":"image_05122025_13_58_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/5/30d6a4c977a8ec0682cd39907fc6207b.jpg","text":"TemporaryFile(/tmp/multipartBody8722518128891724912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942382580,"filename":"image_05122025_13_59_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/5/3920b2e9149a720880936a64470b70a8.jpg","text":"TemporaryFile(/tmp/multipartBody5633131035217886446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942382580,"filename":"image_05122025_13_58_35_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093500","file1":"1398093497","file0":"1398093494","file4":"1398093504","file5":"1398093507","file3":"1398093502"},"map_files_photo_id_array":[{"photo_id":"1398093507","filename":"file5"},{"photo_id":"1398093500","filename":"file2"},{"photo_id":"1398093504","filename":"file4"},{"photo_id":"1398093497","filename":"file1"},{"photo_id":"1398093494","filename":"file0"},{"photo_id":"1398093502","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093500":["hashtag1","hashtag2"]},{"1398093502":["hashtag1","hashtag2"]},{"1398093504":["hashtag1","hashtag2"]},{"1398093494":["hashtag1","hashtag2"]},{"1398093507":["hashtag1","hashtag2"]},{"1398093497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093500, 1398093502, 1398093504, 1398093494, 1398093507, 1398093497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51176977157593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:46:02.703099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 14:46:12.085211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 14:46:21.988660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 14:46:32.032580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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 --only_old 1
2025-12-05 14:46:52.764104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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
2025-12-05 14:47:05.884577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 14:47:15.189092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 14:47:25.267940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 14:47:37.585656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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 --only_old 1
2025-12-05 14:47:45.197420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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
2025-12-05 14:48:02.719471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
 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
 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 40 --only_old 1
2025-12-05 14:48:42.510527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_57_3539.jpg', '/home/pi/Desktop/images/31102025/19/49/image_31102025_19_50_00_2717.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_03_2709.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_06_2872.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_09_3607.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_12_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_49_57_3539.jpg
/home/pi/Desktop/images/31102025/19/49/image_31102025_19_50_00_2717.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_03_2709.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_06_2872.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_09_3607.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_12_2787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093574","1398093577","1398093576","1398093573","1398093575","1398093578"],"photo_ids_order":["1398093573","1398093574","1398093575","1398093576","1398093577","1398093578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bd90d418e90e9ea39f91747972a34ffa.jpg","text":"TemporaryFile(/tmp/multipartBody5131644358577026171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942583993,"filename":"image_31102025_19_50_00_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/5/f3ba17da34a82fc54b153fb2c513355d.jpg","text":"TemporaryFile(/tmp/multipartBody8065791361896581441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942583993,"filename":"image_31102025_19_50_09_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/5/f1afa510c4d28fddc3fe3ea02e925189.jpg","text":"TemporaryFile(/tmp/multipartBody5781160622068053066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942583993,"filename":"image_31102025_19_50_06_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b516a7bbb86f2f9e3d7581cf35f5e00.jpg","text":"TemporaryFile(/tmp/multipartBody6058104610652770207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942583993,"filename":"image_31102025_19_49_57_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/5/7360c457e847fbda2a1077d2f66243ad.jpg","text":"TemporaryFile(/tmp/multipartBody5855989317338872954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942583993,"filename":"image_31102025_19_50_03_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/5/b65b8cec0f0e34005d8f252feb9a37d5.jpg","text":"TemporaryFile(/tmp/multipartBody2943234302405219342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942583993,"filename":"image_31102025_19_50_12_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093575","file1":"1398093574","file0":"1398093573","file4":"1398093577","file5":"1398093578","file3":"1398093576"},"map_files_photo_id_array":[{"photo_id":"1398093578","filename":"file5"},{"photo_id":"1398093575","filename":"file2"},{"photo_id":"1398093577","filename":"file4"},{"photo_id":"1398093574","filename":"file1"},{"photo_id":"1398093573","filename":"file0"},{"photo_id":"1398093576","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398093574":["hashtag1","hashtag2"]},{"1398093577":["hashtag1","hashtag2"]},{"1398093576":["hashtag1","hashtag2"]},{"1398093573":["hashtag1","hashtag2"]},{"1398093575":["hashtag1","hashtag2"]},{"1398093578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398093574, 1398093577, 1398093576, 1398093573, 1398093575, 1398093578)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.93706226348877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-05 14:49:39.544966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/47/image_02122025_20_47_55_9592.jpg', '/home/pi/Desktop/images/02122025/20/47/image_02122025_20_48_05_9794.jpg', '/home/pi/Desktop/images/02122025/20/48/image_02122025_20_48_16_10684.jpg', '/home/pi/Desktop/images/02122025/20/48/image_02122025_20_48_25_9684.jpg', '/home/pi/Desktop/images/02122025/20/48/image_02122025_20_48_35_9799.jpg', '/home/pi/Desktop/images/02122025/20/48/image_02122025_20_48_55_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/47/image_02122025_20_47_55_9592.jpg
/home/pi/Desktop/images/02122025/20/47/image_02122025_20_48_05_9794.jpg
/home/pi/Desktop/images/02122025/20/48/image_02122025_20_48_16_10684.jpg
/home/pi/Desktop/images/02122025/20/48/image_02122025_20_48_25_9684.jpg
/home/pi/Desktop/images/02122025/20/48/image_02122025_20_48_35_9799.jpg
/home/pi/Desktop/images/02122025/20/48/image_02122025_20_48_55_9783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093602","1398093595","1398093601","1398093597","1398093600","1398093599"],"photo_ids_order":["1398093595","1398093597","1398093599","1398093600","1398093601","1398093602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac08967f6e368bb22833f3bcd24e3f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8314281397997903606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942642567,"filename":"image_02122025_20_48_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/5/57a8350827ed1404b27887b9dc9f0240.jpg","text":"TemporaryFile(/tmp/multipartBody7355049236983857369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942642567,"filename":"image_02122025_20_47_55_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/5/b22d53c9d13077ac6e01741f8a1a6a39.jpg","text":"TemporaryFile(/tmp/multipartBody2867441999656526312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942642567,"filename":"image_02122025_20_48_35_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/5/26843df207dba6daf568c0701b527d54.jpg","text":"TemporaryFile(/tmp/multipartBody5343570409410704036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942642567,"filename":"image_02122025_20_48_05_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/5/73b7cab630cf513c06d6bae6f1eb6184.jpg","text":"TemporaryFile(/tmp/multipartBody4072019579949880433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942642567,"filename":"image_02122025_20_48_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/5/9ce044d0ef1132791796c212e5abfdca.jpg","text":"TemporaryFile(/tmp/multipartBody5118001009898734955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942642567,"filename":"image_02122025_20_48_16_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093599","file1":"1398093597","file0":"1398093595","file4":"1398093601","file5":"1398093602","file3":"1398093600"},"map_files_photo_id_array":[{"photo_id":"1398093602","filename":"file5"},{"photo_id":"1398093599","filename":"file2"},{"photo_id":"1398093601","filename":"file4"},{"photo_id":"1398093597","filename":"file1"},{"photo_id":"1398093595","filename":"file0"},{"photo_id":"1398093600","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398093602":["hashtag1","hashtag2"]},{"1398093595":["hashtag1","hashtag2"]},{"1398093601":["hashtag1","hashtag2"]},{"1398093597":["hashtag1","hashtag2"]},{"1398093600":["hashtag1","hashtag2"]},{"1398093599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398093602, 1398093595, 1398093601, 1398093597, 1398093600, 1398093599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33377552032471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:50:22.673667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/13/59/image_05122025_13_59_25_9680.jpg', '/home/pi/Desktop/images/05122025/13/59/image_05122025_13_59_35_9707.jpg', '/home/pi/Desktop/images/05122025/13/59/image_05122025_13_59_45_10685.jpg', '/home/pi/Desktop/images/05122025/13/59/image_05122025_13_59_55_9616.jpg', '/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_15_10055.jpg', '/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_25_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/13/59/image_05122025_13_59_25_9680.jpg
/home/pi/Desktop/images/05122025/13/59/image_05122025_13_59_35_9707.jpg
/home/pi/Desktop/images/05122025/13/59/image_05122025_13_59_45_10685.jpg
/home/pi/Desktop/images/05122025/13/59/image_05122025_13_59_55_9616.jpg
/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_15_10055.jpg
/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_25_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093616","1398093612","1398093621","1398093609","1398093618","1398093606"],"photo_ids_order":["1398093606","1398093609","1398093612","1398093616","1398093618","1398093621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc2210dbae73320d165eb64e5a8161ea.jpg","text":"TemporaryFile(/tmp/multipartBody285023351687840369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942683252,"filename":"image_05122025_13_59_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/5/fcdf42510bdef0114e1cb864c05a8f32.jpg","text":"TemporaryFile(/tmp/multipartBody8499193164009288229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942683252,"filename":"image_05122025_13_59_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/5/4dedf4d83e9dc83ac63bc25d358b8a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8752403877367828898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942683252,"filename":"image_05122025_14_00_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/df8b5690eb6f2d5d3892460535959d29.jpg","text":"TemporaryFile(/tmp/multipartBody8002903668392890789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942683252,"filename":"image_05122025_13_59_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/5/cff2ca8f34cba89b115519bebda9c7b0.jpg","text":"TemporaryFile(/tmp/multipartBody7303342085804219827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942683252,"filename":"image_05122025_14_00_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f48f6a82c5976e36d78e17a0b0d09d3.jpg","text":"TemporaryFile(/tmp/multipartBody1452601076502263442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942683252,"filename":"image_05122025_13_59_25_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093612","file1":"1398093609","file0":"1398093606","file4":"1398093618","file5":"1398093621","file3":"1398093616"},"map_files_photo_id_array":[{"photo_id":"1398093621","filename":"file5"},{"photo_id":"1398093612","filename":"file2"},{"photo_id":"1398093618","filename":"file4"},{"photo_id":"1398093609","filename":"file1"},{"photo_id":"1398093606","filename":"file0"},{"photo_id":"1398093616","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093616":["hashtag1","hashtag2"]},{"1398093612":["hashtag1","hashtag2"]},{"1398093621":["hashtag1","hashtag2"]},{"1398093609":["hashtag1","hashtag2"]},{"1398093618":["hashtag1","hashtag2"]},{"1398093606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093616, 1398093612, 1398093621, 1398093609, 1398093618, 1398093606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98345637321472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:51:02.563395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_35_9634.jpg', '/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_46_10582.jpg', '/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_55_9773.jpg', '/home/pi/Desktop/images/05122025/14/00/image_05122025_14_01_05_9651.jpg', '/home/pi/Desktop/images/05122025/14/01/image_05122025_14_01_16_10616.jpg', '/home/pi/Desktop/images/05122025/14/01/image_05122025_14_01_35_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_35_9634.jpg
/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_46_10582.jpg
/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_55_9773.jpg
/home/pi/Desktop/images/05122025/14/00/image_05122025_14_01_05_9651.jpg
/home/pi/Desktop/images/05122025/14/01/image_05122025_14_01_16_10616.jpg
/home/pi/Desktop/images/05122025/14/01/image_05122025_14_01_35_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":["1398093632","1398093629","1398093639","1398093641","1398093635","1398093638"],"photo_ids_order":["1398093629","1398093632","1398093635","1398093638","1398093639","1398093641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/71a5910f41da41d8479c4de7880338a4.jpg","text":"TemporaryFile(/tmp/multipartBody2624638856992193009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942723238,"filename":"image_05122025_14_00_46_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b517e36a8442ac6f1c8e1fc1fdc7b1e2.jpg","text":"TemporaryFile(/tmp/multipartBody6957913515189413169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942723238,"filename":"image_05122025_14_00_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/5/aea1a78a9c41ae5c012f806794c648a5.jpg","text":"TemporaryFile(/tmp/multipartBody1157976799422840857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942723238,"filename":"image_05122025_14_01_16_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/5/104edde8bd6b58e4138e617236a48da9.jpg","text":"TemporaryFile(/tmp/multipartBody1393991520309622794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942723238,"filename":"image_05122025_14_01_35_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/5/3357d69287ff833c8df59b5cf45781be.jpg","text":"TemporaryFile(/tmp/multipartBody8085381901041574908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942723238,"filename":"image_05122025_14_00_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/5/a5bcd8090ec818421ff5ca8eada0b8b0.jpg","text":"TemporaryFile(/tmp/multipartBody1024514397022156737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942723238,"filename":"image_05122025_14_01_05_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093635","file1":"1398093632","file0":"1398093629","file4":"1398093639","file5":"1398093641","file3":"1398093638"},"map_files_photo_id_array":[{"photo_id":"1398093641","filename":"file5"},{"photo_id":"1398093635","filename":"file2"},{"photo_id":"1398093639","filename":"file4"},{"photo_id":"1398093632","filename":"file1"},{"photo_id":"1398093629","filename":"file0"},{"photo_id":"1398093638","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093632":["hashtag1","hashtag2"]},{"1398093629":["hashtag1","hashtag2"]},{"1398093639":["hashtag1","hashtag2"]},{"1398093641":["hashtag1","hashtag2"]},{"1398093635":["hashtag1","hashtag2"]},{"1398093638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093632, 1398093629, 1398093639, 1398093641, 1398093635, 1398093638)","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 = 1398093635 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05122025/14/00/image_05122025_14_00_55_9773.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 93.67808485031128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:52:37.807873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/01/image_05122025_14_01_46_10691.jpg', '/home/pi/Desktop/images/05122025/14/01/image_05122025_14_01_56_10015.jpg', '/home/pi/Desktop/images/05122025/14/01/image_05122025_14_02_05_9679.jpg', '/home/pi/Desktop/images/05122025/14/02/image_05122025_14_02_15_9587.jpg', '/home/pi/Desktop/images/05122025/14/02/image_05122025_14_02_26_10529.jpg', '/home/pi/Desktop/images/05122025/14/02/image_05122025_14_02_35_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/01/image_05122025_14_01_46_10691.jpg
/home/pi/Desktop/images/05122025/14/01/image_05122025_14_01_56_10015.jpg
/home/pi/Desktop/images/05122025/14/01/image_05122025_14_02_05_9679.jpg
/home/pi/Desktop/images/05122025/14/02/image_05122025_14_02_15_9587.jpg
/home/pi/Desktop/images/05122025/14/02/image_05122025_14_02_26_10529.jpg
/home/pi/Desktop/images/05122025/14/02/image_05122025_14_02_35_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093676","1398093681","1398093666","1398093689","1398093680","1398093683"],"photo_ids_order":["1398093666","1398093676","1398093680","1398093681","1398093683","1398093689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/825ac1a68283daf1a8d573545523ba9f.jpg","text":"TemporaryFile(/tmp/multipartBody3569601733686415040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942818402,"filename":"image_05122025_14_01_56_10015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c716629e3021e7dc972f9a5dbf3edba4.jpg","text":"TemporaryFile(/tmp/multipartBody8453474168032644194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942818402,"filename":"image_05122025_14_02_15_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/5/7f8c40615467b1898964323e89d29679.jpg","text":"TemporaryFile(/tmp/multipartBody7996519269172025844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942818402,"filename":"image_05122025_14_01_46_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/5/9335c7ad3d2cbf35f1c85f0ac96cbc4e.jpg","text":"TemporaryFile(/tmp/multipartBody9091739531766472171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942818402,"filename":"image_05122025_14_02_35_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/89b3534e1e63f9329c0f975396d790c3.jpg","text":"TemporaryFile(/tmp/multipartBody1796655072196093521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942818402,"filename":"image_05122025_14_02_05_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/5/2152b9074bf66dfd87c60be215bd9fb8.jpg","text":"TemporaryFile(/tmp/multipartBody2851169768387066971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942818402,"filename":"image_05122025_14_02_26_10529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093680","file1":"1398093676","file0":"1398093666","file4":"1398093683","file5":"1398093689","file3":"1398093681"},"map_files_photo_id_array":[{"photo_id":"1398093689","filename":"file5"},{"photo_id":"1398093680","filename":"file2"},{"photo_id":"1398093683","filename":"file4"},{"photo_id":"1398093676","filename":"file1"},{"photo_id":"1398093666","filename":"file0"},{"photo_id":"1398093681","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093676":["hashtag1","hashtag2"]},{"1398093681":["hashtag1","hashtag2"]},{"1398093666":["hashtag1","hashtag2"]},{"1398093689":["hashtag1","hashtag2"]},{"1398093680":["hashtag1","hashtag2"]},{"1398093683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093676, 1398093681, 1398093666, 1398093689, 1398093680, 1398093683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.891732931137085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:53:19.392176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/48/image_02122025_20_49_05_9813.jpg', '/home/pi/Desktop/images/02122025/20/49/image_02122025_20_49_26_10772.jpg', '/home/pi/Desktop/images/02122025/20/49/image_02122025_20_49_45_9921.jpg', '/home/pi/Desktop/images/02122025/20/49/image_02122025_20_49_55_9537.jpg', '/home/pi/Desktop/images/02122025/20/49/image_02122025_20_50_05_10730.jpg', '/home/pi/Desktop/images/02122025/20/50/image_02122025_20_50_15_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/48/image_02122025_20_49_05_9813.jpg
/home/pi/Desktop/images/02122025/20/49/image_02122025_20_49_26_10772.jpg
/home/pi/Desktop/images/02122025/20/49/image_02122025_20_49_45_9921.jpg
/home/pi/Desktop/images/02122025/20/49/image_02122025_20_49_55_9537.jpg
/home/pi/Desktop/images/02122025/20/49/image_02122025_20_50_05_10730.jpg
/home/pi/Desktop/images/02122025/20/50/image_02122025_20_50_15_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093697","1398093701","1398093694","1398093703","1398093699","1398093705"],"photo_ids_order":["1398093694","1398093697","1398093699","1398093701","1398093703","1398093705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/09eddf86c1074107445f1894d9eb0d54.jpg","text":"TemporaryFile(/tmp/multipartBody3697035603466458766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942861377,"filename":"image_02122025_20_49_26_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/5/47a5a2ade883bb3246ecfec0cad3998a.jpg","text":"TemporaryFile(/tmp/multipartBody8079866697374736155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942861377,"filename":"image_02122025_20_49_55_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/5/b09660ab542af5ea4b518fefbf944261.jpg","text":"TemporaryFile(/tmp/multipartBody7738178508921522704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942861377,"filename":"image_02122025_20_49_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/5/71a46f38fe7a1eb141eb4c7922278a82.jpg","text":"TemporaryFile(/tmp/multipartBody9065608648049264378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942861377,"filename":"image_02122025_20_50_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/5/758c2786a97b40bafe01e9d1c0981e07.jpg","text":"TemporaryFile(/tmp/multipartBody803740167947021838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942861377,"filename":"image_02122025_20_49_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/5/f33b04de8c48a0be671a1163557f4ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3042781435015951704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942861377,"filename":"image_02122025_20_50_15_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093699","file1":"1398093697","file0":"1398093694","file4":"1398093703","file5":"1398093705","file3":"1398093701"},"map_files_photo_id_array":[{"photo_id":"1398093705","filename":"file5"},{"photo_id":"1398093699","filename":"file2"},{"photo_id":"1398093703","filename":"file4"},{"photo_id":"1398093697","filename":"file1"},{"photo_id":"1398093694","filename":"file0"},{"photo_id":"1398093701","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398093697":["hashtag1","hashtag2"]},{"1398093701":["hashtag1","hashtag2"]},{"1398093694":["hashtag1","hashtag2"]},{"1398093703":["hashtag1","hashtag2"]},{"1398093699":["hashtag1","hashtag2"]},{"1398093705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398093697, 1398093701, 1398093694, 1398093703, 1398093699, 1398093705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0566987991333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:54:03.398043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/02/image_05122025_14_02_45_9617.jpg', '/home/pi/Desktop/images/05122025/14/02/image_05122025_14_02_56_10600.jpg', '/home/pi/Desktop/images/05122025/14/02/image_05122025_14_03_05_9598.jpg', '/home/pi/Desktop/images/05122025/14/03/image_05122025_14_03_15_9719.jpg', '/home/pi/Desktop/images/05122025/14/03/image_05122025_14_03_25_10587.jpg', '/home/pi/Desktop/images/05122025/14/03/image_05122025_14_03_35_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/02/image_05122025_14_02_45_9617.jpg
/home/pi/Desktop/images/05122025/14/02/image_05122025_14_02_56_10600.jpg
/home/pi/Desktop/images/05122025/14/02/image_05122025_14_03_05_9598.jpg
/home/pi/Desktop/images/05122025/14/03/image_05122025_14_03_15_9719.jpg
/home/pi/Desktop/images/05122025/14/03/image_05122025_14_03_25_10587.jpg
/home/pi/Desktop/images/05122025/14/03/image_05122025_14_03_35_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":["1398093731","1398093725","1398093733","1398093727","1398093736","1398093729"],"photo_ids_order":["1398093725","1398093727","1398093729","1398093731","1398093733","1398093736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c6a9d8f178049d66962c8fc6f76d6fd.jpg","text":"TemporaryFile(/tmp/multipartBody5375735788569904597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942904058,"filename":"image_05122025_14_03_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/5/b79fc8922e9631f4943b220bd16da661.jpg","text":"TemporaryFile(/tmp/multipartBody3835954072045184051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942904058,"filename":"image_05122025_14_02_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/5/2829847a26787d61820313cbcddebefe.jpg","text":"TemporaryFile(/tmp/multipartBody336737640687635454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942904058,"filename":"image_05122025_14_03_25_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d50a483b091f2afdb5ed9aaf794c30ce.jpg","text":"TemporaryFile(/tmp/multipartBody8623137890163720156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942904058,"filename":"image_05122025_14_02_56_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/5/6ad78bc2540a4ab36f4ebaad9f33d836.jpg","text":"TemporaryFile(/tmp/multipartBody3795055095629239225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942904058,"filename":"image_05122025_14_03_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce363cb3bba37909b86445f957698f96.jpg","text":"TemporaryFile(/tmp/multipartBody7098396343215169816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942904058,"filename":"image_05122025_14_03_05_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093729","file1":"1398093727","file0":"1398093725","file4":"1398093733","file5":"1398093736","file3":"1398093731"},"map_files_photo_id_array":[{"photo_id":"1398093736","filename":"file5"},{"photo_id":"1398093729","filename":"file2"},{"photo_id":"1398093733","filename":"file4"},{"photo_id":"1398093727","filename":"file1"},{"photo_id":"1398093725","filename":"file0"},{"photo_id":"1398093731","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093731":["hashtag1","hashtag2"]},{"1398093725":["hashtag1","hashtag2"]},{"1398093733":["hashtag1","hashtag2"]},{"1398093727":["hashtag1","hashtag2"]},{"1398093736":["hashtag1","hashtag2"]},{"1398093729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093731, 1398093725, 1398093733, 1398093727, 1398093736, 1398093729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31405305862427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:54:42.698286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_14_2540.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_18_3621.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_21_2534.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_23_2833.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_27_3622.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_30_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_14_2540.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_18_3621.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_21_2534.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_23_2833.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_27_3622.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_30_2529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093751","1398093754","1398093748","1398093750","1398093753","1398093752"],"photo_ids_order":["1398093748","1398093750","1398093751","1398093752","1398093753","1398093754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c7b11b133dd69c449c6e749d024512d3.jpg","text":"TemporaryFile(/tmp/multipartBody8988955619456435912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942944254,"filename":"image_31102025_19_50_21_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/5/f512b4f76376a0615863de63d7438b0a.jpg","text":"TemporaryFile(/tmp/multipartBody2496061093975824378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942944254,"filename":"image_31102025_19_50_30_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/64dcd5e773b097876af3597fd1c40bf8.jpg","text":"TemporaryFile(/tmp/multipartBody2286492013962256165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942944254,"filename":"image_31102025_19_50_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/5/3fcc5544688a04c106ced25468cd3d9a.jpg","text":"TemporaryFile(/tmp/multipartBody4042823105774581030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942944254,"filename":"image_31102025_19_50_18_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/5/88d307c817193bb7eaf47f2d268dac70.jpg","text":"TemporaryFile(/tmp/multipartBody6408344309824342832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942944254,"filename":"image_31102025_19_50_27_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/5/eec139585be78ca0fd4f3f2dd339defa.jpg","text":"TemporaryFile(/tmp/multipartBody5318305519863504012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942944254,"filename":"image_31102025_19_50_23_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093751","file1":"1398093750","file0":"1398093748","file4":"1398093753","file5":"1398093754","file3":"1398093752"},"map_files_photo_id_array":[{"photo_id":"1398093754","filename":"file5"},{"photo_id":"1398093751","filename":"file2"},{"photo_id":"1398093753","filename":"file4"},{"photo_id":"1398093750","filename":"file1"},{"photo_id":"1398093748","filename":"file0"},{"photo_id":"1398093752","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398093751":["hashtag1","hashtag2"]},{"1398093754":["hashtag1","hashtag2"]},{"1398093748":["hashtag1","hashtag2"]},{"1398093750":["hashtag1","hashtag2"]},{"1398093753":["hashtag1","hashtag2"]},{"1398093752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398093751, 1398093754, 1398093748, 1398093750, 1398093753, 1398093752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.379830837249756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:55:21.824002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/03/image_05122025_14_03_46_10711.jpg', '/home/pi/Desktop/images/05122025/14/03/image_05122025_14_03_56_9815.jpg', '/home/pi/Desktop/images/05122025/14/03/image_05122025_14_04_05_9617.jpg', '/home/pi/Desktop/images/05122025/14/04/image_05122025_14_04_15_9887.jpg', '/home/pi/Desktop/images/05122025/14/04/image_05122025_14_04_26_10666.jpg', '/home/pi/Desktop/images/05122025/14/04/image_05122025_14_04_35_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/03/image_05122025_14_03_46_10711.jpg
/home/pi/Desktop/images/05122025/14/03/image_05122025_14_03_56_9815.jpg
/home/pi/Desktop/images/05122025/14/03/image_05122025_14_04_05_9617.jpg
/home/pi/Desktop/images/05122025/14/04/image_05122025_14_04_15_9887.jpg
/home/pi/Desktop/images/05122025/14/04/image_05122025_14_04_26_10666.jpg
/home/pi/Desktop/images/05122025/14/04/image_05122025_14_04_35_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398093766","1398093768","1398093762","1398093771","1398093759","1398093764"],"photo_ids_order":["1398093759","1398093762","1398093764","1398093766","1398093768","1398093771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d2654fd8b388c6fd3ca9b685ced22aa4.jpg","text":"TemporaryFile(/tmp/multipartBody2145325921101536619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942982462,"filename":"image_05122025_14_04_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/5/2b3557dabc49190053af2e961098d9b2.jpg","text":"TemporaryFile(/tmp/multipartBody8636345869089418712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942982462,"filename":"image_05122025_14_04_26_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/5/f60012b15e103e4f8bdba1a82af18260.jpg","text":"TemporaryFile(/tmp/multipartBody1295839531867126082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942982462,"filename":"image_05122025_14_03_56_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/5/63d48a55d9f4816f3a69ff3341b865ff.jpg","text":"TemporaryFile(/tmp/multipartBody3913314312917674332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942982462,"filename":"image_05122025_14_04_35_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/5/9031d0f28a843fd3c04ad387352e848b.jpg","text":"TemporaryFile(/tmp/multipartBody7997276282271578766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942982462,"filename":"image_05122025_14_03_46_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/5/d914b7fb3cab2ec4e69eb78a6b2e3c49.jpg","text":"TemporaryFile(/tmp/multipartBody5532778513978437319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764942982462,"filename":"image_05122025_14_04_05_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093764","file1":"1398093762","file0":"1398093759","file4":"1398093768","file5":"1398093771","file3":"1398093766"},"map_files_photo_id_array":[{"photo_id":"1398093771","filename":"file5"},{"photo_id":"1398093764","filename":"file2"},{"photo_id":"1398093768","filename":"file4"},{"photo_id":"1398093762","filename":"file1"},{"photo_id":"1398093759","filename":"file0"},{"photo_id":"1398093766","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093766":["hashtag1","hashtag2"]},{"1398093768":["hashtag1","hashtag2"]},{"1398093762":["hashtag1","hashtag2"]},{"1398093771":["hashtag1","hashtag2"]},{"1398093759":["hashtag1","hashtag2"]},{"1398093764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093766, 1398093768, 1398093762, 1398093771, 1398093759, 1398093764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17701697349548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:56:02.557729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/04/image_05122025_14_04_45_9756.jpg', '/home/pi/Desktop/images/05122025/14/04/image_05122025_14_04_56_10607.jpg', '/home/pi/Desktop/images/05122025/14/04/image_05122025_14_05_05_9661.jpg', '/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_15_9555.jpg', '/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_26_10644.jpg', '/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_35_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/04/image_05122025_14_04_45_9756.jpg
/home/pi/Desktop/images/05122025/14/04/image_05122025_14_04_56_10607.jpg
/home/pi/Desktop/images/05122025/14/04/image_05122025_14_05_05_9661.jpg
/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_15_9555.jpg
/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_26_10644.jpg
/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_35_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":["1398093778","1398093786","1398093780","1398093774","1398093783","1398093776"],"photo_ids_order":["1398093774","1398093776","1398093778","1398093780","1398093783","1398093786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ef51611f14ade7a0d2bbfa0c2cf6b1bf.jpg","text":"TemporaryFile(/tmp/multipartBody6481942836645393475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943023225,"filename":"image_05122025_14_05_05_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/5/de70d850d5439e743a17db94e8d77a82.jpg","text":"TemporaryFile(/tmp/multipartBody8209771959110876515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943023225,"filename":"image_05122025_14_05_35_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/5/e6647cfef391f91d664c406e27b9bc14.jpg","text":"TemporaryFile(/tmp/multipartBody1872379062577060393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943023225,"filename":"image_05122025_14_05_15_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/5/a1b3a9cb51b5d14af8f410b8a053a2f8.jpg","text":"TemporaryFile(/tmp/multipartBody3353273461711801009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943023225,"filename":"image_05122025_14_04_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/5/5f0517150d9cc65c62b7d8c028c66c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7263127836683884123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943023225,"filename":"image_05122025_14_05_26_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/5/0f66e72619aab83a96da304d55f4b7a1.jpg","text":"TemporaryFile(/tmp/multipartBody2745492069456751659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943023225,"filename":"image_05122025_14_04_56_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093778","file1":"1398093776","file0":"1398093774","file4":"1398093783","file5":"1398093786","file3":"1398093780"},"map_files_photo_id_array":[{"photo_id":"1398093786","filename":"file5"},{"photo_id":"1398093778","filename":"file2"},{"photo_id":"1398093783","filename":"file4"},{"photo_id":"1398093776","filename":"file1"},{"photo_id":"1398093774","filename":"file0"},{"photo_id":"1398093780","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398093778":["hashtag1","hashtag2"]},{"1398093786":["hashtag1","hashtag2"]},{"1398093780":["hashtag1","hashtag2"]},{"1398093774":["hashtag1","hashtag2"]},{"1398093783":["hashtag1","hashtag2"]},{"1398093776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398093778, 1398093786, 1398093780, 1398093774, 1398093783, 1398093776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.905012369155884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 14:56:42.043432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_33_3759.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_36_2550.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_39_2856.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_42_3519.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_45_2602.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_48_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_33_3759.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_36_2550.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_39_2856.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_42_3519.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_45_2602.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_48_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398094007","1398093938","1398094006","1398093978","1398094008","1398093881"],"photo_ids_order":["1398093881","1398093938","1398093978","1398094006","1398094007","1398094008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23a9447146e7d0cfb176e8f4c41bd580.jpg","text":"TemporaryFile(/tmp/multipartBody6931713392302629452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943063614,"filename":"image_31102025_19_50_45_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/5/bcb5fa2a499422fafaa6ec58350befb5.jpg","text":"TemporaryFile(/tmp/multipartBody1768195158868060608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943063614,"filename":"image_31102025_19_50_36_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/5/f2c6c17af91ee1d304089fb01c287308.jpg","text":"TemporaryFile(/tmp/multipartBody2456922086729738950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943063614,"filename":"image_31102025_19_50_42_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/5/d69dec9dfdfa3980b71c3f74c81650e8.jpg","text":"TemporaryFile(/tmp/multipartBody8711208922987446312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943063614,"filename":"image_31102025_19_50_39_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/5/dba0cb4ca3cb4e197b6ea72d6a164206.jpg","text":"TemporaryFile(/tmp/multipartBody522712345648693907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943063614,"filename":"image_31102025_19_50_48_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/5/78419f4a42ed4d1eec6519f2a51b1dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1522764629019276152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943063614,"filename":"image_31102025_19_50_33_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398093978","file1":"1398093938","file0":"1398093881","file4":"1398094007","file5":"1398094008","file3":"1398094006"},"map_files_photo_id_array":[{"photo_id":"1398094008","filename":"file5"},{"photo_id":"1398093978","filename":"file2"},{"photo_id":"1398094007","filename":"file4"},{"photo_id":"1398093938","filename":"file1"},{"photo_id":"1398093881","filename":"file0"},{"photo_id":"1398094006","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398094007":["hashtag1","hashtag2"]},{"1398093938":["hashtag1","hashtag2"]},{"1398094006":["hashtag1","hashtag2"]},{"1398093978":["hashtag1","hashtag2"]},{"1398094008":["hashtag1","hashtag2"]},{"1398093881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398094007, 1398093938, 1398094006, 1398093978, 1398094008, 1398093881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99560880661011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 14:57:22.198833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_45_9637.jpg', '/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_55_9847.jpg', '/home/pi/Desktop/images/05122025/14/05/image_05122025_14_06_05_10639.jpg', '/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_15_9780.jpg', '/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_25_9631.jpg', '/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_35_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_45_9637.jpg
/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_55_9847.jpg
/home/pi/Desktop/images/05122025/14/05/image_05122025_14_06_05_10639.jpg
/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_15_9780.jpg
/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_25_9631.jpg
/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_35_10570.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5251655578613281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 14:57:32.251123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/50/image_02122025_20_50_35_9881.jpg', '/home/pi/Desktop/images/02122025/20/50/image_02122025_20_50_45_10631.jpg', '/home/pi/Desktop/images/02122025/20/50/image_02122025_20_50_55_9677.jpg', '/home/pi/Desktop/images/02122025/20/50/image_02122025_20_51_06_10645.jpg', '/home/pi/Desktop/images/02122025/20/51/image_02122025_20_51_15_9698.jpg', '/home/pi/Desktop/images/02122025/20/51/image_02122025_20_51_25_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/50/image_02122025_20_50_35_9881.jpg
/home/pi/Desktop/images/02122025/20/50/image_02122025_20_50_45_10631.jpg
/home/pi/Desktop/images/02122025/20/50/image_02122025_20_50_55_9677.jpg
/home/pi/Desktop/images/02122025/20/50/image_02122025_20_51_06_10645.jpg
/home/pi/Desktop/images/02122025/20/51/image_02122025_20_51_15_9698.jpg
/home/pi/Desktop/images/02122025/20/51/image_02122025_20_51_25_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398094106","1398094116","1398094119","1398094110","1398094113","1398094118"],"photo_ids_order":["1398094106","1398094110","1398094113","1398094116","1398094118","1398094119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e22cd71bc85ac41f52e562c067f3ab3f.jpg","text":"TemporaryFile(/tmp/multipartBody771324516233744524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943114326,"filename":"image_02122025_20_50_35_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/5/d5a601b1152370dcbfd56e7e826a1141.jpg","text":"TemporaryFile(/tmp/multipartBody1373097884429326335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943114326,"filename":"image_02122025_20_51_06_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/567756b4bb756750b2d1d517416ca094.jpg","text":"TemporaryFile(/tmp/multipartBody7442198261321324087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943114326,"filename":"image_02122025_20_51_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/5/d5a18ccec0399fc70d8054256b651b67.jpg","text":"TemporaryFile(/tmp/multipartBody7050958161878746796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943114326,"filename":"image_02122025_20_50_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/5/6e73328303fbc0fbbc37d24ca23705ba.jpg","text":"TemporaryFile(/tmp/multipartBody8836854832541034753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943114326,"filename":"image_02122025_20_50_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/5/58517c3c50b02367a46d9371b0e03e53.jpg","text":"TemporaryFile(/tmp/multipartBody8141290020610443671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943114326,"filename":"image_02122025_20_51_15_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398094113","file1":"1398094110","file0":"1398094106","file4":"1398094118","file5":"1398094119","file3":"1398094116"},"map_files_photo_id_array":[{"photo_id":"1398094119","filename":"file5"},{"photo_id":"1398094113","filename":"file2"},{"photo_id":"1398094118","filename":"file4"},{"photo_id":"1398094110","filename":"file1"},{"photo_id":"1398094106","filename":"file0"},{"photo_id":"1398094116","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398094106":["hashtag1","hashtag2"]},{"1398094116":["hashtag1","hashtag2"]},{"1398094119":["hashtag1","hashtag2"]},{"1398094110":["hashtag1","hashtag2"]},{"1398094113":["hashtag1","hashtag2"]},{"1398094118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398094106, 1398094116, 1398094119, 1398094110, 1398094113, 1398094118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19249987602234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 14:59:03.614399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_45_9637.jpg', '/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_55_9847.jpg', '/home/pi/Desktop/images/05122025/14/05/image_05122025_14_06_05_10639.jpg', '/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_15_9780.jpg', '/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_25_9631.jpg', '/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_35_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_45_9637.jpg
/home/pi/Desktop/images/05122025/14/05/image_05122025_14_05_55_9847.jpg
/home/pi/Desktop/images/05122025/14/05/image_05122025_14_06_05_10639.jpg
/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_15_9780.jpg
/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_25_9631.jpg
/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_35_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":["1398094156","1398094150","1398094144","1398094147","1398094140","1398094154"],"photo_ids_order":["1398094140","1398094144","1398094147","1398094150","1398094154","1398094156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/992cdec13152b260f886ddc26aed5152.jpg","text":"TemporaryFile(/tmp/multipartBody560881005871495351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943204338,"filename":"image_05122025_14_06_35_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/5/58f971f8f6527077977b29f2c620d7ef.jpg","text":"TemporaryFile(/tmp/multipartBody400448978112174523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943204338,"filename":"image_05122025_14_06_15_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/5/bb4d98e497396201f8b42d91ff815836.jpg","text":"TemporaryFile(/tmp/multipartBody5246514498870643342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943204338,"filename":"image_05122025_14_05_55_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d1093c90657707c3a9d415b8fea6ee5a.jpg","text":"TemporaryFile(/tmp/multipartBody4127528789907657536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943204338,"filename":"image_05122025_14_06_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/5/73d332010207a2a8e933643c6742660a.jpg","text":"TemporaryFile(/tmp/multipartBody7953605825759438112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943204338,"filename":"image_05122025_14_05_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/5/f937b10367482fb9bc7158d44f7bbc19.jpg","text":"TemporaryFile(/tmp/multipartBody6153064171970095595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943204338,"filename":"image_05122025_14_06_25_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398094147","file1":"1398094144","file0":"1398094140","file4":"1398094154","file5":"1398094156","file3":"1398094150"},"map_files_photo_id_array":[{"photo_id":"1398094156","filename":"file5"},{"photo_id":"1398094147","filename":"file2"},{"photo_id":"1398094154","filename":"file4"},{"photo_id":"1398094144","filename":"file1"},{"photo_id":"1398094140","filename":"file0"},{"photo_id":"1398094150","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398094156":["hashtag1","hashtag2"]},{"1398094150":["hashtag1","hashtag2"]},{"1398094144":["hashtag1","hashtag2"]},{"1398094147":["hashtag1","hashtag2"]},{"1398094140":["hashtag1","hashtag2"]},{"1398094154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398094156, 1398094150, 1398094144, 1398094147, 1398094140, 1398094154)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.97330975532532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:00:03.033216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_45_9685.jpg', '/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_55_9667.jpg', '/home/pi/Desktop/images/05122025/14/06/image_05122025_14_07_06_10826.jpg', '/home/pi/Desktop/images/05122025/14/07/image_05122025_14_07_16_9840.jpg', '/home/pi/Desktop/images/05122025/14/07/image_05122025_14_07_25_9557.jpg', '/home/pi/Desktop/images/05122025/14/07/image_05122025_14_07_36_10516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_45_9685.jpg
/home/pi/Desktop/images/05122025/14/06/image_05122025_14_06_55_9667.jpg
/home/pi/Desktop/images/05122025/14/06/image_05122025_14_07_06_10826.jpg
/home/pi/Desktop/images/05122025/14/07/image_05122025_14_07_16_9840.jpg
/home/pi/Desktop/images/05122025/14/07/image_05122025_14_07_25_9557.jpg
/home/pi/Desktop/images/05122025/14/07/image_05122025_14_07_36_10516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398094419","1398094308","1398094382","1398094457","1398094346","1398094270"],"photo_ids_order":["1398094270","1398094308","1398094346","1398094382","1398094419","1398094457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7d14adfe12578f43e7d7f5fdb9fbde37.jpg","text":"TemporaryFile(/tmp/multipartBody5865724055241704210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943263694,"filename":"image_05122025_14_07_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/5/5ea8217ce312cc0202bcf84595b4c5a5.jpg","text":"TemporaryFile(/tmp/multipartBody6494990816852692439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943263694,"filename":"image_05122025_14_06_55_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/5/34fc290c7f167fb2aac5f5b7d06fcb46.jpg","text":"TemporaryFile(/tmp/multipartBody4868064326323047333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943263694,"filename":"image_05122025_14_07_16_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/5/edecfcde6697c4f2a8aba76e35862c32.jpg","text":"TemporaryFile(/tmp/multipartBody5280377200623479040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943263694,"filename":"image_05122025_14_07_36_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b896d60addb00bc29534f7972370be3.jpg","text":"TemporaryFile(/tmp/multipartBody77185009109788955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943263694,"filename":"image_05122025_14_07_06_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/5/e37248ffc4f1c476dcce6c79970ccc7c.jpg","text":"TemporaryFile(/tmp/multipartBody4188235422650815798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943263694,"filename":"image_05122025_14_06_45_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398094346","file1":"1398094308","file0":"1398094270","file4":"1398094419","file5":"1398094457","file3":"1398094382"},"map_files_photo_id_array":[{"photo_id":"1398094457","filename":"file5"},{"photo_id":"1398094346","filename":"file2"},{"photo_id":"1398094419","filename":"file4"},{"photo_id":"1398094308","filename":"file1"},{"photo_id":"1398094270","filename":"file0"},{"photo_id":"1398094382","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398094419":["hashtag1","hashtag2"]},{"1398094308":["hashtag1","hashtag2"]},{"1398094382":["hashtag1","hashtag2"]},{"1398094457":["hashtag1","hashtag2"]},{"1398094346":["hashtag1","hashtag2"]},{"1398094270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398094419, 1398094308, 1398094382, 1398094457, 1398094346, 1398094270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65603041648865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:00:42.673777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_51_3786.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_54_2680.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_57_2651.jpg', '/home/pi/Desktop/images/31102025/19/50/image_31102025_19_51_00_3714.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_03_2566.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_06_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_51_3786.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_54_2680.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_50_57_2651.jpg
/home/pi/Desktop/images/31102025/19/50/image_31102025_19_51_00_3714.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_03_2566.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_06_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":["1398094690","1398094750","1398094747","1398094654","1398094729","1398094615"],"photo_ids_order":["1398094615","1398094654","1398094690","1398094729","1398094747","1398094750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/538e510d7144adfeb3ec5b9901ffbed1.jpg","text":"TemporaryFile(/tmp/multipartBody4683318304044366423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943304254,"filename":"image_31102025_19_50_57_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/5/8b9adf0f224df8be80e31f0b5d98bc48.jpg","text":"TemporaryFile(/tmp/multipartBody5271665591214648751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943304254,"filename":"image_31102025_19_51_06_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/5/b4a4ad6d610f585905991da0c3b1ab86.jpg","text":"TemporaryFile(/tmp/multipartBody8027493910815202100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943304254,"filename":"image_31102025_19_51_03_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/5/dc103c0fd0b1b6f1e80534c7229a8be1.jpg","text":"TemporaryFile(/tmp/multipartBody2787414411672472869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943304254,"filename":"image_31102025_19_50_54_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3426d29b80daee018a65b46ab12987bc.jpg","text":"TemporaryFile(/tmp/multipartBody5597835300751730909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943304254,"filename":"image_31102025_19_51_00_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/5/35442297638b8ea4b45247c4e0ef279b.jpg","text":"TemporaryFile(/tmp/multipartBody1557924560869946893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943304254,"filename":"image_31102025_19_50_51_3786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398094690","file1":"1398094654","file0":"1398094615","file4":"1398094747","file5":"1398094750","file3":"1398094729"},"map_files_photo_id_array":[{"photo_id":"1398094750","filename":"file5"},{"photo_id":"1398094690","filename":"file2"},{"photo_id":"1398094747","filename":"file4"},{"photo_id":"1398094654","filename":"file1"},{"photo_id":"1398094615","filename":"file0"},{"photo_id":"1398094729","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398094690":["hashtag1","hashtag2"]},{"1398094750":["hashtag1","hashtag2"]},{"1398094747":["hashtag1","hashtag2"]},{"1398094654":["hashtag1","hashtag2"]},{"1398094729":["hashtag1","hashtag2"]},{"1398094615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398094690, 1398094750, 1398094747, 1398094654, 1398094729, 1398094615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20537495613098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:01:21.850863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/07/image_05122025_14_07_45_9542.jpg', '/home/pi/Desktop/images/05122025/14/07/image_05122025_14_07_56_10600.jpg', '/home/pi/Desktop/images/05122025/14/07/image_05122025_14_08_05_9614.jpg', '/home/pi/Desktop/images/05122025/14/08/image_05122025_14_08_15_9688.jpg', '/home/pi/Desktop/images/05122025/14/08/image_05122025_14_08_26_10753.jpg', '/home/pi/Desktop/images/05122025/14/08/image_05122025_14_08_36_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/07/image_05122025_14_07_45_9542.jpg
/home/pi/Desktop/images/05122025/14/07/image_05122025_14_07_56_10600.jpg
/home/pi/Desktop/images/05122025/14/07/image_05122025_14_08_05_9614.jpg
/home/pi/Desktop/images/05122025/14/08/image_05122025_14_08_15_9688.jpg
/home/pi/Desktop/images/05122025/14/08/image_05122025_14_08_26_10753.jpg
/home/pi/Desktop/images/05122025/14/08/image_05122025_14_08_36_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":["1398094887","1398094848","1398094892","1398094812","1398094757","1398094772"],"photo_ids_order":["1398094757","1398094772","1398094812","1398094848","1398094887","1398094892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c7ae7654671713b3f1b9bc5c6d0ac80a.jpg","text":"TemporaryFile(/tmp/multipartBody4535948541420441671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943342458,"filename":"image_05122025_14_08_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/5/d68d981c394a418865ef504fd1030ff8.jpg","text":"TemporaryFile(/tmp/multipartBody2333867111365291850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943342458,"filename":"image_05122025_14_08_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/5/0fd929d85136cb8c21855ee160e76398.jpg","text":"TemporaryFile(/tmp/multipartBody6610638464277896685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943342458,"filename":"image_05122025_14_08_36_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/5/a8af0ead58b10a257d50fb0d8248218a.jpg","text":"TemporaryFile(/tmp/multipartBody203261202515443400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943342458,"filename":"image_05122025_14_08_05_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/5/ac5c8803263dcd7c8efee6851fb048d0.jpg","text":"TemporaryFile(/tmp/multipartBody2523706995663172485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943342458,"filename":"image_05122025_14_07_45_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e7e0c18cd9e211eb42cd457992fff294.jpg","text":"TemporaryFile(/tmp/multipartBody3843794372624722697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943342458,"filename":"image_05122025_14_07_56_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398094812","file1":"1398094772","file0":"1398094757","file4":"1398094887","file5":"1398094892","file3":"1398094848"},"map_files_photo_id_array":[{"photo_id":"1398094892","filename":"file5"},{"photo_id":"1398094812","filename":"file2"},{"photo_id":"1398094887","filename":"file4"},{"photo_id":"1398094772","filename":"file1"},{"photo_id":"1398094757","filename":"file0"},{"photo_id":"1398094848","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398094887":["hashtag1","hashtag2"]},{"1398094848":["hashtag1","hashtag2"]},{"1398094892":["hashtag1","hashtag2"]},{"1398094812":["hashtag1","hashtag2"]},{"1398094757":["hashtag1","hashtag2"]},{"1398094772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398094887, 1398094848, 1398094892, 1398094812, 1398094757, 1398094772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73740816116333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:02:02.510622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/08/image_05122025_14_08_45_9601.jpg', '/home/pi/Desktop/images/05122025/14/08/image_05122025_14_08_56_10672.jpg', '/home/pi/Desktop/images/05122025/14/08/image_05122025_14_09_05_9598.jpg', '/home/pi/Desktop/images/05122025/14/09/image_05122025_14_09_15_9805.jpg', '/home/pi/Desktop/images/05122025/14/09/image_05122025_14_09_25_9722.jpg', '/home/pi/Desktop/images/05122025/14/09/image_05122025_14_09_35_10199.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/08/image_05122025_14_08_45_9601.jpg
/home/pi/Desktop/images/05122025/14/08/image_05122025_14_08_56_10672.jpg
/home/pi/Desktop/images/05122025/14/08/image_05122025_14_09_05_9598.jpg
/home/pi/Desktop/images/05122025/14/09/image_05122025_14_09_15_9805.jpg
/home/pi/Desktop/images/05122025/14/09/image_05122025_14_09_25_9722.jpg
/home/pi/Desktop/images/05122025/14/09/image_05122025_14_09_35_10199.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398095022","1398094991","1398094997","1398094964","1398094952","1398094999"],"photo_ids_order":["1398094952","1398094964","1398094991","1398094997","1398094999","1398095022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f70fba2b3254302b47907a5911f0c849.jpg","text":"TemporaryFile(/tmp/multipartBody7418656349673795582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943383174,"filename":"image_05122025_14_09_35_10199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/64d83dc85a5d335741fe23673fdb04ec.jpg","text":"TemporaryFile(/tmp/multipartBody8154984107298447144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943383174,"filename":"image_05122025_14_09_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/26ad67f7e1372ef811221a5cce9521f4.jpg","text":"TemporaryFile(/tmp/multipartBody5316842502340637665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943383174,"filename":"image_05122025_14_09_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/157af6ea04cd4744f0665bf9bd4fb77a.jpg","text":"TemporaryFile(/tmp/multipartBody1323225353782487900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943383174,"filename":"image_05122025_14_08_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/5/6cb70e183baaffb9bced4e8e9c66e303.jpg","text":"TemporaryFile(/tmp/multipartBody7683914677416418632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943383174,"filename":"image_05122025_14_08_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/5/efc48ec3d8c03ad5adb0133c66d272cd.jpg","text":"TemporaryFile(/tmp/multipartBody5855334743794147042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943383174,"filename":"image_05122025_14_09_25_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398094991","file1":"1398094964","file0":"1398094952","file4":"1398094999","file5":"1398095022","file3":"1398094997"},"map_files_photo_id_array":[{"photo_id":"1398095022","filename":"file5"},{"photo_id":"1398094991","filename":"file2"},{"photo_id":"1398094999","filename":"file4"},{"photo_id":"1398094964","filename":"file1"},{"photo_id":"1398094952","filename":"file0"},{"photo_id":"1398094997","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398095022":["hashtag1","hashtag2"]},{"1398094991":["hashtag1","hashtag2"]},{"1398094997":["hashtag1","hashtag2"]},{"1398094964":["hashtag1","hashtag2"]},{"1398094952":["hashtag1","hashtag2"]},{"1398094999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398095022, 1398094991, 1398094997, 1398094964, 1398094952, 1398094999)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.57745170593262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:03:02.812012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/09/image_05122025_14_09_46_10627.jpg', '/home/pi/Desktop/images/05122025/14/09/image_05122025_14_09_55_9598.jpg', '/home/pi/Desktop/images/05122025/14/09/image_05122025_14_10_05_9628.jpg', '/home/pi/Desktop/images/05122025/14/10/image_05122025_14_10_16_10710.jpg', '/home/pi/Desktop/images/05122025/14/10/image_05122025_14_10_25_9732.jpg', '/home/pi/Desktop/images/05122025/14/10/image_05122025_14_10_35_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/09/image_05122025_14_09_46_10627.jpg
/home/pi/Desktop/images/05122025/14/09/image_05122025_14_09_55_9598.jpg
/home/pi/Desktop/images/05122025/14/09/image_05122025_14_10_05_9628.jpg
/home/pi/Desktop/images/05122025/14/10/image_05122025_14_10_16_10710.jpg
/home/pi/Desktop/images/05122025/14/10/image_05122025_14_10_25_9732.jpg
/home/pi/Desktop/images/05122025/14/10/image_05122025_14_10_35_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398095449","1398095412","1398095372","1398095336","1398095522","1398095482"],"photo_ids_order":["1398095336","1398095372","1398095412","1398095449","1398095482","1398095522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ebe3e1251d4cf38c5f9749a59cb493ac.jpg","text":"TemporaryFile(/tmp/multipartBody4719894020896146138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943443485,"filename":"image_05122025_14_10_16_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a013ab3e370f75d05f807f855f7c227.jpg","text":"TemporaryFile(/tmp/multipartBody6589909035122878996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943443485,"filename":"image_05122025_14_10_05_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/5/5223ef709e6ccfdc13b082b003a14655.jpg","text":"TemporaryFile(/tmp/multipartBody2646975131259062994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943443485,"filename":"image_05122025_14_09_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ad0442261d256e225407a9e371266f8.jpg","text":"TemporaryFile(/tmp/multipartBody4630770356183117042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943443485,"filename":"image_05122025_14_09_46_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/be13db6783997739255a4fecdab46ebd.jpg","text":"TemporaryFile(/tmp/multipartBody7931445058288752360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943443485,"filename":"image_05122025_14_10_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/5/5a8d45784b7fa69b0940e6ac1a6b0070.jpg","text":"TemporaryFile(/tmp/multipartBody1791357969878058354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943443485,"filename":"image_05122025_14_10_25_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398095412","file1":"1398095372","file0":"1398095336","file4":"1398095482","file5":"1398095522","file3":"1398095449"},"map_files_photo_id_array":[{"photo_id":"1398095522","filename":"file5"},{"photo_id":"1398095412","filename":"file2"},{"photo_id":"1398095482","filename":"file4"},{"photo_id":"1398095372","filename":"file1"},{"photo_id":"1398095336","filename":"file0"},{"photo_id":"1398095449","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398095449":["hashtag1","hashtag2"]},{"1398095412":["hashtag1","hashtag2"]},{"1398095372":["hashtag1","hashtag2"]},{"1398095336":["hashtag1","hashtag2"]},{"1398095522":["hashtag1","hashtag2"]},{"1398095482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398095449, 1398095412, 1398095372, 1398095336, 1398095522, 1398095482)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.336610317230225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:04:03.562912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/10/image_05122025_14_10_46_10696.jpg', '/home/pi/Desktop/images/05122025/14/10/image_05122025_14_10_56_9824.jpg', '/home/pi/Desktop/images/05122025/14/10/image_05122025_14_11_05_9639.jpg', '/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_15_9833.jpg', '/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_26_10656.jpg', '/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_35_9481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/10/image_05122025_14_10_46_10696.jpg
/home/pi/Desktop/images/05122025/14/10/image_05122025_14_10_56_9824.jpg
/home/pi/Desktop/images/05122025/14/10/image_05122025_14_11_05_9639.jpg
/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_15_9833.jpg
/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_26_10656.jpg
/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_35_9481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398095973","1398095895","1398095855","1398096011","1398095933","1398096052"],"photo_ids_order":["1398095855","1398095895","1398095933","1398095973","1398096011","1398096052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/064c0874c6d4fb475799938ed5d7f41e.jpg","text":"TemporaryFile(/tmp/multipartBody2477904636573626694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943505018,"filename":"image_05122025_14_11_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/5/466e177c53c45028e52560a4e9c22f14.jpg","text":"TemporaryFile(/tmp/multipartBody536211833353070969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943505018,"filename":"image_05122025_14_10_56_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/5/56d443e637f08af1b400d7d4bfa09cb4.jpg","text":"TemporaryFile(/tmp/multipartBody3994770367061371840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943505018,"filename":"image_05122025_14_10_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/5/b671bbefed30e14d27167f8824cdb08f.jpg","text":"TemporaryFile(/tmp/multipartBody8224431513841094406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943505018,"filename":"image_05122025_14_11_26_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/5/00218713a8be1c0a3a0206484e81b670.jpg","text":"TemporaryFile(/tmp/multipartBody706564935843115660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943505018,"filename":"image_05122025_14_11_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a7f37197ba4a83191dcf72dd1cc17917.jpg","text":"TemporaryFile(/tmp/multipartBody8573056670462161368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943505018,"filename":"image_05122025_14_11_35_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398095933","file1":"1398095895","file0":"1398095855","file4":"1398096011","file5":"1398096052","file3":"1398095973"},"map_files_photo_id_array":[{"photo_id":"1398096052","filename":"file5"},{"photo_id":"1398095933","filename":"file2"},{"photo_id":"1398096011","filename":"file4"},{"photo_id":"1398095895","filename":"file1"},{"photo_id":"1398095855","filename":"file0"},{"photo_id":"1398095973","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398095973":["hashtag1","hashtag2"]},{"1398095895":["hashtag1","hashtag2"]},{"1398095855":["hashtag1","hashtag2"]},{"1398096011":["hashtag1","hashtag2"]},{"1398095933":["hashtag1","hashtag2"]},{"1398096052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398095973, 1398095895, 1398095855, 1398096011, 1398095933, 1398096052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.556509017944336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:04:43.177426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_09_3712.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_12_2612.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_15_2770.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_24_2590.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_26_2755.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_39_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_09_3712.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_12_2612.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_15_2770.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_24_2590.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_26_2755.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_39_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":["1398096293","1398096185","1398096338","1398096329","1398096256","1398096220"],"photo_ids_order":["1398096185","1398096220","1398096256","1398096293","1398096329","1398096338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/341a406d6e3f92894d99c1cafa9b1294.jpg","text":"TemporaryFile(/tmp/multipartBody1084075833656226874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943544717,"filename":"image_31102025_19_51_24_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/5/6b4992f0b84689e1e7bcf77ccec7e3df.jpg","text":"TemporaryFile(/tmp/multipartBody5398137197091328862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943544717,"filename":"image_31102025_19_51_09_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/5/27e45ecf495dd8f13b240b041e5362f1.jpg","text":"TemporaryFile(/tmp/multipartBody741017075484654200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943544717,"filename":"image_31102025_19_51_39_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/5/c751b7efa9f9c1481b4caa3c740fdc87.jpg","text":"TemporaryFile(/tmp/multipartBody5102187309621610840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943544717,"filename":"image_31102025_19_51_26_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/5/a5ec38ea88978abb319e91ec51717a0c.jpg","text":"TemporaryFile(/tmp/multipartBody5902048862941550662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943544717,"filename":"image_31102025_19_51_15_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/5/3a56474b249648b0d89b678fa59d7821.jpg","text":"TemporaryFile(/tmp/multipartBody3106063693495775568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943544717,"filename":"image_31102025_19_51_12_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398096256","file1":"1398096220","file0":"1398096185","file4":"1398096329","file5":"1398096338","file3":"1398096293"},"map_files_photo_id_array":[{"photo_id":"1398096338","filename":"file5"},{"photo_id":"1398096256","filename":"file2"},{"photo_id":"1398096329","filename":"file4"},{"photo_id":"1398096220","filename":"file1"},{"photo_id":"1398096185","filename":"file0"},{"photo_id":"1398096293","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398096293":["hashtag1","hashtag2"]},{"1398096185":["hashtag1","hashtag2"]},{"1398096338":["hashtag1","hashtag2"]},{"1398096329":["hashtag1","hashtag2"]},{"1398096256":["hashtag1","hashtag2"]},{"1398096220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398096293, 1398096185, 1398096338, 1398096329, 1398096256, 1398096220)","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 = 1398096256 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_15_2770.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.37594509124756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:06:07.340333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_45_9606.jpg', '/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_56_10814.jpg', '/home/pi/Desktop/images/05122025/14/11/image_05122025_14_12_05_9756.jpg', '/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_15_9837.jpg', '/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_25_9765.jpg', '/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_36_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_45_9606.jpg
/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_56_10814.jpg
/home/pi/Desktop/images/05122025/14/11/image_05122025_14_12_05_9756.jpg
/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_15_9837.jpg
/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_25_9765.jpg
/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_36_10682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.509676456451416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:06:16.959173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/51/image_02122025_20_51_35_9825.jpg', '/home/pi/Desktop/images/02122025/20/51/image_02122025_20_51_46_10684.jpg', '/home/pi/Desktop/images/02122025/20/51/image_02122025_20_52_05_9678.jpg', '/home/pi/Desktop/images/02122025/20/52/image_02122025_20_52_15_10582.jpg', '/home/pi/Desktop/images/02122025/20/52/image_02122025_20_52_25_9723.jpg', '/home/pi/Desktop/images/02122025/20/52/image_02122025_20_52_35_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/51/image_02122025_20_51_35_9825.jpg
/home/pi/Desktop/images/02122025/20/51/image_02122025_20_51_46_10684.jpg
/home/pi/Desktop/images/02122025/20/51/image_02122025_20_52_05_9678.jpg
/home/pi/Desktop/images/02122025/20/52/image_02122025_20_52_15_10582.jpg
/home/pi/Desktop/images/02122025/20/52/image_02122025_20_52_25_9723.jpg
/home/pi/Desktop/images/02122025/20/52/image_02122025_20_52_35_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398096405","1398096407","1398096403","1398096433","1398096412","1398096399"],"photo_ids_order":["1398096399","1398096403","1398096405","1398096407","1398096412","1398096433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c45d2eb89b6bfa38752ba15e1f916789.jpg","text":"TemporaryFile(/tmp/multipartBody9776189806376845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943638694,"filename":"image_02122025_20_52_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/5/d8149d67c21213f2ad658b4116574e9d.jpg","text":"TemporaryFile(/tmp/multipartBody77247318213692234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943638694,"filename":"image_02122025_20_52_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/5/550cfe25485f2ffa136d69b9e96dac04.jpg","text":"TemporaryFile(/tmp/multipartBody8654216529742364588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943638694,"filename":"image_02122025_20_51_46_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f839285f5fd88b81624f940da42fbd1f.jpg","text":"TemporaryFile(/tmp/multipartBody8201528569579583913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943638694,"filename":"image_02122025_20_52_35_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/5/c9f587a0fae6eb6b896faa8a89e3f0b4.jpg","text":"TemporaryFile(/tmp/multipartBody395430821520280968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943638694,"filename":"image_02122025_20_52_25_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac9d900c75804d0d0e18a7b4cbf31ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2767411022933679473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943638694,"filename":"image_02122025_20_51_35_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398096405","file1":"1398096403","file0":"1398096399","file4":"1398096412","file5":"1398096433","file3":"1398096407"},"map_files_photo_id_array":[{"photo_id":"1398096433","filename":"file5"},{"photo_id":"1398096405","filename":"file2"},{"photo_id":"1398096412","filename":"file4"},{"photo_id":"1398096403","filename":"file1"},{"photo_id":"1398096399","filename":"file0"},{"photo_id":"1398096407","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398096405":["hashtag1","hashtag2"]},{"1398096407":["hashtag1","hashtag2"]},{"1398096403":["hashtag1","hashtag2"]},{"1398096433":["hashtag1","hashtag2"]},{"1398096412":["hashtag1","hashtag2"]},{"1398096399":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398096405, 1398096407, 1398096403, 1398096433, 1398096412, 1398096399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06620192527771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:07:03.775075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_45_9606.jpg', '/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_56_10814.jpg', '/home/pi/Desktop/images/05122025/14/11/image_05122025_14_12_05_9756.jpg', '/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_15_9837.jpg', '/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_25_9765.jpg', '/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_36_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_45_9606.jpg
/home/pi/Desktop/images/05122025/14/11/image_05122025_14_11_56_10814.jpg
/home/pi/Desktop/images/05122025/14/11/image_05122025_14_12_05_9756.jpg
/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_15_9837.jpg
/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_25_9765.jpg
/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_36_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398096849","1398096744","1398096674","1398096635","1398096800","1398096709"],"photo_ids_order":["1398096635","1398096674","1398096709","1398096744","1398096800","1398096849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/32c02157f091cf5cbf52dc576069c24a.jpg","text":"TemporaryFile(/tmp/multipartBody9113765059259799941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943686090,"filename":"image_05122025_14_12_36_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b76639ee5bc0056f2a6a3c554873f3be.jpg","text":"TemporaryFile(/tmp/multipartBody6116729026998454344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943686090,"filename":"image_05122025_14_12_15_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/970d3563035f56916a8322a32f1e77c9.jpg","text":"TemporaryFile(/tmp/multipartBody1660837179858056776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943686090,"filename":"image_05122025_14_11_56_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/5/a0e638fc097dde4f510798f1c65ad066.jpg","text":"TemporaryFile(/tmp/multipartBody8231450337894179187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943686090,"filename":"image_05122025_14_11_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e072406063ff3a9c274e74c430587d24.jpg","text":"TemporaryFile(/tmp/multipartBody620630279757308878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943686090,"filename":"image_05122025_14_12_25_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/5/b220ba6a80214dcf049ff1dd3b17def3.jpg","text":"TemporaryFile(/tmp/multipartBody4579890231296219511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943686090,"filename":"image_05122025_14_12_05_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398096709","file1":"1398096674","file0":"1398096635","file4":"1398096800","file5":"1398096849","file3":"1398096744"},"map_files_photo_id_array":[{"photo_id":"1398096849","filename":"file5"},{"photo_id":"1398096709","filename":"file2"},{"photo_id":"1398096800","filename":"file4"},{"photo_id":"1398096674","filename":"file1"},{"photo_id":"1398096635","filename":"file0"},{"photo_id":"1398096744","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398096849":["hashtag1","hashtag2"]},{"1398096744":["hashtag1","hashtag2"]},{"1398096674":["hashtag1","hashtag2"]},{"1398096635":["hashtag1","hashtag2"]},{"1398096800":["hashtag1","hashtag2"]},{"1398096709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398096849, 1398096744, 1398096674, 1398096635, 1398096800, 1398096709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.02741050720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:08:03.017222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_45_9684.jpg', '/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_55_9805.jpg', '/home/pi/Desktop/images/05122025/14/12/image_05122025_14_13_05_9647.jpg', '/home/pi/Desktop/images/05122025/14/13/image_05122025_14_13_16_10797.jpg', '/home/pi/Desktop/images/05122025/14/13/image_05122025_14_13_25_9510.jpg', '/home/pi/Desktop/images/05122025/14/13/image_05122025_14_13_36_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_45_9684.jpg
/home/pi/Desktop/images/05122025/14/12/image_05122025_14_12_55_9805.jpg
/home/pi/Desktop/images/05122025/14/12/image_05122025_14_13_05_9647.jpg
/home/pi/Desktop/images/05122025/14/13/image_05122025_14_13_16_10797.jpg
/home/pi/Desktop/images/05122025/14/13/image_05122025_14_13_25_9510.jpg
/home/pi/Desktop/images/05122025/14/13/image_05122025_14_13_36_10637.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":["1398097061","1398097031","1398097049","1398097016","1398097063","1398097059"],"photo_ids_order":["1398097016","1398097031","1398097049","1398097059","1398097061","1398097063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5aebe9659fa497f9ad8edfd4cacc03eb.jpg","text":"TemporaryFile(/tmp/multipartBody2831645132593356088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943747496,"filename":"image_05122025_14_13_25_9510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7843ee3eeb236e8ec2d08103a1e811e9.jpg","text":"TemporaryFile(/tmp/multipartBody5793609275235338203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943747496,"filename":"image_05122025_14_12_55_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c7b59ef2089fdbbab8e3982f93d3cb7c.jpg","text":"TemporaryFile(/tmp/multipartBody8117508822716095579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943747496,"filename":"image_05122025_14_13_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/5/e1363fe3ba40edad9f61bc7cd31a8d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6450343351169172729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943747496,"filename":"image_05122025_14_12_45_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a415b16bf6cb011c15a0f17dae48fa97.jpg","text":"TemporaryFile(/tmp/multipartBody5649787047274218935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943747496,"filename":"image_05122025_14_13_36_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/5/495e1fc57cd158b70a5f322e2403b1dc.jpg","text":"TemporaryFile(/tmp/multipartBody604253243543974717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943747496,"filename":"image_05122025_14_13_16_10797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097049","file1":"1398097031","file0":"1398097016","file4":"1398097061","file5":"1398097063","file3":"1398097059"},"map_files_photo_id_array":[{"photo_id":"1398097063","filename":"file5"},{"photo_id":"1398097049","filename":"file2"},{"photo_id":"1398097061","filename":"file4"},{"photo_id":"1398097031","filename":"file1"},{"photo_id":"1398097016","filename":"file0"},{"photo_id":"1398097059","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398097061":["hashtag1","hashtag2"]},{"1398097031":["hashtag1","hashtag2"]},{"1398097049":["hashtag1","hashtag2"]},{"1398097016":["hashtag1","hashtag2"]},{"1398097063":["hashtag1","hashtag2"]},{"1398097059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398097061, 1398097031, 1398097049, 1398097016, 1398097063, 1398097059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91703128814697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:09:02.750895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/13/image_05122025_14_13_45_9638.jpg', '/home/pi/Desktop/images/05122025/14/13/image_05122025_14_13_55_9555.jpg', '/home/pi/Desktop/images/05122025/14/13/image_05122025_14_14_06_10710.jpg', '/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_15_9768.jpg', '/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_25_9729.jpg', '/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_36_10541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/13/image_05122025_14_13_45_9638.jpg
/home/pi/Desktop/images/05122025/14/13/image_05122025_14_13_55_9555.jpg
/home/pi/Desktop/images/05122025/14/13/image_05122025_14_14_06_10710.jpg
/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_15_9768.jpg
/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_25_9729.jpg
/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_36_10541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398097137","1398097119","1398097130","1398097136","1398097132","1398097134"],"photo_ids_order":["1398097119","1398097130","1398097132","1398097134","1398097136","1398097137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/890eef4e06c395ddad46420f35253e7b.jpg","text":"TemporaryFile(/tmp/multipartBody6406075992416676049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943803474,"filename":"image_05122025_14_14_36_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/5/fe4d623c09a96e10925cb5a0dd6d7814.jpg","text":"TemporaryFile(/tmp/multipartBody4696972175869475429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943803474,"filename":"image_05122025_14_13_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/5/87738bd8b9ea63a724993b038fb93209.jpg","text":"TemporaryFile(/tmp/multipartBody5438533078070043485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943803474,"filename":"image_05122025_14_13_55_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/5/67a20530fb601304ec4ed806ca540076.jpg","text":"TemporaryFile(/tmp/multipartBody7705177764039359621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943803474,"filename":"image_05122025_14_14_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bec6b6379750908e380b5b56c515f96d.jpg","text":"TemporaryFile(/tmp/multipartBody1423718999459071238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943803474,"filename":"image_05122025_14_14_06_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/5/7ee13884e80288a5aa466b19211de5f9.jpg","text":"TemporaryFile(/tmp/multipartBody6474843710200064433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943803474,"filename":"image_05122025_14_14_15_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097132","file1":"1398097130","file0":"1398097119","file4":"1398097136","file5":"1398097137","file3":"1398097134"},"map_files_photo_id_array":[{"photo_id":"1398097137","filename":"file5"},{"photo_id":"1398097132","filename":"file2"},{"photo_id":"1398097136","filename":"file4"},{"photo_id":"1398097130","filename":"file1"},{"photo_id":"1398097119","filename":"file0"},{"photo_id":"1398097134","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398097137":["hashtag1","hashtag2"]},{"1398097119":["hashtag1","hashtag2"]},{"1398097130":["hashtag1","hashtag2"]},{"1398097136":["hashtag1","hashtag2"]},{"1398097132":["hashtag1","hashtag2"]},{"1398097134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398097137, 1398097119, 1398097130, 1398097136, 1398097132, 1398097134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65935683250427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:09:41.893054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_42_2649.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_44_2715.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_51_2643.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_53_2852.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_57_3774.jpg', '/home/pi/Desktop/images/31102025/19/51/image_31102025_19_52_00_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_42_2649.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_44_2715.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_51_2643.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_53_2852.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_51_57_3774.jpg
/home/pi/Desktop/images/31102025/19/51/image_31102025_19_52_00_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398097292","1398097378","1398097147","1398097219","1398097179","1398097338"],"photo_ids_order":["1398097147","1398097179","1398097219","1398097292","1398097338","1398097378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4540bca6960502b8b2fee8d81ea160a7.jpg","text":"TemporaryFile(/tmp/multipartBody1332490617314353753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943843488,"filename":"image_31102025_19_51_53_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/5/b48d57df04ba5c1292aa9e07005c7742.jpg","text":"TemporaryFile(/tmp/multipartBody4346051515250662749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943843488,"filename":"image_31102025_19_52_00_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/5/2838a7063fbb7241eccb611fe084a462.jpg","text":"TemporaryFile(/tmp/multipartBody8256231624784061336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943843488,"filename":"image_31102025_19_51_42_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/5/eb0a5e61303a615879dc9b94ec248840.jpg","text":"TemporaryFile(/tmp/multipartBody1429933471818402876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943843488,"filename":"image_31102025_19_51_51_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3bf6bd44c286a8b0be849fe48f2ba2fe.jpg","text":"TemporaryFile(/tmp/multipartBody5709424365110680199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943843488,"filename":"image_31102025_19_51_44_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/5/e95fa0e4cf657d42719a23b7a124b29a.jpg","text":"TemporaryFile(/tmp/multipartBody767885928365010290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943843488,"filename":"image_31102025_19_51_57_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097219","file1":"1398097179","file0":"1398097147","file4":"1398097338","file5":"1398097378","file3":"1398097292"},"map_files_photo_id_array":[{"photo_id":"1398097378","filename":"file5"},{"photo_id":"1398097219","filename":"file2"},{"photo_id":"1398097338","filename":"file4"},{"photo_id":"1398097179","filename":"file1"},{"photo_id":"1398097147","filename":"file0"},{"photo_id":"1398097292","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398097292":["hashtag1","hashtag2"]},{"1398097378":["hashtag1","hashtag2"]},{"1398097147":["hashtag1","hashtag2"]},{"1398097219":["hashtag1","hashtag2"]},{"1398097179":["hashtag1","hashtag2"]},{"1398097338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398097292, 1398097378, 1398097147, 1398097219, 1398097179, 1398097338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.345688581466675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:10:22.031422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_45_9528.jpg', '/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_55_9650.jpg', '/home/pi/Desktop/images/05122025/14/14/image_05122025_14_15_06_10824.jpg', '/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_15_9627.jpg', '/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_25_9626.jpg', '/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_36_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_45_9528.jpg
/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_55_9650.jpg
/home/pi/Desktop/images/05122025/14/14/image_05122025_14_15_06_10824.jpg
/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_15_9627.jpg
/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_25_9626.jpg
/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_36_10695.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5082783699035645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:10:32.042184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/52/image_02122025_20_52_46_10747.jpg', '/home/pi/Desktop/images/02122025/20/52/image_02122025_20_52_55_9771.jpg', '/home/pi/Desktop/images/02122025/20/53/image_02122025_20_53_15_9724.jpg', '/home/pi/Desktop/images/02122025/20/53/image_02122025_20_53_25_10556.jpg', '/home/pi/Desktop/images/02122025/20/53/image_02122025_20_53_35_9648.jpg', '/home/pi/Desktop/images/02122025/20/53/image_02122025_20_53_45_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/52/image_02122025_20_52_46_10747.jpg
/home/pi/Desktop/images/02122025/20/52/image_02122025_20_52_55_9771.jpg
/home/pi/Desktop/images/02122025/20/53/image_02122025_20_53_15_9724.jpg
/home/pi/Desktop/images/02122025/20/53/image_02122025_20_53_25_10556.jpg
/home/pi/Desktop/images/02122025/20/53/image_02122025_20_53_35_9648.jpg
/home/pi/Desktop/images/02122025/20/53/image_02122025_20_53_45_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":["1398097527","1398097512","1398097538","1398097505","1398097501","1398097545"],"photo_ids_order":["1398097501","1398097505","1398097512","1398097527","1398097538","1398097545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/657bb035248ad77ba0c97512eb960c89.jpg","text":"TemporaryFile(/tmp/multipartBody435104569716664352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943894097,"filename":"image_02122025_20_53_25_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/38c87143f035238b994d6059e84164af.jpg","text":"TemporaryFile(/tmp/multipartBody3992150310061450204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943894097,"filename":"image_02122025_20_53_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/5/db0df645027cb99b72ce4e57b1a37831.jpg","text":"TemporaryFile(/tmp/multipartBody5350664218212764816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943894097,"filename":"image_02122025_20_53_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/5/829f9f05caaadc985fa7cd82d6884710.jpg","text":"TemporaryFile(/tmp/multipartBody9153901496893111587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943894097,"filename":"image_02122025_20_52_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/5/ae44072f824e02953366ea295b510507.jpg","text":"TemporaryFile(/tmp/multipartBody2916567407343698208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943894097,"filename":"image_02122025_20_52_46_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/5/cde624b16213bec6d9058aa9671d2595.jpg","text":"TemporaryFile(/tmp/multipartBody2187441190133302071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943894097,"filename":"image_02122025_20_53_45_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097512","file1":"1398097505","file0":"1398097501","file4":"1398097538","file5":"1398097545","file3":"1398097527"},"map_files_photo_id_array":[{"photo_id":"1398097545","filename":"file5"},{"photo_id":"1398097512","filename":"file2"},{"photo_id":"1398097538","filename":"file4"},{"photo_id":"1398097505","filename":"file1"},{"photo_id":"1398097501","filename":"file0"},{"photo_id":"1398097527","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398097527":["hashtag1","hashtag2"]},{"1398097512":["hashtag1","hashtag2"]},{"1398097538":["hashtag1","hashtag2"]},{"1398097505":["hashtag1","hashtag2"]},{"1398097501":["hashtag1","hashtag2"]},{"1398097545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398097527, 1398097512, 1398097538, 1398097505, 1398097501, 1398097545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88805961608887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:11:12.307234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/53/image_02122025_20_53_56_10938.jpg', '/home/pi/Desktop/images/02122025/20/53/image_02122025_20_54_05_9667.jpg', '/home/pi/Desktop/images/02122025/20/54/image_02122025_20_54_15_9709.jpg', '/home/pi/Desktop/images/02122025/20/54/image_02122025_20_54_25_9856.jpg', '/home/pi/Desktop/images/02122025/20/54/image_02122025_20_54_36_10810.jpg', '/home/pi/Desktop/images/02122025/20/54/image_02122025_20_54_45_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/53/image_02122025_20_53_56_10938.jpg
/home/pi/Desktop/images/02122025/20/53/image_02122025_20_54_05_9667.jpg
/home/pi/Desktop/images/02122025/20/54/image_02122025_20_54_15_9709.jpg
/home/pi/Desktop/images/02122025/20/54/image_02122025_20_54_25_9856.jpg
/home/pi/Desktop/images/02122025/20/54/image_02122025_20_54_36_10810.jpg
/home/pi/Desktop/images/02122025/20/54/image_02122025_20_54_45_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398097562","1398097570","1398097573","1398097584","1398097566","1398097560"],"photo_ids_order":["1398097560","1398097562","1398097566","1398097570","1398097573","1398097584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b05c87bd3b6a427a0e77e88ddf165a75.jpg","text":"TemporaryFile(/tmp/multipartBody3887436136544375278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943934249,"filename":"image_02122025_20_54_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/5/57a867855cb2ec79b371d45098063627.jpg","text":"TemporaryFile(/tmp/multipartBody4821352831810868062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943934249,"filename":"image_02122025_20_54_25_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/5/6f63a67c8242699f7e6b8226f01099db.jpg","text":"TemporaryFile(/tmp/multipartBody5508676929061795450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943934249,"filename":"image_02122025_20_54_36_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fd4e71fa7e639b4ddf4b6ca556c60841.jpg","text":"TemporaryFile(/tmp/multipartBody3754353671092734407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943934249,"filename":"image_02122025_20_54_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/5/0afeb62035da5b6d341fa95733643a23.jpg","text":"TemporaryFile(/tmp/multipartBody2669945013043103529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943934249,"filename":"image_02122025_20_54_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/5/36b60fa12d4380a91775fadb9a7cff5e.jpg","text":"TemporaryFile(/tmp/multipartBody920315608569533497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943934249,"filename":"image_02122025_20_53_56_10938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097566","file1":"1398097562","file0":"1398097560","file4":"1398097573","file5":"1398097584","file3":"1398097570"},"map_files_photo_id_array":[{"photo_id":"1398097584","filename":"file5"},{"photo_id":"1398097566","filename":"file2"},{"photo_id":"1398097573","filename":"file4"},{"photo_id":"1398097562","filename":"file1"},{"photo_id":"1398097560","filename":"file0"},{"photo_id":"1398097570","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398097562":["hashtag1","hashtag2"]},{"1398097570":["hashtag1","hashtag2"]},{"1398097573":["hashtag1","hashtag2"]},{"1398097584":["hashtag1","hashtag2"]},{"1398097566":["hashtag1","hashtag2"]},{"1398097560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398097562, 1398097570, 1398097573, 1398097584, 1398097566, 1398097560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47385334968567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:12:04.547517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_45_9528.jpg', '/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_55_9650.jpg', '/home/pi/Desktop/images/05122025/14/14/image_05122025_14_15_06_10824.jpg', '/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_15_9627.jpg', '/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_25_9626.jpg', '/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_36_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_45_9528.jpg
/home/pi/Desktop/images/05122025/14/14/image_05122025_14_14_55_9650.jpg
/home/pi/Desktop/images/05122025/14/14/image_05122025_14_15_06_10824.jpg
/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_15_9627.jpg
/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_25_9626.jpg
/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_36_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":["1398097640","1398097642","1398097630","1398097633","1398097635","1398097644"],"photo_ids_order":["1398097630","1398097633","1398097635","1398097640","1398097642","1398097644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ce129ce8a72e41c8bc86e3d8f8b44fe.jpg","text":"TemporaryFile(/tmp/multipartBody4493920750412616988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943987735,"filename":"image_05122025_14_15_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cee4da143aaa2ee41164fa00d3206472.jpg","text":"TemporaryFile(/tmp/multipartBody1271290397735541301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943987735,"filename":"image_05122025_14_15_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/5/a3c74b062f871a401ed17e676939aed0.jpg","text":"TemporaryFile(/tmp/multipartBody6212395888265218799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943987735,"filename":"image_05122025_14_14_45_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/5/a54029aec31b93502e3cc54821bdf702.jpg","text":"TemporaryFile(/tmp/multipartBody5458007743583661080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943987735,"filename":"image_05122025_14_14_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/5/a95d73f6dce868165e486eda3c11e5d6.jpg","text":"TemporaryFile(/tmp/multipartBody4449574864751795294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943987735,"filename":"image_05122025_14_15_06_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/5/c78b6901e4f38444be34b3f8c0bb5410.jpg","text":"TemporaryFile(/tmp/multipartBody6289519103099808409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764943987735,"filename":"image_05122025_14_15_36_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097635","file1":"1398097633","file0":"1398097630","file4":"1398097642","file5":"1398097644","file3":"1398097640"},"map_files_photo_id_array":[{"photo_id":"1398097644","filename":"file5"},{"photo_id":"1398097635","filename":"file2"},{"photo_id":"1398097642","filename":"file4"},{"photo_id":"1398097633","filename":"file1"},{"photo_id":"1398097630","filename":"file0"},{"photo_id":"1398097640","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398097640":["hashtag1","hashtag2"]},{"1398097642":["hashtag1","hashtag2"]},{"1398097630":["hashtag1","hashtag2"]},{"1398097633":["hashtag1","hashtag2"]},{"1398097635":["hashtag1","hashtag2"]},{"1398097644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398097640, 1398097642, 1398097630, 1398097633, 1398097635, 1398097644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4583637714386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:12:44.293933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_03_2731.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_09_2648.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_11_2588.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_15_3641.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_18_2684.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_20_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_03_2731.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_09_2648.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_11_2588.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_15_3641.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_18_2684.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_20_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":["1398097664","1398097684","1398097672","1398097666","1398097648","1398097665"],"photo_ids_order":["1398097648","1398097664","1398097665","1398097666","1398097672","1398097684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/540579becfb932d92d6ad794d08fe6f5.jpg","text":"TemporaryFile(/tmp/multipartBody2970473216552499604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944025844,"filename":"image_31102025_19_52_09_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/5/6e10fa8b1ae1981c911c080ad4c4926d.jpg","text":"TemporaryFile(/tmp/multipartBody1785826904550610383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944025844,"filename":"image_31102025_19_52_20_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4daad3b69e63d70a19577554b5bf704.jpg","text":"TemporaryFile(/tmp/multipartBody4905381123867640498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944025844,"filename":"image_31102025_19_52_18_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/5/3e69d7db8ec072caf2764c6df3247b54.jpg","text":"TemporaryFile(/tmp/multipartBody8798955544193138902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944025844,"filename":"image_31102025_19_52_15_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/5/a2052d7b7abc6907eb3363580fc7f8a4.jpg","text":"TemporaryFile(/tmp/multipartBody458166669717478578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944025844,"filename":"image_31102025_19_52_03_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/5/8880e459cfe2c1aa69fc14417b63cf77.jpg","text":"TemporaryFile(/tmp/multipartBody5875427130260492946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944025844,"filename":"image_31102025_19_52_11_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097665","file1":"1398097664","file0":"1398097648","file4":"1398097672","file5":"1398097684","file3":"1398097666"},"map_files_photo_id_array":[{"photo_id":"1398097684","filename":"file5"},{"photo_id":"1398097665","filename":"file2"},{"photo_id":"1398097672","filename":"file4"},{"photo_id":"1398097664","filename":"file1"},{"photo_id":"1398097648","filename":"file0"},{"photo_id":"1398097666","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398097664":["hashtag1","hashtag2"]},{"1398097684":["hashtag1","hashtag2"]},{"1398097672":["hashtag1","hashtag2"]},{"1398097666":["hashtag1","hashtag2"]},{"1398097648":["hashtag1","hashtag2"]},{"1398097665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398097664, 1398097684, 1398097672, 1398097666, 1398097648, 1398097665)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.56671380996704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:13:32.437032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/54/image_02122025_20_54_55_9728.jpg', '/home/pi/Desktop/images/02122025/20/54/image_02122025_20_55_05_9664.jpg', '/home/pi/Desktop/images/02122025/20/55/image_02122025_20_55_16_10731.jpg', '/home/pi/Desktop/images/02122025/20/55/image_02122025_20_55_25_9729.jpg', '/home/pi/Desktop/images/02122025/20/55/image_02122025_20_55_35_9635.jpg', '/home/pi/Desktop/images/02122025/20/55/image_02122025_20_55_45_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/54/image_02122025_20_54_55_9728.jpg
/home/pi/Desktop/images/02122025/20/54/image_02122025_20_55_05_9664.jpg
/home/pi/Desktop/images/02122025/20/55/image_02122025_20_55_16_10731.jpg
/home/pi/Desktop/images/02122025/20/55/image_02122025_20_55_25_9729.jpg
/home/pi/Desktop/images/02122025/20/55/image_02122025_20_55_35_9635.jpg
/home/pi/Desktop/images/02122025/20/55/image_02122025_20_55_45_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398097710","1398097712","1398097715","1398097703","1398097698","1398097716"],"photo_ids_order":["1398097698","1398097703","1398097710","1398097712","1398097715","1398097716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f289e7113dc582b18ee934268730ac9.jpg","text":"TemporaryFile(/tmp/multipartBody4292145503527150059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944077247,"filename":"image_02122025_20_55_16_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8a81dcd07a39a65ea0f54c0ce0f26265.jpg","text":"TemporaryFile(/tmp/multipartBody501374103351515728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944077247,"filename":"image_02122025_20_55_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fb0b287d4d52f0dcca6ce1afab020bf7.jpg","text":"TemporaryFile(/tmp/multipartBody7594009931900205521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944077247,"filename":"image_02122025_20_55_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c8c3130cfdf2981e3c21b45a6137c97d.jpg","text":"TemporaryFile(/tmp/multipartBody5643131507276347595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944077247,"filename":"image_02122025_20_55_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ed78ee69ea394bf5f7181894fd20fd85.jpg","text":"TemporaryFile(/tmp/multipartBody5991934173233162411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944077247,"filename":"image_02122025_20_54_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/5/164fa29748cf77547c704cea8a86ac41.jpg","text":"TemporaryFile(/tmp/multipartBody213431072404408833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944077247,"filename":"image_02122025_20_55_45_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097710","file1":"1398097703","file0":"1398097698","file4":"1398097715","file5":"1398097716","file3":"1398097712"},"map_files_photo_id_array":[{"photo_id":"1398097716","filename":"file5"},{"photo_id":"1398097710","filename":"file2"},{"photo_id":"1398097715","filename":"file4"},{"photo_id":"1398097703","filename":"file1"},{"photo_id":"1398097698","filename":"file0"},{"photo_id":"1398097712","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398097710":["hashtag1","hashtag2"]},{"1398097712":["hashtag1","hashtag2"]},{"1398097715":["hashtag1","hashtag2"]},{"1398097703":["hashtag1","hashtag2"]},{"1398097698":["hashtag1","hashtag2"]},{"1398097716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398097710, 1398097712, 1398097715, 1398097703, 1398097698, 1398097716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17301893234253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:14:22.771597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_45_9566.jpg', '/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_55_9705.jpg', '/home/pi/Desktop/images/05122025/14/15/image_05122025_14_16_06_10752.jpg', '/home/pi/Desktop/images/05122025/14/16/image_05122025_14_16_16_9885.jpg', '/home/pi/Desktop/images/05122025/14/16/image_05122025_14_16_25_9529.jpg', '/home/pi/Desktop/images/05122025/14/16/image_05122025_14_16_36_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_45_9566.jpg
/home/pi/Desktop/images/05122025/14/15/image_05122025_14_15_55_9705.jpg
/home/pi/Desktop/images/05122025/14/15/image_05122025_14_16_06_10752.jpg
/home/pi/Desktop/images/05122025/14/16/image_05122025_14_16_16_9885.jpg
/home/pi/Desktop/images/05122025/14/16/image_05122025_14_16_25_9529.jpg
/home/pi/Desktop/images/05122025/14/16/image_05122025_14_16_36_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":["1398097725","1398097727","1398097742","1398097736","1398097723","1398097729"],"photo_ids_order":["1398097723","1398097725","1398097727","1398097729","1398097736","1398097742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2310911d612c6baebcaaeeacb488b1a6.jpg","text":"TemporaryFile(/tmp/multipartBody3907755674576395404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944123411,"filename":"image_05122025_14_15_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/5/cd85c79c4d2a1f3b1b6ceb8d5d2fb9b2.jpg","text":"TemporaryFile(/tmp/multipartBody4325232637789924369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944123411,"filename":"image_05122025_14_16_06_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/5/edfaee28f2447f5fdeaf1664b0d8016d.jpg","text":"TemporaryFile(/tmp/multipartBody615334740827321314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944123411,"filename":"image_05122025_14_16_36_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d4dcda234d91fdf9810e28bdf59171e8.jpg","text":"TemporaryFile(/tmp/multipartBody7067803575703860680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944123411,"filename":"image_05122025_14_16_25_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f7cc9cdd435df9865ac0aca9d8defade.jpg","text":"TemporaryFile(/tmp/multipartBody4810274195295021130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944123411,"filename":"image_05122025_14_15_45_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c0a78888c63835b4870d9e26f3cf9808.jpg","text":"TemporaryFile(/tmp/multipartBody4946920321794435103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944123411,"filename":"image_05122025_14_16_16_9885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097727","file1":"1398097725","file0":"1398097723","file4":"1398097736","file5":"1398097742","file3":"1398097729"},"map_files_photo_id_array":[{"photo_id":"1398097742","filename":"file5"},{"photo_id":"1398097727","filename":"file2"},{"photo_id":"1398097736","filename":"file4"},{"photo_id":"1398097725","filename":"file1"},{"photo_id":"1398097723","filename":"file0"},{"photo_id":"1398097729","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398097725":["hashtag1","hashtag2"]},{"1398097727":["hashtag1","hashtag2"]},{"1398097742":["hashtag1","hashtag2"]},{"1398097736":["hashtag1","hashtag2"]},{"1398097723":["hashtag1","hashtag2"]},{"1398097729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398097725, 1398097727, 1398097742, 1398097736, 1398097723, 1398097729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.193437337875366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:15:02.516142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/16/image_05122025_14_16_45_9766.jpg', '/home/pi/Desktop/images/05122025/14/16/image_05122025_14_16_55_9678.jpg', '/home/pi/Desktop/images/05122025/14/16/image_05122025_14_17_05_9711.jpg', '/home/pi/Desktop/images/05122025/14/17/image_05122025_14_17_16_10643.jpg', '/home/pi/Desktop/images/05122025/14/17/image_05122025_14_17_25_9666.jpg', '/home/pi/Desktop/images/05122025/14/17/image_05122025_14_17_36_10523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/16/image_05122025_14_16_45_9766.jpg
/home/pi/Desktop/images/05122025/14/16/image_05122025_14_16_55_9678.jpg
/home/pi/Desktop/images/05122025/14/16/image_05122025_14_17_05_9711.jpg
/home/pi/Desktop/images/05122025/14/17/image_05122025_14_17_16_10643.jpg
/home/pi/Desktop/images/05122025/14/17/image_05122025_14_17_25_9666.jpg
/home/pi/Desktop/images/05122025/14/17/image_05122025_14_17_36_10523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398097830","1398097818","1398097826","1398097829","1398097831","1398097833"],"photo_ids_order":["1398097818","1398097826","1398097829","1398097830","1398097831","1398097833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/76eda0cad3368cb29323446549b744c3.jpg","text":"TemporaryFile(/tmp/multipartBody2950325251532662325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944163233,"filename":"image_05122025_14_17_16_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/5/49b44c18388c9d63d0642672477928d2.jpg","text":"TemporaryFile(/tmp/multipartBody2094325292609275922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944163233,"filename":"image_05122025_14_16_45_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d135c2ff2407398fe232496f59abcb58.jpg","text":"TemporaryFile(/tmp/multipartBody5339102920172933761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944163233,"filename":"image_05122025_14_16_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/5/8002b0c7c5d749c804beee4cbf557c88.jpg","text":"TemporaryFile(/tmp/multipartBody6122357147487827211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944163233,"filename":"image_05122025_14_17_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/5/14b56ae24ef33afa4f9f404e3407f84a.jpg","text":"TemporaryFile(/tmp/multipartBody2317516939480724579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944163233,"filename":"image_05122025_14_17_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/5/ef0fc5a7b1e0d90535136f8d52142574.jpg","text":"TemporaryFile(/tmp/multipartBody8908964899850529794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944163233,"filename":"image_05122025_14_17_36_10523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097829","file1":"1398097826","file0":"1398097818","file4":"1398097831","file5":"1398097833","file3":"1398097830"},"map_files_photo_id_array":[{"photo_id":"1398097833","filename":"file5"},{"photo_id":"1398097829","filename":"file2"},{"photo_id":"1398097831","filename":"file4"},{"photo_id":"1398097826","filename":"file1"},{"photo_id":"1398097818","filename":"file0"},{"photo_id":"1398097830","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398097830":["hashtag1","hashtag2"]},{"1398097818":["hashtag1","hashtag2"]},{"1398097826":["hashtag1","hashtag2"]},{"1398097829":["hashtag1","hashtag2"]},{"1398097831":["hashtag1","hashtag2"]},{"1398097833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398097830, 1398097818, 1398097826, 1398097829, 1398097831, 1398097833)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.54466128349304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:16:04.920899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/17/image_05122025_14_17_45_9555.jpg', '/home/pi/Desktop/images/05122025/14/17/image_05122025_14_17_55_9726.jpg', '/home/pi/Desktop/images/05122025/14/17/image_05122025_14_18_06_10744.jpg', '/home/pi/Desktop/images/05122025/14/18/image_05122025_14_18_15_9617.jpg', '/home/pi/Desktop/images/05122025/14/18/image_05122025_14_18_25_9593.jpg', '/home/pi/Desktop/images/05122025/14/18/image_05122025_14_18_45_9528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/17/image_05122025_14_17_45_9555.jpg
/home/pi/Desktop/images/05122025/14/17/image_05122025_14_17_55_9726.jpg
/home/pi/Desktop/images/05122025/14/17/image_05122025_14_18_06_10744.jpg
/home/pi/Desktop/images/05122025/14/18/image_05122025_14_18_15_9617.jpg
/home/pi/Desktop/images/05122025/14/18/image_05122025_14_18_25_9593.jpg
/home/pi/Desktop/images/05122025/14/18/image_05122025_14_18_45_9528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398097844","1398097841","1398097843","1398097846","1398097848","1398097842"],"photo_ids_order":["1398097841","1398097842","1398097843","1398097844","1398097846","1398097848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/192364037f36278e4d5bd979502f33c7.jpg","text":"TemporaryFile(/tmp/multipartBody7463402470017861030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944228273,"filename":"image_05122025_14_18_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/5/1edef32802bfa7567b86d491c7a9b1e5.jpg","text":"TemporaryFile(/tmp/multipartBody7314131995028371700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944228273,"filename":"image_05122025_14_17_45_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/5/33cb3fdeaae4b9b43e494aef853aef85.jpg","text":"TemporaryFile(/tmp/multipartBody4114313388451699535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944228273,"filename":"image_05122025_14_18_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/5/9018eb6d6102f8ed83b2c9cd95a584ab.jpg","text":"TemporaryFile(/tmp/multipartBody7822801350376108218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944228273,"filename":"image_05122025_14_18_25_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91fedb2127756b1ac373080c0362139b.jpg","text":"TemporaryFile(/tmp/multipartBody4076282806241615770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944228273,"filename":"image_05122025_14_18_45_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/5/409352a5e3446189eb8b15663fe091e0.jpg","text":"TemporaryFile(/tmp/multipartBody9118182560259817626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944228273,"filename":"image_05122025_14_17_55_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097843","file1":"1398097842","file0":"1398097841","file4":"1398097846","file5":"1398097848","file3":"1398097844"},"map_files_photo_id_array":[{"photo_id":"1398097848","filename":"file5"},{"photo_id":"1398097843","filename":"file2"},{"photo_id":"1398097846","filename":"file4"},{"photo_id":"1398097842","filename":"file1"},{"photo_id":"1398097841","filename":"file0"},{"photo_id":"1398097844","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398097844":["hashtag1","hashtag2"]},{"1398097841":["hashtag1","hashtag2"]},{"1398097843":["hashtag1","hashtag2"]},{"1398097846":["hashtag1","hashtag2"]},{"1398097848":["hashtag1","hashtag2"]},{"1398097842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398097844, 1398097841, 1398097843, 1398097846, 1398097848, 1398097842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69929909706116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:16:44.523515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_24_3658.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_27_2481.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_29_2932.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_33_3629.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_38_2696.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_42_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_24_3658.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_27_2481.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_29_2932.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_33_3629.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_38_2696.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_42_3645.jpg
 val : 1 : upload photos already in 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":["1398097874","1398097871","1398097865","1398097867","1398097864","1398097869"],"photo_ids_order":["1398097864","1398097865","1398097867","1398097869","1398097871","1398097874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0d577c93049e18d975bad6b92432987.jpg","text":"TemporaryFile(/tmp/multipartBody6519457403879621653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944277569,"filename":"image_31102025_19_52_42_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/5/6399658a40eca6e510d01c5611143a08.jpg","text":"TemporaryFile(/tmp/multipartBody53996654729609940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944277569,"filename":"image_31102025_19_52_38_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/5/024e4c0463366294658f55852491e8d6.jpg","text":"TemporaryFile(/tmp/multipartBody2948636350264651019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944277569,"filename":"image_31102025_19_52_27_2481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87879b793e7734f43fdde9d3dcbb1f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7634513414942291815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944277569,"filename":"image_31102025_19_52_29_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/5/23b8edea2011b1f92984126870d95382.jpg","text":"TemporaryFile(/tmp/multipartBody2186241525022678383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944277569,"filename":"image_31102025_19_52_24_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/5/2346fbc157625d26ff358194bfd8a33e.jpg","text":"TemporaryFile(/tmp/multipartBody4693393328779306492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944277569,"filename":"image_31102025_19_52_33_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097867","file1":"1398097865","file0":"1398097864","file4":"1398097871","file5":"1398097874","file3":"1398097869"},"map_files_photo_id_array":[{"photo_id":"1398097874","filename":"file5"},{"photo_id":"1398097867","filename":"file2"},{"photo_id":"1398097871","filename":"file4"},{"photo_id":"1398097865","filename":"file1"},{"photo_id":"1398097864","filename":"file0"},{"photo_id":"1398097869","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398097874":["hashtag1","hashtag2"]},{"1398097871":["hashtag1","hashtag2"]},{"1398097865":["hashtag1","hashtag2"]},{"1398097867":["hashtag1","hashtag2"]},{"1398097864":["hashtag1","hashtag2"]},{"1398097869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398097874, 1398097871, 1398097865, 1398097867, 1398097864, 1398097869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.09996294975281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-05 15:17:42.915502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_45_2724.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_51_3567.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_54_2634.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_56_2643.jpg', '/home/pi/Desktop/images/31102025/19/52/image_31102025_19_53_00_3712.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_05_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_45_2724.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_51_3567.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_54_2634.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_52_56_2643.jpg
/home/pi/Desktop/images/31102025/19/52/image_31102025_19_53_00_3712.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_05_2606.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":["1398097943","1398097940","1398097934","1398097928","1398097942","1398097926"],"photo_ids_order":["1398097926","1398097928","1398097934","1398097940","1398097942","1398097943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fac439d9c2a1c3178e741bd48f8457d0.jpg","text":"TemporaryFile(/tmp/multipartBody3819950686912959770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944371287,"filename":"image_31102025_19_53_05_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/5/f96f1ce1e2970ee74799bb67a324296c.jpg","text":"TemporaryFile(/tmp/multipartBody451519521007202055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944371287,"filename":"image_31102025_19_52_56_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/5/30dafd397a0a7241fb78e44d949d885d.jpg","text":"TemporaryFile(/tmp/multipartBody4551459682388997076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944371287,"filename":"image_31102025_19_52_54_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/5/44fa45ef8553a1d01f53732edded0c7d.jpg","text":"TemporaryFile(/tmp/multipartBody8159036925036239580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944371287,"filename":"image_31102025_19_52_51_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/5/2251f364845460884e745a90e929690d.jpg","text":"TemporaryFile(/tmp/multipartBody8366775247720641764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944371287,"filename":"image_31102025_19_53_00_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4a2c043d75b1fa8ffa4f5aafdf30e7ac.jpg","text":"TemporaryFile(/tmp/multipartBody5322720117112440403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944371287,"filename":"image_31102025_19_52_45_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097934","file1":"1398097928","file0":"1398097926","file4":"1398097942","file5":"1398097943","file3":"1398097940"},"map_files_photo_id_array":[{"photo_id":"1398097943","filename":"file5"},{"photo_id":"1398097934","filename":"file2"},{"photo_id":"1398097942","filename":"file4"},{"photo_id":"1398097928","filename":"file1"},{"photo_id":"1398097926","filename":"file0"},{"photo_id":"1398097940","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398097943":["hashtag1","hashtag2"]},{"1398097940":["hashtag1","hashtag2"]},{"1398097934":["hashtag1","hashtag2"]},{"1398097928":["hashtag1","hashtag2"]},{"1398097942":["hashtag1","hashtag2"]},{"1398097926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398097943, 1398097940, 1398097934, 1398097928, 1398097942, 1398097926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.1880247592926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:19:12.028082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/55/image_02122025_20_55_55_10753.jpg', '/home/pi/Desktop/images/02122025/20/56/image_02122025_20_56_15_9921.jpg', '/home/pi/Desktop/images/02122025/20/56/image_02122025_20_56_25_9630.jpg', '/home/pi/Desktop/images/02122025/20/56/image_02122025_20_56_35_10644.jpg', '/home/pi/Desktop/images/02122025/20/56/image_02122025_20_56_45_9676.jpg', '/home/pi/Desktop/images/02122025/20/56/image_02122025_20_56_55_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/55/image_02122025_20_55_55_10753.jpg
/home/pi/Desktop/images/02122025/20/56/image_02122025_20_56_15_9921.jpg
/home/pi/Desktop/images/02122025/20/56/image_02122025_20_56_25_9630.jpg
/home/pi/Desktop/images/02122025/20/56/image_02122025_20_56_35_10644.jpg
/home/pi/Desktop/images/02122025/20/56/image_02122025_20_56_45_9676.jpg
/home/pi/Desktop/images/02122025/20/56/image_02122025_20_56_55_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":["1398097949","1398097952","1398097946","1398097954","1398097957","1398097944"],"photo_ids_order":["1398097944","1398097946","1398097949","1398097952","1398097954","1398097957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/421a911c3b87eec82093eb360ad046a3.jpg","text":"TemporaryFile(/tmp/multipartBody7101461503077303501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944414047,"filename":"image_02122025_20_56_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d79654567e00d2f94c74c0274afd0a9.jpg","text":"TemporaryFile(/tmp/multipartBody1408015805700771679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944414047,"filename":"image_02122025_20_56_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/179400949871d256bfa390e5064eeb35.jpg","text":"TemporaryFile(/tmp/multipartBody7118174466292681645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944414047,"filename":"image_02122025_20_56_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/5/c397434e9b9e65c394603bf4a8a65ea0.jpg","text":"TemporaryFile(/tmp/multipartBody3978403753421014045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944414047,"filename":"image_02122025_20_56_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/5/261d0783527b01e28b902b6b92921c1c.jpg","text":"TemporaryFile(/tmp/multipartBody6247886609785188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944414047,"filename":"image_02122025_20_56_55_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/5/a8d23b26ddd1e4bf9e41ae5154224fa6.jpg","text":"TemporaryFile(/tmp/multipartBody4182415766562667088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944414047,"filename":"image_02122025_20_55_55_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097949","file1":"1398097946","file0":"1398097944","file4":"1398097954","file5":"1398097957","file3":"1398097952"},"map_files_photo_id_array":[{"photo_id":"1398097957","filename":"file5"},{"photo_id":"1398097949","filename":"file2"},{"photo_id":"1398097954","filename":"file4"},{"photo_id":"1398097946","filename":"file1"},{"photo_id":"1398097944","filename":"file0"},{"photo_id":"1398097952","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398097949":["hashtag1","hashtag2"]},{"1398097952":["hashtag1","hashtag2"]},{"1398097946":["hashtag1","hashtag2"]},{"1398097954":["hashtag1","hashtag2"]},{"1398097957":["hashtag1","hashtag2"]},{"1398097944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398097949, 1398097952, 1398097946, 1398097954, 1398097957, 1398097944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77387809753418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:20:02.720362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/18/image_05122025_14_18_56_10623.jpg', '/home/pi/Desktop/images/05122025/14/18/image_05122025_14_19_06_9784.jpg', '/home/pi/Desktop/images/05122025/14/19/image_05122025_14_19_15_9587.jpg', '/home/pi/Desktop/images/05122025/14/19/image_05122025_14_19_25_9679.jpg', '/home/pi/Desktop/images/05122025/14/19/image_05122025_14_19_35_10607.jpg', '/home/pi/Desktop/images/05122025/14/19/image_05122025_14_19_45_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/18/image_05122025_14_18_56_10623.jpg
/home/pi/Desktop/images/05122025/14/18/image_05122025_14_19_06_9784.jpg
/home/pi/Desktop/images/05122025/14/19/image_05122025_14_19_15_9587.jpg
/home/pi/Desktop/images/05122025/14/19/image_05122025_14_19_25_9679.jpg
/home/pi/Desktop/images/05122025/14/19/image_05122025_14_19_35_10607.jpg
/home/pi/Desktop/images/05122025/14/19/image_05122025_14_19_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":["1398097967","1398097964","1398097966","1398097971","1398097965","1398097968"],"photo_ids_order":["1398097964","1398097965","1398097966","1398097967","1398097968","1398097971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/940dd30be21709c72bb51a01e0b60697.jpg","text":"TemporaryFile(/tmp/multipartBody7065332934503561862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944463313,"filename":"image_05122025_14_19_25_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b24292101f1237cb2f6fa2d4de4add17.jpg","text":"TemporaryFile(/tmp/multipartBody7354001361986372199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944463313,"filename":"image_05122025_14_18_56_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/5/9f7097bf8696ff84821f4c7132ba0638.jpg","text":"TemporaryFile(/tmp/multipartBody8809878010829852143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944463313,"filename":"image_05122025_14_19_15_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/5/edcb498aecc71f081a50dc89a3556542.jpg","text":"TemporaryFile(/tmp/multipartBody6403197480309935635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944463313,"filename":"image_05122025_14_19_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/5/56e84913d69b051c8028d5edca87b4e9.jpg","text":"TemporaryFile(/tmp/multipartBody7116274396208446430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944463313,"filename":"image_05122025_14_19_06_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/5/9faad63ba35b4330d0bd4c27bd6ea62a.jpg","text":"TemporaryFile(/tmp/multipartBody4601778371974890534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944463313,"filename":"image_05122025_14_19_35_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398097966","file1":"1398097965","file0":"1398097964","file4":"1398097968","file5":"1398097971","file3":"1398097967"},"map_files_photo_id_array":[{"photo_id":"1398097971","filename":"file5"},{"photo_id":"1398097966","filename":"file2"},{"photo_id":"1398097968","filename":"file4"},{"photo_id":"1398097965","filename":"file1"},{"photo_id":"1398097964","filename":"file0"},{"photo_id":"1398097967","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398097967":["hashtag1","hashtag2"]},{"1398097964":["hashtag1","hashtag2"]},{"1398097966":["hashtag1","hashtag2"]},{"1398097971":["hashtag1","hashtag2"]},{"1398097965":["hashtag1","hashtag2"]},{"1398097968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398097967, 1398097964, 1398097966, 1398097971, 1398097965, 1398097968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51668095588684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:20:42.197897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_09_3768.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_15_2735.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_17_2636.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_21_3663.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_26_2728.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_30_3837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_09_3768.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_15_2735.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_17_2636.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_21_3663.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_26_2728.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_30_3837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098021","1398097990","1398097984","1398098020","1398098025","1398098037"],"photo_ids_order":["1398097984","1398097990","1398098020","1398098021","1398098025","1398098037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8af3c33ca58fbac7525755791a0cca3c.jpg","text":"TemporaryFile(/tmp/multipartBody8366399013121549256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944503747,"filename":"image_31102025_19_53_21_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/5/c41b4fb06c1e54667491cd3fb9ed049e.jpg","text":"TemporaryFile(/tmp/multipartBody4695350493873845484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944503747,"filename":"image_31102025_19_53_15_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/5/4ed1127a4cf47bff856d46e0eabeed75.jpg","text":"TemporaryFile(/tmp/multipartBody2209086613318804571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944503747,"filename":"image_31102025_19_53_09_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/5/7094e60a29e210eba99f59a594b2acc2.jpg","text":"TemporaryFile(/tmp/multipartBody7984149448382393742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944503747,"filename":"image_31102025_19_53_17_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/5/9e04e9b3ba2becc431786746e3eac856.jpg","text":"TemporaryFile(/tmp/multipartBody3607637899060800729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944503747,"filename":"image_31102025_19_53_26_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4ef6dfae03923fe12a3850d1bce80c24.jpg","text":"TemporaryFile(/tmp/multipartBody4350928419570774783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944503747,"filename":"image_31102025_19_53_30_3837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098020","file1":"1398097990","file0":"1398097984","file4":"1398098025","file5":"1398098037","file3":"1398098021"},"map_files_photo_id_array":[{"photo_id":"1398098037","filename":"file5"},{"photo_id":"1398098020","filename":"file2"},{"photo_id":"1398098025","filename":"file4"},{"photo_id":"1398097990","filename":"file1"},{"photo_id":"1398097984","filename":"file0"},{"photo_id":"1398098021","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398098021":["hashtag1","hashtag2"]},{"1398097990":["hashtag1","hashtag2"]},{"1398097984":["hashtag1","hashtag2"]},{"1398098020":["hashtag1","hashtag2"]},{"1398098025":["hashtag1","hashtag2"]},{"1398098037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398098021, 1398097990, 1398097984, 1398098020, 1398098025, 1398098037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72783637046814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:21:28.546005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/19/image_05122025_14_19_56_10751.jpg', '/home/pi/Desktop/images/05122025/14/19/image_05122025_14_20_05_9691.jpg', '/home/pi/Desktop/images/05122025/14/20/image_05122025_14_20_15_9918.jpg', '/home/pi/Desktop/images/05122025/14/20/image_05122025_14_20_25_9625.jpg', '/home/pi/Desktop/images/05122025/14/20/image_05122025_14_20_36_10708.jpg', '/home/pi/Desktop/images/05122025/14/20/image_05122025_14_20_45_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/19/image_05122025_14_19_56_10751.jpg
/home/pi/Desktop/images/05122025/14/19/image_05122025_14_20_05_9691.jpg
/home/pi/Desktop/images/05122025/14/20/image_05122025_14_20_15_9918.jpg
/home/pi/Desktop/images/05122025/14/20/image_05122025_14_20_25_9625.jpg
/home/pi/Desktop/images/05122025/14/20/image_05122025_14_20_36_10708.jpg
/home/pi/Desktop/images/05122025/14/20/image_05122025_14_20_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":["1398098045","1398098059","1398098053","1398098056","1398098061","1398098049"],"photo_ids_order":["1398098045","1398098049","1398098053","1398098056","1398098059","1398098061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f17319a3b198d42bdc4b48ece7bbb3d.jpg","text":"TemporaryFile(/tmp/multipartBody6857260604251157943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944549155,"filename":"image_05122025_14_19_56_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/72cf20be3f5e784a36af2cd77e4be852.jpg","text":"TemporaryFile(/tmp/multipartBody1780107842343403166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944549155,"filename":"image_05122025_14_20_36_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/5/48504c2be85c4a276ec93d1c398c976e.jpg","text":"TemporaryFile(/tmp/multipartBody4480721377724766542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944549155,"filename":"image_05122025_14_20_15_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/5/a262c39e1a061889db5459b59a0598d1.jpg","text":"TemporaryFile(/tmp/multipartBody5599283302562072968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944549155,"filename":"image_05122025_14_20_25_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/5/50b030aa52f5efd6a4834b753d036b69.jpg","text":"TemporaryFile(/tmp/multipartBody4772981301925803594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944549155,"filename":"image_05122025_14_20_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/5/5b32b4d04907b35d1ec28cea844ad7bf.jpg","text":"TemporaryFile(/tmp/multipartBody8642216388479317809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944549155,"filename":"image_05122025_14_20_05_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098053","file1":"1398098049","file0":"1398098045","file4":"1398098059","file5":"1398098061","file3":"1398098056"},"map_files_photo_id_array":[{"photo_id":"1398098061","filename":"file5"},{"photo_id":"1398098053","filename":"file2"},{"photo_id":"1398098059","filename":"file4"},{"photo_id":"1398098049","filename":"file1"},{"photo_id":"1398098045","filename":"file0"},{"photo_id":"1398098056","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098045":["hashtag1","hashtag2"]},{"1398098059":["hashtag1","hashtag2"]},{"1398098053":["hashtag1","hashtag2"]},{"1398098056":["hashtag1","hashtag2"]},{"1398098061":["hashtag1","hashtag2"]},{"1398098049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098045, 1398098059, 1398098053, 1398098056, 1398098061, 1398098049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.841793060302734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:22:11.826491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/56/image_02122025_20_57_05_10678.jpg', '/home/pi/Desktop/images/02122025/20/57/image_02122025_20_57_15_9725.jpg', '/home/pi/Desktop/images/02122025/20/57/image_02122025_20_57_25_9707.jpg', '/home/pi/Desktop/images/02122025/20/57/image_02122025_20_57_36_10749.jpg', '/home/pi/Desktop/images/02122025/20/57/image_02122025_20_57_45_9590.jpg', '/home/pi/Desktop/images/02122025/20/57/image_02122025_20_58_05_9905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/56/image_02122025_20_57_05_10678.jpg
/home/pi/Desktop/images/02122025/20/57/image_02122025_20_57_15_9725.jpg
/home/pi/Desktop/images/02122025/20/57/image_02122025_20_57_25_9707.jpg
/home/pi/Desktop/images/02122025/20/57/image_02122025_20_57_36_10749.jpg
/home/pi/Desktop/images/02122025/20/57/image_02122025_20_57_45_9590.jpg
/home/pi/Desktop/images/02122025/20/57/image_02122025_20_58_05_9905.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098069","1398098078","1398098071","1398098074","1398098076","1398098072"],"photo_ids_order":["1398098069","1398098071","1398098072","1398098074","1398098076","1398098078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4bce15a6ea29e2815ec120cc55b9b445.jpg","text":"TemporaryFile(/tmp/multipartBody8718541525059536366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944593567,"filename":"image_02122025_20_57_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/5/84beaf86703b8720bac40faf5b55d941.jpg","text":"TemporaryFile(/tmp/multipartBody1963731334835213722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944593567,"filename":"image_02122025_20_58_05_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/5/329166e249a4fbf3b5b48e330e458aa9.jpg","text":"TemporaryFile(/tmp/multipartBody7820462685118328521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944593567,"filename":"image_02122025_20_57_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/5/57b56c85b3f631ea8b6cc33e95e8975c.jpg","text":"TemporaryFile(/tmp/multipartBody7029049178949812278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944593567,"filename":"image_02122025_20_57_36_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/5/322edec02c6b838bfb567b52e6e6c156.jpg","text":"TemporaryFile(/tmp/multipartBody6456953931503025089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944593567,"filename":"image_02122025_20_57_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/5/29ff507d34b6697769cfbef6a0320239.jpg","text":"TemporaryFile(/tmp/multipartBody8708335495194368592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944593567,"filename":"image_02122025_20_57_25_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098072","file1":"1398098071","file0":"1398098069","file4":"1398098076","file5":"1398098078","file3":"1398098074"},"map_files_photo_id_array":[{"photo_id":"1398098078","filename":"file5"},{"photo_id":"1398098072","filename":"file2"},{"photo_id":"1398098076","filename":"file4"},{"photo_id":"1398098071","filename":"file1"},{"photo_id":"1398098069","filename":"file0"},{"photo_id":"1398098074","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398098069":["hashtag1","hashtag2"]},{"1398098078":["hashtag1","hashtag2"]},{"1398098071":["hashtag1","hashtag2"]},{"1398098074":["hashtag1","hashtag2"]},{"1398098076":["hashtag1","hashtag2"]},{"1398098072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398098069, 1398098078, 1398098071, 1398098074, 1398098076, 1398098072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54691505432129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:23:02.772252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/20/image_05122025_14_20_55_9842.jpg', '/home/pi/Desktop/images/05122025/14/20/image_05122025_14_21_06_10541.jpg', '/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_16_9802.jpg', '/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_25_9558.jpg', '/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_36_10560.jpg', '/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_45_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/20/image_05122025_14_20_55_9842.jpg
/home/pi/Desktop/images/05122025/14/20/image_05122025_14_21_06_10541.jpg
/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_16_9802.jpg
/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_25_9558.jpg
/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_36_10560.jpg
/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_45_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398098083","1398098102","1398098104","1398098094","1398098107","1398098100"],"photo_ids_order":["1398098083","1398098094","1398098100","1398098102","1398098104","1398098107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e8371075383fdd73e4b8cd07ac635e60.jpg","text":"TemporaryFile(/tmp/multipartBody7957691946644313677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944643418,"filename":"image_05122025_14_20_55_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/5/6c1fb4a6c0dd51270db0cd8a14c10903.jpg","text":"TemporaryFile(/tmp/multipartBody2774190885854461463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944643418,"filename":"image_05122025_14_21_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/5/f0a1cac5b7451b15693176222571e0bc.jpg","text":"TemporaryFile(/tmp/multipartBody8096682142906269617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944643418,"filename":"image_05122025_14_21_36_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a202ab65df782660ee00bd7a117b8e61.jpg","text":"TemporaryFile(/tmp/multipartBody7175283430198317943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944643418,"filename":"image_05122025_14_21_06_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/5/0ff1aaa18c9ced1e8c196b9bc6076935.jpg","text":"TemporaryFile(/tmp/multipartBody8730680198764724299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944643418,"filename":"image_05122025_14_21_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/5/2c853d9a4922eeb5d7de4cb54ddb88c5.jpg","text":"TemporaryFile(/tmp/multipartBody3093492057757451251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944643418,"filename":"image_05122025_14_21_16_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098100","file1":"1398098094","file0":"1398098083","file4":"1398098104","file5":"1398098107","file3":"1398098102"},"map_files_photo_id_array":[{"photo_id":"1398098107","filename":"file5"},{"photo_id":"1398098100","filename":"file2"},{"photo_id":"1398098104","filename":"file4"},{"photo_id":"1398098094","filename":"file1"},{"photo_id":"1398098083","filename":"file0"},{"photo_id":"1398098102","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098083":["hashtag1","hashtag2"]},{"1398098102":["hashtag1","hashtag2"]},{"1398098104":["hashtag1","hashtag2"]},{"1398098094":["hashtag1","hashtag2"]},{"1398098107":["hashtag1","hashtag2"]},{"1398098100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098083, 1398098102, 1398098104, 1398098094, 1398098107, 1398098100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.101550579071045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:24:03.310003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_55_9665.jpg', '/home/pi/Desktop/images/05122025/14/21/image_05122025_14_22_06_10604.jpg', '/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_15_9783.jpg', '/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_25_9753.jpg', '/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_35_9591.jpg', '/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_45_10528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_55_9665.jpg
/home/pi/Desktop/images/05122025/14/21/image_05122025_14_22_06_10604.jpg
/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_15_9783.jpg
/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_25_9753.jpg
/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_35_9591.jpg
/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_45_10528.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5286695957183838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:24:12.690847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/58/image_02122025_20_58_25_9780.jpg', '/home/pi/Desktop/images/02122025/20/58/image_02122025_20_58_35_9664.jpg', '/home/pi/Desktop/images/02122025/20/59/image_02122025_20_59_15_9718.jpg', '/home/pi/Desktop/images/02122025/20/59/image_02122025_20_59_25_9694.jpg', '/home/pi/Desktop/images/02122025/20/59/image_02122025_20_59_36_10715.jpg', '/home/pi/Desktop/images/02122025/20/59/image_02122025_20_59_45_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/58/image_02122025_20_58_25_9780.jpg
/home/pi/Desktop/images/02122025/20/58/image_02122025_20_58_35_9664.jpg
/home/pi/Desktop/images/02122025/20/59/image_02122025_20_59_15_9718.jpg
/home/pi/Desktop/images/02122025/20/59/image_02122025_20_59_25_9694.jpg
/home/pi/Desktop/images/02122025/20/59/image_02122025_20_59_36_10715.jpg
/home/pi/Desktop/images/02122025/20/59/image_02122025_20_59_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":["1398098162","1398098170","1398098164","1398098158","1398098155","1398098166"],"photo_ids_order":["1398098155","1398098158","1398098162","1398098164","1398098166","1398098170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/729703d2eece93b23752e08ed5ca247b.jpg","text":"TemporaryFile(/tmp/multipartBody5374464962547701628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944714747,"filename":"image_02122025_20_59_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/5/e120b6d003d905a93bf1c94edfce322d.jpg","text":"TemporaryFile(/tmp/multipartBody3897773448138402426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944714747,"filename":"image_02122025_20_59_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/5/c24803da35ee238590e3171976930f7c.jpg","text":"TemporaryFile(/tmp/multipartBody1550549120188760146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944714747,"filename":"image_02122025_20_59_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/5/3321295c08d057ba83ed2b52d9891bab.jpg","text":"TemporaryFile(/tmp/multipartBody6233422333458232906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944714747,"filename":"image_02122025_20_58_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/5/16f315ea001f82a637e1d51d409ffbd5.jpg","text":"TemporaryFile(/tmp/multipartBody4040308731624116446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944714747,"filename":"image_02122025_20_58_25_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/5/476ef02930973312c13e351405815f91.jpg","text":"TemporaryFile(/tmp/multipartBody1951353253759499596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944714747,"filename":"image_02122025_20_59_36_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098162","file1":"1398098158","file0":"1398098155","file4":"1398098166","file5":"1398098170","file3":"1398098164"},"map_files_photo_id_array":[{"photo_id":"1398098170","filename":"file5"},{"photo_id":"1398098162","filename":"file2"},{"photo_id":"1398098166","filename":"file4"},{"photo_id":"1398098158","filename":"file1"},{"photo_id":"1398098155","filename":"file0"},{"photo_id":"1398098164","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398098162":["hashtag1","hashtag2"]},{"1398098170":["hashtag1","hashtag2"]},{"1398098164":["hashtag1","hashtag2"]},{"1398098158":["hashtag1","hashtag2"]},{"1398098155":["hashtag1","hashtag2"]},{"1398098166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398098162, 1398098170, 1398098164, 1398098158, 1398098155, 1398098166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.402405977249146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:25:03.464952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_55_9665.jpg', '/home/pi/Desktop/images/05122025/14/21/image_05122025_14_22_06_10604.jpg', '/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_15_9783.jpg', '/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_25_9753.jpg', '/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_35_9591.jpg', '/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_45_10528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/21/image_05122025_14_21_55_9665.jpg
/home/pi/Desktop/images/05122025/14/21/image_05122025_14_22_06_10604.jpg
/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_15_9783.jpg
/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_25_9753.jpg
/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_35_9591.jpg
/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_45_10528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098185","1398098179","1398098188","1398098181","1398098183","1398098186"],"photo_ids_order":["1398098179","1398098181","1398098183","1398098185","1398098186","1398098188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47f8ae5eb6e6e238a90ebedb2555aa00.jpg","text":"TemporaryFile(/tmp/multipartBody8884133095469867220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944764157,"filename":"image_05122025_14_22_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/5/a29eacac3b50fdc352d13297a324a711.jpg","text":"TemporaryFile(/tmp/multipartBody5544466214137169043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944764157,"filename":"image_05122025_14_21_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/5/9b65b711576d66c454666cb46a5a635f.jpg","text":"TemporaryFile(/tmp/multipartBody6131916859894080893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944764157,"filename":"image_05122025_14_22_45_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/5/2bd4c3e8591392deb71b4a47019ba9c5.jpg","text":"TemporaryFile(/tmp/multipartBody1710516405815757453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944764157,"filename":"image_05122025_14_22_06_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/5/b00dfb8cb24b200888cf095a32d1ef27.jpg","text":"TemporaryFile(/tmp/multipartBody8492494751284743796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944764157,"filename":"image_05122025_14_22_15_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/48149b634ee8181a4a673e0cc141907c.jpg","text":"TemporaryFile(/tmp/multipartBody6347260250631009626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944764157,"filename":"image_05122025_14_22_35_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098183","file1":"1398098181","file0":"1398098179","file4":"1398098186","file5":"1398098188","file3":"1398098185"},"map_files_photo_id_array":[{"photo_id":"1398098188","filename":"file5"},{"photo_id":"1398098183","filename":"file2"},{"photo_id":"1398098186","filename":"file4"},{"photo_id":"1398098181","filename":"file1"},{"photo_id":"1398098179","filename":"file0"},{"photo_id":"1398098185","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098185":["hashtag1","hashtag2"]},{"1398098179":["hashtag1","hashtag2"]},{"1398098188":["hashtag1","hashtag2"]},{"1398098181":["hashtag1","hashtag2"]},{"1398098183":["hashtag1","hashtag2"]},{"1398098186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098185, 1398098179, 1398098188, 1398098181, 1398098183, 1398098186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58365058898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:25:42.762091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_35_2639.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_39_3601.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_41_2573.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_48_3654.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_51_2716.jpg', '/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_59_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_35_2639.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_39_3601.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_41_2573.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_48_3654.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_51_2716.jpg
/home/pi/Desktop/images/31102025/19/53/image_31102025_19_53_59_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":["1398098204","1398098194","1398098197","1398098200","1398098206","1398098205"],"photo_ids_order":["1398098194","1398098197","1398098200","1398098204","1398098205","1398098206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7aa3f5300909bf4bcaa59c96c0263ebf.jpg","text":"TemporaryFile(/tmp/multipartBody82339341119455400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944804328,"filename":"image_31102025_19_53_48_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/5/72c683c45c4218a7bd90fb73269140e7.jpg","text":"TemporaryFile(/tmp/multipartBody4436169086888722327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944804328,"filename":"image_31102025_19_53_35_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/5/1c6ed33598665023fe6ddbb41e310064.jpg","text":"TemporaryFile(/tmp/multipartBody5588577506760101190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944804328,"filename":"image_31102025_19_53_39_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/5/d1af8b42c148fef78d6e6cc36e9da826.jpg","text":"TemporaryFile(/tmp/multipartBody6942974878264529213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944804328,"filename":"image_31102025_19_53_41_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/5/fb8e60a8792a8505e9c2763324379e45.jpg","text":"TemporaryFile(/tmp/multipartBody7327400908200021922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944804328,"filename":"image_31102025_19_53_59_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/5/989d518d3e8c8ad089421eeaef249183.jpg","text":"TemporaryFile(/tmp/multipartBody8182253359189536043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944804328,"filename":"image_31102025_19_53_51_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098200","file1":"1398098197","file0":"1398098194","file4":"1398098205","file5":"1398098206","file3":"1398098204"},"map_files_photo_id_array":[{"photo_id":"1398098206","filename":"file5"},{"photo_id":"1398098200","filename":"file2"},{"photo_id":"1398098205","filename":"file4"},{"photo_id":"1398098197","filename":"file1"},{"photo_id":"1398098194","filename":"file0"},{"photo_id":"1398098204","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398098204":["hashtag1","hashtag2"]},{"1398098194":["hashtag1","hashtag2"]},{"1398098197":["hashtag1","hashtag2"]},{"1398098200":["hashtag1","hashtag2"]},{"1398098206":["hashtag1","hashtag2"]},{"1398098205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398098204, 1398098194, 1398098197, 1398098200, 1398098206, 1398098205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.308236598968506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:26:21.909836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_55_9532.jpg', '/home/pi/Desktop/images/05122025/14/22/image_05122025_14_23_05_10580.jpg', '/home/pi/Desktop/images/05122025/14/23/image_05122025_14_23_15_9585.jpg', '/home/pi/Desktop/images/05122025/14/23/image_05122025_14_23_26_10680.jpg', '/home/pi/Desktop/images/05122025/14/23/image_05122025_14_23_35_9578.jpg', '/home/pi/Desktop/images/05122025/14/23/image_05122025_14_23_45_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/22/image_05122025_14_22_55_9532.jpg
/home/pi/Desktop/images/05122025/14/22/image_05122025_14_23_05_10580.jpg
/home/pi/Desktop/images/05122025/14/23/image_05122025_14_23_15_9585.jpg
/home/pi/Desktop/images/05122025/14/23/image_05122025_14_23_26_10680.jpg
/home/pi/Desktop/images/05122025/14/23/image_05122025_14_23_35_9578.jpg
/home/pi/Desktop/images/05122025/14/23/image_05122025_14_23_45_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098219","1398098213","1398098207","1398098209","1398098226","1398098211"],"photo_ids_order":["1398098207","1398098209","1398098211","1398098213","1398098219","1398098226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c273810b60fce8e877efb83a5b53e99a.jpg","text":"TemporaryFile(/tmp/multipartBody801897530686566172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944842537,"filename":"image_05122025_14_23_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/5/b7cac707acf1b71d0ffa33d7910383da.jpg","text":"TemporaryFile(/tmp/multipartBody8520618538452150483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944842537,"filename":"image_05122025_14_23_26_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/5/f454a962a483a421201a5b78a553606b.jpg","text":"TemporaryFile(/tmp/multipartBody4561631432456006787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944842537,"filename":"image_05122025_14_22_55_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/5/3578453dc8f177053205dcef3f208186.jpg","text":"TemporaryFile(/tmp/multipartBody5410563404230249442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944842537,"filename":"image_05122025_14_23_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/5/f126045e8c715a119765d78475c54956.jpg","text":"TemporaryFile(/tmp/multipartBody5959391087052421727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944842537,"filename":"image_05122025_14_23_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/5/227faa0d843b86de3459555abd719c08.jpg","text":"TemporaryFile(/tmp/multipartBody486978725233269961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944842537,"filename":"image_05122025_14_23_15_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098211","file1":"1398098209","file0":"1398098207","file4":"1398098219","file5":"1398098226","file3":"1398098213"},"map_files_photo_id_array":[{"photo_id":"1398098226","filename":"file5"},{"photo_id":"1398098211","filename":"file2"},{"photo_id":"1398098219","filename":"file4"},{"photo_id":"1398098209","filename":"file1"},{"photo_id":"1398098207","filename":"file0"},{"photo_id":"1398098213","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098219":["hashtag1","hashtag2"]},{"1398098213":["hashtag1","hashtag2"]},{"1398098207":["hashtag1","hashtag2"]},{"1398098209":["hashtag1","hashtag2"]},{"1398098226":["hashtag1","hashtag2"]},{"1398098211":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098219, 1398098213, 1398098207, 1398098209, 1398098226, 1398098211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71651792526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:27:02.667316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/23/image_05122025_14_23_56_10590.jpg', '/home/pi/Desktop/images/05122025/14/23/image_05122025_14_24_05_9655.jpg', '/home/pi/Desktop/images/05122025/14/24/image_05122025_14_24_15_9796.jpg', '/home/pi/Desktop/images/05122025/14/24/image_05122025_14_24_26_10694.jpg', '/home/pi/Desktop/images/05122025/14/24/image_05122025_14_24_36_9867.jpg', '/home/pi/Desktop/images/05122025/14/24/image_05122025_14_24_45_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/23/image_05122025_14_23_56_10590.jpg
/home/pi/Desktop/images/05122025/14/23/image_05122025_14_24_05_9655.jpg
/home/pi/Desktop/images/05122025/14/24/image_05122025_14_24_15_9796.jpg
/home/pi/Desktop/images/05122025/14/24/image_05122025_14_24_26_10694.jpg
/home/pi/Desktop/images/05122025/14/24/image_05122025_14_24_36_9867.jpg
/home/pi/Desktop/images/05122025/14/24/image_05122025_14_24_45_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098267","1398098281","1398098266","1398098274","1398098268","1398098265"],"photo_ids_order":["1398098265","1398098266","1398098267","1398098268","1398098274","1398098281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9034675f064dbb0d81a0baafc580aa02.jpg","text":"TemporaryFile(/tmp/multipartBody869191073243068081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944885780,"filename":"image_05122025_14_24_15_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/5/b64fbcae012053de31a94fbc47f67022.jpg","text":"TemporaryFile(/tmp/multipartBody4003619183512832910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944885780,"filename":"image_05122025_14_24_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/5/0ee6b22db649d929d39cc5c1c9048252.jpg","text":"TemporaryFile(/tmp/multipartBody2302657216878395039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944885780,"filename":"image_05122025_14_24_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/5/710e5f8a1f087381893a1b64d92da651.jpg","text":"TemporaryFile(/tmp/multipartBody5968429701957739831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944885780,"filename":"image_05122025_14_24_36_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/5/e21d7b79f76fa91cd67421b54b254097.jpg","text":"TemporaryFile(/tmp/multipartBody8460011111975620233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944885780,"filename":"image_05122025_14_24_26_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fb58f3fab6fd9dbd3adb25f528603867.jpg","text":"TemporaryFile(/tmp/multipartBody7840817486746031521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944885780,"filename":"image_05122025_14_23_56_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098267","file1":"1398098266","file0":"1398098265","file4":"1398098274","file5":"1398098281","file3":"1398098268"},"map_files_photo_id_array":[{"photo_id":"1398098281","filename":"file5"},{"photo_id":"1398098267","filename":"file2"},{"photo_id":"1398098274","filename":"file4"},{"photo_id":"1398098266","filename":"file1"},{"photo_id":"1398098265","filename":"file0"},{"photo_id":"1398098268","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098267":["hashtag1","hashtag2"]},{"1398098281":["hashtag1","hashtag2"]},{"1398098266":["hashtag1","hashtag2"]},{"1398098274":["hashtag1","hashtag2"]},{"1398098268":["hashtag1","hashtag2"]},{"1398098265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098267, 1398098281, 1398098266, 1398098274, 1398098268, 1398098265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19654941558838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:28:02.841891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/24/image_05122025_14_24_55_9657.jpg', '/home/pi/Desktop/images/05122025/14/24/image_05122025_14_25_05_10566.jpg', '/home/pi/Desktop/images/05122025/14/25/image_05122025_14_25_15_9749.jpg', '/home/pi/Desktop/images/05122025/14/25/image_05122025_14_25_25_9656.jpg', '/home/pi/Desktop/images/05122025/14/25/image_05122025_14_25_35_10509.jpg', '/home/pi/Desktop/images/05122025/14/25/image_05122025_14_25_45_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/24/image_05122025_14_24_55_9657.jpg
/home/pi/Desktop/images/05122025/14/24/image_05122025_14_25_05_10566.jpg
/home/pi/Desktop/images/05122025/14/25/image_05122025_14_25_15_9749.jpg
/home/pi/Desktop/images/05122025/14/25/image_05122025_14_25_25_9656.jpg
/home/pi/Desktop/images/05122025/14/25/image_05122025_14_25_35_10509.jpg
/home/pi/Desktop/images/05122025/14/25/image_05122025_14_25_45_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":["1398098300","1398098303","1398098299","1398098298","1398098297","1398098301"],"photo_ids_order":["1398098297","1398098298","1398098299","1398098300","1398098301","1398098303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9a016a5105e1a5f330d3cbcba81a9be.jpg","text":"TemporaryFile(/tmp/multipartBody4393434636971457249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944943463,"filename":"image_05122025_14_25_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/5/0d095d2d00e90ee6d5623aa09450055d.jpg","text":"TemporaryFile(/tmp/multipartBody7008651426072434225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944943463,"filename":"image_05122025_14_25_45_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/5/a856892370d2855a74c7c20f2ef724a3.jpg","text":"TemporaryFile(/tmp/multipartBody4627168915590771172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944943463,"filename":"image_05122025_14_25_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/5/a9c0671976bad7938127657ae4772842.jpg","text":"TemporaryFile(/tmp/multipartBody5672558993284690216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944943463,"filename":"image_05122025_14_25_05_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d3417d42925d48a8fc55aa64148aad19.jpg","text":"TemporaryFile(/tmp/multipartBody1398717953807210155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944943463,"filename":"image_05122025_14_24_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/5/54f4dc17f37af85b384e66737f25f166.jpg","text":"TemporaryFile(/tmp/multipartBody8056581903224934493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944943463,"filename":"image_05122025_14_25_35_10509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098299","file1":"1398098298","file0":"1398098297","file4":"1398098301","file5":"1398098303","file3":"1398098300"},"map_files_photo_id_array":[{"photo_id":"1398098303","filename":"file5"},{"photo_id":"1398098299","filename":"file2"},{"photo_id":"1398098301","filename":"file4"},{"photo_id":"1398098298","filename":"file1"},{"photo_id":"1398098297","filename":"file0"},{"photo_id":"1398098300","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098300":["hashtag1","hashtag2"]},{"1398098303":["hashtag1","hashtag2"]},{"1398098299":["hashtag1","hashtag2"]},{"1398098298":["hashtag1","hashtag2"]},{"1398098297":["hashtag1","hashtag2"]},{"1398098301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098300, 1398098303, 1398098299, 1398098298, 1398098297, 1398098301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29270052909851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:28:42.430781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_02_2687.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_06_3607.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_08_2670.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_15_2818.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_18_2720.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_20_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_02_2687.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_06_3607.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_08_2670.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_15_2818.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_18_2720.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_20_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":["1398098309","1398098324","1398098323","1398098322","1398098325","1398098319"],"photo_ids_order":["1398098309","1398098319","1398098322","1398098323","1398098324","1398098325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d1095787104c32b5c789a6dbd8700001.jpg","text":"TemporaryFile(/tmp/multipartBody2249847582737703160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944983989,"filename":"image_31102025_19_54_02_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/5/ff1de009dbec28a7aedd4096ca199a28.jpg","text":"TemporaryFile(/tmp/multipartBody2919593163575094364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944983989,"filename":"image_31102025_19_54_18_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/5/d42cd56161ba6f305fc352a20c6518b4.jpg","text":"TemporaryFile(/tmp/multipartBody1984092992165533495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944983989,"filename":"image_31102025_19_54_15_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/5/da854456618a1fafa5e2878773605083.jpg","text":"TemporaryFile(/tmp/multipartBody3467589009214197307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944983989,"filename":"image_31102025_19_54_08_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/5/8909ea5bfdd3591f2f5493b211373fe1.jpg","text":"TemporaryFile(/tmp/multipartBody7110843599673868022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944983989,"filename":"image_31102025_19_54_20_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/5/4368a0c6d84a52a071a801ddb6214dae.jpg","text":"TemporaryFile(/tmp/multipartBody2701902186325545749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764944983989,"filename":"image_31102025_19_54_06_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098322","file1":"1398098319","file0":"1398098309","file4":"1398098324","file5":"1398098325","file3":"1398098323"},"map_files_photo_id_array":[{"photo_id":"1398098325","filename":"file5"},{"photo_id":"1398098322","filename":"file2"},{"photo_id":"1398098324","filename":"file4"},{"photo_id":"1398098319","filename":"file1"},{"photo_id":"1398098309","filename":"file0"},{"photo_id":"1398098323","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398098309":["hashtag1","hashtag2"]},{"1398098324":["hashtag1","hashtag2"]},{"1398098323":["hashtag1","hashtag2"]},{"1398098322":["hashtag1","hashtag2"]},{"1398098325":["hashtag1","hashtag2"]},{"1398098319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398098309, 1398098324, 1398098323, 1398098322, 1398098325, 1398098319)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.2981219291687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:29:32.781427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/20/59/image_02122025_20_59_55_9752.jpg', '/home/pi/Desktop/images/02122025/21/00/image_02122025_21_00_15_10050.jpg', '/home/pi/Desktop/images/02122025/21/00/image_02122025_21_00_26_10742.jpg', '/home/pi/Desktop/images/02122025/21/00/image_02122025_21_00_35_9750.jpg', '/home/pi/Desktop/images/02122025/21/00/image_02122025_21_00_45_9650.jpg', '/home/pi/Desktop/images/02122025/21/00/image_02122025_21_00_56_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/20/59/image_02122025_20_59_55_9752.jpg
/home/pi/Desktop/images/02122025/21/00/image_02122025_21_00_15_10050.jpg
/home/pi/Desktop/images/02122025/21/00/image_02122025_21_00_26_10742.jpg
/home/pi/Desktop/images/02122025/21/00/image_02122025_21_00_35_9750.jpg
/home/pi/Desktop/images/02122025/21/00/image_02122025_21_00_45_9650.jpg
/home/pi/Desktop/images/02122025/21/00/image_02122025_21_00_56_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398098345","1398098330","1398098359","1398098332","1398098335","1398098361"],"photo_ids_order":["1398098330","1398098332","1398098335","1398098345","1398098359","1398098361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43ef4655de2f9333b6008bd83ac7b76e.jpg","text":"TemporaryFile(/tmp/multipartBody3465358381695425558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945034950,"filename":"image_02122025_21_00_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/5/2bbd782104661118efd2880f58da9038.jpg","text":"TemporaryFile(/tmp/multipartBody7487620747303072213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945034950,"filename":"image_02122025_20_59_55_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/5/92a5c04c2035cb2a08d58d4c530b04f8.jpg","text":"TemporaryFile(/tmp/multipartBody5678684362115944561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945034950,"filename":"image_02122025_21_00_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/5/79be92b918eb829ae15d92a198581fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4277328152847187381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945034950,"filename":"image_02122025_21_00_15_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/5/7d2f3daa40b0c009db841f10a1593930.jpg","text":"TemporaryFile(/tmp/multipartBody6515577723853279230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945034950,"filename":"image_02122025_21_00_26_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bbdb671f945626360ad4240b34d9f05b.jpg","text":"TemporaryFile(/tmp/multipartBody4557403967072508414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945034950,"filename":"image_02122025_21_00_56_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098335","file1":"1398098332","file0":"1398098330","file4":"1398098359","file5":"1398098361","file3":"1398098345"},"map_files_photo_id_array":[{"photo_id":"1398098361","filename":"file5"},{"photo_id":"1398098335","filename":"file2"},{"photo_id":"1398098359","filename":"file4"},{"photo_id":"1398098332","filename":"file1"},{"photo_id":"1398098330","filename":"file0"},{"photo_id":"1398098345","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398098345":["hashtag1","hashtag2"]},{"1398098330":["hashtag1","hashtag2"]},{"1398098359":["hashtag1","hashtag2"]},{"1398098332":["hashtag1","hashtag2"]},{"1398098335":["hashtag1","hashtag2"]},{"1398098361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398098345, 1398098330, 1398098359, 1398098332, 1398098335, 1398098361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.87307572364807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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-05 15:30:31.014698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/25/image_05122025_14_25_55_9995.jpg', '/home/pi/Desktop/images/05122025/14/25/image_05122025_14_26_06_10625.jpg', '/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_15_9648.jpg', '/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_25_9673.jpg', '/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_35_9953.jpg', '/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_46_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/25/image_05122025_14_25_55_9995.jpg
/home/pi/Desktop/images/05122025/14/25/image_05122025_14_26_06_10625.jpg
/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_15_9648.jpg
/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_25_9673.jpg
/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_35_9953.jpg
/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_46_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098369","1398098374","1398098377","1398098371","1398098376","1398098378"],"photo_ids_order":["1398098369","1398098371","1398098374","1398098376","1398098377","1398098378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78c30142d4dbb019efdfefbf22ff2fcf.jpg","text":"TemporaryFile(/tmp/multipartBody8270030835099880743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945094006,"filename":"image_05122025_14_25_55_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/5/6c5b96e822675901e72b57398a486002.jpg","text":"TemporaryFile(/tmp/multipartBody7711378127377283003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945094006,"filename":"image_05122025_14_26_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/5/fc8a2c5a05db747797d0739d5f23a96b.jpg","text":"TemporaryFile(/tmp/multipartBody3262553244219858311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945094006,"filename":"image_05122025_14_26_35_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/5/fc6fe4a82d847c64d725cbf2da5c37c1.jpg","text":"TemporaryFile(/tmp/multipartBody6456987287542913373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945094006,"filename":"image_05122025_14_26_06_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/5/d5586869df1efdde7c50dc68a4812f5b.jpg","text":"TemporaryFile(/tmp/multipartBody1963935455870351879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945094006,"filename":"image_05122025_14_26_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/5/4d6ba5bcde3b0560fa9090f462a16d86.jpg","text":"TemporaryFile(/tmp/multipartBody7337443705761412020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945094006,"filename":"image_05122025_14_26_46_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098374","file1":"1398098371","file0":"1398098369","file4":"1398098377","file5":"1398098378","file3":"1398098376"},"map_files_photo_id_array":[{"photo_id":"1398098378","filename":"file5"},{"photo_id":"1398098374","filename":"file2"},{"photo_id":"1398098377","filename":"file4"},{"photo_id":"1398098371","filename":"file1"},{"photo_id":"1398098369","filename":"file0"},{"photo_id":"1398098376","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098369":["hashtag1","hashtag2"]},{"1398098374":["hashtag1","hashtag2"]},{"1398098377":["hashtag1","hashtag2"]},{"1398098371":["hashtag1","hashtag2"]},{"1398098376":["hashtag1","hashtag2"]},{"1398098378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098369, 1398098374, 1398098377, 1398098371, 1398098376, 1398098378)","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 = 1398098374 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_15_9648.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.84762358665466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:31:32.533042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/00/image_02122025_21_01_06_9886.jpg', '/home/pi/Desktop/images/02122025/21/01/image_02122025_21_01_15_9725.jpg', '/home/pi/Desktop/images/02122025/21/01/image_02122025_21_01_36_10700.jpg', '/home/pi/Desktop/images/02122025/21/01/image_02122025_21_01_46_9797.jpg', '/home/pi/Desktop/images/02122025/21/01/image_02122025_21_01_55_9716.jpg', '/home/pi/Desktop/images/02122025/21/02/image_02122025_21_02_26_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/00/image_02122025_21_01_06_9886.jpg
/home/pi/Desktop/images/02122025/21/01/image_02122025_21_01_15_9725.jpg
/home/pi/Desktop/images/02122025/21/01/image_02122025_21_01_36_10700.jpg
/home/pi/Desktop/images/02122025/21/01/image_02122025_21_01_46_9797.jpg
/home/pi/Desktop/images/02122025/21/01/image_02122025_21_01_55_9716.jpg
/home/pi/Desktop/images/02122025/21/02/image_02122025_21_02_26_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098387","1398098392","1398098391","1398098382","1398098390","1398098384"],"photo_ids_order":["1398098382","1398098384","1398098387","1398098390","1398098391","1398098392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa2bfe2a2d728fae99f378883dd5836a.jpg","text":"TemporaryFile(/tmp/multipartBody9136705106513904858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945154750,"filename":"image_02122025_21_01_36_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/5/1bf6e891fc4f4af164e356cd40881231.jpg","text":"TemporaryFile(/tmp/multipartBody7465367726813478586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945154750,"filename":"image_02122025_21_02_26_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/5/790bc3a4f51e0abd1badb98a549028c7.jpg","text":"TemporaryFile(/tmp/multipartBody4264725596743713280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945154750,"filename":"image_02122025_21_01_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d01a9ec894835d0e7901c6c164085f3.jpg","text":"TemporaryFile(/tmp/multipartBody5714595277262140403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945154750,"filename":"image_02122025_21_01_06_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/5/6d4d63c208f920eb4c6ef3a0cbc72d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6805386842865103248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945154750,"filename":"image_02122025_21_01_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/5/dc12895d427f9efb4bc14d289e703115.jpg","text":"TemporaryFile(/tmp/multipartBody1871971736774220028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945154750,"filename":"image_02122025_21_01_15_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098387","file1":"1398098384","file0":"1398098382","file4":"1398098391","file5":"1398098392","file3":"1398098390"},"map_files_photo_id_array":[{"photo_id":"1398098392","filename":"file5"},{"photo_id":"1398098387","filename":"file2"},{"photo_id":"1398098391","filename":"file4"},{"photo_id":"1398098384","filename":"file1"},{"photo_id":"1398098382","filename":"file0"},{"photo_id":"1398098390","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398098387":["hashtag1","hashtag2"]},{"1398098392":["hashtag1","hashtag2"]},{"1398098391":["hashtag1","hashtag2"]},{"1398098382":["hashtag1","hashtag2"]},{"1398098390":["hashtag1","hashtag2"]},{"1398098384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398098387, 1398098392, 1398098391, 1398098382, 1398098390, 1398098384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08350729942322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:32:12.774565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/02/image_02122025_21_02_36_9738.jpg', '/home/pi/Desktop/images/02122025/21/02/image_02122025_21_02_45_9712.jpg', '/home/pi/Desktop/images/02122025/21/02/image_02122025_21_02_56_10621.jpg', '/home/pi/Desktop/images/02122025/21/03/image_02122025_21_03_15_9753.jpg', '/home/pi/Desktop/images/02122025/21/03/image_02122025_21_03_25_9642.jpg', '/home/pi/Desktop/images/02122025/21/03/image_02122025_21_03_36_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/02/image_02122025_21_02_36_9738.jpg
/home/pi/Desktop/images/02122025/21/02/image_02122025_21_02_45_9712.jpg
/home/pi/Desktop/images/02122025/21/02/image_02122025_21_02_56_10621.jpg
/home/pi/Desktop/images/02122025/21/03/image_02122025_21_03_15_9753.jpg
/home/pi/Desktop/images/02122025/21/03/image_02122025_21_03_25_9642.jpg
/home/pi/Desktop/images/02122025/21/03/image_02122025_21_03_36_10824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098402","1398098395","1398098397","1398098394","1398098400","1398098399"],"photo_ids_order":["1398098394","1398098395","1398098397","1398098399","1398098400","1398098402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/157a8b9554db34361d095e0119335bd5.jpg","text":"TemporaryFile(/tmp/multipartBody6778507280137216015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945194812,"filename":"image_02122025_21_03_36_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/5/d8a5a39e8054ee501c4f10d0114327a2.jpg","text":"TemporaryFile(/tmp/multipartBody2649045626041210690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945194812,"filename":"image_02122025_21_02_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/5/ef1f52d9d92c26f842188911531ef7cc.jpg","text":"TemporaryFile(/tmp/multipartBody4212368379711748760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945194812,"filename":"image_02122025_21_02_56_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/5/8b3aea5ee92fe37a34e2c031fdb217b5.jpg","text":"TemporaryFile(/tmp/multipartBody5080573432433854163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945194812,"filename":"image_02122025_21_02_36_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/5/1db3db3619ef846599120aeddf57b738.jpg","text":"TemporaryFile(/tmp/multipartBody2908392239764036856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945194812,"filename":"image_02122025_21_03_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/5/4450672486e4ba481fde9dd53d1da864.jpg","text":"TemporaryFile(/tmp/multipartBody7015856681023799445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945194812,"filename":"image_02122025_21_03_15_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098397","file1":"1398098395","file0":"1398098394","file4":"1398098400","file5":"1398098402","file3":"1398098399"},"map_files_photo_id_array":[{"photo_id":"1398098402","filename":"file5"},{"photo_id":"1398098397","filename":"file2"},{"photo_id":"1398098400","filename":"file4"},{"photo_id":"1398098395","filename":"file1"},{"photo_id":"1398098394","filename":"file0"},{"photo_id":"1398098399","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398098402":["hashtag1","hashtag2"]},{"1398098395":["hashtag1","hashtag2"]},{"1398098397":["hashtag1","hashtag2"]},{"1398098394":["hashtag1","hashtag2"]},{"1398098400":["hashtag1","hashtag2"]},{"1398098399":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398098402, 1398098395, 1398098397, 1398098394, 1398098400, 1398098399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26013946533203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:33:02.856414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_55_9832.jpg', '/home/pi/Desktop/images/05122025/14/26/image_05122025_14_27_05_9675.jpg', '/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_15_9827.jpg', '/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_25_10544.jpg', '/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_35_9615.jpg', '/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_46_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/26/image_05122025_14_26_55_9832.jpg
/home/pi/Desktop/images/05122025/14/26/image_05122025_14_27_05_9675.jpg
/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_15_9827.jpg
/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_25_10544.jpg
/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_35_9615.jpg
/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_46_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":["1398098444","1398098447","1398098456","1398098446","1398098442","1398098445"],"photo_ids_order":["1398098442","1398098444","1398098445","1398098446","1398098447","1398098456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c2b15af67e00a34d04af43e338d018d2.jpg","text":"TemporaryFile(/tmp/multipartBody3911712275382341488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945243553,"filename":"image_05122025_14_27_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/5/fb53a76f5ea4a9c0470de535275449fc.jpg","text":"TemporaryFile(/tmp/multipartBody5685511187698577701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945243553,"filename":"image_05122025_14_27_35_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aac15225ae405953439dc763073c72eb.jpg","text":"TemporaryFile(/tmp/multipartBody9165141288624297897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945243553,"filename":"image_05122025_14_27_46_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/5/ec972dd4bf83e848a7291fecf177a3ab.jpg","text":"TemporaryFile(/tmp/multipartBody5958043192171240947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945243553,"filename":"image_05122025_14_27_25_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/5/d569f0328850c8d09797b7ef17d63059.jpg","text":"TemporaryFile(/tmp/multipartBody1316653032823182885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945243553,"filename":"image_05122025_14_26_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/5/03769f13066e7a5c3145e5017d35afc3.jpg","text":"TemporaryFile(/tmp/multipartBody5758096953881700600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945243553,"filename":"image_05122025_14_27_15_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098445","file1":"1398098444","file0":"1398098442","file4":"1398098447","file5":"1398098456","file3":"1398098446"},"map_files_photo_id_array":[{"photo_id":"1398098456","filename":"file5"},{"photo_id":"1398098445","filename":"file2"},{"photo_id":"1398098447","filename":"file4"},{"photo_id":"1398098444","filename":"file1"},{"photo_id":"1398098442","filename":"file0"},{"photo_id":"1398098446","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098444":["hashtag1","hashtag2"]},{"1398098447":["hashtag1","hashtag2"]},{"1398098456":["hashtag1","hashtag2"]},{"1398098446":["hashtag1","hashtag2"]},{"1398098442":["hashtag1","hashtag2"]},{"1398098445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098444, 1398098447, 1398098456, 1398098446, 1398098442, 1398098445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.027233362197876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:33:42.127074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_23_3234.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_26_2716.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_30_3653.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_32_2602.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_35_2850.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_39_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_23_3234.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_26_2716.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_30_3653.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_32_2602.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_35_2850.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_39_3641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098474","1398098491","1398098488","1398098490","1398098487","1398098489"],"photo_ids_order":["1398098474","1398098487","1398098488","1398098489","1398098490","1398098491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e4a0f08423482444952ec19a5a8cb01.jpg","text":"TemporaryFile(/tmp/multipartBody7063775076266332238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945283688,"filename":"image_31102025_19_54_23_3234.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/28ec6722ea773af1e9a38eccdd7c7e37.jpg","text":"TemporaryFile(/tmp/multipartBody8839643812550042111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945283688,"filename":"image_31102025_19_54_39_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/5/ff085dcb9db212f991bb256f1ad8bf5c.jpg","text":"TemporaryFile(/tmp/multipartBody6664971635001334963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945283688,"filename":"image_31102025_19_54_30_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/5/a42c7acb8c39c7980e6f29667044330b.jpg","text":"TemporaryFile(/tmp/multipartBody3586681019191165736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945283688,"filename":"image_31102025_19_54_35_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/5/5c4d6662ffcc23901e382523e3bd9a4a.jpg","text":"TemporaryFile(/tmp/multipartBody9164846633632775644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945283688,"filename":"image_31102025_19_54_26_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/5/68367e21b6e23434248d01c1512fdbc5.jpg","text":"TemporaryFile(/tmp/multipartBody3341153079152499542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945283688,"filename":"image_31102025_19_54_32_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098488","file1":"1398098487","file0":"1398098474","file4":"1398098490","file5":"1398098491","file3":"1398098489"},"map_files_photo_id_array":[{"photo_id":"1398098491","filename":"file5"},{"photo_id":"1398098488","filename":"file2"},{"photo_id":"1398098490","filename":"file4"},{"photo_id":"1398098487","filename":"file1"},{"photo_id":"1398098474","filename":"file0"},{"photo_id":"1398098489","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398098474":["hashtag1","hashtag2"]},{"1398098491":["hashtag1","hashtag2"]},{"1398098488":["hashtag1","hashtag2"]},{"1398098490":["hashtag1","hashtag2"]},{"1398098487":["hashtag1","hashtag2"]},{"1398098489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398098474, 1398098491, 1398098488, 1398098490, 1398098487, 1398098489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18473672866821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:34:22.299655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_55_9610.jpg', '/home/pi/Desktop/images/05122025/14/27/image_05122025_14_28_05_9714.jpg', '/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_16_10596.jpg', '/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_25_9628.jpg', '/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_35_9758.jpg', '/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_46_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_55_9610.jpg
/home/pi/Desktop/images/05122025/14/27/image_05122025_14_28_05_9714.jpg
/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_16_10596.jpg
/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_25_9628.jpg
/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_35_9758.jpg
/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_46_10678.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5331625938415527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:34:32.297876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/03/image_02122025_21_03_46_9802.jpg', '/home/pi/Desktop/images/02122025/21/03/image_02122025_21_04_05_9848.jpg', '/home/pi/Desktop/images/02122025/21/04/image_02122025_21_04_26_10723.jpg', '/home/pi/Desktop/images/02122025/21/04/image_02122025_21_04_36_9767.jpg', '/home/pi/Desktop/images/02122025/21/05/image_02122025_21_05_25_9743.jpg', '/home/pi/Desktop/images/02122025/21/05/image_02122025_21_05_46_10043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/03/image_02122025_21_03_46_9802.jpg
/home/pi/Desktop/images/02122025/21/03/image_02122025_21_04_05_9848.jpg
/home/pi/Desktop/images/02122025/21/04/image_02122025_21_04_26_10723.jpg
/home/pi/Desktop/images/02122025/21/04/image_02122025_21_04_36_9767.jpg
/home/pi/Desktop/images/02122025/21/05/image_02122025_21_05_25_9743.jpg
/home/pi/Desktop/images/02122025/21/05/image_02122025_21_05_46_10043.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098501","1398098521","1398098532","1398098514","1398098505","1398098498"],"photo_ids_order":["1398098498","1398098501","1398098505","1398098514","1398098521","1398098532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e87041e0e0d71fa7bbf3c309c00477d9.jpg","text":"TemporaryFile(/tmp/multipartBody263402562110285977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945334428,"filename":"image_02122025_21_04_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/5/c98f9e4ea579c38855e6533607604841.jpg","text":"TemporaryFile(/tmp/multipartBody3437878629030508524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945334428,"filename":"image_02122025_21_05_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/85149071ee2124d881a99b1ea672af2c.jpg","text":"TemporaryFile(/tmp/multipartBody1644298218457463938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945334428,"filename":"image_02122025_21_05_46_10043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/90a3ca30d6aa4fb8af03e06053425ff1.jpg","text":"TemporaryFile(/tmp/multipartBody1099291300834123154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945334428,"filename":"image_02122025_21_04_36_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/5/2e4f15ec754bccc3cf28352818d46084.jpg","text":"TemporaryFile(/tmp/multipartBody5681787535229820357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945334428,"filename":"image_02122025_21_04_26_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/5/4305a633d865fd9b20cfaafbb99c1d00.jpg","text":"TemporaryFile(/tmp/multipartBody2853323267630522147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945334428,"filename":"image_02122025_21_03_46_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098505","file1":"1398098501","file0":"1398098498","file4":"1398098521","file5":"1398098532","file3":"1398098514"},"map_files_photo_id_array":[{"photo_id":"1398098532","filename":"file5"},{"photo_id":"1398098505","filename":"file2"},{"photo_id":"1398098521","filename":"file4"},{"photo_id":"1398098501","filename":"file1"},{"photo_id":"1398098498","filename":"file0"},{"photo_id":"1398098514","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398098501":["hashtag1","hashtag2"]},{"1398098521":["hashtag1","hashtag2"]},{"1398098532":["hashtag1","hashtag2"]},{"1398098514":["hashtag1","hashtag2"]},{"1398098505":["hashtag1","hashtag2"]},{"1398098498":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398098501, 1398098521, 1398098532, 1398098514, 1398098505, 1398098498)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.277584075927734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:35:22.438322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_55_9610.jpg', '/home/pi/Desktop/images/05122025/14/27/image_05122025_14_28_05_9714.jpg', '/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_16_10596.jpg', '/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_25_9628.jpg', '/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_35_9758.jpg', '/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_46_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/27/image_05122025_14_27_55_9610.jpg
/home/pi/Desktop/images/05122025/14/27/image_05122025_14_28_05_9714.jpg
/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_16_10596.jpg
/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_25_9628.jpg
/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_35_9758.jpg
/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_46_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098606","1398098600","1398098587","1398098592","1398098589","1398098607"],"photo_ids_order":["1398098587","1398098589","1398098592","1398098600","1398098606","1398098607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ac3992996ce40958fcb2993b6891962.jpg","text":"TemporaryFile(/tmp/multipartBody8112367499570435416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945383080,"filename":"image_05122025_14_28_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/5/f68d41290ff42be20e8b30fbf2123778.jpg","text":"TemporaryFile(/tmp/multipartBody6711114620368207215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945383080,"filename":"image_05122025_14_28_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/5/e61fe9decf737f56694be480d2414ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6030316331618745418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945383080,"filename":"image_05122025_14_27_55_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/5/12acf0dcabf244c3316525c69c736660.jpg","text":"TemporaryFile(/tmp/multipartBody3252332287496847092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945383080,"filename":"image_05122025_14_28_16_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/5/1cd7a4b93b8ad8e45436b4427c1d1586.jpg","text":"TemporaryFile(/tmp/multipartBody1057759841713547070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945383080,"filename":"image_05122025_14_28_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/56a2f480469c025d6431bc4deb50f143.jpg","text":"TemporaryFile(/tmp/multipartBody7687411358096644694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945383080,"filename":"image_05122025_14_28_46_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098592","file1":"1398098589","file0":"1398098587","file4":"1398098606","file5":"1398098607","file3":"1398098600"},"map_files_photo_id_array":[{"photo_id":"1398098607","filename":"file5"},{"photo_id":"1398098592","filename":"file2"},{"photo_id":"1398098606","filename":"file4"},{"photo_id":"1398098589","filename":"file1"},{"photo_id":"1398098587","filename":"file0"},{"photo_id":"1398098600","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098606":["hashtag1","hashtag2"]},{"1398098600":["hashtag1","hashtag2"]},{"1398098587":["hashtag1","hashtag2"]},{"1398098592":["hashtag1","hashtag2"]},{"1398098589":["hashtag1","hashtag2"]},{"1398098607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098606, 1398098600, 1398098587, 1398098592, 1398098589, 1398098607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.327521085739136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:36:03.072193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_55_9641.jpg', '/home/pi/Desktop/images/05122025/14/28/image_05122025_14_29_05_9663.jpg', '/home/pi/Desktop/images/05122025/14/29/image_05122025_14_29_16_10652.jpg', '/home/pi/Desktop/images/05122025/14/29/image_05122025_14_29_25_9563.jpg', '/home/pi/Desktop/images/05122025/14/29/image_05122025_14_29_35_9753.jpg', '/home/pi/Desktop/images/05122025/14/29/image_05122025_14_29_46_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/28/image_05122025_14_28_55_9641.jpg
/home/pi/Desktop/images/05122025/14/28/image_05122025_14_29_05_9663.jpg
/home/pi/Desktop/images/05122025/14/29/image_05122025_14_29_16_10652.jpg
/home/pi/Desktop/images/05122025/14/29/image_05122025_14_29_25_9563.jpg
/home/pi/Desktop/images/05122025/14/29/image_05122025_14_29_35_9753.jpg
/home/pi/Desktop/images/05122025/14/29/image_05122025_14_29_46_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098636","1398098633","1398098623","1398098626","1398098631","1398098628"],"photo_ids_order":["1398098623","1398098626","1398098628","1398098631","1398098633","1398098636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94b9787e3bc5e72480b0e5865270f034.jpg","text":"TemporaryFile(/tmp/multipartBody2065638788084735843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945423719,"filename":"image_05122025_14_29_46_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/5/ea26740384594c247085bad4828c6b08.jpg","text":"TemporaryFile(/tmp/multipartBody3036180844900307478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945423719,"filename":"image_05122025_14_29_35_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e7683252693e8b601f26afaf5d97311b.jpg","text":"TemporaryFile(/tmp/multipartBody1163500616552982147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945423719,"filename":"image_05122025_14_28_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f4cf23f3aa832d2484754d36a5e396bb.jpg","text":"TemporaryFile(/tmp/multipartBody8031140764142462710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945423719,"filename":"image_05122025_14_29_05_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/5/62d9b9bcb1da1f80cf97d4b6dd7c1535.jpg","text":"TemporaryFile(/tmp/multipartBody4893108383477658705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945423719,"filename":"image_05122025_14_29_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/5/088f0fa159425c80cc00c2d16bae8136.jpg","text":"TemporaryFile(/tmp/multipartBody3074397470249745977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945423719,"filename":"image_05122025_14_29_16_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098628","file1":"1398098626","file0":"1398098623","file4":"1398098633","file5":"1398098636","file3":"1398098631"},"map_files_photo_id_array":[{"photo_id":"1398098636","filename":"file5"},{"photo_id":"1398098628","filename":"file2"},{"photo_id":"1398098633","filename":"file4"},{"photo_id":"1398098626","filename":"file1"},{"photo_id":"1398098623","filename":"file0"},{"photo_id":"1398098631","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098636":["hashtag1","hashtag2"]},{"1398098633":["hashtag1","hashtag2"]},{"1398098623":["hashtag1","hashtag2"]},{"1398098626":["hashtag1","hashtag2"]},{"1398098631":["hashtag1","hashtag2"]},{"1398098628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098636, 1398098633, 1398098623, 1398098626, 1398098631, 1398098628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36604714393616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:36:42.778948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_44_2580.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_48_3570.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_50_2640.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_53_2671.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_57_3545.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_59_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_44_2580.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_48_3570.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_50_2640.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_53_2671.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_57_3545.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_59_2796.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.045334339141846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:37:02.500029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/29/image_05122025_14_29_55_9696.jpg', '/home/pi/Desktop/images/05122025/14/31/image_05122025_14_31_14_10040.jpg', '/home/pi/Desktop/images/05122025/14/31/image_05122025_14_31_24_10600.jpg', '/home/pi/Desktop/images/05122025/14/31/image_05122025_14_31_34_9588.jpg', '/home/pi/Desktop/images/05122025/14/31/image_05122025_14_31_45_10732.jpg', '/home/pi/Desktop/images/05122025/14/31/image_05122025_14_31_55_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/29/image_05122025_14_29_55_9696.jpg
/home/pi/Desktop/images/05122025/14/31/image_05122025_14_31_14_10040.jpg
/home/pi/Desktop/images/05122025/14/31/image_05122025_14_31_24_10600.jpg
/home/pi/Desktop/images/05122025/14/31/image_05122025_14_31_34_9588.jpg
/home/pi/Desktop/images/05122025/14/31/image_05122025_14_31_45_10732.jpg
/home/pi/Desktop/images/05122025/14/31/image_05122025_14_31_55_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098671","1398098665","1398098667","1398098652","1398098661","1398098669"],"photo_ids_order":["1398098652","1398098661","1398098665","1398098667","1398098669","1398098671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54ae87fce6299639162730a4fb27c32b.jpg","text":"TemporaryFile(/tmp/multipartBody6419198296415140415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945483191,"filename":"image_05122025_14_31_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/5/0339d6df25a7f1b01ff4bfe5cc2b1e9d.jpg","text":"TemporaryFile(/tmp/multipartBody5830649735863295354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945483191,"filename":"image_05122025_14_31_24_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/5/561649d7dae30e0d953a2a86054216ee.jpg","text":"TemporaryFile(/tmp/multipartBody3564851420877974581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945483191,"filename":"image_05122025_14_31_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/5/ac081a242d4ab2ff3f86f02fda9cc33f.jpg","text":"TemporaryFile(/tmp/multipartBody4669541146426403466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945483191,"filename":"image_05122025_14_29_55_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/403a8b9f1e34e8bbfc6156ce95314081.jpg","text":"TemporaryFile(/tmp/multipartBody7953836001708555086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945483191,"filename":"image_05122025_14_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/5/304c6876e1634b158461748d6d675ab3.jpg","text":"TemporaryFile(/tmp/multipartBody1856718469325658088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945483191,"filename":"image_05122025_14_31_45_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098665","file1":"1398098661","file0":"1398098652","file4":"1398098669","file5":"1398098671","file3":"1398098667"},"map_files_photo_id_array":[{"photo_id":"1398098671","filename":"file5"},{"photo_id":"1398098665","filename":"file2"},{"photo_id":"1398098669","filename":"file4"},{"photo_id":"1398098661","filename":"file1"},{"photo_id":"1398098652","filename":"file0"},{"photo_id":"1398098667","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098671":["hashtag1","hashtag2"]},{"1398098665":["hashtag1","hashtag2"]},{"1398098667":["hashtag1","hashtag2"]},{"1398098652":["hashtag1","hashtag2"]},{"1398098661":["hashtag1","hashtag2"]},{"1398098669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098671, 1398098665, 1398098667, 1398098652, 1398098661, 1398098669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52100396156311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:37:41.953559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_44_2580.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_48_3570.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_50_2640.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_53_2671.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_57_3545.jpg', '/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_59_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_44_2580.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_48_3570.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_50_2640.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_53_2671.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_57_3545.jpg
/home/pi/Desktop/images/31102025/19/54/image_31102025_19_54_59_2796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098684","1398098680","1398098682","1398098676","1398098685","1398098681"],"photo_ids_order":["1398098676","1398098680","1398098681","1398098682","1398098684","1398098685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/105feec24d46dd55591fc0702c430ef4.jpg","text":"TemporaryFile(/tmp/multipartBody1078756713577511945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945523429,"filename":"image_31102025_19_54_57_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/5/62e6c9d01fbdaf3ce61cf3360e3e9e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3661566669082384428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945523429,"filename":"image_31102025_19_54_48_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/5/fc82db66b989e119932f62eea86e7f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5797199252457117847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945523429,"filename":"image_31102025_19_54_53_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/5/1d3a5dc14adce3e11ebd526c44497911.jpg","text":"TemporaryFile(/tmp/multipartBody8045342860947286592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945523429,"filename":"image_31102025_19_54_44_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/5/513c872e9e4b0f34429ece749130bb90.jpg","text":"TemporaryFile(/tmp/multipartBody341743155482329629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945523429,"filename":"image_31102025_19_54_59_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7da29d084045533ab8db110e00705b8e.jpg","text":"TemporaryFile(/tmp/multipartBody1207098815107098431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945523429,"filename":"image_31102025_19_54_50_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098681","file1":"1398098680","file0":"1398098676","file4":"1398098684","file5":"1398098685","file3":"1398098682"},"map_files_photo_id_array":[{"photo_id":"1398098685","filename":"file5"},{"photo_id":"1398098681","filename":"file2"},{"photo_id":"1398098684","filename":"file4"},{"photo_id":"1398098680","filename":"file1"},{"photo_id":"1398098676","filename":"file0"},{"photo_id":"1398098682","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398098684":["hashtag1","hashtag2"]},{"1398098680":["hashtag1","hashtag2"]},{"1398098682":["hashtag1","hashtag2"]},{"1398098676":["hashtag1","hashtag2"]},{"1398098685":["hashtag1","hashtag2"]},{"1398098681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398098684, 1398098680, 1398098682, 1398098676, 1398098685, 1398098681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88723611831665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:38:23.149252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 15:38:33.179404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/05/image_02122025_21_05_56_9631.jpg', '/home/pi/Desktop/images/02122025/21/05/image_02122025_21_06_06_9962.jpg', '/home/pi/Desktop/images/02122025/21/06/image_02122025_21_06_15_9677.jpg', '/home/pi/Desktop/images/02122025/21/06/image_02122025_21_06_26_10622.jpg', '/home/pi/Desktop/images/02122025/21/06/image_02122025_21_06_45_9677.jpg', '/home/pi/Desktop/images/02122025/21/06/image_02122025_21_06_56_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/05/image_02122025_21_05_56_9631.jpg
/home/pi/Desktop/images/02122025/21/05/image_02122025_21_06_06_9962.jpg
/home/pi/Desktop/images/02122025/21/06/image_02122025_21_06_15_9677.jpg
/home/pi/Desktop/images/02122025/21/06/image_02122025_21_06_26_10622.jpg
/home/pi/Desktop/images/02122025/21/06/image_02122025_21_06_45_9677.jpg
/home/pi/Desktop/images/02122025/21/06/image_02122025_21_06_56_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098765","1398098782","1398098740","1398098781","1398098780","1398098768"],"photo_ids_order":["1398098740","1398098765","1398098768","1398098780","1398098781","1398098782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4827aa35de76b6f78fe62e7b4b14631d.jpg","text":"TemporaryFile(/tmp/multipartBody4899974867506969957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945575330,"filename":"image_02122025_21_06_06_9962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/77557c0b363635ba0f6b19a5ac1cd5f0.jpg","text":"TemporaryFile(/tmp/multipartBody4738751724187717118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945575330,"filename":"image_02122025_21_06_56_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/5/0e65b44daca7a8bd5ce2400cfe375e47.jpg","text":"TemporaryFile(/tmp/multipartBody8558520858453797869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945575330,"filename":"image_02122025_21_05_56_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/5/95c9b39f3d4c40833ed9fbe5153517e1.jpg","text":"TemporaryFile(/tmp/multipartBody2658034966171325692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945575330,"filename":"image_02122025_21_06_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb868e39bbc89aef9cdbd0b3ea7988dc.jpg","text":"TemporaryFile(/tmp/multipartBody8414535767404352864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945575330,"filename":"image_02122025_21_06_26_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/5/9ce6ee472645e0d17e8c2ff72bb931d9.jpg","text":"TemporaryFile(/tmp/multipartBody2914105197869993060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945575330,"filename":"image_02122025_21_06_15_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098768","file1":"1398098765","file0":"1398098740","file4":"1398098781","file5":"1398098782","file3":"1398098780"},"map_files_photo_id_array":[{"photo_id":"1398098782","filename":"file5"},{"photo_id":"1398098768","filename":"file2"},{"photo_id":"1398098781","filename":"file4"},{"photo_id":"1398098765","filename":"file1"},{"photo_id":"1398098740","filename":"file0"},{"photo_id":"1398098780","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398098765":["hashtag1","hashtag2"]},{"1398098782":["hashtag1","hashtag2"]},{"1398098740":["hashtag1","hashtag2"]},{"1398098781":["hashtag1","hashtag2"]},{"1398098780":["hashtag1","hashtag2"]},{"1398098768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398098765, 1398098782, 1398098740, 1398098781, 1398098780, 1398098768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.827627658843994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:39:22.264824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/31/image_05122025_14_32_04_9618.jpg', '/home/pi/Desktop/images/05122025/14/32/image_05122025_14_32_15_10584.jpg', '/home/pi/Desktop/images/05122025/14/32/image_05122025_14_32_25_9799.jpg', '/home/pi/Desktop/images/05122025/14/32/image_05122025_14_32_34_9527.jpg', '/home/pi/Desktop/images/05122025/14/32/image_05122025_14_32_45_10617.jpg', '/home/pi/Desktop/images/05122025/14/32/image_05122025_14_32_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/31/image_05122025_14_32_04_9618.jpg
/home/pi/Desktop/images/05122025/14/32/image_05122025_14_32_15_10584.jpg
/home/pi/Desktop/images/05122025/14/32/image_05122025_14_32_25_9799.jpg
/home/pi/Desktop/images/05122025/14/32/image_05122025_14_32_34_9527.jpg
/home/pi/Desktop/images/05122025/14/32/image_05122025_14_32_45_10617.jpg
/home/pi/Desktop/images/05122025/14/32/image_05122025_14_32_54_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098797","1398098800","1398098792","1398098786","1398098795","1398098789"],"photo_ids_order":["1398098786","1398098789","1398098792","1398098795","1398098797","1398098800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91b0c8b643a82365b461a3d3a392ddc7.jpg","text":"TemporaryFile(/tmp/multipartBody4546768878949726152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945622867,"filename":"image_05122025_14_32_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/5/a4dd53c99ff6cb640d22b0f6b5c59ef7.jpg","text":"TemporaryFile(/tmp/multipartBody170795078891016803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945622867,"filename":"image_05122025_14_32_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/79085bf1b4b9e097dc2f57b986613cf9.jpg","text":"TemporaryFile(/tmp/multipartBody2370208151467542172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945622867,"filename":"image_05122025_14_32_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/5/f4ca509e3cbd06cc692f229c4036fded.jpg","text":"TemporaryFile(/tmp/multipartBody3540649244255190036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945622867,"filename":"image_05122025_14_32_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/5/f87a06a52e5d53986c91d95dcecee9b4.jpg","text":"TemporaryFile(/tmp/multipartBody3555725115956122193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945622867,"filename":"image_05122025_14_32_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/5/e4518b9f43b099eb65d6d2825f318ef7.jpg","text":"TemporaryFile(/tmp/multipartBody2381468614769623405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945622867,"filename":"image_05122025_14_32_15_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098792","file1":"1398098789","file0":"1398098786","file4":"1398098797","file5":"1398098800","file3":"1398098795"},"map_files_photo_id_array":[{"photo_id":"1398098800","filename":"file5"},{"photo_id":"1398098792","filename":"file2"},{"photo_id":"1398098797","filename":"file4"},{"photo_id":"1398098789","filename":"file1"},{"photo_id":"1398098786","filename":"file0"},{"photo_id":"1398098795","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098797":["hashtag1","hashtag2"]},{"1398098800":["hashtag1","hashtag2"]},{"1398098792":["hashtag1","hashtag2"]},{"1398098786":["hashtag1","hashtag2"]},{"1398098795":["hashtag1","hashtag2"]},{"1398098789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098797, 1398098800, 1398098792, 1398098786, 1398098795, 1398098789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42948293685913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:40:02.805470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/32/image_05122025_14_33_04_9682.jpg', '/home/pi/Desktop/images/05122025/14/33/image_05122025_14_33_15_10634.jpg', '/home/pi/Desktop/images/05122025/14/33/image_05122025_14_33_24_9693.jpg', '/home/pi/Desktop/images/05122025/14/33/image_05122025_14_33_34_9641.jpg', '/home/pi/Desktop/images/05122025/14/33/image_05122025_14_33_45_10649.jpg', '/home/pi/Desktop/images/05122025/14/33/image_05122025_14_33_54_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/32/image_05122025_14_33_04_9682.jpg
/home/pi/Desktop/images/05122025/14/33/image_05122025_14_33_15_10634.jpg
/home/pi/Desktop/images/05122025/14/33/image_05122025_14_33_24_9693.jpg
/home/pi/Desktop/images/05122025/14/33/image_05122025_14_33_34_9641.jpg
/home/pi/Desktop/images/05122025/14/33/image_05122025_14_33_45_10649.jpg
/home/pi/Desktop/images/05122025/14/33/image_05122025_14_33_54_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098804","1398098803","1398098806","1398098811","1398098808","1398098805"],"photo_ids_order":["1398098803","1398098804","1398098805","1398098806","1398098808","1398098811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dce383d24f58ef003fdb324b5e95698a.jpg","text":"TemporaryFile(/tmp/multipartBody790223298461206419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945663481,"filename":"image_05122025_14_33_15_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/5/0e9dcda07a3c0657b57f4c3cd85b94a2.jpg","text":"TemporaryFile(/tmp/multipartBody7119805808256119083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945663481,"filename":"image_05122025_14_33_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/5/710d5b1bed22992f35cc2563397fbea5.jpg","text":"TemporaryFile(/tmp/multipartBody3671402262202109758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945663481,"filename":"image_05122025_14_33_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9413582d61c1070c093469fba272d731.jpg","text":"TemporaryFile(/tmp/multipartBody2761475310816532355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945663481,"filename":"image_05122025_14_33_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/5/881dab30579de7e5bedf5d40aaeba077.jpg","text":"TemporaryFile(/tmp/multipartBody4881681841127637961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945663481,"filename":"image_05122025_14_33_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/5/9944fe9db25f9a859a41528f450e5420.jpg","text":"TemporaryFile(/tmp/multipartBody2805811650487964546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945663481,"filename":"image_05122025_14_33_24_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098805","file1":"1398098804","file0":"1398098803","file4":"1398098808","file5":"1398098811","file3":"1398098806"},"map_files_photo_id_array":[{"photo_id":"1398098811","filename":"file5"},{"photo_id":"1398098805","filename":"file2"},{"photo_id":"1398098808","filename":"file4"},{"photo_id":"1398098804","filename":"file1"},{"photo_id":"1398098803","filename":"file0"},{"photo_id":"1398098806","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098804":["hashtag1","hashtag2"]},{"1398098803":["hashtag1","hashtag2"]},{"1398098806":["hashtag1","hashtag2"]},{"1398098811":["hashtag1","hashtag2"]},{"1398098808":["hashtag1","hashtag2"]},{"1398098805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098804, 1398098803, 1398098806, 1398098811, 1398098808, 1398098805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.187405824661255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:40:42.464898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_02_2695.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_05_3093.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_09_3669.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_11_2584.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_14_2597.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_20_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_02_2695.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_05_3093.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_09_3669.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_11_2584.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_14_2597.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_20_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098843","1398098836","1398098830","1398098841","1398098838","1398098829"],"photo_ids_order":["1398098829","1398098830","1398098836","1398098838","1398098841","1398098843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/19e2a03229641cbb71b8dfb9fb990ce7.jpg","text":"TemporaryFile(/tmp/multipartBody6905556186972063382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945706560,"filename":"image_31102025_19_55_20_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/5/ee083f229b6c154242f5b64e22708013.jpg","text":"TemporaryFile(/tmp/multipartBody4091072735474256813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945706560,"filename":"image_31102025_19_55_09_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/5/4f712b4e9232d5b815794fdcd87a71bb.jpg","text":"TemporaryFile(/tmp/multipartBody8356687439732164108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945706560,"filename":"image_31102025_19_55_05_3093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0faab679120b119d14e733320923446d.jpg","text":"TemporaryFile(/tmp/multipartBody2147558738352185521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945706560,"filename":"image_31102025_19_55_14_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ec40a842aa15a1a095a131a7f2e0c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5575500814760092824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945706560,"filename":"image_31102025_19_55_11_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/5/fc7009e90bf5cca19fdbb89d68bc7c16.jpg","text":"TemporaryFile(/tmp/multipartBody8282091293619492008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945706560,"filename":"image_31102025_19_55_02_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098836","file1":"1398098830","file0":"1398098829","file4":"1398098841","file5":"1398098843","file3":"1398098838"},"map_files_photo_id_array":[{"photo_id":"1398098843","filename":"file5"},{"photo_id":"1398098836","filename":"file2"},{"photo_id":"1398098841","filename":"file4"},{"photo_id":"1398098830","filename":"file1"},{"photo_id":"1398098829","filename":"file0"},{"photo_id":"1398098838","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398098843":["hashtag1","hashtag2"]},{"1398098836":["hashtag1","hashtag2"]},{"1398098830":["hashtag1","hashtag2"]},{"1398098841":["hashtag1","hashtag2"]},{"1398098838":["hashtag1","hashtag2"]},{"1398098829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398098843, 1398098836, 1398098830, 1398098841, 1398098838, 1398098829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05020070075989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:41:32.638841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/07/image_02122025_21_07_15_9881.jpg', '/home/pi/Desktop/images/02122025/21/07/image_02122025_21_07_25_9742.jpg', '/home/pi/Desktop/images/02122025/21/07/image_02122025_21_07_55_9911.jpg', '/home/pi/Desktop/images/02122025/21/07/image_02122025_21_08_05_9884.jpg', '/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_15_9846.jpg', '/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_25_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/07/image_02122025_21_07_15_9881.jpg
/home/pi/Desktop/images/02122025/21/07/image_02122025_21_07_25_9742.jpg
/home/pi/Desktop/images/02122025/21/07/image_02122025_21_07_55_9911.jpg
/home/pi/Desktop/images/02122025/21/07/image_02122025_21_08_05_9884.jpg
/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_15_9846.jpg
/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_25_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":["1398098882","1398098893","1398098887","1398098914","1398098913","1398098879"],"photo_ids_order":["1398098879","1398098882","1398098887","1398098893","1398098913","1398098914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b341ed905f418eb6241af807169d02dd.jpg","text":"TemporaryFile(/tmp/multipartBody7938058855892537017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945754788,"filename":"image_02122025_21_07_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/5/d4689dfa200e654d423ee23a4348f001.jpg","text":"TemporaryFile(/tmp/multipartBody6182901596031986181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945754788,"filename":"image_02122025_21_08_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/5/35db8b795a053d154a1bf3cecc989779.jpg","text":"TemporaryFile(/tmp/multipartBody7551548328605899759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945754788,"filename":"image_02122025_21_07_55_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/5/b69855ec3b65bd5b68d135d6dcef350e.jpg","text":"TemporaryFile(/tmp/multipartBody5593914014178653522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945754788,"filename":"image_02122025_21_08_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/5/09e9ce30732f5f675003da7a777aa40f.jpg","text":"TemporaryFile(/tmp/multipartBody6451604590655861251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945754788,"filename":"image_02122025_21_08_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/5/cf7e77ef21f45cfecb2b799f4daea3fa.jpg","text":"TemporaryFile(/tmp/multipartBody4908713855918911896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945754788,"filename":"image_02122025_21_07_15_9881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098887","file1":"1398098882","file0":"1398098879","file4":"1398098913","file5":"1398098914","file3":"1398098893"},"map_files_photo_id_array":[{"photo_id":"1398098914","filename":"file5"},{"photo_id":"1398098887","filename":"file2"},{"photo_id":"1398098913","filename":"file4"},{"photo_id":"1398098882","filename":"file1"},{"photo_id":"1398098879","filename":"file0"},{"photo_id":"1398098893","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398098882":["hashtag1","hashtag2"]},{"1398098893":["hashtag1","hashtag2"]},{"1398098887":["hashtag1","hashtag2"]},{"1398098914":["hashtag1","hashtag2"]},{"1398098913":["hashtag1","hashtag2"]},{"1398098879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398098882, 1398098893, 1398098887, 1398098914, 1398098913, 1398098879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59975600242615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:42:11.831825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_36_10835.jpg', '/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_46_9683.jpg', '/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_55_9685.jpg', '/home/pi/Desktop/images/02122025/21/08/image_02122025_21_09_05_9718.jpg', '/home/pi/Desktop/images/02122025/21/09/image_02122025_21_09_16_10719.jpg', '/home/pi/Desktop/images/02122025/21/10/image_02122025_21_10_46_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_36_10835.jpg
/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_46_9683.jpg
/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_55_9685.jpg
/home/pi/Desktop/images/02122025/21/08/image_02122025_21_09_05_9718.jpg
/home/pi/Desktop/images/02122025/21/09/image_02122025_21_09_16_10719.jpg
/home/pi/Desktop/images/02122025/21/10/image_02122025_21_10_46_10588.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8826158046722412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:42:21.845531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/33/image_05122025_14_34_04_9657.jpg', '/home/pi/Desktop/images/05122025/14/34/image_05122025_14_34_14_10552.jpg', '/home/pi/Desktop/images/05122025/14/34/image_05122025_14_34_24_9685.jpg', '/home/pi/Desktop/images/05122025/14/34/image_05122025_14_34_34_9686.jpg', '/home/pi/Desktop/images/05122025/14/34/image_05122025_14_34_45_10821.jpg', '/home/pi/Desktop/images/05122025/14/34/image_05122025_14_34_54_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/33/image_05122025_14_34_04_9657.jpg
/home/pi/Desktop/images/05122025/14/34/image_05122025_14_34_14_10552.jpg
/home/pi/Desktop/images/05122025/14/34/image_05122025_14_34_24_9685.jpg
/home/pi/Desktop/images/05122025/14/34/image_05122025_14_34_34_9686.jpg
/home/pi/Desktop/images/05122025/14/34/image_05122025_14_34_45_10821.jpg
/home/pi/Desktop/images/05122025/14/34/image_05122025_14_34_54_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":["1398098954","1398098942","1398098927","1398098932","1398098923","1398098955"],"photo_ids_order":["1398098923","1398098927","1398098932","1398098942","1398098954","1398098955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4dd87cd48cc5a8a33068d8812cc85402.jpg","text":"TemporaryFile(/tmp/multipartBody6493809747061710831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945806988,"filename":"image_05122025_14_34_45_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a4e7247ba82f397fe3f405f59752a8c.jpg","text":"TemporaryFile(/tmp/multipartBody2444118657599767021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945806988,"filename":"image_05122025_14_34_34_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/5/351ffd9a03335957e735a95955a6a877.jpg","text":"TemporaryFile(/tmp/multipartBody6217223379022814865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945806988,"filename":"image_05122025_14_34_14_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/5/162c7108438f363f320f468be44d08d1.jpg","text":"TemporaryFile(/tmp/multipartBody1083004610579889739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945806988,"filename":"image_05122025_14_34_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/96982a7cebac7e21853c52a8379721d2.jpg","text":"TemporaryFile(/tmp/multipartBody6377112740271428779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945806988,"filename":"image_05122025_14_34_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/5/4205f3e3fac251d18e4ed2ea8e4fdfea.jpg","text":"TemporaryFile(/tmp/multipartBody4836476399397910746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945806988,"filename":"image_05122025_14_34_54_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098932","file1":"1398098927","file0":"1398098923","file4":"1398098954","file5":"1398098955","file3":"1398098942"},"map_files_photo_id_array":[{"photo_id":"1398098955","filename":"file5"},{"photo_id":"1398098932","filename":"file2"},{"photo_id":"1398098954","filename":"file4"},{"photo_id":"1398098927","filename":"file1"},{"photo_id":"1398098923","filename":"file0"},{"photo_id":"1398098942","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398098954":["hashtag1","hashtag2"]},{"1398098942":["hashtag1","hashtag2"]},{"1398098927":["hashtag1","hashtag2"]},{"1398098932":["hashtag1","hashtag2"]},{"1398098923":["hashtag1","hashtag2"]},{"1398098955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398098954, 1398098942, 1398098927, 1398098932, 1398098923, 1398098955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08885836601257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:43:12.125455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_36_10835.jpg', '/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_46_9683.jpg', '/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_55_9685.jpg', '/home/pi/Desktop/images/02122025/21/08/image_02122025_21_09_05_9718.jpg', '/home/pi/Desktop/images/02122025/21/09/image_02122025_21_09_16_10719.jpg', '/home/pi/Desktop/images/02122025/21/10/image_02122025_21_10_46_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_36_10835.jpg
/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_46_9683.jpg
/home/pi/Desktop/images/02122025/21/08/image_02122025_21_08_55_9685.jpg
/home/pi/Desktop/images/02122025/21/08/image_02122025_21_09_05_9718.jpg
/home/pi/Desktop/images/02122025/21/09/image_02122025_21_09_16_10719.jpg
/home/pi/Desktop/images/02122025/21/10/image_02122025_21_10_46_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398098968","1398098973","1398098970","1398098964","1398098972","1398098966"],"photo_ids_order":["1398098964","1398098966","1398098968","1398098970","1398098972","1398098973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa5d4a086642d781bfffc3e7f1eb6e55.jpg","text":"TemporaryFile(/tmp/multipartBody1368266076518271132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945853793,"filename":"image_02122025_21_08_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/5/47447324ac20e067c49bedffc3739796.jpg","text":"TemporaryFile(/tmp/multipartBody8923150593790351519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945853793,"filename":"image_02122025_21_10_46_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/5/a7657396292054cdf74c48878cd63af7.jpg","text":"TemporaryFile(/tmp/multipartBody4177019281569424733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945853793,"filename":"image_02122025_21_09_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/5/7ffd033abb0e03ee40f708710d386bfb.jpg","text":"TemporaryFile(/tmp/multipartBody8558773625955360771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945853793,"filename":"image_02122025_21_08_36_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/181b4846569a844c2c2b199a437d7a27.jpg","text":"TemporaryFile(/tmp/multipartBody5180288177913160872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945853793,"filename":"image_02122025_21_09_16_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9063d9ea9afbf22f93656c5d65449758.jpg","text":"TemporaryFile(/tmp/multipartBody3883353966156456683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945853793,"filename":"image_02122025_21_08_46_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098968","file1":"1398098966","file0":"1398098964","file4":"1398098972","file5":"1398098973","file3":"1398098970"},"map_files_photo_id_array":[{"photo_id":"1398098973","filename":"file5"},{"photo_id":"1398098968","filename":"file2"},{"photo_id":"1398098972","filename":"file4"},{"photo_id":"1398098966","filename":"file1"},{"photo_id":"1398098964","filename":"file0"},{"photo_id":"1398098970","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398098968":["hashtag1","hashtag2"]},{"1398098973":["hashtag1","hashtag2"]},{"1398098970":["hashtag1","hashtag2"]},{"1398098964":["hashtag1","hashtag2"]},{"1398098972":["hashtag1","hashtag2"]},{"1398098966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398098968, 1398098973, 1398098970, 1398098964, 1398098972, 1398098966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.004263162612915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:44:02.908744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/34/image_05122025_14_35_04_9654.jpg', '/home/pi/Desktop/images/05122025/14/35/image_05122025_14_35_15_10728.jpg', '/home/pi/Desktop/images/05122025/14/35/image_05122025_14_35_25_9843.jpg', '/home/pi/Desktop/images/05122025/14/35/image_05122025_14_35_34_9754.jpg', '/home/pi/Desktop/images/05122025/14/35/image_05122025_14_35_44_9564.jpg', '/home/pi/Desktop/images/05122025/14/35/image_05122025_14_35_55_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/34/image_05122025_14_35_04_9654.jpg
/home/pi/Desktop/images/05122025/14/35/image_05122025_14_35_15_10728.jpg
/home/pi/Desktop/images/05122025/14/35/image_05122025_14_35_25_9843.jpg
/home/pi/Desktop/images/05122025/14/35/image_05122025_14_35_34_9754.jpg
/home/pi/Desktop/images/05122025/14/35/image_05122025_14_35_44_9564.jpg
/home/pi/Desktop/images/05122025/14/35/image_05122025_14_35_55_10719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099005","1398098980","1398098986","1398098979","1398098984","1398098993"],"photo_ids_order":["1398098979","1398098980","1398098984","1398098986","1398098993","1398099005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8dbcbeafe82531e1523a06b2c0572a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1753672011364410896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945903566,"filename":"image_05122025_14_35_55_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/5/153ebedcfad6877a189072976353bb23.jpg","text":"TemporaryFile(/tmp/multipartBody3872932227051494901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945903566,"filename":"image_05122025_14_35_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/5/0961695011a61e6ac452612df552fd08.jpg","text":"TemporaryFile(/tmp/multipartBody2174313313773279234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945903566,"filename":"image_05122025_14_35_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/5/c7d8b937f360b6d92037a1c1cf254ab7.jpg","text":"TemporaryFile(/tmp/multipartBody7504870803455725788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945903566,"filename":"image_05122025_14_35_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/618e394946323916403b55f733cff445.jpg","text":"TemporaryFile(/tmp/multipartBody67277254780345808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945903566,"filename":"image_05122025_14_35_25_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/baffa8cea4bc062ab5a093076b80c8e5.jpg","text":"TemporaryFile(/tmp/multipartBody1018325172780140746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945903566,"filename":"image_05122025_14_35_44_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398098984","file1":"1398098980","file0":"1398098979","file4":"1398098993","file5":"1398099005","file3":"1398098986"},"map_files_photo_id_array":[{"photo_id":"1398099005","filename":"file5"},{"photo_id":"1398098984","filename":"file2"},{"photo_id":"1398098993","filename":"file4"},{"photo_id":"1398098980","filename":"file1"},{"photo_id":"1398098979","filename":"file0"},{"photo_id":"1398098986","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099005":["hashtag1","hashtag2"]},{"1398098980":["hashtag1","hashtag2"]},{"1398098986":["hashtag1","hashtag2"]},{"1398098979":["hashtag1","hashtag2"]},{"1398098984":["hashtag1","hashtag2"]},{"1398098993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099005, 1398098980, 1398098986, 1398098979, 1398098984, 1398098993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78102135658264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:44:42.222644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_23_2827.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_27_3654.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_30_2805.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_32_2554.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_36_3646.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_38_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_23_2827.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_27_3654.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_30_2805.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_32_2554.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_36_3646.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_38_2564.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4317505359649658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:45:03.116015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/35/image_05122025_14_36_05_9906.jpg', '/home/pi/Desktop/images/05122025/14/36/image_05122025_14_36_14_9645.jpg', '/home/pi/Desktop/images/05122025/14/36/image_05122025_14_36_25_10516.jpg', '/home/pi/Desktop/images/05122025/14/36/image_05122025_14_36_34_9615.jpg', '/home/pi/Desktop/images/05122025/14/36/image_05122025_14_36_44_9771.jpg', '/home/pi/Desktop/images/05122025/14/36/image_05122025_14_36_54_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/35/image_05122025_14_36_05_9906.jpg
/home/pi/Desktop/images/05122025/14/36/image_05122025_14_36_14_9645.jpg
/home/pi/Desktop/images/05122025/14/36/image_05122025_14_36_25_10516.jpg
/home/pi/Desktop/images/05122025/14/36/image_05122025_14_36_34_9615.jpg
/home/pi/Desktop/images/05122025/14/36/image_05122025_14_36_44_9771.jpg
/home/pi/Desktop/images/05122025/14/36/image_05122025_14_36_54_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099064","1398099067","1398099055","1398099063","1398099057","1398099065"],"photo_ids_order":["1398099055","1398099057","1398099063","1398099064","1398099065","1398099067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aa68ac8d5ca61fae9674c07c75b3445e.jpg","text":"TemporaryFile(/tmp/multipartBody4331259191823947330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945963819,"filename":"image_05122025_14_36_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/5/706511aec774696987825a8ce080b519.jpg","text":"TemporaryFile(/tmp/multipartBody8451968479081089633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945963819,"filename":"image_05122025_14_36_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/5/a5ced4e1c9cbb139809d9fa26505f07b.jpg","text":"TemporaryFile(/tmp/multipartBody7736305172576332126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945963819,"filename":"image_05122025_14_36_05_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/5/5469ee3ff5a8b16066929758166c462b.jpg","text":"TemporaryFile(/tmp/multipartBody7411991411253254928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945963819,"filename":"image_05122025_14_36_25_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e9c776745b5d9b8aba0eeb115c842e13.jpg","text":"TemporaryFile(/tmp/multipartBody8093779310843093142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945963819,"filename":"image_05122025_14_36_14_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/5/5a0094ad9c7b0636292fed1911b3da9c.jpg","text":"TemporaryFile(/tmp/multipartBody3055035205011057274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764945963819,"filename":"image_05122025_14_36_44_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099063","file1":"1398099057","file0":"1398099055","file4":"1398099065","file5":"1398099067","file3":"1398099064"},"map_files_photo_id_array":[{"photo_id":"1398099067","filename":"file5"},{"photo_id":"1398099063","filename":"file2"},{"photo_id":"1398099065","filename":"file4"},{"photo_id":"1398099057","filename":"file1"},{"photo_id":"1398099055","filename":"file0"},{"photo_id":"1398099064","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099064":["hashtag1","hashtag2"]},{"1398099067":["hashtag1","hashtag2"]},{"1398099055":["hashtag1","hashtag2"]},{"1398099063":["hashtag1","hashtag2"]},{"1398099057":["hashtag1","hashtag2"]},{"1398099065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099064, 1398099067, 1398099055, 1398099063, 1398099057, 1398099065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92430925369263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:45:42.399909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_23_2827.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_27_3654.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_30_2805.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_32_2554.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_36_3646.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_38_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_23_2827.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_27_3654.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_30_2805.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_32_2554.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_36_3646.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_38_2564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099076","1398099079","1398099072","1398099075","1398099077","1398099074"],"photo_ids_order":["1398099072","1398099074","1398099075","1398099076","1398099077","1398099079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a0ad184cd3619b275ed6aa76e5e6b85c.jpg","text":"TemporaryFile(/tmp/multipartBody7781624223544867040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946003862,"filename":"image_31102025_19_55_32_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/5/7a36e2595066777c0525ecd96e12fbe4.jpg","text":"TemporaryFile(/tmp/multipartBody5300023149846690035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946003862,"filename":"image_31102025_19_55_38_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2984789ad7726f9eb608940282499a0.jpg","text":"TemporaryFile(/tmp/multipartBody6438198634272491287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946003862,"filename":"image_31102025_19_55_23_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/483e996c787fa0b7833154d88a37455c.jpg","text":"TemporaryFile(/tmp/multipartBody3157921881619367166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946003862,"filename":"image_31102025_19_55_30_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/5/5b680948f255767f78ccbb95658bd907.jpg","text":"TemporaryFile(/tmp/multipartBody3906603809652486574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946003862,"filename":"image_31102025_19_55_36_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/5/c92fb34317705d0eceb16609a8640c63.jpg","text":"TemporaryFile(/tmp/multipartBody6868001910367023532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946003862,"filename":"image_31102025_19_55_27_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099075","file1":"1398099074","file0":"1398099072","file4":"1398099077","file5":"1398099079","file3":"1398099076"},"map_files_photo_id_array":[{"photo_id":"1398099079","filename":"file5"},{"photo_id":"1398099075","filename":"file2"},{"photo_id":"1398099077","filename":"file4"},{"photo_id":"1398099074","filename":"file1"},{"photo_id":"1398099072","filename":"file0"},{"photo_id":"1398099076","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398099076":["hashtag1","hashtag2"]},{"1398099079":["hashtag1","hashtag2"]},{"1398099072":["hashtag1","hashtag2"]},{"1398099075":["hashtag1","hashtag2"]},{"1398099077":["hashtag1","hashtag2"]},{"1398099074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398099076, 1398099079, 1398099072, 1398099075, 1398099077, 1398099074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.310792684555054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:46:22.562954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/36/image_05122025_14_37_05_10682.jpg', '/home/pi/Desktop/images/05122025/14/37/image_05122025_14_37_14_9561.jpg', '/home/pi/Desktop/images/05122025/14/37/image_05122025_14_37_25_10559.jpg', '/home/pi/Desktop/images/05122025/14/37/image_05122025_14_37_34_9667.jpg', '/home/pi/Desktop/images/05122025/14/37/image_05122025_14_37_44_9773.jpg', '/home/pi/Desktop/images/05122025/14/37/image_05122025_14_37_55_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/36/image_05122025_14_37_05_10682.jpg
/home/pi/Desktop/images/05122025/14/37/image_05122025_14_37_14_9561.jpg
/home/pi/Desktop/images/05122025/14/37/image_05122025_14_37_25_10559.jpg
/home/pi/Desktop/images/05122025/14/37/image_05122025_14_37_34_9667.jpg
/home/pi/Desktop/images/05122025/14/37/image_05122025_14_37_44_9773.jpg
/home/pi/Desktop/images/05122025/14/37/image_05122025_14_37_55_10583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099090","1398099081","1398099083","1398099092","1398099086","1398099089"],"photo_ids_order":["1398099081","1398099083","1398099086","1398099089","1398099090","1398099092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a67083cd717f7fd1e468f6c62ef0bf41.jpg","text":"TemporaryFile(/tmp/multipartBody2240934046201353627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946043172,"filename":"image_05122025_14_37_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/5/181a889bd21eee9176dc1fb8efa69d7f.jpg","text":"TemporaryFile(/tmp/multipartBody1573962275159211189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946043172,"filename":"image_05122025_14_37_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/5/29f6ad4bfbb29c39c38e9e97428af5b4.jpg","text":"TemporaryFile(/tmp/multipartBody3162840440220444435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946043172,"filename":"image_05122025_14_37_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/5/0c935f35511c543a5df19f72097024f2.jpg","text":"TemporaryFile(/tmp/multipartBody4982685451873017149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946043172,"filename":"image_05122025_14_37_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/31863b53da0c8b72548c9a15c0e56517.jpg","text":"TemporaryFile(/tmp/multipartBody6376889943093947354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946043172,"filename":"image_05122025_14_37_25_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/5/16f6b2ff21aa8d4243c90d2f84388820.jpg","text":"TemporaryFile(/tmp/multipartBody2548238303592851979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946043172,"filename":"image_05122025_14_37_34_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099086","file1":"1398099083","file0":"1398099081","file4":"1398099090","file5":"1398099092","file3":"1398099089"},"map_files_photo_id_array":[{"photo_id":"1398099092","filename":"file5"},{"photo_id":"1398099086","filename":"file2"},{"photo_id":"1398099090","filename":"file4"},{"photo_id":"1398099083","filename":"file1"},{"photo_id":"1398099081","filename":"file0"},{"photo_id":"1398099089","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099090":["hashtag1","hashtag2"]},{"1398099081":["hashtag1","hashtag2"]},{"1398099083":["hashtag1","hashtag2"]},{"1398099092":["hashtag1","hashtag2"]},{"1398099086":["hashtag1","hashtag2"]},{"1398099089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099090, 1398099081, 1398099083, 1398099092, 1398099086, 1398099089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42681694030762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:47:03.546676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/37/image_05122025_14_38_04_9642.jpg', '/home/pi/Desktop/images/05122025/14/38/image_05122025_14_38_14_9734.jpg', '/home/pi/Desktop/images/05122025/14/38/image_05122025_14_38_25_10613.jpg', '/home/pi/Desktop/images/05122025/14/38/image_05122025_14_38_34_9687.jpg', '/home/pi/Desktop/images/05122025/14/38/image_05122025_14_38_44_9800.jpg', '/home/pi/Desktop/images/05122025/14/38/image_05122025_14_38_54_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/37/image_05122025_14_38_04_9642.jpg
/home/pi/Desktop/images/05122025/14/38/image_05122025_14_38_14_9734.jpg
/home/pi/Desktop/images/05122025/14/38/image_05122025_14_38_25_10613.jpg
/home/pi/Desktop/images/05122025/14/38/image_05122025_14_38_34_9687.jpg
/home/pi/Desktop/images/05122025/14/38/image_05122025_14_38_44_9800.jpg
/home/pi/Desktop/images/05122025/14/38/image_05122025_14_38_54_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099101","1398099104","1398099106","1398099103","1398099096","1398099102"],"photo_ids_order":["1398099096","1398099101","1398099102","1398099103","1398099104","1398099106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/531643ca71dee26391f388f4d4fbb8fc.jpg","text":"TemporaryFile(/tmp/multipartBody5701460946916983710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946084206,"filename":"image_05122025_14_38_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/5/f454f111ecaa07a83fcbe83cf1e2fe5a.jpg","text":"TemporaryFile(/tmp/multipartBody6714745189992266127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946084206,"filename":"image_05122025_14_38_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/5/f74ecbbf6e0631b9e383949068fec9c2.jpg","text":"TemporaryFile(/tmp/multipartBody8420104980753228160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946084206,"filename":"image_05122025_14_38_54_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/29bf268485659f85e9affac4556babfe.jpg","text":"TemporaryFile(/tmp/multipartBody1983503285331269454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946084206,"filename":"image_05122025_14_38_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/5/131b71431d30e0766a62acac84546bf5.jpg","text":"TemporaryFile(/tmp/multipartBody5464454963782465202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946084206,"filename":"image_05122025_14_38_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/5/8ff9a9036bb308ec40819e84c150a93e.jpg","text":"TemporaryFile(/tmp/multipartBody7964796084680181423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946084206,"filename":"image_05122025_14_38_25_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099102","file1":"1398099101","file0":"1398099096","file4":"1398099104","file5":"1398099106","file3":"1398099103"},"map_files_photo_id_array":[{"photo_id":"1398099106","filename":"file5"},{"photo_id":"1398099102","filename":"file2"},{"photo_id":"1398099104","filename":"file4"},{"photo_id":"1398099101","filename":"file1"},{"photo_id":"1398099096","filename":"file0"},{"photo_id":"1398099103","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099101":["hashtag1","hashtag2"]},{"1398099104":["hashtag1","hashtag2"]},{"1398099106":["hashtag1","hashtag2"]},{"1398099103":["hashtag1","hashtag2"]},{"1398099096":["hashtag1","hashtag2"]},{"1398099102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099101, 1398099104, 1398099106, 1398099103, 1398099096, 1398099102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76921224594116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:47:42.793125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_45_3610.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_47_2748.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_50_2612.jpg', '/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_54_3551.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_03_3594.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_05_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_45_3610.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_47_2748.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_50_2612.jpg
/home/pi/Desktop/images/31102025/19/55/image_31102025_19_55_54_3551.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_03_3594.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_05_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":["1398099116","1398099119","1398099118","1398099112","1398099115","1398099117"],"photo_ids_order":["1398099112","1398099115","1398099116","1398099117","1398099118","1398099119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d2471db702e3217753ca97524146102.jpg","text":"TemporaryFile(/tmp/multipartBody2998545736603478250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946124367,"filename":"image_31102025_19_55_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/5/92d785a1de76e185ee8c84bc39b2b55a.jpg","text":"TemporaryFile(/tmp/multipartBody2454861460612657010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946124367,"filename":"image_31102025_19_56_05_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/5/6069ab40933d3d07e2593ebfd831863c.jpg","text":"TemporaryFile(/tmp/multipartBody8729601407435192586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946124367,"filename":"image_31102025_19_56_03_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/5/a88eb1a5526cee371933632fe897bb35.jpg","text":"TemporaryFile(/tmp/multipartBody4717466059482122652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946124367,"filename":"image_31102025_19_55_45_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/5/d9bb674885241e5a6fc734b729490eeb.jpg","text":"TemporaryFile(/tmp/multipartBody4637243191439942053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946124367,"filename":"image_31102025_19_55_47_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/5/4de30f302da04ec91ba76f746568280e.jpg","text":"TemporaryFile(/tmp/multipartBody805081528412733072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946124367,"filename":"image_31102025_19_55_54_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099116","file1":"1398099115","file0":"1398099112","file4":"1398099118","file5":"1398099119","file3":"1398099117"},"map_files_photo_id_array":[{"photo_id":"1398099119","filename":"file5"},{"photo_id":"1398099116","filename":"file2"},{"photo_id":"1398099118","filename":"file4"},{"photo_id":"1398099115","filename":"file1"},{"photo_id":"1398099112","filename":"file0"},{"photo_id":"1398099117","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398099116":["hashtag1","hashtag2"]},{"1398099119":["hashtag1","hashtag2"]},{"1398099118":["hashtag1","hashtag2"]},{"1398099112":["hashtag1","hashtag2"]},{"1398099115":["hashtag1","hashtag2"]},{"1398099117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398099116, 1398099119, 1398099118, 1398099112, 1398099115, 1398099117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92817139625549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:48:22.007385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/38/image_05122025_14_39_05_10596.jpg', '/home/pi/Desktop/images/05122025/14/39/image_05122025_14_39_25_10507.jpg', '/home/pi/Desktop/images/05122025/14/39/image_05122025_14_39_35_9678.jpg', '/home/pi/Desktop/images/05122025/14/39/image_05122025_14_39_44_9733.jpg', '/home/pi/Desktop/images/05122025/14/39/image_05122025_14_40_05_10630.jpg', '/home/pi/Desktop/images/05122025/14/40/image_05122025_14_40_14_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/38/image_05122025_14_39_05_10596.jpg
/home/pi/Desktop/images/05122025/14/39/image_05122025_14_39_25_10507.jpg
/home/pi/Desktop/images/05122025/14/39/image_05122025_14_39_35_9678.jpg
/home/pi/Desktop/images/05122025/14/39/image_05122025_14_39_44_9733.jpg
/home/pi/Desktop/images/05122025/14/39/image_05122025_14_40_05_10630.jpg
/home/pi/Desktop/images/05122025/14/40/image_05122025_14_40_14_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099122","1398099124","1398099120","1398099132","1398099126","1398099128"],"photo_ids_order":["1398099120","1398099122","1398099124","1398099126","1398099128","1398099132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0eb423a9fa3814967c86aa1d9537a789.jpg","text":"TemporaryFile(/tmp/multipartBody248128971989530451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946162578,"filename":"image_05122025_14_39_25_10507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ae49d60ff07bfef82bacad42e4b6defb.jpg","text":"TemporaryFile(/tmp/multipartBody5466970751764746739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946162578,"filename":"image_05122025_14_39_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/5/045dc14a99961cf99118c9b7b3bc56e2.jpg","text":"TemporaryFile(/tmp/multipartBody3384878977624035862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946162578,"filename":"image_05122025_14_39_05_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/5/9c9e07079b8fd232dfbf4fe4b879caa3.jpg","text":"TemporaryFile(/tmp/multipartBody5654914742618490463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946162578,"filename":"image_05122025_14_40_14_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/5/ac82578ba89fb53aad98e0baa6a4aed8.jpg","text":"TemporaryFile(/tmp/multipartBody5764840678883742660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946162578,"filename":"image_05122025_14_39_44_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d8e9d5bf2624c47d8a04333cbad9fc6.jpg","text":"TemporaryFile(/tmp/multipartBody347026888238337723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946162578,"filename":"image_05122025_14_40_05_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099124","file1":"1398099122","file0":"1398099120","file4":"1398099128","file5":"1398099132","file3":"1398099126"},"map_files_photo_id_array":[{"photo_id":"1398099132","filename":"file5"},{"photo_id":"1398099124","filename":"file2"},{"photo_id":"1398099128","filename":"file4"},{"photo_id":"1398099122","filename":"file1"},{"photo_id":"1398099120","filename":"file0"},{"photo_id":"1398099126","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099122":["hashtag1","hashtag2"]},{"1398099124":["hashtag1","hashtag2"]},{"1398099120":["hashtag1","hashtag2"]},{"1398099132":["hashtag1","hashtag2"]},{"1398099126":["hashtag1","hashtag2"]},{"1398099128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099122, 1398099124, 1398099120, 1398099132, 1398099126, 1398099128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.572551012039185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:49:03.117177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/40/image_05122025_14_40_54_9644.jpg', '/home/pi/Desktop/images/05122025/14/40/image_05122025_14_41_04_9585.jpg', '/home/pi/Desktop/images/05122025/14/41/image_05122025_14_41_15_10797.jpg', '/home/pi/Desktop/images/05122025/14/41/image_05122025_14_41_24_9570.jpg', '/home/pi/Desktop/images/05122025/14/41/image_05122025_14_41_54_9792.jpg', '/home/pi/Desktop/images/05122025/14/41/image_05122025_14_42_04_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/40/image_05122025_14_40_54_9644.jpg
/home/pi/Desktop/images/05122025/14/40/image_05122025_14_41_04_9585.jpg
/home/pi/Desktop/images/05122025/14/41/image_05122025_14_41_15_10797.jpg
/home/pi/Desktop/images/05122025/14/41/image_05122025_14_41_24_9570.jpg
/home/pi/Desktop/images/05122025/14/41/image_05122025_14_41_54_9792.jpg
/home/pi/Desktop/images/05122025/14/41/image_05122025_14_42_04_9849.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":["1398099143","1398099137","1398099142","1398099145","1398099147","1398099140"],"photo_ids_order":["1398099137","1398099140","1398099142","1398099143","1398099145","1398099147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d6ec9375d90d729bad8f70d992218162.jpg","text":"TemporaryFile(/tmp/multipartBody5579860117282513422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946203888,"filename":"image_05122025_14_41_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/5/004bd7c6fe8f00c3da16ad295145b73c.jpg","text":"TemporaryFile(/tmp/multipartBody3983017331683716115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946203888,"filename":"image_05122025_14_40_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/5/a6773bd6a7fbed5794fef876a4c75f34.jpg","text":"TemporaryFile(/tmp/multipartBody2792789474971698394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946203888,"filename":"image_05122025_14_41_15_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/5/1e2f24ff180558013a1ad3f629652dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3178523598735806456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946203888,"filename":"image_05122025_14_41_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/5/617f9ba1189b95e2dd4add413a0d6e9b.jpg","text":"TemporaryFile(/tmp/multipartBody482284025764445064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946203888,"filename":"image_05122025_14_42_04_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/132f95e38adc1090f11fa9a026074738.jpg","text":"TemporaryFile(/tmp/multipartBody8308838998014257593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946203888,"filename":"image_05122025_14_41_04_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099142","file1":"1398099140","file0":"1398099137","file4":"1398099145","file5":"1398099147","file3":"1398099143"},"map_files_photo_id_array":[{"photo_id":"1398099147","filename":"file5"},{"photo_id":"1398099142","filename":"file2"},{"photo_id":"1398099145","filename":"file4"},{"photo_id":"1398099140","filename":"file1"},{"photo_id":"1398099137","filename":"file0"},{"photo_id":"1398099143","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099143":["hashtag1","hashtag2"]},{"1398099137":["hashtag1","hashtag2"]},{"1398099142":["hashtag1","hashtag2"]},{"1398099145":["hashtag1","hashtag2"]},{"1398099147":["hashtag1","hashtag2"]},{"1398099140":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099143, 1398099137, 1398099142, 1398099145, 1398099147, 1398099140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30582022666931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:50:02.723107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/42/image_05122025_14_42_14_9769.jpg', '/home/pi/Desktop/images/05122025/14/42/image_05122025_14_42_25_10562.jpg', '/home/pi/Desktop/images/05122025/14/42/image_05122025_14_42_34_9565.jpg', '/home/pi/Desktop/images/05122025/14/42/image_05122025_14_42_45_10565.jpg', '/home/pi/Desktop/images/05122025/14/42/image_05122025_14_42_54_9519.jpg', '/home/pi/Desktop/images/05122025/14/42/image_05122025_14_43_04_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/42/image_05122025_14_42_14_9769.jpg
/home/pi/Desktop/images/05122025/14/42/image_05122025_14_42_25_10562.jpg
/home/pi/Desktop/images/05122025/14/42/image_05122025_14_42_34_9565.jpg
/home/pi/Desktop/images/05122025/14/42/image_05122025_14_42_45_10565.jpg
/home/pi/Desktop/images/05122025/14/42/image_05122025_14_42_54_9519.jpg
/home/pi/Desktop/images/05122025/14/42/image_05122025_14_43_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":["1398099160","1398099154","1398099157","1398099156","1398099158","1398099155"],"photo_ids_order":["1398099154","1398099155","1398099156","1398099157","1398099158","1398099160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1affa6411217be216b2b05040c39d0b2.jpg","text":"TemporaryFile(/tmp/multipartBody2875427170343510857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946263386,"filename":"image_05122025_14_43_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/5/b5301f1a3481c3aae59a13ae940e626e.jpg","text":"TemporaryFile(/tmp/multipartBody79303052010102729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946263386,"filename":"image_05122025_14_42_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/5/2633c1f4ca632406ae1b3499d4005e44.jpg","text":"TemporaryFile(/tmp/multipartBody8793852913970689258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946263386,"filename":"image_05122025_14_42_45_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/5/95d930e6076aef831fc20206a61b0fce.jpg","text":"TemporaryFile(/tmp/multipartBody1489508648440322500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946263386,"filename":"image_05122025_14_42_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/5/a2f8bc25d90a66379487d427a6d2a55f.jpg","text":"TemporaryFile(/tmp/multipartBody7551519822933036125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946263386,"filename":"image_05122025_14_42_54_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/5/c95c7ce2b893523f5d122a4c5a61b937.jpg","text":"TemporaryFile(/tmp/multipartBody8938304036255286228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946263386,"filename":"image_05122025_14_42_25_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099156","file1":"1398099155","file0":"1398099154","file4":"1398099158","file5":"1398099160","file3":"1398099157"},"map_files_photo_id_array":[{"photo_id":"1398099160","filename":"file5"},{"photo_id":"1398099156","filename":"file2"},{"photo_id":"1398099158","filename":"file4"},{"photo_id":"1398099155","filename":"file1"},{"photo_id":"1398099154","filename":"file0"},{"photo_id":"1398099157","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099160":["hashtag1","hashtag2"]},{"1398099154":["hashtag1","hashtag2"]},{"1398099157":["hashtag1","hashtag2"]},{"1398099156":["hashtag1","hashtag2"]},{"1398099158":["hashtag1","hashtag2"]},{"1398099155":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099160, 1398099154, 1398099157, 1398099156, 1398099158, 1398099155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42368674278259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:50:42.301409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_09_3501.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_18_3566.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_20_2636.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_24_3637.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_26_2692.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_38_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_09_3501.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_18_3566.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_20_2636.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_24_3637.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_26_2692.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_38_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398099172","1398099169","1398099166","1398099171","1398099168","1398099170"],"photo_ids_order":["1398099166","1398099168","1398099169","1398099170","1398099171","1398099172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/edadee256bfea36fbd7816b53d0911ba.jpg","text":"TemporaryFile(/tmp/multipartBody4206409883563693542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946303838,"filename":"image_31102025_19_56_38_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/5/79b15b8c9f9ecc2dac2e222fbadcfb8e.jpg","text":"TemporaryFile(/tmp/multipartBody692929496938047408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946303838,"filename":"image_31102025_19_56_20_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/5/9a95dbe8650278a50d939bef56bb4881.jpg","text":"TemporaryFile(/tmp/multipartBody412115726590623997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946303838,"filename":"image_31102025_19_56_09_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/53ec6c998b565e224531eb75c07d933c.jpg","text":"TemporaryFile(/tmp/multipartBody7299532063673773150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946303838,"filename":"image_31102025_19_56_26_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/5/1b6cef5556b15fdb38425d6dc9f16932.jpg","text":"TemporaryFile(/tmp/multipartBody50167100516145567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946303838,"filename":"image_31102025_19_56_18_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ad4b6e0e410fc422947b805245232cb.jpg","text":"TemporaryFile(/tmp/multipartBody2315258197814221527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946303838,"filename":"image_31102025_19_56_24_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099169","file1":"1398099168","file0":"1398099166","file4":"1398099171","file5":"1398099172","file3":"1398099170"},"map_files_photo_id_array":[{"photo_id":"1398099172","filename":"file5"},{"photo_id":"1398099169","filename":"file2"},{"photo_id":"1398099171","filename":"file4"},{"photo_id":"1398099168","filename":"file1"},{"photo_id":"1398099166","filename":"file0"},{"photo_id":"1398099170","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398099172":["hashtag1","hashtag2"]},{"1398099169":["hashtag1","hashtag2"]},{"1398099166":["hashtag1","hashtag2"]},{"1398099171":["hashtag1","hashtag2"]},{"1398099168":["hashtag1","hashtag2"]},{"1398099170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398099172, 1398099169, 1398099166, 1398099171, 1398099168, 1398099170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08570957183838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:51:32.493397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/13/image_02122025_21_14_05_9649.jpg', '/home/pi/Desktop/images/02122025/21/14/image_02122025_21_14_26_10650.jpg', '/home/pi/Desktop/images/02122025/21/14/image_02122025_21_14_35_9607.jpg', '/home/pi/Desktop/images/02122025/21/14/image_02122025_21_14_56_10636.jpg', '/home/pi/Desktop/images/02122025/21/14/image_02122025_21_15_06_9771.jpg', '/home/pi/Desktop/images/02122025/21/15/image_02122025_21_15_45_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/13/image_02122025_21_14_05_9649.jpg
/home/pi/Desktop/images/02122025/21/14/image_02122025_21_14_26_10650.jpg
/home/pi/Desktop/images/02122025/21/14/image_02122025_21_14_35_9607.jpg
/home/pi/Desktop/images/02122025/21/14/image_02122025_21_14_56_10636.jpg
/home/pi/Desktop/images/02122025/21/14/image_02122025_21_15_06_9771.jpg
/home/pi/Desktop/images/02122025/21/15/image_02122025_21_15_45_9557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099181","1398099184","1398099183","1398099177","1398099185","1398099179"],"photo_ids_order":["1398099177","1398099179","1398099181","1398099183","1398099184","1398099185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f7c6866ca3b0d59734c375060a13cda.jpg","text":"TemporaryFile(/tmp/multipartBody4933199963500622358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946354639,"filename":"image_02122025_21_14_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/05b2465bebbc8c2e8dcc027ab1eb289e.jpg","text":"TemporaryFile(/tmp/multipartBody2908050749954079842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946354639,"filename":"image_02122025_21_15_06_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/5/9ad261a8aca605990562d87a56850632.jpg","text":"TemporaryFile(/tmp/multipartBody8866983963460381784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946354639,"filename":"image_02122025_21_14_56_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/5/da0e6b9029276c222baca6a830eaf946.jpg","text":"TemporaryFile(/tmp/multipartBody551972506368485161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946354639,"filename":"image_02122025_21_14_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/5/8a8d862c37ac36a5a525c67a81a9b317.jpg","text":"TemporaryFile(/tmp/multipartBody9158322239819623992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946354639,"filename":"image_02122025_21_15_45_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9940c7b382434831fb0c0595e7c515f.jpg","text":"TemporaryFile(/tmp/multipartBody4713238088857035618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946354639,"filename":"image_02122025_21_14_26_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099181","file1":"1398099179","file0":"1398099177","file4":"1398099184","file5":"1398099185","file3":"1398099183"},"map_files_photo_id_array":[{"photo_id":"1398099185","filename":"file5"},{"photo_id":"1398099181","filename":"file2"},{"photo_id":"1398099184","filename":"file4"},{"photo_id":"1398099179","filename":"file1"},{"photo_id":"1398099177","filename":"file0"},{"photo_id":"1398099183","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398099181":["hashtag1","hashtag2"]},{"1398099184":["hashtag1","hashtag2"]},{"1398099183":["hashtag1","hashtag2"]},{"1398099177":["hashtag1","hashtag2"]},{"1398099185":["hashtag1","hashtag2"]},{"1398099179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398099181, 1398099184, 1398099183, 1398099177, 1398099185, 1398099179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.791714906692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 15:52:12.571183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/18/image_02122025_21_18_55_9632.jpg', '/home/pi/Desktop/images/02122025/21/19/image_02122025_21_19_15_9800.jpg', '/home/pi/Desktop/images/02122025/21/19/image_02122025_21_19_26_10595.jpg', '/home/pi/Desktop/images/02122025/21/19/image_02122025_21_19_45_9585.jpg', '/home/pi/Desktop/images/02122025/21/19/image_02122025_21_20_06_9697.jpg', '/home/pi/Desktop/images/02122025/21/20/image_02122025_21_20_36_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/18/image_02122025_21_18_55_9632.jpg
/home/pi/Desktop/images/02122025/21/19/image_02122025_21_19_15_9800.jpg
/home/pi/Desktop/images/02122025/21/19/image_02122025_21_19_26_10595.jpg
/home/pi/Desktop/images/02122025/21/19/image_02122025_21_19_45_9585.jpg
/home/pi/Desktop/images/02122025/21/19/image_02122025_21_20_06_9697.jpg
/home/pi/Desktop/images/02122025/21/20/image_02122025_21_20_36_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":["1398099190","1398099187","1398099192","1398099186","1398099194","1398099188"],"photo_ids_order":["1398099186","1398099187","1398099188","1398099190","1398099192","1398099194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f4c36a830014439391ca259b65550aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8760465682317414134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946394573,"filename":"image_02122025_21_19_45_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/5/919443587bf0317ec0a66117d8e31d10.jpg","text":"TemporaryFile(/tmp/multipartBody7826970463477210637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946394573,"filename":"image_02122025_21_19_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/5/59d9a5cf6b2e73d50d75ed46df055a63.jpg","text":"TemporaryFile(/tmp/multipartBody382804500833007531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946394573,"filename":"image_02122025_21_20_06_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/5/33b86b2ae4eb36ca3a9fc64498715121.jpg","text":"TemporaryFile(/tmp/multipartBody8354785377801316572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946394573,"filename":"image_02122025_21_18_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0608166ba0a498a4dd0b32c946f9060f.jpg","text":"TemporaryFile(/tmp/multipartBody4088871332269242967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946394573,"filename":"image_02122025_21_20_36_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/5/477978ee578ef070120efd50f786f1f1.jpg","text":"TemporaryFile(/tmp/multipartBody8117618712039048902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946394573,"filename":"image_02122025_21_19_26_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099188","file1":"1398099187","file0":"1398099186","file4":"1398099192","file5":"1398099194","file3":"1398099190"},"map_files_photo_id_array":[{"photo_id":"1398099194","filename":"file5"},{"photo_id":"1398099188","filename":"file2"},{"photo_id":"1398099192","filename":"file4"},{"photo_id":"1398099187","filename":"file1"},{"photo_id":"1398099186","filename":"file0"},{"photo_id":"1398099190","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398099190":["hashtag1","hashtag2"]},{"1398099187":["hashtag1","hashtag2"]},{"1398099192":["hashtag1","hashtag2"]},{"1398099186":["hashtag1","hashtag2"]},{"1398099194":["hashtag1","hashtag2"]},{"1398099188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398099190, 1398099187, 1398099192, 1398099186, 1398099194, 1398099188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10721731185913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:53:02.894097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/43/image_05122025_14_43_15_10673.jpg', '/home/pi/Desktop/images/05122025/14/43/image_05122025_14_43_24_9586.jpg', '/home/pi/Desktop/images/05122025/14/43/image_05122025_14_43_35_10514.jpg', '/home/pi/Desktop/images/05122025/14/44/image_05122025_14_44_14_9729.jpg', '/home/pi/Desktop/images/05122025/14/44/image_05122025_14_44_34_9666.jpg', '/home/pi/Desktop/images/05122025/14/44/image_05122025_14_44_44_9968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/43/image_05122025_14_43_15_10673.jpg
/home/pi/Desktop/images/05122025/14/43/image_05122025_14_43_24_9586.jpg
/home/pi/Desktop/images/05122025/14/43/image_05122025_14_43_35_10514.jpg
/home/pi/Desktop/images/05122025/14/44/image_05122025_14_44_14_9729.jpg
/home/pi/Desktop/images/05122025/14/44/image_05122025_14_44_34_9666.jpg
/home/pi/Desktop/images/05122025/14/44/image_05122025_14_44_44_9968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099203","1398099206","1398099205","1398099208","1398099210","1398099207"],"photo_ids_order":["1398099203","1398099205","1398099206","1398099207","1398099208","1398099210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c8b8b859abb768e0e18ea96d945ed114.jpg","text":"TemporaryFile(/tmp/multipartBody1097213667416663782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946443521,"filename":"image_05122025_14_43_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/5/3490dd81a18d6f6994f7987a56760498.jpg","text":"TemporaryFile(/tmp/multipartBody7057025102170532571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946443521,"filename":"image_05122025_14_43_35_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/5/2de8dd1109a9d5677545e6923627c4f0.jpg","text":"TemporaryFile(/tmp/multipartBody4732991108120014618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946443521,"filename":"image_05122025_14_43_24_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/5/5545b225ab97d509929c143f0ccc5f04.jpg","text":"TemporaryFile(/tmp/multipartBody8988047399043762522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946443521,"filename":"image_05122025_14_44_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/5/ee439ad60bbfea7a0b39227aa8bac02e.jpg","text":"TemporaryFile(/tmp/multipartBody6038870784439266866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946443521,"filename":"image_05122025_14_44_44_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/5/28ed59c573b1771248e21185dad0e27f.jpg","text":"TemporaryFile(/tmp/multipartBody4170139658704860609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946443521,"filename":"image_05122025_14_44_14_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099206","file1":"1398099205","file0":"1398099203","file4":"1398099208","file5":"1398099210","file3":"1398099207"},"map_files_photo_id_array":[{"photo_id":"1398099210","filename":"file5"},{"photo_id":"1398099206","filename":"file2"},{"photo_id":"1398099208","filename":"file4"},{"photo_id":"1398099205","filename":"file1"},{"photo_id":"1398099203","filename":"file0"},{"photo_id":"1398099207","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099203":["hashtag1","hashtag2"]},{"1398099206":["hashtag1","hashtag2"]},{"1398099205":["hashtag1","hashtag2"]},{"1398099208":["hashtag1","hashtag2"]},{"1398099210":["hashtag1","hashtag2"]},{"1398099207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099203, 1398099206, 1398099205, 1398099208, 1398099210, 1398099207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.526535511016846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:53:42.608027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_41_2572.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_47_2589.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_50_3018.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_53_2613.jpg', '/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_59_2736.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_02_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_41_2572.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_47_2589.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_50_3018.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_53_2613.jpg
/home/pi/Desktop/images/31102025/19/56/image_31102025_19_56_59_2736.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_02_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":["1398099221","1398099223","1398099220","1398099222","1398099216","1398099219"],"photo_ids_order":["1398099216","1398099219","1398099220","1398099221","1398099222","1398099223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4226f33c1ca9d665fdc74793eb63d3c6.jpg","text":"TemporaryFile(/tmp/multipartBody7230731445883703439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946484186,"filename":"image_31102025_19_56_53_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/5/c4c7e5c6e668a83ddf76c6d3745558c3.jpg","text":"TemporaryFile(/tmp/multipartBody3719395997354132164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946484186,"filename":"image_31102025_19_57_02_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c874e530649e95522bf06b63f329f3dc.jpg","text":"TemporaryFile(/tmp/multipartBody7509607788370802409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946484186,"filename":"image_31102025_19_56_50_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/5/f7f3974825711ce6eaf1de92a0af112b.jpg","text":"TemporaryFile(/tmp/multipartBody6981237609930333831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946484186,"filename":"image_31102025_19_56_59_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/5/0e4fc95e5814f513e8bdd85ab43c00e0.jpg","text":"TemporaryFile(/tmp/multipartBody3308798246212612376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946484186,"filename":"image_31102025_19_56_41_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/5/eed7740d485a7e9f2c47cfed7c83a31d.jpg","text":"TemporaryFile(/tmp/multipartBody525715374229068085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946484186,"filename":"image_31102025_19_56_47_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099220","file1":"1398099219","file0":"1398099216","file4":"1398099222","file5":"1398099223","file3":"1398099221"},"map_files_photo_id_array":[{"photo_id":"1398099223","filename":"file5"},{"photo_id":"1398099220","filename":"file2"},{"photo_id":"1398099222","filename":"file4"},{"photo_id":"1398099219","filename":"file1"},{"photo_id":"1398099216","filename":"file0"},{"photo_id":"1398099221","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398099221":["hashtag1","hashtag2"]},{"1398099223":["hashtag1","hashtag2"]},{"1398099220":["hashtag1","hashtag2"]},{"1398099222":["hashtag1","hashtag2"]},{"1398099216":["hashtag1","hashtag2"]},{"1398099219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398099221, 1398099223, 1398099220, 1398099222, 1398099216, 1398099219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23463845252991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 15:54:22.773203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/44/image_05122025_14_44_54_9656.jpg', '/home/pi/Desktop/images/05122025/14/44/image_05122025_14_45_04_9752.jpg', '/home/pi/Desktop/images/05122025/14/45/image_05122025_14_45_15_10778.jpg', '/home/pi/Desktop/images/05122025/14/45/image_05122025_14_45_24_9682.jpg', '/home/pi/Desktop/images/05122025/14/45/image_05122025_14_45_34_9684.jpg', '/home/pi/Desktop/images/05122025/14/45/image_05122025_14_45_45_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/44/image_05122025_14_44_54_9656.jpg
/home/pi/Desktop/images/05122025/14/44/image_05122025_14_45_04_9752.jpg
/home/pi/Desktop/images/05122025/14/45/image_05122025_14_45_15_10778.jpg
/home/pi/Desktop/images/05122025/14/45/image_05122025_14_45_24_9682.jpg
/home/pi/Desktop/images/05122025/14/45/image_05122025_14_45_34_9684.jpg
/home/pi/Desktop/images/05122025/14/45/image_05122025_14_45_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":["1398099236","1398099229","1398099231","1398099225","1398099233","1398099227"],"photo_ids_order":["1398099225","1398099227","1398099229","1398099231","1398099233","1398099236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e05bd89e69065f8a075f7ba3c66cd568.jpg","text":"TemporaryFile(/tmp/multipartBody3171904353217639093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946523355,"filename":"image_05122025_14_45_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/5/bc645056b1ed97af06f6717ef4d7bfbb.jpg","text":"TemporaryFile(/tmp/multipartBody7239579180381433489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946523355,"filename":"image_05122025_14_45_15_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ee1a4b0550fb240292064eaefc31da2.jpg","text":"TemporaryFile(/tmp/multipartBody9204349683558496461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946523355,"filename":"image_05122025_14_45_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a1ce7b1404185e6fde81acd56df1715a.jpg","text":"TemporaryFile(/tmp/multipartBody3387494521176150500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946523355,"filename":"image_05122025_14_44_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/5/2604c497199b2ac8f7516f642a2ba8ca.jpg","text":"TemporaryFile(/tmp/multipartBody4767450812895149835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946523355,"filename":"image_05122025_14_45_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/5/a6a390ac36de16748d453fa34613d49f.jpg","text":"TemporaryFile(/tmp/multipartBody7982160932467325472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946523355,"filename":"image_05122025_14_45_04_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099229","file1":"1398099227","file0":"1398099225","file4":"1398099233","file5":"1398099236","file3":"1398099231"},"map_files_photo_id_array":[{"photo_id":"1398099236","filename":"file5"},{"photo_id":"1398099229","filename":"file2"},{"photo_id":"1398099233","filename":"file4"},{"photo_id":"1398099227","filename":"file1"},{"photo_id":"1398099225","filename":"file0"},{"photo_id":"1398099231","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099236":["hashtag1","hashtag2"]},{"1398099229":["hashtag1","hashtag2"]},{"1398099231":["hashtag1","hashtag2"]},{"1398099225":["hashtag1","hashtag2"]},{"1398099233":["hashtag1","hashtag2"]},{"1398099227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099236, 1398099229, 1398099231, 1398099225, 1398099233, 1398099227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60526132583618 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-05 15:55:12.966275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/21/image_02122025_21_21_35_9690.jpg', '/home/pi/Desktop/images/02122025/21/21/image_02122025_21_21_45_10245.jpg', '/home/pi/Desktop/images/02122025/21/21/image_02122025_21_21_56_10709.jpg', '/home/pi/Desktop/images/02122025/21/21/image_02122025_21_22_06_9776.jpg', '/home/pi/Desktop/images/02122025/21/22/image_02122025_21_22_25_9635.jpg', '/home/pi/Desktop/images/02122025/21/24/image_02122025_21_24_15_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/21/image_02122025_21_21_35_9690.jpg
/home/pi/Desktop/images/02122025/21/21/image_02122025_21_21_45_10245.jpg
/home/pi/Desktop/images/02122025/21/21/image_02122025_21_21_56_10709.jpg
/home/pi/Desktop/images/02122025/21/21/image_02122025_21_22_06_9776.jpg
/home/pi/Desktop/images/02122025/21/22/image_02122025_21_22_25_9635.jpg
/home/pi/Desktop/images/02122025/21/24/image_02122025_21_24_15_9933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099241","1398099250","1398099244","1398099247","1398099252","1398099239"],"photo_ids_order":["1398099239","1398099241","1398099244","1398099247","1398099250","1398099252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1f42fb8e099d405de8de2aa547f36da.jpg","text":"TemporaryFile(/tmp/multipartBody4729911112701452219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946574955,"filename":"image_02122025_21_21_45_10245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fbaa98c8633289f4572b070ffe7bd19d.jpg","text":"TemporaryFile(/tmp/multipartBody935021073374236452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946574955,"filename":"image_02122025_21_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/5/c6938e4a4946bf15a661be4f97a3bc79.jpg","text":"TemporaryFile(/tmp/multipartBody5282351425249454903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946574955,"filename":"image_02122025_21_21_56_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/5/93c474546c68378a8e32289e665d5f08.jpg","text":"TemporaryFile(/tmp/multipartBody125054247218791874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946574955,"filename":"image_02122025_21_22_06_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/5/3e3b8ec41471df0aec08c1aa81c5339a.jpg","text":"TemporaryFile(/tmp/multipartBody8115972578619434172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946574955,"filename":"image_02122025_21_24_15_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7e4e2a5a492889ed211f317e479ea9a3.jpg","text":"TemporaryFile(/tmp/multipartBody8116812321899795503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946574955,"filename":"image_02122025_21_21_35_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099244","file1":"1398099241","file0":"1398099239","file4":"1398099250","file5":"1398099252","file3":"1398099247"},"map_files_photo_id_array":[{"photo_id":"1398099252","filename":"file5"},{"photo_id":"1398099244","filename":"file2"},{"photo_id":"1398099250","filename":"file4"},{"photo_id":"1398099241","filename":"file1"},{"photo_id":"1398099239","filename":"file0"},{"photo_id":"1398099247","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398099241":["hashtag1","hashtag2"]},{"1398099250":["hashtag1","hashtag2"]},{"1398099244":["hashtag1","hashtag2"]},{"1398099247":["hashtag1","hashtag2"]},{"1398099252":["hashtag1","hashtag2"]},{"1398099239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398099241, 1398099250, 1398099244, 1398099247, 1398099252, 1398099239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.564411878585815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:56:03.828890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 15:56:12.337472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/24/image_02122025_21_24_26_10540.jpg', '/home/pi/Desktop/images/02122025/21/24/image_02122025_21_24_35_9701.jpg', '/home/pi/Desktop/images/02122025/21/24/image_02122025_21_24_56_10892.jpg', '/home/pi/Desktop/images/02122025/21/25/image_02122025_21_25_26_10618.jpg', '/home/pi/Desktop/images/02122025/21/26/image_02122025_21_26_26_10647.jpg', '/home/pi/Desktop/images/02122025/21/26/image_02122025_21_27_06_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/24/image_02122025_21_24_26_10540.jpg
/home/pi/Desktop/images/02122025/21/24/image_02122025_21_24_35_9701.jpg
/home/pi/Desktop/images/02122025/21/24/image_02122025_21_24_56_10892.jpg
/home/pi/Desktop/images/02122025/21/25/image_02122025_21_25_26_10618.jpg
/home/pi/Desktop/images/02122025/21/26/image_02122025_21_26_26_10647.jpg
/home/pi/Desktop/images/02122025/21/26/image_02122025_21_27_06_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099262","1398099264","1398099258","1398099257","1398099266","1398099260"],"photo_ids_order":["1398099257","1398099258","1398099260","1398099262","1398099264","1398099266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ea920206559cac84f1ab68a3a788ddcb.jpg","text":"TemporaryFile(/tmp/multipartBody8063106083453198293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946634821,"filename":"image_02122025_21_25_26_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/5/22bf432526accb51cd118658d8e57ee0.jpg","text":"TemporaryFile(/tmp/multipartBody3975077481673992122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946634821,"filename":"image_02122025_21_26_26_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c24aa257b3c641467177141572a4a27.jpg","text":"TemporaryFile(/tmp/multipartBody8521245002628228448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946634821,"filename":"image_02122025_21_24_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d6eef4efe7ed9fa3ecd6dbf44f9b943f.jpg","text":"TemporaryFile(/tmp/multipartBody6163191130984324493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946634821,"filename":"image_02122025_21_24_26_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf58e5b93203fb23ca044db6eafcccae.jpg","text":"TemporaryFile(/tmp/multipartBody3639111084555275023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946634821,"filename":"image_02122025_21_27_06_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/5/d6b99f7a0b0f274ae9a32dfe2b4e700c.jpg","text":"TemporaryFile(/tmp/multipartBody5327642625190628793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946634821,"filename":"image_02122025_21_24_56_10892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099260","file1":"1398099258","file0":"1398099257","file4":"1398099264","file5":"1398099266","file3":"1398099262"},"map_files_photo_id_array":[{"photo_id":"1398099266","filename":"file5"},{"photo_id":"1398099260","filename":"file2"},{"photo_id":"1398099264","filename":"file4"},{"photo_id":"1398099258","filename":"file1"},{"photo_id":"1398099257","filename":"file0"},{"photo_id":"1398099262","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398099262":["hashtag1","hashtag2"]},{"1398099264":["hashtag1","hashtag2"]},{"1398099258":["hashtag1","hashtag2"]},{"1398099257":["hashtag1","hashtag2"]},{"1398099266":["hashtag1","hashtag2"]},{"1398099260":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398099262, 1398099264, 1398099258, 1398099257, 1398099266, 1398099260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37794613838196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:57:02.870765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/45/image_05122025_14_45_54_9647.jpg', '/home/pi/Desktop/images/05122025/14/46/image_05122025_14_46_15_10624.jpg', '/home/pi/Desktop/images/05122025/14/46/image_05122025_14_46_24_9794.jpg', '/home/pi/Desktop/images/05122025/14/46/image_05122025_14_46_45_10652.jpg', '/home/pi/Desktop/images/05122025/14/46/image_05122025_14_47_04_9638.jpg', '/home/pi/Desktop/images/05122025/14/47/image_05122025_14_47_15_10935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/45/image_05122025_14_45_54_9647.jpg
/home/pi/Desktop/images/05122025/14/46/image_05122025_14_46_15_10624.jpg
/home/pi/Desktop/images/05122025/14/46/image_05122025_14_46_24_9794.jpg
/home/pi/Desktop/images/05122025/14/46/image_05122025_14_46_45_10652.jpg
/home/pi/Desktop/images/05122025/14/46/image_05122025_14_47_04_9638.jpg
/home/pi/Desktop/images/05122025/14/47/image_05122025_14_47_15_10935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099271","1398099274","1398099270","1398099273","1398099276","1398099272"],"photo_ids_order":["1398099270","1398099271","1398099272","1398099273","1398099274","1398099276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/18642476c1f8920e6bc2ceb088854442.jpg","text":"TemporaryFile(/tmp/multipartBody8581965064463971988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946683489,"filename":"image_05122025_14_46_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/5/5059bdd5fd10d9a5289d3a8b5ee9b9de.jpg","text":"TemporaryFile(/tmp/multipartBody2282000813160413582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946683489,"filename":"image_05122025_14_47_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/5/f392a745b42b0822e6465d50499e172c.jpg","text":"TemporaryFile(/tmp/multipartBody6128338357903327643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946683489,"filename":"image_05122025_14_45_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/de68f805415dff4608fe6b2ab036dd5f.jpg","text":"TemporaryFile(/tmp/multipartBody4442049032397800654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946683489,"filename":"image_05122025_14_46_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/5/3db04fda2229677ce185cbc6b58d8dc3.jpg","text":"TemporaryFile(/tmp/multipartBody8227803192186597867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946683489,"filename":"image_05122025_14_47_15_10935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a18d5a5f1d152e0aa6d7aaff7383b246.jpg","text":"TemporaryFile(/tmp/multipartBody4643604285071229438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946683489,"filename":"image_05122025_14_46_24_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099272","file1":"1398099271","file0":"1398099270","file4":"1398099274","file5":"1398099276","file3":"1398099273"},"map_files_photo_id_array":[{"photo_id":"1398099276","filename":"file5"},{"photo_id":"1398099272","filename":"file2"},{"photo_id":"1398099274","filename":"file4"},{"photo_id":"1398099271","filename":"file1"},{"photo_id":"1398099270","filename":"file0"},{"photo_id":"1398099273","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099271":["hashtag1","hashtag2"]},{"1398099274":["hashtag1","hashtag2"]},{"1398099270":["hashtag1","hashtag2"]},{"1398099273":["hashtag1","hashtag2"]},{"1398099276":["hashtag1","hashtag2"]},{"1398099272":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099271, 1398099274, 1398099270, 1398099273, 1398099276, 1398099272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53804850578308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:57:42.230557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_06_3639.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_08_2698.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_14_2660.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_18_3743.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_20_2636.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_23_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_06_3639.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_08_2698.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_14_2660.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_18_3743.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_20_2636.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_23_2770.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099286","1398099289","1398099282","1398099285","1398099288","1398099287"],"photo_ids_order":["1398099282","1398099285","1398099286","1398099287","1398099288","1398099289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce92e3a3d18e1940e51fbd30f5b36782.jpg","text":"TemporaryFile(/tmp/multipartBody3611560356128551911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946723698,"filename":"image_31102025_19_57_14_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/5/995e9aa8f0eb035c35f84930ba10f83b.jpg","text":"TemporaryFile(/tmp/multipartBody2407843355828453221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946723698,"filename":"image_31102025_19_57_23_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/5/7993de55c5e0660baf03ce4c22537079.jpg","text":"TemporaryFile(/tmp/multipartBody8638798899667387490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946723698,"filename":"image_31102025_19_57_06_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/269b86d6b9b0b83c064f59ea3d1de3d1.jpg","text":"TemporaryFile(/tmp/multipartBody4335391088212383406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946723698,"filename":"image_31102025_19_57_08_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/5/c646a10e6ec86e4d81182592e1923522.jpg","text":"TemporaryFile(/tmp/multipartBody616802416056504151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946723698,"filename":"image_31102025_19_57_20_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/5/f452d04eabd2ba9a006e01319e84f465.jpg","text":"TemporaryFile(/tmp/multipartBody2577526838824250604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946723698,"filename":"image_31102025_19_57_18_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099286","file1":"1398099285","file0":"1398099282","file4":"1398099288","file5":"1398099289","file3":"1398099287"},"map_files_photo_id_array":[{"photo_id":"1398099289","filename":"file5"},{"photo_id":"1398099286","filename":"file2"},{"photo_id":"1398099288","filename":"file4"},{"photo_id":"1398099285","filename":"file1"},{"photo_id":"1398099282","filename":"file0"},{"photo_id":"1398099287","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398099286":["hashtag1","hashtag2"]},{"1398099289":["hashtag1","hashtag2"]},{"1398099282":["hashtag1","hashtag2"]},{"1398099285":["hashtag1","hashtag2"]},{"1398099288":["hashtag1","hashtag2"]},{"1398099287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398099286, 1398099289, 1398099282, 1398099285, 1398099288, 1398099287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77957344055176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 15:59:02.929789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/47/image_05122025_14_47_25_9756.jpg', '/home/pi/Desktop/images/05122025/14/47/image_05122025_14_47_35_10039.jpg', '/home/pi/Desktop/images/05122025/14/47/image_05122025_14_47_44_9813.jpg', '/home/pi/Desktop/images/05122025/14/48/image_05122025_14_48_05_20557.jpg', '/home/pi/Desktop/images/05122025/14/48/image_05122025_14_48_14_7634.jpg', '/home/pi/Desktop/images/05122025/14/48/image_05122025_14_48_45_10009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/47/image_05122025_14_47_25_9756.jpg
/home/pi/Desktop/images/05122025/14/47/image_05122025_14_47_35_10039.jpg
/home/pi/Desktop/images/05122025/14/47/image_05122025_14_47_44_9813.jpg
/home/pi/Desktop/images/05122025/14/48/image_05122025_14_48_05_20557.jpg
/home/pi/Desktop/images/05122025/14/48/image_05122025_14_48_14_7634.jpg
/home/pi/Desktop/images/05122025/14/48/image_05122025_14_48_45_10009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099292","1398099295","1398099297","1398099301","1398099303","1398099299"],"photo_ids_order":["1398099292","1398099295","1398099297","1398099299","1398099301","1398099303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84ac6b25bdd86147e823e501fb68aaeb.jpg","text":"TemporaryFile(/tmp/multipartBody1506585065548146734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946803580,"filename":"image_05122025_14_47_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/5/61ef80b66084c79027ac4555e8fb0361.jpg","text":"TemporaryFile(/tmp/multipartBody9069109249174404047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946803580,"filename":"image_05122025_14_47_35_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7323cdf558ef13235ed6a79d2e881be2.jpg","text":"TemporaryFile(/tmp/multipartBody5145654739980236313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946803580,"filename":"image_05122025_14_47_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/5/578e626467095df5b86ba7c6317a27a6.jpg","text":"TemporaryFile(/tmp/multipartBody4156265334208011329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946803580,"filename":"image_05122025_14_48_14_7634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/581f86d0736130268f501c8af0ba3a98.jpg","text":"TemporaryFile(/tmp/multipartBody8025741005630924743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946803580,"filename":"image_05122025_14_48_45_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/5/be5efffa8de4fae68d929f6fcef7210c.jpg","text":"TemporaryFile(/tmp/multipartBody3716889581261322329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946803580,"filename":"image_05122025_14_48_05_20557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099297","file1":"1398099295","file0":"1398099292","file4":"1398099301","file5":"1398099303","file3":"1398099299"},"map_files_photo_id_array":[{"photo_id":"1398099303","filename":"file5"},{"photo_id":"1398099297","filename":"file2"},{"photo_id":"1398099301","filename":"file4"},{"photo_id":"1398099295","filename":"file1"},{"photo_id":"1398099292","filename":"file0"},{"photo_id":"1398099299","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099292":["hashtag1","hashtag2"]},{"1398099295":["hashtag1","hashtag2"]},{"1398099297":["hashtag1","hashtag2"]},{"1398099301":["hashtag1","hashtag2"]},{"1398099303":["hashtag1","hashtag2"]},{"1398099299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099292, 1398099295, 1398099297, 1398099301, 1398099303, 1398099299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7128541469574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 15:59:42.237053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_27_3666.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_29_2727.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_32_2728.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_38_2602.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_41_2645.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_45_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_27_3666.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_29_2727.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_32_2728.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_38_2602.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_41_2645.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_45_3637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099314","1398099308","1398099310","1398099312","1398099306","1398099311"],"photo_ids_order":["1398099306","1398099308","1398099310","1398099311","1398099312","1398099314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/89c5f65618fdb239c2dd78fb943878ca.jpg","text":"TemporaryFile(/tmp/multipartBody1209495465836163616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946843827,"filename":"image_31102025_19_57_45_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/5/96759a53167dc2a0bc9c6bcd9c81ac01.jpg","text":"TemporaryFile(/tmp/multipartBody4655105442534996466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946843827,"filename":"image_31102025_19_57_29_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/5/2ade2063c331501bc544df2b6d3cd795.jpg","text":"TemporaryFile(/tmp/multipartBody4951475975165773199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946843827,"filename":"image_31102025_19_57_32_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/5/c40acc64ae6dd9786fee05755d2b58c0.jpg","text":"TemporaryFile(/tmp/multipartBody2563211216872100575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946843827,"filename":"image_31102025_19_57_41_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/5/aab226b311e753626154f454a9b9a27c.jpg","text":"TemporaryFile(/tmp/multipartBody5880612761370707152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946843827,"filename":"image_31102025_19_57_27_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/5/cb5813e07b4d5888e75b1c92596b9364.jpg","text":"TemporaryFile(/tmp/multipartBody2243035031673674060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946843827,"filename":"image_31102025_19_57_38_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099310","file1":"1398099308","file0":"1398099306","file4":"1398099312","file5":"1398099314","file3":"1398099311"},"map_files_photo_id_array":[{"photo_id":"1398099314","filename":"file5"},{"photo_id":"1398099310","filename":"file2"},{"photo_id":"1398099312","filename":"file4"},{"photo_id":"1398099308","filename":"file1"},{"photo_id":"1398099306","filename":"file0"},{"photo_id":"1398099311","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398099314":["hashtag1","hashtag2"]},{"1398099308":["hashtag1","hashtag2"]},{"1398099310":["hashtag1","hashtag2"]},{"1398099312":["hashtag1","hashtag2"]},{"1398099306":["hashtag1","hashtag2"]},{"1398099311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398099314, 1398099308, 1398099310, 1398099312, 1398099306, 1398099311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36551117897034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:00:22.432218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/48/image_05122025_14_48_54_9794.jpg', '/home/pi/Desktop/images/05122025/14/49/image_05122025_14_49_37_22677.jpg', '/home/pi/Desktop/images/05122025/14/49/image_05122025_14_49_44_5893.jpg', '/home/pi/Desktop/images/05122025/14/49/image_05122025_14_49_54_9761.jpg', '/home/pi/Desktop/images/05122025/14/49/image_05122025_14_50_04_10570.jpg', '/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_24_10237.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/48/image_05122025_14_48_54_9794.jpg
/home/pi/Desktop/images/05122025/14/49/image_05122025_14_49_37_22677.jpg
/home/pi/Desktop/images/05122025/14/49/image_05122025_14_49_44_5893.jpg
/home/pi/Desktop/images/05122025/14/49/image_05122025_14_49_54_9761.jpg
/home/pi/Desktop/images/05122025/14/49/image_05122025_14_50_04_10570.jpg
/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_24_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":["1398099322","1398099319","1398099321","1398099324","1398099323","1398099326"],"photo_ids_order":["1398099319","1398099321","1398099322","1398099323","1398099324","1398099326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bee8e99c34a9c157f6ca5d2a0a4b35a0.jpg","text":"TemporaryFile(/tmp/multipartBody1302850868873008739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946883008,"filename":"image_05122025_14_49_44_5893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d5819803b76d565267b6687962f4c32d.jpg","text":"TemporaryFile(/tmp/multipartBody3724935076550027592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946883008,"filename":"image_05122025_14_48_54_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9363c57f3d63bbda56b46fad6facdc67.jpg","text":"TemporaryFile(/tmp/multipartBody8427006679670433189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946883008,"filename":"image_05122025_14_49_37_22677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f0b48f72eaa67c293502491bd9c8e874.jpg","text":"TemporaryFile(/tmp/multipartBody553859790708857121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946883008,"filename":"image_05122025_14_50_04_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/5/ca68058956c2a0a5138673d15e6ddc62.jpg","text":"TemporaryFile(/tmp/multipartBody3221624475564625103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946883008,"filename":"image_05122025_14_49_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/5/2a3651ba46ff7e828678ab55229aea40.jpg","text":"TemporaryFile(/tmp/multipartBody5701542551159943080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946883008,"filename":"image_05122025_14_50_24_10237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099322","file1":"1398099321","file0":"1398099319","file4":"1398099324","file5":"1398099326","file3":"1398099323"},"map_files_photo_id_array":[{"photo_id":"1398099326","filename":"file5"},{"photo_id":"1398099322","filename":"file2"},{"photo_id":"1398099324","filename":"file4"},{"photo_id":"1398099321","filename":"file1"},{"photo_id":"1398099319","filename":"file0"},{"photo_id":"1398099323","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398099322":["hashtag1","hashtag2"]},{"1398099319":["hashtag1","hashtag2"]},{"1398099321":["hashtag1","hashtag2"]},{"1398099324":["hashtag1","hashtag2"]},{"1398099323":["hashtag1","hashtag2"]},{"1398099326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398099322, 1398099319, 1398099321, 1398099324, 1398099323, 1398099326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79330253601074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:01:03.214810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 16:01:12.564876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/27/image_02122025_21_27_15_9727.jpg', '/home/pi/Desktop/images/02122025/21/27/image_02122025_21_27_35_9705.jpg', '/home/pi/Desktop/images/02122025/21/27/image_02122025_21_27_45_9989.jpg', '/home/pi/Desktop/images/02122025/21/27/image_02122025_21_27_56_10730.jpg', '/home/pi/Desktop/images/02122025/21/27/image_02122025_21_28_05_9691.jpg', '/home/pi/Desktop/images/02122025/21/28/image_02122025_21_28_26_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/27/image_02122025_21_27_15_9727.jpg
/home/pi/Desktop/images/02122025/21/27/image_02122025_21_27_35_9705.jpg
/home/pi/Desktop/images/02122025/21/27/image_02122025_21_27_45_9989.jpg
/home/pi/Desktop/images/02122025/21/27/image_02122025_21_27_56_10730.jpg
/home/pi/Desktop/images/02122025/21/27/image_02122025_21_28_05_9691.jpg
/home/pi/Desktop/images/02122025/21/28/image_02122025_21_28_26_10742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099335","1398099337","1398099333","1398099339","1398099341","1398099332"],"photo_ids_order":["1398099332","1398099333","1398099335","1398099337","1398099339","1398099341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/53337666fcca7f72b25e569c58252e78.jpg","text":"TemporaryFile(/tmp/multipartBody2356987964730809788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946934583,"filename":"image_02122025_21_27_45_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/5/98c30443c235b2d853c3faaa15e2fa2d.jpg","text":"TemporaryFile(/tmp/multipartBody1949701026329034343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946934583,"filename":"image_02122025_21_27_56_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/5/e980cad6bf4d7dc696c8817b20a54f99.jpg","text":"TemporaryFile(/tmp/multipartBody1485270515929764720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946934583,"filename":"image_02122025_21_27_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/5/cc81bf9224a40cbb7f7299f1386b5557.jpg","text":"TemporaryFile(/tmp/multipartBody1362222185505708567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946934583,"filename":"image_02122025_21_28_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/5/df6589f85ad929571ea2383569036044.jpg","text":"TemporaryFile(/tmp/multipartBody3410520156512670379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946934583,"filename":"image_02122025_21_28_26_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9d7ec1dcee768d1668dba4a8246078b1.jpg","text":"TemporaryFile(/tmp/multipartBody7721401895167425272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764946934583,"filename":"image_02122025_21_27_15_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099335","file1":"1398099333","file0":"1398099332","file4":"1398099339","file5":"1398099341","file3":"1398099337"},"map_files_photo_id_array":[{"photo_id":"1398099341","filename":"file5"},{"photo_id":"1398099335","filename":"file2"},{"photo_id":"1398099339","filename":"file4"},{"photo_id":"1398099333","filename":"file1"},{"photo_id":"1398099332","filename":"file0"},{"photo_id":"1398099337","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398099335":["hashtag1","hashtag2"]},{"1398099337":["hashtag1","hashtag2"]},{"1398099333":["hashtag1","hashtag2"]},{"1398099339":["hashtag1","hashtag2"]},{"1398099341":["hashtag1","hashtag2"]},{"1398099332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398099335, 1398099337, 1398099333, 1398099339, 1398099341, 1398099332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96809792518616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:02:06.123762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 16:02:15.605963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/28/image_02122025_21_28_45_9732.jpg', '/home/pi/Desktop/images/02122025/21/29/image_02122025_21_29_16_9714.jpg', '/home/pi/Desktop/images/02122025/21/29/image_02122025_21_29_25_9871.jpg', '/home/pi/Desktop/images/02122025/21/29/image_02122025_21_29_35_9708.jpg', '/home/pi/Desktop/images/02122025/21/30/image_02122025_21_30_15_10049.jpg', '/home/pi/Desktop/images/02122025/21/30/image_02122025_21_30_35_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/28/image_02122025_21_28_45_9732.jpg
/home/pi/Desktop/images/02122025/21/29/image_02122025_21_29_16_9714.jpg
/home/pi/Desktop/images/02122025/21/29/image_02122025_21_29_25_9871.jpg
/home/pi/Desktop/images/02122025/21/29/image_02122025_21_29_35_9708.jpg
/home/pi/Desktop/images/02122025/21/30/image_02122025_21_30_15_10049.jpg
/home/pi/Desktop/images/02122025/21/30/image_02122025_21_30_35_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":["1398099454","1398099361","1398099349","1398099417","1398099380","1398099359"],"photo_ids_order":["1398099349","1398099359","1398099361","1398099380","1398099417","1398099454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/89559672fe029493e6ee6ff56b933fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6452339201820611530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947001680,"filename":"image_02122025_21_30_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/5/a5605c3ea05c17594ea726ce18c7128d.jpg","text":"TemporaryFile(/tmp/multipartBody7692306460226693347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947001680,"filename":"image_02122025_21_29_25_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/5/39dd796293960b06da425e6bfcfdb98f.jpg","text":"TemporaryFile(/tmp/multipartBody3504442751326955104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947001680,"filename":"image_02122025_21_28_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/5/20e1ec47cc8d01e052baa6c959a05e30.jpg","text":"TemporaryFile(/tmp/multipartBody2231215764546458569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947001680,"filename":"image_02122025_21_30_15_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cfd93de8dc6d1d9e527f9b588ad4f5d7.jpg","text":"TemporaryFile(/tmp/multipartBody5734290408320844691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947001680,"filename":"image_02122025_21_29_35_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/5/09d6c32ca26e03fbab9d438a86a0f617.jpg","text":"TemporaryFile(/tmp/multipartBody7844047327173675268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947001680,"filename":"image_02122025_21_29_16_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099361","file1":"1398099359","file0":"1398099349","file4":"1398099417","file5":"1398099454","file3":"1398099380"},"map_files_photo_id_array":[{"photo_id":"1398099454","filename":"file5"},{"photo_id":"1398099361","filename":"file2"},{"photo_id":"1398099417","filename":"file4"},{"photo_id":"1398099359","filename":"file1"},{"photo_id":"1398099349","filename":"file0"},{"photo_id":"1398099380","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398099454":["hashtag1","hashtag2"]},{"1398099361":["hashtag1","hashtag2"]},{"1398099349":["hashtag1","hashtag2"]},{"1398099417":["hashtag1","hashtag2"]},{"1398099380":["hashtag1","hashtag2"]},{"1398099359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398099454, 1398099361, 1398099349, 1398099417, 1398099380, 1398099359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.9535653591156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:03:03.360029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 16:03:12.854679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/30/image_02122025_21_30_46_10634.jpg', '/home/pi/Desktop/images/02122025/21/30/image_02122025_21_30_56_9677.jpg', '/home/pi/Desktop/images/02122025/21/31/image_02122025_21_31_36_10672.jpg', '/home/pi/Desktop/images/02122025/21/31/image_02122025_21_32_06_10719.jpg', '/home/pi/Desktop/images/02122025/21/33/image_02122025_21_33_26_10768.jpg', '/home/pi/Desktop/images/02122025/21/33/image_02122025_21_34_05_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/30/image_02122025_21_30_46_10634.jpg
/home/pi/Desktop/images/02122025/21/30/image_02122025_21_30_56_9677.jpg
/home/pi/Desktop/images/02122025/21/31/image_02122025_21_31_36_10672.jpg
/home/pi/Desktop/images/02122025/21/31/image_02122025_21_32_06_10719.jpg
/home/pi/Desktop/images/02122025/21/33/image_02122025_21_33_26_10768.jpg
/home/pi/Desktop/images/02122025/21/33/image_02122025_21_34_05_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398099694","1398099700","1398099703","1398099696","1398099698","1398099692"],"photo_ids_order":["1398099692","1398099694","1398099696","1398099698","1398099700","1398099703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ef6e9c1e4fbe0d0ae8a7226a82412f49.jpg","text":"TemporaryFile(/tmp/multipartBody8275222686474600502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947059106,"filename":"image_02122025_21_30_56_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d339df1589a6ee8defc315e412a20f30.jpg","text":"TemporaryFile(/tmp/multipartBody7673283634648574320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947059106,"filename":"image_02122025_21_33_26_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/5/eedc85fc620ff832a078b71e2b5c6a9b.jpg","text":"TemporaryFile(/tmp/multipartBody5069310754034560588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947059106,"filename":"image_02122025_21_34_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/5/5dee843f1698cc6f9be487afac8a654b.jpg","text":"TemporaryFile(/tmp/multipartBody556293140868924735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947059106,"filename":"image_02122025_21_31_36_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/35ada44b3116694df0959978cf354fac.jpg","text":"TemporaryFile(/tmp/multipartBody8596394709519156858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947059106,"filename":"image_02122025_21_32_06_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/5/62fb4d86ac71a397f285e979e370d55b.jpg","text":"TemporaryFile(/tmp/multipartBody1547629245256849845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947059106,"filename":"image_02122025_21_30_46_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099696","file1":"1398099694","file0":"1398099692","file4":"1398099700","file5":"1398099703","file3":"1398099698"},"map_files_photo_id_array":[{"photo_id":"1398099703","filename":"file5"},{"photo_id":"1398099696","filename":"file2"},{"photo_id":"1398099700","filename":"file4"},{"photo_id":"1398099694","filename":"file1"},{"photo_id":"1398099692","filename":"file0"},{"photo_id":"1398099698","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398099694":["hashtag1","hashtag2"]},{"1398099700":["hashtag1","hashtag2"]},{"1398099703":["hashtag1","hashtag2"]},{"1398099696":["hashtag1","hashtag2"]},{"1398099698":["hashtag1","hashtag2"]},{"1398099692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398099694, 1398099700, 1398099703, 1398099696, 1398099698, 1398099692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.03523778915405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:04:02.817519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_34_9688.jpg', '/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_44_10393.jpg', '/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_55_10477.jpg', '/home/pi/Desktop/images/05122025/14/50/image_05122025_14_51_04_9521.jpg', '/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_14_9534.jpg', '/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_25_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_34_9688.jpg
/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_44_10393.jpg
/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_55_10477.jpg
/home/pi/Desktop/images/05122025/14/50/image_05122025_14_51_04_9521.jpg
/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_14_9534.jpg
/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_25_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.5158522129058838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 16:04:12.099135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/35/image_02122025_21_35_26_10629.jpg', '/home/pi/Desktop/images/02122025/21/35/image_02122025_21_36_06_9741.jpg', '/home/pi/Desktop/images/02122025/21/36/image_02122025_21_36_25_9836.jpg', '/home/pi/Desktop/images/02122025/21/36/image_02122025_21_37_06_9728.jpg', '/home/pi/Desktop/images/02122025/21/37/image_02122025_21_37_15_9696.jpg', '/home/pi/Desktop/images/02122025/21/37/image_02122025_21_37_25_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/35/image_02122025_21_35_26_10629.jpg
/home/pi/Desktop/images/02122025/21/35/image_02122025_21_36_06_9741.jpg
/home/pi/Desktop/images/02122025/21/36/image_02122025_21_36_25_9836.jpg
/home/pi/Desktop/images/02122025/21/36/image_02122025_21_37_06_9728.jpg
/home/pi/Desktop/images/02122025/21/37/image_02122025_21_37_15_9696.jpg
/home/pi/Desktop/images/02122025/21/37/image_02122025_21_37_25_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":["1398099832","1398099709","1398099792","1398099711","1398099714","1398099752"],"photo_ids_order":["1398099709","1398099711","1398099714","1398099752","1398099792","1398099832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1cba0134cf6a9715b6680d95cfbdf63d.jpg","text":"TemporaryFile(/tmp/multipartBody4470062169733789700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947114089,"filename":"image_02122025_21_37_25_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bf5bda6eb09497ca955ab00b392e3fdb.jpg","text":"TemporaryFile(/tmp/multipartBody231303852380428135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947114089,"filename":"image_02122025_21_35_26_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/5/645a655fb2131b3bc435bcdc1884c2cb.jpg","text":"TemporaryFile(/tmp/multipartBody9027286139863720072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947114089,"filename":"image_02122025_21_37_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/5/ad78e79d32305badc167826a6009fb9d.jpg","text":"TemporaryFile(/tmp/multipartBody7768405152155087502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947114089,"filename":"image_02122025_21_36_06_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/5/f7e29980df2aacd236303087e0b12efe.jpg","text":"TemporaryFile(/tmp/multipartBody4591587086597198600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947114089,"filename":"image_02122025_21_36_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/5/dd872012625641b02ae3bf6b7f2ea7d6.jpg","text":"TemporaryFile(/tmp/multipartBody3222591911405584984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947114089,"filename":"image_02122025_21_37_06_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398099714","file1":"1398099711","file0":"1398099709","file4":"1398099792","file5":"1398099832","file3":"1398099752"},"map_files_photo_id_array":[{"photo_id":"1398099832","filename":"file5"},{"photo_id":"1398099714","filename":"file2"},{"photo_id":"1398099792","filename":"file4"},{"photo_id":"1398099711","filename":"file1"},{"photo_id":"1398099709","filename":"file0"},{"photo_id":"1398099752","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398099832":["hashtag1","hashtag2"]},{"1398099709":["hashtag1","hashtag2"]},{"1398099792":["hashtag1","hashtag2"]},{"1398099711":["hashtag1","hashtag2"]},{"1398099714":["hashtag1","hashtag2"]},{"1398099752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398099832, 1398099709, 1398099792, 1398099711, 1398099714, 1398099752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.144715309143066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:05:03.088839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_34_9688.jpg', '/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_44_10393.jpg', '/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_55_10477.jpg', '/home/pi/Desktop/images/05122025/14/50/image_05122025_14_51_04_9521.jpg', '/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_14_9534.jpg', '/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_25_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_34_9688.jpg
/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_44_10393.jpg
/home/pi/Desktop/images/05122025/14/50/image_05122025_14_50_55_10477.jpg
/home/pi/Desktop/images/05122025/14/50/image_05122025_14_51_04_9521.jpg
/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_14_9534.jpg
/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_25_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":["1398100015","1398099985","1398100061","1398100040","1398100052","1398100063"],"photo_ids_order":["1398099985","1398100015","1398100040","1398100052","1398100061","1398100063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/61e4a392ecfa4ea6cbf476fa047a1765.jpg","text":"TemporaryFile(/tmp/multipartBody3075845299571874793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947163773,"filename":"image_05122025_14_50_44_10393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e99eaaff858f5d847ea43551ad65f2f0.jpg","text":"TemporaryFile(/tmp/multipartBody6991500076976183570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947163773,"filename":"image_05122025_14_50_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/5/f1c1802c2b8f9a5c3e9cc4e2c6885f65.jpg","text":"TemporaryFile(/tmp/multipartBody7923629071927168049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947163773,"filename":"image_05122025_14_51_14_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/5/466bed0c6c4a12df4327d965468b9faa.jpg","text":"TemporaryFile(/tmp/multipartBody7141313152424448412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947163773,"filename":"image_05122025_14_50_55_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/5/f9a342a8c99fb4660087350a32fe5ae5.jpg","text":"TemporaryFile(/tmp/multipartBody4015085224755365375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947163773,"filename":"image_05122025_14_51_04_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/5/5ca6099cc72f5909459983d558f8706e.jpg","text":"TemporaryFile(/tmp/multipartBody7249237019566467103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947163773,"filename":"image_05122025_14_51_25_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100040","file1":"1398100015","file0":"1398099985","file4":"1398100061","file5":"1398100063","file3":"1398100052"},"map_files_photo_id_array":[{"photo_id":"1398100063","filename":"file5"},{"photo_id":"1398100040","filename":"file2"},{"photo_id":"1398100061","filename":"file4"},{"photo_id":"1398100015","filename":"file1"},{"photo_id":"1398099985","filename":"file0"},{"photo_id":"1398100052","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100015":["hashtag1","hashtag2"]},{"1398099985":["hashtag1","hashtag2"]},{"1398100061":["hashtag1","hashtag2"]},{"1398100040":["hashtag1","hashtag2"]},{"1398100052":["hashtag1","hashtag2"]},{"1398100063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100015, 1398099985, 1398100061, 1398100040, 1398100052, 1398100063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51096749305725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:05:42.364155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_47_2731.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_50_2641.jpg', '/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_59_2650.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_02_2643.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_05_3532.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_08_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_47_2731.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_50_2641.jpg
/home/pi/Desktop/images/31102025/19/57/image_31102025_19_57_59_2650.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_02_2643.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_05_3532.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_08_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100080","1398100077","1398100079","1398100067","1398100076","1398100078"],"photo_ids_order":["1398100067","1398100076","1398100077","1398100078","1398100079","1398100080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/613558e775cf1bd37f1998cdd549df73.jpg","text":"TemporaryFile(/tmp/multipartBody435671716428400055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947203947,"filename":"image_31102025_19_58_08_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/34c579a4020ab9d31204e41f19360ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7377907435926001230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947203947,"filename":"image_31102025_19_57_59_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/5/9a980fc88cb22205a352af98e5b2c48a.jpg","text":"TemporaryFile(/tmp/multipartBody6438080728815105277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947203947,"filename":"image_31102025_19_58_05_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/5/98f618799f011d4031068ec5cfa70436.jpg","text":"TemporaryFile(/tmp/multipartBody1325776009001909648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947203947,"filename":"image_31102025_19_57_47_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/5/0d14b358001f040ade4e5029b3085ae9.jpg","text":"TemporaryFile(/tmp/multipartBody1616138743489960465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947203947,"filename":"image_31102025_19_57_50_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/5/407d0e23cacc38f768f700a6e85f273c.jpg","text":"TemporaryFile(/tmp/multipartBody8318576963565814754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947203947,"filename":"image_31102025_19_58_02_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100077","file1":"1398100076","file0":"1398100067","file4":"1398100079","file5":"1398100080","file3":"1398100078"},"map_files_photo_id_array":[{"photo_id":"1398100080","filename":"file5"},{"photo_id":"1398100077","filename":"file2"},{"photo_id":"1398100079","filename":"file4"},{"photo_id":"1398100076","filename":"file1"},{"photo_id":"1398100067","filename":"file0"},{"photo_id":"1398100078","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398100080":["hashtag1","hashtag2"]},{"1398100077":["hashtag1","hashtag2"]},{"1398100079":["hashtag1","hashtag2"]},{"1398100067":["hashtag1","hashtag2"]},{"1398100076":["hashtag1","hashtag2"]},{"1398100078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398100080, 1398100077, 1398100079, 1398100067, 1398100076, 1398100078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07917261123657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:06:22.530644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_44_9593.jpg', '/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_55_10631.jpg', '/home/pi/Desktop/images/05122025/14/51/image_05122025_14_52_04_9569.jpg', '/home/pi/Desktop/images/05122025/14/52/image_05122025_14_52_15_10599.jpg', '/home/pi/Desktop/images/05122025/14/52/image_05122025_14_52_35_10470.jpg', '/home/pi/Desktop/images/05122025/14/52/image_05122025_14_52_49_14344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_44_9593.jpg
/home/pi/Desktop/images/05122025/14/51/image_05122025_14_51_55_10631.jpg
/home/pi/Desktop/images/05122025/14/51/image_05122025_14_52_04_9569.jpg
/home/pi/Desktop/images/05122025/14/52/image_05122025_14_52_15_10599.jpg
/home/pi/Desktop/images/05122025/14/52/image_05122025_14_52_35_10470.jpg
/home/pi/Desktop/images/05122025/14/52/image_05122025_14_52_49_14344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100086","1398100088","1398100082","1398100090","1398100084","1398100093"],"photo_ids_order":["1398100082","1398100084","1398100086","1398100088","1398100090","1398100093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c0ed837ba617ca1b584e97af62768a5.jpg","text":"TemporaryFile(/tmp/multipartBody1464243036006804811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947243100,"filename":"image_05122025_14_52_04_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/5/001577b336593862928cfcaf39944a51.jpg","text":"TemporaryFile(/tmp/multipartBody7036036369721179589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947243100,"filename":"image_05122025_14_52_15_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7915d8729284b08b61794f8fea4b0a54.jpg","text":"TemporaryFile(/tmp/multipartBody1500844434392253439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947243100,"filename":"image_05122025_14_51_44_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d96b5cb82f4d93a08f140837591e3d17.jpg","text":"TemporaryFile(/tmp/multipartBody2269138041600776627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947243100,"filename":"image_05122025_14_52_35_10470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8f42a95ac32d1c3885948352e967eb6a.jpg","text":"TemporaryFile(/tmp/multipartBody191037157510225181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947243100,"filename":"image_05122025_14_51_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/5/771123cd3489d808197366cadd2b282e.jpg","text":"TemporaryFile(/tmp/multipartBody7798587539727541187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947243100,"filename":"image_05122025_14_52_49_14344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100086","file1":"1398100084","file0":"1398100082","file4":"1398100090","file5":"1398100093","file3":"1398100088"},"map_files_photo_id_array":[{"photo_id":"1398100093","filename":"file5"},{"photo_id":"1398100086","filename":"file2"},{"photo_id":"1398100090","filename":"file4"},{"photo_id":"1398100084","filename":"file1"},{"photo_id":"1398100082","filename":"file0"},{"photo_id":"1398100088","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100086":["hashtag1","hashtag2"]},{"1398100088":["hashtag1","hashtag2"]},{"1398100082":["hashtag1","hashtag2"]},{"1398100090":["hashtag1","hashtag2"]},{"1398100084":["hashtag1","hashtag2"]},{"1398100093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100086, 1398100088, 1398100082, 1398100090, 1398100084, 1398100093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.638251543045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:07:03.360279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/52/image_05122025_14_52_55_5539.jpg', '/home/pi/Desktop/images/05122025/14/52/image_05122025_14_53_04_9728.jpg', '/home/pi/Desktop/images/05122025/14/53/image_05122025_14_53_37_32316.jpg', '/home/pi/Desktop/images/05122025/14/53/image_05122025_14_53_39_1787.jpg', '/home/pi/Desktop/images/05122025/14/53/image_05122025_14_53_40_1556.jpg', '/home/pi/Desktop/images/05122025/14/54/image_05122025_14_54_21_10048.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/52/image_05122025_14_52_55_5539.jpg
/home/pi/Desktop/images/05122025/14/52/image_05122025_14_53_04_9728.jpg
/home/pi/Desktop/images/05122025/14/53/image_05122025_14_53_37_32316.jpg
/home/pi/Desktop/images/05122025/14/53/image_05122025_14_53_39_1787.jpg
/home/pi/Desktop/images/05122025/14/53/image_05122025_14_53_40_1556.jpg
/home/pi/Desktop/images/05122025/14/54/image_05122025_14_54_21_10048.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100095","1398100097","1398100101","1398100094","1398100096","1398100099"],"photo_ids_order":["1398100094","1398100095","1398100096","1398100097","1398100099","1398100101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/284a469f36666bb0da2770890546cf29.jpg","text":"TemporaryFile(/tmp/multipartBody9221602338722124157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947283972,"filename":"image_05122025_14_53_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d07ea0b3159a90ace930a6963ccf9e9c.jpg","text":"TemporaryFile(/tmp/multipartBody5774716526101039953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947283972,"filename":"image_05122025_14_53_39_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/5/859920df3fb086c3f123294b0b6b8ddc.jpg","text":"TemporaryFile(/tmp/multipartBody6830426739120630477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947283972,"filename":"image_05122025_14_54_21_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7909468a0bad960dc505e467f21557d9.jpg","text":"TemporaryFile(/tmp/multipartBody893123804918710119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947283972,"filename":"image_05122025_14_52_55_5539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4dd837463c4817f72c1f1d0f16a80a6c.jpg","text":"TemporaryFile(/tmp/multipartBody2163367754051664464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947283972,"filename":"image_05122025_14_53_37_32316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e04c24b5a8e5d89187788d09085150d2.jpg","text":"TemporaryFile(/tmp/multipartBody2730545169796401409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947283972,"filename":"image_05122025_14_53_40_1556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100096","file1":"1398100095","file0":"1398100094","file4":"1398100099","file5":"1398100101","file3":"1398100097"},"map_files_photo_id_array":[{"photo_id":"1398100101","filename":"file5"},{"photo_id":"1398100096","filename":"file2"},{"photo_id":"1398100099","filename":"file4"},{"photo_id":"1398100095","filename":"file1"},{"photo_id":"1398100094","filename":"file0"},{"photo_id":"1398100097","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100095":["hashtag1","hashtag2"]},{"1398100097":["hashtag1","hashtag2"]},{"1398100101":["hashtag1","hashtag2"]},{"1398100094":["hashtag1","hashtag2"]},{"1398100096":["hashtag1","hashtag2"]},{"1398100099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100095, 1398100097, 1398100101, 1398100094, 1398100096, 1398100099)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.080317974090576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:08:02.288226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/54/image_05122025_14_54_32_10541.jpg', '/home/pi/Desktop/images/05122025/14/54/image_05122025_14_54_41_9604.jpg', '/home/pi/Desktop/images/05122025/14/54/image_05122025_14_54_51_10197.jpg', '/home/pi/Desktop/images/05122025/14/54/image_05122025_14_55_01_9773.jpg', '/home/pi/Desktop/images/05122025/14/55/image_05122025_14_55_42_10511.jpg', '/home/pi/Desktop/images/05122025/14/56/image_05122025_14_56_12_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/54/image_05122025_14_54_32_10541.jpg
/home/pi/Desktop/images/05122025/14/54/image_05122025_14_54_41_9604.jpg
/home/pi/Desktop/images/05122025/14/54/image_05122025_14_54_51_10197.jpg
/home/pi/Desktop/images/05122025/14/54/image_05122025_14_55_01_9773.jpg
/home/pi/Desktop/images/05122025/14/55/image_05122025_14_55_42_10511.jpg
/home/pi/Desktop/images/05122025/14/56/image_05122025_14_56_12_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":["1398100108","1398100111","1398100110","1398100113","1398100112","1398100115"],"photo_ids_order":["1398100108","1398100110","1398100111","1398100112","1398100113","1398100115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/423109ff704fe873f55b6dfc0b3cac39.jpg","text":"TemporaryFile(/tmp/multipartBody5262337884347048347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947342900,"filename":"image_05122025_14_54_32_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/5/2f31dad8d0214fb3cc8b27463e4f98f0.jpg","text":"TemporaryFile(/tmp/multipartBody1595516185216134395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947342900,"filename":"image_05122025_14_54_51_10197.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/78f78695bfd5fcf5aa921a22945ef475.jpg","text":"TemporaryFile(/tmp/multipartBody9170608782508885181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947342900,"filename":"image_05122025_14_54_41_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/5/3f6ce2192df96769a6529539ee301f29.jpg","text":"TemporaryFile(/tmp/multipartBody4147250141274872823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947342900,"filename":"image_05122025_14_55_42_10511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/68756c7def5a0740aab42da7a8114c51.jpg","text":"TemporaryFile(/tmp/multipartBody8460524025521555658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947342900,"filename":"image_05122025_14_55_01_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/5/591e206783fd3eec5353a224890e2865.jpg","text":"TemporaryFile(/tmp/multipartBody1476141018092175544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947342900,"filename":"image_05122025_14_56_12_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100111","file1":"1398100110","file0":"1398100108","file4":"1398100113","file5":"1398100115","file3":"1398100112"},"map_files_photo_id_array":[{"photo_id":"1398100115","filename":"file5"},{"photo_id":"1398100111","filename":"file2"},{"photo_id":"1398100113","filename":"file4"},{"photo_id":"1398100110","filename":"file1"},{"photo_id":"1398100108","filename":"file0"},{"photo_id":"1398100112","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100108":["hashtag1","hashtag2"]},{"1398100111":["hashtag1","hashtag2"]},{"1398100110":["hashtag1","hashtag2"]},{"1398100113":["hashtag1","hashtag2"]},{"1398100112":["hashtag1","hashtag2"]},{"1398100115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100108, 1398100111, 1398100110, 1398100113, 1398100112, 1398100115)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.937830686569214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:09:03.803228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/56/image_05122025_14_56_21_9700.jpg', '/home/pi/Desktop/images/05122025/14/57/image_05122025_14_58_02_10616.jpg', '/home/pi/Desktop/images/05122025/14/58/image_05122025_14_58_11_9706.jpg', '/home/pi/Desktop/images/05122025/14/58/image_05122025_14_58_21_9615.jpg', '/home/pi/Desktop/images/05122025/14/58/image_05122025_14_58_32_10542.jpg', '/home/pi/Desktop/images/05122025/14/58/image_05122025_14_58_41_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/56/image_05122025_14_56_21_9700.jpg
/home/pi/Desktop/images/05122025/14/57/image_05122025_14_58_02_10616.jpg
/home/pi/Desktop/images/05122025/14/58/image_05122025_14_58_11_9706.jpg
/home/pi/Desktop/images/05122025/14/58/image_05122025_14_58_21_9615.jpg
/home/pi/Desktop/images/05122025/14/58/image_05122025_14_58_32_10542.jpg
/home/pi/Desktop/images/05122025/14/58/image_05122025_14_58_41_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100155","1398100149","1398100157","1398100151","1398100159","1398100153"],"photo_ids_order":["1398100149","1398100151","1398100153","1398100155","1398100157","1398100159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c20631058a5ef172341d9a43a0b17df2.jpg","text":"TemporaryFile(/tmp/multipartBody8218456655699939041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947404348,"filename":"image_05122025_14_58_21_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/5/f0404d98f63d2825153d59fe7598e13f.jpg","text":"TemporaryFile(/tmp/multipartBody1879203770153099712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947404348,"filename":"image_05122025_14_56_21_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/5/de4902274b58a5255d223af54bc6feaa.jpg","text":"TemporaryFile(/tmp/multipartBody7047677334493028114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947404348,"filename":"image_05122025_14_58_32_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ded002cbe13bc8e27623b44ad043091b.jpg","text":"TemporaryFile(/tmp/multipartBody4101916746339477525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947404348,"filename":"image_05122025_14_58_02_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/5/2f81d9eae9120a4cbd8be288d13a4e8c.jpg","text":"TemporaryFile(/tmp/multipartBody8853009267041871226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947404348,"filename":"image_05122025_14_58_41_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/5/748d572e17224b66ded1906f13847466.jpg","text":"TemporaryFile(/tmp/multipartBody2701321176299624907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947404348,"filename":"image_05122025_14_58_11_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100153","file1":"1398100151","file0":"1398100149","file4":"1398100157","file5":"1398100159","file3":"1398100155"},"map_files_photo_id_array":[{"photo_id":"1398100159","filename":"file5"},{"photo_id":"1398100153","filename":"file2"},{"photo_id":"1398100157","filename":"file4"},{"photo_id":"1398100151","filename":"file1"},{"photo_id":"1398100149","filename":"file0"},{"photo_id":"1398100155","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100155":["hashtag1","hashtag2"]},{"1398100149":["hashtag1","hashtag2"]},{"1398100157":["hashtag1","hashtag2"]},{"1398100151":["hashtag1","hashtag2"]},{"1398100159":["hashtag1","hashtag2"]},{"1398100153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100155, 1398100149, 1398100157, 1398100151, 1398100159, 1398100153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57629132270813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:10:02.965819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/58/image_05122025_14_58_52_10587.jpg', '/home/pi/Desktop/images/05122025/14/58/image_05122025_14_59_01_9544.jpg', '/home/pi/Desktop/images/05122025/14/59/image_05122025_14_59_11_9650.jpg', '/home/pi/Desktop/images/05122025/14/59/image_05122025_14_59_22_10623.jpg', '/home/pi/Desktop/images/05122025/14/59/image_05122025_14_59_31_9626.jpg', '/home/pi/Desktop/images/05122025/14/59/image_05122025_14_59_42_10547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/58/image_05122025_14_58_52_10587.jpg
/home/pi/Desktop/images/05122025/14/58/image_05122025_14_59_01_9544.jpg
/home/pi/Desktop/images/05122025/14/59/image_05122025_14_59_11_9650.jpg
/home/pi/Desktop/images/05122025/14/59/image_05122025_14_59_22_10623.jpg
/home/pi/Desktop/images/05122025/14/59/image_05122025_14_59_31_9626.jpg
/home/pi/Desktop/images/05122025/14/59/image_05122025_14_59_42_10547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100191","1398100194","1398100188","1398100184","1398100183","1398100186"],"photo_ids_order":["1398100183","1398100184","1398100186","1398100188","1398100191","1398100194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/68952e5049f69526ba9862fec7a31dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5161598016606964290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947466024,"filename":"image_05122025_14_59_31_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/5/6bd71dfe63825412fd807167f4f9ea2e.jpg","text":"TemporaryFile(/tmp/multipartBody3629517911062632142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947466024,"filename":"image_05122025_14_59_42_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/5/25d977eef2901a3a145fa36d7836bfd9.jpg","text":"TemporaryFile(/tmp/multipartBody6384570891480209749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947466024,"filename":"image_05122025_14_59_22_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/5/6ca7af3aaa47438d4b5afee0ff304208.jpg","text":"TemporaryFile(/tmp/multipartBody2995623577723660839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947466024,"filename":"image_05122025_14_59_01_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/5/b0699d6c677034903add0ff604b1a94c.jpg","text":"TemporaryFile(/tmp/multipartBody2716421957230139967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947466024,"filename":"image_05122025_14_58_52_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/5/e24e25451d9635397d0c33c4b4845c58.jpg","text":"TemporaryFile(/tmp/multipartBody6732117621464396160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947466024,"filename":"image_05122025_14_59_11_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100186","file1":"1398100184","file0":"1398100183","file4":"1398100191","file5":"1398100194","file3":"1398100188"},"map_files_photo_id_array":[{"photo_id":"1398100194","filename":"file5"},{"photo_id":"1398100186","filename":"file2"},{"photo_id":"1398100191","filename":"file4"},{"photo_id":"1398100184","filename":"file1"},{"photo_id":"1398100183","filename":"file0"},{"photo_id":"1398100188","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100191":["hashtag1","hashtag2"]},{"1398100194":["hashtag1","hashtag2"]},{"1398100188":["hashtag1","hashtag2"]},{"1398100184":["hashtag1","hashtag2"]},{"1398100183":["hashtag1","hashtag2"]},{"1398100186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100191, 1398100194, 1398100188, 1398100184, 1398100183, 1398100186)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.59223246574402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:11:03.233666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 16:11:12.731525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/37/image_02122025_21_37_36_10750.jpg', '/home/pi/Desktop/images/02122025/21/38/image_02122025_21_38_55_9759.jpg', '/home/pi/Desktop/images/02122025/21/39/image_02122025_21_39_15_9822.jpg', '/home/pi/Desktop/images/02122025/21/39/image_02122025_21_39_35_9681.jpg', '/home/pi/Desktop/images/02122025/21/39/image_02122025_21_39_56_10676.jpg', '/home/pi/Desktop/images/02122025/21/40/image_02122025_21_40_35_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/37/image_02122025_21_37_36_10750.jpg
/home/pi/Desktop/images/02122025/21/38/image_02122025_21_38_55_9759.jpg
/home/pi/Desktop/images/02122025/21/39/image_02122025_21_39_15_9822.jpg
/home/pi/Desktop/images/02122025/21/39/image_02122025_21_39_35_9681.jpg
/home/pi/Desktop/images/02122025/21/39/image_02122025_21_39_56_10676.jpg
/home/pi/Desktop/images/02122025/21/40/image_02122025_21_40_35_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":["1398100213","1398100230","1398100224","1398100233","1398100209","1398100211"],"photo_ids_order":["1398100209","1398100211","1398100213","1398100224","1398100230","1398100233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/829a0064eedd9cb1ddc035642bccd8e9.jpg","text":"TemporaryFile(/tmp/multipartBody3986544225857651261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947539809,"filename":"image_02122025_21_39_15_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b75d5d51d6d8af917e8478db08b6e04.jpg","text":"TemporaryFile(/tmp/multipartBody1972950106296808381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947539809,"filename":"image_02122025_21_39_56_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9fe55ff2e559f5fda811cb1d6883e44f.jpg","text":"TemporaryFile(/tmp/multipartBody2285347920288460267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947539809,"filename":"image_02122025_21_39_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/5/14c0cf979701bec6e19f4d78276f0463.jpg","text":"TemporaryFile(/tmp/multipartBody4800938306964514276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947539809,"filename":"image_02122025_21_40_35_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/5/059220bc2cd3ea62611d9863efca5a8e.jpg","text":"TemporaryFile(/tmp/multipartBody6255252474639584347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947539809,"filename":"image_02122025_21_37_36_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/5/78b9bad8762c7be3ecc9d00f72bd6be4.jpg","text":"TemporaryFile(/tmp/multipartBody3491229934753442910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947539809,"filename":"image_02122025_21_38_55_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100213","file1":"1398100211","file0":"1398100209","file4":"1398100230","file5":"1398100233","file3":"1398100224"},"map_files_photo_id_array":[{"photo_id":"1398100233","filename":"file5"},{"photo_id":"1398100213","filename":"file2"},{"photo_id":"1398100230","filename":"file4"},{"photo_id":"1398100211","filename":"file1"},{"photo_id":"1398100209","filename":"file0"},{"photo_id":"1398100224","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398100213":["hashtag1","hashtag2"]},{"1398100230":["hashtag1","hashtag2"]},{"1398100224":["hashtag1","hashtag2"]},{"1398100233":["hashtag1","hashtag2"]},{"1398100209":["hashtag1","hashtag2"]},{"1398100211":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398100213, 1398100230, 1398100224, 1398100233, 1398100209, 1398100211)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.668874979019165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 16:12:13.270743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/40/image_02122025_21_41_06_9708.jpg', '/home/pi/Desktop/images/02122025/21/46/image_02122025_21_46_16_10767.jpg', '/home/pi/Desktop/images/02122025/21/46/image_02122025_21_46_26_9589.jpg', '/home/pi/Desktop/images/02122025/21/46/image_02122025_21_46_35_9762.jpg', '/home/pi/Desktop/images/02122025/21/46/image_02122025_21_46_45_9750.jpg', '/home/pi/Desktop/images/02122025/21/46/image_02122025_21_47_06_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/40/image_02122025_21_41_06_9708.jpg
/home/pi/Desktop/images/02122025/21/46/image_02122025_21_46_16_10767.jpg
/home/pi/Desktop/images/02122025/21/46/image_02122025_21_46_26_9589.jpg
/home/pi/Desktop/images/02122025/21/46/image_02122025_21_46_35_9762.jpg
/home/pi/Desktop/images/02122025/21/46/image_02122025_21_46_45_9750.jpg
/home/pi/Desktop/images/02122025/21/46/image_02122025_21_47_06_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":["1398100300","1398100305","1398100298","1398100302","1398100292","1398100294"],"photo_ids_order":["1398100292","1398100294","1398100298","1398100300","1398100302","1398100305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1d3040e8d30cf1debe31f35d8b6e021.jpg","text":"TemporaryFile(/tmp/multipartBody6286527053844188781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947598011,"filename":"image_02122025_21_46_35_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/5/4dbb59c445ce28083300d4c1b3c37ed9.jpg","text":"TemporaryFile(/tmp/multipartBody5209012980750482910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947598011,"filename":"image_02122025_21_47_06_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/5/c4988e47019c46322d2e541ca7f44e7f.jpg","text":"TemporaryFile(/tmp/multipartBody4998482154110918421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947598011,"filename":"image_02122025_21_46_26_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/26fbce6c627ae5ce30430cd7dee84c5e.jpg","text":"TemporaryFile(/tmp/multipartBody236856358004155170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947598011,"filename":"image_02122025_21_46_45_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/5/c6424444b3fd59b32dad4718c2927d69.jpg","text":"TemporaryFile(/tmp/multipartBody1984211360924585895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947598011,"filename":"image_02122025_21_41_06_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b8ea29eac93596528458f6b4ac9e8d0.jpg","text":"TemporaryFile(/tmp/multipartBody7000172147435755655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947598011,"filename":"image_02122025_21_46_16_10767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100298","file1":"1398100294","file0":"1398100292","file4":"1398100302","file5":"1398100305","file3":"1398100300"},"map_files_photo_id_array":[{"photo_id":"1398100305","filename":"file5"},{"photo_id":"1398100298","filename":"file2"},{"photo_id":"1398100302","filename":"file4"},{"photo_id":"1398100294","filename":"file1"},{"photo_id":"1398100292","filename":"file0"},{"photo_id":"1398100300","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398100300":["hashtag1","hashtag2"]},{"1398100305":["hashtag1","hashtag2"]},{"1398100298":["hashtag1","hashtag2"]},{"1398100302":["hashtag1","hashtag2"]},{"1398100292":["hashtag1","hashtag2"]},{"1398100294":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398100300, 1398100305, 1398100298, 1398100302, 1398100292, 1398100294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.404499769210815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:13:03.166360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/14/59/image_05122025_14_59_51_9541.jpg', '/home/pi/Desktop/images/05122025/15/00/image_05122025_15_00_15_10055.jpg', '/home/pi/Desktop/images/05122025/15/00/image_05122025_15_00_25_10217.jpg', '/home/pi/Desktop/images/05122025/15/00/image_05122025_15_00_36_10609.jpg', '/home/pi/Desktop/images/05122025/15/00/image_05122025_15_00_45_9832.jpg', '/home/pi/Desktop/images/05122025/15/00/image_05122025_15_00_55_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/14/59/image_05122025_14_59_51_9541.jpg
/home/pi/Desktop/images/05122025/15/00/image_05122025_15_00_15_10055.jpg
/home/pi/Desktop/images/05122025/15/00/image_05122025_15_00_25_10217.jpg
/home/pi/Desktop/images/05122025/15/00/image_05122025_15_00_36_10609.jpg
/home/pi/Desktop/images/05122025/15/00/image_05122025_15_00_45_9832.jpg
/home/pi/Desktop/images/05122025/15/00/image_05122025_15_00_55_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100326","1398100320","1398100334","1398100328","1398100322","1398100324"],"photo_ids_order":["1398100320","1398100322","1398100324","1398100326","1398100328","1398100334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e3ca31e1a4595010ca36fa131295c308.jpg","text":"TemporaryFile(/tmp/multipartBody923746160704488830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947645922,"filename":"image_05122025_15_00_36_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/5/077081ad85299351c00995b8e2ef993b.jpg","text":"TemporaryFile(/tmp/multipartBody4054453446158246472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947645922,"filename":"image_05122025_14_59_51_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/5/a26de60358f87021224c98eb85d9af72.jpg","text":"TemporaryFile(/tmp/multipartBody536547113637292944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947645922,"filename":"image_05122025_15_00_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/5/2933d4b122a20fd0b99c8845585606b2.jpg","text":"TemporaryFile(/tmp/multipartBody5654023010148675000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947645922,"filename":"image_05122025_15_00_45_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/5/8d0ad385bad891bda7c1bad43fae04d0.jpg","text":"TemporaryFile(/tmp/multipartBody5077952316807511503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947645922,"filename":"image_05122025_15_00_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/16d520a06afd5db6017bdfb672320f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3660374749017967592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947645922,"filename":"image_05122025_15_00_25_10217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100324","file1":"1398100322","file0":"1398100320","file4":"1398100328","file5":"1398100334","file3":"1398100326"},"map_files_photo_id_array":[{"photo_id":"1398100334","filename":"file5"},{"photo_id":"1398100324","filename":"file2"},{"photo_id":"1398100328","filename":"file4"},{"photo_id":"1398100322","filename":"file1"},{"photo_id":"1398100320","filename":"file0"},{"photo_id":"1398100326","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100326":["hashtag1","hashtag2"]},{"1398100320":["hashtag1","hashtag2"]},{"1398100334":["hashtag1","hashtag2"]},{"1398100328":["hashtag1","hashtag2"]},{"1398100322":["hashtag1","hashtag2"]},{"1398100324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100326, 1398100320, 1398100334, 1398100328, 1398100322, 1398100324)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.97450304031372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:14:03.585735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/00/image_05122025_15_01_05_9754.jpg', '/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_25_9553.jpg', '/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_35_9557.jpg', '/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_55_9776.jpg', '/home/pi/Desktop/images/05122025/15/01/image_05122025_15_02_05_9656.jpg', '/home/pi/Desktop/images/05122025/15/02/image_05122025_15_02_35_10239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/00/image_05122025_15_01_05_9754.jpg
/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_25_9553.jpg
/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_35_9557.jpg
/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_55_9776.jpg
/home/pi/Desktop/images/05122025/15/01/image_05122025_15_02_05_9656.jpg
/home/pi/Desktop/images/05122025/15/02/image_05122025_15_02_35_10239.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4797780513763428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 16:14:12.754167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/47/image_02122025_21_47_15_9706.jpg', '/home/pi/Desktop/images/02122025/21/47/image_02122025_21_47_26_10653.jpg', '/home/pi/Desktop/images/02122025/21/47/image_02122025_21_47_36_9733.jpg', '/home/pi/Desktop/images/02122025/21/47/image_02122025_21_47_55_9834.jpg', '/home/pi/Desktop/images/02122025/21/47/image_02122025_21_48_06_10724.jpg', '/home/pi/Desktop/images/02122025/21/48/image_02122025_21_48_26_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/47/image_02122025_21_47_15_9706.jpg
/home/pi/Desktop/images/02122025/21/47/image_02122025_21_47_26_10653.jpg
/home/pi/Desktop/images/02122025/21/47/image_02122025_21_47_36_9733.jpg
/home/pi/Desktop/images/02122025/21/47/image_02122025_21_47_55_9834.jpg
/home/pi/Desktop/images/02122025/21/47/image_02122025_21_48_06_10724.jpg
/home/pi/Desktop/images/02122025/21/48/image_02122025_21_48_26_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":["1398100367","1398100352","1398100355","1398100369","1398100360","1398100363"],"photo_ids_order":["1398100352","1398100355","1398100360","1398100363","1398100367","1398100369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94cd6bf193241ff3d3c0f86f3c3b58c7.jpg","text":"TemporaryFile(/tmp/multipartBody448992724042813931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947714729,"filename":"image_02122025_21_48_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/5/f75cc38478de382d8dd66e84083f6a55.jpg","text":"TemporaryFile(/tmp/multipartBody2651428692439992242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947714729,"filename":"image_02122025_21_47_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/5/934681c43c96450c5af43dcd0a6ff705.jpg","text":"TemporaryFile(/tmp/multipartBody8658347351033986647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947714729,"filename":"image_02122025_21_47_26_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/efbe5bec38f5fc7aba0ee0c93665ae7c.jpg","text":"TemporaryFile(/tmp/multipartBody5687553475958829128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947714729,"filename":"image_02122025_21_48_26_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/5/9b70c9c9cb1a072e6d79c30c85753ec7.jpg","text":"TemporaryFile(/tmp/multipartBody2616939553273984388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947714729,"filename":"image_02122025_21_47_36_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/5/13f84e731d11ca663a51e20e40b26b3f.jpg","text":"TemporaryFile(/tmp/multipartBody2862991770856541880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947714729,"filename":"image_02122025_21_47_55_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100360","file1":"1398100355","file0":"1398100352","file4":"1398100367","file5":"1398100369","file3":"1398100363"},"map_files_photo_id_array":[{"photo_id":"1398100369","filename":"file5"},{"photo_id":"1398100360","filename":"file2"},{"photo_id":"1398100367","filename":"file4"},{"photo_id":"1398100355","filename":"file1"},{"photo_id":"1398100352","filename":"file0"},{"photo_id":"1398100363","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398100367":["hashtag1","hashtag2"]},{"1398100352":["hashtag1","hashtag2"]},{"1398100355":["hashtag1","hashtag2"]},{"1398100369":["hashtag1","hashtag2"]},{"1398100360":["hashtag1","hashtag2"]},{"1398100363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398100367, 1398100352, 1398100355, 1398100369, 1398100360, 1398100363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82149887084961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:15:02.844492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/00/image_05122025_15_01_05_9754.jpg', '/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_25_9553.jpg', '/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_35_9557.jpg', '/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_55_9776.jpg', '/home/pi/Desktop/images/05122025/15/01/image_05122025_15_02_05_9656.jpg', '/home/pi/Desktop/images/05122025/15/02/image_05122025_15_02_35_10239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/00/image_05122025_15_01_05_9754.jpg
/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_25_9553.jpg
/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_35_9557.jpg
/home/pi/Desktop/images/05122025/15/01/image_05122025_15_01_55_9776.jpg
/home/pi/Desktop/images/05122025/15/01/image_05122025_15_02_05_9656.jpg
/home/pi/Desktop/images/05122025/15/02/image_05122025_15_02_35_10239.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100429","1398100428","1398100422","1398100431","1398100425","1398100415"],"photo_ids_order":["1398100415","1398100422","1398100425","1398100428","1398100429","1398100431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ce6ffa95488dfa2c725560f2e8cf35f.jpg","text":"TemporaryFile(/tmp/multipartBody18520862381608751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947763457,"filename":"image_05122025_15_02_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/5/fa71fa24a294e0fd6f070864267ec957.jpg","text":"TemporaryFile(/tmp/multipartBody3090940031992206675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947763457,"filename":"image_05122025_15_01_55_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa42cd809320e6793c6743945318e804.jpg","text":"TemporaryFile(/tmp/multipartBody582362124857146864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947763457,"filename":"image_05122025_15_01_25_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/5/e466344fa2aa0305a8bd215a7a986c06.jpg","text":"TemporaryFile(/tmp/multipartBody1503845894864650703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947763457,"filename":"image_05122025_15_02_35_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/5/5cb001588df26241d520dbade254f195.jpg","text":"TemporaryFile(/tmp/multipartBody4204994949769729103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947763457,"filename":"image_05122025_15_01_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/5/f78b8dd032ce11e77f368effaeb6db7e.jpg","text":"TemporaryFile(/tmp/multipartBody780184806867749903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947763457,"filename":"image_05122025_15_01_05_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100425","file1":"1398100422","file0":"1398100415","file4":"1398100429","file5":"1398100431","file3":"1398100428"},"map_files_photo_id_array":[{"photo_id":"1398100431","filename":"file5"},{"photo_id":"1398100425","filename":"file2"},{"photo_id":"1398100429","filename":"file4"},{"photo_id":"1398100422","filename":"file1"},{"photo_id":"1398100415","filename":"file0"},{"photo_id":"1398100428","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100429":["hashtag1","hashtag2"]},{"1398100428":["hashtag1","hashtag2"]},{"1398100422":["hashtag1","hashtag2"]},{"1398100431":["hashtag1","hashtag2"]},{"1398100425":["hashtag1","hashtag2"]},{"1398100415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100429, 1398100428, 1398100422, 1398100431, 1398100425, 1398100415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.643627643585205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:15:42.244782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_12_3624.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_14_2627.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_17_2795.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_21_3646.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_23_2721.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_32_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_12_3624.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_14_2627.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_17_2795.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_21_3646.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_23_2721.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_32_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":["1398100440","1398100443","1398100437","1398100442","1398100441","1398100444"],"photo_ids_order":["1398100437","1398100440","1398100441","1398100442","1398100443","1398100444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b0905fefaf2b1101eb66da1e8e2fe8d.jpg","text":"TemporaryFile(/tmp/multipartBody6999545139942681412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947803824,"filename":"image_31102025_19_58_14_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/5/3c06b1cd53ab6c44789733e2e3240aeb.jpg","text":"TemporaryFile(/tmp/multipartBody890161079436133231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947803824,"filename":"image_31102025_19_58_23_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/5/c1292dd0588fd9089ec5aa82bdf99050.jpg","text":"TemporaryFile(/tmp/multipartBody7956483103002472196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947803824,"filename":"image_31102025_19_58_12_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/5/4ef813407e5e44d2240f828234b51fae.jpg","text":"TemporaryFile(/tmp/multipartBody2495185695822173309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947803824,"filename":"image_31102025_19_58_21_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/5/679e1fc31713566ea060c610115d2096.jpg","text":"TemporaryFile(/tmp/multipartBody7767038716307640931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947803824,"filename":"image_31102025_19_58_17_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/5/47c6b3a3976d4d978f0d7647dcba95d9.jpg","text":"TemporaryFile(/tmp/multipartBody1589673899605013337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947803824,"filename":"image_31102025_19_58_32_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100441","file1":"1398100440","file0":"1398100437","file4":"1398100443","file5":"1398100444","file3":"1398100442"},"map_files_photo_id_array":[{"photo_id":"1398100444","filename":"file5"},{"photo_id":"1398100441","filename":"file2"},{"photo_id":"1398100443","filename":"file4"},{"photo_id":"1398100440","filename":"file1"},{"photo_id":"1398100437","filename":"file0"},{"photo_id":"1398100442","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398100440":["hashtag1","hashtag2"]},{"1398100443":["hashtag1","hashtag2"]},{"1398100437":["hashtag1","hashtag2"]},{"1398100442":["hashtag1","hashtag2"]},{"1398100441":["hashtag1","hashtag2"]},{"1398100444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398100440, 1398100443, 1398100437, 1398100442, 1398100441, 1398100444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77418279647827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:16:22.478223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/02/image_05122025_15_02_45_9581.jpg', '/home/pi/Desktop/images/05122025/15/02/image_05122025_15_02_55_10220.jpg', '/home/pi/Desktop/images/05122025/15/02/image_05122025_15_03_05_9824.jpg', '/home/pi/Desktop/images/05122025/15/03/image_05122025_15_03_15_10738.jpg', '/home/pi/Desktop/images/05122025/15/03/image_05122025_15_03_35_9583.jpg', '/home/pi/Desktop/images/05122025/15/03/image_05122025_15_03_46_10860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/02/image_05122025_15_02_45_9581.jpg
/home/pi/Desktop/images/05122025/15/02/image_05122025_15_02_55_10220.jpg
/home/pi/Desktop/images/05122025/15/02/image_05122025_15_03_05_9824.jpg
/home/pi/Desktop/images/05122025/15/03/image_05122025_15_03_15_10738.jpg
/home/pi/Desktop/images/05122025/15/03/image_05122025_15_03_35_9583.jpg
/home/pi/Desktop/images/05122025/15/03/image_05122025_15_03_46_10860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100470","1398100452","1398100461","1398100454","1398100456","1398100450"],"photo_ids_order":["1398100450","1398100452","1398100454","1398100456","1398100461","1398100470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/820703b65e76690f94c9083eb7409d16.jpg","text":"TemporaryFile(/tmp/multipartBody5640529408107383789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947843048,"filename":"image_05122025_15_03_46_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/52ae11902d6bef8bbb0e1371b31b6ff9.jpg","text":"TemporaryFile(/tmp/multipartBody8026329370189811812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947843048,"filename":"image_05122025_15_02_55_10220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/76da7983cac51fc47833320dff5da685.jpg","text":"TemporaryFile(/tmp/multipartBody4883362313994383250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947843048,"filename":"image_05122025_15_03_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/5/99e8ef3b97c5d098d769ce3555e41194.jpg","text":"TemporaryFile(/tmp/multipartBody8773894241383180097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947843048,"filename":"image_05122025_15_03_05_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b0c89558018c82ccfab5c21120d3fd9.jpg","text":"TemporaryFile(/tmp/multipartBody902230262639838950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947843048,"filename":"image_05122025_15_03_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/5/d59afdc95dee36f4216fc54c266f7577.jpg","text":"TemporaryFile(/tmp/multipartBody2485543748614845751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947843048,"filename":"image_05122025_15_02_45_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100454","file1":"1398100452","file0":"1398100450","file4":"1398100461","file5":"1398100470","file3":"1398100456"},"map_files_photo_id_array":[{"photo_id":"1398100470","filename":"file5"},{"photo_id":"1398100454","filename":"file2"},{"photo_id":"1398100461","filename":"file4"},{"photo_id":"1398100452","filename":"file1"},{"photo_id":"1398100450","filename":"file0"},{"photo_id":"1398100456","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100470":["hashtag1","hashtag2"]},{"1398100452":["hashtag1","hashtag2"]},{"1398100461":["hashtag1","hashtag2"]},{"1398100454":["hashtag1","hashtag2"]},{"1398100456":["hashtag1","hashtag2"]},{"1398100450":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100470, 1398100452, 1398100461, 1398100454, 1398100456, 1398100450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58730912208557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:17:03.183771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/03/image_05122025_15_03_55_9723.jpg', '/home/pi/Desktop/images/05122025/15/03/image_05122025_15_04_05_9819.jpg', '/home/pi/Desktop/images/05122025/15/04/image_05122025_15_04_15_9642.jpg', '/home/pi/Desktop/images/05122025/15/04/image_05122025_15_04_26_10706.jpg', '/home/pi/Desktop/images/05122025/15/04/image_05122025_15_04_35_9409.jpg', '/home/pi/Desktop/images/05122025/15/04/image_05122025_15_04_46_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/03/image_05122025_15_03_55_9723.jpg
/home/pi/Desktop/images/05122025/15/03/image_05122025_15_04_05_9819.jpg
/home/pi/Desktop/images/05122025/15/04/image_05122025_15_04_15_9642.jpg
/home/pi/Desktop/images/05122025/15/04/image_05122025_15_04_26_10706.jpg
/home/pi/Desktop/images/05122025/15/04/image_05122025_15_04_35_9409.jpg
/home/pi/Desktop/images/05122025/15/04/image_05122025_15_04_46_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100479","1398100481","1398100475","1398100480","1398100483","1398100477"],"photo_ids_order":["1398100475","1398100477","1398100479","1398100480","1398100481","1398100483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a34e2f586681c996b4b21f7a6cf3b674.jpg","text":"TemporaryFile(/tmp/multipartBody1913226207120006151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947883784,"filename":"image_05122025_15_04_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/5/ffac547288fc75ccbad834378219bf97.jpg","text":"TemporaryFile(/tmp/multipartBody5870280812243654085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947883784,"filename":"image_05122025_15_04_35_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/5/774ece1d0e924fe53439c557db6b943c.jpg","text":"TemporaryFile(/tmp/multipartBody6619075112155213171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947883784,"filename":"image_05122025_15_03_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/5/1f9b36c8bc6695dd70d4f524cbb06399.jpg","text":"TemporaryFile(/tmp/multipartBody5248784201818443293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947883784,"filename":"image_05122025_15_04_26_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/854ef9e852a4a133d57e6174bddede19.jpg","text":"TemporaryFile(/tmp/multipartBody3212666972224451792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947883784,"filename":"image_05122025_15_04_46_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/5/83a9cf60a825cb2bb2d0622cd5f963e2.jpg","text":"TemporaryFile(/tmp/multipartBody7459976999180191569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947883784,"filename":"image_05122025_15_04_05_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100479","file1":"1398100477","file0":"1398100475","file4":"1398100481","file5":"1398100483","file3":"1398100480"},"map_files_photo_id_array":[{"photo_id":"1398100483","filename":"file5"},{"photo_id":"1398100479","filename":"file2"},{"photo_id":"1398100481","filename":"file4"},{"photo_id":"1398100477","filename":"file1"},{"photo_id":"1398100475","filename":"file0"},{"photo_id":"1398100480","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100479":["hashtag1","hashtag2"]},{"1398100481":["hashtag1","hashtag2"]},{"1398100475":["hashtag1","hashtag2"]},{"1398100480":["hashtag1","hashtag2"]},{"1398100483":["hashtag1","hashtag2"]},{"1398100477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100479, 1398100481, 1398100475, 1398100480, 1398100483, 1398100477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.772674798965454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:17:42.604760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_35_2513.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_39_3638.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_41_2755.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_44_2624.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_47_2878.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_50_3510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_35_2513.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_39_3638.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_41_2755.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_44_2624.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_47_2878.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_50_3510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100525","1398100494","1398100532","1398100535","1398100489","1398100522"],"photo_ids_order":["1398100489","1398100494","1398100522","1398100525","1398100532","1398100535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5544193825036e5f5a0402fcf0cfccbe.jpg","text":"TemporaryFile(/tmp/multipartBody2232325414973093946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947924195,"filename":"image_31102025_19_58_44_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/5/585fdb2371795040b1ea6a8e3fcb9b0c.jpg","text":"TemporaryFile(/tmp/multipartBody1570046591038040873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947924195,"filename":"image_31102025_19_58_39_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/40af011cb6eb602cb409943aabff1703.jpg","text":"TemporaryFile(/tmp/multipartBody4113589022724857014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947924195,"filename":"image_31102025_19_58_47_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/5/0cd236a6c0c63e69e5795dad2f40e2f4.jpg","text":"TemporaryFile(/tmp/multipartBody8415625523611232259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947924195,"filename":"image_31102025_19_58_50_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87b106efb3e79ac974f337589f69cd01.jpg","text":"TemporaryFile(/tmp/multipartBody1515154546798341052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947924195,"filename":"image_31102025_19_58_35_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/64fc01436531e27677991bb224861ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8320638946969502015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764947924195,"filename":"image_31102025_19_58_41_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100522","file1":"1398100494","file0":"1398100489","file4":"1398100532","file5":"1398100535","file3":"1398100525"},"map_files_photo_id_array":[{"photo_id":"1398100535","filename":"file5"},{"photo_id":"1398100522","filename":"file2"},{"photo_id":"1398100532","filename":"file4"},{"photo_id":"1398100494","filename":"file1"},{"photo_id":"1398100489","filename":"file0"},{"photo_id":"1398100525","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398100525":["hashtag1","hashtag2"]},{"1398100494":["hashtag1","hashtag2"]},{"1398100532":["hashtag1","hashtag2"]},{"1398100535":["hashtag1","hashtag2"]},{"1398100489":["hashtag1","hashtag2"]},{"1398100522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398100525, 1398100494, 1398100532, 1398100535, 1398100489, 1398100522)","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 = 1398100522 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_41_2755.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 62.60790801048279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:19:03.649354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 16:19:12.727098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/48/image_02122025_21_48_35_9836.jpg', '/home/pi/Desktop/images/02122025/21/48/image_02122025_21_48_46_10509.jpg', '/home/pi/Desktop/images/02122025/21/49/image_02122025_21_49_15_9763.jpg', '/home/pi/Desktop/images/02122025/21/49/image_02122025_21_49_26_10710.jpg', '/home/pi/Desktop/images/02122025/21/51/image_02122025_21_52_05_9566.jpg', '/home/pi/Desktop/images/02122025/21/52/image_02122025_21_52_56_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/48/image_02122025_21_48_35_9836.jpg
/home/pi/Desktop/images/02122025/21/48/image_02122025_21_48_46_10509.jpg
/home/pi/Desktop/images/02122025/21/49/image_02122025_21_49_15_9763.jpg
/home/pi/Desktop/images/02122025/21/49/image_02122025_21_49_26_10710.jpg
/home/pi/Desktop/images/02122025/21/51/image_02122025_21_52_05_9566.jpg
/home/pi/Desktop/images/02122025/21/52/image_02122025_21_52_56_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100578","1398100566","1398100580","1398100574","1398100571","1398100568"],"photo_ids_order":["1398100566","1398100568","1398100571","1398100574","1398100578","1398100580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/48592578920048779e235f6293ff6b63.jpg","text":"TemporaryFile(/tmp/multipartBody8179637381293024882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948014563,"filename":"image_02122025_21_52_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/5/e4e41049a0a2abdd0236c3c879878ae8.jpg","text":"TemporaryFile(/tmp/multipartBody1108002095416841338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948014563,"filename":"image_02122025_21_48_35_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/5/d21f39246122928572001807e4db8750.jpg","text":"TemporaryFile(/tmp/multipartBody4208475958179963384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948014563,"filename":"image_02122025_21_52_56_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9272b165828581f66ee1f6dcc60538cc.jpg","text":"TemporaryFile(/tmp/multipartBody6225706360880129838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948014563,"filename":"image_02122025_21_49_26_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17aa2e3dcac227559d68dacb9b2fb841.jpg","text":"TemporaryFile(/tmp/multipartBody4205861670191774662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948014563,"filename":"image_02122025_21_49_15_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/5/bc1e78d1b0c72c4b40d716f1d8fbed5a.jpg","text":"TemporaryFile(/tmp/multipartBody4224177698014598453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948014563,"filename":"image_02122025_21_48_46_10509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100571","file1":"1398100568","file0":"1398100566","file4":"1398100578","file5":"1398100580","file3":"1398100574"},"map_files_photo_id_array":[{"photo_id":"1398100580","filename":"file5"},{"photo_id":"1398100571","filename":"file2"},{"photo_id":"1398100578","filename":"file4"},{"photo_id":"1398100568","filename":"file1"},{"photo_id":"1398100566","filename":"file0"},{"photo_id":"1398100574","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398100578":["hashtag1","hashtag2"]},{"1398100566":["hashtag1","hashtag2"]},{"1398100580":["hashtag1","hashtag2"]},{"1398100574":["hashtag1","hashtag2"]},{"1398100571":["hashtag1","hashtag2"]},{"1398100568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398100578, 1398100566, 1398100580, 1398100574, 1398100571, 1398100568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.075374603271484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:20:02.366221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 16:20:11.891718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/21/56/image_02122025_21_56_25_9940.jpg', '/home/pi/Desktop/images/02122025/22/06/image_02122025_22_06_35_10855.jpg', '/home/pi/Desktop/images/02122025/22/06/image_02122025_22_07_05_9698.jpg', '/home/pi/Desktop/images/02122025/22/07/image_02122025_22_07_55_9687.jpg', '/home/pi/Desktop/images/02122025/22/11/image_02122025_22_11_44_10016.jpg', '/home/pi/Desktop/images/02122025/22/11/image_02122025_22_11_54_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/21/56/image_02122025_21_56_25_9940.jpg
/home/pi/Desktop/images/02122025/22/06/image_02122025_22_06_35_10855.jpg
/home/pi/Desktop/images/02122025/22/06/image_02122025_22_07_05_9698.jpg
/home/pi/Desktop/images/02122025/22/07/image_02122025_22_07_55_9687.jpg
/home/pi/Desktop/images/02122025/22/11/image_02122025_22_11_44_10016.jpg
/home/pi/Desktop/images/02122025/22/11/image_02122025_22_11_54_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100837","1398100800","1398100877","1398100907","1398100912","1398100762"],"photo_ids_order":["1398100762","1398100800","1398100837","1398100877","1398100907","1398100912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d3bbf8b361abbbecc639b18141b7bad5.jpg","text":"TemporaryFile(/tmp/multipartBody6949242625016791951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948073659,"filename":"image_02122025_22_07_05_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/de943f95fd6a2459b79c71e710b97fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7953465135044064609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948073659,"filename":"image_02122025_22_06_35_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/5/7d0f9d45475ab2c2390130e25c09f4eb.jpg","text":"TemporaryFile(/tmp/multipartBody6641814981888965590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948073659,"filename":"image_02122025_22_07_55_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/5/4e53481ff27c57af7082f7a1257057d2.jpg","text":"TemporaryFile(/tmp/multipartBody8758434378976876888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948073659,"filename":"image_02122025_22_11_44_10016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/38b76005f82ac7c5891206d79be2c36e.jpg","text":"TemporaryFile(/tmp/multipartBody8025110396157694200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948073659,"filename":"image_02122025_22_11_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/5/24c2bac8d99774241ae2d2246dc9fd84.jpg","text":"TemporaryFile(/tmp/multipartBody604427076546912139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948073659,"filename":"image_02122025_21_56_25_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100837","file1":"1398100800","file0":"1398100762","file4":"1398100907","file5":"1398100912","file3":"1398100877"},"map_files_photo_id_array":[{"photo_id":"1398100912","filename":"file5"},{"photo_id":"1398100837","filename":"file2"},{"photo_id":"1398100907","filename":"file4"},{"photo_id":"1398100800","filename":"file1"},{"photo_id":"1398100762","filename":"file0"},{"photo_id":"1398100877","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398100837":["hashtag1","hashtag2"]},{"1398100800":["hashtag1","hashtag2"]},{"1398100877":["hashtag1","hashtag2"]},{"1398100907":["hashtag1","hashtag2"]},{"1398100912":["hashtag1","hashtag2"]},{"1398100762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398100837, 1398100800, 1398100877, 1398100907, 1398100912, 1398100762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93504333496094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:21:02.551699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/05/image_05122025_15_05_05_9647.jpg', '/home/pi/Desktop/images/05122025/15/05/image_05122025_15_05_16_10697.jpg', '/home/pi/Desktop/images/05122025/15/05/image_05122025_15_05_25_9698.jpg', '/home/pi/Desktop/images/05122025/15/05/image_05122025_15_05_45_10056.jpg', '/home/pi/Desktop/images/05122025/15/05/image_05122025_15_05_55_9689.jpg', '/home/pi/Desktop/images/05122025/15/05/image_05122025_15_06_05_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/05/image_05122025_15_05_05_9647.jpg
/home/pi/Desktop/images/05122025/15/05/image_05122025_15_05_16_10697.jpg
/home/pi/Desktop/images/05122025/15/05/image_05122025_15_05_25_9698.jpg
/home/pi/Desktop/images/05122025/15/05/image_05122025_15_05_45_10056.jpg
/home/pi/Desktop/images/05122025/15/05/image_05122025_15_05_55_9689.jpg
/home/pi/Desktop/images/05122025/15/05/image_05122025_15_06_05_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398100953","1398100959","1398100955","1398100949","1398100957","1398100945"],"photo_ids_order":["1398100945","1398100949","1398100953","1398100955","1398100957","1398100959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab6a95482d65cd5225fe9eb05d439c0f.jpg","text":"TemporaryFile(/tmp/multipartBody917864667410847678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948125803,"filename":"image_05122025_15_05_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/5/fb0af0fc5060b0df8f8c976c533d7cd0.jpg","text":"TemporaryFile(/tmp/multipartBody7747004030248581190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948125803,"filename":"image_05122025_15_06_05_10409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f9f8ffe336db5e923e7bfd1c4199abb.jpg","text":"TemporaryFile(/tmp/multipartBody8751931172646315479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948125803,"filename":"image_05122025_15_05_45_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/5/b866b4a3b1a4f8375d436878ebc21194.jpg","text":"TemporaryFile(/tmp/multipartBody5301575192613045417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948125803,"filename":"image_05122025_15_05_16_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/5/274937d1341f92e2aa02c43548599b73.jpg","text":"TemporaryFile(/tmp/multipartBody1173888286948129431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948125803,"filename":"image_05122025_15_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/5/db118d4ff8cb9eaad5dbc80cff4e96d6.jpg","text":"TemporaryFile(/tmp/multipartBody5479132639440105558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948125803,"filename":"image_05122025_15_05_05_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100953","file1":"1398100949","file0":"1398100945","file4":"1398100957","file5":"1398100959","file3":"1398100955"},"map_files_photo_id_array":[{"photo_id":"1398100959","filename":"file5"},{"photo_id":"1398100953","filename":"file2"},{"photo_id":"1398100957","filename":"file4"},{"photo_id":"1398100949","filename":"file1"},{"photo_id":"1398100945","filename":"file0"},{"photo_id":"1398100955","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398100953":["hashtag1","hashtag2"]},{"1398100959":["hashtag1","hashtag2"]},{"1398100955":["hashtag1","hashtag2"]},{"1398100949":["hashtag1","hashtag2"]},{"1398100957":["hashtag1","hashtag2"]},{"1398100945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398100953, 1398100959, 1398100955, 1398100949, 1398100957, 1398100945)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.55139970779419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:22:02.337474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_22_17038.jpg', '/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_25_2553.jpg', '/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_36_10806.jpg', '/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_45_9687.jpg', '/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_55_9938.jpg', '/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_05_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_22_17038.jpg
/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_25_2553.jpg
/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_36_10806.jpg
/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_45_9687.jpg
/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_55_9938.jpg
/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_05_9777.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5014386177062988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 16:22:11.836757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/22/14/image_02122025_22_14_54_9654.jpg', '/home/pi/Desktop/images/02122025/22/17/image_02122025_22_17_54_9749.jpg', '/home/pi/Desktop/images/02122025/22/17/image_02122025_22_18_04_9637.jpg', '/home/pi/Desktop/images/02122025/22/18/image_02122025_22_18_14_10803.jpg', '/home/pi/Desktop/images/02122025/22/18/image_02122025_22_18_24_9873.jpg', '/home/pi/Desktop/images/02122025/22/19/image_02122025_22_19_34_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/22/14/image_02122025_22_14_54_9654.jpg
/home/pi/Desktop/images/02122025/22/17/image_02122025_22_17_54_9749.jpg
/home/pi/Desktop/images/02122025/22/17/image_02122025_22_18_04_9637.jpg
/home/pi/Desktop/images/02122025/22/18/image_02122025_22_18_14_10803.jpg
/home/pi/Desktop/images/02122025/22/18/image_02122025_22_18_24_9873.jpg
/home/pi/Desktop/images/02122025/22/19/image_02122025_22_19_34_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":["1398100992","1398100986","1398100989","1398100980","1398100983","1398100977"],"photo_ids_order":["1398100977","1398100980","1398100983","1398100986","1398100989","1398100992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2193185a175a8d727906c3bc36cd9e2d.jpg","text":"TemporaryFile(/tmp/multipartBody2253731972469084760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948193613,"filename":"image_02122025_22_19_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/5/5c1ef81045b4bf0fff774eb5bfe8b146.jpg","text":"TemporaryFile(/tmp/multipartBody7283470777976242668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948193613,"filename":"image_02122025_22_18_14_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/5/e63fe5815774150c22962511977c4e74.jpg","text":"TemporaryFile(/tmp/multipartBody5157209419439151862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948193613,"filename":"image_02122025_22_18_24_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/5/687d8bfeb7be302e9141b0cb6195a763.jpg","text":"TemporaryFile(/tmp/multipartBody7602022664296566127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948193613,"filename":"image_02122025_22_17_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/5/020d8dfa596912f5fb05c5da0de7cc7e.jpg","text":"TemporaryFile(/tmp/multipartBody840320906635777923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948193613,"filename":"image_02122025_22_18_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/67d4b50c51ae6f16fa1ed846478a00dd.jpg","text":"TemporaryFile(/tmp/multipartBody6111573707086440715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948193613,"filename":"image_02122025_22_14_54_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398100983","file1":"1398100980","file0":"1398100977","file4":"1398100989","file5":"1398100992","file3":"1398100986"},"map_files_photo_id_array":[{"photo_id":"1398100992","filename":"file5"},{"photo_id":"1398100983","filename":"file2"},{"photo_id":"1398100989","filename":"file4"},{"photo_id":"1398100980","filename":"file1"},{"photo_id":"1398100977","filename":"file0"},{"photo_id":"1398100986","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398100992":["hashtag1","hashtag2"]},{"1398100986":["hashtag1","hashtag2"]},{"1398100989":["hashtag1","hashtag2"]},{"1398100980":["hashtag1","hashtag2"]},{"1398100983":["hashtag1","hashtag2"]},{"1398100977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398100992, 1398100986, 1398100989, 1398100980, 1398100983, 1398100977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83699011802673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:23:02.908768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_22_17038.jpg', '/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_25_2553.jpg', '/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_36_10806.jpg', '/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_45_9687.jpg', '/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_55_9938.jpg', '/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_05_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_22_17038.jpg
/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_25_2553.jpg
/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_36_10806.jpg
/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_45_9687.jpg
/home/pi/Desktop/images/05122025/15/06/image_05122025_15_06_55_9938.jpg
/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_05_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101010","1398101004","1398101000","1398101006","1398101008","1398101002"],"photo_ids_order":["1398101000","1398101002","1398101004","1398101006","1398101008","1398101010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4ee936d3073e0ff80f3bd811ce29bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5147532448934347541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948243501,"filename":"image_05122025_15_07_05_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bce8b1628d3a946eb17b21b9353d84a5.jpg","text":"TemporaryFile(/tmp/multipartBody7738279639231834354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948243501,"filename":"image_05122025_15_06_36_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/5/56313725fbaaa98b527f5fb5df385e0c.jpg","text":"TemporaryFile(/tmp/multipartBody6630596135172416814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948243501,"filename":"image_05122025_15_06_22_17038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/48f862a63fa180dbcb2d358e76b4927b.jpg","text":"TemporaryFile(/tmp/multipartBody8910908841732417507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948243501,"filename":"image_05122025_15_06_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/5/fde0c16d68cd3cc23ea00d2f8c987b1b.jpg","text":"TemporaryFile(/tmp/multipartBody6387710176418217860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948243501,"filename":"image_05122025_15_06_55_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/5/5cb10145780200c125fbc89dcc044751.jpg","text":"TemporaryFile(/tmp/multipartBody7850896410363896677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948243501,"filename":"image_05122025_15_06_25_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101004","file1":"1398101002","file0":"1398101000","file4":"1398101008","file5":"1398101010","file3":"1398101006"},"map_files_photo_id_array":[{"photo_id":"1398101010","filename":"file5"},{"photo_id":"1398101004","filename":"file2"},{"photo_id":"1398101008","filename":"file4"},{"photo_id":"1398101002","filename":"file1"},{"photo_id":"1398101000","filename":"file0"},{"photo_id":"1398101006","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101010":["hashtag1","hashtag2"]},{"1398101004":["hashtag1","hashtag2"]},{"1398101000":["hashtag1","hashtag2"]},{"1398101006":["hashtag1","hashtag2"]},{"1398101008":["hashtag1","hashtag2"]},{"1398101002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101010, 1398101004, 1398101000, 1398101006, 1398101008, 1398101002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.822845697402954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:23:42.273179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_53_2553.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_57_3659.jpg', '/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_59_2613.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_02_2642.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_05_3579.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_08_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_53_2553.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_57_3659.jpg
/home/pi/Desktop/images/31102025/19/58/image_31102025_19_58_59_2613.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_02_2642.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_05_3579.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_08_2569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101040","1398101037","1398101016","1398101025","1398101039","1398101038"],"photo_ids_order":["1398101016","1398101025","1398101037","1398101038","1398101039","1398101040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6715eb94379820cb37481d09cff6f034.jpg","text":"TemporaryFile(/tmp/multipartBody8625732411893919773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948283811,"filename":"image_31102025_19_59_08_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/97298ed9fca6098fcc3dff144b9405ae.jpg","text":"TemporaryFile(/tmp/multipartBody4078118827008878206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948283811,"filename":"image_31102025_19_58_59_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/5/fe5cd802bb5a4fdb355d0b4782a32542.jpg","text":"TemporaryFile(/tmp/multipartBody4968487145628644347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948283811,"filename":"image_31102025_19_58_53_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/5/065ae3b7049f2b2edbbf747edfcc44e2.jpg","text":"TemporaryFile(/tmp/multipartBody895857891539416304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948283811,"filename":"image_31102025_19_58_57_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/5/c5a2f75bf7b2eeea53898aacc3357e67.jpg","text":"TemporaryFile(/tmp/multipartBody956472493161879051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948283811,"filename":"image_31102025_19_59_05_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e2472f33fe0ebb3f8ff5edacd0e20d0.jpg","text":"TemporaryFile(/tmp/multipartBody7040751961292057764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948283811,"filename":"image_31102025_19_59_02_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101037","file1":"1398101025","file0":"1398101016","file4":"1398101039","file5":"1398101040","file3":"1398101038"},"map_files_photo_id_array":[{"photo_id":"1398101040","filename":"file5"},{"photo_id":"1398101037","filename":"file2"},{"photo_id":"1398101039","filename":"file4"},{"photo_id":"1398101025","filename":"file1"},{"photo_id":"1398101016","filename":"file0"},{"photo_id":"1398101038","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398101040":["hashtag1","hashtag2"]},{"1398101037":["hashtag1","hashtag2"]},{"1398101016":["hashtag1","hashtag2"]},{"1398101025":["hashtag1","hashtag2"]},{"1398101039":["hashtag1","hashtag2"]},{"1398101038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398101040, 1398101037, 1398101016, 1398101025, 1398101039, 1398101038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.061700105667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:24:22.606277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_15_9764.jpg', '/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_25_10602.jpg', '/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_35_9583.jpg', '/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_45_10618.jpg', '/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_55_9493.jpg', '/home/pi/Desktop/images/05122025/15/07/image_05122025_15_08_05_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_15_9764.jpg
/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_25_10602.jpg
/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_35_9583.jpg
/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_45_10618.jpg
/home/pi/Desktop/images/05122025/15/07/image_05122025_15_07_55_9493.jpg
/home/pi/Desktop/images/05122025/15/07/image_05122025_15_08_05_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":["1398101052","1398101049","1398101046","1398101054","1398101056","1398101059"],"photo_ids_order":["1398101046","1398101049","1398101052","1398101054","1398101056","1398101059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e734c614aa1afb96a148179f61e2547a.jpg","text":"TemporaryFile(/tmp/multipartBody7682022206903272255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948323177,"filename":"image_05122025_15_07_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/5/1f93dec8aaa7f3060208d7003cd5b452.jpg","text":"TemporaryFile(/tmp/multipartBody6539162483383500865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948323177,"filename":"image_05122025_15_07_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e744ce88185f5bbdf57a0179a22d4c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5808925623987493130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948323177,"filename":"image_05122025_15_07_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/5/c516156a1044f306e3d21c70a2804232.jpg","text":"TemporaryFile(/tmp/multipartBody6970926796786252099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948323177,"filename":"image_05122025_15_07_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/5/bd92646c6e499383d8c95b759e2043ed.jpg","text":"TemporaryFile(/tmp/multipartBody1832192318436207336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948323177,"filename":"image_05122025_15_07_55_9493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8eeac2c4039ac544bc39d0ff066c3127.jpg","text":"TemporaryFile(/tmp/multipartBody9140582027444074595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948323177,"filename":"image_05122025_15_08_05_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101052","file1":"1398101049","file0":"1398101046","file4":"1398101056","file5":"1398101059","file3":"1398101054"},"map_files_photo_id_array":[{"photo_id":"1398101059","filename":"file5"},{"photo_id":"1398101052","filename":"file2"},{"photo_id":"1398101056","filename":"file4"},{"photo_id":"1398101049","filename":"file1"},{"photo_id":"1398101046","filename":"file0"},{"photo_id":"1398101054","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101052":["hashtag1","hashtag2"]},{"1398101049":["hashtag1","hashtag2"]},{"1398101046":["hashtag1","hashtag2"]},{"1398101054":["hashtag1","hashtag2"]},{"1398101056":["hashtag1","hashtag2"]},{"1398101059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101052, 1398101049, 1398101046, 1398101054, 1398101056, 1398101059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36989116668701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:25:03.453511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/08/image_05122025_15_08_15_10650.jpg', '/home/pi/Desktop/images/05122025/15/08/image_05122025_15_08_25_9700.jpg', '/home/pi/Desktop/images/05122025/15/08/image_05122025_15_08_35_9640.jpg', '/home/pi/Desktop/images/05122025/15/08/image_05122025_15_08_45_10647.jpg', '/home/pi/Desktop/images/05122025/15/08/image_05122025_15_08_55_9594.jpg', '/home/pi/Desktop/images/05122025/15/08/image_05122025_15_09_05_10497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/08/image_05122025_15_08_15_10650.jpg
/home/pi/Desktop/images/05122025/15/08/image_05122025_15_08_25_9700.jpg
/home/pi/Desktop/images/05122025/15/08/image_05122025_15_08_35_9640.jpg
/home/pi/Desktop/images/05122025/15/08/image_05122025_15_08_45_10647.jpg
/home/pi/Desktop/images/05122025/15/08/image_05122025_15_08_55_9594.jpg
/home/pi/Desktop/images/05122025/15/08/image_05122025_15_09_05_10497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101104","1398101099","1398101075","1398101097","1398101101","1398101091"],"photo_ids_order":["1398101075","1398101091","1398101097","1398101099","1398101101","1398101104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/83952fe568996ed79eaf937d87998655.jpg","text":"TemporaryFile(/tmp/multipartBody8849205367246669812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948364080,"filename":"image_05122025_15_09_05_10497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0914ce70c24aa6f75e59d7e481103fda.jpg","text":"TemporaryFile(/tmp/multipartBody4317012149828451129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948364080,"filename":"image_05122025_15_08_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/5/848d66eacfefc47c4cf440a405679916.jpg","text":"TemporaryFile(/tmp/multipartBody8939418330217227997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948364080,"filename":"image_05122025_15_08_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/5/68d6029096d050e8abdecf05b07ce922.jpg","text":"TemporaryFile(/tmp/multipartBody4864138497389547047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948364080,"filename":"image_05122025_15_08_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/5/eb1579e70b1971079c2fdb4709fa6dc8.jpg","text":"TemporaryFile(/tmp/multipartBody629772724515156389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948364080,"filename":"image_05122025_15_08_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/5/481f610553537632da1af7c997ad50f7.jpg","text":"TemporaryFile(/tmp/multipartBody4937759870154674057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948364080,"filename":"image_05122025_15_08_25_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101097","file1":"1398101091","file0":"1398101075","file4":"1398101101","file5":"1398101104","file3":"1398101099"},"map_files_photo_id_array":[{"photo_id":"1398101104","filename":"file5"},{"photo_id":"1398101097","filename":"file2"},{"photo_id":"1398101101","filename":"file4"},{"photo_id":"1398101091","filename":"file1"},{"photo_id":"1398101075","filename":"file0"},{"photo_id":"1398101099","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101104":["hashtag1","hashtag2"]},{"1398101099":["hashtag1","hashtag2"]},{"1398101075":["hashtag1","hashtag2"]},{"1398101097":["hashtag1","hashtag2"]},{"1398101101":["hashtag1","hashtag2"]},{"1398101091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101104, 1398101099, 1398101075, 1398101097, 1398101101, 1398101091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.960609674453735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:25:42.687492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_14_2634.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_20_2631.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_23_3574.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_26_2596.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_29_3657.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_35_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_14_2634.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_20_2631.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_23_3574.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_26_2596.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_29_3657.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_35_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101115","1398101118","1398101114","1398101110","1398101113","1398101116"],"photo_ids_order":["1398101110","1398101113","1398101114","1398101115","1398101116","1398101118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/56a3ff588ec618c86fc7b95af6c2eb1b.jpg","text":"TemporaryFile(/tmp/multipartBody463233194265894187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948404283,"filename":"image_31102025_19_59_26_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/5/aafbd135bba6ddf74fa0d022284f4bb6.jpg","text":"TemporaryFile(/tmp/multipartBody7642646700482333841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948404283,"filename":"image_31102025_19_59_35_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/5/c604edc5c17bef7e79b1f14eb90ac6b2.jpg","text":"TemporaryFile(/tmp/multipartBody4785679615256890851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948404283,"filename":"image_31102025_19_59_23_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/5/8be3908debcbe2a2a1cbe8c37738b384.jpg","text":"TemporaryFile(/tmp/multipartBody4675901262208905574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948404283,"filename":"image_31102025_19_59_14_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/5/8f276261311078d1d77a905b0c57c74d.jpg","text":"TemporaryFile(/tmp/multipartBody3263469009485663651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948404283,"filename":"image_31102025_19_59_20_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/5/b4554d659fc62410bc2887af49b51632.jpg","text":"TemporaryFile(/tmp/multipartBody8452985955629326469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948404283,"filename":"image_31102025_19_59_29_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101114","file1":"1398101113","file0":"1398101110","file4":"1398101116","file5":"1398101118","file3":"1398101115"},"map_files_photo_id_array":[{"photo_id":"1398101118","filename":"file5"},{"photo_id":"1398101114","filename":"file2"},{"photo_id":"1398101116","filename":"file4"},{"photo_id":"1398101113","filename":"file1"},{"photo_id":"1398101110","filename":"file0"},{"photo_id":"1398101115","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398101115":["hashtag1","hashtag2"]},{"1398101118":["hashtag1","hashtag2"]},{"1398101114":["hashtag1","hashtag2"]},{"1398101110":["hashtag1","hashtag2"]},{"1398101113":["hashtag1","hashtag2"]},{"1398101116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398101115, 1398101118, 1398101114, 1398101110, 1398101113, 1398101116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31801795959473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 16:26:32.055447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/22/21/image_02122025_22_21_25_9776.jpg', '/home/pi/Desktop/images/02122025/22/21/image_02122025_22_21_55_9864.jpg', '/home/pi/Desktop/images/02122025/22/21/image_02122025_22_22_05_10062.jpg', '/home/pi/Desktop/images/02122025/22/25/image_02122025_22_25_24_10887.jpg', '/home/pi/Desktop/images/02122025/22/25/image_02122025_22_25_54_9931.jpg', '/home/pi/Desktop/images/02122025/22/25/image_02122025_22_26_04_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/22/21/image_02122025_22_21_25_9776.jpg
/home/pi/Desktop/images/02122025/22/21/image_02122025_22_21_55_9864.jpg
/home/pi/Desktop/images/02122025/22/21/image_02122025_22_22_05_10062.jpg
/home/pi/Desktop/images/02122025/22/25/image_02122025_22_25_24_10887.jpg
/home/pi/Desktop/images/02122025/22/25/image_02122025_22_25_54_9931.jpg
/home/pi/Desktop/images/02122025/22/25/image_02122025_22_26_04_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":["1398101154","1398101127","1398101177","1398101129","1398101131","1398101178"],"photo_ids_order":["1398101127","1398101129","1398101131","1398101154","1398101177","1398101178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51e3b4e9bf13ed86e18fb35d29d25f63.jpg","text":"TemporaryFile(/tmp/multipartBody7971467295418158034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948454171,"filename":"image_02122025_22_25_24_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/5/206265fa219a5056996e4afe2c90eb61.jpg","text":"TemporaryFile(/tmp/multipartBody4437747605459978300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948454171,"filename":"image_02122025_22_21_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/5/e32d7c36e8095d36664d0912cb1ef95f.jpg","text":"TemporaryFile(/tmp/multipartBody4377982248594311091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948454171,"filename":"image_02122025_22_25_54_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/542edfb192893c103cfac64e4104bc3e.jpg","text":"TemporaryFile(/tmp/multipartBody631899041779126262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948454171,"filename":"image_02122025_22_21_55_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/5/9d085d156b6d7d94b7baf37ada2c7b35.jpg","text":"TemporaryFile(/tmp/multipartBody5810678677995183644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948454171,"filename":"image_02122025_22_22_05_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/be178cc0dc73d12c79d286a9610c2f80.jpg","text":"TemporaryFile(/tmp/multipartBody980586064269111333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948454171,"filename":"image_02122025_22_26_04_9879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101131","file1":"1398101129","file0":"1398101127","file4":"1398101177","file5":"1398101178","file3":"1398101154"},"map_files_photo_id_array":[{"photo_id":"1398101178","filename":"file5"},{"photo_id":"1398101131","filename":"file2"},{"photo_id":"1398101177","filename":"file4"},{"photo_id":"1398101129","filename":"file1"},{"photo_id":"1398101127","filename":"file0"},{"photo_id":"1398101154","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398101154":["hashtag1","hashtag2"]},{"1398101127":["hashtag1","hashtag2"]},{"1398101177":["hashtag1","hashtag2"]},{"1398101129":["hashtag1","hashtag2"]},{"1398101131":["hashtag1","hashtag2"]},{"1398101178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398101154, 1398101127, 1398101177, 1398101129, 1398101131, 1398101178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90325093269348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 16:27:12.233260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/22/26/image_02122025_22_26_14_10186.jpg', '/home/pi/Desktop/images/02122025/22/26/image_02122025_22_26_44_9946.jpg', '/home/pi/Desktop/images/02122025/22/27/image_02122025_22_27_24_9873.jpg', '/home/pi/Desktop/images/02122025/22/27/image_02122025_22_27_34_9725.jpg', '/home/pi/Desktop/images/02122025/22/27/image_02122025_22_28_04_9781.jpg', '/home/pi/Desktop/images/02122025/22/28/image_02122025_22_29_04_9995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/22/26/image_02122025_22_26_14_10186.jpg
/home/pi/Desktop/images/02122025/22/26/image_02122025_22_26_44_9946.jpg
/home/pi/Desktop/images/02122025/22/27/image_02122025_22_27_24_9873.jpg
/home/pi/Desktop/images/02122025/22/27/image_02122025_22_27_34_9725.jpg
/home/pi/Desktop/images/02122025/22/27/image_02122025_22_28_04_9781.jpg
/home/pi/Desktop/images/02122025/22/28/image_02122025_22_29_04_9995.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101198","1398101186","1398101191","1398101194","1398101188","1398101196"],"photo_ids_order":["1398101186","1398101188","1398101191","1398101194","1398101196","1398101198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7af6320e6f97de28748fdf0a51ac0aac.jpg","text":"TemporaryFile(/tmp/multipartBody2526141067616332245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948494240,"filename":"image_02122025_22_29_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/5/1d6e343aa03eace735b10209d4709a4a.jpg","text":"TemporaryFile(/tmp/multipartBody4732317687995355611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948494240,"filename":"image_02122025_22_26_14_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/5/6f01ec41dfa5e44c3ed943111f44fbbd.jpg","text":"TemporaryFile(/tmp/multipartBody6822643394612911437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948494240,"filename":"image_02122025_22_27_24_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/5/f3426baab3b955ba826e1a4d06b16a48.jpg","text":"TemporaryFile(/tmp/multipartBody8535518816871383137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948494240,"filename":"image_02122025_22_27_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/187608b0fd532f0760d3d3d881468323.jpg","text":"TemporaryFile(/tmp/multipartBody2857445212991555949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948494240,"filename":"image_02122025_22_26_44_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/5/b7ca15b7b16c4dc8f715014dde789331.jpg","text":"TemporaryFile(/tmp/multipartBody2428243682222825046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948494240,"filename":"image_02122025_22_28_04_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101191","file1":"1398101188","file0":"1398101186","file4":"1398101196","file5":"1398101198","file3":"1398101194"},"map_files_photo_id_array":[{"photo_id":"1398101198","filename":"file5"},{"photo_id":"1398101191","filename":"file2"},{"photo_id":"1398101196","filename":"file4"},{"photo_id":"1398101188","filename":"file1"},{"photo_id":"1398101186","filename":"file0"},{"photo_id":"1398101194","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398101198":["hashtag1","hashtag2"]},{"1398101186":["hashtag1","hashtag2"]},{"1398101191":["hashtag1","hashtag2"]},{"1398101194":["hashtag1","hashtag2"]},{"1398101188":["hashtag1","hashtag2"]},{"1398101196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398101198, 1398101186, 1398101191, 1398101194, 1398101188, 1398101196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04772114753723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:28:02.954012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/09/image_05122025_15_09_15_9945.jpg', '/home/pi/Desktop/images/05122025/15/09/image_05122025_15_09_25_9336.jpg', '/home/pi/Desktop/images/05122025/15/09/image_05122025_15_09_35_10492.jpg', '/home/pi/Desktop/images/05122025/15/09/image_05122025_15_09_45_9476.jpg', '/home/pi/Desktop/images/05122025/15/09/image_05122025_15_09_56_10785.jpg', '/home/pi/Desktop/images/05122025/15/09/image_05122025_15_10_05_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/09/image_05122025_15_09_15_9945.jpg
/home/pi/Desktop/images/05122025/15/09/image_05122025_15_09_25_9336.jpg
/home/pi/Desktop/images/05122025/15/09/image_05122025_15_09_35_10492.jpg
/home/pi/Desktop/images/05122025/15/09/image_05122025_15_09_45_9476.jpg
/home/pi/Desktop/images/05122025/15/09/image_05122025_15_09_56_10785.jpg
/home/pi/Desktop/images/05122025/15/09/image_05122025_15_10_05_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":["1398101214","1398101202","1398101211","1398101208","1398101201","1398101204"],"photo_ids_order":["1398101201","1398101202","1398101204","1398101208","1398101211","1398101214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/770708d619ea4406d3a1d07377c09cc9.jpg","text":"TemporaryFile(/tmp/multipartBody2822577166451703599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948543567,"filename":"image_05122025_15_10_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/5/2bcdb8e8921f247f1330f1f7b4ddcad7.jpg","text":"TemporaryFile(/tmp/multipartBody792047047960818344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948543567,"filename":"image_05122025_15_09_25_9336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ae9fe6443c97d6b27ac4a4059f9a9a0c.jpg","text":"TemporaryFile(/tmp/multipartBody9087008056188866558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948543567,"filename":"image_05122025_15_09_56_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/5/ef257f842c8d9e9d3ca7e6263e07a575.jpg","text":"TemporaryFile(/tmp/multipartBody568524011622309689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948543567,"filename":"image_05122025_15_09_45_9476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2cd108ac5122d873d45f3454c654b452.jpg","text":"TemporaryFile(/tmp/multipartBody8547704127085304077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948543567,"filename":"image_05122025_15_09_15_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e7e95e81147c091a356d98e20a80a28.jpg","text":"TemporaryFile(/tmp/multipartBody8186008463104005314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948543567,"filename":"image_05122025_15_09_35_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101204","file1":"1398101202","file0":"1398101201","file4":"1398101211","file5":"1398101214","file3":"1398101208"},"map_files_photo_id_array":[{"photo_id":"1398101214","filename":"file5"},{"photo_id":"1398101204","filename":"file2"},{"photo_id":"1398101211","filename":"file4"},{"photo_id":"1398101202","filename":"file1"},{"photo_id":"1398101201","filename":"file0"},{"photo_id":"1398101208","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101214":["hashtag1","hashtag2"]},{"1398101202":["hashtag1","hashtag2"]},{"1398101211":["hashtag1","hashtag2"]},{"1398101208":["hashtag1","hashtag2"]},{"1398101201":["hashtag1","hashtag2"]},{"1398101204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101214, 1398101202, 1398101211, 1398101208, 1398101201, 1398101204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21224665641785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:28:42.577326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_38_3667.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_44_2552.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_47_3715.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_50_2639.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_53_2601.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_56_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_38_3667.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_44_2552.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_47_3715.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_50_2639.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_53_2601.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_56_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101241","1398101243","1398101231","1398101240","1398101236","1398101245"],"photo_ids_order":["1398101231","1398101236","1398101240","1398101241","1398101243","1398101245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5261aebe94cb037bd56588ad7e61aa5a.jpg","text":"TemporaryFile(/tmp/multipartBody8686932808406698048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948594236,"filename":"image_31102025_19_59_50_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/5/cfa360a63e72e572e87c22907dce9886.jpg","text":"TemporaryFile(/tmp/multipartBody5115103250385904922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948594236,"filename":"image_31102025_19_59_53_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/5/01cd43b0ce5495878a0b663320b42c69.jpg","text":"TemporaryFile(/tmp/multipartBody8317816893378148360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948594236,"filename":"image_31102025_19_59_38_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/5/24bb1189fd9676b7f5691ac08a7e7438.jpg","text":"TemporaryFile(/tmp/multipartBody787779831209248255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948594236,"filename":"image_31102025_19_59_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/5/91701fa9f613548307c217801e2eb3e2.jpg","text":"TemporaryFile(/tmp/multipartBody2864204859125142678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948594236,"filename":"image_31102025_19_59_44_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/5/84e2b45cb44cce1ba727d830d6b886d3.jpg","text":"TemporaryFile(/tmp/multipartBody3104833288348788125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948594236,"filename":"image_31102025_19_59_56_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101240","file1":"1398101236","file0":"1398101231","file4":"1398101243","file5":"1398101245","file3":"1398101241"},"map_files_photo_id_array":[{"photo_id":"1398101245","filename":"file5"},{"photo_id":"1398101240","filename":"file2"},{"photo_id":"1398101243","filename":"file4"},{"photo_id":"1398101236","filename":"file1"},{"photo_id":"1398101231","filename":"file0"},{"photo_id":"1398101241","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398101241":["hashtag1","hashtag2"]},{"1398101243":["hashtag1","hashtag2"]},{"1398101231":["hashtag1","hashtag2"]},{"1398101240":["hashtag1","hashtag2"]},{"1398101236":["hashtag1","hashtag2"]},{"1398101245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398101241, 1398101243, 1398101231, 1398101240, 1398101236, 1398101245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.359785318374634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 16:29:32.794675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/22/29/image_02122025_22_29_34_9973.jpg', '/home/pi/Desktop/images/02122025/22/29/image_02122025_22_29_44_9766.jpg', '/home/pi/Desktop/images/02122025/22/29/image_02122025_22_29_54_9821.jpg', '/home/pi/Desktop/images/02122025/22/30/image_02122025_22_30_14_10052.jpg', '/home/pi/Desktop/images/02122025/22/30/image_02122025_22_30_45_9887.jpg', '/home/pi/Desktop/images/02122025/22/30/image_02122025_22_31_04_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/22/29/image_02122025_22_29_34_9973.jpg
/home/pi/Desktop/images/02122025/22/29/image_02122025_22_29_44_9766.jpg
/home/pi/Desktop/images/02122025/22/29/image_02122025_22_29_54_9821.jpg
/home/pi/Desktop/images/02122025/22/30/image_02122025_22_30_14_10052.jpg
/home/pi/Desktop/images/02122025/22/30/image_02122025_22_30_45_9887.jpg
/home/pi/Desktop/images/02122025/22/30/image_02122025_22_31_04_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101259","1398101280","1398101256","1398101279","1398101252","1398101278"],"photo_ids_order":["1398101252","1398101256","1398101259","1398101278","1398101279","1398101280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22c8ad46dc9812b1e7503418eafa2fc3.jpg","text":"TemporaryFile(/tmp/multipartBody7206429679164507907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948634897,"filename":"image_02122025_22_29_54_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94c578b1a02181f6b5e1adc55a7022d0.jpg","text":"TemporaryFile(/tmp/multipartBody3092526783798793972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948634897,"filename":"image_02122025_22_31_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/5/acaa696e60735852bc27f798a1c86705.jpg","text":"TemporaryFile(/tmp/multipartBody6903004221519537723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948634897,"filename":"image_02122025_22_29_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ac52ccc4c70ed78839d5e6781911f5d.jpg","text":"TemporaryFile(/tmp/multipartBody803838942859300614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948634897,"filename":"image_02122025_22_30_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/5/654ccae234dec951777f3ea2c68a95cf.jpg","text":"TemporaryFile(/tmp/multipartBody7926409619851597880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948634897,"filename":"image_02122025_22_29_34_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/5/473fcb895cad204c1b0685890044964c.jpg","text":"TemporaryFile(/tmp/multipartBody3519297387842418382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948634897,"filename":"image_02122025_22_30_14_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101259","file1":"1398101256","file0":"1398101252","file4":"1398101279","file5":"1398101280","file3":"1398101278"},"map_files_photo_id_array":[{"photo_id":"1398101280","filename":"file5"},{"photo_id":"1398101259","filename":"file2"},{"photo_id":"1398101279","filename":"file4"},{"photo_id":"1398101256","filename":"file1"},{"photo_id":"1398101252","filename":"file0"},{"photo_id":"1398101278","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398101259":["hashtag1","hashtag2"]},{"1398101280":["hashtag1","hashtag2"]},{"1398101256":["hashtag1","hashtag2"]},{"1398101279":["hashtag1","hashtag2"]},{"1398101252":["hashtag1","hashtag2"]},{"1398101278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398101259, 1398101280, 1398101256, 1398101279, 1398101252, 1398101278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54053473472595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:30:21.940089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_15_9613.jpg', '/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_25_9831.jpg', '/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_36_10846.jpg', '/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_45_9583.jpg', '/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_55_9537.jpg', '/home/pi/Desktop/images/05122025/15/10/image_05122025_15_11_05_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_15_9613.jpg
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_25_9831.jpg
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_36_10846.jpg
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_45_9583.jpg
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_55_9537.jpg
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_11_05_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.4653034210205078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 16:30:31.953390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/22/31/image_02122025_22_31_25_10663.jpg', '/home/pi/Desktop/images/02122025/22/31/image_02122025_22_31_55_10613.jpg', '/home/pi/Desktop/images/02122025/22/31/image_02122025_22_32_05_9957.jpg', '/home/pi/Desktop/images/02122025/22/32/image_02122025_22_32_15_9746.jpg', '/home/pi/Desktop/images/02122025/22/32/image_02122025_22_32_55_9649.jpg', '/home/pi/Desktop/images/02122025/22/32/image_02122025_22_33_04_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/22/31/image_02122025_22_31_25_10663.jpg
/home/pi/Desktop/images/02122025/22/31/image_02122025_22_31_55_10613.jpg
/home/pi/Desktop/images/02122025/22/31/image_02122025_22_32_05_9957.jpg
/home/pi/Desktop/images/02122025/22/32/image_02122025_22_32_15_9746.jpg
/home/pi/Desktop/images/02122025/22/32/image_02122025_22_32_55_9649.jpg
/home/pi/Desktop/images/02122025/22/32/image_02122025_22_33_04_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":["1398101312","1398101306","1398101290","1398101305","1398101295","1398101308"],"photo_ids_order":["1398101290","1398101295","1398101305","1398101306","1398101308","1398101312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ed35db3e73deb79d00b50979f9d9b565.jpg","text":"TemporaryFile(/tmp/multipartBody1022536479553132256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948694083,"filename":"image_02122025_22_33_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/5/8dd559220c1d4479a9b36af0dea5706f.jpg","text":"TemporaryFile(/tmp/multipartBody8668436101951995699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948694083,"filename":"image_02122025_22_32_15_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/5/3afc09658bea033e44ef369c4c6b9bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3820471550262689531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948694083,"filename":"image_02122025_22_31_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/5/d870a7bf3cb8b656b5ce4e8cdb45c5dd.jpg","text":"TemporaryFile(/tmp/multipartBody5794511933234883494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948694083,"filename":"image_02122025_22_32_05_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/68f06f30923a6fe864aa6c94f2c0d262.jpg","text":"TemporaryFile(/tmp/multipartBody5066037684682380563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948694083,"filename":"image_02122025_22_31_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/5/a13cb74bec005e82b1259e3d6ad5a758.jpg","text":"TemporaryFile(/tmp/multipartBody3711438272280166840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948694083,"filename":"image_02122025_22_32_55_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101305","file1":"1398101295","file0":"1398101290","file4":"1398101308","file5":"1398101312","file3":"1398101306"},"map_files_photo_id_array":[{"photo_id":"1398101312","filename":"file5"},{"photo_id":"1398101305","filename":"file2"},{"photo_id":"1398101308","filename":"file4"},{"photo_id":"1398101295","filename":"file1"},{"photo_id":"1398101290","filename":"file0"},{"photo_id":"1398101306","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398101312":["hashtag1","hashtag2"]},{"1398101306":["hashtag1","hashtag2"]},{"1398101290":["hashtag1","hashtag2"]},{"1398101305":["hashtag1","hashtag2"]},{"1398101295":["hashtag1","hashtag2"]},{"1398101308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398101312, 1398101306, 1398101290, 1398101305, 1398101295, 1398101308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07388210296631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 16:31:12.015534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/22/33/image_02122025_22_33_14_9788.jpg', '/home/pi/Desktop/images/02122025/22/33/image_02122025_22_33_44_9699.jpg', '/home/pi/Desktop/images/02122025/22/33/image_02122025_22_33_55_10876.jpg', '/home/pi/Desktop/images/02122025/22/34/image_02122025_22_34_15_10043.jpg', '/home/pi/Desktop/images/02122025/22/37/image_02122025_22_37_34_9506.jpg', '/home/pi/Desktop/images/02122025/22/38/image_02122025_22_38_54_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/22/33/image_02122025_22_33_14_9788.jpg
/home/pi/Desktop/images/02122025/22/33/image_02122025_22_33_44_9699.jpg
/home/pi/Desktop/images/02122025/22/33/image_02122025_22_33_55_10876.jpg
/home/pi/Desktop/images/02122025/22/34/image_02122025_22_34_15_10043.jpg
/home/pi/Desktop/images/02122025/22/37/image_02122025_22_37_34_9506.jpg
/home/pi/Desktop/images/02122025/22/38/image_02122025_22_38_54_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101316","1398101325","1398101327","1398101321","1398101318","1398101323"],"photo_ids_order":["1398101316","1398101318","1398101321","1398101323","1398101325","1398101327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/65ea4c7f6df057a38c4e06a38ba46d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5830618981725428745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948734035,"filename":"image_02122025_22_33_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/5/48330e7613ebb16c9fdb16134af68dcf.jpg","text":"TemporaryFile(/tmp/multipartBody4636699825907896716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948734035,"filename":"image_02122025_22_37_34_9506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/42837baf07aa83727c8e6cda71be3ee9.jpg","text":"TemporaryFile(/tmp/multipartBody9100152070711000086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948734035,"filename":"image_02122025_22_38_54_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/5/4afcd6ee2bb4d06fb8f1a6f03e4e7716.jpg","text":"TemporaryFile(/tmp/multipartBody8930255040877519781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948734035,"filename":"image_02122025_22_33_55_10876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/04de22e44693d29eb1a33e366211eef3.jpg","text":"TemporaryFile(/tmp/multipartBody4953917913327228898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948734035,"filename":"image_02122025_22_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/5/ecf2d51fd20e37a54bbc20431d25eb23.jpg","text":"TemporaryFile(/tmp/multipartBody7946028391696117059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948734035,"filename":"image_02122025_22_34_15_10043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101321","file1":"1398101318","file0":"1398101316","file4":"1398101325","file5":"1398101327","file3":"1398101323"},"map_files_photo_id_array":[{"photo_id":"1398101327","filename":"file5"},{"photo_id":"1398101321","filename":"file2"},{"photo_id":"1398101325","filename":"file4"},{"photo_id":"1398101318","filename":"file1"},{"photo_id":"1398101316","filename":"file0"},{"photo_id":"1398101323","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398101316":["hashtag1","hashtag2"]},{"1398101325":["hashtag1","hashtag2"]},{"1398101327":["hashtag1","hashtag2"]},{"1398101321":["hashtag1","hashtag2"]},{"1398101318":["hashtag1","hashtag2"]},{"1398101323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398101316, 1398101325, 1398101327, 1398101321, 1398101318, 1398101323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.339683294296265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:32:02.945012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_15_9613.jpg', '/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_25_9831.jpg', '/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_36_10846.jpg', '/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_45_9583.jpg', '/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_55_9537.jpg', '/home/pi/Desktop/images/05122025/15/10/image_05122025_15_11_05_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_15_9613.jpg
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_25_9831.jpg
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_36_10846.jpg
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_45_9583.jpg
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_10_55_9537.jpg
/home/pi/Desktop/images/05122025/15/10/image_05122025_15_11_05_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101340","1398101342","1398101339","1398101347","1398101341","1398101344"],"photo_ids_order":["1398101339","1398101340","1398101341","1398101342","1398101344","1398101347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/534da13b4524e763f751b1cf9ff2db06.jpg","text":"TemporaryFile(/tmp/multipartBody8437996164712624949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948783586,"filename":"image_05122025_15_10_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/5/fd2334be408603df4a55331c79fa55ad.jpg","text":"TemporaryFile(/tmp/multipartBody2423586706378027809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948783586,"filename":"image_05122025_15_10_45_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/5/238e3a588511bbb508c74fc1837e8031.jpg","text":"TemporaryFile(/tmp/multipartBody6723652716788244100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948783586,"filename":"image_05122025_15_10_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/086734bc168f1d8637ccdd292d0438bc.jpg","text":"TemporaryFile(/tmp/multipartBody5816035146090593094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948783586,"filename":"image_05122025_15_11_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/5/83a466e99c3c9df67f5047b296fcb070.jpg","text":"TemporaryFile(/tmp/multipartBody6510213226027570632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948783586,"filename":"image_05122025_15_10_36_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/5/8eae539654d7972ef13fa6c67deb7b30.jpg","text":"TemporaryFile(/tmp/multipartBody1543421268086646081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948783586,"filename":"image_05122025_15_10_55_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101341","file1":"1398101340","file0":"1398101339","file4":"1398101344","file5":"1398101347","file3":"1398101342"},"map_files_photo_id_array":[{"photo_id":"1398101347","filename":"file5"},{"photo_id":"1398101341","filename":"file2"},{"photo_id":"1398101344","filename":"file4"},{"photo_id":"1398101340","filename":"file1"},{"photo_id":"1398101339","filename":"file0"},{"photo_id":"1398101342","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101340":["hashtag1","hashtag2"]},{"1398101342":["hashtag1","hashtag2"]},{"1398101339":["hashtag1","hashtag2"]},{"1398101347":["hashtag1","hashtag2"]},{"1398101341":["hashtag1","hashtag2"]},{"1398101344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101340, 1398101342, 1398101339, 1398101347, 1398101341, 1398101344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.481260776519775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:32:42.458292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_59_2646.jpg', '/home/pi/Desktop/images/31102025/19/59/image_31102025_20_00_02_2631.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_05_3803.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_08_2770.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_11_2779.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_14_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/19/59/image_31102025_19_59_59_2646.jpg
/home/pi/Desktop/images/31102025/19/59/image_31102025_20_00_02_2631.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_05_3803.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_08_2770.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_11_2779.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_14_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":["1398101379","1398101387","1398101398","1398101392","1398101386","1398101365"],"photo_ids_order":["1398101365","1398101379","1398101386","1398101387","1398101392","1398101398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3f3830b22e97569afa571987d3eccec4.jpg","text":"TemporaryFile(/tmp/multipartBody7938220764883911742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948824029,"filename":"image_31102025_20_00_02_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/5/f6ce32dc934db59ff6116e9120b882b1.jpg","text":"TemporaryFile(/tmp/multipartBody991092420307183191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948824029,"filename":"image_31102025_20_00_08_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/5/434c759556707048ece5fe236e5d42e1.jpg","text":"TemporaryFile(/tmp/multipartBody2720548494009251077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948824029,"filename":"image_31102025_20_00_14_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/5/320825b62eeee23a526846ed9ced3991.jpg","text":"TemporaryFile(/tmp/multipartBody6068695204442600173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948824029,"filename":"image_31102025_20_00_11_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/da40935edb94ac9b674d15d3169e10b7.jpg","text":"TemporaryFile(/tmp/multipartBody8647006890189904422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948824029,"filename":"image_31102025_20_00_05_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/5/f3483c3d05702e3922ea81e96a286b77.jpg","text":"TemporaryFile(/tmp/multipartBody2439581608945175892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948824029,"filename":"image_31102025_19_59_59_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101386","file1":"1398101379","file0":"1398101365","file4":"1398101392","file5":"1398101398","file3":"1398101387"},"map_files_photo_id_array":[{"photo_id":"1398101398","filename":"file5"},{"photo_id":"1398101386","filename":"file2"},{"photo_id":"1398101392","filename":"file4"},{"photo_id":"1398101379","filename":"file1"},{"photo_id":"1398101365","filename":"file0"},{"photo_id":"1398101387","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398101379":["hashtag1","hashtag2"]},{"1398101387":["hashtag1","hashtag2"]},{"1398101398":["hashtag1","hashtag2"]},{"1398101392":["hashtag1","hashtag2"]},{"1398101386":["hashtag1","hashtag2"]},{"1398101365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398101379, 1398101387, 1398101398, 1398101392, 1398101386, 1398101365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63972520828247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:33:22.576728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/11/image_05122025_15_11_15_9750.jpg', '/home/pi/Desktop/images/05122025/15/11/image_05122025_15_11_25_9617.jpg', '/home/pi/Desktop/images/05122025/15/11/image_05122025_15_11_35_10564.jpg', '/home/pi/Desktop/images/05122025/15/11/image_05122025_15_11_45_9583.jpg', '/home/pi/Desktop/images/05122025/15/11/image_05122025_15_11_55_9766.jpg', '/home/pi/Desktop/images/05122025/15/11/image_05122025_15_12_05_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/11/image_05122025_15_11_15_9750.jpg
/home/pi/Desktop/images/05122025/15/11/image_05122025_15_11_25_9617.jpg
/home/pi/Desktop/images/05122025/15/11/image_05122025_15_11_35_10564.jpg
/home/pi/Desktop/images/05122025/15/11/image_05122025_15_11_45_9583.jpg
/home/pi/Desktop/images/05122025/15/11/image_05122025_15_11_55_9766.jpg
/home/pi/Desktop/images/05122025/15/11/image_05122025_15_12_05_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101412","1398101403","1398101406","1398101405","1398101408","1398101410"],"photo_ids_order":["1398101403","1398101405","1398101406","1398101408","1398101410","1398101412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a256012dc6aab0b9e992a7ec88f56db8.jpg","text":"TemporaryFile(/tmp/multipartBody3007822638418722789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948863171,"filename":"image_05122025_15_12_05_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e5aedc10a41ba5484799f1e280e61f23.jpg","text":"TemporaryFile(/tmp/multipartBody8099622257733689417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948863171,"filename":"image_05122025_15_11_15_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/5/aac22c66b1bd6218ba14649a0133b7fa.jpg","text":"TemporaryFile(/tmp/multipartBody8057322598778558610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948863171,"filename":"image_05122025_15_11_35_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/5/7c7310bd7eeffae2d344b35ca086eb50.jpg","text":"TemporaryFile(/tmp/multipartBody815468643551476083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948863171,"filename":"image_05122025_15_11_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/5/e2b71eefa91027ac6ff9cfd21cdb4555.jpg","text":"TemporaryFile(/tmp/multipartBody2988637896024007608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948863171,"filename":"image_05122025_15_11_45_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/5/12f760019a311aad67123cc0c97a03eb.jpg","text":"TemporaryFile(/tmp/multipartBody3681707665797058368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948863171,"filename":"image_05122025_15_11_55_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101406","file1":"1398101405","file0":"1398101403","file4":"1398101410","file5":"1398101412","file3":"1398101408"},"map_files_photo_id_array":[{"photo_id":"1398101412","filename":"file5"},{"photo_id":"1398101406","filename":"file2"},{"photo_id":"1398101410","filename":"file4"},{"photo_id":"1398101405","filename":"file1"},{"photo_id":"1398101403","filename":"file0"},{"photo_id":"1398101408","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101412":["hashtag1","hashtag2"]},{"1398101403":["hashtag1","hashtag2"]},{"1398101406":["hashtag1","hashtag2"]},{"1398101405":["hashtag1","hashtag2"]},{"1398101408":["hashtag1","hashtag2"]},{"1398101410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101412, 1398101403, 1398101406, 1398101405, 1398101408, 1398101410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02309608459473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:34:03.634688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/12/image_05122025_15_12_15_9606.jpg', '/home/pi/Desktop/images/05122025/15/12/image_05122025_15_12_26_10603.jpg', '/home/pi/Desktop/images/05122025/15/12/image_05122025_15_12_35_9637.jpg', '/home/pi/Desktop/images/05122025/15/12/image_05122025_15_12_45_9585.jpg', '/home/pi/Desktop/images/05122025/15/12/image_05122025_15_12_55_10710.jpg', '/home/pi/Desktop/images/05122025/15/13/image_05122025_15_13_15_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/12/image_05122025_15_12_15_9606.jpg
/home/pi/Desktop/images/05122025/15/12/image_05122025_15_12_26_10603.jpg
/home/pi/Desktop/images/05122025/15/12/image_05122025_15_12_35_9637.jpg
/home/pi/Desktop/images/05122025/15/12/image_05122025_15_12_45_9585.jpg
/home/pi/Desktop/images/05122025/15/12/image_05122025_15_12_55_10710.jpg
/home/pi/Desktop/images/05122025/15/13/image_05122025_15_13_15_9633.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":["1398101421","1398101415","1398101424","1398101418","1398101426","1398101429"],"photo_ids_order":["1398101415","1398101418","1398101421","1398101424","1398101426","1398101429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9a3d0e0d281c88b4021099a37dd0cc17.jpg","text":"TemporaryFile(/tmp/multipartBody3919224208524544427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948904301,"filename":"image_05122025_15_12_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3aa2c7d1fa3cabfc2e8d2e7edc14e993.jpg","text":"TemporaryFile(/tmp/multipartBody5466846605027704988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948904301,"filename":"image_05122025_15_12_15_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1994c3b6b6601612e7dd647ccceff992.jpg","text":"TemporaryFile(/tmp/multipartBody4904698456158698577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948904301,"filename":"image_05122025_15_12_45_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/5/acc7ebf4f338c8c108fb6d9e439a3631.jpg","text":"TemporaryFile(/tmp/multipartBody698858955498510640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948904301,"filename":"image_05122025_15_12_26_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8a587f475f39b10bf57c6a08b78fb912.jpg","text":"TemporaryFile(/tmp/multipartBody4026868359573055091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948904301,"filename":"image_05122025_15_12_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/5/d097d2efe205f1e543b98ee6465ab776.jpg","text":"TemporaryFile(/tmp/multipartBody4587528982864749174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948904301,"filename":"image_05122025_15_13_15_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101421","file1":"1398101418","file0":"1398101415","file4":"1398101426","file5":"1398101429","file3":"1398101424"},"map_files_photo_id_array":[{"photo_id":"1398101429","filename":"file5"},{"photo_id":"1398101421","filename":"file2"},{"photo_id":"1398101426","filename":"file4"},{"photo_id":"1398101418","filename":"file1"},{"photo_id":"1398101415","filename":"file0"},{"photo_id":"1398101424","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101421":["hashtag1","hashtag2"]},{"1398101415":["hashtag1","hashtag2"]},{"1398101424":["hashtag1","hashtag2"]},{"1398101418":["hashtag1","hashtag2"]},{"1398101426":["hashtag1","hashtag2"]},{"1398101429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101421, 1398101415, 1398101424, 1398101418, 1398101426, 1398101429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72897934913635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:35:02.813601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/13/image_05122025_15_13_25_10028.jpg', '/home/pi/Desktop/images/05122025/15/13/image_05122025_15_13_35_9937.jpg', '/home/pi/Desktop/images/05122025/15/13/image_05122025_15_14_05_10651.jpg', '/home/pi/Desktop/images/05122025/15/14/image_05122025_15_14_15_9870.jpg', '/home/pi/Desktop/images/05122025/15/14/image_05122025_15_14_25_9572.jpg', '/home/pi/Desktop/images/05122025/15/14/image_05122025_15_14_35_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/13/image_05122025_15_13_25_10028.jpg
/home/pi/Desktop/images/05122025/15/13/image_05122025_15_13_35_9937.jpg
/home/pi/Desktop/images/05122025/15/13/image_05122025_15_14_05_10651.jpg
/home/pi/Desktop/images/05122025/15/14/image_05122025_15_14_15_9870.jpg
/home/pi/Desktop/images/05122025/15/14/image_05122025_15_14_25_9572.jpg
/home/pi/Desktop/images/05122025/15/14/image_05122025_15_14_35_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101484","1398101460","1398101474","1398101444","1398101438","1398101446"],"photo_ids_order":["1398101438","1398101444","1398101446","1398101460","1398101474","1398101484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d412e6884ec2a4e99512ce43e1851a1.jpg","text":"TemporaryFile(/tmp/multipartBody718059834225419470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948963448,"filename":"image_05122025_15_14_35_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/5/2ee1d7c3f0927ed4430f6a8931a3b5a7.jpg","text":"TemporaryFile(/tmp/multipartBody7073581138851838820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948963448,"filename":"image_05122025_15_14_15_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b64d7d62bf248f494d58a8606d063ab2.jpg","text":"TemporaryFile(/tmp/multipartBody3433804554080196763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948963448,"filename":"image_05122025_15_14_25_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/5/c503b7ff1fac4749580faab6a31c9cac.jpg","text":"TemporaryFile(/tmp/multipartBody3679430112119572923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948963448,"filename":"image_05122025_15_13_35_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/5/3387915608546d8af8e5265a6d6947f1.jpg","text":"TemporaryFile(/tmp/multipartBody2780606196659703591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948963448,"filename":"image_05122025_15_13_25_10028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b42ba3d6a2b5683739d6bf6f9dd25bd7.jpg","text":"TemporaryFile(/tmp/multipartBody5512394368259681088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764948963448,"filename":"image_05122025_15_14_05_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101446","file1":"1398101444","file0":"1398101438","file4":"1398101474","file5":"1398101484","file3":"1398101460"},"map_files_photo_id_array":[{"photo_id":"1398101484","filename":"file5"},{"photo_id":"1398101446","filename":"file2"},{"photo_id":"1398101474","filename":"file4"},{"photo_id":"1398101444","filename":"file1"},{"photo_id":"1398101438","filename":"file0"},{"photo_id":"1398101460","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101484":["hashtag1","hashtag2"]},{"1398101460":["hashtag1","hashtag2"]},{"1398101474":["hashtag1","hashtag2"]},{"1398101444":["hashtag1","hashtag2"]},{"1398101438":["hashtag1","hashtag2"]},{"1398101446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101484, 1398101460, 1398101474, 1398101444, 1398101438, 1398101446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2396559715271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:35:42.042524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_17_3696.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_20_2530.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_26_3623.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_29_2648.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_31_2695.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_35_3845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_17_3696.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_20_2530.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_26_3623.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_29_2648.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_31_2695.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_35_3845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101535","1398101534","1398101522","1398101531","1398101533","1398101536"],"photo_ids_order":["1398101522","1398101531","1398101533","1398101534","1398101535","1398101536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f30eae2e368ede8c64fc556f9ce819f0.jpg","text":"TemporaryFile(/tmp/multipartBody949929239105111369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949003597,"filename":"image_31102025_20_00_31_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/5/76e430bf140901f88a872d5adaaab931.jpg","text":"TemporaryFile(/tmp/multipartBody7407658010974318683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949003597,"filename":"image_31102025_20_00_29_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/5/4a8fcd42c5257024c5a4757f75b2da4f.jpg","text":"TemporaryFile(/tmp/multipartBody3015871864295710686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949003597,"filename":"image_31102025_20_00_17_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/5/49685b63a1f96c2de014934e57bc2915.jpg","text":"TemporaryFile(/tmp/multipartBody7615112916930522799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949003597,"filename":"image_31102025_20_00_20_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c6a0c5122e56c170c01bb74d6570ac7.jpg","text":"TemporaryFile(/tmp/multipartBody2817734952879252382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949003597,"filename":"image_31102025_20_00_26_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/5/d8f31a13cd1c751ec3240a0cb3ebcced.jpg","text":"TemporaryFile(/tmp/multipartBody7270940068322088214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949003597,"filename":"image_31102025_20_00_35_3845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101533","file1":"1398101531","file0":"1398101522","file4":"1398101535","file5":"1398101536","file3":"1398101534"},"map_files_photo_id_array":[{"photo_id":"1398101536","filename":"file5"},{"photo_id":"1398101533","filename":"file2"},{"photo_id":"1398101535","filename":"file4"},{"photo_id":"1398101531","filename":"file1"},{"photo_id":"1398101522","filename":"file0"},{"photo_id":"1398101534","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398101535":["hashtag1","hashtag2"]},{"1398101534":["hashtag1","hashtag2"]},{"1398101522":["hashtag1","hashtag2"]},{"1398101531":["hashtag1","hashtag2"]},{"1398101533":["hashtag1","hashtag2"]},{"1398101536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398101535, 1398101534, 1398101522, 1398101531, 1398101533, 1398101536)","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 = 1398101533 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_26_3623.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1398101533 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_26_3623.jpg";
uploaded 6 photos
time to upload: 61.57375359535217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:37:03.041450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 16:37:12.402160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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 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-05 16:37:43.693263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
2025-12-05 16:37:43.696014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:38:05.234800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 16:38:14.738634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 16:38:24.745185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/14/image_05122025_15_14_45_9562.jpg', '/home/pi/Desktop/images/05122025/15/14/image_05122025_15_14_56_10558.jpg', '/home/pi/Desktop/images/05122025/15/14/image_05122025_15_15_05_9587.jpg', '/home/pi/Desktop/images/05122025/15/15/image_05122025_15_15_15_9615.jpg', '/home/pi/Desktop/images/05122025/15/15/image_05122025_15_15_25_10642.jpg', '/home/pi/Desktop/images/05122025/15/15/image_05122025_15_15_35_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/14/image_05122025_15_14_45_9562.jpg
/home/pi/Desktop/images/05122025/15/14/image_05122025_15_14_56_10558.jpg
/home/pi/Desktop/images/05122025/15/14/image_05122025_15_15_05_9587.jpg
/home/pi/Desktop/images/05122025/15/15/image_05122025_15_15_15_9615.jpg
/home/pi/Desktop/images/05122025/15/15/image_05122025_15_15_25_10642.jpg
/home/pi/Desktop/images/05122025/15/15/image_05122025_15_15_35_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101643","1398101651","1398101645","1398101659","1398101641","1398101667"],"photo_ids_order":["1398101641","1398101643","1398101645","1398101651","1398101659","1398101667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9c5a33c734f4754bc75ae92db2c8095.jpg","text":"TemporaryFile(/tmp/multipartBody4723573654533527310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949165285,"filename":"image_05122025_15_14_56_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/5/5c4d3d0a618be910c6e70a4af1affe96.jpg","text":"TemporaryFile(/tmp/multipartBody597326769253219225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949165285,"filename":"image_05122025_15_15_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/5/0cce35e22e0594ac3d5e6566f2090507.jpg","text":"TemporaryFile(/tmp/multipartBody7046567061496957764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949165285,"filename":"image_05122025_15_15_05_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/5/fc0573d1d4ebab66a23b89fd9b84c09d.jpg","text":"TemporaryFile(/tmp/multipartBody6962193567813134595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949165285,"filename":"image_05122025_15_15_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a1d8c3065fc7734e695df504b1ba4b3.jpg","text":"TemporaryFile(/tmp/multipartBody1288546228111846573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949165285,"filename":"image_05122025_15_14_45_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/5/8caced00ae6da463bdc3a91dcdfa3f85.jpg","text":"TemporaryFile(/tmp/multipartBody941159034061726549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949165285,"filename":"image_05122025_15_15_35_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101645","file1":"1398101643","file0":"1398101641","file4":"1398101659","file5":"1398101667","file3":"1398101651"},"map_files_photo_id_array":[{"photo_id":"1398101667","filename":"file5"},{"photo_id":"1398101645","filename":"file2"},{"photo_id":"1398101659","filename":"file4"},{"photo_id":"1398101643","filename":"file1"},{"photo_id":"1398101641","filename":"file0"},{"photo_id":"1398101651","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101643":["hashtag1","hashtag2"]},{"1398101651":["hashtag1","hashtag2"]},{"1398101645":["hashtag1","hashtag2"]},{"1398101659":["hashtag1","hashtag2"]},{"1398101641":["hashtag1","hashtag2"]},{"1398101667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101643, 1398101651, 1398101645, 1398101659, 1398101641, 1398101667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63009238243103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:39:02.856018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/15/image_05122025_15_15_46_10551.jpg', '/home/pi/Desktop/images/05122025/15/15/image_05122025_15_15_55_9651.jpg', '/home/pi/Desktop/images/05122025/15/16/image_05122025_15_16_25_9596.jpg', '/home/pi/Desktop/images/05122025/15/16/image_05122025_15_16_35_9532.jpg', '/home/pi/Desktop/images/05122025/15/16/image_05122025_15_16_45_10551.jpg', '/home/pi/Desktop/images/05122025/15/16/image_05122025_15_16_55_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/15/image_05122025_15_15_46_10551.jpg
/home/pi/Desktop/images/05122025/15/15/image_05122025_15_15_55_9651.jpg
/home/pi/Desktop/images/05122025/15/16/image_05122025_15_16_25_9596.jpg
/home/pi/Desktop/images/05122025/15/16/image_05122025_15_16_35_9532.jpg
/home/pi/Desktop/images/05122025/15/16/image_05122025_15_16_45_10551.jpg
/home/pi/Desktop/images/05122025/15/16/image_05122025_15_16_55_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":["1398101670","1398101678","1398101672","1398101675","1398101669","1398101668"],"photo_ids_order":["1398101668","1398101669","1398101670","1398101672","1398101675","1398101678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08cad48bfd9abfb4719c18d316815f00.jpg","text":"TemporaryFile(/tmp/multipartBody4052482782746749074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949203528,"filename":"image_05122025_15_16_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/5/55ed09ac7cad6a2f5e1d7daea9a3c3a0.jpg","text":"TemporaryFile(/tmp/multipartBody4565661848413025122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949203528,"filename":"image_05122025_15_16_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0780cb3bb3827f33cd76cb8babe8fae8.jpg","text":"TemporaryFile(/tmp/multipartBody8518984850478814857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949203528,"filename":"image_05122025_15_16_35_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/5/0eb3c7cb6cc0abd27cc16db0b92d6478.jpg","text":"TemporaryFile(/tmp/multipartBody2256327167186164426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949203528,"filename":"image_05122025_15_16_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/5/62f03bb5ce98b8e1593b3ab59a738e84.jpg","text":"TemporaryFile(/tmp/multipartBody4076630696753550575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949203528,"filename":"image_05122025_15_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/5/3495285f07816e69f93bbeed97bebbe0.jpg","text":"TemporaryFile(/tmp/multipartBody5728948049470701849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949203528,"filename":"image_05122025_15_15_46_10551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101670","file1":"1398101669","file0":"1398101668","file4":"1398101675","file5":"1398101678","file3":"1398101672"},"map_files_photo_id_array":[{"photo_id":"1398101678","filename":"file5"},{"photo_id":"1398101670","filename":"file2"},{"photo_id":"1398101675","filename":"file4"},{"photo_id":"1398101669","filename":"file1"},{"photo_id":"1398101668","filename":"file0"},{"photo_id":"1398101672","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101670":["hashtag1","hashtag2"]},{"1398101678":["hashtag1","hashtag2"]},{"1398101672":["hashtag1","hashtag2"]},{"1398101675":["hashtag1","hashtag2"]},{"1398101669":["hashtag1","hashtag2"]},{"1398101668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101670, 1398101678, 1398101672, 1398101675, 1398101669, 1398101668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68484163284302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:39:41.988121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_17_3696.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_20_2530.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_26_3623.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_29_2648.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_31_2695.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_35_3845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_17_3696.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_20_2530.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_26_3623.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_29_2648.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_31_2695.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_35_3845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101690","1398101693","1398101689","1398101692","1398101686","1398101691"],"photo_ids_order":["1398101686","1398101689","1398101690","1398101691","1398101692","1398101693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9491bfca98b4195a2e9c1ac1eefbd332.jpg","text":"TemporaryFile(/tmp/multipartBody2685917881761960855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949243442,"filename":"image_31102025_20_00_26_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/5/f7ec63ed6af46ea5b3f095f67f4b6847.jpg","text":"TemporaryFile(/tmp/multipartBody6096464228443973041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949243442,"filename":"image_31102025_20_00_35_3845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f5a8624223699b760511b34bcc115159.jpg","text":"TemporaryFile(/tmp/multipartBody7301530229446975183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949243442,"filename":"image_31102025_20_00_20_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c2a4b1b33ce57b27f70824a4f5d27f0e.jpg","text":"TemporaryFile(/tmp/multipartBody6357611717104053331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949243442,"filename":"image_31102025_20_00_31_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/5/450e7bb07a45fea000847b4b9387c25a.jpg","text":"TemporaryFile(/tmp/multipartBody3629010441188109695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949243442,"filename":"image_31102025_20_00_17_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/5/f77c25db765c41520eea81cc0215a846.jpg","text":"TemporaryFile(/tmp/multipartBody903293255504877286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949243442,"filename":"image_31102025_20_00_29_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101690","file1":"1398101689","file0":"1398101686","file4":"1398101692","file5":"1398101693","file3":"1398101691"},"map_files_photo_id_array":[{"photo_id":"1398101693","filename":"file5"},{"photo_id":"1398101690","filename":"file2"},{"photo_id":"1398101692","filename":"file4"},{"photo_id":"1398101689","filename":"file1"},{"photo_id":"1398101686","filename":"file0"},{"photo_id":"1398101691","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398101690":["hashtag1","hashtag2"]},{"1398101693":["hashtag1","hashtag2"]},{"1398101689":["hashtag1","hashtag2"]},{"1398101692":["hashtag1","hashtag2"]},{"1398101686":["hashtag1","hashtag2"]},{"1398101691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398101690, 1398101693, 1398101689, 1398101692, 1398101686, 1398101691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60652685165405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:40:22.166485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/16/image_05122025_15_17_06_10622.jpg', '/home/pi/Desktop/images/05122025/15/17/image_05122025_15_17_15_9814.jpg', '/home/pi/Desktop/images/05122025/15/17/image_05122025_15_17_25_9683.jpg', '/home/pi/Desktop/images/05122025/15/17/image_05122025_15_17_35_9986.jpg', '/home/pi/Desktop/images/05122025/15/17/image_05122025_15_17_46_10569.jpg', '/home/pi/Desktop/images/05122025/15/17/image_05122025_15_17_58_11935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/16/image_05122025_15_17_06_10622.jpg
/home/pi/Desktop/images/05122025/15/17/image_05122025_15_17_15_9814.jpg
/home/pi/Desktop/images/05122025/15/17/image_05122025_15_17_25_9683.jpg
/home/pi/Desktop/images/05122025/15/17/image_05122025_15_17_35_9986.jpg
/home/pi/Desktop/images/05122025/15/17/image_05122025_15_17_46_10569.jpg
/home/pi/Desktop/images/05122025/15/17/image_05122025_15_17_58_11935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101703","1398101712","1398101706","1398101696","1398101709","1398101699"],"photo_ids_order":["1398101696","1398101699","1398101703","1398101706","1398101709","1398101712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a9f528e30d6faf33ffa414c1b8d6098.jpg","text":"TemporaryFile(/tmp/multipartBody7316019101778269328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949282729,"filename":"image_05122025_15_17_25_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/5/06660fb8986fba949a03c08684bf3b91.jpg","text":"TemporaryFile(/tmp/multipartBody3330639100069237018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949282729,"filename":"image_05122025_15_17_58_11935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d05799cd38b386d663380bd6dacc7006.jpg","text":"TemporaryFile(/tmp/multipartBody3052927116569527614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949282729,"filename":"image_05122025_15_17_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/5/a9936b5614ce881995069b4cd74da1b8.jpg","text":"TemporaryFile(/tmp/multipartBody743464196368726970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949282729,"filename":"image_05122025_15_17_06_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/5/6979fcc9a0fa9507d19f72681f3561be.jpg","text":"TemporaryFile(/tmp/multipartBody6273128055960689877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949282729,"filename":"image_05122025_15_17_46_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/5/98e59058670fc5c790efdd42ae8d18c7.jpg","text":"TemporaryFile(/tmp/multipartBody8269886693688579812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949282729,"filename":"image_05122025_15_17_15_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101703","file1":"1398101699","file0":"1398101696","file4":"1398101709","file5":"1398101712","file3":"1398101706"},"map_files_photo_id_array":[{"photo_id":"1398101712","filename":"file5"},{"photo_id":"1398101703","filename":"file2"},{"photo_id":"1398101709","filename":"file4"},{"photo_id":"1398101699","filename":"file1"},{"photo_id":"1398101696","filename":"file0"},{"photo_id":"1398101706","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101703":["hashtag1","hashtag2"]},{"1398101712":["hashtag1","hashtag2"]},{"1398101706":["hashtag1","hashtag2"]},{"1398101696":["hashtag1","hashtag2"]},{"1398101709":["hashtag1","hashtag2"]},{"1398101699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101703, 1398101712, 1398101706, 1398101696, 1398101709, 1398101699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.742711305618286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:41:02.927447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/17/image_05122025_15_18_05_7570.jpg', '/home/pi/Desktop/images/05122025/15/18/image_05122025_15_18_15_10099.jpg', '/home/pi/Desktop/images/05122025/15/18/image_05122025_15_18_25_9670.jpg', '/home/pi/Desktop/images/05122025/15/18/image_05122025_15_18_35_9895.jpg', '/home/pi/Desktop/images/05122025/15/18/image_05122025_15_18_45_10687.jpg', '/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_12_26399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/17/image_05122025_15_18_05_7570.jpg
/home/pi/Desktop/images/05122025/15/18/image_05122025_15_18_15_10099.jpg
/home/pi/Desktop/images/05122025/15/18/image_05122025_15_18_25_9670.jpg
/home/pi/Desktop/images/05122025/15/18/image_05122025_15_18_35_9895.jpg
/home/pi/Desktop/images/05122025/15/18/image_05122025_15_18_45_10687.jpg
/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_12_26399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398101820","1398101763","1398101811","1398101773","1398101785","1398101824"],"photo_ids_order":["1398101763","1398101773","1398101785","1398101811","1398101820","1398101824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb79cccb93a5b3d9e0d4282eb4675b8c.jpg","text":"TemporaryFile(/tmp/multipartBody2620485343628543662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949323547,"filename":"image_05122025_15_18_45_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/5/2eff421c96826c2d89011cc0a86ea252.jpg","text":"TemporaryFile(/tmp/multipartBody4487465472893883894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949323547,"filename":"image_05122025_15_18_05_7570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/afe88cfc97bc485bb5287742407f9e03.jpg","text":"TemporaryFile(/tmp/multipartBody4824406503245459258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949323547,"filename":"image_05122025_15_18_35_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/5/ecf38c716ed0e218faff97be7dc00d73.jpg","text":"TemporaryFile(/tmp/multipartBody1672463407450761240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949323547,"filename":"image_05122025_15_18_15_10099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a6dc2fcd8abe4ac3b45ab2c49772ad9e.jpg","text":"TemporaryFile(/tmp/multipartBody2456789571827177452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949323547,"filename":"image_05122025_15_18_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/5/24f76aacae398ae9bd76a0620d63cdf2.jpg","text":"TemporaryFile(/tmp/multipartBody6118673206691262244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949323547,"filename":"image_05122025_15_19_12_26399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101785","file1":"1398101773","file0":"1398101763","file4":"1398101820","file5":"1398101824","file3":"1398101811"},"map_files_photo_id_array":[{"photo_id":"1398101824","filename":"file5"},{"photo_id":"1398101785","filename":"file2"},{"photo_id":"1398101820","filename":"file4"},{"photo_id":"1398101773","filename":"file1"},{"photo_id":"1398101763","filename":"file0"},{"photo_id":"1398101811","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101820":["hashtag1","hashtag2"]},{"1398101763":["hashtag1","hashtag2"]},{"1398101811":["hashtag1","hashtag2"]},{"1398101773":["hashtag1","hashtag2"]},{"1398101785":["hashtag1","hashtag2"]},{"1398101824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101820, 1398101763, 1398101811, 1398101773, 1398101785, 1398101824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32695508003235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:41:42.279049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_38_2718.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_41_2744.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_44_3583.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_47_2621.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_50_2705.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_53_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_38_2718.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_41_2744.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_44_3583.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_47_2621.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_50_2705.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_53_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":["1398101838","1398101840","1398101842","1398101836","1398101839","1398101833"],"photo_ids_order":["1398101833","1398101836","1398101838","1398101839","1398101840","1398101842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f63309dda1be47dbbe049b67901815b.jpg","text":"TemporaryFile(/tmp/multipartBody2376923301376409629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949363844,"filename":"image_31102025_20_00_44_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/5/e64b4dd109c4a8737adab3dcf094a903.jpg","text":"TemporaryFile(/tmp/multipartBody9002871753604597014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949363844,"filename":"image_31102025_20_00_50_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/762e0c27e76a3cef1d1e29e1f8d3ad7f.jpg","text":"TemporaryFile(/tmp/multipartBody3312367261276690143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949363844,"filename":"image_31102025_20_00_53_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0d4c59e560ff7ac16358b46c2a77a79c.jpg","text":"TemporaryFile(/tmp/multipartBody6147848059631656253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949363844,"filename":"image_31102025_20_00_41_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/5/71aa85b8b4c1f61b242a06d188f03ba5.jpg","text":"TemporaryFile(/tmp/multipartBody7749830285573487345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949363844,"filename":"image_31102025_20_00_47_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/5/ffcea509e4896d39a0e93f63a7873b29.jpg","text":"TemporaryFile(/tmp/multipartBody1703388539927673126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949363844,"filename":"image_31102025_20_00_38_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101838","file1":"1398101836","file0":"1398101833","file4":"1398101840","file5":"1398101842","file3":"1398101839"},"map_files_photo_id_array":[{"photo_id":"1398101842","filename":"file5"},{"photo_id":"1398101838","filename":"file2"},{"photo_id":"1398101840","filename":"file4"},{"photo_id":"1398101836","filename":"file1"},{"photo_id":"1398101833","filename":"file0"},{"photo_id":"1398101839","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398101838":["hashtag1","hashtag2"]},{"1398101840":["hashtag1","hashtag2"]},{"1398101842":["hashtag1","hashtag2"]},{"1398101836":["hashtag1","hashtag2"]},{"1398101839":["hashtag1","hashtag2"]},{"1398101833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398101838, 1398101840, 1398101842, 1398101836, 1398101839, 1398101833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73140072822571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:42:22.545916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_23_11492.jpg', '/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_25_1688.jpg', '/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_27_1704.jpg', '/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_35_8521.jpg', '/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_45_9731.jpg', '/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_55_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_23_11492.jpg
/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_25_1688.jpg
/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_27_1704.jpg
/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_35_8521.jpg
/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_45_9731.jpg
/home/pi/Desktop/images/05122025/15/19/image_05122025_15_19_55_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":["1398101847","1398101850","1398101864","1398101852","1398101861","1398101854"],"photo_ids_order":["1398101847","1398101850","1398101852","1398101854","1398101861","1398101864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a72c1890290778c2c83acd5beff396a7.jpg","text":"TemporaryFile(/tmp/multipartBody3466320979479329567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949403097,"filename":"image_05122025_15_19_23_11492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/969f53696370f6877308902f80c096a4.jpg","text":"TemporaryFile(/tmp/multipartBody2415731670249703671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949403097,"filename":"image_05122025_15_19_25_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/5/3e2f58d2b39389115420c3dbeea9a622.jpg","text":"TemporaryFile(/tmp/multipartBody2044355812527267745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949403097,"filename":"image_05122025_15_19_55_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0d5c2f94271291b256548bf042a576ac.jpg","text":"TemporaryFile(/tmp/multipartBody4797858967930018108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949403097,"filename":"image_05122025_15_19_27_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/5/9cd20cdbd7d4582e93484dfeb0406a5d.jpg","text":"TemporaryFile(/tmp/multipartBody8566909792624880972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949403097,"filename":"image_05122025_15_19_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/5/40e00411059eff25ea8cb0c646a00712.jpg","text":"TemporaryFile(/tmp/multipartBody5869382455599894086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949403097,"filename":"image_05122025_15_19_35_8521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101852","file1":"1398101850","file0":"1398101847","file4":"1398101861","file5":"1398101864","file3":"1398101854"},"map_files_photo_id_array":[{"photo_id":"1398101864","filename":"file5"},{"photo_id":"1398101852","filename":"file2"},{"photo_id":"1398101861","filename":"file4"},{"photo_id":"1398101850","filename":"file1"},{"photo_id":"1398101847","filename":"file0"},{"photo_id":"1398101854","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101847":["hashtag1","hashtag2"]},{"1398101850":["hashtag1","hashtag2"]},{"1398101864":["hashtag1","hashtag2"]},{"1398101852":["hashtag1","hashtag2"]},{"1398101861":["hashtag1","hashtag2"]},{"1398101854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101847, 1398101850, 1398101864, 1398101852, 1398101861, 1398101854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94135904312134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:43:03.362661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/19/image_05122025_15_20_05_10673.jpg', '/home/pi/Desktop/images/05122025/15/20/image_05122025_15_20_15_9631.jpg', '/home/pi/Desktop/images/05122025/15/20/image_05122025_15_20_26_10573.jpg', '/home/pi/Desktop/images/05122025/15/20/image_05122025_15_20_35_9791.jpg', '/home/pi/Desktop/images/05122025/15/20/image_05122025_15_20_45_9650.jpg', '/home/pi/Desktop/images/05122025/15/20/image_05122025_15_20_55_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/19/image_05122025_15_20_05_10673.jpg
/home/pi/Desktop/images/05122025/15/20/image_05122025_15_20_15_9631.jpg
/home/pi/Desktop/images/05122025/15/20/image_05122025_15_20_26_10573.jpg
/home/pi/Desktop/images/05122025/15/20/image_05122025_15_20_35_9791.jpg
/home/pi/Desktop/images/05122025/15/20/image_05122025_15_20_45_9650.jpg
/home/pi/Desktop/images/05122025/15/20/image_05122025_15_20_55_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":["1398101916","1398101910","1398101912","1398101918","1398101920","1398101914"],"photo_ids_order":["1398101910","1398101912","1398101914","1398101916","1398101918","1398101920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/749de50d3375ea6f13abc7240a3e4658.jpg","text":"TemporaryFile(/tmp/multipartBody5783809999219701857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949443963,"filename":"image_05122025_15_20_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/5/7076d851ca1a07b69be62630946cbb9f.jpg","text":"TemporaryFile(/tmp/multipartBody8555380563484211412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949443963,"filename":"image_05122025_15_20_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/5/78e9153abe918bd9d2a5bcf44720ac9c.jpg","text":"TemporaryFile(/tmp/multipartBody6134812237847170020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949443963,"filename":"image_05122025_15_20_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/5/f8be84c4e16bbc2b5478b4d79031a461.jpg","text":"TemporaryFile(/tmp/multipartBody4988877967426772602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949443963,"filename":"image_05122025_15_20_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/5/f8f2808282aa96fc020bf7cbace4c896.jpg","text":"TemporaryFile(/tmp/multipartBody5152546779409014652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949443963,"filename":"image_05122025_15_20_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/5/fea4e6076e378aea99c8a9b071412d2b.jpg","text":"TemporaryFile(/tmp/multipartBody1895078338088342652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949443963,"filename":"image_05122025_15_20_26_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101914","file1":"1398101912","file0":"1398101910","file4":"1398101918","file5":"1398101920","file3":"1398101916"},"map_files_photo_id_array":[{"photo_id":"1398101920","filename":"file5"},{"photo_id":"1398101914","filename":"file2"},{"photo_id":"1398101918","filename":"file4"},{"photo_id":"1398101912","filename":"file1"},{"photo_id":"1398101910","filename":"file0"},{"photo_id":"1398101916","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398101916":["hashtag1","hashtag2"]},{"1398101910":["hashtag1","hashtag2"]},{"1398101912":["hashtag1","hashtag2"]},{"1398101918":["hashtag1","hashtag2"]},{"1398101920":["hashtag1","hashtag2"]},{"1398101914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398101916, 1398101910, 1398101912, 1398101918, 1398101920, 1398101914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.245802879333496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:43:42.633398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_56_2734.jpg', '/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_59_2645.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_02_2930.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_05_3617.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_08_2549.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_10_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_56_2734.jpg
/home/pi/Desktop/images/31102025/20/00/image_31102025_20_00_59_2645.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_02_2930.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_05_3617.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_08_2549.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_10_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":["1398101966","1398101930","1398102002","1398102037","1398101926","1398101929"],"photo_ids_order":["1398101926","1398101929","1398101930","1398101966","1398102002","1398102037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0bb735b121b76dee34e4f75b3ec2357b.jpg","text":"TemporaryFile(/tmp/multipartBody3117689879626799482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949484252,"filename":"image_31102025_20_01_05_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/5/a62aa2b2d5e15b7d1a7f4dece05207cb.jpg","text":"TemporaryFile(/tmp/multipartBody3717633241799434912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949484252,"filename":"image_31102025_20_01_02_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/5/bca64a66291e6acab936ab399d805e2d.jpg","text":"TemporaryFile(/tmp/multipartBody4214240618341502460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949484252,"filename":"image_31102025_20_01_08_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/5/4142a329bb59cbb22f8f51e6b696a6ca.jpg","text":"TemporaryFile(/tmp/multipartBody693535745067533440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949484252,"filename":"image_31102025_20_01_10_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/5/cc506c242ade59febb4f2c6f948d4cfd.jpg","text":"TemporaryFile(/tmp/multipartBody4307752131132313607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949484252,"filename":"image_31102025_20_00_56_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/5/2225a845abad440f15c39cda612eb2de.jpg","text":"TemporaryFile(/tmp/multipartBody1546094472658164060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949484252,"filename":"image_31102025_20_00_59_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398101930","file1":"1398101929","file0":"1398101926","file4":"1398102002","file5":"1398102037","file3":"1398101966"},"map_files_photo_id_array":[{"photo_id":"1398102037","filename":"file5"},{"photo_id":"1398101930","filename":"file2"},{"photo_id":"1398102002","filename":"file4"},{"photo_id":"1398101929","filename":"file1"},{"photo_id":"1398101926","filename":"file0"},{"photo_id":"1398101966","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398101966":["hashtag1","hashtag2"]},{"1398101930":["hashtag1","hashtag2"]},{"1398102002":["hashtag1","hashtag2"]},{"1398102037":["hashtag1","hashtag2"]},{"1398101926":["hashtag1","hashtag2"]},{"1398101929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398101966, 1398101930, 1398102002, 1398102037, 1398101926, 1398101929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.569260358810425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:44:22.964714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/20/image_05122025_15_21_05_10523.jpg', '/home/pi/Desktop/images/05122025/15/21/image_05122025_15_21_15_9716.jpg', '/home/pi/Desktop/images/05122025/15/21/image_05122025_15_21_26_10587.jpg', '/home/pi/Desktop/images/05122025/15/21/image_05122025_15_21_35_9799.jpg', '/home/pi/Desktop/images/05122025/15/21/image_05122025_15_21_45_9740.jpg', '/home/pi/Desktop/images/05122025/15/21/image_05122025_15_21_56_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/20/image_05122025_15_21_05_10523.jpg
/home/pi/Desktop/images/05122025/15/21/image_05122025_15_21_15_9716.jpg
/home/pi/Desktop/images/05122025/15/21/image_05122025_15_21_26_10587.jpg
/home/pi/Desktop/images/05122025/15/21/image_05122025_15_21_35_9799.jpg
/home/pi/Desktop/images/05122025/15/21/image_05122025_15_21_45_9740.jpg
/home/pi/Desktop/images/05122025/15/21/image_05122025_15_21_56_10493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398102114","1398102111","1398102119","1398102130","1398102106","1398102126"],"photo_ids_order":["1398102106","1398102111","1398102114","1398102119","1398102126","1398102130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/444886739854ce039ac7b405fa5f19fa.jpg","text":"TemporaryFile(/tmp/multipartBody4054840277099364708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949523544,"filename":"image_05122025_15_21_26_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/5/467cb001fa7f6c55f08839010f18bf68.jpg","text":"TemporaryFile(/tmp/multipartBody4600128846608221098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949523544,"filename":"image_05122025_15_21_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/5/19de85f274f984ef411402e9cd380002.jpg","text":"TemporaryFile(/tmp/multipartBody8528317767805075206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949523544,"filename":"image_05122025_15_21_35_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/5/d6784f3cd4691c7d6c99bfabc9f6aecc.jpg","text":"TemporaryFile(/tmp/multipartBody3599509639019273013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949523544,"filename":"image_05122025_15_21_56_10493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5bc28a312a32581b55cad024d897beb2.jpg","text":"TemporaryFile(/tmp/multipartBody982277843274325729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949523544,"filename":"image_05122025_15_21_05_10523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0bbddac5139e7b2452763ece7b13e830.jpg","text":"TemporaryFile(/tmp/multipartBody8701187034595291669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949523544,"filename":"image_05122025_15_21_45_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102114","file1":"1398102111","file0":"1398102106","file4":"1398102126","file5":"1398102130","file3":"1398102119"},"map_files_photo_id_array":[{"photo_id":"1398102130","filename":"file5"},{"photo_id":"1398102114","filename":"file2"},{"photo_id":"1398102126","filename":"file4"},{"photo_id":"1398102111","filename":"file1"},{"photo_id":"1398102106","filename":"file0"},{"photo_id":"1398102119","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102114":["hashtag1","hashtag2"]},{"1398102111":["hashtag1","hashtag2"]},{"1398102119":["hashtag1","hashtag2"]},{"1398102130":["hashtag1","hashtag2"]},{"1398102106":["hashtag1","hashtag2"]},{"1398102126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102114, 1398102111, 1398102119, 1398102130, 1398102106, 1398102126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69136714935303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:45:02.779413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/21/image_05122025_15_22_05_9630.jpg', '/home/pi/Desktop/images/05122025/15/22/image_05122025_15_22_15_9755.jpg', '/home/pi/Desktop/images/05122025/15/22/image_05122025_15_22_26_10526.jpg', '/home/pi/Desktop/images/05122025/15/22/image_05122025_15_22_35_9953.jpg', '/home/pi/Desktop/images/05122025/15/22/image_05122025_15_22_45_9334.jpg', '/home/pi/Desktop/images/05122025/15/22/image_05122025_15_22_55_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/21/image_05122025_15_22_05_9630.jpg
/home/pi/Desktop/images/05122025/15/22/image_05122025_15_22_15_9755.jpg
/home/pi/Desktop/images/05122025/15/22/image_05122025_15_22_26_10526.jpg
/home/pi/Desktop/images/05122025/15/22/image_05122025_15_22_35_9953.jpg
/home/pi/Desktop/images/05122025/15/22/image_05122025_15_22_45_9334.jpg
/home/pi/Desktop/images/05122025/15/22/image_05122025_15_22_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":["1398102234","1398102242","1398102208","1398102237","1398102231","1398102225"],"photo_ids_order":["1398102208","1398102225","1398102231","1398102234","1398102237","1398102242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2a6928c87103d2cb4c4b02db1bea6412.jpg","text":"TemporaryFile(/tmp/multipartBody1232745416598318488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949563393,"filename":"image_05122025_15_22_35_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/5/90424b2d14b625c0d5f230ea24a51c29.jpg","text":"TemporaryFile(/tmp/multipartBody4927028080446688887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949563393,"filename":"image_05122025_15_22_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/5/d0def914d623e120cead6bafbd635bab.jpg","text":"TemporaryFile(/tmp/multipartBody5587302144109536535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949563393,"filename":"image_05122025_15_22_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/5/7db4c7d76f99c583c0ba3a817b3bd808.jpg","text":"TemporaryFile(/tmp/multipartBody6591252520349433517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949563393,"filename":"image_05122025_15_22_45_9334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c489015842d9e727af3ca5e585074f19.jpg","text":"TemporaryFile(/tmp/multipartBody6537534379696929230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949563393,"filename":"image_05122025_15_22_26_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/5/1588b319632b2624a1d86d086f13e3a7.jpg","text":"TemporaryFile(/tmp/multipartBody4034938406161722562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949563393,"filename":"image_05122025_15_22_15_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102231","file1":"1398102225","file0":"1398102208","file4":"1398102237","file5":"1398102242","file3":"1398102234"},"map_files_photo_id_array":[{"photo_id":"1398102242","filename":"file5"},{"photo_id":"1398102231","filename":"file2"},{"photo_id":"1398102237","filename":"file4"},{"photo_id":"1398102225","filename":"file1"},{"photo_id":"1398102208","filename":"file0"},{"photo_id":"1398102234","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102234":["hashtag1","hashtag2"]},{"1398102242":["hashtag1","hashtag2"]},{"1398102208":["hashtag1","hashtag2"]},{"1398102237":["hashtag1","hashtag2"]},{"1398102231":["hashtag1","hashtag2"]},{"1398102225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102234, 1398102242, 1398102208, 1398102237, 1398102231, 1398102225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29235768318176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:45:42.012114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_14_3514.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_17_2556.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_29_3493.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_32_2691.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_34_2678.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_38_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_14_3514.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_17_2556.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_29_3493.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_32_2691.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_34_2678.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_38_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":["1398102327","1398102326","1398102311","1398102331","1398102328","1398102330"],"photo_ids_order":["1398102311","1398102326","1398102327","1398102328","1398102330","1398102331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/353968d246c2cf1ec61029b7e3434ad7.jpg","text":"TemporaryFile(/tmp/multipartBody3181639014304611942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949603511,"filename":"image_31102025_20_01_29_3493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f964a6ba4138d48d563c14222078388.jpg","text":"TemporaryFile(/tmp/multipartBody8395801380860485244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949603511,"filename":"image_31102025_20_01_17_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/92b0ec1ccc5625db05c730b646d4e80f.jpg","text":"TemporaryFile(/tmp/multipartBody3578510704182084759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949603511,"filename":"image_31102025_20_01_14_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/5/a2d0d48217cc67e7e5d37ac3d93ffd1f.jpg","text":"TemporaryFile(/tmp/multipartBody2241002867767889934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949603511,"filename":"image_31102025_20_01_38_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/5/f3855963da39882c7b528298daee1664.jpg","text":"TemporaryFile(/tmp/multipartBody8755639522343146332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949603511,"filename":"image_31102025_20_01_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/5/6ccffe5920544a9b300e9c77b764ff1d.jpg","text":"TemporaryFile(/tmp/multipartBody2636715495677096512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949603511,"filename":"image_31102025_20_01_34_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102327","file1":"1398102326","file0":"1398102311","file4":"1398102330","file5":"1398102331","file3":"1398102328"},"map_files_photo_id_array":[{"photo_id":"1398102331","filename":"file5"},{"photo_id":"1398102327","filename":"file2"},{"photo_id":"1398102330","filename":"file4"},{"photo_id":"1398102326","filename":"file1"},{"photo_id":"1398102311","filename":"file0"},{"photo_id":"1398102328","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398102327":["hashtag1","hashtag2"]},{"1398102326":["hashtag1","hashtag2"]},{"1398102311":["hashtag1","hashtag2"]},{"1398102331":["hashtag1","hashtag2"]},{"1398102328":["hashtag1","hashtag2"]},{"1398102330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398102327, 1398102326, 1398102311, 1398102331, 1398102328, 1398102330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50769329071045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:46:22.280855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/22/image_05122025_15_23_05_9751.jpg', '/home/pi/Desktop/images/05122025/15/23/image_05122025_15_23_15_9599.jpg', '/home/pi/Desktop/images/05122025/15/24/image_05122025_15_24_15_10499.jpg', '/home/pi/Desktop/images/05122025/15/24/image_05122025_15_24_25_9556.jpg', '/home/pi/Desktop/images/05122025/15/24/image_05122025_15_24_35_10171.jpg', '/home/pi/Desktop/images/05122025/15/24/image_05122025_15_24_45_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/22/image_05122025_15_23_05_9751.jpg
/home/pi/Desktop/images/05122025/15/23/image_05122025_15_23_15_9599.jpg
/home/pi/Desktop/images/05122025/15/24/image_05122025_15_24_15_10499.jpg
/home/pi/Desktop/images/05122025/15/24/image_05122025_15_24_25_9556.jpg
/home/pi/Desktop/images/05122025/15/24/image_05122025_15_24_35_10171.jpg
/home/pi/Desktop/images/05122025/15/24/image_05122025_15_24_45_10519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398102333","1398102353","1398102347","1398102350","1398102343","1398102337"],"photo_ids_order":["1398102333","1398102337","1398102343","1398102347","1398102350","1398102353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ea2997d0c7971daf398cfce40296050.jpg","text":"TemporaryFile(/tmp/multipartBody8316515354902893673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949642839,"filename":"image_05122025_15_23_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/5/0896cb8dc4968cc6b5c17c48ab295f2e.jpg","text":"TemporaryFile(/tmp/multipartBody7000169488618364993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949642839,"filename":"image_05122025_15_24_45_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d86810f3ba074e7e0b6ce8820f55165.jpg","text":"TemporaryFile(/tmp/multipartBody5161034362826235999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949642839,"filename":"image_05122025_15_24_25_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45eb254c2f9c822419d9b747f2ec860f.jpg","text":"TemporaryFile(/tmp/multipartBody1951821409450448864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949642839,"filename":"image_05122025_15_24_35_10171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cb6502dc3dd66f6b8213abc4bd0a7ee8.jpg","text":"TemporaryFile(/tmp/multipartBody1212988736251455674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949642839,"filename":"image_05122025_15_24_15_10499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9df6221b814e7dc4832b4c8a73a125ef.jpg","text":"TemporaryFile(/tmp/multipartBody3251197344195659817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949642839,"filename":"image_05122025_15_23_15_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102343","file1":"1398102337","file0":"1398102333","file4":"1398102350","file5":"1398102353","file3":"1398102347"},"map_files_photo_id_array":[{"photo_id":"1398102353","filename":"file5"},{"photo_id":"1398102343","filename":"file2"},{"photo_id":"1398102350","filename":"file4"},{"photo_id":"1398102337","filename":"file1"},{"photo_id":"1398102333","filename":"file0"},{"photo_id":"1398102347","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102333":["hashtag1","hashtag2"]},{"1398102353":["hashtag1","hashtag2"]},{"1398102347":["hashtag1","hashtag2"]},{"1398102350":["hashtag1","hashtag2"]},{"1398102343":["hashtag1","hashtag2"]},{"1398102337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102333, 1398102353, 1398102347, 1398102350, 1398102343, 1398102337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95947742462158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:47:03.042269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/24/image_05122025_15_24_55_9728.jpg', '/home/pi/Desktop/images/05122025/15/24/image_05122025_15_25_05_9547.jpg', '/home/pi/Desktop/images/05122025/15/25/image_05122025_15_25_15_9923.jpg', '/home/pi/Desktop/images/05122025/15/25/image_05122025_15_25_25_10595.jpg', '/home/pi/Desktop/images/05122025/15/25/image_05122025_15_25_35_9534.jpg', '/home/pi/Desktop/images/05122025/15/25/image_05122025_15_25_46_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/24/image_05122025_15_24_55_9728.jpg
/home/pi/Desktop/images/05122025/15/24/image_05122025_15_25_05_9547.jpg
/home/pi/Desktop/images/05122025/15/25/image_05122025_15_25_15_9923.jpg
/home/pi/Desktop/images/05122025/15/25/image_05122025_15_25_25_10595.jpg
/home/pi/Desktop/images/05122025/15/25/image_05122025_15_25_35_9534.jpg
/home/pi/Desktop/images/05122025/15/25/image_05122025_15_25_46_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398102371","1398102365","1398102374","1398102367","1398102369","1398102363"],"photo_ids_order":["1398102363","1398102365","1398102367","1398102369","1398102371","1398102374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/04b1172fad54ae765160a63f91965f15.jpg","text":"TemporaryFile(/tmp/multipartBody2110569641756942251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949683674,"filename":"image_05122025_15_25_35_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/318d71e62ab476e345e1d1c534f880b1.jpg","text":"TemporaryFile(/tmp/multipartBody5429270241367452028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949683674,"filename":"image_05122025_15_25_05_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/5/ef3f6434d7f7f3d2216244757eee1847.jpg","text":"TemporaryFile(/tmp/multipartBody8922123270211306083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949683674,"filename":"image_05122025_15_25_46_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/5/9b9a908b9a2ebaf871bd3ac1e169d2d8.jpg","text":"TemporaryFile(/tmp/multipartBody486927988695730025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949683674,"filename":"image_05122025_15_25_15_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/5/ea08191999ebd98ff79e58138d4c9b07.jpg","text":"TemporaryFile(/tmp/multipartBody399034040682847102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949683674,"filename":"image_05122025_15_25_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/5/275f4327a5c9a9b0d9c3b53b4eddcfe1.jpg","text":"TemporaryFile(/tmp/multipartBody7652312858098469347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949683674,"filename":"image_05122025_15_24_55_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102367","file1":"1398102365","file0":"1398102363","file4":"1398102371","file5":"1398102374","file3":"1398102369"},"map_files_photo_id_array":[{"photo_id":"1398102374","filename":"file5"},{"photo_id":"1398102367","filename":"file2"},{"photo_id":"1398102371","filename":"file4"},{"photo_id":"1398102365","filename":"file1"},{"photo_id":"1398102363","filename":"file0"},{"photo_id":"1398102369","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102371":["hashtag1","hashtag2"]},{"1398102365":["hashtag1","hashtag2"]},{"1398102374":["hashtag1","hashtag2"]},{"1398102367":["hashtag1","hashtag2"]},{"1398102369":["hashtag1","hashtag2"]},{"1398102363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102371, 1398102365, 1398102374, 1398102367, 1398102369, 1398102363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.345279932022095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:47:42.474103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_41_2550.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_44_3672.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_47_2649.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_50_2747.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_53_3578.jpg', '/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_56_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_41_2550.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_44_3672.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_47_2649.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_50_2747.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_53_3578.jpg
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_56_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":["1398102383","1398102386","1398102380","1398102385","1398102387","1398102384"],"photo_ids_order":["1398102380","1398102383","1398102384","1398102385","1398102386","1398102387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab89d66b3f4e0cacfeaa956caf06d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody8858599645498370941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949724081,"filename":"image_31102025_20_01_44_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/5/e05f6463be7352d10f4f5d992c6e0abf.jpg","text":"TemporaryFile(/tmp/multipartBody6317336545262924143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949724081,"filename":"image_31102025_20_01_53_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/5/73c897847a558a6f524548cef1b37e5a.jpg","text":"TemporaryFile(/tmp/multipartBody7924410307916181298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949724081,"filename":"image_31102025_20_01_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/5/7611359ab1760776a5983f377c7e9e52.jpg","text":"TemporaryFile(/tmp/multipartBody3784422379412926725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949724081,"filename":"image_31102025_20_01_50_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/5/5817892751c177a8adaf454dd9ec83b8.jpg","text":"TemporaryFile(/tmp/multipartBody1143222601468202237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949724081,"filename":"image_31102025_20_01_56_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c4fe869aaffb0577dcb071fa518fd8a.jpg","text":"TemporaryFile(/tmp/multipartBody3498131474350787797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949724081,"filename":"image_31102025_20_01_47_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102384","file1":"1398102383","file0":"1398102380","file4":"1398102386","file5":"1398102387","file3":"1398102385"},"map_files_photo_id_array":[{"photo_id":"1398102387","filename":"file5"},{"photo_id":"1398102384","filename":"file2"},{"photo_id":"1398102386","filename":"file4"},{"photo_id":"1398102383","filename":"file1"},{"photo_id":"1398102380","filename":"file0"},{"photo_id":"1398102385","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398102383":["hashtag1","hashtag2"]},{"1398102386":["hashtag1","hashtag2"]},{"1398102380":["hashtag1","hashtag2"]},{"1398102385":["hashtag1","hashtag2"]},{"1398102387":["hashtag1","hashtag2"]},{"1398102384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398102383, 1398102386, 1398102380, 1398102385, 1398102387, 1398102384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13977861404419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:48:22.605966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/26/image_05122025_15_26_15_10790.jpg', '/home/pi/Desktop/images/05122025/15/26/image_05122025_15_26_25_9755.jpg', '/home/pi/Desktop/images/05122025/15/26/image_05122025_15_26_55_9568.jpg', '/home/pi/Desktop/images/05122025/15/26/image_05122025_15_27_05_10627.jpg', '/home/pi/Desktop/images/05122025/15/27/image_05122025_15_27_15_9585.jpg', '/home/pi/Desktop/images/05122025/15/27/image_05122025_15_27_25_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/26/image_05122025_15_26_15_10790.jpg
/home/pi/Desktop/images/05122025/15/26/image_05122025_15_26_25_9755.jpg
/home/pi/Desktop/images/05122025/15/26/image_05122025_15_26_55_9568.jpg
/home/pi/Desktop/images/05122025/15/26/image_05122025_15_27_05_10627.jpg
/home/pi/Desktop/images/05122025/15/27/image_05122025_15_27_15_9585.jpg
/home/pi/Desktop/images/05122025/15/27/image_05122025_15_27_25_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":["1398102411","1398102414","1398102398","1398102392","1398102395","1398102406"],"photo_ids_order":["1398102392","1398102395","1398102398","1398102406","1398102411","1398102414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51e64b5d8954fb2ec3e4b20b2cf6b77a.jpg","text":"TemporaryFile(/tmp/multipartBody2125401815857354971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949763153,"filename":"image_05122025_15_27_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/5/fc01cf9d22dc24977e2b6eb91cfab75c.jpg","text":"TemporaryFile(/tmp/multipartBody6338819810658419938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949763153,"filename":"image_05122025_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/5/8991a410e7c477afeb85452fde3b8833.jpg","text":"TemporaryFile(/tmp/multipartBody5802098722641095147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949763153,"filename":"image_05122025_15_26_55_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/5/3157737eaf97917d64dde35041849432.jpg","text":"TemporaryFile(/tmp/multipartBody790167395006123995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949763153,"filename":"image_05122025_15_26_15_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/5/a168d1d956ee4abd66de36d55f846a5c.jpg","text":"TemporaryFile(/tmp/multipartBody7384947669114831436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949763153,"filename":"image_05122025_15_26_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/5/eedcbeac6d49ac96047de9afd8ba085a.jpg","text":"TemporaryFile(/tmp/multipartBody8177340728142336266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949763153,"filename":"image_05122025_15_27_05_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102398","file1":"1398102395","file0":"1398102392","file4":"1398102411","file5":"1398102414","file3":"1398102406"},"map_files_photo_id_array":[{"photo_id":"1398102414","filename":"file5"},{"photo_id":"1398102398","filename":"file2"},{"photo_id":"1398102411","filename":"file4"},{"photo_id":"1398102395","filename":"file1"},{"photo_id":"1398102392","filename":"file0"},{"photo_id":"1398102406","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102411":["hashtag1","hashtag2"]},{"1398102414":["hashtag1","hashtag2"]},{"1398102398":["hashtag1","hashtag2"]},{"1398102392":["hashtag1","hashtag2"]},{"1398102395":["hashtag1","hashtag2"]},{"1398102406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102411, 1398102414, 1398102398, 1398102392, 1398102395, 1398102406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24550414085388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:49:03.404355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/27/image_05122025_15_28_05_9800.jpg', '/home/pi/Desktop/images/05122025/15/28/image_05122025_15_28_35_9711.jpg', '/home/pi/Desktop/images/05122025/15/29/image_05122025_15_29_45_10549.jpg', '/home/pi/Desktop/images/05122025/15/29/image_05122025_15_29_55_9527.jpg', '/home/pi/Desktop/images/05122025/15/30/image_05122025_15_30_15_10058.jpg', '/home/pi/Desktop/images/05122025/15/30/image_05122025_15_30_25_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/27/image_05122025_15_28_05_9800.jpg
/home/pi/Desktop/images/05122025/15/28/image_05122025_15_28_35_9711.jpg
/home/pi/Desktop/images/05122025/15/29/image_05122025_15_29_45_10549.jpg
/home/pi/Desktop/images/05122025/15/29/image_05122025_15_29_55_9527.jpg
/home/pi/Desktop/images/05122025/15/30/image_05122025_15_30_15_10058.jpg
/home/pi/Desktop/images/05122025/15/30/image_05122025_15_30_25_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398102420","1398102422","1398102427","1398102415","1398102424","1398102417"],"photo_ids_order":["1398102415","1398102417","1398102420","1398102422","1398102424","1398102427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/154afb992579a22ba601c67e51ea7f43.jpg","text":"TemporaryFile(/tmp/multipartBody6604785545533670591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949804053,"filename":"image_05122025_15_29_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/5/b8a4681010f5a6dd9b5d9e57fa1644b3.jpg","text":"TemporaryFile(/tmp/multipartBody7376231226138605278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949804053,"filename":"image_05122025_15_29_55_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/5/834f6e8a8be68a01ab62e5d51cd2a670.jpg","text":"TemporaryFile(/tmp/multipartBody1516943020856657135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949804053,"filename":"image_05122025_15_30_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/5/2b8c043669749a955d3a3f09f3f945ae.jpg","text":"TemporaryFile(/tmp/multipartBody4155916260392765372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949804053,"filename":"image_05122025_15_28_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/5/4bc55c0b87a1b8f03ecc133eeaeda7bd.jpg","text":"TemporaryFile(/tmp/multipartBody1717190397953248711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949804053,"filename":"image_05122025_15_30_15_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/5/9186a6ed3e470cb1b53bcf886cfe96f0.jpg","text":"TemporaryFile(/tmp/multipartBody5194077857469277131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949804053,"filename":"image_05122025_15_28_35_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102420","file1":"1398102417","file0":"1398102415","file4":"1398102424","file5":"1398102427","file3":"1398102422"},"map_files_photo_id_array":[{"photo_id":"1398102427","filename":"file5"},{"photo_id":"1398102420","filename":"file2"},{"photo_id":"1398102424","filename":"file4"},{"photo_id":"1398102417","filename":"file1"},{"photo_id":"1398102415","filename":"file0"},{"photo_id":"1398102422","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102420":["hashtag1","hashtag2"]},{"1398102422":["hashtag1","hashtag2"]},{"1398102427":["hashtag1","hashtag2"]},{"1398102415":["hashtag1","hashtag2"]},{"1398102424":["hashtag1","hashtag2"]},{"1398102417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102420, 1398102422, 1398102427, 1398102415, 1398102424, 1398102417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.712634325027466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:49:42.372097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_59_2588.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_05_2515.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_07_2665.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_11_3644.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_16_2583.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_20_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/01/image_31102025_20_01_59_2588.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_05_2515.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_07_2665.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_11_3644.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_16_2583.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_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":["1398102440","1398102434","1398102437","1398102439","1398102436","1398102438"],"photo_ids_order":["1398102434","1398102436","1398102437","1398102438","1398102439","1398102440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/26936289c5fe3ecac48763eefae2a322.jpg","text":"TemporaryFile(/tmp/multipartBody2942393531466933796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949843928,"filename":"image_31102025_20_02_20_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/5/9cdd58358bdfc7a252f34637f3f40275.jpg","text":"TemporaryFile(/tmp/multipartBody2381865349958478713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949843928,"filename":"image_31102025_20_01_59_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/5/1f05d0ed0209afc70d8570397294cba2.jpg","text":"TemporaryFile(/tmp/multipartBody5948323075703270418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949843928,"filename":"image_31102025_20_02_07_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/5/54d87a26c963f9e8155c79a78c2aa02d.jpg","text":"TemporaryFile(/tmp/multipartBody5157639587318182841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949843928,"filename":"image_31102025_20_02_16_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/5/9d5d4f9bcf2ffdad80951d27c301450a.jpg","text":"TemporaryFile(/tmp/multipartBody4080499177086666237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949843928,"filename":"image_31102025_20_02_05_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/5/6394d6011400e415f29a841780062a60.jpg","text":"TemporaryFile(/tmp/multipartBody9139860625276747240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949843928,"filename":"image_31102025_20_02_11_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102437","file1":"1398102436","file0":"1398102434","file4":"1398102439","file5":"1398102440","file3":"1398102438"},"map_files_photo_id_array":[{"photo_id":"1398102440","filename":"file5"},{"photo_id":"1398102437","filename":"file2"},{"photo_id":"1398102439","filename":"file4"},{"photo_id":"1398102436","filename":"file1"},{"photo_id":"1398102434","filename":"file0"},{"photo_id":"1398102438","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398102440":["hashtag1","hashtag2"]},{"1398102434":["hashtag1","hashtag2"]},{"1398102437":["hashtag1","hashtag2"]},{"1398102439":["hashtag1","hashtag2"]},{"1398102436":["hashtag1","hashtag2"]},{"1398102438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398102440, 1398102434, 1398102437, 1398102439, 1398102436, 1398102438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71423697471619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:50:22.534680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/30/image_05122025_15_31_04_9506.jpg', '/home/pi/Desktop/images/05122025/15/31/image_05122025_15_31_15_10648.jpg', '/home/pi/Desktop/images/05122025/15/31/image_05122025_15_31_35_10199.jpg', '/home/pi/Desktop/images/05122025/15/32/image_05122025_15_32_35_9599.jpg', '/home/pi/Desktop/images/05122025/15/32/image_05122025_15_32_55_9596.jpg', '/home/pi/Desktop/images/05122025/15/32/image_05122025_15_33_05_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/30/image_05122025_15_31_04_9506.jpg
/home/pi/Desktop/images/05122025/15/31/image_05122025_15_31_15_10648.jpg
/home/pi/Desktop/images/05122025/15/31/image_05122025_15_31_35_10199.jpg
/home/pi/Desktop/images/05122025/15/32/image_05122025_15_32_35_9599.jpg
/home/pi/Desktop/images/05122025/15/32/image_05122025_15_32_55_9596.jpg
/home/pi/Desktop/images/05122025/15/32/image_05122025_15_33_05_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":["1398102447","1398102474","1398102453","1398102477","1398102459","1398102444"],"photo_ids_order":["1398102444","1398102447","1398102453","1398102459","1398102474","1398102477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/159b8945b46dee4a0c0d395883a0242c.jpg","text":"TemporaryFile(/tmp/multipartBody8295062289926268689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949883082,"filename":"image_05122025_15_31_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/5/c8aae244761948002c91f20ef8333157.jpg","text":"TemporaryFile(/tmp/multipartBody4384011126908798437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949883082,"filename":"image_05122025_15_32_55_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/5/5aa52c9c196e1a57d0b806f0413e163a.jpg","text":"TemporaryFile(/tmp/multipartBody3196151270210783580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949883082,"filename":"image_05122025_15_31_35_10199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43f1ce034ec082d4c6741d7c975e1aa4.jpg","text":"TemporaryFile(/tmp/multipartBody1488537049385028949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949883082,"filename":"image_05122025_15_33_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/5/75e4d378948e42d03a3495d90186aff4.jpg","text":"TemporaryFile(/tmp/multipartBody2202609714287934127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949883082,"filename":"image_05122025_15_32_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/5/56d2f884c5eec94df4a6c1be7eb03b63.jpg","text":"TemporaryFile(/tmp/multipartBody7216423769530789866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949883082,"filename":"image_05122025_15_31_04_9506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102453","file1":"1398102447","file0":"1398102444","file4":"1398102474","file5":"1398102477","file3":"1398102459"},"map_files_photo_id_array":[{"photo_id":"1398102477","filename":"file5"},{"photo_id":"1398102453","filename":"file2"},{"photo_id":"1398102474","filename":"file4"},{"photo_id":"1398102447","filename":"file1"},{"photo_id":"1398102444","filename":"file0"},{"photo_id":"1398102459","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102447":["hashtag1","hashtag2"]},{"1398102474":["hashtag1","hashtag2"]},{"1398102453":["hashtag1","hashtag2"]},{"1398102477":["hashtag1","hashtag2"]},{"1398102459":["hashtag1","hashtag2"]},{"1398102444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102447, 1398102474, 1398102453, 1398102477, 1398102459, 1398102444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.396872758865356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:51:03.441611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/33/image_05122025_15_33_15_9704.jpg', '/home/pi/Desktop/images/05122025/15/33/image_05122025_15_33_25_9617.jpg', '/home/pi/Desktop/images/05122025/15/33/image_05122025_15_33_35_10630.jpg', '/home/pi/Desktop/images/05122025/15/33/image_05122025_15_33_45_9691.jpg', '/home/pi/Desktop/images/05122025/15/33/image_05122025_15_33_55_9789.jpg', '/home/pi/Desktop/images/05122025/15/33/image_05122025_15_34_04_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/33/image_05122025_15_33_15_9704.jpg
/home/pi/Desktop/images/05122025/15/33/image_05122025_15_33_25_9617.jpg
/home/pi/Desktop/images/05122025/15/33/image_05122025_15_33_35_10630.jpg
/home/pi/Desktop/images/05122025/15/33/image_05122025_15_33_45_9691.jpg
/home/pi/Desktop/images/05122025/15/33/image_05122025_15_33_55_9789.jpg
/home/pi/Desktop/images/05122025/15/33/image_05122025_15_34_04_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398102491","1398102521","1398102493","1398102487","1398102495","1398102489"],"photo_ids_order":["1398102487","1398102489","1398102491","1398102493","1398102495","1398102521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fbd5e06cb5dacfb9dfe0349ae0312250.jpg","text":"TemporaryFile(/tmp/multipartBody8199458481301553669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949924089,"filename":"image_05122025_15_33_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/5/5c430465cf811a4d426df72572a9f8f6.jpg","text":"TemporaryFile(/tmp/multipartBody5876672213136856848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949924089,"filename":"image_05122025_15_34_04_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f769a13e3d2b89219cba980a4fc42aa.jpg","text":"TemporaryFile(/tmp/multipartBody7574463655226742291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949924089,"filename":"image_05122025_15_33_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d39930acc284b332b26bfb1a1584da9b.jpg","text":"TemporaryFile(/tmp/multipartBody1410992462235861073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949924089,"filename":"image_05122025_15_33_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/5/9cb17e2ff9f048e83e9eef1b5839dd53.jpg","text":"TemporaryFile(/tmp/multipartBody5426702635062708327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949924089,"filename":"image_05122025_15_33_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/5/ec8cade1812aef45f8665f499356f696.jpg","text":"TemporaryFile(/tmp/multipartBody5238707060353511425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949924089,"filename":"image_05122025_15_33_25_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102491","file1":"1398102489","file0":"1398102487","file4":"1398102495","file5":"1398102521","file3":"1398102493"},"map_files_photo_id_array":[{"photo_id":"1398102521","filename":"file5"},{"photo_id":"1398102491","filename":"file2"},{"photo_id":"1398102495","filename":"file4"},{"photo_id":"1398102489","filename":"file1"},{"photo_id":"1398102487","filename":"file0"},{"photo_id":"1398102493","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102491":["hashtag1","hashtag2"]},{"1398102521":["hashtag1","hashtag2"]},{"1398102493":["hashtag1","hashtag2"]},{"1398102487":["hashtag1","hashtag2"]},{"1398102495":["hashtag1","hashtag2"]},{"1398102489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102491, 1398102521, 1398102493, 1398102487, 1398102495, 1398102489)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.132670879364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:52:02.817025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/34/image_05122025_15_34_15_10657.jpg', '/home/pi/Desktop/images/05122025/15/34/image_05122025_15_34_25_9589.jpg', '/home/pi/Desktop/images/05122025/15/34/image_05122025_15_34_35_10671.jpg', '/home/pi/Desktop/images/05122025/15/34/image_05122025_15_34_45_9741.jpg', '/home/pi/Desktop/images/05122025/15/34/image_05122025_15_34_55_9519.jpg', '/home/pi/Desktop/images/05122025/15/35/image_05122025_15_35_15_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/34/image_05122025_15_34_15_10657.jpg
/home/pi/Desktop/images/05122025/15/34/image_05122025_15_34_25_9589.jpg
/home/pi/Desktop/images/05122025/15/34/image_05122025_15_34_35_10671.jpg
/home/pi/Desktop/images/05122025/15/34/image_05122025_15_34_45_9741.jpg
/home/pi/Desktop/images/05122025/15/34/image_05122025_15_34_55_9519.jpg
/home/pi/Desktop/images/05122025/15/35/image_05122025_15_35_15_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":["1398102674","1398102698","1398102668","1398102734","1398102670","1398102672"],"photo_ids_order":["1398102668","1398102670","1398102672","1398102674","1398102698","1398102734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5811c8dc2b888777d939fa086069a9e8.jpg","text":"TemporaryFile(/tmp/multipartBody8016811507906394076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949983396,"filename":"image_05122025_15_34_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/5/9d3530507baac97c5e9f7b123ba5bff4.jpg","text":"TemporaryFile(/tmp/multipartBody664166583188200419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949983396,"filename":"image_05122025_15_34_55_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/5/cde85ae9a57766decb8715a763db3691.jpg","text":"TemporaryFile(/tmp/multipartBody5153795622618159995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949983396,"filename":"image_05122025_15_34_15_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/5/2c4d2dcd3fd0ab2448a86620901139be.jpg","text":"TemporaryFile(/tmp/multipartBody5239810777822419947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949983396,"filename":"image_05122025_15_35_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/5/432c06c66eb8c8858642d61ccc3f03d3.jpg","text":"TemporaryFile(/tmp/multipartBody219885985336758533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949983396,"filename":"image_05122025_15_34_25_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/64e50fe1b999e907fe0518ee407b914b.jpg","text":"TemporaryFile(/tmp/multipartBody5419971492125665384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764949983396,"filename":"image_05122025_15_34_35_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102672","file1":"1398102670","file0":"1398102668","file4":"1398102698","file5":"1398102734","file3":"1398102674"},"map_files_photo_id_array":[{"photo_id":"1398102734","filename":"file5"},{"photo_id":"1398102672","filename":"file2"},{"photo_id":"1398102698","filename":"file4"},{"photo_id":"1398102670","filename":"file1"},{"photo_id":"1398102668","filename":"file0"},{"photo_id":"1398102674","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102674":["hashtag1","hashtag2"]},{"1398102698":["hashtag1","hashtag2"]},{"1398102668":["hashtag1","hashtag2"]},{"1398102734":["hashtag1","hashtag2"]},{"1398102670":["hashtag1","hashtag2"]},{"1398102672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102674, 1398102698, 1398102668, 1398102734, 1398102670, 1398102672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.559234619140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:52:42.484951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_23_2669.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_25_2612.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_29_3562.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_34_2861.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_41_2645.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_47_3773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_23_2669.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_25_2612.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_29_3562.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_34_2861.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_41_2645.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_47_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":["1398102788","1398102842","1398102841","1398102835","1398102795","1398102808"],"photo_ids_order":["1398102788","1398102795","1398102808","1398102835","1398102841","1398102842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/acae524d26ffed19bac42219f7825d03.jpg","text":"TemporaryFile(/tmp/multipartBody8645876621461609878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950024040,"filename":"image_31102025_20_02_23_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9742b0fa8bef63858acab82604709c57.jpg","text":"TemporaryFile(/tmp/multipartBody492743961459314524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950024040,"filename":"image_31102025_20_02_47_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/5/96ca47eeb2f94844eb6547f447aa7ceb.jpg","text":"TemporaryFile(/tmp/multipartBody7970469370292118062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950024040,"filename":"image_31102025_20_02_41_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/5/6d93d4faf1abb511be36f6944c69111b.jpg","text":"TemporaryFile(/tmp/multipartBody6332662812728780221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950024040,"filename":"image_31102025_20_02_34_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/5/062fa783efcce2dfb44da60b047ca8e6.jpg","text":"TemporaryFile(/tmp/multipartBody1117034655340468653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950024040,"filename":"image_31102025_20_02_25_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/5/9e8a2daab545f28e0691808b69b5f628.jpg","text":"TemporaryFile(/tmp/multipartBody5594864188398081190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950024040,"filename":"image_31102025_20_02_29_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102808","file1":"1398102795","file0":"1398102788","file4":"1398102841","file5":"1398102842","file3":"1398102835"},"map_files_photo_id_array":[{"photo_id":"1398102842","filename":"file5"},{"photo_id":"1398102808","filename":"file2"},{"photo_id":"1398102841","filename":"file4"},{"photo_id":"1398102795","filename":"file1"},{"photo_id":"1398102788","filename":"file0"},{"photo_id":"1398102835","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398102788":["hashtag1","hashtag2"]},{"1398102842":["hashtag1","hashtag2"]},{"1398102841":["hashtag1","hashtag2"]},{"1398102835":["hashtag1","hashtag2"]},{"1398102795":["hashtag1","hashtag2"]},{"1398102808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398102788, 1398102842, 1398102841, 1398102835, 1398102795, 1398102808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.277580976486206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:53:22.711704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/35/image_05122025_15_35_25_9649.jpg', '/home/pi/Desktop/images/05122025/15/35/image_05122025_15_35_45_9621.jpg', '/home/pi/Desktop/images/05122025/15/35/image_05122025_15_35_55_10643.jpg', '/home/pi/Desktop/images/05122025/15/35/image_05122025_15_36_05_9615.jpg', '/home/pi/Desktop/images/05122025/15/36/image_05122025_15_36_35_9254.jpg', '/home/pi/Desktop/images/05122025/15/36/image_05122025_15_36_45_10512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/35/image_05122025_15_35_25_9649.jpg
/home/pi/Desktop/images/05122025/15/35/image_05122025_15_35_45_9621.jpg
/home/pi/Desktop/images/05122025/15/35/image_05122025_15_35_55_10643.jpg
/home/pi/Desktop/images/05122025/15/35/image_05122025_15_36_05_9615.jpg
/home/pi/Desktop/images/05122025/15/36/image_05122025_15_36_35_9254.jpg
/home/pi/Desktop/images/05122025/15/36/image_05122025_15_36_45_10512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398102860","1398102857","1398102848","1398102853","1398102852","1398102855"],"photo_ids_order":["1398102848","1398102852","1398102853","1398102855","1398102857","1398102860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3b0fd0583d5ec36460063a33860f273d.jpg","text":"TemporaryFile(/tmp/multipartBody8543232726656990326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950063269,"filename":"image_05122025_15_36_45_10512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/885e950baea179122f6ad1bc43402486.jpg","text":"TemporaryFile(/tmp/multipartBody5065511093876041406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950063269,"filename":"image_05122025_15_36_35_9254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8813cd1ed56a36e1254f91ebcdc11905.jpg","text":"TemporaryFile(/tmp/multipartBody5597709559491194685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950063269,"filename":"image_05122025_15_35_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/5/bca7c109873cc1aafc09f660509bb59b.jpg","text":"TemporaryFile(/tmp/multipartBody3483917561540356899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950063269,"filename":"image_05122025_15_35_55_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/5/2610d74874a3ac25253055ddeb388fc1.jpg","text":"TemporaryFile(/tmp/multipartBody3705204681714923038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950063269,"filename":"image_05122025_15_35_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/5/4c366f4ab85212d12b4e9e023b7b15f5.jpg","text":"TemporaryFile(/tmp/multipartBody1389458986817098580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950063269,"filename":"image_05122025_15_36_05_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102853","file1":"1398102852","file0":"1398102848","file4":"1398102857","file5":"1398102860","file3":"1398102855"},"map_files_photo_id_array":[{"photo_id":"1398102860","filename":"file5"},{"photo_id":"1398102853","filename":"file2"},{"photo_id":"1398102857","filename":"file4"},{"photo_id":"1398102852","filename":"file1"},{"photo_id":"1398102848","filename":"file0"},{"photo_id":"1398102855","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102860":["hashtag1","hashtag2"]},{"1398102857":["hashtag1","hashtag2"]},{"1398102848":["hashtag1","hashtag2"]},{"1398102853":["hashtag1","hashtag2"]},{"1398102852":["hashtag1","hashtag2"]},{"1398102855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102860, 1398102857, 1398102848, 1398102853, 1398102852, 1398102855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73148775100708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:54:03.556174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/36/image_05122025_15_36_55_9403.jpg', '/home/pi/Desktop/images/05122025/15/37/image_05122025_15_37_15_9579.jpg', '/home/pi/Desktop/images/05122025/15/37/image_05122025_15_37_25_10568.jpg', '/home/pi/Desktop/images/05122025/15/37/image_05122025_15_37_35_9683.jpg', '/home/pi/Desktop/images/05122025/15/37/image_05122025_15_37_45_9597.jpg', '/home/pi/Desktop/images/05122025/15/38/image_05122025_15_38_15_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/36/image_05122025_15_36_55_9403.jpg
/home/pi/Desktop/images/05122025/15/37/image_05122025_15_37_15_9579.jpg
/home/pi/Desktop/images/05122025/15/37/image_05122025_15_37_25_10568.jpg
/home/pi/Desktop/images/05122025/15/37/image_05122025_15_37_35_9683.jpg
/home/pi/Desktop/images/05122025/15/37/image_05122025_15_37_45_9597.jpg
/home/pi/Desktop/images/05122025/15/38/image_05122025_15_38_15_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":["1398102869","1398102863","1398102871","1398102865","1398102873","1398102867"],"photo_ids_order":["1398102863","1398102865","1398102867","1398102869","1398102871","1398102873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/962c94cfc68b2b93b3f204e5174c9e06.jpg","text":"TemporaryFile(/tmp/multipartBody4125731814617879793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950104156,"filename":"image_05122025_15_37_35_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/18729f1143d901d1f1918cd8de8a7618.jpg","text":"TemporaryFile(/tmp/multipartBody7122042794630781003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950104156,"filename":"image_05122025_15_36_55_9403.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b12c270f3c418465e09537f1f35f546f.jpg","text":"TemporaryFile(/tmp/multipartBody447698857321514050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950104156,"filename":"image_05122025_15_37_45_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/5/254705624107f4b014db8fd9825c767a.jpg","text":"TemporaryFile(/tmp/multipartBody8512113111221071473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950104156,"filename":"image_05122025_15_37_15_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/5/94c480a416bba5b2e14a513add186dc6.jpg","text":"TemporaryFile(/tmp/multipartBody3383850687168037724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950104156,"filename":"image_05122025_15_38_15_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e6935e779bbe0396ce58a6c25da9bc06.jpg","text":"TemporaryFile(/tmp/multipartBody4849157501916304203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950104156,"filename":"image_05122025_15_37_25_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102867","file1":"1398102865","file0":"1398102863","file4":"1398102871","file5":"1398102873","file3":"1398102869"},"map_files_photo_id_array":[{"photo_id":"1398102873","filename":"file5"},{"photo_id":"1398102867","filename":"file2"},{"photo_id":"1398102871","filename":"file4"},{"photo_id":"1398102865","filename":"file1"},{"photo_id":"1398102863","filename":"file0"},{"photo_id":"1398102869","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102869":["hashtag1","hashtag2"]},{"1398102863":["hashtag1","hashtag2"]},{"1398102871":["hashtag1","hashtag2"]},{"1398102865":["hashtag1","hashtag2"]},{"1398102873":["hashtag1","hashtag2"]},{"1398102867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102869, 1398102863, 1398102871, 1398102865, 1398102873, 1398102867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.633315324783325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:54:42.850273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_50_2752.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_53_3007.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_55_2552.jpg', '/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_58_2857.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_02_3599.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_05_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_50_2752.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_53_3007.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_55_2552.jpg
/home/pi/Desktop/images/31102025/20/02/image_31102025_20_02_58_2857.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_02_3599.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_05_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398102893","1398102887","1398102884","1398102886","1398102889","1398102888"],"photo_ids_order":["1398102884","1398102886","1398102887","1398102888","1398102889","1398102893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac2718a81f59dd0b6446f238577569cd.jpg","text":"TemporaryFile(/tmp/multipartBody2297520223870476283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950144404,"filename":"image_31102025_20_03_05_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb7412890e3bd778740ddb42f9518e04.jpg","text":"TemporaryFile(/tmp/multipartBody8853006562744014094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950144404,"filename":"image_31102025_20_02_55_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/5/e6604cd461061c84361417318ac2a177.jpg","text":"TemporaryFile(/tmp/multipartBody3649482066879270422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950144404,"filename":"image_31102025_20_02_50_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d22df8a6589e15e0442142fa09adf8d8.jpg","text":"TemporaryFile(/tmp/multipartBody4682418765204982497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950144404,"filename":"image_31102025_20_02_53_3007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/24dc3fd7d17f16905e41529bb7977f27.jpg","text":"TemporaryFile(/tmp/multipartBody2228336824862090145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950144404,"filename":"image_31102025_20_03_02_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/5/db2b0bf399494e703a71b5e78ff41df6.jpg","text":"TemporaryFile(/tmp/multipartBody8854241039145407683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950144404,"filename":"image_31102025_20_02_58_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102887","file1":"1398102886","file0":"1398102884","file4":"1398102889","file5":"1398102893","file3":"1398102888"},"map_files_photo_id_array":[{"photo_id":"1398102893","filename":"file5"},{"photo_id":"1398102887","filename":"file2"},{"photo_id":"1398102889","filename":"file4"},{"photo_id":"1398102886","filename":"file1"},{"photo_id":"1398102884","filename":"file0"},{"photo_id":"1398102888","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398102893":["hashtag1","hashtag2"]},{"1398102887":["hashtag1","hashtag2"]},{"1398102884":["hashtag1","hashtag2"]},{"1398102886":["hashtag1","hashtag2"]},{"1398102889":["hashtag1","hashtag2"]},{"1398102888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398102893, 1398102887, 1398102884, 1398102886, 1398102889, 1398102888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53628492355347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:55:22.041052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/38/image_05122025_15_38_55_9643.jpg', '/home/pi/Desktop/images/05122025/15/39/image_05122025_15_39_15_10748.jpg', '/home/pi/Desktop/images/05122025/15/39/image_05122025_15_39_25_9667.jpg', '/home/pi/Desktop/images/05122025/15/39/image_05122025_15_39_45_9556.jpg', '/home/pi/Desktop/images/05122025/15/39/image_05122025_15_39_55_10588.jpg', '/home/pi/Desktop/images/05122025/15/39/image_05122025_15_40_05_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/38/image_05122025_15_38_55_9643.jpg
/home/pi/Desktop/images/05122025/15/39/image_05122025_15_39_15_10748.jpg
/home/pi/Desktop/images/05122025/15/39/image_05122025_15_39_25_9667.jpg
/home/pi/Desktop/images/05122025/15/39/image_05122025_15_39_45_9556.jpg
/home/pi/Desktop/images/05122025/15/39/image_05122025_15_39_55_10588.jpg
/home/pi/Desktop/images/05122025/15/39/image_05122025_15_40_05_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":["1398102950","1398102958","1398102969","1398102966","1398102939","1398102927"],"photo_ids_order":["1398102927","1398102939","1398102950","1398102958","1398102966","1398102969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5918f44b68440fa76b3057df64bd3817.jpg","text":"TemporaryFile(/tmp/multipartBody5006065140833797199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950182638,"filename":"image_05122025_15_39_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/5/79b09c8f6d2c5c2bb036c9b617b472fa.jpg","text":"TemporaryFile(/tmp/multipartBody4355220820190626865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950182638,"filename":"image_05122025_15_39_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/5/37e932e7d988c798944a5bdcbd39fe5d.jpg","text":"TemporaryFile(/tmp/multipartBody4547211046355126532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950182638,"filename":"image_05122025_15_40_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/85719f6717b3961ab9adc08725876390.jpg","text":"TemporaryFile(/tmp/multipartBody329399145188150233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950182638,"filename":"image_05122025_15_39_55_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/5/512c3caf623de82d39eaf4cf3ec957b4.jpg","text":"TemporaryFile(/tmp/multipartBody7786209488823471579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950182638,"filename":"image_05122025_15_39_15_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/5/b6f13c1a5ba1c141e7f8751f9a2e20c5.jpg","text":"TemporaryFile(/tmp/multipartBody8356877653279723427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950182638,"filename":"image_05122025_15_38_55_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102950","file1":"1398102939","file0":"1398102927","file4":"1398102966","file5":"1398102969","file3":"1398102958"},"map_files_photo_id_array":[{"photo_id":"1398102969","filename":"file5"},{"photo_id":"1398102950","filename":"file2"},{"photo_id":"1398102966","filename":"file4"},{"photo_id":"1398102939","filename":"file1"},{"photo_id":"1398102927","filename":"file0"},{"photo_id":"1398102958","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102950":["hashtag1","hashtag2"]},{"1398102958":["hashtag1","hashtag2"]},{"1398102969":["hashtag1","hashtag2"]},{"1398102966":["hashtag1","hashtag2"]},{"1398102939":["hashtag1","hashtag2"]},{"1398102927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102950, 1398102958, 1398102969, 1398102966, 1398102939, 1398102927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.107601165771484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:56:02.687871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/40/image_05122025_15_40_15_10265.jpg', '/home/pi/Desktop/images/05122025/15/40/image_05122025_15_40_25_9597.jpg', '/home/pi/Desktop/images/05122025/15/40/image_05122025_15_40_35_10612.jpg', '/home/pi/Desktop/images/05122025/15/40/image_05122025_15_41_05_10657.jpg', '/home/pi/Desktop/images/05122025/15/41/image_05122025_15_41_15_9635.jpg', '/home/pi/Desktop/images/05122025/15/41/image_05122025_15_41_25_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/40/image_05122025_15_40_15_10265.jpg
/home/pi/Desktop/images/05122025/15/40/image_05122025_15_40_25_9597.jpg
/home/pi/Desktop/images/05122025/15/40/image_05122025_15_40_35_10612.jpg
/home/pi/Desktop/images/05122025/15/40/image_05122025_15_41_05_10657.jpg
/home/pi/Desktop/images/05122025/15/41/image_05122025_15_41_15_9635.jpg
/home/pi/Desktop/images/05122025/15/41/image_05122025_15_41_25_9557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398102971","1398102977","1398102979","1398102981","1398102975","1398102972"],"photo_ids_order":["1398102971","1398102972","1398102975","1398102977","1398102979","1398102981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cffdf71cf843e143f5b6e5d591baf580.jpg","text":"TemporaryFile(/tmp/multipartBody90505944552094276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950223292,"filename":"image_05122025_15_40_15_10265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aab5825d973270c979d7ae9fa2190671.jpg","text":"TemporaryFile(/tmp/multipartBody151628769600002665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950223292,"filename":"image_05122025_15_41_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/5/761bd964bd212308149a79d2acff26eb.jpg","text":"TemporaryFile(/tmp/multipartBody990564330245783905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950223292,"filename":"image_05122025_15_41_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/5/9d1e2664c2c8ec16213da55fd3d5d817.jpg","text":"TemporaryFile(/tmp/multipartBody6137974506623021163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950223292,"filename":"image_05122025_15_41_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/5/9d7b51c659222728ced0d1f0ca15fb96.jpg","text":"TemporaryFile(/tmp/multipartBody590489732382235214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950223292,"filename":"image_05122025_15_40_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/5/d2dde202dcda36eab867be2ae604e002.jpg","text":"TemporaryFile(/tmp/multipartBody4041035075929685416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950223292,"filename":"image_05122025_15_40_25_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102975","file1":"1398102972","file0":"1398102971","file4":"1398102979","file5":"1398102981","file3":"1398102977"},"map_files_photo_id_array":[{"photo_id":"1398102981","filename":"file5"},{"photo_id":"1398102975","filename":"file2"},{"photo_id":"1398102979","filename":"file4"},{"photo_id":"1398102972","filename":"file1"},{"photo_id":"1398102971","filename":"file0"},{"photo_id":"1398102977","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398102971":["hashtag1","hashtag2"]},{"1398102977":["hashtag1","hashtag2"]},{"1398102979":["hashtag1","hashtag2"]},{"1398102981":["hashtag1","hashtag2"]},{"1398102975":["hashtag1","hashtag2"]},{"1398102972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398102971, 1398102977, 1398102979, 1398102981, 1398102975, 1398102972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91463589668274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 16:56:42.213198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_08_3614.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_11_2523.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_13_2601.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_23_3651.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_28_2659.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_31_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_08_3614.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_11_2523.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_13_2601.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_23_3651.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_28_2659.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_31_2805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398102992","1398102995","1398103004","1398103001","1398102997","1398102999"],"photo_ids_order":["1398102992","1398102995","1398102997","1398102999","1398103001","1398103004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/959ef65d6c52bd855f999cae9c131f0e.jpg","text":"TemporaryFile(/tmp/multipartBody2324399317300584874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950263835,"filename":"image_31102025_20_03_08_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ae9d41c0507550d74005dcef34d35738.jpg","text":"TemporaryFile(/tmp/multipartBody76923131324582408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950263835,"filename":"image_31102025_20_03_11_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/5/007f2e18fe0a3659a0cd6cb0aafb4b71.jpg","text":"TemporaryFile(/tmp/multipartBody3080027823670386999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950263835,"filename":"image_31102025_20_03_31_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/5/9043a04fc6158d6940a4e6c2198c3d0e.jpg","text":"TemporaryFile(/tmp/multipartBody930165640403411639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950263835,"filename":"image_31102025_20_03_28_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/5/2d4601e8a7f5509a06a98b138178804f.jpg","text":"TemporaryFile(/tmp/multipartBody6950100110065990472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950263835,"filename":"image_31102025_20_03_13_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bf5f3592120c501c7f3c44d54c6aaa79.jpg","text":"TemporaryFile(/tmp/multipartBody1763868100404560080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950263835,"filename":"image_31102025_20_03_23_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398102997","file1":"1398102995","file0":"1398102992","file4":"1398103001","file5":"1398103004","file3":"1398102999"},"map_files_photo_id_array":[{"photo_id":"1398103004","filename":"file5"},{"photo_id":"1398102997","filename":"file2"},{"photo_id":"1398103001","filename":"file4"},{"photo_id":"1398102995","filename":"file1"},{"photo_id":"1398102992","filename":"file0"},{"photo_id":"1398102999","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398102992":["hashtag1","hashtag2"]},{"1398102995":["hashtag1","hashtag2"]},{"1398103004":["hashtag1","hashtag2"]},{"1398103001":["hashtag1","hashtag2"]},{"1398102997":["hashtag1","hashtag2"]},{"1398102999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398102992, 1398102995, 1398103004, 1398103001, 1398102997, 1398102999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58939266204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 16:57:22.405572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/41/image_05122025_15_41_35_10595.jpg', '/home/pi/Desktop/images/05122025/15/41/image_05122025_15_41_45_9574.jpg', '/home/pi/Desktop/images/05122025/15/41/image_05122025_15_41_55_9930.jpg', '/home/pi/Desktop/images/05122025/15/41/image_05122025_15_42_05_10786.jpg', '/home/pi/Desktop/images/05122025/15/42/image_05122025_15_42_15_9694.jpg', '/home/pi/Desktop/images/05122025/15/42/image_05122025_15_42_25_9512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/41/image_05122025_15_41_35_10595.jpg
/home/pi/Desktop/images/05122025/15/41/image_05122025_15_41_45_9574.jpg
/home/pi/Desktop/images/05122025/15/41/image_05122025_15_41_55_9930.jpg
/home/pi/Desktop/images/05122025/15/41/image_05122025_15_42_05_10786.jpg
/home/pi/Desktop/images/05122025/15/42/image_05122025_15_42_15_9694.jpg
/home/pi/Desktop/images/05122025/15/42/image_05122025_15_42_25_9512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398103016","1398103019","1398103013","1398103018","1398103023","1398103020"],"photo_ids_order":["1398103013","1398103016","1398103018","1398103019","1398103020","1398103023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc1bdfeaeb21a861c663b8728824b152.jpg","text":"TemporaryFile(/tmp/multipartBody2041011431429677532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950303039,"filename":"image_05122025_15_41_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/5/e2b6d1469205f504d189e383424df82c.jpg","text":"TemporaryFile(/tmp/multipartBody6577326325646769187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950303039,"filename":"image_05122025_15_42_05_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/5/693170f4fc138fa92f94d4b81e6dc365.jpg","text":"TemporaryFile(/tmp/multipartBody7219802383616283321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950303039,"filename":"image_05122025_15_41_35_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/5/df9ec5ce80ae89ab1a9ff8ab1e93e1da.jpg","text":"TemporaryFile(/tmp/multipartBody307285141304461071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950303039,"filename":"image_05122025_15_41_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/5/33a5ed438feb0a4ae142bfdeb3b90815.jpg","text":"TemporaryFile(/tmp/multipartBody4502641412288670651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950303039,"filename":"image_05122025_15_42_25_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/5/805da656599ca949bee8aa257fa561f8.jpg","text":"TemporaryFile(/tmp/multipartBody8631138652887560476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950303039,"filename":"image_05122025_15_42_15_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398103018","file1":"1398103016","file0":"1398103013","file4":"1398103020","file5":"1398103023","file3":"1398103019"},"map_files_photo_id_array":[{"photo_id":"1398103023","filename":"file5"},{"photo_id":"1398103018","filename":"file2"},{"photo_id":"1398103020","filename":"file4"},{"photo_id":"1398103016","filename":"file1"},{"photo_id":"1398103013","filename":"file0"},{"photo_id":"1398103019","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398103016":["hashtag1","hashtag2"]},{"1398103019":["hashtag1","hashtag2"]},{"1398103013":["hashtag1","hashtag2"]},{"1398103018":["hashtag1","hashtag2"]},{"1398103023":["hashtag1","hashtag2"]},{"1398103020":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398103016, 1398103019, 1398103013, 1398103018, 1398103023, 1398103020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69376254081726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 16:59:02.943534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/42/image_05122025_15_42_45_10631.jpg', '/home/pi/Desktop/images/05122025/15/42/image_05122025_15_42_55_9837.jpg', '/home/pi/Desktop/images/05122025/15/42/image_05122025_15_43_05_9720.jpg', '/home/pi/Desktop/images/05122025/15/43/image_05122025_15_43_25_9618.jpg', '/home/pi/Desktop/images/05122025/15/43/image_05122025_15_43_35_9987.jpg', '/home/pi/Desktop/images/05122025/15/43/image_05122025_15_43_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/42/image_05122025_15_42_45_10631.jpg
/home/pi/Desktop/images/05122025/15/42/image_05122025_15_42_55_9837.jpg
/home/pi/Desktop/images/05122025/15/42/image_05122025_15_43_05_9720.jpg
/home/pi/Desktop/images/05122025/15/43/image_05122025_15_43_25_9618.jpg
/home/pi/Desktop/images/05122025/15/43/image_05122025_15_43_35_9987.jpg
/home/pi/Desktop/images/05122025/15/43/image_05122025_15_43_55_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":["1398103430","1398103205","1398103573","1398103282","1398103501","1398103356"],"photo_ids_order":["1398103205","1398103282","1398103356","1398103430","1398103501","1398103573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7372330637d6adee5d0bccbcffebbbf0.jpg","text":"TemporaryFile(/tmp/multipartBody7019226092365718261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950403717,"filename":"image_05122025_15_43_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/5/a2e2606a9fa76f014c1f07d7bb07a951.jpg","text":"TemporaryFile(/tmp/multipartBody8830863834469628063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950403717,"filename":"image_05122025_15_42_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/5/beb36cbf3e1be1e9a2d75e1b997fd21d.jpg","text":"TemporaryFile(/tmp/multipartBody2724245110402768601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950403717,"filename":"image_05122025_15_43_55_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/5/17f4ce84393a9b3af2b4457114766417.jpg","text":"TemporaryFile(/tmp/multipartBody89105706991337980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950403717,"filename":"image_05122025_15_42_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/5/b2eca1a7aacc1f897cad3d61a6015b35.jpg","text":"TemporaryFile(/tmp/multipartBody6228169624876513636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950403717,"filename":"image_05122025_15_43_35_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/5/3b87fcb90ac538fed457796e8c33f4df.jpg","text":"TemporaryFile(/tmp/multipartBody8926752298074918737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950403717,"filename":"image_05122025_15_43_05_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398103356","file1":"1398103282","file0":"1398103205","file4":"1398103501","file5":"1398103573","file3":"1398103430"},"map_files_photo_id_array":[{"photo_id":"1398103573","filename":"file5"},{"photo_id":"1398103356","filename":"file2"},{"photo_id":"1398103501","filename":"file4"},{"photo_id":"1398103282","filename":"file1"},{"photo_id":"1398103205","filename":"file0"},{"photo_id":"1398103430","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398103430":["hashtag1","hashtag2"]},{"1398103205":["hashtag1","hashtag2"]},{"1398103573":["hashtag1","hashtag2"]},{"1398103282":["hashtag1","hashtag2"]},{"1398103501":["hashtag1","hashtag2"]},{"1398103356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398103430, 1398103205, 1398103573, 1398103282, 1398103501, 1398103356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.214566469192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:00:02.626559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/44/image_05122025_15_44_14_9592.jpg', '/home/pi/Desktop/images/05122025/15/44/image_05122025_15_44_25_10535.jpg', '/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_31_66307.jpg', '/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_33_1823.jpg', '/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_35_1649.jpg', '/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_38_1817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/44/image_05122025_15_44_14_9592.jpg
/home/pi/Desktop/images/05122025/15/44/image_05122025_15_44_25_10535.jpg
/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_31_66307.jpg
/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_33_1823.jpg
/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_35_1649.jpg
/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_38_1817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398104494","1398104333","1398104539","1398104236","1398104119","1398104423"],"photo_ids_order":["1398104119","1398104236","1398104333","1398104423","1398104494","1398104539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8fdc504fe3504e651798221928faeb3d.jpg","text":"TemporaryFile(/tmp/multipartBody1566530619760126395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950463279,"filename":"image_05122025_15_45_35_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/5/89644f2dcc2617e9259095d34f7b431f.jpg","text":"TemporaryFile(/tmp/multipartBody5215232868961583919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950463279,"filename":"image_05122025_15_45_31_66307.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f19d6e84e6c9754584cecbcc9d846ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2157408049707738114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950463279,"filename":"image_05122025_15_45_38_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/5/1b05797d314fd2123fed3286c856406f.jpg","text":"TemporaryFile(/tmp/multipartBody2069755678066302057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950463279,"filename":"image_05122025_15_44_25_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/5/2e1ff787130c9ce8af374201bd6e0521.jpg","text":"TemporaryFile(/tmp/multipartBody2404182858127446268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950463279,"filename":"image_05122025_15_44_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2502e6bf80ec20740c82e0f9ce9d5d83.jpg","text":"TemporaryFile(/tmp/multipartBody4467869980040723093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950463279,"filename":"image_05122025_15_45_33_1823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398104333","file1":"1398104236","file0":"1398104119","file4":"1398104494","file5":"1398104539","file3":"1398104423"},"map_files_photo_id_array":[{"photo_id":"1398104539","filename":"file5"},{"photo_id":"1398104333","filename":"file2"},{"photo_id":"1398104494","filename":"file4"},{"photo_id":"1398104236","filename":"file1"},{"photo_id":"1398104119","filename":"file0"},{"photo_id":"1398104423","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398104494":["hashtag1","hashtag2"]},{"1398104333":["hashtag1","hashtag2"]},{"1398104539":["hashtag1","hashtag2"]},{"1398104236":["hashtag1","hashtag2"]},{"1398104119":["hashtag1","hashtag2"]},{"1398104423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398104494, 1398104333, 1398104539, 1398104236, 1398104119, 1398104423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98773384094238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:00:42.170626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_35_3697.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_37_2532.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_40_2817.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_44_3643.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_47_2638.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_49_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_35_3697.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_37_2532.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_40_2817.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_44_3643.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_47_2638.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_49_2799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398105081","1398104970","1398104676","1398104763","1398104858","1398104714"],"photo_ids_order":["1398104676","1398104714","1398104763","1398104858","1398104970","1398105081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8aa8788c40e0c5990c51b7423c5393e4.jpg","text":"TemporaryFile(/tmp/multipartBody5425383787644548101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950503762,"filename":"image_31102025_20_03_49_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/5/41ec4fb72cd37900f8d642d5a490d744.jpg","text":"TemporaryFile(/tmp/multipartBody5378175853181383389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950503762,"filename":"image_31102025_20_03_47_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/5/aa45a34170c112be6acb6dcd2707abf7.jpg","text":"TemporaryFile(/tmp/multipartBody6433352149054285172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950503762,"filename":"image_31102025_20_03_35_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/5/defe794c2eabfeef2cfedf9eb80cfa70.jpg","text":"TemporaryFile(/tmp/multipartBody2091812742592463500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950503762,"filename":"image_31102025_20_03_40_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/5/7478d40a67bfeb4087ceeb5c95a199eb.jpg","text":"TemporaryFile(/tmp/multipartBody2512300443713728042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950503762,"filename":"image_31102025_20_03_44_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/5/9d33f2fbaf570ddb40fbc9f4cc13ebeb.jpg","text":"TemporaryFile(/tmp/multipartBody4615833892979009900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950503762,"filename":"image_31102025_20_03_37_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398104763","file1":"1398104714","file0":"1398104676","file4":"1398104970","file5":"1398105081","file3":"1398104858"},"map_files_photo_id_array":[{"photo_id":"1398105081","filename":"file5"},{"photo_id":"1398104763","filename":"file2"},{"photo_id":"1398104970","filename":"file4"},{"photo_id":"1398104714","filename":"file1"},{"photo_id":"1398104676","filename":"file0"},{"photo_id":"1398104858","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398105081":["hashtag1","hashtag2"]},{"1398104970":["hashtag1","hashtag2"]},{"1398104676":["hashtag1","hashtag2"]},{"1398104763":["hashtag1","hashtag2"]},{"1398104858":["hashtag1","hashtag2"]},{"1398104714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398105081, 1398104970, 1398104676, 1398104763, 1398104858, 1398104714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83706259727478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:01:22.403584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_40_1802.jpg', '/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_42_1718.jpg', '/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_45_3661.jpg', '/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_55_9720.jpg', '/home/pi/Desktop/images/05122025/15/46/image_05122025_15_46_14_9657.jpg', '/home/pi/Desktop/images/05122025/15/46/image_05122025_15_46_25_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_40_1802.jpg
/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_42_1718.jpg
/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_45_3661.jpg
/home/pi/Desktop/images/05122025/15/45/image_05122025_15_45_55_9720.jpg
/home/pi/Desktop/images/05122025/15/46/image_05122025_15_46_14_9657.jpg
/home/pi/Desktop/images/05122025/15/46/image_05122025_15_46_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":["1398105393","1398105543","1398105324","1398105284","1398105242","1398105469"],"photo_ids_order":["1398105242","1398105284","1398105324","1398105393","1398105469","1398105543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f44ddaa6f93a485e614e5500fe99dbe4.jpg","text":"TemporaryFile(/tmp/multipartBody1675186800011854312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950543067,"filename":"image_05122025_15_45_55_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/5/252dc4b93fd364579e24786dda8928a5.jpg","text":"TemporaryFile(/tmp/multipartBody937370008597241837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950543067,"filename":"image_05122025_15_46_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/5/89cd3cb0b650ec7847109fd7a6022b1e.jpg","text":"TemporaryFile(/tmp/multipartBody1476887795930310479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950543067,"filename":"image_05122025_15_45_45_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/5/c4ceb8129675abcaeab0e32c4ad5bdcd.jpg","text":"TemporaryFile(/tmp/multipartBody1890504189938433057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950543067,"filename":"image_05122025_15_45_42_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/5/61047cf13e960e131f8fd30a61ff2e21.jpg","text":"TemporaryFile(/tmp/multipartBody2189016478981653775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950543067,"filename":"image_05122025_15_45_40_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/5/0b18e7a0d30aca1363cdfef643f54010.jpg","text":"TemporaryFile(/tmp/multipartBody1892973072788586330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950543067,"filename":"image_05122025_15_46_14_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398105324","file1":"1398105284","file0":"1398105242","file4":"1398105469","file5":"1398105543","file3":"1398105393"},"map_files_photo_id_array":[{"photo_id":"1398105543","filename":"file5"},{"photo_id":"1398105324","filename":"file2"},{"photo_id":"1398105469","filename":"file4"},{"photo_id":"1398105284","filename":"file1"},{"photo_id":"1398105242","filename":"file0"},{"photo_id":"1398105393","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398105393":["hashtag1","hashtag2"]},{"1398105543":["hashtag1","hashtag2"]},{"1398105324":["hashtag1","hashtag2"]},{"1398105284":["hashtag1","hashtag2"]},{"1398105242":["hashtag1","hashtag2"]},{"1398105469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398105393, 1398105543, 1398105324, 1398105284, 1398105242, 1398105469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78068017959595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:02:03.390496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/46/image_05122025_15_46_45_9752.jpg', '/home/pi/Desktop/images/05122025/15/46/image_05122025_15_46_55_10541.jpg', '/home/pi/Desktop/images/05122025/15/46/image_05122025_15_47_05_9702.jpg', '/home/pi/Desktop/images/05122025/15/47/image_05122025_15_47_15_10561.jpg', '/home/pi/Desktop/images/05122025/15/47/image_05122025_15_47_25_9590.jpg', '/home/pi/Desktop/images/05122025/15/47/image_05122025_15_47_35_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/46/image_05122025_15_46_45_9752.jpg
/home/pi/Desktop/images/05122025/15/46/image_05122025_15_46_55_10541.jpg
/home/pi/Desktop/images/05122025/15/46/image_05122025_15_47_05_9702.jpg
/home/pi/Desktop/images/05122025/15/47/image_05122025_15_47_15_10561.jpg
/home/pi/Desktop/images/05122025/15/47/image_05122025_15_47_25_9590.jpg
/home/pi/Desktop/images/05122025/15/47/image_05122025_15_47_35_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":["1398106005","1398106085","1398105927","1398105849","1398106043","1398105968"],"photo_ids_order":["1398105849","1398105927","1398105968","1398106005","1398106043","1398106085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e01a2c24b56975f0c5ad0076271195cb.jpg","text":"TemporaryFile(/tmp/multipartBody7927662232128846013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950584061,"filename":"image_05122025_15_47_15_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/5/f43b8f6ee168dc7ca72a32bcc6b9d285.jpg","text":"TemporaryFile(/tmp/multipartBody7518148314685600448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950584061,"filename":"image_05122025_15_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/5/b453f507176455e11d9debec3efd167d.jpg","text":"TemporaryFile(/tmp/multipartBody8545590231287684629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950584061,"filename":"image_05122025_15_46_55_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/5/3a222f2f076df5d85b9dc2b17b11440e.jpg","text":"TemporaryFile(/tmp/multipartBody2755417675926752412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950584061,"filename":"image_05122025_15_46_45_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/5/5ba8e0b96dc3d27c68452a1c7d6af676.jpg","text":"TemporaryFile(/tmp/multipartBody1484010473259078972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950584061,"filename":"image_05122025_15_47_25_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/5/0747302531c7c6b0b2d35d355333cce3.jpg","text":"TemporaryFile(/tmp/multipartBody7253444204261323252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950584061,"filename":"image_05122025_15_47_05_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398105968","file1":"1398105927","file0":"1398105849","file4":"1398106043","file5":"1398106085","file3":"1398106005"},"map_files_photo_id_array":[{"photo_id":"1398106085","filename":"file5"},{"photo_id":"1398105968","filename":"file2"},{"photo_id":"1398106043","filename":"file4"},{"photo_id":"1398105927","filename":"file1"},{"photo_id":"1398105849","filename":"file0"},{"photo_id":"1398106005","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398106005":["hashtag1","hashtag2"]},{"1398106085":["hashtag1","hashtag2"]},{"1398105927":["hashtag1","hashtag2"]},{"1398105849":["hashtag1","hashtag2"]},{"1398106043":["hashtag1","hashtag2"]},{"1398105968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398106005, 1398106085, 1398105927, 1398105849, 1398106043, 1398105968)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.07522988319397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:03:03.023574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/47/image_05122025_15_47_45_10607.jpg', '/home/pi/Desktop/images/05122025/15/47/image_05122025_15_47_55_9777.jpg', '/home/pi/Desktop/images/05122025/15/48/image_05122025_15_48_15_10645.jpg', '/home/pi/Desktop/images/05122025/15/48/image_05122025_15_48_25_9689.jpg', '/home/pi/Desktop/images/05122025/15/48/image_05122025_15_48_35_9572.jpg', '/home/pi/Desktop/images/05122025/15/48/image_05122025_15_48_45_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/47/image_05122025_15_47_45_10607.jpg
/home/pi/Desktop/images/05122025/15/47/image_05122025_15_47_55_9777.jpg
/home/pi/Desktop/images/05122025/15/48/image_05122025_15_48_15_10645.jpg
/home/pi/Desktop/images/05122025/15/48/image_05122025_15_48_25_9689.jpg
/home/pi/Desktop/images/05122025/15/48/image_05122025_15_48_35_9572.jpg
/home/pi/Desktop/images/05122025/15/48/image_05122025_15_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":["1398106295","1398106403","1398106304","1398106294","1398106375","1398106342"],"photo_ids_order":["1398106294","1398106295","1398106304","1398106342","1398106375","1398106403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5fe375b0e42353a47c0674663fd6acd5.jpg","text":"TemporaryFile(/tmp/multipartBody5022591278437392739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950643728,"filename":"image_05122025_15_47_55_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4fa24dc197e09eddadf4556dd828c3d3.jpg","text":"TemporaryFile(/tmp/multipartBody3950501565588456930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950643728,"filename":"image_05122025_15_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/5/786dac4330b53b4735c8b62177977e30.jpg","text":"TemporaryFile(/tmp/multipartBody9102119797605802516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950643728,"filename":"image_05122025_15_48_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/5/9aee129bf3ccdef77a5532dc3b350034.jpg","text":"TemporaryFile(/tmp/multipartBody1566137795686342373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950643728,"filename":"image_05122025_15_47_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/5/0b774b63a2b53d6ef0e8aa684d9fd9cc.jpg","text":"TemporaryFile(/tmp/multipartBody2051945899702296435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950643728,"filename":"image_05122025_15_48_35_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/5/bbe242f7311a149eb93af03114584bf1.jpg","text":"TemporaryFile(/tmp/multipartBody21417415013459508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950643728,"filename":"image_05122025_15_48_25_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398106304","file1":"1398106295","file0":"1398106294","file4":"1398106375","file5":"1398106403","file3":"1398106342"},"map_files_photo_id_array":[{"photo_id":"1398106403","filename":"file5"},{"photo_id":"1398106304","filename":"file2"},{"photo_id":"1398106375","filename":"file4"},{"photo_id":"1398106295","filename":"file1"},{"photo_id":"1398106294","filename":"file0"},{"photo_id":"1398106342","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398106295":["hashtag1","hashtag2"]},{"1398106403":["hashtag1","hashtag2"]},{"1398106304":["hashtag1","hashtag2"]},{"1398106294":["hashtag1","hashtag2"]},{"1398106375":["hashtag1","hashtag2"]},{"1398106342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398106295, 1398106403, 1398106304, 1398106294, 1398106375, 1398106342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68860387802124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:03:42.452700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_53_3588.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_56_2683.jpg', '/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_58_2605.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_02_3799.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_05_2699.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_07_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_53_3588.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_56_2683.jpg
/home/pi/Desktop/images/31102025/20/03/image_31102025_20_03_58_2605.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_02_3799.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_05_2699.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_07_2527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398106689","1398106701","1398106595","1398106730","1398106700","1398106645"],"photo_ids_order":["1398106595","1398106645","1398106689","1398106700","1398106701","1398106730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/746633caa73e6e8fe16731f06aa8133d.jpg","text":"TemporaryFile(/tmp/multipartBody5220821134157269875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950684020,"filename":"image_31102025_20_03_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/5/a9215424483a6bbac4608b0e2a3ab295.jpg","text":"TemporaryFile(/tmp/multipartBody5180236505985803549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950684020,"filename":"image_31102025_20_04_05_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/5/fd2a38c6abd66f740712b29fa5ace5ae.jpg","text":"TemporaryFile(/tmp/multipartBody2295766678164729042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950684020,"filename":"image_31102025_20_03_53_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/5/b4c44fe23487da8728c9f2df81fb37c0.jpg","text":"TemporaryFile(/tmp/multipartBody673110649706174819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950684020,"filename":"image_31102025_20_04_07_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/553dec0e5a363a116af3446d75218ab0.jpg","text":"TemporaryFile(/tmp/multipartBody8325577472460950818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950684020,"filename":"image_31102025_20_04_02_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f37f6801507e01cfd8dd5d33e87b3707.jpg","text":"TemporaryFile(/tmp/multipartBody9080644001681919117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950684020,"filename":"image_31102025_20_03_56_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398106689","file1":"1398106645","file0":"1398106595","file4":"1398106701","file5":"1398106730","file3":"1398106700"},"map_files_photo_id_array":[{"photo_id":"1398106730","filename":"file5"},{"photo_id":"1398106689","filename":"file2"},{"photo_id":"1398106701","filename":"file4"},{"photo_id":"1398106645","filename":"file1"},{"photo_id":"1398106595","filename":"file0"},{"photo_id":"1398106700","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398106689":["hashtag1","hashtag2"]},{"1398106701":["hashtag1","hashtag2"]},{"1398106595":["hashtag1","hashtag2"]},{"1398106730":["hashtag1","hashtag2"]},{"1398106700":["hashtag1","hashtag2"]},{"1398106645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398106689, 1398106701, 1398106595, 1398106730, 1398106700, 1398106645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.511460304260254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:04:22.625413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/48/image_05122025_15_48_55_9783.jpg', '/home/pi/Desktop/images/05122025/15/48/image_05122025_15_49_05_9684.jpg', '/home/pi/Desktop/images/05122025/15/49/image_05122025_15_49_15_10522.jpg', '/home/pi/Desktop/images/05122025/15/49/image_05122025_15_49_25_9642.jpg', '/home/pi/Desktop/images/05122025/15/49/image_05122025_15_49_35_10544.jpg', '/home/pi/Desktop/images/05122025/15/49/image_05122025_15_49_45_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/48/image_05122025_15_48_55_9783.jpg
/home/pi/Desktop/images/05122025/15/48/image_05122025_15_49_05_9684.jpg
/home/pi/Desktop/images/05122025/15/49/image_05122025_15_49_15_10522.jpg
/home/pi/Desktop/images/05122025/15/49/image_05122025_15_49_25_9642.jpg
/home/pi/Desktop/images/05122025/15/49/image_05122025_15_49_35_10544.jpg
/home/pi/Desktop/images/05122025/15/49/image_05122025_15_49_45_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":["1398106788","1398106776","1398106809","1398106790","1398106792","1398106798"],"photo_ids_order":["1398106776","1398106788","1398106790","1398106792","1398106798","1398106809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/11b7ef6edce7b4c6e22955792a57a3ba.jpg","text":"TemporaryFile(/tmp/multipartBody7427533659891080576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950723248,"filename":"image_05122025_15_49_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6e99aa638c1dcc73f3e19a8740d8cd70.jpg","text":"TemporaryFile(/tmp/multipartBody5297850670256424453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950723248,"filename":"image_05122025_15_48_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/5/dd69005eb0b1bcb5494e187b66ffd439.jpg","text":"TemporaryFile(/tmp/multipartBody437206300632366529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950723248,"filename":"image_05122025_15_49_45_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/5/1963f0dcfb3ff7d778c439c5e61c1612.jpg","text":"TemporaryFile(/tmp/multipartBody3736215271468741347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950723248,"filename":"image_05122025_15_49_15_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/5/16bceb001cdf314785de1c01f291e4e5.jpg","text":"TemporaryFile(/tmp/multipartBody3191422932358534930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950723248,"filename":"image_05122025_15_49_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/5/c261559a678951e390a9da260a18fcac.jpg","text":"TemporaryFile(/tmp/multipartBody165480101666291175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950723248,"filename":"image_05122025_15_49_35_10544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398106790","file1":"1398106788","file0":"1398106776","file4":"1398106798","file5":"1398106809","file3":"1398106792"},"map_files_photo_id_array":[{"photo_id":"1398106809","filename":"file5"},{"photo_id":"1398106790","filename":"file2"},{"photo_id":"1398106798","filename":"file4"},{"photo_id":"1398106788","filename":"file1"},{"photo_id":"1398106776","filename":"file0"},{"photo_id":"1398106792","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398106788":["hashtag1","hashtag2"]},{"1398106776":["hashtag1","hashtag2"]},{"1398106809":["hashtag1","hashtag2"]},{"1398106790":["hashtag1","hashtag2"]},{"1398106792":["hashtag1","hashtag2"]},{"1398106798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398106788, 1398106776, 1398106809, 1398106790, 1398106792, 1398106798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57161235809326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:05:02.417380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/49/image_05122025_15_49_55_9712.jpg', '/home/pi/Desktop/images/05122025/15/49/image_05122025_15_50_05_9708.jpg', '/home/pi/Desktop/images/05122025/15/50/image_05122025_15_50_15_10639.jpg', '/home/pi/Desktop/images/05122025/15/50/image_05122025_15_50_25_9976.jpg', '/home/pi/Desktop/images/05122025/15/50/image_05122025_15_50_45_10303.jpg', '/home/pi/Desktop/images/05122025/15/50/image_05122025_15_50_55_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/49/image_05122025_15_49_55_9712.jpg
/home/pi/Desktop/images/05122025/15/49/image_05122025_15_50_05_9708.jpg
/home/pi/Desktop/images/05122025/15/50/image_05122025_15_50_15_10639.jpg
/home/pi/Desktop/images/05122025/15/50/image_05122025_15_50_25_9976.jpg
/home/pi/Desktop/images/05122025/15/50/image_05122025_15_50_45_10303.jpg
/home/pi/Desktop/images/05122025/15/50/image_05122025_15_50_55_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":["1398106816","1398106810","1398106818","1398106812","1398106815","1398106814"],"photo_ids_order":["1398106810","1398106812","1398106814","1398106815","1398106816","1398106818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/70559a6faf9001cc7bd7b764e753a56d.jpg","text":"TemporaryFile(/tmp/multipartBody8471100167786460914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950763086,"filename":"image_05122025_15_50_45_10303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/34497e14696b6d9defa84a00e6a395e3.jpg","text":"TemporaryFile(/tmp/multipartBody6020248988269606231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950763086,"filename":"image_05122025_15_49_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/5/3bdb9418512485745279767f3b8511ab.jpg","text":"TemporaryFile(/tmp/multipartBody3534325543803907121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950763086,"filename":"image_05122025_15_50_55_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf2a19885063944e68a9405479480b51.jpg","text":"TemporaryFile(/tmp/multipartBody917403109754674515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950763086,"filename":"image_05122025_15_50_05_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/5/9ac25f2529397c298de46b356118c859.jpg","text":"TemporaryFile(/tmp/multipartBody7906500241721849872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950763086,"filename":"image_05122025_15_50_25_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f87f919b049ca4a30fab7e387552b3a7.jpg","text":"TemporaryFile(/tmp/multipartBody1288891972049480134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950763086,"filename":"image_05122025_15_50_15_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398106814","file1":"1398106812","file0":"1398106810","file4":"1398106816","file5":"1398106818","file3":"1398106815"},"map_files_photo_id_array":[{"photo_id":"1398106818","filename":"file5"},{"photo_id":"1398106814","filename":"file2"},{"photo_id":"1398106816","filename":"file4"},{"photo_id":"1398106812","filename":"file1"},{"photo_id":"1398106810","filename":"file0"},{"photo_id":"1398106815","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398106816":["hashtag1","hashtag2"]},{"1398106810":["hashtag1","hashtag2"]},{"1398106818":["hashtag1","hashtag2"]},{"1398106812":["hashtag1","hashtag2"]},{"1398106815":["hashtag1","hashtag2"]},{"1398106814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398106816, 1398106810, 1398106818, 1398106812, 1398106815, 1398106814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14642405509949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:05:41.874403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_11_3648.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_14_2636.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_16_2653.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_20_3678.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_25_2686.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_29_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_11_3648.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_14_2636.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_16_2653.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_20_3678.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_25_2686.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_29_3656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398106869","1398106836","1398106861","1398106870","1398106867","1398106834"],"photo_ids_order":["1398106834","1398106836","1398106861","1398106867","1398106869","1398106870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5a276b877b6a9f21a1c8a9db3a8d374e.jpg","text":"TemporaryFile(/tmp/multipartBody324490949297328275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950803428,"filename":"image_31102025_20_04_25_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/5/f254f76abeac88682ad27c5aec32d89b.jpg","text":"TemporaryFile(/tmp/multipartBody1132376914133196733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950803428,"filename":"image_31102025_20_04_14_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/5/d8a223e5f8f32ce28ebd44505526c5f8.jpg","text":"TemporaryFile(/tmp/multipartBody1253819056747014612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950803428,"filename":"image_31102025_20_04_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/5/3616dae97d167340bfa6604790e7558c.jpg","text":"TemporaryFile(/tmp/multipartBody684017250182625267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950803428,"filename":"image_31102025_20_04_29_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/5/a405861c46f34e98e55669204205fc1d.jpg","text":"TemporaryFile(/tmp/multipartBody1827628739963621259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950803428,"filename":"image_31102025_20_04_20_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/5/9058fb7dbc05ff79534d1290acaac16e.jpg","text":"TemporaryFile(/tmp/multipartBody3378578561426832453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950803428,"filename":"image_31102025_20_04_11_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398106861","file1":"1398106836","file0":"1398106834","file4":"1398106869","file5":"1398106870","file3":"1398106867"},"map_files_photo_id_array":[{"photo_id":"1398106870","filename":"file5"},{"photo_id":"1398106861","filename":"file2"},{"photo_id":"1398106869","filename":"file4"},{"photo_id":"1398106836","filename":"file1"},{"photo_id":"1398106834","filename":"file0"},{"photo_id":"1398106867","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398106869":["hashtag1","hashtag2"]},{"1398106836":["hashtag1","hashtag2"]},{"1398106861":["hashtag1","hashtag2"]},{"1398106870":["hashtag1","hashtag2"]},{"1398106867":["hashtag1","hashtag2"]},{"1398106834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398106869, 1398106836, 1398106861, 1398106870, 1398106867, 1398106834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92513656616211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:06:22.011477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/51/image_05122025_15_51_15_9763.jpg', '/home/pi/Desktop/images/05122025/15/51/image_05122025_15_51_25_9967.jpg', '/home/pi/Desktop/images/05122025/15/51/image_05122025_15_51_35_9599.jpg', '/home/pi/Desktop/images/05122025/15/51/image_05122025_15_51_45_10661.jpg', '/home/pi/Desktop/images/05122025/15/51/image_05122025_15_51_55_9660.jpg', '/home/pi/Desktop/images/05122025/15/51/image_05122025_15_52_05_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/51/image_05122025_15_51_15_9763.jpg
/home/pi/Desktop/images/05122025/15/51/image_05122025_15_51_25_9967.jpg
/home/pi/Desktop/images/05122025/15/51/image_05122025_15_51_35_9599.jpg
/home/pi/Desktop/images/05122025/15/51/image_05122025_15_51_45_10661.jpg
/home/pi/Desktop/images/05122025/15/51/image_05122025_15_51_55_9660.jpg
/home/pi/Desktop/images/05122025/15/51/image_05122025_15_52_05_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":["1398106914","1398106908","1398106916","1398106919","1398106910","1398106912"],"photo_ids_order":["1398106908","1398106910","1398106912","1398106914","1398106916","1398106919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d500713c0ff8682d9179fe3dd5a9f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4777565838896013001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950842632,"filename":"image_05122025_15_51_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/5/907d1f33f8ae1a7c7fd1220a8f9e6f8a.jpg","text":"TemporaryFile(/tmp/multipartBody8145197106560092233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950842632,"filename":"image_05122025_15_51_15_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/5/81c0de908772fc22793e775d2589fa16.jpg","text":"TemporaryFile(/tmp/multipartBody6080189794056323224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950842632,"filename":"image_05122025_15_51_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1cdc474edccc3d28d68f79ef542afb68.jpg","text":"TemporaryFile(/tmp/multipartBody4853654457568076615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950842632,"filename":"image_05122025_15_52_05_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/5/b59efd1fbc42d3fd57dea287810d4491.jpg","text":"TemporaryFile(/tmp/multipartBody2412257102575951342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950842632,"filename":"image_05122025_15_51_25_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/5/90bdd2e6b495cab98f07812e23bcc84d.jpg","text":"TemporaryFile(/tmp/multipartBody5645360227283786050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950842632,"filename":"image_05122025_15_51_35_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398106912","file1":"1398106910","file0":"1398106908","file4":"1398106916","file5":"1398106919","file3":"1398106914"},"map_files_photo_id_array":[{"photo_id":"1398106919","filename":"file5"},{"photo_id":"1398106912","filename":"file2"},{"photo_id":"1398106916","filename":"file4"},{"photo_id":"1398106910","filename":"file1"},{"photo_id":"1398106908","filename":"file0"},{"photo_id":"1398106914","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398106914":["hashtag1","hashtag2"]},{"1398106908":["hashtag1","hashtag2"]},{"1398106916":["hashtag1","hashtag2"]},{"1398106919":["hashtag1","hashtag2"]},{"1398106910":["hashtag1","hashtag2"]},{"1398106912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398106914, 1398106908, 1398106916, 1398106919, 1398106910, 1398106912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36372184753418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:07:02.919972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/52/image_05122025_15_52_15_10682.jpg', '/home/pi/Desktop/images/05122025/15/52/image_05122025_15_52_25_9569.jpg', '/home/pi/Desktop/images/05122025/15/52/image_05122025_15_52_35_9746.jpg', '/home/pi/Desktop/images/05122025/15/52/image_05122025_15_52_45_10574.jpg', '/home/pi/Desktop/images/05122025/15/52/image_05122025_15_52_55_9571.jpg', '/home/pi/Desktop/images/05122025/15/52/image_05122025_15_53_05_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/52/image_05122025_15_52_15_10682.jpg
/home/pi/Desktop/images/05122025/15/52/image_05122025_15_52_25_9569.jpg
/home/pi/Desktop/images/05122025/15/52/image_05122025_15_52_35_9746.jpg
/home/pi/Desktop/images/05122025/15/52/image_05122025_15_52_45_10574.jpg
/home/pi/Desktop/images/05122025/15/52/image_05122025_15_52_55_9571.jpg
/home/pi/Desktop/images/05122025/15/52/image_05122025_15_53_05_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":["1398106938","1398106931","1398106940","1398106934","1398106937","1398106936"],"photo_ids_order":["1398106931","1398106934","1398106936","1398106937","1398106938","1398106940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5a23ab9498fe3f8e2287f8e9adc25ced.jpg","text":"TemporaryFile(/tmp/multipartBody36481223746381216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950883615,"filename":"image_05122025_15_52_55_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/5/5db887d06ccf35469a9251aa83fa6b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6552849176524373249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950883615,"filename":"image_05122025_15_52_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/5/d46d9e3b37b3fab59163761cc25fccde.jpg","text":"TemporaryFile(/tmp/multipartBody2590814434485185483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950883615,"filename":"image_05122025_15_53_05_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/5/0da9e57caefabb621b9426c28407c7fe.jpg","text":"TemporaryFile(/tmp/multipartBody2673768423850943081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950883615,"filename":"image_05122025_15_52_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/5/4b36468e29c70ad39c674e926745edeb.jpg","text":"TemporaryFile(/tmp/multipartBody805113009747237298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950883615,"filename":"image_05122025_15_52_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/5/b1057f0b21a65d0d077cb0598f121190.jpg","text":"TemporaryFile(/tmp/multipartBody888215434910272829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950883615,"filename":"image_05122025_15_52_35_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398106936","file1":"1398106934","file0":"1398106931","file4":"1398106938","file5":"1398106940","file3":"1398106937"},"map_files_photo_id_array":[{"photo_id":"1398106940","filename":"file5"},{"photo_id":"1398106936","filename":"file2"},{"photo_id":"1398106938","filename":"file4"},{"photo_id":"1398106934","filename":"file1"},{"photo_id":"1398106931","filename":"file0"},{"photo_id":"1398106937","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398106938":["hashtag1","hashtag2"]},{"1398106931":["hashtag1","hashtag2"]},{"1398106940":["hashtag1","hashtag2"]},{"1398106934":["hashtag1","hashtag2"]},{"1398106937":["hashtag1","hashtag2"]},{"1398106936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398106938, 1398106931, 1398106940, 1398106934, 1398106937, 1398106936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31490969657898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:07:42.285364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_32_2787.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_34_2630.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_43_2742.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_47_3596.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_49_2624.jpg', '/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_56_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_32_2787.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_34_2630.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_43_2742.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_47_3596.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_49_2624.jpg
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_56_2807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398106947","1398106950","1398106958","1398106946","1398106960","1398106945"],"photo_ids_order":["1398106945","1398106946","1398106947","1398106950","1398106958","1398106960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0ed06451c1d1cb8973ad922f0680d45.jpg","text":"TemporaryFile(/tmp/multipartBody3787574377393763336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950923835,"filename":"image_31102025_20_04_43_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/5/b149885217c396dbe7fdd770bbaf0579.jpg","text":"TemporaryFile(/tmp/multipartBody1720028194474120576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950923835,"filename":"image_31102025_20_04_47_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/5/80026a7c4458aa663b61734deb330a78.jpg","text":"TemporaryFile(/tmp/multipartBody6866319862755754915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950923835,"filename":"image_31102025_20_04_49_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/5/4744958d933a3c4ffc6cc9547b03fc88.jpg","text":"TemporaryFile(/tmp/multipartBody1922635880841120051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950923835,"filename":"image_31102025_20_04_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/5/beb0a30c29e0a19b52e783bc0aaea1f3.jpg","text":"TemporaryFile(/tmp/multipartBody3662290536583888660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950923835,"filename":"image_31102025_20_04_56_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/5/f588cb754ab9fe9627b551cf2101bc35.jpg","text":"TemporaryFile(/tmp/multipartBody2183047600485270028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950923835,"filename":"image_31102025_20_04_32_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398106947","file1":"1398106946","file0":"1398106945","file4":"1398106958","file5":"1398106960","file3":"1398106950"},"map_files_photo_id_array":[{"photo_id":"1398106960","filename":"file5"},{"photo_id":"1398106947","filename":"file2"},{"photo_id":"1398106958","filename":"file4"},{"photo_id":"1398106946","filename":"file1"},{"photo_id":"1398106945","filename":"file0"},{"photo_id":"1398106950","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398106947":["hashtag1","hashtag2"]},{"1398106950":["hashtag1","hashtag2"]},{"1398106958":["hashtag1","hashtag2"]},{"1398106946":["hashtag1","hashtag2"]},{"1398106960":["hashtag1","hashtag2"]},{"1398106945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398106947, 1398106950, 1398106958, 1398106946, 1398106960, 1398106945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.440396308898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:08:22.581877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/53/image_05122025_15_53_15_10752.jpg', '/home/pi/Desktop/images/05122025/15/53/image_05122025_15_53_25_9632.jpg', '/home/pi/Desktop/images/05122025/15/53/image_05122025_15_53_45_10665.jpg', '/home/pi/Desktop/images/05122025/15/53/image_05122025_15_53_55_9436.jpg', '/home/pi/Desktop/images/05122025/15/53/image_05122025_15_54_05_10555.jpg', '/home/pi/Desktop/images/05122025/15/54/image_05122025_15_54_25_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/53/image_05122025_15_53_15_10752.jpg
/home/pi/Desktop/images/05122025/15/53/image_05122025_15_53_25_9632.jpg
/home/pi/Desktop/images/05122025/15/53/image_05122025_15_53_45_10665.jpg
/home/pi/Desktop/images/05122025/15/53/image_05122025_15_53_55_9436.jpg
/home/pi/Desktop/images/05122025/15/53/image_05122025_15_54_05_10555.jpg
/home/pi/Desktop/images/05122025/15/54/image_05122025_15_54_25_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398106965","1398106973","1398106967","1398106975","1398106978","1398106963"],"photo_ids_order":["1398106963","1398106965","1398106967","1398106973","1398106975","1398106978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad049af9ced7a6f22d461c9ce69e5229.jpg","text":"TemporaryFile(/tmp/multipartBody3399545763566514366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950963229,"filename":"image_05122025_15_53_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/5/b97053ba25f619bab254910ceb4ae17f.jpg","text":"TemporaryFile(/tmp/multipartBody3011982695889207019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950963229,"filename":"image_05122025_15_53_55_9436.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22084c360167210a8fd4efaaa84aa4a4.jpg","text":"TemporaryFile(/tmp/multipartBody269039241896598185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950963229,"filename":"image_05122025_15_53_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/5/9f8f7a983c2385f54683545a259d68c9.jpg","text":"TemporaryFile(/tmp/multipartBody8329743179757303318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950963229,"filename":"image_05122025_15_54_05_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ca80e38b143da6b52cbfee76e9ea343.jpg","text":"TemporaryFile(/tmp/multipartBody1936838797464469530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950963229,"filename":"image_05122025_15_54_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/5/dd9bad29e382b2f2cab2507b74db94c4.jpg","text":"TemporaryFile(/tmp/multipartBody7861979658357116675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764950963229,"filename":"image_05122025_15_53_15_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398106967","file1":"1398106965","file0":"1398106963","file4":"1398106975","file5":"1398106978","file3":"1398106973"},"map_files_photo_id_array":[{"photo_id":"1398106978","filename":"file5"},{"photo_id":"1398106967","filename":"file2"},{"photo_id":"1398106975","filename":"file4"},{"photo_id":"1398106965","filename":"file1"},{"photo_id":"1398106963","filename":"file0"},{"photo_id":"1398106973","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398106965":["hashtag1","hashtag2"]},{"1398106973":["hashtag1","hashtag2"]},{"1398106967":["hashtag1","hashtag2"]},{"1398106975":["hashtag1","hashtag2"]},{"1398106978":["hashtag1","hashtag2"]},{"1398106963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398106965, 1398106973, 1398106967, 1398106975, 1398106978, 1398106963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87715530395508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:09:03.528225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/54/image_05122025_15_54_35_9662.jpg', '/home/pi/Desktop/images/05122025/15/54/image_05122025_15_54_45_10736.jpg', '/home/pi/Desktop/images/05122025/15/54/image_05122025_15_54_55_9722.jpg', '/home/pi/Desktop/images/05122025/15/55/image_05122025_15_55_15_10747.jpg', '/home/pi/Desktop/images/05122025/15/55/image_05122025_15_55_25_9740.jpg', '/home/pi/Desktop/images/05122025/15/55/image_05122025_15_55_35_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/54/image_05122025_15_54_35_9662.jpg
/home/pi/Desktop/images/05122025/15/54/image_05122025_15_54_45_10736.jpg
/home/pi/Desktop/images/05122025/15/54/image_05122025_15_54_55_9722.jpg
/home/pi/Desktop/images/05122025/15/55/image_05122025_15_55_15_10747.jpg
/home/pi/Desktop/images/05122025/15/55/image_05122025_15_55_25_9740.jpg
/home/pi/Desktop/images/05122025/15/55/image_05122025_15_55_35_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398107016","1398107012","1398106985","1398107003","1398106990","1398107014"],"photo_ids_order":["1398106985","1398106990","1398107003","1398107012","1398107014","1398107016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c893de32d78217cdb62df5c5ad3bad21.jpg","text":"TemporaryFile(/tmp/multipartBody2004341786237455016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951004305,"filename":"image_05122025_15_55_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad42a3bf52802cf513d05cb82293ad24.jpg","text":"TemporaryFile(/tmp/multipartBody5198685440992713323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951004305,"filename":"image_05122025_15_55_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/5/8029a7b9c14899495fcd185f8f7bc14d.jpg","text":"TemporaryFile(/tmp/multipartBody3797457865179168116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951004305,"filename":"image_05122025_15_54_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/5/25d29e51c89787706c5c2a539c83ea85.jpg","text":"TemporaryFile(/tmp/multipartBody7483435499881371962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951004305,"filename":"image_05122025_15_54_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/5/9af3a8a5193b5981edcc89521daacb04.jpg","text":"TemporaryFile(/tmp/multipartBody571906365561313553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951004305,"filename":"image_05122025_15_54_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/5/e895ad5321ae2ffcb2e5934b255c63f6.jpg","text":"TemporaryFile(/tmp/multipartBody8277056064937837005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951004305,"filename":"image_05122025_15_55_25_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107003","file1":"1398106990","file0":"1398106985","file4":"1398107014","file5":"1398107016","file3":"1398107012"},"map_files_photo_id_array":[{"photo_id":"1398107016","filename":"file5"},{"photo_id":"1398107003","filename":"file2"},{"photo_id":"1398107014","filename":"file4"},{"photo_id":"1398106990","filename":"file1"},{"photo_id":"1398106985","filename":"file0"},{"photo_id":"1398107012","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107016":["hashtag1","hashtag2"]},{"1398107012":["hashtag1","hashtag2"]},{"1398106985":["hashtag1","hashtag2"]},{"1398107003":["hashtag1","hashtag2"]},{"1398106990":["hashtag1","hashtag2"]},{"1398107014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107016, 1398107012, 1398106985, 1398107003, 1398106990, 1398107014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01080250740051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:09:42.618132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_58_2662.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_01_2743.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_05_3779.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_08_2702.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_10_2604.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_15_4373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/04/image_31102025_20_04_58_2662.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_01_2743.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_05_3779.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_08_2702.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_10_2604.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_15_4373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398107043","1398107022","1398107120","1398107021","1398107134","1398107083"],"photo_ids_order":["1398107021","1398107022","1398107043","1398107083","1398107120","1398107134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2f03c3b51a66b8fa94daee123e63f0a.jpg","text":"TemporaryFile(/tmp/multipartBody9163846737684883994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951044167,"filename":"image_31102025_20_05_05_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/5/711163a6653ee81b81889f6ab360518c.jpg","text":"TemporaryFile(/tmp/multipartBody5849229019388249338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951044167,"filename":"image_31102025_20_05_01_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/5/4cb24a47b07910e8774aa8e3419626da.jpg","text":"TemporaryFile(/tmp/multipartBody1251931549962666670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951044167,"filename":"image_31102025_20_05_10_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/48ced16b6f369d485e7abec518bc5330.jpg","text":"TemporaryFile(/tmp/multipartBody7554513765678753389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951044167,"filename":"image_31102025_20_04_58_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/875607f01bf64d66f0a84b494ce4b6a6.jpg","text":"TemporaryFile(/tmp/multipartBody4676390760299994656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951044167,"filename":"image_31102025_20_05_15_4373.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b3ea4fb2f55b6ec2786c22a613944d01.jpg","text":"TemporaryFile(/tmp/multipartBody8955494625231983343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951044167,"filename":"image_31102025_20_05_08_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107043","file1":"1398107022","file0":"1398107021","file4":"1398107120","file5":"1398107134","file3":"1398107083"},"map_files_photo_id_array":[{"photo_id":"1398107134","filename":"file5"},{"photo_id":"1398107043","filename":"file2"},{"photo_id":"1398107120","filename":"file4"},{"photo_id":"1398107022","filename":"file1"},{"photo_id":"1398107021","filename":"file0"},{"photo_id":"1398107083","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398107043":["hashtag1","hashtag2"]},{"1398107022":["hashtag1","hashtag2"]},{"1398107120":["hashtag1","hashtag2"]},{"1398107021":["hashtag1","hashtag2"]},{"1398107134":["hashtag1","hashtag2"]},{"1398107083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398107043, 1398107022, 1398107120, 1398107021, 1398107134, 1398107083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72331476211548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:10:22.807258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/55/image_05122025_15_55_44_9739.jpg', '/home/pi/Desktop/images/05122025/15/56/image_05122025_15_56_35_9766.jpg', '/home/pi/Desktop/images/05122025/15/56/image_05122025_15_56_45_9687.jpg', '/home/pi/Desktop/images/05122025/15/56/image_05122025_15_56_55_10800.jpg', '/home/pi/Desktop/images/05122025/15/56/image_05122025_15_57_05_9801.jpg', '/home/pi/Desktop/images/05122025/15/57/image_05122025_15_57_14_9271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/55/image_05122025_15_55_44_9739.jpg
/home/pi/Desktop/images/05122025/15/56/image_05122025_15_56_35_9766.jpg
/home/pi/Desktop/images/05122025/15/56/image_05122025_15_56_45_9687.jpg
/home/pi/Desktop/images/05122025/15/56/image_05122025_15_56_55_10800.jpg
/home/pi/Desktop/images/05122025/15/56/image_05122025_15_57_05_9801.jpg
/home/pi/Desktop/images/05122025/15/57/image_05122025_15_57_14_9271.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398107151","1398107160","1398107142","1398107144","1398107140","1398107146"],"photo_ids_order":["1398107140","1398107142","1398107144","1398107146","1398107151","1398107160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49bf2f3eec384d3a334ece25fa85254f.jpg","text":"TemporaryFile(/tmp/multipartBody682703090778750048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951083417,"filename":"image_05122025_15_57_05_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/5/072405056125242dcc57382823c74687.jpg","text":"TemporaryFile(/tmp/multipartBody5183363051558633645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951083417,"filename":"image_05122025_15_57_14_9271.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/241f969cb1f184b5019be820a2a22354.jpg","text":"TemporaryFile(/tmp/multipartBody6187845078255877410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951083417,"filename":"image_05122025_15_56_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/5/05df1c34bb4e8edbbf47b2e0088f2e28.jpg","text":"TemporaryFile(/tmp/multipartBody4562359323089742928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951083417,"filename":"image_05122025_15_56_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/5/f9520d50a5ddd399d9d4c3a998fe2097.jpg","text":"TemporaryFile(/tmp/multipartBody4216131221908148514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951083417,"filename":"image_05122025_15_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/5/c5a85cfe32235196ade7133d77f92dbc.jpg","text":"TemporaryFile(/tmp/multipartBody8351245534142671037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951083417,"filename":"image_05122025_15_56_55_10800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107144","file1":"1398107142","file0":"1398107140","file4":"1398107151","file5":"1398107160","file3":"1398107146"},"map_files_photo_id_array":[{"photo_id":"1398107160","filename":"file5"},{"photo_id":"1398107144","filename":"file2"},{"photo_id":"1398107151","filename":"file4"},{"photo_id":"1398107142","filename":"file1"},{"photo_id":"1398107140","filename":"file0"},{"photo_id":"1398107146","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107151":["hashtag1","hashtag2"]},{"1398107160":["hashtag1","hashtag2"]},{"1398107142":["hashtag1","hashtag2"]},{"1398107144":["hashtag1","hashtag2"]},{"1398107140":["hashtag1","hashtag2"]},{"1398107146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107151, 1398107160, 1398107142, 1398107144, 1398107140, 1398107146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74658012390137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:11:02.754332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/57/image_05122025_15_57_25_10295.jpg', '/home/pi/Desktop/images/05122025/15/57/image_05122025_15_57_34_9670.jpg', '/home/pi/Desktop/images/05122025/15/57/image_05122025_15_57_55_9575.jpg', '/home/pi/Desktop/images/05122025/15/57/image_05122025_15_58_05_10700.jpg', '/home/pi/Desktop/images/05122025/15/58/image_05122025_15_58_15_9644.jpg', '/home/pi/Desktop/images/05122025/15/58/image_05122025_15_58_24_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/57/image_05122025_15_57_25_10295.jpg
/home/pi/Desktop/images/05122025/15/57/image_05122025_15_57_34_9670.jpg
/home/pi/Desktop/images/05122025/15/57/image_05122025_15_57_55_9575.jpg
/home/pi/Desktop/images/05122025/15/57/image_05122025_15_58_05_10700.jpg
/home/pi/Desktop/images/05122025/15/58/image_05122025_15_58_15_9644.jpg
/home/pi/Desktop/images/05122025/15/58/image_05122025_15_58_24_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":["1398107172","1398107174","1398107177","1398107162","1398107179","1398107176"],"photo_ids_order":["1398107162","1398107172","1398107174","1398107176","1398107177","1398107179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d975a1ebce665c709483ebd680129a72.jpg","text":"TemporaryFile(/tmp/multipartBody6943360783987411281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951123430,"filename":"image_05122025_15_57_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee49952545734c60fd4e906c10e3ef14.jpg","text":"TemporaryFile(/tmp/multipartBody8498149183312353054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951123430,"filename":"image_05122025_15_57_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/5/0e49e40050ce6d5daee4a2ab1f052809.jpg","text":"TemporaryFile(/tmp/multipartBody3401404956915100538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951123430,"filename":"image_05122025_15_58_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/5/2246384e97ee6959c1345e78e92c462f.jpg","text":"TemporaryFile(/tmp/multipartBody9173632900776636730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951123430,"filename":"image_05122025_15_57_25_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/5/f957c65ca48d8ca5545dbae12da82ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1872127325590655746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951123430,"filename":"image_05122025_15_58_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/5/353d7a42ccc89292ee8f1cb763ab4ca2.jpg","text":"TemporaryFile(/tmp/multipartBody2266355069563834228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951123430,"filename":"image_05122025_15_58_05_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107174","file1":"1398107172","file0":"1398107162","file4":"1398107177","file5":"1398107179","file3":"1398107176"},"map_files_photo_id_array":[{"photo_id":"1398107179","filename":"file5"},{"photo_id":"1398107174","filename":"file2"},{"photo_id":"1398107177","filename":"file4"},{"photo_id":"1398107172","filename":"file1"},{"photo_id":"1398107162","filename":"file0"},{"photo_id":"1398107176","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107172":["hashtag1","hashtag2"]},{"1398107174":["hashtag1","hashtag2"]},{"1398107177":["hashtag1","hashtag2"]},{"1398107162":["hashtag1","hashtag2"]},{"1398107179":["hashtag1","hashtag2"]},{"1398107176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107172, 1398107174, 1398107177, 1398107162, 1398107179, 1398107176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11535930633545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:11:42.023139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_16_1570.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_20_3612.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_26_3590.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_31_2662.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_35_3572.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_44_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_16_1570.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_20_3612.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_26_3590.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_31_2662.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_35_3572.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_44_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398107217","1398107216","1398107185","1398107194","1398107215","1398107218"],"photo_ids_order":["1398107185","1398107194","1398107215","1398107216","1398107217","1398107218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a057a2ff01d1fa9cc6c16b466bb0cde4.jpg","text":"TemporaryFile(/tmp/multipartBody8183791610980003603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951163597,"filename":"image_31102025_20_05_35_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/5/7e8945b11e20a41395e1dbc887563037.jpg","text":"TemporaryFile(/tmp/multipartBody8939936776636729732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951163597,"filename":"image_31102025_20_05_31_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/5/af26a62672189060c22ca770878ef2c5.jpg","text":"TemporaryFile(/tmp/multipartBody7244662529452875675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951163597,"filename":"image_31102025_20_05_16_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/5/cd115bea642103f26b56379e86a1d579.jpg","text":"TemporaryFile(/tmp/multipartBody4830032574208884246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951163597,"filename":"image_31102025_20_05_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/5/0e2c6c0caba6d2e5affeff395eb1ca1d.jpg","text":"TemporaryFile(/tmp/multipartBody8644659356591300878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951163597,"filename":"image_31102025_20_05_26_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/5/38012d57778aa2878f41e3b8b38106cc.jpg","text":"TemporaryFile(/tmp/multipartBody3558734691100198922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951163597,"filename":"image_31102025_20_05_44_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107215","file1":"1398107194","file0":"1398107185","file4":"1398107217","file5":"1398107218","file3":"1398107216"},"map_files_photo_id_array":[{"photo_id":"1398107218","filename":"file5"},{"photo_id":"1398107215","filename":"file2"},{"photo_id":"1398107217","filename":"file4"},{"photo_id":"1398107194","filename":"file1"},{"photo_id":"1398107185","filename":"file0"},{"photo_id":"1398107216","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398107217":["hashtag1","hashtag2"]},{"1398107216":["hashtag1","hashtag2"]},{"1398107185":["hashtag1","hashtag2"]},{"1398107194":["hashtag1","hashtag2"]},{"1398107215":["hashtag1","hashtag2"]},{"1398107218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398107217, 1398107216, 1398107185, 1398107194, 1398107215, 1398107218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.922303676605225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:12:22.242296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/58/image_05122025_15_58_35_10776.jpg', '/home/pi/Desktop/images/05122025/15/58/image_05122025_15_58_45_9804.jpg', '/home/pi/Desktop/images/05122025/15/58/image_05122025_15_58_55_9742.jpg', '/home/pi/Desktop/images/05122025/15/58/image_05122025_15_59_05_10629.jpg', '/home/pi/Desktop/images/05122025/15/59/image_05122025_15_59_15_9526.jpg', '/home/pi/Desktop/images/05122025/15/59/image_05122025_15_59_25_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/58/image_05122025_15_58_35_10776.jpg
/home/pi/Desktop/images/05122025/15/58/image_05122025_15_58_45_9804.jpg
/home/pi/Desktop/images/05122025/15/58/image_05122025_15_58_55_9742.jpg
/home/pi/Desktop/images/05122025/15/58/image_05122025_15_59_05_10629.jpg
/home/pi/Desktop/images/05122025/15/59/image_05122025_15_59_15_9526.jpg
/home/pi/Desktop/images/05122025/15/59/image_05122025_15_59_25_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398107226","1398107223","1398107234","1398107228","1398107236","1398107239"],"photo_ids_order":["1398107223","1398107226","1398107228","1398107234","1398107236","1398107239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/956d703797a648fcf417e0158cbbf83b.jpg","text":"TemporaryFile(/tmp/multipartBody4516534347282285166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951202847,"filename":"image_05122025_15_58_45_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cce1ca7d29a1442cd1578511171625ef.jpg","text":"TemporaryFile(/tmp/multipartBody3358410309169832665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951202847,"filename":"image_05122025_15_58_35_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/caaee17a7a39ee0355cf6746a37d1c83.jpg","text":"TemporaryFile(/tmp/multipartBody4734737198857074668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951202847,"filename":"image_05122025_15_59_05_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/5/069978f7e1b39c8289e17c3b75fac94a.jpg","text":"TemporaryFile(/tmp/multipartBody285140294169496877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951202847,"filename":"image_05122025_15_58_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/5/592ca053183166fd477e83a4215e101c.jpg","text":"TemporaryFile(/tmp/multipartBody8148184843630749577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951202847,"filename":"image_05122025_15_59_15_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/de3acd923bb56ac401b5a637e22625b5.jpg","text":"TemporaryFile(/tmp/multipartBody4142904327536162409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951202847,"filename":"image_05122025_15_59_25_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107228","file1":"1398107226","file0":"1398107223","file4":"1398107236","file5":"1398107239","file3":"1398107234"},"map_files_photo_id_array":[{"photo_id":"1398107239","filename":"file5"},{"photo_id":"1398107228","filename":"file2"},{"photo_id":"1398107236","filename":"file4"},{"photo_id":"1398107226","filename":"file1"},{"photo_id":"1398107223","filename":"file0"},{"photo_id":"1398107234","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107226":["hashtag1","hashtag2"]},{"1398107223":["hashtag1","hashtag2"]},{"1398107234":["hashtag1","hashtag2"]},{"1398107228":["hashtag1","hashtag2"]},{"1398107236":["hashtag1","hashtag2"]},{"1398107239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107226, 1398107223, 1398107234, 1398107228, 1398107236, 1398107239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81648850440979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:13:03.090649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/15/59/image_05122025_15_59_35_10695.jpg', '/home/pi/Desktop/images/05122025/15/59/image_05122025_15_59_45_9632.jpg', '/home/pi/Desktop/images/05122025/15/59/image_05122025_15_59_55_9625.jpg', '/home/pi/Desktop/images/05122025/16/01/image_05122025_16_01_14_10041.jpg', '/home/pi/Desktop/images/05122025/16/01/image_05122025_16_01_24_10618.jpg', '/home/pi/Desktop/images/05122025/16/01/image_05122025_16_01_34_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/15/59/image_05122025_15_59_35_10695.jpg
/home/pi/Desktop/images/05122025/15/59/image_05122025_15_59_45_9632.jpg
/home/pi/Desktop/images/05122025/15/59/image_05122025_15_59_55_9625.jpg
/home/pi/Desktop/images/05122025/16/01/image_05122025_16_01_14_10041.jpg
/home/pi/Desktop/images/05122025/16/01/image_05122025_16_01_24_10618.jpg
/home/pi/Desktop/images/05122025/16/01/image_05122025_16_01_34_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":["1398107253","1398107251","1398107254","1398107257","1398107245","1398107256"],"photo_ids_order":["1398107245","1398107251","1398107253","1398107254","1398107256","1398107257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f5f47df5e4bfa947a7ccd8c1305f1c1.jpg","text":"TemporaryFile(/tmp/multipartBody5317118832188295007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951243725,"filename":"image_05122025_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/5/5c1cbca977159b8bfc4296b68010ba4d.jpg","text":"TemporaryFile(/tmp/multipartBody2281792762072334730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951243725,"filename":"image_05122025_15_59_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/5/3ef791aa64990594b4e8ab53759bf011.jpg","text":"TemporaryFile(/tmp/multipartBody2385576791283146536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951243725,"filename":"image_05122025_16_01_14_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c92d37b90aa4650544c49f95b11dc31.jpg","text":"TemporaryFile(/tmp/multipartBody8810242146710467528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951243725,"filename":"image_05122025_16_01_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/5/95a5ff7ce5f9ce6393576829d9a36b2a.jpg","text":"TemporaryFile(/tmp/multipartBody3374707235073558658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951243725,"filename":"image_05122025_15_59_35_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb36029a1449f8c8d2a8e71884bac2e4.jpg","text":"TemporaryFile(/tmp/multipartBody8757232140995660796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951243725,"filename":"image_05122025_16_01_24_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107253","file1":"1398107251","file0":"1398107245","file4":"1398107256","file5":"1398107257","file3":"1398107254"},"map_files_photo_id_array":[{"photo_id":"1398107257","filename":"file5"},{"photo_id":"1398107253","filename":"file2"},{"photo_id":"1398107256","filename":"file4"},{"photo_id":"1398107251","filename":"file1"},{"photo_id":"1398107245","filename":"file0"},{"photo_id":"1398107254","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107253":["hashtag1","hashtag2"]},{"1398107251":["hashtag1","hashtag2"]},{"1398107254":["hashtag1","hashtag2"]},{"1398107257":["hashtag1","hashtag2"]},{"1398107245":["hashtag1","hashtag2"]},{"1398107256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107253, 1398107251, 1398107254, 1398107257, 1398107245, 1398107256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.550450801849365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:13:42.388860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_50_3662.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_53_2656.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_55_2543.jpg', '/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_59_3739.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_01_2591.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_04_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_50_3662.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_53_2656.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_55_2543.jpg
/home/pi/Desktop/images/31102025/20/05/image_31102025_20_05_59_3739.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_01_2591.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_04_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398107271","1398107265","1398107273","1398107266","1398107263","1398107274"],"photo_ids_order":["1398107263","1398107265","1398107266","1398107271","1398107273","1398107274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fe583867f017dc4efe4544fe06b599f9.jpg","text":"TemporaryFile(/tmp/multipartBody6524532039553996851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951283945,"filename":"image_31102025_20_05_59_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/5/8b02122a06d530d1e5c48fc090b93887.jpg","text":"TemporaryFile(/tmp/multipartBody7187152524953493267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951283945,"filename":"image_31102025_20_05_53_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/5/7e294cfe5b82adc940db1d13ec348885.jpg","text":"TemporaryFile(/tmp/multipartBody7154256732547290641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951283945,"filename":"image_31102025_20_06_01_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/5/f0d003e85a828b160797df0faacabffe.jpg","text":"TemporaryFile(/tmp/multipartBody785414115287590881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951283945,"filename":"image_31102025_20_05_55_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/5/7244ea4751abc738e1f12b4febd224d4.jpg","text":"TemporaryFile(/tmp/multipartBody8940691440381455568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951283945,"filename":"image_31102025_20_05_50_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/114db72c5ce591c83f63657b2e2c0e5e.jpg","text":"TemporaryFile(/tmp/multipartBody550897146979014878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951283945,"filename":"image_31102025_20_06_04_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107266","file1":"1398107265","file0":"1398107263","file4":"1398107273","file5":"1398107274","file3":"1398107271"},"map_files_photo_id_array":[{"photo_id":"1398107274","filename":"file5"},{"photo_id":"1398107266","filename":"file2"},{"photo_id":"1398107273","filename":"file4"},{"photo_id":"1398107265","filename":"file1"},{"photo_id":"1398107263","filename":"file0"},{"photo_id":"1398107271","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398107271":["hashtag1","hashtag2"]},{"1398107265":["hashtag1","hashtag2"]},{"1398107273":["hashtag1","hashtag2"]},{"1398107266":["hashtag1","hashtag2"]},{"1398107263":["hashtag1","hashtag2"]},{"1398107274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398107271, 1398107265, 1398107273, 1398107266, 1398107263, 1398107274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38329601287842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:14:22.532964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/01/image_05122025_16_02_04_9474.jpg', '/home/pi/Desktop/images/05122025/16/02/image_05122025_16_02_15_10638.jpg', '/home/pi/Desktop/images/05122025/16/02/image_05122025_16_02_24_9704.jpg', '/home/pi/Desktop/images/05122025/16/02/image_05122025_16_02_34_9571.jpg', '/home/pi/Desktop/images/05122025/16/02/image_05122025_16_02_45_10727.jpg', '/home/pi/Desktop/images/05122025/16/02/image_05122025_16_02_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/01/image_05122025_16_02_04_9474.jpg
/home/pi/Desktop/images/05122025/16/02/image_05122025_16_02_15_10638.jpg
/home/pi/Desktop/images/05122025/16/02/image_05122025_16_02_24_9704.jpg
/home/pi/Desktop/images/05122025/16/02/image_05122025_16_02_34_9571.jpg
/home/pi/Desktop/images/05122025/16/02/image_05122025_16_02_45_10727.jpg
/home/pi/Desktop/images/05122025/16/02/image_05122025_16_02_54_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398107301","1398107291","1398107297","1398107299","1398107305","1398107295"],"photo_ids_order":["1398107291","1398107295","1398107297","1398107299","1398107301","1398107305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a192e4969c34360f272b67bf778e9f6.jpg","text":"TemporaryFile(/tmp/multipartBody1581669300235927032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951323142,"filename":"image_05122025_16_02_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/5/a75e2c55a5bf0eec91cddf28f46e623e.jpg","text":"TemporaryFile(/tmp/multipartBody1105804377854250754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951323142,"filename":"image_05122025_16_02_04_9474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/92e3bd541d2b1a8a628cb22dea3980db.jpg","text":"TemporaryFile(/tmp/multipartBody4030935465083209753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951323142,"filename":"image_05122025_16_02_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/5/9ba614165cd2d4936419ccbee5e6da4e.jpg","text":"TemporaryFile(/tmp/multipartBody3222855001579415238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951323142,"filename":"image_05122025_16_02_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/5/7294b7aed2b4d27cec560ee1e25e7fc5.jpg","text":"TemporaryFile(/tmp/multipartBody447336187429994418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951323142,"filename":"image_05122025_16_02_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3728ba34dff198cf06620154ebb0d3c6.jpg","text":"TemporaryFile(/tmp/multipartBody6804658125337456854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951323142,"filename":"image_05122025_16_02_15_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107297","file1":"1398107295","file0":"1398107291","file4":"1398107301","file5":"1398107305","file3":"1398107299"},"map_files_photo_id_array":[{"photo_id":"1398107305","filename":"file5"},{"photo_id":"1398107297","filename":"file2"},{"photo_id":"1398107301","filename":"file4"},{"photo_id":"1398107295","filename":"file1"},{"photo_id":"1398107291","filename":"file0"},{"photo_id":"1398107299","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107301":["hashtag1","hashtag2"]},{"1398107291":["hashtag1","hashtag2"]},{"1398107297":["hashtag1","hashtag2"]},{"1398107299":["hashtag1","hashtag2"]},{"1398107305":["hashtag1","hashtag2"]},{"1398107295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107301, 1398107291, 1398107297, 1398107299, 1398107305, 1398107295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.803157806396484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:15:02.509379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/02/image_05122025_16_03_04_9625.jpg', '/home/pi/Desktop/images/05122025/16/03/image_05122025_16_03_14_10718.jpg', '/home/pi/Desktop/images/05122025/16/03/image_05122025_16_03_24_9604.jpg', '/home/pi/Desktop/images/05122025/16/03/image_05122025_16_03_34_9696.jpg', '/home/pi/Desktop/images/05122025/16/03/image_05122025_16_03_44_10660.jpg', '/home/pi/Desktop/images/05122025/16/03/image_05122025_16_03_54_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/02/image_05122025_16_03_04_9625.jpg
/home/pi/Desktop/images/05122025/16/03/image_05122025_16_03_14_10718.jpg
/home/pi/Desktop/images/05122025/16/03/image_05122025_16_03_24_9604.jpg
/home/pi/Desktop/images/05122025/16/03/image_05122025_16_03_34_9696.jpg
/home/pi/Desktop/images/05122025/16/03/image_05122025_16_03_44_10660.jpg
/home/pi/Desktop/images/05122025/16/03/image_05122025_16_03_54_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398107358","1398107349","1398107342","1398107371","1398107374","1398107341"],"photo_ids_order":["1398107341","1398107342","1398107349","1398107358","1398107371","1398107374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3573d871754b96b5fcd21a66d4fb5506.jpg","text":"TemporaryFile(/tmp/multipartBody6746414158093689929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951363165,"filename":"image_05122025_16_03_34_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a56686aa2170f701d66088e6b247081.jpg","text":"TemporaryFile(/tmp/multipartBody7884319609313013285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951363165,"filename":"image_05122025_16_03_24_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5824b76bfdfd0494ddf641a28e16bed1.jpg","text":"TemporaryFile(/tmp/multipartBody297547491618260932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951363165,"filename":"image_05122025_16_03_14_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/5/b58508b2f50ece5c76fb1457dfdfb7a9.jpg","text":"TemporaryFile(/tmp/multipartBody141576021192426149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951363165,"filename":"image_05122025_16_03_44_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ae0ecc167e1395e64bbff4dd0c9dde5b.jpg","text":"TemporaryFile(/tmp/multipartBody8775499751903515177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951363165,"filename":"image_05122025_16_03_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/5/fd165b164812dc604f7ff8d415694acd.jpg","text":"TemporaryFile(/tmp/multipartBody8916050188116286629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951363165,"filename":"image_05122025_16_03_04_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107349","file1":"1398107342","file0":"1398107341","file4":"1398107371","file5":"1398107374","file3":"1398107358"},"map_files_photo_id_array":[{"photo_id":"1398107374","filename":"file5"},{"photo_id":"1398107349","filename":"file2"},{"photo_id":"1398107371","filename":"file4"},{"photo_id":"1398107342","filename":"file1"},{"photo_id":"1398107341","filename":"file0"},{"photo_id":"1398107358","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107358":["hashtag1","hashtag2"]},{"1398107349":["hashtag1","hashtag2"]},{"1398107342":["hashtag1","hashtag2"]},{"1398107371":["hashtag1","hashtag2"]},{"1398107374":["hashtag1","hashtag2"]},{"1398107341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107358, 1398107349, 1398107342, 1398107371, 1398107374, 1398107341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40685987472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:15:41.974769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_11_3600.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_13_2656.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_16_2691.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_19_2880.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_23_3819.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_25_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_11_3600.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_13_2656.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_16_2691.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_19_2880.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_23_3819.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_25_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":["1398107406","1398107409","1398107390","1398107411","1398107410","1398107388"],"photo_ids_order":["1398107388","1398107390","1398107406","1398107409","1398107410","1398107411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cd05106ccfafca806556f3e7d1b0352d.jpg","text":"TemporaryFile(/tmp/multipartBody7700523274604025107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951403604,"filename":"image_31102025_20_06_16_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/5/9c47d9d4007213a90da7ac10ab60bee4.jpg","text":"TemporaryFile(/tmp/multipartBody3813874829406413469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951403604,"filename":"image_31102025_20_06_19_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d05d8070b1dd3d326b23a6151b799b19.jpg","text":"TemporaryFile(/tmp/multipartBody474609908937285720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951403604,"filename":"image_31102025_20_06_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/5/39b6cbcdb80d6a323c933a32ae6675ce.jpg","text":"TemporaryFile(/tmp/multipartBody5382509746944181992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951403604,"filename":"image_31102025_20_06_25_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/5/72a20f2d192c2137c14f4a2ba7f3ab13.jpg","text":"TemporaryFile(/tmp/multipartBody3102850060717369444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951403604,"filename":"image_31102025_20_06_23_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf68d2fabcd26ecaeb70ba55ebcce2e5.jpg","text":"TemporaryFile(/tmp/multipartBody4938421729424068587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951403604,"filename":"image_31102025_20_06_11_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107406","file1":"1398107390","file0":"1398107388","file4":"1398107410","file5":"1398107411","file3":"1398107409"},"map_files_photo_id_array":[{"photo_id":"1398107411","filename":"file5"},{"photo_id":"1398107406","filename":"file2"},{"photo_id":"1398107410","filename":"file4"},{"photo_id":"1398107390","filename":"file1"},{"photo_id":"1398107388","filename":"file0"},{"photo_id":"1398107409","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398107406":["hashtag1","hashtag2"]},{"1398107409":["hashtag1","hashtag2"]},{"1398107390":["hashtag1","hashtag2"]},{"1398107411":["hashtag1","hashtag2"]},{"1398107410":["hashtag1","hashtag2"]},{"1398107388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398107406, 1398107409, 1398107390, 1398107411, 1398107410, 1398107388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17108178138733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:16:22.151192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/03/image_05122025_16_04_04_9752.jpg', '/home/pi/Desktop/images/05122025/16/04/image_05122025_16_04_14_10179.jpg', '/home/pi/Desktop/images/05122025/16/04/image_05122025_16_04_24_10205.jpg', '/home/pi/Desktop/images/05122025/16/04/image_05122025_16_04_34_9633.jpg', '/home/pi/Desktop/images/05122025/16/04/image_05122025_16_04_44_9752.jpg', '/home/pi/Desktop/images/05122025/16/04/image_05122025_16_04_54_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/03/image_05122025_16_04_04_9752.jpg
/home/pi/Desktop/images/05122025/16/04/image_05122025_16_04_14_10179.jpg
/home/pi/Desktop/images/05122025/16/04/image_05122025_16_04_24_10205.jpg
/home/pi/Desktop/images/05122025/16/04/image_05122025_16_04_34_9633.jpg
/home/pi/Desktop/images/05122025/16/04/image_05122025_16_04_44_9752.jpg
/home/pi/Desktop/images/05122025/16/04/image_05122025_16_04_54_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":["1398107421","1398107438","1398107423","1398107417","1398107426","1398107419"],"photo_ids_order":["1398107417","1398107419","1398107421","1398107423","1398107426","1398107438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4828a237ce1b6d04908dd97f714210c2.jpg","text":"TemporaryFile(/tmp/multipartBody6723995001254067490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951442764,"filename":"image_05122025_16_04_24_10205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1e041c8c469b86aba7ba53782c516de2.jpg","text":"TemporaryFile(/tmp/multipartBody208970036502997737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951442764,"filename":"image_05122025_16_04_54_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/5/26132494fceb6395ab215630cb38cfad.jpg","text":"TemporaryFile(/tmp/multipartBody7957828885604755038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951442764,"filename":"image_05122025_16_04_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/5/d1d7abb150c5a7f6a22aed3c40b4d79d.jpg","text":"TemporaryFile(/tmp/multipartBody6790453250151879265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951442764,"filename":"image_05122025_16_04_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/5/bc0d3331b76f574a5f1d44552c775f20.jpg","text":"TemporaryFile(/tmp/multipartBody3975112365541506294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951442764,"filename":"image_05122025_16_04_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/5/3c28fb1741ed17bed3c09e05193b5509.jpg","text":"TemporaryFile(/tmp/multipartBody489648634400590761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951442764,"filename":"image_05122025_16_04_14_10179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107421","file1":"1398107419","file0":"1398107417","file4":"1398107426","file5":"1398107438","file3":"1398107423"},"map_files_photo_id_array":[{"photo_id":"1398107438","filename":"file5"},{"photo_id":"1398107421","filename":"file2"},{"photo_id":"1398107426","filename":"file4"},{"photo_id":"1398107419","filename":"file1"},{"photo_id":"1398107417","filename":"file0"},{"photo_id":"1398107423","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107421":["hashtag1","hashtag2"]},{"1398107438":["hashtag1","hashtag2"]},{"1398107423":["hashtag1","hashtag2"]},{"1398107417":["hashtag1","hashtag2"]},{"1398107426":["hashtag1","hashtag2"]},{"1398107419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107421, 1398107438, 1398107423, 1398107417, 1398107426, 1398107419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.966816902160645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:17:02.944467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/05/image_05122025_16_05_14_10057.jpg', '/home/pi/Desktop/images/05122025/16/05/image_05122025_16_05_24_10595.jpg', '/home/pi/Desktop/images/05122025/16/05/image_05122025_16_05_34_9778.jpg', '/home/pi/Desktop/images/05122025/16/05/image_05122025_16_05_44_9654.jpg', '/home/pi/Desktop/images/05122025/16/05/image_05122025_16_05_55_10828.jpg', '/home/pi/Desktop/images/05122025/16/05/image_05122025_16_06_04_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/05/image_05122025_16_05_14_10057.jpg
/home/pi/Desktop/images/05122025/16/05/image_05122025_16_05_24_10595.jpg
/home/pi/Desktop/images/05122025/16/05/image_05122025_16_05_34_9778.jpg
/home/pi/Desktop/images/05122025/16/05/image_05122025_16_05_44_9654.jpg
/home/pi/Desktop/images/05122025/16/05/image_05122025_16_05_55_10828.jpg
/home/pi/Desktop/images/05122025/16/05/image_05122025_16_06_04_9843.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":["1398107618","1398107665","1398107644","1398107623","1398107620","1398107614"],"photo_ids_order":["1398107614","1398107618","1398107620","1398107623","1398107644","1398107665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0392492941c67a105d4fd4dad58534de.jpg","text":"TemporaryFile(/tmp/multipartBody7361734194163014481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951486029,"filename":"image_05122025_16_05_24_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/993a976f8f05a63d79866a8726820f36.jpg","text":"TemporaryFile(/tmp/multipartBody1546535024295848933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951486029,"filename":"image_05122025_16_06_04_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9efd0643d7ec9d71a478610d2d3e5c30.jpg","text":"TemporaryFile(/tmp/multipartBody6598610806026201075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951486029,"filename":"image_05122025_16_05_55_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/5/47afa41afc60c1afa493fcc3374fb978.jpg","text":"TemporaryFile(/tmp/multipartBody5897831688022843310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951486029,"filename":"image_05122025_16_05_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/5/e72ddda05bbe476542f25c947dc8f09d.jpg","text":"TemporaryFile(/tmp/multipartBody1210733279508498645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951486029,"filename":"image_05122025_16_05_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/5/26ceb93c9d1effc281e4c8b41a42f457.jpg","text":"TemporaryFile(/tmp/multipartBody3858318549601955850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951486029,"filename":"image_05122025_16_05_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107620","file1":"1398107618","file0":"1398107614","file4":"1398107644","file5":"1398107665","file3":"1398107623"},"map_files_photo_id_array":[{"photo_id":"1398107665","filename":"file5"},{"photo_id":"1398107620","filename":"file2"},{"photo_id":"1398107644","filename":"file4"},{"photo_id":"1398107618","filename":"file1"},{"photo_id":"1398107614","filename":"file0"},{"photo_id":"1398107623","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107618":["hashtag1","hashtag2"]},{"1398107665":["hashtag1","hashtag2"]},{"1398107644":["hashtag1","hashtag2"]},{"1398107623":["hashtag1","hashtag2"]},{"1398107620":["hashtag1","hashtag2"]},{"1398107614":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107618, 1398107665, 1398107644, 1398107623, 1398107620, 1398107614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93345284461975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:18:02.936003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/06/image_05122025_16_06_14_9641.jpg', '/home/pi/Desktop/images/05122025/16/06/image_05122025_16_06_24_9638.jpg', '/home/pi/Desktop/images/05122025/16/06/image_05122025_16_06_58_34112.jpg', '/home/pi/Desktop/images/05122025/16/06/image_05122025_16_06_59_1536.jpg', '/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_08_8868.jpg', '/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_10_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/06/image_05122025_16_06_14_9641.jpg
/home/pi/Desktop/images/05122025/16/06/image_05122025_16_06_24_9638.jpg
/home/pi/Desktop/images/05122025/16/06/image_05122025_16_06_58_34112.jpg
/home/pi/Desktop/images/05122025/16/06/image_05122025_16_06_59_1536.jpg
/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_08_8868.jpg
/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_10_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398107907","1398107916","1398107837","1398107912","1398107914","1398107871"],"photo_ids_order":["1398107837","1398107871","1398107907","1398107912","1398107914","1398107916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/81819f3be1c4aa2787aae68b139154be.jpg","text":"TemporaryFile(/tmp/multipartBody7385619228238187529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951543581,"filename":"image_05122025_16_06_58_34112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b29eb8c79fdaaeb4a03b46594699aaf1.jpg","text":"TemporaryFile(/tmp/multipartBody4386512418438400327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951543581,"filename":"image_05122025_16_07_10_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/5/8fa919038137756f253e10769db29603.jpg","text":"TemporaryFile(/tmp/multipartBody8439445649615962606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951543581,"filename":"image_05122025_16_06_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/5/80133f10ebfe2c06c7dd92ff0c90f683.jpg","text":"TemporaryFile(/tmp/multipartBody8963121953981643856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951543581,"filename":"image_05122025_16_06_59_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/5/318cfc70cc76e424aed874d98de5b307.jpg","text":"TemporaryFile(/tmp/multipartBody318000223658030746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951543581,"filename":"image_05122025_16_07_08_8868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c48e75af1d2f712e866f13cd1fdcbfb.jpg","text":"TemporaryFile(/tmp/multipartBody7798142155179201489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951543581,"filename":"image_05122025_16_06_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107907","file1":"1398107871","file0":"1398107837","file4":"1398107914","file5":"1398107916","file3":"1398107912"},"map_files_photo_id_array":[{"photo_id":"1398107916","filename":"file5"},{"photo_id":"1398107907","filename":"file2"},{"photo_id":"1398107914","filename":"file4"},{"photo_id":"1398107871","filename":"file1"},{"photo_id":"1398107837","filename":"file0"},{"photo_id":"1398107912","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107907":["hashtag1","hashtag2"]},{"1398107916":["hashtag1","hashtag2"]},{"1398107837":["hashtag1","hashtag2"]},{"1398107912":["hashtag1","hashtag2"]},{"1398107914":["hashtag1","hashtag2"]},{"1398107871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107907, 1398107916, 1398107837, 1398107912, 1398107914, 1398107871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80121350288391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:18:42.507687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_32_3609.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_34_2695.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_41_3638.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_43_2578.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_47_3643.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_49_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_32_3609.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_34_2695.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_41_3638.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_43_2578.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_47_3643.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_49_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":["1398107925","1398107940","1398107942","1398107945","1398107935","1398107943"],"photo_ids_order":["1398107925","1398107935","1398107940","1398107942","1398107943","1398107945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c9755d0b832678980f77d51fa1a87cce.jpg","text":"TemporaryFile(/tmp/multipartBody2556990254994515405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951584106,"filename":"image_31102025_20_06_32_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/5/a51ec429fe60a9106141bbd1271e308b.jpg","text":"TemporaryFile(/tmp/multipartBody2609908345728982841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951584106,"filename":"image_31102025_20_06_41_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/998fc674bf6f1502b76761aa6eae753a.jpg","text":"TemporaryFile(/tmp/multipartBody495643382797740810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951584106,"filename":"image_31102025_20_06_43_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/954c55c9747a7b374f1d834a0162f36f.jpg","text":"TemporaryFile(/tmp/multipartBody322240198595684803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951584106,"filename":"image_31102025_20_06_49_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/5/283b8a1e4dde3c8f79b0c0337341b0bd.jpg","text":"TemporaryFile(/tmp/multipartBody7184936277553286278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951584106,"filename":"image_31102025_20_06_34_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/5/127e12d8d03da3e35a0417aafd8e1176.jpg","text":"TemporaryFile(/tmp/multipartBody8287965317405441284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951584106,"filename":"image_31102025_20_06_47_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107940","file1":"1398107935","file0":"1398107925","file4":"1398107943","file5":"1398107945","file3":"1398107942"},"map_files_photo_id_array":[{"photo_id":"1398107945","filename":"file5"},{"photo_id":"1398107940","filename":"file2"},{"photo_id":"1398107943","filename":"file4"},{"photo_id":"1398107935","filename":"file1"},{"photo_id":"1398107925","filename":"file0"},{"photo_id":"1398107942","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398107925":["hashtag1","hashtag2"]},{"1398107940":["hashtag1","hashtag2"]},{"1398107942":["hashtag1","hashtag2"]},{"1398107945":["hashtag1","hashtag2"]},{"1398107935":["hashtag1","hashtag2"]},{"1398107943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398107925, 1398107940, 1398107942, 1398107945, 1398107935, 1398107943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56215047836304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:19:22.727545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_15_4763.jpg', '/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_24_9698.jpg', '/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_34_10004.jpg', '/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_44_9702.jpg', '/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_54_9668.jpg', '/home/pi/Desktop/images/05122025/16/07/image_05122025_16_08_04_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_15_4763.jpg
/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_24_9698.jpg
/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_34_10004.jpg
/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_44_9702.jpg
/home/pi/Desktop/images/05122025/16/07/image_05122025_16_07_54_9668.jpg
/home/pi/Desktop/images/05122025/16/07/image_05122025_16_08_04_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":["1398107960","1398107954","1398107957","1398107951","1398107962","1398107964"],"photo_ids_order":["1398107951","1398107954","1398107957","1398107960","1398107962","1398107964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8e931c173601f6a54377d686355490f9.jpg","text":"TemporaryFile(/tmp/multipartBody2993803007920430886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951623364,"filename":"image_05122025_16_07_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/5/cdf1f572279c4a07b60289847c34e2bd.jpg","text":"TemporaryFile(/tmp/multipartBody533553155347790800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951623364,"filename":"image_05122025_16_07_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/5/f1f90f38517b4d49fa0005ae9f9f2381.jpg","text":"TemporaryFile(/tmp/multipartBody5763358878641398501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951623364,"filename":"image_05122025_16_07_34_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/5/fcc0621fcb5f02643408a844976813a7.jpg","text":"TemporaryFile(/tmp/multipartBody7298174548221465870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951623364,"filename":"image_05122025_16_07_15_4763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f96c06d33ec27aba2f01ae40295855fa.jpg","text":"TemporaryFile(/tmp/multipartBody5854186835536423430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951623364,"filename":"image_05122025_16_07_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a8451f9e5008aff83da78d94750f7930.jpg","text":"TemporaryFile(/tmp/multipartBody6971529697760824379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951623364,"filename":"image_05122025_16_08_04_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107957","file1":"1398107954","file0":"1398107951","file4":"1398107962","file5":"1398107964","file3":"1398107960"},"map_files_photo_id_array":[{"photo_id":"1398107964","filename":"file5"},{"photo_id":"1398107957","filename":"file2"},{"photo_id":"1398107962","filename":"file4"},{"photo_id":"1398107954","filename":"file1"},{"photo_id":"1398107951","filename":"file0"},{"photo_id":"1398107960","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107960":["hashtag1","hashtag2"]},{"1398107954":["hashtag1","hashtag2"]},{"1398107957":["hashtag1","hashtag2"]},{"1398107951":["hashtag1","hashtag2"]},{"1398107962":["hashtag1","hashtag2"]},{"1398107964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107960, 1398107954, 1398107957, 1398107951, 1398107962, 1398107964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83243775367737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:20:02.236440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/08/image_05122025_16_08_14_9718.jpg', '/home/pi/Desktop/images/05122025/16/08/image_05122025_16_08_25_10604.jpg', '/home/pi/Desktop/images/05122025/16/08/image_05122025_16_08_34_9765.jpg', '/home/pi/Desktop/images/05122025/16/08/image_05122025_16_08_44_9526.jpg', '/home/pi/Desktop/images/05122025/16/08/image_05122025_16_08_55_10666.jpg', '/home/pi/Desktop/images/05122025/16/08/image_05122025_16_09_04_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/08/image_05122025_16_08_14_9718.jpg
/home/pi/Desktop/images/05122025/16/08/image_05122025_16_08_25_10604.jpg
/home/pi/Desktop/images/05122025/16/08/image_05122025_16_08_34_9765.jpg
/home/pi/Desktop/images/05122025/16/08/image_05122025_16_08_44_9526.jpg
/home/pi/Desktop/images/05122025/16/08/image_05122025_16_08_55_10666.jpg
/home/pi/Desktop/images/05122025/16/08/image_05122025_16_09_04_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":["1398107967","1398107969","1398107966","1398107971","1398107974","1398107968"],"photo_ids_order":["1398107966","1398107967","1398107968","1398107969","1398107971","1398107974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/884f5d73e387c5dddf839819c79df3b2.jpg","text":"TemporaryFile(/tmp/multipartBody7554348255025581368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951662914,"filename":"image_05122025_16_08_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/5/f530f5e633cce3df8318dff0d4844980.jpg","text":"TemporaryFile(/tmp/multipartBody2427648529057768776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951662914,"filename":"image_05122025_16_08_44_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/26af64bba7e4fa89af65b6b0fed4b216.jpg","text":"TemporaryFile(/tmp/multipartBody3471240589014291108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951662914,"filename":"image_05122025_16_08_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/5/466cee018feaf669afa7c435fcf09048.jpg","text":"TemporaryFile(/tmp/multipartBody9094317498993244272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951662914,"filename":"image_05122025_16_08_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/5/f48f1638f8aced15eddd3ede7c0aafec.jpg","text":"TemporaryFile(/tmp/multipartBody6431965661973824806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951662914,"filename":"image_05122025_16_09_04_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/5/2b9d267cf6c7b580f1ef01cc8b536513.jpg","text":"TemporaryFile(/tmp/multipartBody2966129161290550737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951662914,"filename":"image_05122025_16_08_34_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107968","file1":"1398107967","file0":"1398107966","file4":"1398107971","file5":"1398107974","file3":"1398107969"},"map_files_photo_id_array":[{"photo_id":"1398107974","filename":"file5"},{"photo_id":"1398107968","filename":"file2"},{"photo_id":"1398107971","filename":"file4"},{"photo_id":"1398107967","filename":"file1"},{"photo_id":"1398107966","filename":"file0"},{"photo_id":"1398107969","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398107967":["hashtag1","hashtag2"]},{"1398107969":["hashtag1","hashtag2"]},{"1398107966":["hashtag1","hashtag2"]},{"1398107971":["hashtag1","hashtag2"]},{"1398107974":["hashtag1","hashtag2"]},{"1398107968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398107967, 1398107969, 1398107966, 1398107971, 1398107974, 1398107968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80582809448242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:20:41.866837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_52_2627.jpg', '/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_56_3622.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_02_3595.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_04_2597.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_11_3577.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_16_2951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_52_2627.jpg
/home/pi/Desktop/images/31102025/20/06/image_31102025_20_06_56_3622.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_02_3595.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_04_2597.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_11_3577.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_16_2951.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398107993","1398108005","1398108008","1398107995","1398107986","1398107997"],"photo_ids_order":["1398107986","1398107993","1398107995","1398107997","1398108005","1398108008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/53885f8e8e644a870bd8f46f9963df41.jpg","text":"TemporaryFile(/tmp/multipartBody215640503034461165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951703462,"filename":"image_31102025_20_06_56_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e662786557d377d3ad21c973b0675ac0.jpg","text":"TemporaryFile(/tmp/multipartBody2073827219493304877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951703462,"filename":"image_31102025_20_07_11_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/5/205eba5c2276d47562dadbeb3418f413.jpg","text":"TemporaryFile(/tmp/multipartBody1095435490878727233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951703462,"filename":"image_31102025_20_07_16_2951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8e25b450dbbf94136de27b8b9aef150f.jpg","text":"TemporaryFile(/tmp/multipartBody1172357973296617854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951703462,"filename":"image_31102025_20_07_02_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/5/86ae9907d51402fee0c52043a36736cf.jpg","text":"TemporaryFile(/tmp/multipartBody6122676316674174104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951703462,"filename":"image_31102025_20_06_52_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/5/b02c753866c705358dbd22b597eddd5a.jpg","text":"TemporaryFile(/tmp/multipartBody5551613780027354045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951703462,"filename":"image_31102025_20_07_04_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398107995","file1":"1398107993","file0":"1398107986","file4":"1398108005","file5":"1398108008","file3":"1398107997"},"map_files_photo_id_array":[{"photo_id":"1398108008","filename":"file5"},{"photo_id":"1398107995","filename":"file2"},{"photo_id":"1398108005","filename":"file4"},{"photo_id":"1398107993","filename":"file1"},{"photo_id":"1398107986","filename":"file0"},{"photo_id":"1398107997","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398107993":["hashtag1","hashtag2"]},{"1398108005":["hashtag1","hashtag2"]},{"1398108008":["hashtag1","hashtag2"]},{"1398107995":["hashtag1","hashtag2"]},{"1398107986":["hashtag1","hashtag2"]},{"1398107997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398107993, 1398108005, 1398108008, 1398107995, 1398107986, 1398107997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.631330490112305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 17:21:32.121900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/22/41/image_02122025_22_41_24_9857.jpg', '/home/pi/Desktop/images/02122025/22/43/image_02122025_22_43_44_9600.jpg', '/home/pi/Desktop/images/02122025/22/43/image_02122025_22_44_05_9655.jpg', '/home/pi/Desktop/images/02122025/22/45/image_02122025_22_45_44_9801.jpg', '/home/pi/Desktop/images/02122025/22/45/image_02122025_22_45_54_9600.jpg', '/home/pi/Desktop/images/02122025/22/47/image_02122025_22_47_35_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/22/41/image_02122025_22_41_24_9857.jpg
/home/pi/Desktop/images/02122025/22/43/image_02122025_22_43_44_9600.jpg
/home/pi/Desktop/images/02122025/22/43/image_02122025_22_44_05_9655.jpg
/home/pi/Desktop/images/02122025/22/45/image_02122025_22_45_44_9801.jpg
/home/pi/Desktop/images/02122025/22/45/image_02122025_22_45_54_9600.jpg
/home/pi/Desktop/images/02122025/22/47/image_02122025_22_47_35_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":["1398108015","1398108018","1398108032","1398108026","1398108022","1398108027"],"photo_ids_order":["1398108015","1398108018","1398108022","1398108026","1398108027","1398108032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f61c73e84b31a2427d1e638c24b73537.jpg","text":"TemporaryFile(/tmp/multipartBody5826748483621550574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951754227,"filename":"image_02122025_22_41_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/5/893a6041072689731554f9c640ff51f3.jpg","text":"TemporaryFile(/tmp/multipartBody7800258117175989404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951754227,"filename":"image_02122025_22_43_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/5/fcbb7728410d4ad5ae73e5b548c87edb.jpg","text":"TemporaryFile(/tmp/multipartBody5401252490038727862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951754227,"filename":"image_02122025_22_47_35_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/5/b774a91f39536be4c71c18da54f4f653.jpg","text":"TemporaryFile(/tmp/multipartBody7383691895100566235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951754227,"filename":"image_02122025_22_45_44_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/5/aaef471ed52f71e7be53b6e98af557fb.jpg","text":"TemporaryFile(/tmp/multipartBody1185007977288133165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951754227,"filename":"image_02122025_22_44_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/5/4c6a321d4a5755b90e1fc517ff81a75e.jpg","text":"TemporaryFile(/tmp/multipartBody4439106725178443308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951754227,"filename":"image_02122025_22_45_54_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108022","file1":"1398108018","file0":"1398108015","file4":"1398108027","file5":"1398108032","file3":"1398108026"},"map_files_photo_id_array":[{"photo_id":"1398108032","filename":"file5"},{"photo_id":"1398108022","filename":"file2"},{"photo_id":"1398108027","filename":"file4"},{"photo_id":"1398108018","filename":"file1"},{"photo_id":"1398108015","filename":"file0"},{"photo_id":"1398108026","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398108015":["hashtag1","hashtag2"]},{"1398108018":["hashtag1","hashtag2"]},{"1398108032":["hashtag1","hashtag2"]},{"1398108026":["hashtag1","hashtag2"]},{"1398108022":["hashtag1","hashtag2"]},{"1398108027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398108015, 1398108018, 1398108032, 1398108026, 1398108022, 1398108027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.585137128829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 17:22:12.166674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/22/47/image_02122025_22_47_54_9603.jpg', '/home/pi/Desktop/images/02122025/22/51/image_02122025_22_51_14_9663.jpg', '/home/pi/Desktop/images/02122025/22/51/image_02122025_22_51_44_9669.jpg', '/home/pi/Desktop/images/02122025/22/52/image_02122025_22_52_24_9817.jpg', '/home/pi/Desktop/images/02122025/22/56/image_02122025_22_56_54_9697.jpg', '/home/pi/Desktop/images/02122025/22/57/image_02122025_22_57_54_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/22/47/image_02122025_22_47_54_9603.jpg
/home/pi/Desktop/images/02122025/22/51/image_02122025_22_51_14_9663.jpg
/home/pi/Desktop/images/02122025/22/51/image_02122025_22_51_44_9669.jpg
/home/pi/Desktop/images/02122025/22/52/image_02122025_22_52_24_9817.jpg
/home/pi/Desktop/images/02122025/22/56/image_02122025_22_56_54_9697.jpg
/home/pi/Desktop/images/02122025/22/57/image_02122025_22_57_54_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":["1398108056","1398108041","1398108046","1398108049","1398108043","1398108051"],"photo_ids_order":["1398108041","1398108043","1398108046","1398108049","1398108051","1398108056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03a0a1151c4d72e357c5afa397eff064.jpg","text":"TemporaryFile(/tmp/multipartBody6811110520245195591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951794147,"filename":"image_02122025_22_57_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bdcf59f17c6faec1f40e295db020c118.jpg","text":"TemporaryFile(/tmp/multipartBody7538969419794075543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951794147,"filename":"image_02122025_22_47_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/5/41ab15a4d56e4a21f18360b9880b6963.jpg","text":"TemporaryFile(/tmp/multipartBody5678517437581774469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951794147,"filename":"image_02122025_22_51_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/5/877fc94aedd621c3e38e5057850a7611.jpg","text":"TemporaryFile(/tmp/multipartBody8203104060903367255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951794147,"filename":"image_02122025_22_52_24_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/5/f37dbbf50e7d01946b842f8d8bdd953f.jpg","text":"TemporaryFile(/tmp/multipartBody1730817345401133302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951794147,"filename":"image_02122025_22_51_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/10e720d3dc1f1224190933533b00a082.jpg","text":"TemporaryFile(/tmp/multipartBody2136259859294513835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951794147,"filename":"image_02122025_22_56_54_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108046","file1":"1398108043","file0":"1398108041","file4":"1398108051","file5":"1398108056","file3":"1398108049"},"map_files_photo_id_array":[{"photo_id":"1398108056","filename":"file5"},{"photo_id":"1398108046","filename":"file2"},{"photo_id":"1398108051","filename":"file4"},{"photo_id":"1398108043","filename":"file1"},{"photo_id":"1398108041","filename":"file0"},{"photo_id":"1398108049","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398108056":["hashtag1","hashtag2"]},{"1398108041":["hashtag1","hashtag2"]},{"1398108046":["hashtag1","hashtag2"]},{"1398108049":["hashtag1","hashtag2"]},{"1398108043":["hashtag1","hashtag2"]},{"1398108051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398108056, 1398108041, 1398108046, 1398108049, 1398108043, 1398108051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.92925429344177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:23:03.114962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/09/image_05122025_16_09_14_9607.jpg', '/home/pi/Desktop/images/05122025/16/09/image_05122025_16_09_24_9803.jpg', '/home/pi/Desktop/images/05122025/16/09/image_05122025_16_09_34_10411.jpg', '/home/pi/Desktop/images/05122025/16/09/image_05122025_16_09_44_9623.jpg', '/home/pi/Desktop/images/05122025/16/11/image_05122025_16_11_14_10052.jpg', '/home/pi/Desktop/images/05122025/16/11/image_05122025_16_12_04_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/09/image_05122025_16_09_14_9607.jpg
/home/pi/Desktop/images/05122025/16/09/image_05122025_16_09_24_9803.jpg
/home/pi/Desktop/images/05122025/16/09/image_05122025_16_09_34_10411.jpg
/home/pi/Desktop/images/05122025/16/09/image_05122025_16_09_44_9623.jpg
/home/pi/Desktop/images/05122025/16/11/image_05122025_16_11_14_10052.jpg
/home/pi/Desktop/images/05122025/16/11/image_05122025_16_12_04_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":["1398108117","1398108122","1398108119","1398108109","1398108103","1398108099"],"photo_ids_order":["1398108099","1398108103","1398108109","1398108117","1398108119","1398108122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/944399d9821a82a81b14bfa703e46808.jpg","text":"TemporaryFile(/tmp/multipartBody8295208137498681727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951843778,"filename":"image_05122025_16_09_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/5/4e752c61ad8dd0b59a1db529584ed667.jpg","text":"TemporaryFile(/tmp/multipartBody2766870972581511325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951843778,"filename":"image_05122025_16_12_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/5/65edbe19e4efa248cd0a2ad2444fda66.jpg","text":"TemporaryFile(/tmp/multipartBody2967742801459860080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951843778,"filename":"image_05122025_16_11_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/5/c4f47c96e18971e830b9b803c55e5df9.jpg","text":"TemporaryFile(/tmp/multipartBody3549551928679433977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951843778,"filename":"image_05122025_16_09_34_10411.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bcaf25bf3a20ed466b951de42fa1d3c5.jpg","text":"TemporaryFile(/tmp/multipartBody2478692233480742710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951843778,"filename":"image_05122025_16_09_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/5/49c607ed3a01e21f4a024750c6514d98.jpg","text":"TemporaryFile(/tmp/multipartBody1853211989152988702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951843778,"filename":"image_05122025_16_09_14_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108109","file1":"1398108103","file0":"1398108099","file4":"1398108119","file5":"1398108122","file3":"1398108117"},"map_files_photo_id_array":[{"photo_id":"1398108122","filename":"file5"},{"photo_id":"1398108109","filename":"file2"},{"photo_id":"1398108119","filename":"file4"},{"photo_id":"1398108103","filename":"file1"},{"photo_id":"1398108099","filename":"file0"},{"photo_id":"1398108117","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108117":["hashtag1","hashtag2"]},{"1398108122":["hashtag1","hashtag2"]},{"1398108119":["hashtag1","hashtag2"]},{"1398108109":["hashtag1","hashtag2"]},{"1398108103":["hashtag1","hashtag2"]},{"1398108099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108117, 1398108122, 1398108119, 1398108109, 1398108103, 1398108099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37143421173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:23:42.350928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_19_2660.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_22_3657.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_25_2690.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_28_2750.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_32_3704.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_34_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_19_2660.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_22_3657.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_25_2690.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_28_2750.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_32_3704.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_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":["1398108135","1398108129","1398108134","1398108131","1398108133","1398108132"],"photo_ids_order":["1398108129","1398108131","1398108132","1398108133","1398108134","1398108135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2a522ef82571061cd847154d0ffa617d.jpg","text":"TemporaryFile(/tmp/multipartBody2810819891882329110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951883941,"filename":"image_31102025_20_07_34_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c3b1b85f921b7d2905a28215567625e6.jpg","text":"TemporaryFile(/tmp/multipartBody368308165343746538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951883941,"filename":"image_31102025_20_07_19_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc265e38a0dcd91b7ec30629cb97e31c.jpg","text":"TemporaryFile(/tmp/multipartBody2927730425881034101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951883941,"filename":"image_31102025_20_07_32_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/5/a873865458cb473a122f65f5355c2f22.jpg","text":"TemporaryFile(/tmp/multipartBody7688138940791778503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951883941,"filename":"image_31102025_20_07_22_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/5/e2feacec0332b3f47806daa4fc3ca0a5.jpg","text":"TemporaryFile(/tmp/multipartBody5201368144890485653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951883941,"filename":"image_31102025_20_07_28_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/5/e64caa239e192b7f47a761509ebb38b1.jpg","text":"TemporaryFile(/tmp/multipartBody7192753163247779733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951883941,"filename":"image_31102025_20_07_25_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108132","file1":"1398108131","file0":"1398108129","file4":"1398108134","file5":"1398108135","file3":"1398108133"},"map_files_photo_id_array":[{"photo_id":"1398108135","filename":"file5"},{"photo_id":"1398108132","filename":"file2"},{"photo_id":"1398108134","filename":"file4"},{"photo_id":"1398108131","filename":"file1"},{"photo_id":"1398108129","filename":"file0"},{"photo_id":"1398108133","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108135":["hashtag1","hashtag2"]},{"1398108129":["hashtag1","hashtag2"]},{"1398108134":["hashtag1","hashtag2"]},{"1398108131":["hashtag1","hashtag2"]},{"1398108133":["hashtag1","hashtag2"]},{"1398108132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108135, 1398108129, 1398108134, 1398108131, 1398108133, 1398108132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.706183195114136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:24:22.592685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/12/image_05122025_16_12_15_10725.jpg', '/home/pi/Desktop/images/05122025/16/12/image_05122025_16_12_24_9600.jpg', '/home/pi/Desktop/images/05122025/16/12/image_05122025_16_12_34_9613.jpg', '/home/pi/Desktop/images/05122025/16/12/image_05122025_16_12_44_10406.jpg', '/home/pi/Desktop/images/05122025/16/12/image_05122025_16_12_54_9609.jpg', '/home/pi/Desktop/images/05122025/16/12/image_05122025_16_13_04_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/12/image_05122025_16_12_15_10725.jpg
/home/pi/Desktop/images/05122025/16/12/image_05122025_16_12_24_9600.jpg
/home/pi/Desktop/images/05122025/16/12/image_05122025_16_12_34_9613.jpg
/home/pi/Desktop/images/05122025/16/12/image_05122025_16_12_44_10406.jpg
/home/pi/Desktop/images/05122025/16/12/image_05122025_16_12_54_9609.jpg
/home/pi/Desktop/images/05122025/16/12/image_05122025_16_13_04_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108152","1398108158","1398108145","1398108148","1398108141","1398108144"],"photo_ids_order":["1398108141","1398108144","1398108145","1398108148","1398108152","1398108158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d9950f3836eae5d1af760b6283a45c56.jpg","text":"TemporaryFile(/tmp/multipartBody2880330899313465073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951923247,"filename":"image_05122025_16_12_54_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/5/c5dff1a062d15c06107a23fd0f5015f6.jpg","text":"TemporaryFile(/tmp/multipartBody5896860752891430292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951923247,"filename":"image_05122025_16_13_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/5/24ee342e678372c0563e6ee81584ca1d.jpg","text":"TemporaryFile(/tmp/multipartBody5428834067571290026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951923247,"filename":"image_05122025_16_12_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/5/1c946480bf9f9aaff3bf26b5e0b59cc5.jpg","text":"TemporaryFile(/tmp/multipartBody4002597845040193497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951923247,"filename":"image_05122025_16_12_44_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/5/074b18cc0863434244c624f6bd0b1add.jpg","text":"TemporaryFile(/tmp/multipartBody3245600303079434526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951923247,"filename":"image_05122025_16_12_15_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/5/090cedd9b1e1a17193439cc698dbf405.jpg","text":"TemporaryFile(/tmp/multipartBody1608415834744491433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951923247,"filename":"image_05122025_16_12_24_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108145","file1":"1398108144","file0":"1398108141","file4":"1398108152","file5":"1398108158","file3":"1398108148"},"map_files_photo_id_array":[{"photo_id":"1398108158","filename":"file5"},{"photo_id":"1398108145","filename":"file2"},{"photo_id":"1398108152","filename":"file4"},{"photo_id":"1398108144","filename":"file1"},{"photo_id":"1398108141","filename":"file0"},{"photo_id":"1398108148","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108152":["hashtag1","hashtag2"]},{"1398108158":["hashtag1","hashtag2"]},{"1398108145":["hashtag1","hashtag2"]},{"1398108148":["hashtag1","hashtag2"]},{"1398108141":["hashtag1","hashtag2"]},{"1398108144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108152, 1398108158, 1398108145, 1398108148, 1398108141, 1398108144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30124092102051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:25:03.410059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/13/image_05122025_16_13_24_10092.jpg', '/home/pi/Desktop/images/05122025/16/13/image_05122025_16_13_54_9690.jpg', '/home/pi/Desktop/images/05122025/16/13/image_05122025_16_14_04_9853.jpg', '/home/pi/Desktop/images/05122025/16/14/image_05122025_16_14_24_9985.jpg', '/home/pi/Desktop/images/05122025/16/14/image_05122025_16_14_44_10685.jpg', '/home/pi/Desktop/images/05122025/16/14/image_05122025_16_14_55_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/13/image_05122025_16_13_24_10092.jpg
/home/pi/Desktop/images/05122025/16/13/image_05122025_16_13_54_9690.jpg
/home/pi/Desktop/images/05122025/16/13/image_05122025_16_14_04_9853.jpg
/home/pi/Desktop/images/05122025/16/14/image_05122025_16_14_24_9985.jpg
/home/pi/Desktop/images/05122025/16/14/image_05122025_16_14_44_10685.jpg
/home/pi/Desktop/images/05122025/16/14/image_05122025_16_14_55_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108167","1398108161","1398108163","1398108172","1398108169","1398108165"],"photo_ids_order":["1398108161","1398108163","1398108165","1398108167","1398108169","1398108172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1cd56e8efaf52991f706182c60344398.jpg","text":"TemporaryFile(/tmp/multipartBody8900302381571371006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951964103,"filename":"image_05122025_16_14_24_9985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/57debd67051a282ce2b624bb33354c83.jpg","text":"TemporaryFile(/tmp/multipartBody4462379966027849441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951964103,"filename":"image_05122025_16_13_24_10092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17c42ee6d443f9ae8a10d5bc8f163470.jpg","text":"TemporaryFile(/tmp/multipartBody5984522900095758812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951964103,"filename":"image_05122025_16_13_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aeba693dc46fa70e838088d671cebb8f.jpg","text":"TemporaryFile(/tmp/multipartBody9931363379168657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951964103,"filename":"image_05122025_16_14_55_10164.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4a936da6ebef5598e25b43071437deb5.jpg","text":"TemporaryFile(/tmp/multipartBody2242915322083224434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951964103,"filename":"image_05122025_16_14_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/5/733f3d510089bf73e90ded54d1758c56.jpg","text":"TemporaryFile(/tmp/multipartBody15838462360043716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764951964103,"filename":"image_05122025_16_14_04_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108165","file1":"1398108163","file0":"1398108161","file4":"1398108169","file5":"1398108172","file3":"1398108167"},"map_files_photo_id_array":[{"photo_id":"1398108172","filename":"file5"},{"photo_id":"1398108165","filename":"file2"},{"photo_id":"1398108169","filename":"file4"},{"photo_id":"1398108163","filename":"file1"},{"photo_id":"1398108161","filename":"file0"},{"photo_id":"1398108167","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108167":["hashtag1","hashtag2"]},{"1398108161":["hashtag1","hashtag2"]},{"1398108163":["hashtag1","hashtag2"]},{"1398108172":["hashtag1","hashtag2"]},{"1398108169":["hashtag1","hashtag2"]},{"1398108165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108167, 1398108161, 1398108163, 1398108172, 1398108169, 1398108165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.158833265304565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:25:42.791320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_43_2573.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_46_2617.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_49_3566.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_56_3738.jpg', '/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_58_2651.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_04_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_43_2573.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_46_2617.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_49_3566.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_56_3738.jpg
/home/pi/Desktop/images/31102025/20/07/image_31102025_20_07_58_2651.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_04_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":["1398108185","1398108179","1398108188","1398108181","1398108187","1398108186"],"photo_ids_order":["1398108179","1398108181","1398108185","1398108186","1398108187","1398108188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/209c60076ff59546b7ff029d1107f474.jpg","text":"TemporaryFile(/tmp/multipartBody1170873673948931569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952004262,"filename":"image_31102025_20_07_49_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c71f8d803296cfb603c4eab5174ba911.jpg","text":"TemporaryFile(/tmp/multipartBody7106394192506420023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952004262,"filename":"image_31102025_20_07_43_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/5/bec5c1f9a7d9ea75f1ccb98b6419db12.jpg","text":"TemporaryFile(/tmp/multipartBody9122340344864076724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952004262,"filename":"image_31102025_20_08_04_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/5/7a1937787e28b23a6254ce574d2c0180.jpg","text":"TemporaryFile(/tmp/multipartBody4751014155307752121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952004262,"filename":"image_31102025_20_07_46_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0cd0c01b146c2a88109dd04e10a5eac7.jpg","text":"TemporaryFile(/tmp/multipartBody7889129287103523865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952004262,"filename":"image_31102025_20_07_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/5/187a16c05573186b14cce11c10cd774a.jpg","text":"TemporaryFile(/tmp/multipartBody3491188278117269077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952004262,"filename":"image_31102025_20_07_56_3738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108185","file1":"1398108181","file0":"1398108179","file4":"1398108187","file5":"1398108188","file3":"1398108186"},"map_files_photo_id_array":[{"photo_id":"1398108188","filename":"file5"},{"photo_id":"1398108185","filename":"file2"},{"photo_id":"1398108187","filename":"file4"},{"photo_id":"1398108181","filename":"file1"},{"photo_id":"1398108179","filename":"file0"},{"photo_id":"1398108186","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108185":["hashtag1","hashtag2"]},{"1398108179":["hashtag1","hashtag2"]},{"1398108188":["hashtag1","hashtag2"]},{"1398108181":["hashtag1","hashtag2"]},{"1398108187":["hashtag1","hashtag2"]},{"1398108186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108185, 1398108179, 1398108188, 1398108181, 1398108187, 1398108186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64608025550842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:26:22.308920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/15/image_05122025_16_15_15_10047.jpg', '/home/pi/Desktop/images/05122025/16/15/image_05122025_16_15_25_10724.jpg', '/home/pi/Desktop/images/05122025/16/15/image_05122025_16_15_45_9609.jpg', '/home/pi/Desktop/images/05122025/16/15/image_05122025_16_15_55_10593.jpg', '/home/pi/Desktop/images/05122025/16/15/image_05122025_16_16_05_9801.jpg', '/home/pi/Desktop/images/05122025/16/16/image_05122025_16_16_15_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/15/image_05122025_16_15_15_10047.jpg
/home/pi/Desktop/images/05122025/16/15/image_05122025_16_15_25_10724.jpg
/home/pi/Desktop/images/05122025/16/15/image_05122025_16_15_45_9609.jpg
/home/pi/Desktop/images/05122025/16/15/image_05122025_16_15_55_10593.jpg
/home/pi/Desktop/images/05122025/16/15/image_05122025_16_16_05_9801.jpg
/home/pi/Desktop/images/05122025/16/16/image_05122025_16_16_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":["1398108197","1398108201","1398108203","1398108209","1398108200","1398108214"],"photo_ids_order":["1398108197","1398108200","1398108201","1398108203","1398108209","1398108214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c4dd99191c555dd5e532279a629a990.jpg","text":"TemporaryFile(/tmp/multipartBody1881453649514202921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952042920,"filename":"image_05122025_16_15_15_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a6c83b04dc2e4600b9606cfbb352550.jpg","text":"TemporaryFile(/tmp/multipartBody1830755064236307332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952042920,"filename":"image_05122025_16_15_45_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/5/3f796089d97f0b59d927f728f8d0a2c7.jpg","text":"TemporaryFile(/tmp/multipartBody1200759181662426304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952042920,"filename":"image_05122025_16_15_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/5/37e6cb4c36839abe484f54c48d810511.jpg","text":"TemporaryFile(/tmp/multipartBody946724825267466406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952042920,"filename":"image_05122025_16_16_05_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/5/6cbf53f8678be2b3792e971bc39fd781.jpg","text":"TemporaryFile(/tmp/multipartBody3464268307176766166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952042920,"filename":"image_05122025_16_15_25_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/5/b80b3c05605d647372050f463afad12c.jpg","text":"TemporaryFile(/tmp/multipartBody6996335262500859505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952042920,"filename":"image_05122025_16_16_15_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108201","file1":"1398108200","file0":"1398108197","file4":"1398108209","file5":"1398108214","file3":"1398108203"},"map_files_photo_id_array":[{"photo_id":"1398108214","filename":"file5"},{"photo_id":"1398108201","filename":"file2"},{"photo_id":"1398108209","filename":"file4"},{"photo_id":"1398108200","filename":"file1"},{"photo_id":"1398108197","filename":"file0"},{"photo_id":"1398108203","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108197":["hashtag1","hashtag2"]},{"1398108201":["hashtag1","hashtag2"]},{"1398108203":["hashtag1","hashtag2"]},{"1398108209":["hashtag1","hashtag2"]},{"1398108200":["hashtag1","hashtag2"]},{"1398108214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108197, 1398108201, 1398108203, 1398108209, 1398108200, 1398108214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79868412017822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:27:02.921400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/16/image_05122025_16_16_25_10539.jpg', '/home/pi/Desktop/images/05122025/16/16/image_05122025_16_16_35_9593.jpg', '/home/pi/Desktop/images/05122025/16/16/image_05122025_16_16_45_10655.jpg', '/home/pi/Desktop/images/05122025/16/16/image_05122025_16_16_55_9623.jpg', '/home/pi/Desktop/images/05122025/16/16/image_05122025_16_17_05_9663.jpg', '/home/pi/Desktop/images/05122025/16/17/image_05122025_16_17_15_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/16/image_05122025_16_16_25_10539.jpg
/home/pi/Desktop/images/05122025/16/16/image_05122025_16_16_35_9593.jpg
/home/pi/Desktop/images/05122025/16/16/image_05122025_16_16_45_10655.jpg
/home/pi/Desktop/images/05122025/16/16/image_05122025_16_16_55_9623.jpg
/home/pi/Desktop/images/05122025/16/16/image_05122025_16_17_05_9663.jpg
/home/pi/Desktop/images/05122025/16/17/image_05122025_16_17_15_10770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108236","1398108239","1398108230","1398108243","1398108222","1398108246"],"photo_ids_order":["1398108222","1398108230","1398108236","1398108239","1398108243","1398108246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/72d61ee242243189c52d8b45fc6ad972.jpg","text":"TemporaryFile(/tmp/multipartBody2886579492579632877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952083627,"filename":"image_05122025_16_16_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/5/21af09f9fb9dddaf84c327e8c0417bb3.jpg","text":"TemporaryFile(/tmp/multipartBody4801092994723805082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952083627,"filename":"image_05122025_16_16_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/5/bdc9ae0737892801cb6ca02eca43520b.jpg","text":"TemporaryFile(/tmp/multipartBody7618071198212987294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952083627,"filename":"image_05122025_16_16_35_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/5/905e459c77c68590c4046f960e3a1772.jpg","text":"TemporaryFile(/tmp/multipartBody7469981589519911979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952083627,"filename":"image_05122025_16_17_05_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/5/ba67e373647982ce7ebd29eff556b9a7.jpg","text":"TemporaryFile(/tmp/multipartBody8890669755619446045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952083627,"filename":"image_05122025_16_16_25_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/5/4c59aa4c9fc38d6fae0bf633290157b8.jpg","text":"TemporaryFile(/tmp/multipartBody4651358501281574187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952083627,"filename":"image_05122025_16_17_15_10770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108236","file1":"1398108230","file0":"1398108222","file4":"1398108243","file5":"1398108246","file3":"1398108239"},"map_files_photo_id_array":[{"photo_id":"1398108246","filename":"file5"},{"photo_id":"1398108236","filename":"file2"},{"photo_id":"1398108243","filename":"file4"},{"photo_id":"1398108230","filename":"file1"},{"photo_id":"1398108222","filename":"file0"},{"photo_id":"1398108239","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108236":["hashtag1","hashtag2"]},{"1398108239":["hashtag1","hashtag2"]},{"1398108230":["hashtag1","hashtag2"]},{"1398108243":["hashtag1","hashtag2"]},{"1398108222":["hashtag1","hashtag2"]},{"1398108246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108236, 1398108239, 1398108230, 1398108243, 1398108222, 1398108246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24105405807495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:27:42.456676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_07_3616.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_10_2630.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_16_3563.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_19_2593.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_25_2648.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_28_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_07_3616.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_10_2630.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_16_3563.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_19_2593.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_25_2648.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_28_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":["1398108254","1398108257","1398108256","1398108255","1398108258","1398108252"],"photo_ids_order":["1398108252","1398108254","1398108255","1398108256","1398108257","1398108258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f462e63242320a2f7c0c04244dc4f4e.jpg","text":"TemporaryFile(/tmp/multipartBody183785477034719289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952124024,"filename":"image_31102025_20_08_10_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/5/739116f1f05cf02bb4f1457e021e2595.jpg","text":"TemporaryFile(/tmp/multipartBody3253111025912943433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952124024,"filename":"image_31102025_20_08_25_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/195fb04b3f740eec94e7eb69a2b50ed4.jpg","text":"TemporaryFile(/tmp/multipartBody8318377666399696681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952124024,"filename":"image_31102025_20_08_19_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c1775e328a9362e65883671a00991f8.jpg","text":"TemporaryFile(/tmp/multipartBody4099132955799385588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952124024,"filename":"image_31102025_20_08_16_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/5/fb1babfda744c4aeb2489e1d1cc302b0.jpg","text":"TemporaryFile(/tmp/multipartBody4937349330991336016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952124024,"filename":"image_31102025_20_08_28_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/5/149530003c191bea18e9115f7a602575.jpg","text":"TemporaryFile(/tmp/multipartBody3638500889199580538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952124024,"filename":"image_31102025_20_08_07_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108255","file1":"1398108254","file0":"1398108252","file4":"1398108257","file5":"1398108258","file3":"1398108256"},"map_files_photo_id_array":[{"photo_id":"1398108258","filename":"file5"},{"photo_id":"1398108255","filename":"file2"},{"photo_id":"1398108257","filename":"file4"},{"photo_id":"1398108254","filename":"file1"},{"photo_id":"1398108252","filename":"file0"},{"photo_id":"1398108256","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108254":["hashtag1","hashtag2"]},{"1398108257":["hashtag1","hashtag2"]},{"1398108256":["hashtag1","hashtag2"]},{"1398108255":["hashtag1","hashtag2"]},{"1398108258":["hashtag1","hashtag2"]},{"1398108252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108254, 1398108257, 1398108256, 1398108255, 1398108258, 1398108252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7056622505188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:28:22.655324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/17/image_05122025_16_17_25_9565.jpg', '/home/pi/Desktop/images/05122025/16/17/image_05122025_16_17_35_9630.jpg', '/home/pi/Desktop/images/05122025/16/17/image_05122025_16_17_45_10638.jpg', '/home/pi/Desktop/images/05122025/16/17/image_05122025_16_17_55_9668.jpg', '/home/pi/Desktop/images/05122025/16/17/image_05122025_16_18_05_9880.jpg', '/home/pi/Desktop/images/05122025/16/18/image_05122025_16_18_15_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/17/image_05122025_16_17_25_9565.jpg
/home/pi/Desktop/images/05122025/16/17/image_05122025_16_17_35_9630.jpg
/home/pi/Desktop/images/05122025/16/17/image_05122025_16_17_45_10638.jpg
/home/pi/Desktop/images/05122025/16/17/image_05122025_16_17_55_9668.jpg
/home/pi/Desktop/images/05122025/16/17/image_05122025_16_18_05_9880.jpg
/home/pi/Desktop/images/05122025/16/18/image_05122025_16_18_15_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":["1398108266","1398108263","1398108265","1398108268","1398108261","1398108279"],"photo_ids_order":["1398108261","1398108263","1398108265","1398108266","1398108268","1398108279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7879e1b16445864eb51a3f02dfea78d1.jpg","text":"TemporaryFile(/tmp/multipartBody2226661362528132246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952163306,"filename":"image_05122025_16_17_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/5/525f764ab24e0a48b7fe7acbcc2b3fee.jpg","text":"TemporaryFile(/tmp/multipartBody4667009271916717287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952163306,"filename":"image_05122025_16_17_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/5/2ddecc473f964232312fdeb127eeb2a4.jpg","text":"TemporaryFile(/tmp/multipartBody568236990775917014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952163306,"filename":"image_05122025_16_17_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/5/a4fae2409652350a79a51b3d25846918.jpg","text":"TemporaryFile(/tmp/multipartBody8944033441447495254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952163306,"filename":"image_05122025_16_18_05_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c9abd7891f7d36eb01befa70e3ccdb0.jpg","text":"TemporaryFile(/tmp/multipartBody9027299074619809966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952163306,"filename":"image_05122025_16_17_25_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/5/cfe33a285741f881066c9f02e26c738b.jpg","text":"TemporaryFile(/tmp/multipartBody7164843391572070384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952163306,"filename":"image_05122025_16_18_15_10551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108265","file1":"1398108263","file0":"1398108261","file4":"1398108268","file5":"1398108279","file3":"1398108266"},"map_files_photo_id_array":[{"photo_id":"1398108279","filename":"file5"},{"photo_id":"1398108265","filename":"file2"},{"photo_id":"1398108268","filename":"file4"},{"photo_id":"1398108263","filename":"file1"},{"photo_id":"1398108261","filename":"file0"},{"photo_id":"1398108266","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108266":["hashtag1","hashtag2"]},{"1398108263":["hashtag1","hashtag2"]},{"1398108265":["hashtag1","hashtag2"]},{"1398108268":["hashtag1","hashtag2"]},{"1398108261":["hashtag1","hashtag2"]},{"1398108279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108266, 1398108263, 1398108265, 1398108268, 1398108261, 1398108279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85573387145996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:29:03.554280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/18/image_05122025_16_18_25_9528.jpg', '/home/pi/Desktop/images/05122025/16/18/image_05122025_16_18_35_10539.jpg', '/home/pi/Desktop/images/05122025/16/18/image_05122025_16_18_55_9574.jpg', '/home/pi/Desktop/images/05122025/16/18/image_05122025_16_19_05_10646.jpg', '/home/pi/Desktop/images/05122025/16/19/image_05122025_16_19_15_9660.jpg', '/home/pi/Desktop/images/05122025/16/19/image_05122025_16_19_25_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/18/image_05122025_16_18_25_9528.jpg
/home/pi/Desktop/images/05122025/16/18/image_05122025_16_18_35_10539.jpg
/home/pi/Desktop/images/05122025/16/18/image_05122025_16_18_55_9574.jpg
/home/pi/Desktop/images/05122025/16/18/image_05122025_16_19_05_10646.jpg
/home/pi/Desktop/images/05122025/16/19/image_05122025_16_19_15_9660.jpg
/home/pi/Desktop/images/05122025/16/19/image_05122025_16_19_25_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":["1398108290","1398108293","1398108291","1398108294","1398108288","1398108297"],"photo_ids_order":["1398108288","1398108290","1398108291","1398108293","1398108294","1398108297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/09effda6aceca8b40200027d68709006.jpg","text":"TemporaryFile(/tmp/multipartBody6644046831269066882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952204240,"filename":"image_05122025_16_18_35_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/5/4ee3ad4c1fdd16309460054ef1feadb6.jpg","text":"TemporaryFile(/tmp/multipartBody3024915443932791012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952204240,"filename":"image_05122025_16_19_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/5/653f38e03ef69acbdab43cf85bb4f7e9.jpg","text":"TemporaryFile(/tmp/multipartBody5959942080022323728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952204240,"filename":"image_05122025_16_18_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/5/742777b81939083b09a023e403da643e.jpg","text":"TemporaryFile(/tmp/multipartBody2643956184117863249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952204240,"filename":"image_05122025_16_19_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/31af0e0e6c624cb79363b7dbbb31881e.jpg","text":"TemporaryFile(/tmp/multipartBody4496057256301064895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952204240,"filename":"image_05122025_16_18_25_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/5/d1b60245a273e340f11822728bda8af9.jpg","text":"TemporaryFile(/tmp/multipartBody8329669348220109008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952204240,"filename":"image_05122025_16_19_25_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108291","file1":"1398108290","file0":"1398108288","file4":"1398108294","file5":"1398108297","file3":"1398108293"},"map_files_photo_id_array":[{"photo_id":"1398108297","filename":"file5"},{"photo_id":"1398108291","filename":"file2"},{"photo_id":"1398108294","filename":"file4"},{"photo_id":"1398108290","filename":"file1"},{"photo_id":"1398108288","filename":"file0"},{"photo_id":"1398108293","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108290":["hashtag1","hashtag2"]},{"1398108293":["hashtag1","hashtag2"]},{"1398108291":["hashtag1","hashtag2"]},{"1398108294":["hashtag1","hashtag2"]},{"1398108288":["hashtag1","hashtag2"]},{"1398108297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108290, 1398108293, 1398108291, 1398108294, 1398108288, 1398108297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25690031051636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:29:43.021283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_32_3705.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_34_2686.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_37_2598.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_40_3697.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_43_2626.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_46_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_32_3705.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_34_2686.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_37_2598.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_40_3697.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_43_2626.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_46_2569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108333","1398108341","1398108335","1398108340","1398108334","1398108330"],"photo_ids_order":["1398108330","1398108333","1398108334","1398108335","1398108340","1398108341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2173498769468f2c6349ee7058f53535.jpg","text":"TemporaryFile(/tmp/multipartBody859755572369749681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952244583,"filename":"image_31102025_20_08_34_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/5/bea9ff69306f66a20e417ab4c5338d42.jpg","text":"TemporaryFile(/tmp/multipartBody2166797050511059727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952244583,"filename":"image_31102025_20_08_46_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f5c9b9857ca47dd6d79c427c9dc1d839.jpg","text":"TemporaryFile(/tmp/multipartBody2924637675184141597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952244583,"filename":"image_31102025_20_08_40_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/5/267d8f9060404a7465e36f00a897090a.jpg","text":"TemporaryFile(/tmp/multipartBody5602100972962830596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952244583,"filename":"image_31102025_20_08_43_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/5/7d35f01c19cc990d98671cb76696f684.jpg","text":"TemporaryFile(/tmp/multipartBody3409012909923938519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952244583,"filename":"image_31102025_20_08_37_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/5/1a5948b1c0c3bc4c4f9a820ea5cfd371.jpg","text":"TemporaryFile(/tmp/multipartBody7910508757504427583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952244583,"filename":"image_31102025_20_08_32_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108334","file1":"1398108333","file0":"1398108330","file4":"1398108340","file5":"1398108341","file3":"1398108335"},"map_files_photo_id_array":[{"photo_id":"1398108341","filename":"file5"},{"photo_id":"1398108334","filename":"file2"},{"photo_id":"1398108340","filename":"file4"},{"photo_id":"1398108333","filename":"file1"},{"photo_id":"1398108330","filename":"file0"},{"photo_id":"1398108335","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108333":["hashtag1","hashtag2"]},{"1398108341":["hashtag1","hashtag2"]},{"1398108335":["hashtag1","hashtag2"]},{"1398108340":["hashtag1","hashtag2"]},{"1398108334":["hashtag1","hashtag2"]},{"1398108330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108333, 1398108341, 1398108335, 1398108340, 1398108334, 1398108330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.894171476364136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:30:22.163196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/19/image_05122025_16_19_35_9762.jpg', '/home/pi/Desktop/images/05122025/16/19/image_05122025_16_19_46_10973.jpg', '/home/pi/Desktop/images/05122025/16/19/image_05122025_16_19_55_9703.jpg', '/home/pi/Desktop/images/05122025/16/20/image_05122025_16_20_15_10045.jpg', '/home/pi/Desktop/images/05122025/16/20/image_05122025_16_20_25_10726.jpg', '/home/pi/Desktop/images/05122025/16/20/image_05122025_16_20_35_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/19/image_05122025_16_19_35_9762.jpg
/home/pi/Desktop/images/05122025/16/19/image_05122025_16_19_46_10973.jpg
/home/pi/Desktop/images/05122025/16/19/image_05122025_16_19_55_9703.jpg
/home/pi/Desktop/images/05122025/16/20/image_05122025_16_20_15_10045.jpg
/home/pi/Desktop/images/05122025/16/20/image_05122025_16_20_25_10726.jpg
/home/pi/Desktop/images/05122025/16/20/image_05122025_16_20_35_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":["1398108344","1398108352","1398108349","1398108360","1398108348","1398108342"],"photo_ids_order":["1398108342","1398108344","1398108348","1398108349","1398108352","1398108360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f6229de6b573a99f55b9edd07f69d539.jpg","text":"TemporaryFile(/tmp/multipartBody8398368931238436601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952282807,"filename":"image_05122025_16_19_46_10973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/04442035a17378517bd7def46cf349fd.jpg","text":"TemporaryFile(/tmp/multipartBody357951627587233750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952282807,"filename":"image_05122025_16_20_25_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/5/47401b46dff5c6e52ae0cf9242e2b5e4.jpg","text":"TemporaryFile(/tmp/multipartBody2220087824775308652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952282807,"filename":"image_05122025_16_20_15_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/5/08bbd03bd737e95c9a74a32d6948dda0.jpg","text":"TemporaryFile(/tmp/multipartBody3640676079917348217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952282807,"filename":"image_05122025_16_20_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/5/16f968b3a8e1bcadcb93dd3f65c6d0ec.jpg","text":"TemporaryFile(/tmp/multipartBody6325332653574099945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952282807,"filename":"image_05122025_16_19_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/5/bda990bf105085e16784070b2e143397.jpg","text":"TemporaryFile(/tmp/multipartBody1920826153904151870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952282807,"filename":"image_05122025_16_19_35_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108348","file1":"1398108344","file0":"1398108342","file4":"1398108352","file5":"1398108360","file3":"1398108349"},"map_files_photo_id_array":[{"photo_id":"1398108360","filename":"file5"},{"photo_id":"1398108348","filename":"file2"},{"photo_id":"1398108352","filename":"file4"},{"photo_id":"1398108344","filename":"file1"},{"photo_id":"1398108342","filename":"file0"},{"photo_id":"1398108349","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108344":["hashtag1","hashtag2"]},{"1398108352":["hashtag1","hashtag2"]},{"1398108349":["hashtag1","hashtag2"]},{"1398108360":["hashtag1","hashtag2"]},{"1398108348":["hashtag1","hashtag2"]},{"1398108342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108344, 1398108352, 1398108349, 1398108360, 1398108348, 1398108342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.418254137039185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:31:03.015344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/20/image_05122025_16_20_45_9511.jpg', '/home/pi/Desktop/images/05122025/16/20/image_05122025_16_20_55_10729.jpg', '/home/pi/Desktop/images/05122025/16/20/image_05122025_16_21_05_10102.jpg', '/home/pi/Desktop/images/05122025/16/21/image_05122025_16_21_15_9666.jpg', '/home/pi/Desktop/images/05122025/16/21/image_05122025_16_21_25_9708.jpg', '/home/pi/Desktop/images/05122025/16/21/image_05122025_16_21_35_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/20/image_05122025_16_20_45_9511.jpg
/home/pi/Desktop/images/05122025/16/20/image_05122025_16_20_55_10729.jpg
/home/pi/Desktop/images/05122025/16/20/image_05122025_16_21_05_10102.jpg
/home/pi/Desktop/images/05122025/16/21/image_05122025_16_21_15_9666.jpg
/home/pi/Desktop/images/05122025/16/21/image_05122025_16_21_25_9708.jpg
/home/pi/Desktop/images/05122025/16/21/image_05122025_16_21_35_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":["1398108380","1398108374","1398108382","1398108379","1398108384","1398108381"],"photo_ids_order":["1398108374","1398108379","1398108380","1398108381","1398108382","1398108384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb3892ef7103ed84985ba4d42009a91b.jpg","text":"TemporaryFile(/tmp/multipartBody2062211309766015011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952323724,"filename":"image_05122025_16_21_05_10102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b53d4224bcf39780c5557524a94e8037.jpg","text":"TemporaryFile(/tmp/multipartBody4500505469570433884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952323724,"filename":"image_05122025_16_20_45_9511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e507f365af0d1ef3d26ca6cc9e2246cf.jpg","text":"TemporaryFile(/tmp/multipartBody3128311973429165240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952323724,"filename":"image_05122025_16_21_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4dd32fb4ef298a3e533c023d45c7936a.jpg","text":"TemporaryFile(/tmp/multipartBody3357886821894622941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952323724,"filename":"image_05122025_16_20_55_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/5/7a7d88ffc86bf24e60430c9b58dc72b7.jpg","text":"TemporaryFile(/tmp/multipartBody1444615969492490403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952323724,"filename":"image_05122025_16_21_35_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/5/c183eac9aae7295b5068a4d3defde9eb.jpg","text":"TemporaryFile(/tmp/multipartBody2420952260403717848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952323724,"filename":"image_05122025_16_21_15_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108380","file1":"1398108379","file0":"1398108374","file4":"1398108382","file5":"1398108384","file3":"1398108381"},"map_files_photo_id_array":[{"photo_id":"1398108384","filename":"file5"},{"photo_id":"1398108380","filename":"file2"},{"photo_id":"1398108382","filename":"file4"},{"photo_id":"1398108379","filename":"file1"},{"photo_id":"1398108374","filename":"file0"},{"photo_id":"1398108381","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108380":["hashtag1","hashtag2"]},{"1398108374":["hashtag1","hashtag2"]},{"1398108382":["hashtag1","hashtag2"]},{"1398108379":["hashtag1","hashtag2"]},{"1398108384":["hashtag1","hashtag2"]},{"1398108381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108380, 1398108374, 1398108382, 1398108379, 1398108384, 1398108381)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.19890832901001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:32:02.456868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/21/image_05122025_16_21_45_9487.jpg', '/home/pi/Desktop/images/05122025/16/21/image_05122025_16_21_55_10523.jpg', '/home/pi/Desktop/images/05122025/16/21/image_05122025_16_22_05_9626.jpg', '/home/pi/Desktop/images/05122025/16/22/image_05122025_16_22_18_13027.jpg', '/home/pi/Desktop/images/05122025/16/22/image_05122025_16_22_25_6541.jpg', '/home/pi/Desktop/images/05122025/16/22/image_05122025_16_22_35_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/21/image_05122025_16_21_45_9487.jpg
/home/pi/Desktop/images/05122025/16/21/image_05122025_16_21_55_10523.jpg
/home/pi/Desktop/images/05122025/16/21/image_05122025_16_22_05_9626.jpg
/home/pi/Desktop/images/05122025/16/22/image_05122025_16_22_18_13027.jpg
/home/pi/Desktop/images/05122025/16/22/image_05122025_16_22_25_6541.jpg
/home/pi/Desktop/images/05122025/16/22/image_05122025_16_22_35_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108392","1398108386","1398108391","1398108394","1398108393","1398108396"],"photo_ids_order":["1398108386","1398108391","1398108392","1398108393","1398108394","1398108396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dba43585799fbc3121a75e676a4d4fb1.jpg","text":"TemporaryFile(/tmp/multipartBody9119568290728361365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952383127,"filename":"image_05122025_16_22_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/5/412d6c46dc13a6a7a9198d84ead596b7.jpg","text":"TemporaryFile(/tmp/multipartBody7941063573064009007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952383127,"filename":"image_05122025_16_21_45_9487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/192a87020f7a3848653b78916aa20549.jpg","text":"TemporaryFile(/tmp/multipartBody8870490529762490270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952383127,"filename":"image_05122025_16_21_55_10523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3271fd81598e888bbaba6d14aeb3f6fe.jpg","text":"TemporaryFile(/tmp/multipartBody7693374743349558007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952383127,"filename":"image_05122025_16_22_25_6541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/15a183847990bfe146526f284a2d8d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2922135295298633573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952383127,"filename":"image_05122025_16_22_18_13027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/39e10a52ab9b170025d22840d0b8fb3d.jpg","text":"TemporaryFile(/tmp/multipartBody6248517122486314392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952383127,"filename":"image_05122025_16_22_35_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108392","file1":"1398108391","file0":"1398108386","file4":"1398108394","file5":"1398108396","file3":"1398108393"},"map_files_photo_id_array":[{"photo_id":"1398108396","filename":"file5"},{"photo_id":"1398108392","filename":"file2"},{"photo_id":"1398108394","filename":"file4"},{"photo_id":"1398108391","filename":"file1"},{"photo_id":"1398108386","filename":"file0"},{"photo_id":"1398108393","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108392":["hashtag1","hashtag2"]},{"1398108386":["hashtag1","hashtag2"]},{"1398108391":["hashtag1","hashtag2"]},{"1398108394":["hashtag1","hashtag2"]},{"1398108393":["hashtag1","hashtag2"]},{"1398108396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108392, 1398108386, 1398108391, 1398108394, 1398108393, 1398108396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.021156787872314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:32:41.996878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_49_3649.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_52_2832.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_55_2751.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_01_2851.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_04_2797.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_07_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_49_3649.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_52_2832.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_55_2751.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_01_2851.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_04_2797.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_07_2764.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.425200939178467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:33:03.033380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/22/image_05122025_16_22_45_9618.jpg', '/home/pi/Desktop/images/05122025/16/22/image_05122025_16_22_55_10569.jpg', '/home/pi/Desktop/images/05122025/16/22/image_05122025_16_23_05_9751.jpg', '/home/pi/Desktop/images/05122025/16/23/image_05122025_16_23_15_9583.jpg', '/home/pi/Desktop/images/05122025/16/23/image_05122025_16_23_25_10639.jpg', '/home/pi/Desktop/images/05122025/16/23/image_05122025_16_23_35_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/22/image_05122025_16_22_45_9618.jpg
/home/pi/Desktop/images/05122025/16/22/image_05122025_16_22_55_10569.jpg
/home/pi/Desktop/images/05122025/16/22/image_05122025_16_23_05_9751.jpg
/home/pi/Desktop/images/05122025/16/23/image_05122025_16_23_15_9583.jpg
/home/pi/Desktop/images/05122025/16/23/image_05122025_16_23_25_10639.jpg
/home/pi/Desktop/images/05122025/16/23/image_05122025_16_23_35_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108414","1398108431","1398108428","1398108424","1398108412","1398108429"],"photo_ids_order":["1398108412","1398108414","1398108424","1398108428","1398108429","1398108431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/595d510a8c0019e36c09c6020f910c7b.jpg","text":"TemporaryFile(/tmp/multipartBody5960690536074750418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952443715,"filename":"image_05122025_16_22_55_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/5/e067587d2d7173d07dd0eb2b7e2a1c68.jpg","text":"TemporaryFile(/tmp/multipartBody7463354827922463746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952443715,"filename":"image_05122025_16_23_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6fa8b1c88c22d7afc7d287a49593149a.jpg","text":"TemporaryFile(/tmp/multipartBody8923104630737456937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952443715,"filename":"image_05122025_16_23_15_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/5/457c3bc8d8e7c60ae4c6ce98f28c3506.jpg","text":"TemporaryFile(/tmp/multipartBody6710650707408140301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952443715,"filename":"image_05122025_16_23_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/5/bf29051c12edd23493312ebdefc26511.jpg","text":"TemporaryFile(/tmp/multipartBody1290843413254908247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952443715,"filename":"image_05122025_16_22_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/336ecd8ba1516efef5efc0d0f27c4c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7035836129618699931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952443715,"filename":"image_05122025_16_23_25_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108424","file1":"1398108414","file0":"1398108412","file4":"1398108429","file5":"1398108431","file3":"1398108428"},"map_files_photo_id_array":[{"photo_id":"1398108431","filename":"file5"},{"photo_id":"1398108424","filename":"file2"},{"photo_id":"1398108429","filename":"file4"},{"photo_id":"1398108414","filename":"file1"},{"photo_id":"1398108412","filename":"file0"},{"photo_id":"1398108428","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108414":["hashtag1","hashtag2"]},{"1398108431":["hashtag1","hashtag2"]},{"1398108428":["hashtag1","hashtag2"]},{"1398108424":["hashtag1","hashtag2"]},{"1398108412":["hashtag1","hashtag2"]},{"1398108429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108414, 1398108431, 1398108428, 1398108424, 1398108412, 1398108429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.729177713394165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:33:42.297091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_49_3649.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_52_2832.jpg', '/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_55_2751.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_01_2851.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_04_2797.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_07_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_49_3649.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_52_2832.jpg
/home/pi/Desktop/images/31102025/20/08/image_31102025_20_08_55_2751.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_01_2851.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_04_2797.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_07_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108443","1398108440","1398108437","1398108442","1398108439","1398108441"],"photo_ids_order":["1398108437","1398108439","1398108440","1398108441","1398108442","1398108443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47cfab42eb00688d635787f56af47bfc.jpg","text":"TemporaryFile(/tmp/multipartBody21812423424360977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952483739,"filename":"image_31102025_20_09_07_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/10dedd99db3115a578d16b0b9b1ee20a.jpg","text":"TemporaryFile(/tmp/multipartBody1263838628258143615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952483739,"filename":"image_31102025_20_08_55_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/5/f12af6d28680a26b2ab1aca895d25a4f.jpg","text":"TemporaryFile(/tmp/multipartBody8218063709019920935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952483739,"filename":"image_31102025_20_08_49_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/5/51e1448ca6f15f41f99a94f03ef2808a.jpg","text":"TemporaryFile(/tmp/multipartBody5750567667550313433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952483739,"filename":"image_31102025_20_09_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/5/a6d9996dcdf0f52917455022c9d668cb.jpg","text":"TemporaryFile(/tmp/multipartBody3475638834003420761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952483739,"filename":"image_31102025_20_08_52_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eea128463f85232a39f61ab247b0525a.jpg","text":"TemporaryFile(/tmp/multipartBody7159554535144402001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952483739,"filename":"image_31102025_20_09_01_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108440","file1":"1398108439","file0":"1398108437","file4":"1398108442","file5":"1398108443","file3":"1398108441"},"map_files_photo_id_array":[{"photo_id":"1398108443","filename":"file5"},{"photo_id":"1398108440","filename":"file2"},{"photo_id":"1398108442","filename":"file4"},{"photo_id":"1398108439","filename":"file1"},{"photo_id":"1398108437","filename":"file0"},{"photo_id":"1398108441","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108443":["hashtag1","hashtag2"]},{"1398108440":["hashtag1","hashtag2"]},{"1398108437":["hashtag1","hashtag2"]},{"1398108442":["hashtag1","hashtag2"]},{"1398108439":["hashtag1","hashtag2"]},{"1398108441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108443, 1398108440, 1398108437, 1398108442, 1398108439, 1398108441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.530495166778564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:34:22.574263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/23/image_05122025_16_23_45_9602.jpg', '/home/pi/Desktop/images/05122025/16/23/image_05122025_16_23_55_10631.jpg', '/home/pi/Desktop/images/05122025/16/23/image_05122025_16_24_05_9568.jpg', '/home/pi/Desktop/images/05122025/16/24/image_05122025_16_24_15_9665.jpg', '/home/pi/Desktop/images/05122025/16/24/image_05122025_16_24_25_10587.jpg', '/home/pi/Desktop/images/05122025/16/24/image_05122025_16_24_35_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/23/image_05122025_16_23_45_9602.jpg
/home/pi/Desktop/images/05122025/16/23/image_05122025_16_23_55_10631.jpg
/home/pi/Desktop/images/05122025/16/23/image_05122025_16_24_05_9568.jpg
/home/pi/Desktop/images/05122025/16/24/image_05122025_16_24_15_9665.jpg
/home/pi/Desktop/images/05122025/16/24/image_05122025_16_24_25_10587.jpg
/home/pi/Desktop/images/05122025/16/24/image_05122025_16_24_35_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108449","1398108451","1398108445","1398108453","1398108447","1398108456"],"photo_ids_order":["1398108445","1398108447","1398108449","1398108451","1398108453","1398108456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/126efdbbf688c00eec783f0751bc85e8.jpg","text":"TemporaryFile(/tmp/multipartBody5313454808023871060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952523175,"filename":"image_05122025_16_24_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/5/04f437ff6823f10d4c4e6e4f062ebb3e.jpg","text":"TemporaryFile(/tmp/multipartBody7176359938382085086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952523175,"filename":"image_05122025_16_24_15_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/5/ad8868600527f43d533b4c97eedab25c.jpg","text":"TemporaryFile(/tmp/multipartBody4774697940520342973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952523175,"filename":"image_05122025_16_23_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/5/668841ad4a1e6a038c3f6982969ce03f.jpg","text":"TemporaryFile(/tmp/multipartBody1059764930011640897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952523175,"filename":"image_05122025_16_24_25_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/5/1aa4a8cc05910baa5305a0f602d7c3de.jpg","text":"TemporaryFile(/tmp/multipartBody871993220987378640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952523175,"filename":"image_05122025_16_23_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5bb339c780c7bc2e22a06d48245f6743.jpg","text":"TemporaryFile(/tmp/multipartBody1412501536723189803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952523175,"filename":"image_05122025_16_24_35_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108449","file1":"1398108447","file0":"1398108445","file4":"1398108453","file5":"1398108456","file3":"1398108451"},"map_files_photo_id_array":[{"photo_id":"1398108456","filename":"file5"},{"photo_id":"1398108449","filename":"file2"},{"photo_id":"1398108453","filename":"file4"},{"photo_id":"1398108447","filename":"file1"},{"photo_id":"1398108445","filename":"file0"},{"photo_id":"1398108451","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108449":["hashtag1","hashtag2"]},{"1398108451":["hashtag1","hashtag2"]},{"1398108445":["hashtag1","hashtag2"]},{"1398108453":["hashtag1","hashtag2"]},{"1398108447":["hashtag1","hashtag2"]},{"1398108456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108449, 1398108451, 1398108445, 1398108453, 1398108447, 1398108456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83203077316284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:35:03.385660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/24/image_05122025_16_24_45_9676.jpg', '/home/pi/Desktop/images/05122025/16/24/image_05122025_16_24_55_10683.jpg', '/home/pi/Desktop/images/05122025/16/26/image_05122025_16_26_14_10037.jpg', '/home/pi/Desktop/images/05122025/16/26/image_05122025_16_26_25_10732.jpg', '/home/pi/Desktop/images/05122025/16/26/image_05122025_16_26_35_9777.jpg', '/home/pi/Desktop/images/05122025/16/26/image_05122025_16_26_45_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/24/image_05122025_16_24_45_9676.jpg
/home/pi/Desktop/images/05122025/16/24/image_05122025_16_24_55_10683.jpg
/home/pi/Desktop/images/05122025/16/26/image_05122025_16_26_14_10037.jpg
/home/pi/Desktop/images/05122025/16/26/image_05122025_16_26_25_10732.jpg
/home/pi/Desktop/images/05122025/16/26/image_05122025_16_26_35_9777.jpg
/home/pi/Desktop/images/05122025/16/26/image_05122025_16_26_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":["1398108470","1398108464","1398108467","1398108463","1398108466","1398108465"],"photo_ids_order":["1398108463","1398108464","1398108465","1398108466","1398108467","1398108470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c222d87731d46cd2937957af57027f3.jpg","text":"TemporaryFile(/tmp/multipartBody6444351338295414480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952564297,"filename":"image_05122025_16_26_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/5/aadacfdc4267fa28f61ba252cfa5cfdf.jpg","text":"TemporaryFile(/tmp/multipartBody1923009230365712657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952564297,"filename":"image_05122025_16_24_55_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/98e2e59e8f2808fa40f0941aff5bc84b.jpg","text":"TemporaryFile(/tmp/multipartBody7452352683735299142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952564297,"filename":"image_05122025_16_26_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/5/e54b24279ecb21295a212502e6243875.jpg","text":"TemporaryFile(/tmp/multipartBody5106894862929946152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952564297,"filename":"image_05122025_16_24_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/5/84fe549b5186b374640cdee423894f49.jpg","text":"TemporaryFile(/tmp/multipartBody9047655746500143868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952564297,"filename":"image_05122025_16_26_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/5/f5a3042a2188dcddffc5eda26f7a66f3.jpg","text":"TemporaryFile(/tmp/multipartBody5230428178199902514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952564297,"filename":"image_05122025_16_26_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108465","file1":"1398108464","file0":"1398108463","file4":"1398108467","file5":"1398108470","file3":"1398108466"},"map_files_photo_id_array":[{"photo_id":"1398108470","filename":"file5"},{"photo_id":"1398108465","filename":"file2"},{"photo_id":"1398108467","filename":"file4"},{"photo_id":"1398108464","filename":"file1"},{"photo_id":"1398108463","filename":"file0"},{"photo_id":"1398108466","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108470":["hashtag1","hashtag2"]},{"1398108464":["hashtag1","hashtag2"]},{"1398108467":["hashtag1","hashtag2"]},{"1398108463":["hashtag1","hashtag2"]},{"1398108466":["hashtag1","hashtag2"]},{"1398108465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108470, 1398108464, 1398108467, 1398108463, 1398108466, 1398108465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.933847427368164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:35:42.745792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_13_3718.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_16_2820.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_19_2753.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_22_2714.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_25_3656.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_28_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_13_3718.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_16_2820.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_19_2753.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_22_2714.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_25_3656.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_28_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398108479","1398108481","1398108475","1398108478","1398108477","1398108480"],"photo_ids_order":["1398108475","1398108477","1398108478","1398108479","1398108480","1398108481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c062960565ebf2c763aba95a43904e9b.jpg","text":"TemporaryFile(/tmp/multipartBody2950488992394884854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952604329,"filename":"image_31102025_20_09_22_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/5/5bed063ff5ff121bba1eb41eece452d3.jpg","text":"TemporaryFile(/tmp/multipartBody3202654970915253687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952604329,"filename":"image_31102025_20_09_28_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/5/d486223e68422ac824429910e5906c9a.jpg","text":"TemporaryFile(/tmp/multipartBody8647563976955410769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952604329,"filename":"image_31102025_20_09_13_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/5/c4dba1d4eea0a634d71eb8f0afb9a614.jpg","text":"TemporaryFile(/tmp/multipartBody8083519637186587385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952604329,"filename":"image_31102025_20_09_19_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/5/714ca328677af01187681e9f78d6f991.jpg","text":"TemporaryFile(/tmp/multipartBody7673435415416310120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952604329,"filename":"image_31102025_20_09_16_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/5/3213afa963f018e4705223a71276c4a4.jpg","text":"TemporaryFile(/tmp/multipartBody7387028433151565372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952604329,"filename":"image_31102025_20_09_25_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108478","file1":"1398108477","file0":"1398108475","file4":"1398108480","file5":"1398108481","file3":"1398108479"},"map_files_photo_id_array":[{"photo_id":"1398108481","filename":"file5"},{"photo_id":"1398108478","filename":"file2"},{"photo_id":"1398108480","filename":"file4"},{"photo_id":"1398108477","filename":"file1"},{"photo_id":"1398108475","filename":"file0"},{"photo_id":"1398108479","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108479":["hashtag1","hashtag2"]},{"1398108481":["hashtag1","hashtag2"]},{"1398108475":["hashtag1","hashtag2"]},{"1398108478":["hashtag1","hashtag2"]},{"1398108477":["hashtag1","hashtag2"]},{"1398108480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108479, 1398108481, 1398108475, 1398108478, 1398108477, 1398108480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.26419639587402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 17:36:31.981420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/22/57/image_02122025_22_58_04_9655.jpg', '/home/pi/Desktop/images/02122025/22/58/image_02122025_22_58_44_9784.jpg', '/home/pi/Desktop/images/02122025/22/59/image_02122025_22_59_24_9669.jpg', '/home/pi/Desktop/images/02122025/22/59/image_02122025_22_59_54_9919.jpg', '/home/pi/Desktop/images/02122025/22/59/image_02122025_23_00_04_9721.jpg', '/home/pi/Desktop/images/02122025/23/00/image_02122025_23_00_34_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/22/57/image_02122025_22_58_04_9655.jpg
/home/pi/Desktop/images/02122025/22/58/image_02122025_22_58_44_9784.jpg
/home/pi/Desktop/images/02122025/22/59/image_02122025_22_59_24_9669.jpg
/home/pi/Desktop/images/02122025/22/59/image_02122025_22_59_54_9919.jpg
/home/pi/Desktop/images/02122025/22/59/image_02122025_23_00_04_9721.jpg
/home/pi/Desktop/images/02122025/23/00/image_02122025_23_00_34_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108497","1398108487","1398108496","1398108495","1398108492","1398108489"],"photo_ids_order":["1398108487","1398108489","1398108492","1398108495","1398108496","1398108497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a79a2c07015c10d5b593a57d274aa86d.jpg","text":"TemporaryFile(/tmp/multipartBody2742520009934598410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952654108,"filename":"image_02122025_23_00_34_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/5/729e3abeb7034018124a56114bb7c668.jpg","text":"TemporaryFile(/tmp/multipartBody1111097483286318021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952654108,"filename":"image_02122025_22_58_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/248076543695bc42d180e2d72dca1879.jpg","text":"TemporaryFile(/tmp/multipartBody4085931523435581895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952654108,"filename":"image_02122025_23_00_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/5/4c913ead71801618cb5f75b7a7ac0fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5487454690003090231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952654108,"filename":"image_02122025_22_59_54_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/5/ece0ed2d007d58c39359dc9b148756a8.jpg","text":"TemporaryFile(/tmp/multipartBody4153228065867245901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952654108,"filename":"image_02122025_22_59_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/5/81918f15d4718ae863e985767cfa5829.jpg","text":"TemporaryFile(/tmp/multipartBody8798825825660588930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952654108,"filename":"image_02122025_22_58_44_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108492","file1":"1398108489","file0":"1398108487","file4":"1398108496","file5":"1398108497","file3":"1398108495"},"map_files_photo_id_array":[{"photo_id":"1398108497","filename":"file5"},{"photo_id":"1398108492","filename":"file2"},{"photo_id":"1398108496","filename":"file4"},{"photo_id":"1398108489","filename":"file1"},{"photo_id":"1398108487","filename":"file0"},{"photo_id":"1398108495","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398108497":["hashtag1","hashtag2"]},{"1398108487":["hashtag1","hashtag2"]},{"1398108496":["hashtag1","hashtag2"]},{"1398108495":["hashtag1","hashtag2"]},{"1398108492":["hashtag1","hashtag2"]},{"1398108489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398108497, 1398108487, 1398108496, 1398108495, 1398108492, 1398108489)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.25334405899048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:37:23.861120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/26/image_05122025_16_26_55_10772.jpg', '/home/pi/Desktop/images/05122025/16/26/image_05122025_16_27_05_9535.jpg', '/home/pi/Desktop/images/05122025/16/27/image_05122025_16_27_14_9632.jpg', '/home/pi/Desktop/images/05122025/16/27/image_05122025_16_27_25_10655.jpg', '/home/pi/Desktop/images/05122025/16/27/image_05122025_16_27_35_9531.jpg', '/home/pi/Desktop/images/05122025/16/27/image_05122025_16_27_45_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/26/image_05122025_16_26_55_10772.jpg
/home/pi/Desktop/images/05122025/16/26/image_05122025_16_27_05_9535.jpg
/home/pi/Desktop/images/05122025/16/27/image_05122025_16_27_14_9632.jpg
/home/pi/Desktop/images/05122025/16/27/image_05122025_16_27_25_10655.jpg
/home/pi/Desktop/images/05122025/16/27/image_05122025_16_27_35_9531.jpg
/home/pi/Desktop/images/05122025/16/27/image_05122025_16_27_45_10539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108510","1398108507","1398108499","1398108503","1398108505","1398108501"],"photo_ids_order":["1398108499","1398108501","1398108503","1398108505","1398108507","1398108510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/263e4ba486e6c37583bdb861346bf934.jpg","text":"TemporaryFile(/tmp/multipartBody3260081579776487875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952704435,"filename":"image_05122025_16_27_45_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/16798077c36fa4d69f6a0a31e608015e.jpg","text":"TemporaryFile(/tmp/multipartBody2137308744718900494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952704435,"filename":"image_05122025_16_27_35_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/5/d81d84df6f13a8131bc18f584d10d348.jpg","text":"TemporaryFile(/tmp/multipartBody4769527102200684567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952704435,"filename":"image_05122025_16_26_55_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/5/31fab70a2ab6420162891cd044de6cd3.jpg","text":"TemporaryFile(/tmp/multipartBody4673130661362158921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952704435,"filename":"image_05122025_16_27_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/5/7760a1ccd67562ce541dc79a56c9c641.jpg","text":"TemporaryFile(/tmp/multipartBody5499484725418786463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952704435,"filename":"image_05122025_16_27_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/5/bae7ba6f6501ee55a915b50650149096.jpg","text":"TemporaryFile(/tmp/multipartBody2124731714612690444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952704435,"filename":"image_05122025_16_27_05_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108503","file1":"1398108501","file0":"1398108499","file4":"1398108507","file5":"1398108510","file3":"1398108505"},"map_files_photo_id_array":[{"photo_id":"1398108510","filename":"file5"},{"photo_id":"1398108503","filename":"file2"},{"photo_id":"1398108507","filename":"file4"},{"photo_id":"1398108501","filename":"file1"},{"photo_id":"1398108499","filename":"file0"},{"photo_id":"1398108505","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108510":["hashtag1","hashtag2"]},{"1398108507":["hashtag1","hashtag2"]},{"1398108499":["hashtag1","hashtag2"]},{"1398108503":["hashtag1","hashtag2"]},{"1398108505":["hashtag1","hashtag2"]},{"1398108501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108510, 1398108507, 1398108499, 1398108503, 1398108505, 1398108501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38223886489868 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-05 17:38:13.812717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/00/image_02122025_23_00_44_9737.jpg', '/home/pi/Desktop/images/02122025/23/02/image_02122025_23_02_45_10871.jpg', '/home/pi/Desktop/images/02122025/23/03/image_02122025_23_03_14_9987.jpg', '/home/pi/Desktop/images/02122025/23/05/image_02122025_23_05_24_9746.jpg', '/home/pi/Desktop/images/02122025/23/07/image_02122025_23_07_24_9715.jpg', '/home/pi/Desktop/images/02122025/23/07/image_02122025_23_07_35_10857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/00/image_02122025_23_00_44_9737.jpg
/home/pi/Desktop/images/02122025/23/02/image_02122025_23_02_45_10871.jpg
/home/pi/Desktop/images/02122025/23/03/image_02122025_23_03_14_9987.jpg
/home/pi/Desktop/images/02122025/23/05/image_02122025_23_05_24_9746.jpg
/home/pi/Desktop/images/02122025/23/07/image_02122025_23_07_24_9715.jpg
/home/pi/Desktop/images/02122025/23/07/image_02122025_23_07_35_10857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108519","1398108513","1398108512","1398108515","1398108517","1398108511"],"photo_ids_order":["1398108511","1398108512","1398108513","1398108515","1398108517","1398108519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b34827416204701be359868a913246b.jpg","text":"TemporaryFile(/tmp/multipartBody8107546121034610907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952755590,"filename":"image_02122025_23_07_35_10857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9a08771b6c043feda953210366915027.jpg","text":"TemporaryFile(/tmp/multipartBody3074746127713612873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952755590,"filename":"image_02122025_23_03_14_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/5/33e17b45951e4f223db2bfee79cbc9e5.jpg","text":"TemporaryFile(/tmp/multipartBody355475580138906391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952755590,"filename":"image_02122025_23_02_45_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/5/5a5f334aec0c7f48e3abae09215c3207.jpg","text":"TemporaryFile(/tmp/multipartBody4822433501867748917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952755590,"filename":"image_02122025_23_05_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/5/c4d27a9ca35f6ce9fdd682ad4b589fa6.jpg","text":"TemporaryFile(/tmp/multipartBody8266495823892405330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952755590,"filename":"image_02122025_23_07_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/5/53de07b37c1e6a62e32b2b3d9910c345.jpg","text":"TemporaryFile(/tmp/multipartBody3513887934831578330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952755590,"filename":"image_02122025_23_00_44_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108513","file1":"1398108512","file0":"1398108511","file4":"1398108517","file5":"1398108519","file3":"1398108515"},"map_files_photo_id_array":[{"photo_id":"1398108519","filename":"file5"},{"photo_id":"1398108513","filename":"file2"},{"photo_id":"1398108517","filename":"file4"},{"photo_id":"1398108512","filename":"file1"},{"photo_id":"1398108511","filename":"file0"},{"photo_id":"1398108515","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398108519":["hashtag1","hashtag2"]},{"1398108513":["hashtag1","hashtag2"]},{"1398108512":["hashtag1","hashtag2"]},{"1398108515":["hashtag1","hashtag2"]},{"1398108517":["hashtag1","hashtag2"]},{"1398108511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398108519, 1398108513, 1398108512, 1398108515, 1398108517, 1398108511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49739360809326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:39:03.104095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/27/image_05122025_16_27_55_9638.jpg', '/home/pi/Desktop/images/05122025/16/28/image_05122025_16_28_15_10646.jpg', '/home/pi/Desktop/images/05122025/16/28/image_05122025_16_28_25_9681.jpg', '/home/pi/Desktop/images/05122025/16/28/image_05122025_16_28_34_9598.jpg', '/home/pi/Desktop/images/05122025/16/28/image_05122025_16_28_45_10567.jpg', '/home/pi/Desktop/images/05122025/16/28/image_05122025_16_28_55_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/27/image_05122025_16_27_55_9638.jpg
/home/pi/Desktop/images/05122025/16/28/image_05122025_16_28_15_10646.jpg
/home/pi/Desktop/images/05122025/16/28/image_05122025_16_28_25_9681.jpg
/home/pi/Desktop/images/05122025/16/28/image_05122025_16_28_34_9598.jpg
/home/pi/Desktop/images/05122025/16/28/image_05122025_16_28_45_10567.jpg
/home/pi/Desktop/images/05122025/16/28/image_05122025_16_28_55_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108545","1398108548","1398108541","1398108544","1398108546","1398108543"],"photo_ids_order":["1398108541","1398108543","1398108544","1398108545","1398108546","1398108548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/35443064d478bf7929fcde37b9971aa2.jpg","text":"TemporaryFile(/tmp/multipartBody7588303872173377239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952803789,"filename":"image_05122025_16_28_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a70b6b1c473dd28a15f8a369fe4c8b36.jpg","text":"TemporaryFile(/tmp/multipartBody6590079747221500047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952803789,"filename":"image_05122025_16_28_55_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/5/4f53795a03922256781a5636f96f237b.jpg","text":"TemporaryFile(/tmp/multipartBody3510819076537501297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952803789,"filename":"image_05122025_16_27_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/5/1af5e31a7988d2ed20bed43f29534afa.jpg","text":"TemporaryFile(/tmp/multipartBody9025155638273513604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952803789,"filename":"image_05122025_16_28_25_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fb8a68b4d9bd9d25a1d3d4db19717177.jpg","text":"TemporaryFile(/tmp/multipartBody1361739341243073180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952803789,"filename":"image_05122025_16_28_45_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/5/06ac6c70f7261e173b482de36380f55c.jpg","text":"TemporaryFile(/tmp/multipartBody5022394730704129018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952803789,"filename":"image_05122025_16_28_15_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108544","file1":"1398108543","file0":"1398108541","file4":"1398108546","file5":"1398108548","file3":"1398108545"},"map_files_photo_id_array":[{"photo_id":"1398108548","filename":"file5"},{"photo_id":"1398108544","filename":"file2"},{"photo_id":"1398108546","filename":"file4"},{"photo_id":"1398108543","filename":"file1"},{"photo_id":"1398108541","filename":"file0"},{"photo_id":"1398108545","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108545":["hashtag1","hashtag2"]},{"1398108548":["hashtag1","hashtag2"]},{"1398108541":["hashtag1","hashtag2"]},{"1398108544":["hashtag1","hashtag2"]},{"1398108546":["hashtag1","hashtag2"]},{"1398108543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108545, 1398108548, 1398108541, 1398108544, 1398108546, 1398108543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91986155509949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:39:42.286420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_32_3611.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_34_2664.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_37_2715.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_40_2625.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_43_3583.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_46_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_32_3611.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_34_2664.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_37_2715.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_40_2625.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_43_3583.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_46_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":["1398108557","1398108554","1398108553","1398108556","1398108559","1398108555"],"photo_ids_order":["1398108553","1398108554","1398108555","1398108556","1398108557","1398108559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9667771a3ba773154d09b1099e224fe5.jpg","text":"TemporaryFile(/tmp/multipartBody2119185332450903709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952843924,"filename":"image_31102025_20_09_43_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/5/90f4d04c39a53239865f4fcaa5b7c87b.jpg","text":"TemporaryFile(/tmp/multipartBody7339541178428656560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952843924,"filename":"image_31102025_20_09_34_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/5/9f487b13c7e31073e1794c666d9298c6.jpg","text":"TemporaryFile(/tmp/multipartBody6815975069122247671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952843924,"filename":"image_31102025_20_09_32_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/5/7cea8b738545e8385289d1d1242e32fa.jpg","text":"TemporaryFile(/tmp/multipartBody7166065219855485405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952843924,"filename":"image_31102025_20_09_40_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6c35a5e087b0f1f84a01fc9a2ab71d13.jpg","text":"TemporaryFile(/tmp/multipartBody5291171124765268882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952843924,"filename":"image_31102025_20_09_46_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/5/7eb518da438abbe1cc7fb5c0bf435c4f.jpg","text":"TemporaryFile(/tmp/multipartBody5430922266023827018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952843924,"filename":"image_31102025_20_09_37_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108555","file1":"1398108554","file0":"1398108553","file4":"1398108557","file5":"1398108559","file3":"1398108556"},"map_files_photo_id_array":[{"photo_id":"1398108559","filename":"file5"},{"photo_id":"1398108555","filename":"file2"},{"photo_id":"1398108557","filename":"file4"},{"photo_id":"1398108554","filename":"file1"},{"photo_id":"1398108553","filename":"file0"},{"photo_id":"1398108556","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108557":["hashtag1","hashtag2"]},{"1398108554":["hashtag1","hashtag2"]},{"1398108553":["hashtag1","hashtag2"]},{"1398108556":["hashtag1","hashtag2"]},{"1398108559":["hashtag1","hashtag2"]},{"1398108555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108557, 1398108554, 1398108553, 1398108556, 1398108559, 1398108555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.218639612197876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:40:22.452978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/28/image_05122025_16_29_05_10569.jpg', '/home/pi/Desktop/images/05122025/16/29/image_05122025_16_29_45_9760.jpg', '/home/pi/Desktop/images/05122025/16/29/image_05122025_16_29_55_10687.jpg', '/home/pi/Desktop/images/05122025/16/30/image_05122025_16_30_25_10551.jpg', '/home/pi/Desktop/images/05122025/16/30/image_05122025_16_30_35_9754.jpg', '/home/pi/Desktop/images/05122025/16/30/image_05122025_16_30_45_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/28/image_05122025_16_29_05_10569.jpg
/home/pi/Desktop/images/05122025/16/29/image_05122025_16_29_45_9760.jpg
/home/pi/Desktop/images/05122025/16/29/image_05122025_16_29_55_10687.jpg
/home/pi/Desktop/images/05122025/16/30/image_05122025_16_30_25_10551.jpg
/home/pi/Desktop/images/05122025/16/30/image_05122025_16_30_35_9754.jpg
/home/pi/Desktop/images/05122025/16/30/image_05122025_16_30_45_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":["1398108569","1398108560","1398108572","1398108562","1398108565","1398108567"],"photo_ids_order":["1398108560","1398108562","1398108565","1398108567","1398108569","1398108572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3dda2a597ce9ef82c2851658aeb8110e.jpg","text":"TemporaryFile(/tmp/multipartBody3845127618408822900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952883064,"filename":"image_05122025_16_30_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/5/82003535fa259edb7f6399e602da23cf.jpg","text":"TemporaryFile(/tmp/multipartBody1991778275012450754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952883064,"filename":"image_05122025_16_29_05_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/783a76656fad96cf210e466ee2fb082a.jpg","text":"TemporaryFile(/tmp/multipartBody2783350661800503051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952883064,"filename":"image_05122025_16_30_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1ac83be9a38e6647e5412a7f9ea5178d.jpg","text":"TemporaryFile(/tmp/multipartBody8592976732025396043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952883064,"filename":"image_05122025_16_29_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/5/51ee8dbbbd59bd3b621ff743385c48c5.jpg","text":"TemporaryFile(/tmp/multipartBody4656320066659394627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952883064,"filename":"image_05122025_16_29_55_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ab1d86913b98a7c72d2128a6d0f13db.jpg","text":"TemporaryFile(/tmp/multipartBody7391841254631941682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952883064,"filename":"image_05122025_16_30_25_10551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108565","file1":"1398108562","file0":"1398108560","file4":"1398108569","file5":"1398108572","file3":"1398108567"},"map_files_photo_id_array":[{"photo_id":"1398108572","filename":"file5"},{"photo_id":"1398108565","filename":"file2"},{"photo_id":"1398108569","filename":"file4"},{"photo_id":"1398108562","filename":"file1"},{"photo_id":"1398108560","filename":"file0"},{"photo_id":"1398108567","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108569":["hashtag1","hashtag2"]},{"1398108560":["hashtag1","hashtag2"]},{"1398108572":["hashtag1","hashtag2"]},{"1398108562":["hashtag1","hashtag2"]},{"1398108565":["hashtag1","hashtag2"]},{"1398108567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108569, 1398108560, 1398108572, 1398108562, 1398108565, 1398108567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74735450744629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:41:03.407108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/30/image_05122025_16_30_55_10677.jpg', '/home/pi/Desktop/images/05122025/16/30/image_05122025_16_31_05_9645.jpg', '/home/pi/Desktop/images/05122025/16/31/image_05122025_16_31_16_10610.jpg', '/home/pi/Desktop/images/05122025/16/31/image_05122025_16_31_25_9606.jpg', '/home/pi/Desktop/images/05122025/16/31/image_05122025_16_31_35_9562.jpg', '/home/pi/Desktop/images/05122025/16/31/image_05122025_16_31_45_10808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/30/image_05122025_16_30_55_10677.jpg
/home/pi/Desktop/images/05122025/16/30/image_05122025_16_31_05_9645.jpg
/home/pi/Desktop/images/05122025/16/31/image_05122025_16_31_16_10610.jpg
/home/pi/Desktop/images/05122025/16/31/image_05122025_16_31_25_9606.jpg
/home/pi/Desktop/images/05122025/16/31/image_05122025_16_31_35_9562.jpg
/home/pi/Desktop/images/05122025/16/31/image_05122025_16_31_45_10808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108578","1398108580","1398108577","1398108582","1398108576","1398108579"],"photo_ids_order":["1398108576","1398108577","1398108578","1398108579","1398108580","1398108582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8f643f1e90b9129b4ffabb9f31464a94.jpg","text":"TemporaryFile(/tmp/multipartBody1403662525766861988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952924086,"filename":"image_05122025_16_31_16_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/5/200b4b37acfbd9a04b10fc01043ba36f.jpg","text":"TemporaryFile(/tmp/multipartBody8998429367280405613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952924086,"filename":"image_05122025_16_31_35_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/5/53d810583865398f20f532640b6d2a38.jpg","text":"TemporaryFile(/tmp/multipartBody7004016730735801185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952924086,"filename":"image_05122025_16_31_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/5/44960f3686ea4f4d1182fb466c07c4ad.jpg","text":"TemporaryFile(/tmp/multipartBody2934968940146638868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952924086,"filename":"image_05122025_16_31_45_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/5/018e7c6c12269faa016b5df63b9a18d2.jpg","text":"TemporaryFile(/tmp/multipartBody1374839141820796074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952924086,"filename":"image_05122025_16_30_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c4cf103e341c1b73ecd354b2cf67000c.jpg","text":"TemporaryFile(/tmp/multipartBody1950042819784840383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952924086,"filename":"image_05122025_16_31_25_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108578","file1":"1398108577","file0":"1398108576","file4":"1398108580","file5":"1398108582","file3":"1398108579"},"map_files_photo_id_array":[{"photo_id":"1398108582","filename":"file5"},{"photo_id":"1398108578","filename":"file2"},{"photo_id":"1398108580","filename":"file4"},{"photo_id":"1398108577","filename":"file1"},{"photo_id":"1398108576","filename":"file0"},{"photo_id":"1398108579","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108578":["hashtag1","hashtag2"]},{"1398108580":["hashtag1","hashtag2"]},{"1398108577":["hashtag1","hashtag2"]},{"1398108582":["hashtag1","hashtag2"]},{"1398108576":["hashtag1","hashtag2"]},{"1398108579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108578, 1398108580, 1398108577, 1398108582, 1398108576, 1398108579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15603995323181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:41:42.697976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_49_3660.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_55_2943.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_58_2733.jpg', '/home/pi/Desktop/images/31102025/20/09/image_31102025_20_10_01_3660.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_04_2637.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_07_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_49_3660.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_55_2943.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_09_58_2733.jpg
/home/pi/Desktop/images/31102025/20/09/image_31102025_20_10_01_3660.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_04_2637.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_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":["1398108593","1398108590","1398108592","1398108594","1398108591","1398108588"],"photo_ids_order":["1398108588","1398108590","1398108591","1398108592","1398108593","1398108594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fd83e98f71ab5c2bcbd326d4ef32466f.jpg","text":"TemporaryFile(/tmp/multipartBody3868534961934126711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952964281,"filename":"image_31102025_20_10_04_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/5/7f2bc41ac895906bf80f6c99c5d19075.jpg","text":"TemporaryFile(/tmp/multipartBody8253717014819881847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952964281,"filename":"image_31102025_20_09_55_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c2a832f138aa1f7d71fb13a4a77ed41.jpg","text":"TemporaryFile(/tmp/multipartBody6507316960765760640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952964281,"filename":"image_31102025_20_10_01_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1f0ba53d5da91fc6f69467f2df4db6a9.jpg","text":"TemporaryFile(/tmp/multipartBody7645201469032364306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952964281,"filename":"image_31102025_20_10_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/5/1bda88581e3ad0f6b6b73e2469037815.jpg","text":"TemporaryFile(/tmp/multipartBody6794661915056679650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952964281,"filename":"image_31102025_20_09_58_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/5/6cf250a2940dd51f90b94dba1cdf1ce9.jpg","text":"TemporaryFile(/tmp/multipartBody8545863193859370624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764952964281,"filename":"image_31102025_20_09_49_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108591","file1":"1398108590","file0":"1398108588","file4":"1398108593","file5":"1398108594","file3":"1398108592"},"map_files_photo_id_array":[{"photo_id":"1398108594","filename":"file5"},{"photo_id":"1398108591","filename":"file2"},{"photo_id":"1398108593","filename":"file4"},{"photo_id":"1398108590","filename":"file1"},{"photo_id":"1398108588","filename":"file0"},{"photo_id":"1398108592","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108593":["hashtag1","hashtag2"]},{"1398108590":["hashtag1","hashtag2"]},{"1398108592":["hashtag1","hashtag2"]},{"1398108594":["hashtag1","hashtag2"]},{"1398108591":["hashtag1","hashtag2"]},{"1398108588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108593, 1398108590, 1398108592, 1398108594, 1398108591, 1398108588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42929720878601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:42:21.845883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/31/image_05122025_16_31_55_9588.jpg', '/home/pi/Desktop/images/05122025/16/31/image_05122025_16_32_05_9585.jpg', '/home/pi/Desktop/images/05122025/16/32/image_05122025_16_32_15_10631.jpg', '/home/pi/Desktop/images/05122025/16/32/image_05122025_16_32_25_9704.jpg', '/home/pi/Desktop/images/05122025/16/32/image_05122025_16_32_35_9692.jpg', '/home/pi/Desktop/images/05122025/16/32/image_05122025_16_32_45_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/31/image_05122025_16_31_55_9588.jpg
/home/pi/Desktop/images/05122025/16/31/image_05122025_16_32_05_9585.jpg
/home/pi/Desktop/images/05122025/16/32/image_05122025_16_32_15_10631.jpg
/home/pi/Desktop/images/05122025/16/32/image_05122025_16_32_25_9704.jpg
/home/pi/Desktop/images/05122025/16/32/image_05122025_16_32_35_9692.jpg
/home/pi/Desktop/images/05122025/16/32/image_05122025_16_32_45_10579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108603","1398108605","1398108608","1398108595","1398108597","1398108600"],"photo_ids_order":["1398108595","1398108597","1398108600","1398108603","1398108605","1398108608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45836c2919cb00ea7982a22eea84e52b.jpg","text":"TemporaryFile(/tmp/multipartBody8167852531150064271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953002457,"filename":"image_05122025_16_32_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/5/1d4f17975928173e08d14ffbf10911a8.jpg","text":"TemporaryFile(/tmp/multipartBody2252899219108819678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953002457,"filename":"image_05122025_16_32_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c5671fc919f73ae019901a10c3cf7b3e.jpg","text":"TemporaryFile(/tmp/multipartBody1399241631113840749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953002457,"filename":"image_05122025_16_32_45_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/5/833f6fe18cd6118c03e1bc6320b0d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody2917981155322848102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953002457,"filename":"image_05122025_16_31_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/5/27e84642fec9d81661b1ac2368c4a1a7.jpg","text":"TemporaryFile(/tmp/multipartBody5669444189555827213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953002457,"filename":"image_05122025_16_32_05_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/5/50a85cf819ddccbb230b39ae562de500.jpg","text":"TemporaryFile(/tmp/multipartBody6968333495619606379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953002457,"filename":"image_05122025_16_32_15_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108600","file1":"1398108597","file0":"1398108595","file4":"1398108605","file5":"1398108608","file3":"1398108603"},"map_files_photo_id_array":[{"photo_id":"1398108608","filename":"file5"},{"photo_id":"1398108600","filename":"file2"},{"photo_id":"1398108605","filename":"file4"},{"photo_id":"1398108597","filename":"file1"},{"photo_id":"1398108595","filename":"file0"},{"photo_id":"1398108603","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108603":["hashtag1","hashtag2"]},{"1398108605":["hashtag1","hashtag2"]},{"1398108608":["hashtag1","hashtag2"]},{"1398108595":["hashtag1","hashtag2"]},{"1398108597":["hashtag1","hashtag2"]},{"1398108600":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108603, 1398108605, 1398108608, 1398108595, 1398108597, 1398108600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17001914978027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:43:02.739409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/33/image_05122025_16_33_35_9679.jpg', '/home/pi/Desktop/images/05122025/16/33/image_05122025_16_33_45_10538.jpg', '/home/pi/Desktop/images/05122025/16/33/image_05122025_16_33_55_9758.jpg', '/home/pi/Desktop/images/05122025/16/33/image_05122025_16_34_05_9678.jpg', '/home/pi/Desktop/images/05122025/16/34/image_05122025_16_34_25_9632.jpg', '/home/pi/Desktop/images/05122025/16/34/image_05122025_16_34_35_9550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/33/image_05122025_16_33_35_9679.jpg
/home/pi/Desktop/images/05122025/16/33/image_05122025_16_33_45_10538.jpg
/home/pi/Desktop/images/05122025/16/33/image_05122025_16_33_55_9758.jpg
/home/pi/Desktop/images/05122025/16/33/image_05122025_16_34_05_9678.jpg
/home/pi/Desktop/images/05122025/16/34/image_05122025_16_34_25_9632.jpg
/home/pi/Desktop/images/05122025/16/34/image_05122025_16_34_35_9550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108618","1398108617","1398108616","1398108619","1398108621","1398108615"],"photo_ids_order":["1398108615","1398108616","1398108617","1398108618","1398108619","1398108621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2151a604662e45d3acdb2c6944f5fcea.jpg","text":"TemporaryFile(/tmp/multipartBody849072955484906045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953043428,"filename":"image_05122025_16_34_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/5/6b7b1082da1f4eae89687d6ffd761b6a.jpg","text":"TemporaryFile(/tmp/multipartBody6944479711419086753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953043428,"filename":"image_05122025_16_33_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/5/d5b9004637e769554c4d4981c6b0585f.jpg","text":"TemporaryFile(/tmp/multipartBody8566641781906602024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953043428,"filename":"image_05122025_16_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/5/85f5ab65cb889f9f660dfb8a00aefc47.jpg","text":"TemporaryFile(/tmp/multipartBody4322990721768890021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953043428,"filename":"image_05122025_16_34_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/5/087d0e4b74367558ea047fc7789f26b1.jpg","text":"TemporaryFile(/tmp/multipartBody1546523769278790451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953043428,"filename":"image_05122025_16_34_35_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/5/cbc4d8c993691d220128f9d5aa51e0e2.jpg","text":"TemporaryFile(/tmp/multipartBody5260328897223161568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953043428,"filename":"image_05122025_16_33_35_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108617","file1":"1398108616","file0":"1398108615","file4":"1398108619","file5":"1398108621","file3":"1398108618"},"map_files_photo_id_array":[{"photo_id":"1398108621","filename":"file5"},{"photo_id":"1398108617","filename":"file2"},{"photo_id":"1398108619","filename":"file4"},{"photo_id":"1398108616","filename":"file1"},{"photo_id":"1398108615","filename":"file0"},{"photo_id":"1398108618","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108618":["hashtag1","hashtag2"]},{"1398108617":["hashtag1","hashtag2"]},{"1398108616":["hashtag1","hashtag2"]},{"1398108619":["hashtag1","hashtag2"]},{"1398108621":["hashtag1","hashtag2"]},{"1398108615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108618, 1398108617, 1398108616, 1398108619, 1398108621, 1398108615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44646239280701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:43:42.229864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_10_3695.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_22_2595.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_25_3751.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_28_2653.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_31_2624.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_34_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_10_3695.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_22_2595.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_25_3751.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_28_2653.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_31_2624.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_34_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":["1398108632","1398108629","1398108631","1398108630","1398108633","1398108627"],"photo_ids_order":["1398108627","1398108629","1398108630","1398108631","1398108632","1398108633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/844044a9f3dc7dc9982b21fbf800dff5.jpg","text":"TemporaryFile(/tmp/multipartBody5984554801161828698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953083791,"filename":"image_31102025_20_10_31_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/5/cbacf6606c184c549ee5b07cbd729190.jpg","text":"TemporaryFile(/tmp/multipartBody8927416945190344077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953083791,"filename":"image_31102025_20_10_22_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/5/62bbf0391169df411e9d39e29b8e0439.jpg","text":"TemporaryFile(/tmp/multipartBody7154175815558315856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953083791,"filename":"image_31102025_20_10_28_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/5/65f39c6b13142fdd9f53a97058e2f520.jpg","text":"TemporaryFile(/tmp/multipartBody4011775251984908544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953083791,"filename":"image_31102025_20_10_25_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/5/5c158f1fffc0ade66b816da77be4a452.jpg","text":"TemporaryFile(/tmp/multipartBody8043928522948579804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953083791,"filename":"image_31102025_20_10_34_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/5/83a889660f46674b1380283c5c926f24.jpg","text":"TemporaryFile(/tmp/multipartBody8261893177475852152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953083791,"filename":"image_31102025_20_10_10_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108630","file1":"1398108629","file0":"1398108627","file4":"1398108632","file5":"1398108633","file3":"1398108631"},"map_files_photo_id_array":[{"photo_id":"1398108633","filename":"file5"},{"photo_id":"1398108630","filename":"file2"},{"photo_id":"1398108632","filename":"file4"},{"photo_id":"1398108629","filename":"file1"},{"photo_id":"1398108627","filename":"file0"},{"photo_id":"1398108631","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108632":["hashtag1","hashtag2"]},{"1398108629":["hashtag1","hashtag2"]},{"1398108631":["hashtag1","hashtag2"]},{"1398108630":["hashtag1","hashtag2"]},{"1398108633":["hashtag1","hashtag2"]},{"1398108627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108632, 1398108629, 1398108631, 1398108630, 1398108633, 1398108627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.685739278793335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:44:22.455270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/34/image_05122025_16_34_45_10684.jpg', '/home/pi/Desktop/images/05122025/16/34/image_05122025_16_34_55_9663.jpg', '/home/pi/Desktop/images/05122025/16/35/image_05122025_16_35_15_10058.jpg', '/home/pi/Desktop/images/05122025/16/35/image_05122025_16_35_25_10727.jpg', '/home/pi/Desktop/images/05122025/16/35/image_05122025_16_35_35_9490.jpg', '/home/pi/Desktop/images/05122025/16/35/image_05122025_16_35_45_10555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/34/image_05122025_16_34_45_10684.jpg
/home/pi/Desktop/images/05122025/16/34/image_05122025_16_34_55_9663.jpg
/home/pi/Desktop/images/05122025/16/35/image_05122025_16_35_15_10058.jpg
/home/pi/Desktop/images/05122025/16/35/image_05122025_16_35_25_10727.jpg
/home/pi/Desktop/images/05122025/16/35/image_05122025_16_35_35_9490.jpg
/home/pi/Desktop/images/05122025/16/35/image_05122025_16_35_45_10555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108644","1398108638","1398108635","1398108645","1398108648","1398108642"],"photo_ids_order":["1398108635","1398108638","1398108642","1398108644","1398108645","1398108648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/86d09a050de0201ffc48926f5e63f4a5.jpg","text":"TemporaryFile(/tmp/multipartBody8875431421479234425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953123072,"filename":"image_05122025_16_35_25_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/5/9e488e5c44d5a89d83cca2a9567f559c.jpg","text":"TemporaryFile(/tmp/multipartBody5957850905273304633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953123072,"filename":"image_05122025_16_34_55_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/5/8f134972b8d99f2907a2f54b4b7f098d.jpg","text":"TemporaryFile(/tmp/multipartBody8640055807075955043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953123072,"filename":"image_05122025_16_34_45_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8afd8cbb6040f3d64e8de5757074e980.jpg","text":"TemporaryFile(/tmp/multipartBody1083669087201111463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953123072,"filename":"image_05122025_16_35_35_9490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9d351cd1f4ea31cf2a96411482eb4618.jpg","text":"TemporaryFile(/tmp/multipartBody1580138819375294584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953123072,"filename":"image_05122025_16_35_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/5/8a4dd19c75ecaa76a734c3d88e249043.jpg","text":"TemporaryFile(/tmp/multipartBody6368090984020867294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953123072,"filename":"image_05122025_16_35_15_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108642","file1":"1398108638","file0":"1398108635","file4":"1398108645","file5":"1398108648","file3":"1398108644"},"map_files_photo_id_array":[{"photo_id":"1398108648","filename":"file5"},{"photo_id":"1398108642","filename":"file2"},{"photo_id":"1398108645","filename":"file4"},{"photo_id":"1398108638","filename":"file1"},{"photo_id":"1398108635","filename":"file0"},{"photo_id":"1398108644","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108644":["hashtag1","hashtag2"]},{"1398108638":["hashtag1","hashtag2"]},{"1398108635":["hashtag1","hashtag2"]},{"1398108645":["hashtag1","hashtag2"]},{"1398108648":["hashtag1","hashtag2"]},{"1398108642":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108644, 1398108638, 1398108635, 1398108645, 1398108648, 1398108642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25550699234009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:45:03.344454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/35/image_05122025_16_35_55_9565.jpg', '/home/pi/Desktop/images/05122025/16/35/image_05122025_16_36_05_9685.jpg', '/home/pi/Desktop/images/05122025/16/36/image_05122025_16_36_15_10665.jpg', '/home/pi/Desktop/images/05122025/16/36/image_05122025_16_36_25_9619.jpg', '/home/pi/Desktop/images/05122025/16/36/image_05122025_16_36_35_10565.jpg', '/home/pi/Desktop/images/05122025/16/36/image_05122025_16_36_45_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/35/image_05122025_16_35_55_9565.jpg
/home/pi/Desktop/images/05122025/16/35/image_05122025_16_36_05_9685.jpg
/home/pi/Desktop/images/05122025/16/36/image_05122025_16_36_15_10665.jpg
/home/pi/Desktop/images/05122025/16/36/image_05122025_16_36_25_9619.jpg
/home/pi/Desktop/images/05122025/16/36/image_05122025_16_36_35_10565.jpg
/home/pi/Desktop/images/05122025/16/36/image_05122025_16_36_45_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":["1398108665","1398108667","1398108666","1398108651","1398108669","1398108654"],"photo_ids_order":["1398108651","1398108654","1398108665","1398108666","1398108667","1398108669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6da600643d431c8d3f9a2b13f0202eb5.jpg","text":"TemporaryFile(/tmp/multipartBody376954724712710508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953164021,"filename":"image_05122025_16_36_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/5/4b06b70f87b0e2cf5c2fb80e0322d26e.jpg","text":"TemporaryFile(/tmp/multipartBody8818250394303550453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953164021,"filename":"image_05122025_16_36_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/5/9585757b0109e7c545d07a86a23a0187.jpg","text":"TemporaryFile(/tmp/multipartBody1929972146315049658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953164021,"filename":"image_05122025_16_36_25_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/5/0f6d81026254ffcf23788ed28372e9f7.jpg","text":"TemporaryFile(/tmp/multipartBody2263124298003404013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953164021,"filename":"image_05122025_16_35_55_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/5/40ce671501a972ac0f6c69ec953533ca.jpg","text":"TemporaryFile(/tmp/multipartBody9051492565729945114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953164021,"filename":"image_05122025_16_36_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d855a7a879165aaa725ec7a28db9d494.jpg","text":"TemporaryFile(/tmp/multipartBody8046037567230589101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953164021,"filename":"image_05122025_16_36_05_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108665","file1":"1398108654","file0":"1398108651","file4":"1398108667","file5":"1398108669","file3":"1398108666"},"map_files_photo_id_array":[{"photo_id":"1398108669","filename":"file5"},{"photo_id":"1398108665","filename":"file2"},{"photo_id":"1398108667","filename":"file4"},{"photo_id":"1398108654","filename":"file1"},{"photo_id":"1398108651","filename":"file0"},{"photo_id":"1398108666","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108665":["hashtag1","hashtag2"]},{"1398108667":["hashtag1","hashtag2"]},{"1398108666":["hashtag1","hashtag2"]},{"1398108651":["hashtag1","hashtag2"]},{"1398108669":["hashtag1","hashtag2"]},{"1398108654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108665, 1398108667, 1398108666, 1398108651, 1398108669, 1398108654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.294135093688965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:45:42.705373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_37_2694.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_40_2564.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_43_3732.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_46_2580.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_49_2739.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_52_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_37_2694.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_40_2564.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_43_3732.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_46_2580.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_49_2739.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_52_3711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108680","1398108677","1398108679","1398108682","1398108675","1398108678"],"photo_ids_order":["1398108675","1398108677","1398108678","1398108679","1398108680","1398108682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a589b0530374f0c38e2cb2d298afca0.jpg","text":"TemporaryFile(/tmp/multipartBody4192191821501885326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953204306,"filename":"image_31102025_20_10_49_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/5/e8a54973c2797a74089e2b0e6b5bc224.jpg","text":"TemporaryFile(/tmp/multipartBody6471156989720728354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953204306,"filename":"image_31102025_20_10_40_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4928f44a678c7a8985b606726a295afa.jpg","text":"TemporaryFile(/tmp/multipartBody3693995306097847534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953204306,"filename":"image_31102025_20_10_46_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/5/7dc1b97c88b1c0973969c5624f5a2980.jpg","text":"TemporaryFile(/tmp/multipartBody8597897587028996812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953204306,"filename":"image_31102025_20_10_52_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/5/af39f38fd96c47a5455393a9a29b1e58.jpg","text":"TemporaryFile(/tmp/multipartBody792183773773748077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953204306,"filename":"image_31102025_20_10_37_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/5/222909ee4d3a2166d67240a8b0e7d77c.jpg","text":"TemporaryFile(/tmp/multipartBody7284685994019753477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953204306,"filename":"image_31102025_20_10_43_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108678","file1":"1398108677","file0":"1398108675","file4":"1398108680","file5":"1398108682","file3":"1398108679"},"map_files_photo_id_array":[{"photo_id":"1398108682","filename":"file5"},{"photo_id":"1398108678","filename":"file2"},{"photo_id":"1398108680","filename":"file4"},{"photo_id":"1398108677","filename":"file1"},{"photo_id":"1398108675","filename":"file0"},{"photo_id":"1398108679","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108680":["hashtag1","hashtag2"]},{"1398108677":["hashtag1","hashtag2"]},{"1398108679":["hashtag1","hashtag2"]},{"1398108682":["hashtag1","hashtag2"]},{"1398108675":["hashtag1","hashtag2"]},{"1398108678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108680, 1398108677, 1398108679, 1398108682, 1398108675, 1398108678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.155296087265015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:46:21.857707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/36/image_05122025_16_36_55_9555.jpg', '/home/pi/Desktop/images/05122025/16/36/image_05122025_16_37_05_10633.jpg', '/home/pi/Desktop/images/05122025/16/37/image_05122025_16_37_15_9598.jpg', '/home/pi/Desktop/images/05122025/16/37/image_05122025_16_37_25_10625.jpg', '/home/pi/Desktop/images/05122025/16/37/image_05122025_16_37_35_9119.jpg', '/home/pi/Desktop/images/05122025/16/37/image_05122025_16_37_45_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/36/image_05122025_16_36_55_9555.jpg
/home/pi/Desktop/images/05122025/16/36/image_05122025_16_37_05_10633.jpg
/home/pi/Desktop/images/05122025/16/37/image_05122025_16_37_15_9598.jpg
/home/pi/Desktop/images/05122025/16/37/image_05122025_16_37_25_10625.jpg
/home/pi/Desktop/images/05122025/16/37/image_05122025_16_37_35_9119.jpg
/home/pi/Desktop/images/05122025/16/37/image_05122025_16_37_45_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108692","1398108683","1398108685","1398108694","1398108690","1398108687"],"photo_ids_order":["1398108683","1398108685","1398108687","1398108690","1398108692","1398108694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e5e0df75f477041c908ffcafc971d908.jpg","text":"TemporaryFile(/tmp/multipartBody1360221848266376143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953242473,"filename":"image_05122025_16_37_35_9119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ea30cfdc6bd13d0520b54c0e2acbcd88.jpg","text":"TemporaryFile(/tmp/multipartBody3036984819658650605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953242473,"filename":"image_05122025_16_36_55_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/5/435583ffa463bceefeee509547b6de1a.jpg","text":"TemporaryFile(/tmp/multipartBody6021055520542248499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953242473,"filename":"image_05122025_16_37_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e6273c546b1d73c2cb264434571480a.jpg","text":"TemporaryFile(/tmp/multipartBody7367520188299972475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953242473,"filename":"image_05122025_16_37_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ddb4633b42ac149c2f7e564b8fb44695.jpg","text":"TemporaryFile(/tmp/multipartBody8019080125652213613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953242473,"filename":"image_05122025_16_37_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/5/4d8436b79ea2eb64af4f9871128e0137.jpg","text":"TemporaryFile(/tmp/multipartBody1734821454593572378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953242473,"filename":"image_05122025_16_37_15_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108687","file1":"1398108685","file0":"1398108683","file4":"1398108692","file5":"1398108694","file3":"1398108690"},"map_files_photo_id_array":[{"photo_id":"1398108694","filename":"file5"},{"photo_id":"1398108687","filename":"file2"},{"photo_id":"1398108692","filename":"file4"},{"photo_id":"1398108685","filename":"file1"},{"photo_id":"1398108683","filename":"file0"},{"photo_id":"1398108690","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108692":["hashtag1","hashtag2"]},{"1398108683":["hashtag1","hashtag2"]},{"1398108685":["hashtag1","hashtag2"]},{"1398108694":["hashtag1","hashtag2"]},{"1398108690":["hashtag1","hashtag2"]},{"1398108687":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108692, 1398108683, 1398108685, 1398108694, 1398108690, 1398108687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.334327936172485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:47:02.713179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_02_16851.jpg', '/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_05_2661.jpg', '/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_26_10969.jpg', '/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_44_17207.jpg', '/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_45_1689.jpg', '/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_59_13210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_02_16851.jpg
/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_05_2661.jpg
/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_26_10969.jpg
/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_44_17207.jpg
/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_45_1689.jpg
/home/pi/Desktop/images/05122025/16/38/image_05122025_16_38_59_13210.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108702","1398108698","1398108697","1398108696","1398108700","1398108699"],"photo_ids_order":["1398108696","1398108697","1398108698","1398108699","1398108700","1398108702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f7ab935b7d2cb3228fac64d842eb333.jpg","text":"TemporaryFile(/tmp/multipartBody5088110263865414015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953283409,"filename":"image_05122025_16_38_59_13210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/289d52ea0023f102b1c5cd33fe199637.jpg","text":"TemporaryFile(/tmp/multipartBody4488089955048292042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953283409,"filename":"image_05122025_16_38_26_10969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db8305be07c963af9b4b59572b4b7c69.jpg","text":"TemporaryFile(/tmp/multipartBody5822397491337695034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953283409,"filename":"image_05122025_16_38_05_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/5/e24a1fec9e407bcfd6fca0f44f46cf75.jpg","text":"TemporaryFile(/tmp/multipartBody2375502993447236137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953283409,"filename":"image_05122025_16_38_02_16851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d231f1718b614321a5596fba56eeb86.jpg","text":"TemporaryFile(/tmp/multipartBody302981757412799182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953283409,"filename":"image_05122025_16_38_45_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/5/a949160f0ee863ddfd1508047917ab6d.jpg","text":"TemporaryFile(/tmp/multipartBody5205865040036095381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953283409,"filename":"image_05122025_16_38_44_17207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108698","file1":"1398108697","file0":"1398108696","file4":"1398108700","file5":"1398108702","file3":"1398108699"},"map_files_photo_id_array":[{"photo_id":"1398108702","filename":"file5"},{"photo_id":"1398108698","filename":"file2"},{"photo_id":"1398108700","filename":"file4"},{"photo_id":"1398108697","filename":"file1"},{"photo_id":"1398108696","filename":"file0"},{"photo_id":"1398108699","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108702":["hashtag1","hashtag2"]},{"1398108698":["hashtag1","hashtag2"]},{"1398108697":["hashtag1","hashtag2"]},{"1398108696":["hashtag1","hashtag2"]},{"1398108700":["hashtag1","hashtag2"]},{"1398108699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108702, 1398108698, 1398108697, 1398108696, 1398108700, 1398108699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.965161085128784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:47:42.046313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_55_2617.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_58_2759.jpg', '/home/pi/Desktop/images/31102025/20/10/image_31102025_20_11_01_3586.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_04_2648.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_07_2636.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_10_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_55_2617.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_10_58_2759.jpg
/home/pi/Desktop/images/31102025/20/10/image_31102025_20_11_01_3586.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_04_2648.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_07_2636.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_10_3726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108710","1398108713","1398108712","1398108711","1398108714","1398108708"],"photo_ids_order":["1398108708","1398108710","1398108711","1398108712","1398108713","1398108714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/06260b86975e13e672295a77ed3377eb.jpg","text":"TemporaryFile(/tmp/multipartBody2847396457288436802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953323621,"filename":"image_31102025_20_10_58_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/5/d602b904e357ef10d23c8c6ac1aece9f.jpg","text":"TemporaryFile(/tmp/multipartBody2106291598060913012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953323621,"filename":"image_31102025_20_11_07_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/5/67ea5a8bfebb8b6f887b3d37cd0b3eda.jpg","text":"TemporaryFile(/tmp/multipartBody3032870097842277633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953323621,"filename":"image_31102025_20_11_04_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/5/ede2e681e622f02a6fc863be67d264be.jpg","text":"TemporaryFile(/tmp/multipartBody3439182745087184790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953323621,"filename":"image_31102025_20_11_01_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/5/332586a7894c5a32eee9c2bab81cbee0.jpg","text":"TemporaryFile(/tmp/multipartBody4040366864517200343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953323621,"filename":"image_31102025_20_11_10_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87f5a5071fb59a931f0369fa6c60425d.jpg","text":"TemporaryFile(/tmp/multipartBody4728627643465424942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953323621,"filename":"image_31102025_20_10_55_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108711","file1":"1398108710","file0":"1398108708","file4":"1398108713","file5":"1398108714","file3":"1398108712"},"map_files_photo_id_array":[{"photo_id":"1398108714","filename":"file5"},{"photo_id":"1398108711","filename":"file2"},{"photo_id":"1398108713","filename":"file4"},{"photo_id":"1398108710","filename":"file1"},{"photo_id":"1398108708","filename":"file0"},{"photo_id":"1398108712","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108710":["hashtag1","hashtag2"]},{"1398108713":["hashtag1","hashtag2"]},{"1398108712":["hashtag1","hashtag2"]},{"1398108711":["hashtag1","hashtag2"]},{"1398108714":["hashtag1","hashtag2"]},{"1398108708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108710, 1398108713, 1398108712, 1398108711, 1398108714, 1398108708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.995038747787476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 17:48:22.276472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_05_6885.jpg', '/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_15_9685.jpg', '/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_25_9455.jpg', '/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_35_10641.jpg', '/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_45_9732.jpg', '/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_55_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_05_6885.jpg
/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_15_9685.jpg
/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_25_9455.jpg
/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_35_10641.jpg
/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_45_9732.jpg
/home/pi/Desktop/images/05122025/16/39/image_05122025_16_39_55_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":["1398108722","1398108716","1398108715","1398108718","1398108726","1398108720"],"photo_ids_order":["1398108715","1398108716","1398108718","1398108720","1398108722","1398108726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a676981e306bd6d01eb18bd3a5c89373.jpg","text":"TemporaryFile(/tmp/multipartBody1088167099229698100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953362899,"filename":"image_05122025_16_39_45_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a4f094f46368d40cf20dd7cb86bc530.jpg","text":"TemporaryFile(/tmp/multipartBody147791179840250129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953362899,"filename":"image_05122025_16_39_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/12bc401f88a9288eba44f5cf6542a32f.jpg","text":"TemporaryFile(/tmp/multipartBody5810416168432161858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953362899,"filename":"image_05122025_16_39_05_6885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b85e3c10711c0895d9b1dc348f58fbc0.jpg","text":"TemporaryFile(/tmp/multipartBody7375460165009547332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953362899,"filename":"image_05122025_16_39_25_9455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/527520a3ff1f0ac65820ad94f5355a38.jpg","text":"TemporaryFile(/tmp/multipartBody309914558311512165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953362899,"filename":"image_05122025_16_39_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/5/22965e426b2756c85df51b706763fea6.jpg","text":"TemporaryFile(/tmp/multipartBody4130094675250888322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953362899,"filename":"image_05122025_16_39_35_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108718","file1":"1398108716","file0":"1398108715","file4":"1398108722","file5":"1398108726","file3":"1398108720"},"map_files_photo_id_array":[{"photo_id":"1398108726","filename":"file5"},{"photo_id":"1398108718","filename":"file2"},{"photo_id":"1398108722","filename":"file4"},{"photo_id":"1398108716","filename":"file1"},{"photo_id":"1398108715","filename":"file0"},{"photo_id":"1398108720","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108722":["hashtag1","hashtag2"]},{"1398108716":["hashtag1","hashtag2"]},{"1398108715":["hashtag1","hashtag2"]},{"1398108718":["hashtag1","hashtag2"]},{"1398108726":["hashtag1","hashtag2"]},{"1398108720":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108722, 1398108716, 1398108715, 1398108718, 1398108726, 1398108720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.637359380722046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:49:03.548404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/40/image_05122025_16_40_14_10048.jpg', '/home/pi/Desktop/images/05122025/16/40/image_05122025_16_40_25_10607.jpg', '/home/pi/Desktop/images/05122025/16/40/image_05122025_16_40_34_9658.jpg', '/home/pi/Desktop/images/05122025/16/40/image_05122025_16_40_45_10605.jpg', '/home/pi/Desktop/images/05122025/16/40/image_05122025_16_40_55_9728.jpg', '/home/pi/Desktop/images/05122025/16/41/image_05122025_16_41_15_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/40/image_05122025_16_40_14_10048.jpg
/home/pi/Desktop/images/05122025/16/40/image_05122025_16_40_25_10607.jpg
/home/pi/Desktop/images/05122025/16/40/image_05122025_16_40_34_9658.jpg
/home/pi/Desktop/images/05122025/16/40/image_05122025_16_40_45_10605.jpg
/home/pi/Desktop/images/05122025/16/40/image_05122025_16_40_55_9728.jpg
/home/pi/Desktop/images/05122025/16/41/image_05122025_16_41_15_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108737","1398108731","1398108734","1398108733","1398108732","1398108735"],"photo_ids_order":["1398108731","1398108732","1398108733","1398108734","1398108735","1398108737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01261ba625131dba484868dda27fdb6d.jpg","text":"TemporaryFile(/tmp/multipartBody4164018482051320239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953404239,"filename":"image_05122025_16_41_15_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/722f641766e814e432d9e960161b6978.jpg","text":"TemporaryFile(/tmp/multipartBody7265754501254872163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953404239,"filename":"image_05122025_16_40_14_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6efd9870c5ed05bf11add13a9daf4a93.jpg","text":"TemporaryFile(/tmp/multipartBody1212008703102081802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953404239,"filename":"image_05122025_16_40_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c27e1be6e3e22a225058ea8a9e4cec0b.jpg","text":"TemporaryFile(/tmp/multipartBody5659472355150477393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953404239,"filename":"image_05122025_16_40_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/5/e91810f92c6301f42738f21174b427a0.jpg","text":"TemporaryFile(/tmp/multipartBody7681104956843642249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953404239,"filename":"image_05122025_16_40_25_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/5/5163057e4e21b06853e7fd8bdb79cc34.jpg","text":"TemporaryFile(/tmp/multipartBody1714176106035846404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953404239,"filename":"image_05122025_16_40_55_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108733","file1":"1398108732","file0":"1398108731","file4":"1398108735","file5":"1398108737","file3":"1398108734"},"map_files_photo_id_array":[{"photo_id":"1398108737","filename":"file5"},{"photo_id":"1398108733","filename":"file2"},{"photo_id":"1398108735","filename":"file4"},{"photo_id":"1398108732","filename":"file1"},{"photo_id":"1398108731","filename":"file0"},{"photo_id":"1398108734","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108737":["hashtag1","hashtag2"]},{"1398108731":["hashtag1","hashtag2"]},{"1398108734":["hashtag1","hashtag2"]},{"1398108733":["hashtag1","hashtag2"]},{"1398108732":["hashtag1","hashtag2"]},{"1398108735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108737, 1398108731, 1398108734, 1398108733, 1398108732, 1398108735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02268171310425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:49:42.678927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_13_2548.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_16_2638.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_19_3431.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_22_2682.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_24_2687.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_33_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_13_2548.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_16_2638.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_19_3431.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_22_2682.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_24_2687.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_33_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398108746","1398108745","1398108742","1398108750","1398108744","1398108747"],"photo_ids_order":["1398108742","1398108744","1398108745","1398108746","1398108747","1398108750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c1aeccb46d1fc45f6eb72ff9961409dd.jpg","text":"TemporaryFile(/tmp/multipartBody8163146472717604027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953444243,"filename":"image_31102025_20_11_22_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/5/7f2ecfe2179e72bada6575b4c68ab190.jpg","text":"TemporaryFile(/tmp/multipartBody3316722872938616735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953444243,"filename":"image_31102025_20_11_19_3431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/321e865f6d5aae3448c0a0e6c889a7b3.jpg","text":"TemporaryFile(/tmp/multipartBody7729232918407433448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953444243,"filename":"image_31102025_20_11_13_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c6b8e19c1c3d563af06ea32b342f778.jpg","text":"TemporaryFile(/tmp/multipartBody8643649564146656824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953444243,"filename":"image_31102025_20_11_33_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f51343558e2287092b710a8d61340ea1.jpg","text":"TemporaryFile(/tmp/multipartBody7397921906962434205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953444243,"filename":"image_31102025_20_11_16_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87d57de5c6aaab767f35ebdf57682d2d.jpg","text":"TemporaryFile(/tmp/multipartBody5369112009479491068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953444243,"filename":"image_31102025_20_11_24_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108745","file1":"1398108744","file0":"1398108742","file4":"1398108747","file5":"1398108750","file3":"1398108746"},"map_files_photo_id_array":[{"photo_id":"1398108750","filename":"file5"},{"photo_id":"1398108745","filename":"file2"},{"photo_id":"1398108747","filename":"file4"},{"photo_id":"1398108744","filename":"file1"},{"photo_id":"1398108742","filename":"file0"},{"photo_id":"1398108746","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108746":["hashtag1","hashtag2"]},{"1398108745":["hashtag1","hashtag2"]},{"1398108742":["hashtag1","hashtag2"]},{"1398108750":["hashtag1","hashtag2"]},{"1398108744":["hashtag1","hashtag2"]},{"1398108747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108746, 1398108745, 1398108742, 1398108750, 1398108744, 1398108747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.127437114715576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 17:50:31.924466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/07/image_02122025_23_07_44_9559.jpg', '/home/pi/Desktop/images/02122025/23/07/image_02122025_23_07_54_9971.jpg', '/home/pi/Desktop/images/02122025/23/08/image_02122025_23_08_15_10686.jpg', '/home/pi/Desktop/images/02122025/23/08/image_02122025_23_08_54_10709.jpg', '/home/pi/Desktop/images/02122025/23/10/image_02122025_23_10_15_10658.jpg', '/home/pi/Desktop/images/02122025/23/10/image_02122025_23_10_24_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/07/image_02122025_23_07_44_9559.jpg
/home/pi/Desktop/images/02122025/23/07/image_02122025_23_07_54_9971.jpg
/home/pi/Desktop/images/02122025/23/08/image_02122025_23_08_15_10686.jpg
/home/pi/Desktop/images/02122025/23/08/image_02122025_23_08_54_10709.jpg
/home/pi/Desktop/images/02122025/23/10/image_02122025_23_10_15_10658.jpg
/home/pi/Desktop/images/02122025/23/10/image_02122025_23_10_24_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":["1398108764","1398108763","1398108754","1398108762","1398108756","1398108759"],"photo_ids_order":["1398108754","1398108756","1398108759","1398108762","1398108763","1398108764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/77cb954d751a31726a201f47bd2eb8e5.jpg","text":"TemporaryFile(/tmp/multipartBody189815777534593411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953494065,"filename":"image_02122025_23_10_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/423e433f89039b6c2e3c7766c756453e.jpg","text":"TemporaryFile(/tmp/multipartBody7630450373258849979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953494065,"filename":"image_02122025_23_10_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/5/1f8c103bef60179d4ca0e37c5d59d2e8.jpg","text":"TemporaryFile(/tmp/multipartBody1586678594943419671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953494065,"filename":"image_02122025_23_07_44_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/231d2eabac3b366c6cec0a4af89137d1.jpg","text":"TemporaryFile(/tmp/multipartBody1845859177984514185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953494065,"filename":"image_02122025_23_08_54_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/5/0a7d4da0731a43c0ffc0827e16f44d2e.jpg","text":"TemporaryFile(/tmp/multipartBody7077806272073666509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953494065,"filename":"image_02122025_23_07_54_9971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/676c003da4963028ab27ac1a308da77c.jpg","text":"TemporaryFile(/tmp/multipartBody6610511017110955626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953494065,"filename":"image_02122025_23_08_15_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108759","file1":"1398108756","file0":"1398108754","file4":"1398108763","file5":"1398108764","file3":"1398108762"},"map_files_photo_id_array":[{"photo_id":"1398108764","filename":"file5"},{"photo_id":"1398108759","filename":"file2"},{"photo_id":"1398108763","filename":"file4"},{"photo_id":"1398108756","filename":"file1"},{"photo_id":"1398108754","filename":"file0"},{"photo_id":"1398108762","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398108764":["hashtag1","hashtag2"]},{"1398108763":["hashtag1","hashtag2"]},{"1398108754":["hashtag1","hashtag2"]},{"1398108762":["hashtag1","hashtag2"]},{"1398108756":["hashtag1","hashtag2"]},{"1398108759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398108764, 1398108763, 1398108754, 1398108762, 1398108756, 1398108759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.626580476760864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 17:51:11.907172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/10/image_02122025_23_10_54_9644.jpg', '/home/pi/Desktop/images/02122025/23/12/image_02122025_23_12_34_9763.jpg', '/home/pi/Desktop/images/02122025/23/12/image_02122025_23_12_45_10777.jpg', '/home/pi/Desktop/images/02122025/23/14/image_02122025_23_14_14_9751.jpg', '/home/pi/Desktop/images/02122025/23/16/image_02122025_23_16_14_9928.jpg', '/home/pi/Desktop/images/02122025/23/17/image_02122025_23_17_14_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/10/image_02122025_23_10_54_9644.jpg
/home/pi/Desktop/images/02122025/23/12/image_02122025_23_12_34_9763.jpg
/home/pi/Desktop/images/02122025/23/12/image_02122025_23_12_45_10777.jpg
/home/pi/Desktop/images/02122025/23/14/image_02122025_23_14_14_9751.jpg
/home/pi/Desktop/images/02122025/23/16/image_02122025_23_16_14_9928.jpg
/home/pi/Desktop/images/02122025/23/17/image_02122025_23_17_14_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":["1398108773","1398108770","1398108772","1398108766","1398108765","1398108768"],"photo_ids_order":["1398108765","1398108766","1398108768","1398108770","1398108772","1398108773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5abc259a99924e75f9b1afb8c900ce0a.jpg","text":"TemporaryFile(/tmp/multipartBody4531889232749499601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953533899,"filename":"image_02122025_23_17_14_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fefc874b258c999ceec0e68adf953538.jpg","text":"TemporaryFile(/tmp/multipartBody2532144820624858460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953533899,"filename":"image_02122025_23_14_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/5/7082bc8e4201e07977e914c18cd46068.jpg","text":"TemporaryFile(/tmp/multipartBody1975862571416559498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953533899,"filename":"image_02122025_23_16_14_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/5/0b6ccdd0ea1eb01a40af65d24d04cae7.jpg","text":"TemporaryFile(/tmp/multipartBody2474067230419851998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953533899,"filename":"image_02122025_23_12_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/5/85793302921185358083a916bda4aa02.jpg","text":"TemporaryFile(/tmp/multipartBody5985406905574500876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953533899,"filename":"image_02122025_23_10_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/5/44728a38c4eb8f0a59e66f6ae4a745da.jpg","text":"TemporaryFile(/tmp/multipartBody2017457900874891723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953533899,"filename":"image_02122025_23_12_45_10777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108768","file1":"1398108766","file0":"1398108765","file4":"1398108772","file5":"1398108773","file3":"1398108770"},"map_files_photo_id_array":[{"photo_id":"1398108773","filename":"file5"},{"photo_id":"1398108768","filename":"file2"},{"photo_id":"1398108772","filename":"file4"},{"photo_id":"1398108766","filename":"file1"},{"photo_id":"1398108765","filename":"file0"},{"photo_id":"1398108770","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398108773":["hashtag1","hashtag2"]},{"1398108770":["hashtag1","hashtag2"]},{"1398108772":["hashtag1","hashtag2"]},{"1398108766":["hashtag1","hashtag2"]},{"1398108765":["hashtag1","hashtag2"]},{"1398108768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398108773, 1398108770, 1398108772, 1398108766, 1398108765, 1398108768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53956985473633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:52:02.681133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/41/image_05122025_16_41_25_9739.jpg', '/home/pi/Desktop/images/05122025/16/41/image_05122025_16_41_55_9710.jpg', '/home/pi/Desktop/images/05122025/16/41/image_05122025_16_42_04_9721.jpg', '/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_15_10762.jpg', '/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_25_9554.jpg', '/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_34_9513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/41/image_05122025_16_41_25_9739.jpg
/home/pi/Desktop/images/05122025/16/41/image_05122025_16_41_55_9710.jpg
/home/pi/Desktop/images/05122025/16/41/image_05122025_16_42_04_9721.jpg
/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_15_10762.jpg
/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_25_9554.jpg
/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_34_9513.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4936211109161377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 17:52:12.150862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/18/image_02122025_23_18_15_10651.jpg', '/home/pi/Desktop/images/02122025/23/18/image_02122025_23_18_24_9883.jpg', '/home/pi/Desktop/images/02122025/23/18/image_02122025_23_19_04_9794.jpg', '/home/pi/Desktop/images/02122025/23/19/image_02122025_23_19_14_9897.jpg', '/home/pi/Desktop/images/02122025/23/19/image_02122025_23_19_44_9651.jpg', '/home/pi/Desktop/images/02122025/23/19/image_02122025_23_20_04_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/18/image_02122025_23_18_15_10651.jpg
/home/pi/Desktop/images/02122025/23/18/image_02122025_23_18_24_9883.jpg
/home/pi/Desktop/images/02122025/23/18/image_02122025_23_19_04_9794.jpg
/home/pi/Desktop/images/02122025/23/19/image_02122025_23_19_14_9897.jpg
/home/pi/Desktop/images/02122025/23/19/image_02122025_23_19_44_9651.jpg
/home/pi/Desktop/images/02122025/23/19/image_02122025_23_20_04_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":["1398108788","1398108781","1398108790","1398108792","1398108783","1398108786"],"photo_ids_order":["1398108781","1398108783","1398108786","1398108788","1398108790","1398108792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a65fc36f41465a32db43c1f12f863c9f.jpg","text":"TemporaryFile(/tmp/multipartBody7769792751420689338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953593927,"filename":"image_02122025_23_19_14_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/5/6e2109e7cdffba641b7d0c0590b246d1.jpg","text":"TemporaryFile(/tmp/multipartBody42359101581508051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953593927,"filename":"image_02122025_23_18_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/5/5faeb2ad5064277c638ed25309231211.jpg","text":"TemporaryFile(/tmp/multipartBody6723772395374722941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953593927,"filename":"image_02122025_23_19_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/5/9c40b5da72765adb782eb85fb19b7d52.jpg","text":"TemporaryFile(/tmp/multipartBody6554469046354726827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953593927,"filename":"image_02122025_23_20_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/5/1bbe8caabf5da1f237ea7e83cb06c048.jpg","text":"TemporaryFile(/tmp/multipartBody4019263692695127401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953593927,"filename":"image_02122025_23_18_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/5/1bfea5c8901b6b52aa3058308ff71c93.jpg","text":"TemporaryFile(/tmp/multipartBody4455095209232109253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953593927,"filename":"image_02122025_23_19_04_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108786","file1":"1398108783","file0":"1398108781","file4":"1398108790","file5":"1398108792","file3":"1398108788"},"map_files_photo_id_array":[{"photo_id":"1398108792","filename":"file5"},{"photo_id":"1398108786","filename":"file2"},{"photo_id":"1398108790","filename":"file4"},{"photo_id":"1398108783","filename":"file1"},{"photo_id":"1398108781","filename":"file0"},{"photo_id":"1398108788","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398108788":["hashtag1","hashtag2"]},{"1398108781":["hashtag1","hashtag2"]},{"1398108790":["hashtag1","hashtag2"]},{"1398108792":["hashtag1","hashtag2"]},{"1398108783":["hashtag1","hashtag2"]},{"1398108786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398108788, 1398108781, 1398108790, 1398108792, 1398108783, 1398108786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.883440017700195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:53:03.059208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/41/image_05122025_16_41_25_9739.jpg', '/home/pi/Desktop/images/05122025/16/41/image_05122025_16_41_55_9710.jpg', '/home/pi/Desktop/images/05122025/16/41/image_05122025_16_42_04_9721.jpg', '/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_15_10762.jpg', '/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_25_9554.jpg', '/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_34_9513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/41/image_05122025_16_41_25_9739.jpg
/home/pi/Desktop/images/05122025/16/41/image_05122025_16_41_55_9710.jpg
/home/pi/Desktop/images/05122025/16/41/image_05122025_16_42_04_9721.jpg
/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_15_10762.jpg
/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_25_9554.jpg
/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_34_9513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108801","1398108804","1398108800","1398108799","1398108798","1398108797"],"photo_ids_order":["1398108797","1398108798","1398108799","1398108800","1398108801","1398108804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f188d6f4fefce33de6c40b529e075bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2474921722218976096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953643716,"filename":"image_05122025_16_42_25_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/5/d32c5ce478f44fdb1142bd925c8c6b05.jpg","text":"TemporaryFile(/tmp/multipartBody6160843999980601918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953643716,"filename":"image_05122025_16_42_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/5/0e4d576017147f7564b42234750b8ab0.jpg","text":"TemporaryFile(/tmp/multipartBody6504382733633170332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953643716,"filename":"image_05122025_16_42_15_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/5/f17e472578c2dc86c9a9acb49fc56959.jpg","text":"TemporaryFile(/tmp/multipartBody6304956754545244887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953643716,"filename":"image_05122025_16_42_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/5/82c71a683e13eb658ae6a2c2bafc313c.jpg","text":"TemporaryFile(/tmp/multipartBody2903181031721008393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953643716,"filename":"image_05122025_16_41_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/5/f317a3a762a6cb3441443fa39908e5fa.jpg","text":"TemporaryFile(/tmp/multipartBody9097178613888042428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953643716,"filename":"image_05122025_16_41_25_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108799","file1":"1398108798","file0":"1398108797","file4":"1398108801","file5":"1398108804","file3":"1398108800"},"map_files_photo_id_array":[{"photo_id":"1398108804","filename":"file5"},{"photo_id":"1398108799","filename":"file2"},{"photo_id":"1398108801","filename":"file4"},{"photo_id":"1398108798","filename":"file1"},{"photo_id":"1398108797","filename":"file0"},{"photo_id":"1398108800","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108801":["hashtag1","hashtag2"]},{"1398108804":["hashtag1","hashtag2"]},{"1398108800":["hashtag1","hashtag2"]},{"1398108799":["hashtag1","hashtag2"]},{"1398108798":["hashtag1","hashtag2"]},{"1398108797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108801, 1398108804, 1398108800, 1398108799, 1398108798, 1398108797)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.382761001586914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:54:02.925563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_45_10766.jpg', '/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_54_9578.jpg', '/home/pi/Desktop/images/05122025/16/42/image_05122025_16_43_04_9924.jpg', '/home/pi/Desktop/images/05122025/16/43/image_05122025_16_43_15_10665.jpg', '/home/pi/Desktop/images/05122025/16/43/image_05122025_16_43_25_9630.jpg', '/home/pi/Desktop/images/05122025/16/43/image_05122025_16_43_34_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_45_10766.jpg
/home/pi/Desktop/images/05122025/16/42/image_05122025_16_42_54_9578.jpg
/home/pi/Desktop/images/05122025/16/42/image_05122025_16_43_04_9924.jpg
/home/pi/Desktop/images/05122025/16/43/image_05122025_16_43_15_10665.jpg
/home/pi/Desktop/images/05122025/16/43/image_05122025_16_43_25_9630.jpg
/home/pi/Desktop/images/05122025/16/43/image_05122025_16_43_34_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108816","1398108812","1398108814","1398108811","1398108810","1398108813"],"photo_ids_order":["1398108810","1398108811","1398108812","1398108813","1398108814","1398108816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2b79072d67c665d95461a0f5f410e545.jpg","text":"TemporaryFile(/tmp/multipartBody2011439718267866782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953703575,"filename":"image_05122025_16_43_34_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4e33834dd27d9aae3339e9a79685c8c.jpg","text":"TemporaryFile(/tmp/multipartBody2360828939238026731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953703575,"filename":"image_05122025_16_43_04_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/5/40481338c56afa35b014758a76ba57b5.jpg","text":"TemporaryFile(/tmp/multipartBody3951159236902378451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953703575,"filename":"image_05122025_16_43_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/73e676e6d6bdc4d119886ef49f424cc5.jpg","text":"TemporaryFile(/tmp/multipartBody1048368983210041613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953703575,"filename":"image_05122025_16_42_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/5/3f7d5051857e56a043e74781776fec5e.jpg","text":"TemporaryFile(/tmp/multipartBody7054095868104821769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953703575,"filename":"image_05122025_16_42_45_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc62585e5686f5109852d0ff273d5d9d.jpg","text":"TemporaryFile(/tmp/multipartBody3276415171154840299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953703575,"filename":"image_05122025_16_43_15_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108812","file1":"1398108811","file0":"1398108810","file4":"1398108814","file5":"1398108816","file3":"1398108813"},"map_files_photo_id_array":[{"photo_id":"1398108816","filename":"file5"},{"photo_id":"1398108812","filename":"file2"},{"photo_id":"1398108814","filename":"file4"},{"photo_id":"1398108811","filename":"file1"},{"photo_id":"1398108810","filename":"file0"},{"photo_id":"1398108813","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108816":["hashtag1","hashtag2"]},{"1398108812":["hashtag1","hashtag2"]},{"1398108814":["hashtag1","hashtag2"]},{"1398108811":["hashtag1","hashtag2"]},{"1398108810":["hashtag1","hashtag2"]},{"1398108813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108816, 1398108812, 1398108814, 1398108811, 1398108810, 1398108813)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.052643060684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:55:03.220211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/43/image_05122025_16_43_45_10700.jpg', '/home/pi/Desktop/images/05122025/16/43/image_05122025_16_44_04_9746.jpg', '/home/pi/Desktop/images/05122025/16/44/image_05122025_16_44_15_10631.jpg', '/home/pi/Desktop/images/05122025/16/44/image_05122025_16_44_25_9605.jpg', '/home/pi/Desktop/images/05122025/16/44/image_05122025_16_44_34_9571.jpg', '/home/pi/Desktop/images/05122025/16/44/image_05122025_16_44_45_10545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/43/image_05122025_16_43_45_10700.jpg
/home/pi/Desktop/images/05122025/16/43/image_05122025_16_44_04_9746.jpg
/home/pi/Desktop/images/05122025/16/44/image_05122025_16_44_15_10631.jpg
/home/pi/Desktop/images/05122025/16/44/image_05122025_16_44_25_9605.jpg
/home/pi/Desktop/images/05122025/16/44/image_05122025_16_44_34_9571.jpg
/home/pi/Desktop/images/05122025/16/44/image_05122025_16_44_45_10545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108830","1398108824","1398108827","1398108826","1398108825","1398108828"],"photo_ids_order":["1398108824","1398108825","1398108826","1398108827","1398108828","1398108830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f54607997e660186884d5aeab965a78f.jpg","text":"TemporaryFile(/tmp/multipartBody5218195085772964083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953763866,"filename":"image_05122025_16_44_45_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/5/0785d6f5dece09ce1f35c6d30b8ae9e7.jpg","text":"TemporaryFile(/tmp/multipartBody1440981506966762424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953763866,"filename":"image_05122025_16_43_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/413f48201384ccef23668bf586542fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6646755172421704909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953763866,"filename":"image_05122025_16_44_25_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/5/bf714150766d8346ccc12eb258a56306.jpg","text":"TemporaryFile(/tmp/multipartBody1179809398275896044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953763866,"filename":"image_05122025_16_44_15_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/5/6d8b71ff55b685c4d8d9666b1a5ae68a.jpg","text":"TemporaryFile(/tmp/multipartBody5144659098604470201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953763866,"filename":"image_05122025_16_44_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/5/6948ddc8b6634c5bfeb1f363685f9f04.jpg","text":"TemporaryFile(/tmp/multipartBody546766159089499457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953763866,"filename":"image_05122025_16_44_34_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108826","file1":"1398108825","file0":"1398108824","file4":"1398108828","file5":"1398108830","file3":"1398108827"},"map_files_photo_id_array":[{"photo_id":"1398108830","filename":"file5"},{"photo_id":"1398108826","filename":"file2"},{"photo_id":"1398108828","filename":"file4"},{"photo_id":"1398108825","filename":"file1"},{"photo_id":"1398108824","filename":"file0"},{"photo_id":"1398108827","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108830":["hashtag1","hashtag2"]},{"1398108824":["hashtag1","hashtag2"]},{"1398108827":["hashtag1","hashtag2"]},{"1398108826":["hashtag1","hashtag2"]},{"1398108825":["hashtag1","hashtag2"]},{"1398108828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108830, 1398108824, 1398108827, 1398108826, 1398108825, 1398108828)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.99229311943054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:56:03.650345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/46/image_05122025_16_46_14_10037.jpg', '/home/pi/Desktop/images/05122025/16/46/image_05122025_16_46_24_10577.jpg', '/home/pi/Desktop/images/05122025/16/46/image_05122025_16_46_34_9653.jpg', '/home/pi/Desktop/images/05122025/16/46/image_05122025_16_46_45_10597.jpg', '/home/pi/Desktop/images/05122025/16/46/image_05122025_16_46_54_9638.jpg', '/home/pi/Desktop/images/05122025/16/46/image_05122025_16_47_04_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/46/image_05122025_16_46_14_10037.jpg
/home/pi/Desktop/images/05122025/16/46/image_05122025_16_46_24_10577.jpg
/home/pi/Desktop/images/05122025/16/46/image_05122025_16_46_34_9653.jpg
/home/pi/Desktop/images/05122025/16/46/image_05122025_16_46_45_10597.jpg
/home/pi/Desktop/images/05122025/16/46/image_05122025_16_46_54_9638.jpg
/home/pi/Desktop/images/05122025/16/46/image_05122025_16_47_04_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":["1398108845","1398108839","1398108838","1398108843","1398108837","1398108840"],"photo_ids_order":["1398108837","1398108838","1398108839","1398108840","1398108843","1398108845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1f8595fa9c649d3595ed2db73f8807c.jpg","text":"TemporaryFile(/tmp/multipartBody6459064822265278989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953824702,"filename":"image_05122025_16_47_04_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e4f41bbc9384d5146f4c5e017142910.jpg","text":"TemporaryFile(/tmp/multipartBody5096740767556611558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953824702,"filename":"image_05122025_16_46_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/5/077708a282f0562d3dba883ba1998041.jpg","text":"TemporaryFile(/tmp/multipartBody5076789005583856566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953824702,"filename":"image_05122025_16_46_24_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/5/03e30ae13efe19d3a8ba0eaf363d8e50.jpg","text":"TemporaryFile(/tmp/multipartBody8499796984151153535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953824702,"filename":"image_05122025_16_46_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/5/c8d194b228f85fab1e5feb43d89fe643.jpg","text":"TemporaryFile(/tmp/multipartBody8349598823302950331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953824702,"filename":"image_05122025_16_46_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/5/030af29ab4cc71d1367933b17f36a204.jpg","text":"TemporaryFile(/tmp/multipartBody7407451304053917974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953824702,"filename":"image_05122025_16_46_45_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108839","file1":"1398108838","file0":"1398108837","file4":"1398108843","file5":"1398108845","file3":"1398108840"},"map_files_photo_id_array":[{"photo_id":"1398108845","filename":"file5"},{"photo_id":"1398108839","filename":"file2"},{"photo_id":"1398108843","filename":"file4"},{"photo_id":"1398108838","filename":"file1"},{"photo_id":"1398108837","filename":"file0"},{"photo_id":"1398108840","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108845":["hashtag1","hashtag2"]},{"1398108839":["hashtag1","hashtag2"]},{"1398108838":["hashtag1","hashtag2"]},{"1398108843":["hashtag1","hashtag2"]},{"1398108837":["hashtag1","hashtag2"]},{"1398108840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108845, 1398108839, 1398108838, 1398108843, 1398108837, 1398108840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.633065938949585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:57:02.795656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/47/image_05122025_16_47_15_10646.jpg', '/home/pi/Desktop/images/05122025/16/47/image_05122025_16_47_24_9599.jpg', '/home/pi/Desktop/images/05122025/16/47/image_05122025_16_47_34_9612.jpg', '/home/pi/Desktop/images/05122025/16/47/image_05122025_16_47_44_9789.jpg', '/home/pi/Desktop/images/05122025/16/47/image_05122025_16_47_54_10595.jpg', '/home/pi/Desktop/images/05122025/16/47/image_05122025_16_48_04_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/47/image_05122025_16_47_15_10646.jpg
/home/pi/Desktop/images/05122025/16/47/image_05122025_16_47_24_9599.jpg
/home/pi/Desktop/images/05122025/16/47/image_05122025_16_47_34_9612.jpg
/home/pi/Desktop/images/05122025/16/47/image_05122025_16_47_44_9789.jpg
/home/pi/Desktop/images/05122025/16/47/image_05122025_16_47_54_10595.jpg
/home/pi/Desktop/images/05122025/16/47/image_05122025_16_48_04_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108854","1398108850","1398108856","1398108855","1398108858","1398108852"],"photo_ids_order":["1398108850","1398108852","1398108854","1398108855","1398108856","1398108858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1aa3c2bb22292beda1c9471ee35477aa.jpg","text":"TemporaryFile(/tmp/multipartBody3570538022636510241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953883465,"filename":"image_05122025_16_47_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/40bebb0920101d73a5e9d9b34909fa59.jpg","text":"TemporaryFile(/tmp/multipartBody4525530706170108578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953883465,"filename":"image_05122025_16_47_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/5/506928b2729fe5af24d5aec49559b5c3.jpg","text":"TemporaryFile(/tmp/multipartBody10500633303519391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953883465,"filename":"image_05122025_16_47_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/5/a0698c36571723f9bff345e5862e1c08.jpg","text":"TemporaryFile(/tmp/multipartBody9042265326421741078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953883465,"filename":"image_05122025_16_47_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/5/497afe2f4b4e11069026b9caa59848a0.jpg","text":"TemporaryFile(/tmp/multipartBody2680393094694456150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953883465,"filename":"image_05122025_16_48_04_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a0446dd2087012f2e8203adaa4c429a7.jpg","text":"TemporaryFile(/tmp/multipartBody653415860622968678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953883465,"filename":"image_05122025_16_47_24_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108854","file1":"1398108852","file0":"1398108850","file4":"1398108856","file5":"1398108858","file3":"1398108855"},"map_files_photo_id_array":[{"photo_id":"1398108858","filename":"file5"},{"photo_id":"1398108854","filename":"file2"},{"photo_id":"1398108856","filename":"file4"},{"photo_id":"1398108852","filename":"file1"},{"photo_id":"1398108850","filename":"file0"},{"photo_id":"1398108855","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398108854":["hashtag1","hashtag2"]},{"1398108850":["hashtag1","hashtag2"]},{"1398108856":["hashtag1","hashtag2"]},{"1398108855":["hashtag1","hashtag2"]},{"1398108858":["hashtag1","hashtag2"]},{"1398108852":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398108854, 1398108850, 1398108856, 1398108855, 1398108858, 1398108852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18111824989319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:57:41.986881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_40_2736.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_46_3567.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_49_2844.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_51_2612.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_55_3606.jpg', '/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_58_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_40_2736.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_46_3567.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_49_2844.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_51_2612.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_55_3606.jpg
/home/pi/Desktop/images/31102025/20/11/image_31102025_20_11_58_2680.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398108866","1398108869","1398108863","1398108865","1398108868","1398108867"],"photo_ids_order":["1398108863","1398108865","1398108866","1398108867","1398108868","1398108869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/067bf946202781e404bb9d870fd7f12b.jpg","text":"TemporaryFile(/tmp/multipartBody8910876821951889989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953923540,"filename":"image_31102025_20_11_49_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/5/cd1c40220ed7f7da71d1e20bd3d40b2c.jpg","text":"TemporaryFile(/tmp/multipartBody7146660253513351285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953923540,"filename":"image_31102025_20_11_58_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6bac8df07137c2987c516a5dafe3bc99.jpg","text":"TemporaryFile(/tmp/multipartBody2711382123257046118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953923540,"filename":"image_31102025_20_11_40_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/5/a0149059a23389f7472b8faeff449511.jpg","text":"TemporaryFile(/tmp/multipartBody8679515604511913584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953923540,"filename":"image_31102025_20_11_46_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/5/90d80f69fc3861a7724d0b6b13bab5d2.jpg","text":"TemporaryFile(/tmp/multipartBody3327983020690046882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953923540,"filename":"image_31102025_20_11_55_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/5/9bfa5231ddb5b87635c02ebfffe33976.jpg","text":"TemporaryFile(/tmp/multipartBody7296957231775307099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764953923540,"filename":"image_31102025_20_11_51_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398108866","file1":"1398108865","file0":"1398108863","file4":"1398108868","file5":"1398108869","file3":"1398108867"},"map_files_photo_id_array":[{"photo_id":"1398108869","filename":"file5"},{"photo_id":"1398108866","filename":"file2"},{"photo_id":"1398108868","filename":"file4"},{"photo_id":"1398108865","filename":"file1"},{"photo_id":"1398108863","filename":"file0"},{"photo_id":"1398108867","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398108866":["hashtag1","hashtag2"]},{"1398108869":["hashtag1","hashtag2"]},{"1398108863":["hashtag1","hashtag2"]},{"1398108865":["hashtag1","hashtag2"]},{"1398108868":["hashtag1","hashtag2"]},{"1398108867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398108866, 1398108869, 1398108863, 1398108865, 1398108868, 1398108867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.015376806259155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 17:59:03.253313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/48/image_05122025_16_48_15_10604.jpg', '/home/pi/Desktop/images/05122025/16/48/image_05122025_16_48_24_9596.jpg', '/home/pi/Desktop/images/05122025/16/48/image_05122025_16_48_34_9560.jpg', '/home/pi/Desktop/images/05122025/16/48/image_05122025_16_48_44_10626.jpg', '/home/pi/Desktop/images/05122025/16/48/image_05122025_16_48_54_9613.jpg', '/home/pi/Desktop/images/05122025/16/48/image_05122025_16_49_04_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/48/image_05122025_16_48_15_10604.jpg
/home/pi/Desktop/images/05122025/16/48/image_05122025_16_48_24_9596.jpg
/home/pi/Desktop/images/05122025/16/48/image_05122025_16_48_34_9560.jpg
/home/pi/Desktop/images/05122025/16/48/image_05122025_16_48_44_10626.jpg
/home/pi/Desktop/images/05122025/16/48/image_05122025_16_48_54_9613.jpg
/home/pi/Desktop/images/05122025/16/48/image_05122025_16_49_04_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398109259","1398109253","1398109226","1398109261","1398109264","1398109257"],"photo_ids_order":["1398109226","1398109253","1398109257","1398109259","1398109261","1398109264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/44982ef21e2b928c5753f4e378b0c97f.jpg","text":"TemporaryFile(/tmp/multipartBody5689168849433606702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954003979,"filename":"image_05122025_16_48_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01db3739bea36876b80a9547c630528b.jpg","text":"TemporaryFile(/tmp/multipartBody7724643190339426342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954003979,"filename":"image_05122025_16_48_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/5/d57b4f115a14ced1a1edd3941c807050.jpg","text":"TemporaryFile(/tmp/multipartBody3042643912521181373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954003979,"filename":"image_05122025_16_48_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/5/637732fe828ec0e7fbbacc23536601c5.jpg","text":"TemporaryFile(/tmp/multipartBody5151338355741116363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954003979,"filename":"image_05122025_16_48_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/5/52bdb33249c111d418e8d9dfbda29a87.jpg","text":"TemporaryFile(/tmp/multipartBody6984645245686444692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954003979,"filename":"image_05122025_16_49_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/5/36e5004da08b1182ccf11f4c2e774897.jpg","text":"TemporaryFile(/tmp/multipartBody1299897877011012721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954003979,"filename":"image_05122025_16_48_34_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398109257","file1":"1398109253","file0":"1398109226","file4":"1398109261","file5":"1398109264","file3":"1398109259"},"map_files_photo_id_array":[{"photo_id":"1398109264","filename":"file5"},{"photo_id":"1398109257","filename":"file2"},{"photo_id":"1398109261","filename":"file4"},{"photo_id":"1398109253","filename":"file1"},{"photo_id":"1398109226","filename":"file0"},{"photo_id":"1398109259","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398109259":["hashtag1","hashtag2"]},{"1398109253":["hashtag1","hashtag2"]},{"1398109226":["hashtag1","hashtag2"]},{"1398109261":["hashtag1","hashtag2"]},{"1398109264":["hashtag1","hashtag2"]},{"1398109257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398109259, 1398109253, 1398109226, 1398109261, 1398109264, 1398109257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.551191329956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 17:59:42.363644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_07_2704.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_09_2760.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_13_3604.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_16_2997.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_18_2611.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_22_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_07_2704.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_09_2760.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_13_3604.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_16_2997.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_18_2611.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_22_3599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398109400","1398109393","1398109366","1398109402","1398109377","1398109404"],"photo_ids_order":["1398109366","1398109377","1398109393","1398109400","1398109402","1398109404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5e7db1cc812dce706a64619d8f08a21c.jpg","text":"TemporaryFile(/tmp/multipartBody5373140754973417825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954043893,"filename":"image_31102025_20_12_16_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/5/d4f43c7feba8fcb0ee356d632b553ec5.jpg","text":"TemporaryFile(/tmp/multipartBody4125627078614739004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954043893,"filename":"image_31102025_20_12_13_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a29a3913539a386ba74be7ffc87aad4.jpg","text":"TemporaryFile(/tmp/multipartBody8145719782237741374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954043893,"filename":"image_31102025_20_12_07_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/5/9160e8bc7c2c2d27a7a4bf81ec9169b9.jpg","text":"TemporaryFile(/tmp/multipartBody6819116998147734829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954043893,"filename":"image_31102025_20_12_18_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/5/4d6a89fdee5470138c6709576ec1fe46.jpg","text":"TemporaryFile(/tmp/multipartBody979665926856595157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954043893,"filename":"image_31102025_20_12_09_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/5/df856c1926071eeca7beab070621e103.jpg","text":"TemporaryFile(/tmp/multipartBody4045318270449972554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954043893,"filename":"image_31102025_20_12_22_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398109393","file1":"1398109377","file0":"1398109366","file4":"1398109402","file5":"1398109404","file3":"1398109400"},"map_files_photo_id_array":[{"photo_id":"1398109404","filename":"file5"},{"photo_id":"1398109393","filename":"file2"},{"photo_id":"1398109402","filename":"file4"},{"photo_id":"1398109377","filename":"file1"},{"photo_id":"1398109366","filename":"file0"},{"photo_id":"1398109400","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398109400":["hashtag1","hashtag2"]},{"1398109393":["hashtag1","hashtag2"]},{"1398109366":["hashtag1","hashtag2"]},{"1398109402":["hashtag1","hashtag2"]},{"1398109377":["hashtag1","hashtag2"]},{"1398109404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398109400, 1398109393, 1398109366, 1398109402, 1398109377, 1398109404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28075575828552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:00:22.569752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/49/image_05122025_16_49_15_10790.jpg', '/home/pi/Desktop/images/05122025/16/49/image_05122025_16_49_24_9794.jpg', '/home/pi/Desktop/images/05122025/16/49/image_05122025_16_49_34_9544.jpg', '/home/pi/Desktop/images/05122025/16/49/image_05122025_16_49_44_10529.jpg', '/home/pi/Desktop/images/05122025/16/49/image_05122025_16_49_54_9779.jpg', '/home/pi/Desktop/images/05122025/16/50/image_05122025_16_50_15_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/49/image_05122025_16_49_15_10790.jpg
/home/pi/Desktop/images/05122025/16/49/image_05122025_16_49_24_9794.jpg
/home/pi/Desktop/images/05122025/16/49/image_05122025_16_49_34_9544.jpg
/home/pi/Desktop/images/05122025/16/49/image_05122025_16_49_44_10529.jpg
/home/pi/Desktop/images/05122025/16/49/image_05122025_16_49_54_9779.jpg
/home/pi/Desktop/images/05122025/16/50/image_05122025_16_50_15_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":["1398109478","1398109439","1398109412","1398109406","1398109408","1398109410"],"photo_ids_order":["1398109406","1398109408","1398109410","1398109412","1398109439","1398109478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dafa20295d7a989a19631f9dceb6caed.jpg","text":"TemporaryFile(/tmp/multipartBody1967555497618229514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954083179,"filename":"image_05122025_16_50_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/28e5f7f7c15e92ebd81980e3a1d93927.jpg","text":"TemporaryFile(/tmp/multipartBody7746123361039153328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954083179,"filename":"image_05122025_16_49_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/5/c11952ae56533023fd8d6535ee7f0b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6534501118641183104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954083179,"filename":"image_05122025_16_49_44_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0effa6c87de419f77f43988422762bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6529067279918432081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954083179,"filename":"image_05122025_16_49_15_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/5/bea8d8d0032052b7fccb518f4c5dd84d.jpg","text":"TemporaryFile(/tmp/multipartBody369149694874685704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954083179,"filename":"image_05122025_16_49_24_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/5/8e7b1736f8eb53f0bdb78f33306ee5fc.jpg","text":"TemporaryFile(/tmp/multipartBody6855996698963298560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954083179,"filename":"image_05122025_16_49_34_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398109410","file1":"1398109408","file0":"1398109406","file4":"1398109439","file5":"1398109478","file3":"1398109412"},"map_files_photo_id_array":[{"photo_id":"1398109478","filename":"file5"},{"photo_id":"1398109410","filename":"file2"},{"photo_id":"1398109439","filename":"file4"},{"photo_id":"1398109408","filename":"file1"},{"photo_id":"1398109406","filename":"file0"},{"photo_id":"1398109412","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398109478":["hashtag1","hashtag2"]},{"1398109439":["hashtag1","hashtag2"]},{"1398109412":["hashtag1","hashtag2"]},{"1398109406":["hashtag1","hashtag2"]},{"1398109408":["hashtag1","hashtag2"]},{"1398109410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398109478, 1398109439, 1398109412, 1398109406, 1398109408, 1398109410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34814429283142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:01:03.451147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/50/image_05122025_16_50_25_10545.jpg', '/home/pi/Desktop/images/05122025/16/50/image_05122025_16_50_35_9762.jpg', '/home/pi/Desktop/images/05122025/16/50/image_05122025_16_50_45_10550.jpg', '/home/pi/Desktop/images/05122025/16/50/image_05122025_16_50_55_9621.jpg', '/home/pi/Desktop/images/05122025/16/50/image_05122025_16_51_05_9666.jpg', '/home/pi/Desktop/images/05122025/16/51/image_05122025_16_51_15_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/50/image_05122025_16_50_25_10545.jpg
/home/pi/Desktop/images/05122025/16/50/image_05122025_16_50_35_9762.jpg
/home/pi/Desktop/images/05122025/16/50/image_05122025_16_50_45_10550.jpg
/home/pi/Desktop/images/05122025/16/50/image_05122025_16_50_55_9621.jpg
/home/pi/Desktop/images/05122025/16/50/image_05122025_16_51_05_9666.jpg
/home/pi/Desktop/images/05122025/16/51/image_05122025_16_51_15_9854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398109808","1398109610","1398109771","1398109732","1398109695","1398109650"],"photo_ids_order":["1398109610","1398109650","1398109695","1398109732","1398109771","1398109808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/123ea6bf2ffc4bd0381d49254e626ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8762160568832056101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954124107,"filename":"image_05122025_16_51_15_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/5/4f245e6fbbf4bfefe78e57385a0d31b0.jpg","text":"TemporaryFile(/tmp/multipartBody7898207667352885557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954124107,"filename":"image_05122025_16_50_25_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/5/f260437ace0a5992a4c01ae8e3418dd9.jpg","text":"TemporaryFile(/tmp/multipartBody6302273617815326889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954124107,"filename":"image_05122025_16_51_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/5/1aec2c33be567f350dc3e1ae572f4fc4.jpg","text":"TemporaryFile(/tmp/multipartBody7804363319881026444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954124107,"filename":"image_05122025_16_50_55_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/5/109867fa6ef2b55bebce99eae736c2d2.jpg","text":"TemporaryFile(/tmp/multipartBody3503655479035881932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954124107,"filename":"image_05122025_16_50_45_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/5/77a78d6f3f10bfce94436b9063e236c0.jpg","text":"TemporaryFile(/tmp/multipartBody5175021356796659500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954124107,"filename":"image_05122025_16_50_35_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398109695","file1":"1398109650","file0":"1398109610","file4":"1398109771","file5":"1398109808","file3":"1398109732"},"map_files_photo_id_array":[{"photo_id":"1398109808","filename":"file5"},{"photo_id":"1398109695","filename":"file2"},{"photo_id":"1398109771","filename":"file4"},{"photo_id":"1398109650","filename":"file1"},{"photo_id":"1398109610","filename":"file0"},{"photo_id":"1398109732","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398109808":["hashtag1","hashtag2"]},{"1398109610":["hashtag1","hashtag2"]},{"1398109771":["hashtag1","hashtag2"]},{"1398109732":["hashtag1","hashtag2"]},{"1398109695":["hashtag1","hashtag2"]},{"1398109650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398109808, 1398109610, 1398109771, 1398109732, 1398109695, 1398109650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97959852218628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:01:42.810969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_25_2591.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_27_2782.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_31_3588.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_36_2591.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_40_3627.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_46_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_25_2591.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_27_2782.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_31_3588.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_36_2591.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_40_3627.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_46_3543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398110004","1398109971","1398110113","1398109935","1398110076","1398110040"],"photo_ids_order":["1398109935","1398109971","1398110004","1398110040","1398110076","1398110113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f6c345ebd7a01f02720db4130499db62.jpg","text":"TemporaryFile(/tmp/multipartBody4726629684729999840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954164450,"filename":"image_31102025_20_12_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/5/1694b782c31a33fdb8b59ef857acc8ef.jpg","text":"TemporaryFile(/tmp/multipartBody5005309434095023695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954164450,"filename":"image_31102025_20_12_27_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/5/d0903ccbb65d4db4568599517ebbf10c.jpg","text":"TemporaryFile(/tmp/multipartBody4821277944596206774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954164450,"filename":"image_31102025_20_12_46_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b249804b9052f9d13b4b50f85c43f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody5045610051737163525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954164450,"filename":"image_31102025_20_12_25_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/5/40e1805b4d6c9e2b85f6c79889ed601f.jpg","text":"TemporaryFile(/tmp/multipartBody2766926645178116446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954164450,"filename":"image_31102025_20_12_40_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/5/aaa808b0d02fac75404fa89ea597aa80.jpg","text":"TemporaryFile(/tmp/multipartBody1986718172858629067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954164450,"filename":"image_31102025_20_12_36_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398110004","file1":"1398109971","file0":"1398109935","file4":"1398110076","file5":"1398110113","file3":"1398110040"},"map_files_photo_id_array":[{"photo_id":"1398110113","filename":"file5"},{"photo_id":"1398110004","filename":"file2"},{"photo_id":"1398110076","filename":"file4"},{"photo_id":"1398109971","filename":"file1"},{"photo_id":"1398109935","filename":"file0"},{"photo_id":"1398110040","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398110004":["hashtag1","hashtag2"]},{"1398109971":["hashtag1","hashtag2"]},{"1398110113":["hashtag1","hashtag2"]},{"1398109935":["hashtag1","hashtag2"]},{"1398110076":["hashtag1","hashtag2"]},{"1398110040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398110004, 1398109971, 1398110113, 1398109935, 1398110076, 1398110040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01849913597107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:02:22.007328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/51/image_05122025_16_51_25_10681.jpg', '/home/pi/Desktop/images/05122025/16/51/image_05122025_16_51_35_9943.jpg', '/home/pi/Desktop/images/05122025/16/51/image_05122025_16_51_45_9679.jpg', '/home/pi/Desktop/images/05122025/16/51/image_05122025_16_52_05_10562.jpg', '/home/pi/Desktop/images/05122025/16/52/image_05122025_16_52_15_9711.jpg', '/home/pi/Desktop/images/05122025/16/52/image_05122025_16_52_25_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/51/image_05122025_16_51_25_10681.jpg
/home/pi/Desktop/images/05122025/16/51/image_05122025_16_51_35_9943.jpg
/home/pi/Desktop/images/05122025/16/51/image_05122025_16_51_45_9679.jpg
/home/pi/Desktop/images/05122025/16/51/image_05122025_16_52_05_10562.jpg
/home/pi/Desktop/images/05122025/16/52/image_05122025_16_52_15_9711.jpg
/home/pi/Desktop/images/05122025/16/52/image_05122025_16_52_25_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398110348","1398110420","1398110309","1398110272","1398110236","1398110385"],"photo_ids_order":["1398110236","1398110272","1398110309","1398110348","1398110385","1398110420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c3a11c7b0317788e8b92ab5590bd7762.jpg","text":"TemporaryFile(/tmp/multipartBody8534668816457288064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954202628,"filename":"image_05122025_16_52_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/5/2af0f2875cafa01249256529e733b2ce.jpg","text":"TemporaryFile(/tmp/multipartBody9014679191116298085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954202628,"filename":"image_05122025_16_52_25_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/5/2f9ea8039aadbda0ce6627527c7c87c8.jpg","text":"TemporaryFile(/tmp/multipartBody5808945866445749012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954202628,"filename":"image_05122025_16_51_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/5/84399ceecad0a15325a8b26b09219d1d.jpg","text":"TemporaryFile(/tmp/multipartBody4719243089207503030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954202628,"filename":"image_05122025_16_51_35_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/5/52ce625406b1563fe37e0c2efe0a2718.jpg","text":"TemporaryFile(/tmp/multipartBody6245328039418380116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954202628,"filename":"image_05122025_16_51_25_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/5/0233fc2b22d2e0e7fb42bba19467c77e.jpg","text":"TemporaryFile(/tmp/multipartBody7249561541017142989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954202628,"filename":"image_05122025_16_52_15_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398110309","file1":"1398110272","file0":"1398110236","file4":"1398110385","file5":"1398110420","file3":"1398110348"},"map_files_photo_id_array":[{"photo_id":"1398110420","filename":"file5"},{"photo_id":"1398110309","filename":"file2"},{"photo_id":"1398110385","filename":"file4"},{"photo_id":"1398110272","filename":"file1"},{"photo_id":"1398110236","filename":"file0"},{"photo_id":"1398110348","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398110348":["hashtag1","hashtag2"]},{"1398110420":["hashtag1","hashtag2"]},{"1398110309":["hashtag1","hashtag2"]},{"1398110272":["hashtag1","hashtag2"]},{"1398110236":["hashtag1","hashtag2"]},{"1398110385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398110348, 1398110420, 1398110309, 1398110272, 1398110236, 1398110385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23516869544983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:03:03.321818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/52/image_05122025_16_52_35_9642.jpg', '/home/pi/Desktop/images/05122025/16/52/image_05122025_16_52_45_9662.jpg', '/home/pi/Desktop/images/05122025/16/52/image_05122025_16_52_55_10601.jpg', '/home/pi/Desktop/images/05122025/16/53/image_05122025_16_53_15_9683.jpg', '/home/pi/Desktop/images/05122025/16/53/image_05122025_16_53_25_10776.jpg', '/home/pi/Desktop/images/05122025/16/53/image_05122025_16_53_35_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/52/image_05122025_16_52_35_9642.jpg
/home/pi/Desktop/images/05122025/16/52/image_05122025_16_52_45_9662.jpg
/home/pi/Desktop/images/05122025/16/52/image_05122025_16_52_55_10601.jpg
/home/pi/Desktop/images/05122025/16/53/image_05122025_16_53_15_9683.jpg
/home/pi/Desktop/images/05122025/16/53/image_05122025_16_53_25_10776.jpg
/home/pi/Desktop/images/05122025/16/53/image_05122025_16_53_35_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398110492","1398110486","1398110495","1398110488","1398110490","1398110484"],"photo_ids_order":["1398110484","1398110486","1398110488","1398110490","1398110492","1398110495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4bd51b4688deab70e1c1f63256761645.jpg","text":"TemporaryFile(/tmp/multipartBody6094051497445631692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954243953,"filename":"image_05122025_16_53_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/5/204bd1554b977d48428bc4108de6e17d.jpg","text":"TemporaryFile(/tmp/multipartBody3580343575499430939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954243953,"filename":"image_05122025_16_52_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/5/8617fdb5a6a3a6f2fe07e4d74325e853.jpg","text":"TemporaryFile(/tmp/multipartBody4331407828285325767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954243953,"filename":"image_05122025_16_53_35_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c439b47c7e0aa522f5bb56e2b5283749.jpg","text":"TemporaryFile(/tmp/multipartBody3126614838953818673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954243953,"filename":"image_05122025_16_52_55_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/5/eb03789cd4e02a08cf5bc9ad307f3241.jpg","text":"TemporaryFile(/tmp/multipartBody6949029239696880448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954243953,"filename":"image_05122025_16_53_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5eb85ff9672408fa461c38de34ce4d6.jpg","text":"TemporaryFile(/tmp/multipartBody1555777092821162696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954243953,"filename":"image_05122025_16_52_35_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398110488","file1":"1398110486","file0":"1398110484","file4":"1398110492","file5":"1398110495","file3":"1398110490"},"map_files_photo_id_array":[{"photo_id":"1398110495","filename":"file5"},{"photo_id":"1398110488","filename":"file2"},{"photo_id":"1398110492","filename":"file4"},{"photo_id":"1398110486","filename":"file1"},{"photo_id":"1398110484","filename":"file0"},{"photo_id":"1398110490","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398110492":["hashtag1","hashtag2"]},{"1398110486":["hashtag1","hashtag2"]},{"1398110495":["hashtag1","hashtag2"]},{"1398110488":["hashtag1","hashtag2"]},{"1398110490":["hashtag1","hashtag2"]},{"1398110484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398110492, 1398110486, 1398110495, 1398110488, 1398110490, 1398110484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12396550178528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:03:42.737918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_52_2520.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_54_2676.jpg', '/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_58_3659.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_04_3680.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_07_2566.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_09_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_52_2520.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_54_2676.jpg
/home/pi/Desktop/images/31102025/20/12/image_31102025_20_12_58_3659.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_04_3680.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_07_2566.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_09_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":["1398110502","1398110501","1398110504","1398110503","1398110506","1398110505"],"photo_ids_order":["1398110501","1398110502","1398110503","1398110504","1398110505","1398110506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b02dd00156955451ec9ae230df91db7e.jpg","text":"TemporaryFile(/tmp/multipartBody8320010400773627935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954284307,"filename":"image_31102025_20_12_54_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/5/5f0564c45b4bf405ddc4c851893972b0.jpg","text":"TemporaryFile(/tmp/multipartBody2935425734700290850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954284307,"filename":"image_31102025_20_12_52_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/59b9e38f6ac12dba90f07e3112608f6c.jpg","text":"TemporaryFile(/tmp/multipartBody4453703470011589152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954284307,"filename":"image_31102025_20_13_04_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/5/e091ffd83a237b08f47cfd0ae0841d32.jpg","text":"TemporaryFile(/tmp/multipartBody7666527433352616012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954284307,"filename":"image_31102025_20_12_58_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/5/830831fb2baeb778eb9209ba6c9d15a8.jpg","text":"TemporaryFile(/tmp/multipartBody1460653162979934407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954284307,"filename":"image_31102025_20_13_09_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/5/b4c048e5120c70524ea1107389e4da27.jpg","text":"TemporaryFile(/tmp/multipartBody3531817323793898196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954284307,"filename":"image_31102025_20_13_07_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398110503","file1":"1398110502","file0":"1398110501","file4":"1398110505","file5":"1398110506","file3":"1398110504"},"map_files_photo_id_array":[{"photo_id":"1398110506","filename":"file5"},{"photo_id":"1398110503","filename":"file2"},{"photo_id":"1398110505","filename":"file4"},{"photo_id":"1398110502","filename":"file1"},{"photo_id":"1398110501","filename":"file0"},{"photo_id":"1398110504","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398110502":["hashtag1","hashtag2"]},{"1398110501":["hashtag1","hashtag2"]},{"1398110504":["hashtag1","hashtag2"]},{"1398110503":["hashtag1","hashtag2"]},{"1398110506":["hashtag1","hashtag2"]},{"1398110505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398110502, 1398110501, 1398110504, 1398110503, 1398110506, 1398110505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81525659561157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:04:21.884817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/53/image_05122025_16_53_45_9651.jpg', '/home/pi/Desktop/images/05122025/16/53/image_05122025_16_53_55_9680.jpg', '/home/pi/Desktop/images/05122025/16/53/image_05122025_16_54_05_10625.jpg', '/home/pi/Desktop/images/05122025/16/54/image_05122025_16_54_15_9700.jpg', '/home/pi/Desktop/images/05122025/16/54/image_05122025_16_54_25_10599.jpg', '/home/pi/Desktop/images/05122025/16/54/image_05122025_16_54_35_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/53/image_05122025_16_53_45_9651.jpg
/home/pi/Desktop/images/05122025/16/53/image_05122025_16_53_55_9680.jpg
/home/pi/Desktop/images/05122025/16/53/image_05122025_16_54_05_10625.jpg
/home/pi/Desktop/images/05122025/16/54/image_05122025_16_54_15_9700.jpg
/home/pi/Desktop/images/05122025/16/54/image_05122025_16_54_25_10599.jpg
/home/pi/Desktop/images/05122025/16/54/image_05122025_16_54_35_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":["1398110704","1398110512","1398110577","1398110535","1398110664","1398110625"],"photo_ids_order":["1398110512","1398110535","1398110577","1398110625","1398110664","1398110704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c847f9f9c41b0f5bfc7da88bdc59e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody3480098507355372778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954322489,"filename":"image_05122025_16_54_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/5/9f1177bb6af7cdeeb187fcad6900adca.jpg","text":"TemporaryFile(/tmp/multipartBody30872478173028080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954322489,"filename":"image_05122025_16_53_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/5/b8bc459deb299983bd44f56ed96dd2ff.jpg","text":"TemporaryFile(/tmp/multipartBody2340507547386961346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954322489,"filename":"image_05122025_16_54_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84248ba9ef58c500c8387bbad4ba37d6.jpg","text":"TemporaryFile(/tmp/multipartBody8665525771830819003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954322489,"filename":"image_05122025_16_53_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/5/c5ffcc01432268e66c355bdcd6b86cf3.jpg","text":"TemporaryFile(/tmp/multipartBody8835834212412884257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954322489,"filename":"image_05122025_16_54_25_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/5/e544d8c6a17d96b80fa464601919940d.jpg","text":"TemporaryFile(/tmp/multipartBody6547757067577111964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954322489,"filename":"image_05122025_16_54_15_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398110577","file1":"1398110535","file0":"1398110512","file4":"1398110664","file5":"1398110704","file3":"1398110625"},"map_files_photo_id_array":[{"photo_id":"1398110704","filename":"file5"},{"photo_id":"1398110577","filename":"file2"},{"photo_id":"1398110664","filename":"file4"},{"photo_id":"1398110535","filename":"file1"},{"photo_id":"1398110512","filename":"file0"},{"photo_id":"1398110625","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398110704":["hashtag1","hashtag2"]},{"1398110512":["hashtag1","hashtag2"]},{"1398110577":["hashtag1","hashtag2"]},{"1398110535":["hashtag1","hashtag2"]},{"1398110664":["hashtag1","hashtag2"]},{"1398110625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398110704, 1398110512, 1398110577, 1398110535, 1398110664, 1398110625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23319959640503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:05:02.800493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/54/image_05122025_16_54_45_9744.jpg', '/home/pi/Desktop/images/05122025/16/54/image_05122025_16_54_55_9843.jpg', '/home/pi/Desktop/images/05122025/16/55/image_05122025_16_55_15_10054.jpg', '/home/pi/Desktop/images/05122025/16/55/image_05122025_16_55_25_10646.jpg', '/home/pi/Desktop/images/05122025/16/55/image_05122025_16_55_35_9557.jpg', '/home/pi/Desktop/images/05122025/16/55/image_05122025_16_55_45_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/54/image_05122025_16_54_45_9744.jpg
/home/pi/Desktop/images/05122025/16/54/image_05122025_16_54_55_9843.jpg
/home/pi/Desktop/images/05122025/16/55/image_05122025_16_55_15_10054.jpg
/home/pi/Desktop/images/05122025/16/55/image_05122025_16_55_25_10646.jpg
/home/pi/Desktop/images/05122025/16/55/image_05122025_16_55_35_9557.jpg
/home/pi/Desktop/images/05122025/16/55/image_05122025_16_55_45_10709.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":["1398110882","1398110983","1398110965","1398110988","1398110928","1398110844"],"photo_ids_order":["1398110844","1398110882","1398110928","1398110965","1398110983","1398110988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9e05e5e17c93a054963d6135833ad3a6.jpg","text":"TemporaryFile(/tmp/multipartBody6670835029334971923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954363497,"filename":"image_05122025_16_54_55_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/5/dd9eeb0f8f207156e08c2709ae061568.jpg","text":"TemporaryFile(/tmp/multipartBody55677490304846071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954363497,"filename":"image_05122025_16_55_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/5/ca1190326f6207ad59c46f4da6ca4eb8.jpg","text":"TemporaryFile(/tmp/multipartBody2333971659446648435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954363497,"filename":"image_05122025_16_55_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/5/736c1f04b0008a70a91f18f47ce83623.jpg","text":"TemporaryFile(/tmp/multipartBody3712528363848436155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954363497,"filename":"image_05122025_16_55_45_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/5/db676d9ae278321c09b989510a5484ce.jpg","text":"TemporaryFile(/tmp/multipartBody5731852681820679866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954363497,"filename":"image_05122025_16_55_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/5/ce0bd4759e5af948f792947454989337.jpg","text":"TemporaryFile(/tmp/multipartBody8512972550977185628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954363497,"filename":"image_05122025_16_54_45_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398110928","file1":"1398110882","file0":"1398110844","file4":"1398110983","file5":"1398110988","file3":"1398110965"},"map_files_photo_id_array":[{"photo_id":"1398110988","filename":"file5"},{"photo_id":"1398110928","filename":"file2"},{"photo_id":"1398110983","filename":"file4"},{"photo_id":"1398110882","filename":"file1"},{"photo_id":"1398110844","filename":"file0"},{"photo_id":"1398110965","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398110882":["hashtag1","hashtag2"]},{"1398110983":["hashtag1","hashtag2"]},{"1398110965":["hashtag1","hashtag2"]},{"1398110988":["hashtag1","hashtag2"]},{"1398110928":["hashtag1","hashtag2"]},{"1398110844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398110882, 1398110983, 1398110965, 1398110988, 1398110928, 1398110844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80161929130554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:06:02.632043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/55/image_05122025_16_55_55_9675.jpg', '/home/pi/Desktop/images/05122025/16/55/image_05122025_16_56_05_9649.jpg', '/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_15_10701.jpg', '/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_25_9891.jpg', '/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_35_9539.jpg', '/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_45_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/55/image_05122025_16_55_55_9675.jpg
/home/pi/Desktop/images/05122025/16/55/image_05122025_16_56_05_9649.jpg
/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_15_10701.jpg
/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_25_9891.jpg
/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_35_9539.jpg
/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_45_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":["1398111104","1398111101","1398111106","1398111099","1398111108","1398111098"],"photo_ids_order":["1398111098","1398111099","1398111101","1398111104","1398111106","1398111108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb2eb1ddbb5dc467817da3f64b24c972.jpg","text":"TemporaryFile(/tmp/multipartBody197738853524583817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954423318,"filename":"image_05122025_16_56_25_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/649178ba7f51fbeb0a6ffbc45b6cf000.jpg","text":"TemporaryFile(/tmp/multipartBody434257538315397273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954423318,"filename":"image_05122025_16_56_15_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/5/b28c0f362e8d3b1065faed2606921b29.jpg","text":"TemporaryFile(/tmp/multipartBody921452252275391299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954423318,"filename":"image_05122025_16_56_35_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/5/4ee776f88449d11029a03da65636b475.jpg","text":"TemporaryFile(/tmp/multipartBody3484230287561540765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954423318,"filename":"image_05122025_16_56_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/5/d1be69d4e6e6e7358e2917abcab7cd0f.jpg","text":"TemporaryFile(/tmp/multipartBody3693306066474786105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954423318,"filename":"image_05122025_16_56_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/5/b09c767cb1d71febaa1410e7f653c458.jpg","text":"TemporaryFile(/tmp/multipartBody6377906440774895611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954423318,"filename":"image_05122025_16_55_55_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111101","file1":"1398111099","file0":"1398111098","file4":"1398111106","file5":"1398111108","file3":"1398111104"},"map_files_photo_id_array":[{"photo_id":"1398111108","filename":"file5"},{"photo_id":"1398111101","filename":"file2"},{"photo_id":"1398111106","filename":"file4"},{"photo_id":"1398111099","filename":"file1"},{"photo_id":"1398111098","filename":"file0"},{"photo_id":"1398111104","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398111104":["hashtag1","hashtag2"]},{"1398111101":["hashtag1","hashtag2"]},{"1398111106":["hashtag1","hashtag2"]},{"1398111099":["hashtag1","hashtag2"]},{"1398111108":["hashtag1","hashtag2"]},{"1398111098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398111104, 1398111101, 1398111106, 1398111099, 1398111108, 1398111098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.863367795944214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:06:42.227750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_13_3615.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_16_2585.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_18_2708.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_25_2746.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_27_2547.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_31_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_13_3615.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_16_2585.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_18_2708.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_25_2746.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_27_2547.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_31_3615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398111137","1398111122","1398111116","1398111125","1398111133","1398111120"],"photo_ids_order":["1398111116","1398111120","1398111122","1398111125","1398111133","1398111137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c2828cde774443a5965fd196abfdd549.jpg","text":"TemporaryFile(/tmp/multipartBody6218876639256581211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954463798,"filename":"image_31102025_20_13_31_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/5/37e565e3a8883026a92ccf0a0ef6df9d.jpg","text":"TemporaryFile(/tmp/multipartBody4619772938545965692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954463798,"filename":"image_31102025_20_13_18_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/5/eb55969d39b170f10572a8b83a802b1d.jpg","text":"TemporaryFile(/tmp/multipartBody7302206257146990635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954463798,"filename":"image_31102025_20_13_13_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/5/c27b06b50b8734a2bc669d41c6b423b1.jpg","text":"TemporaryFile(/tmp/multipartBody4399136029032757054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954463798,"filename":"image_31102025_20_13_25_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/5/33fbbdac698c7501b8fe810b9c086fba.jpg","text":"TemporaryFile(/tmp/multipartBody8077728575808605802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954463798,"filename":"image_31102025_20_13_27_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/5/1a28f8f3559e25f3ee5a195caa33dd30.jpg","text":"TemporaryFile(/tmp/multipartBody1336369791585161713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954463798,"filename":"image_31102025_20_13_16_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111122","file1":"1398111120","file0":"1398111116","file4":"1398111133","file5":"1398111137","file3":"1398111125"},"map_files_photo_id_array":[{"photo_id":"1398111137","filename":"file5"},{"photo_id":"1398111122","filename":"file2"},{"photo_id":"1398111133","filename":"file4"},{"photo_id":"1398111120","filename":"file1"},{"photo_id":"1398111116","filename":"file0"},{"photo_id":"1398111125","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398111137":["hashtag1","hashtag2"]},{"1398111122":["hashtag1","hashtag2"]},{"1398111116":["hashtag1","hashtag2"]},{"1398111125":["hashtag1","hashtag2"]},{"1398111133":["hashtag1","hashtag2"]},{"1398111120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398111137, 1398111122, 1398111116, 1398111125, 1398111133, 1398111120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85320234298706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:07:22.486865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_55_10566.jpg', '/home/pi/Desktop/images/05122025/16/56/image_05122025_16_57_05_9662.jpg', '/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_15_9808.jpg', '/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_25_10683.jpg', '/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_35_9537.jpg', '/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_45_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_55_10566.jpg
/home/pi/Desktop/images/05122025/16/56/image_05122025_16_57_05_9662.jpg
/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_15_9808.jpg
/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_25_10683.jpg
/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_35_9537.jpg
/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_45_9952.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5400099754333496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 18:07:32.413277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/20/image_02122025_23_20_44_10702.jpg', '/home/pi/Desktop/images/02122025/23/20/image_02122025_23_20_54_9749.jpg', '/home/pi/Desktop/images/02122025/23/20/image_02122025_23_21_04_9947.jpg', '/home/pi/Desktop/images/02122025/23/21/image_02122025_23_21_24_9736.jpg', '/home/pi/Desktop/images/02122025/23/22/image_02122025_23_22_24_9875.jpg', '/home/pi/Desktop/images/02122025/23/23/image_02122025_23_23_24_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/20/image_02122025_23_20_44_10702.jpg
/home/pi/Desktop/images/02122025/23/20/image_02122025_23_20_54_9749.jpg
/home/pi/Desktop/images/02122025/23/20/image_02122025_23_21_04_9947.jpg
/home/pi/Desktop/images/02122025/23/21/image_02122025_23_21_24_9736.jpg
/home/pi/Desktop/images/02122025/23/22/image_02122025_23_22_24_9875.jpg
/home/pi/Desktop/images/02122025/23/23/image_02122025_23_23_24_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398111151","1398111175","1398111157","1398111174","1398111170","1398111173"],"photo_ids_order":["1398111151","1398111157","1398111170","1398111173","1398111174","1398111175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc47a4aca5bdb309a77cffc6a45e4ae3.jpg","text":"TemporaryFile(/tmp/multipartBody592578258737207384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954514634,"filename":"image_02122025_23_20_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/5/a48229915c8e37dbeadfc206fa3dc199.jpg","text":"TemporaryFile(/tmp/multipartBody8107218916357298976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954514634,"filename":"image_02122025_23_23_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9610661c7d33571a1126f971244fdd47.jpg","text":"TemporaryFile(/tmp/multipartBody6606624847888262050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954514634,"filename":"image_02122025_23_20_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/5/98140b5f2c6503c5e695dbf946c1e19a.jpg","text":"TemporaryFile(/tmp/multipartBody5271319078427036202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954514634,"filename":"image_02122025_23_22_24_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a01f733e57d33df058bfbb523461043.jpg","text":"TemporaryFile(/tmp/multipartBody1412256257182782589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954514634,"filename":"image_02122025_23_21_04_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/5/66feb4fbff56d46fbfc0accb14d29f60.jpg","text":"TemporaryFile(/tmp/multipartBody1944834056270046998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954514634,"filename":"image_02122025_23_21_24_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111170","file1":"1398111157","file0":"1398111151","file4":"1398111174","file5":"1398111175","file3":"1398111173"},"map_files_photo_id_array":[{"photo_id":"1398111175","filename":"file5"},{"photo_id":"1398111170","filename":"file2"},{"photo_id":"1398111174","filename":"file4"},{"photo_id":"1398111157","filename":"file1"},{"photo_id":"1398111151","filename":"file0"},{"photo_id":"1398111173","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398111151":["hashtag1","hashtag2"]},{"1398111175":["hashtag1","hashtag2"]},{"1398111157":["hashtag1","hashtag2"]},{"1398111174":["hashtag1","hashtag2"]},{"1398111170":["hashtag1","hashtag2"]},{"1398111173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398111151, 1398111175, 1398111157, 1398111174, 1398111170, 1398111173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47087383270264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 18:08:12.628767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/23/image_02122025_23_23_34_9770.jpg', '/home/pi/Desktop/images/02122025/23/23/image_02122025_23_23_44_10135.jpg', '/home/pi/Desktop/images/02122025/23/23/image_02122025_23_23_54_9581.jpg', '/home/pi/Desktop/images/02122025/23/23/image_02122025_23_24_04_10674.jpg', '/home/pi/Desktop/images/02122025/23/24/image_02122025_23_24_14_9839.jpg', '/home/pi/Desktop/images/02122025/23/25/image_02122025_23_26_04_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/23/image_02122025_23_23_34_9770.jpg
/home/pi/Desktop/images/02122025/23/23/image_02122025_23_23_44_10135.jpg
/home/pi/Desktop/images/02122025/23/23/image_02122025_23_23_54_9581.jpg
/home/pi/Desktop/images/02122025/23/23/image_02122025_23_24_04_10674.jpg
/home/pi/Desktop/images/02122025/23/24/image_02122025_23_24_14_9839.jpg
/home/pi/Desktop/images/02122025/23/25/image_02122025_23_26_04_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398111200","1398111178","1398111186","1398111180","1398111183","1398111188"],"photo_ids_order":["1398111178","1398111180","1398111183","1398111186","1398111188","1398111200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa4b2a032552ae3d36c9b5e99269583c.jpg","text":"TemporaryFile(/tmp/multipartBody2049496347955767160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954554630,"filename":"image_02122025_23_26_04_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c6fb1fa8b4ce1b43f2947aaff1edacaa.jpg","text":"TemporaryFile(/tmp/multipartBody5678669886965560968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954554630,"filename":"image_02122025_23_23_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/5/e755c8c7bfcc3190ad8d052a6e94d1ab.jpg","text":"TemporaryFile(/tmp/multipartBody8281352714960333455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954554630,"filename":"image_02122025_23_24_04_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/5/36c22958ecc5de50c0082daf0305ea9a.jpg","text":"TemporaryFile(/tmp/multipartBody761793679556014717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954554630,"filename":"image_02122025_23_23_44_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/5/3bc7ed0128a2472de89462431a5bbcf6.jpg","text":"TemporaryFile(/tmp/multipartBody6886785340793929978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954554630,"filename":"image_02122025_23_23_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e1708a494069618aa1eb53f3240adc7f.jpg","text":"TemporaryFile(/tmp/multipartBody7527057409604294425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954554630,"filename":"image_02122025_23_24_14_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111183","file1":"1398111180","file0":"1398111178","file4":"1398111188","file5":"1398111200","file3":"1398111186"},"map_files_photo_id_array":[{"photo_id":"1398111200","filename":"file5"},{"photo_id":"1398111183","filename":"file2"},{"photo_id":"1398111188","filename":"file4"},{"photo_id":"1398111180","filename":"file1"},{"photo_id":"1398111178","filename":"file0"},{"photo_id":"1398111186","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398111200":["hashtag1","hashtag2"]},{"1398111178":["hashtag1","hashtag2"]},{"1398111186":["hashtag1","hashtag2"]},{"1398111180":["hashtag1","hashtag2"]},{"1398111183":["hashtag1","hashtag2"]},{"1398111188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398111200, 1398111178, 1398111186, 1398111180, 1398111183, 1398111188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.645198345184326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:09:02.801737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_55_10566.jpg', '/home/pi/Desktop/images/05122025/16/56/image_05122025_16_57_05_9662.jpg', '/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_15_9808.jpg', '/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_25_10683.jpg', '/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_35_9537.jpg', '/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_45_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/56/image_05122025_16_56_55_10566.jpg
/home/pi/Desktop/images/05122025/16/56/image_05122025_16_57_05_9662.jpg
/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_15_9808.jpg
/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_25_10683.jpg
/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_35_9537.jpg
/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_45_9952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398111341","1398111298","1398111348","1398111336","1398111351","1398111359"],"photo_ids_order":["1398111298","1398111336","1398111341","1398111348","1398111351","1398111359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6871eeb9bdbec84c5cfb20d29a2e12b4.jpg","text":"TemporaryFile(/tmp/multipartBody2372358658785392054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954603604,"filename":"image_05122025_16_57_15_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc7f2e8917713296d3c111207cb5a5b6.jpg","text":"TemporaryFile(/tmp/multipartBody2680038356547710945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954603604,"filename":"image_05122025_16_56_55_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/de3e207f59c59d977fd5c3255913a1e5.jpg","text":"TemporaryFile(/tmp/multipartBody7600759709748021170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954603604,"filename":"image_05122025_16_57_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/5/7395dccef9d90a3b602a0b8f8f0506c8.jpg","text":"TemporaryFile(/tmp/multipartBody1469457517193187069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954603604,"filename":"image_05122025_16_57_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/5/d81a459189f30d58ef6bc90f0ee8abb4.jpg","text":"TemporaryFile(/tmp/multipartBody7000899719627431215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954603604,"filename":"image_05122025_16_57_35_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/5/c9eba1999a6d456ce727ecb34873d695.jpg","text":"TemporaryFile(/tmp/multipartBody3632383855442539835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954603604,"filename":"image_05122025_16_57_45_9952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111341","file1":"1398111336","file0":"1398111298","file4":"1398111351","file5":"1398111359","file3":"1398111348"},"map_files_photo_id_array":[{"photo_id":"1398111359","filename":"file5"},{"photo_id":"1398111341","filename":"file2"},{"photo_id":"1398111351","filename":"file4"},{"photo_id":"1398111336","filename":"file1"},{"photo_id":"1398111298","filename":"file0"},{"photo_id":"1398111348","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398111341":["hashtag1","hashtag2"]},{"1398111298":["hashtag1","hashtag2"]},{"1398111348":["hashtag1","hashtag2"]},{"1398111336":["hashtag1","hashtag2"]},{"1398111351":["hashtag1","hashtag2"]},{"1398111359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398111341, 1398111298, 1398111348, 1398111336, 1398111351, 1398111359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84210467338562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:09:41.810727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_45_2664.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_49_3488.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_51_2692.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_55_3642.jpg', '/home/pi/Desktop/images/31102025/20/13/image_31102025_20_14_00_2784.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_03_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_45_2664.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_49_3488.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_51_2692.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_13_55_3642.jpg
/home/pi/Desktop/images/31102025/20/13/image_31102025_20_14_00_2784.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_03_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":["1398111368","1398111370","1398111372","1398111366","1398111369","1398111371"],"photo_ids_order":["1398111366","1398111368","1398111369","1398111370","1398111371","1398111372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/638aee3601045c3ca04e77a26f835235.jpg","text":"TemporaryFile(/tmp/multipartBody1636151929863641133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954643325,"filename":"image_31102025_20_13_49_3488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/72ca15e80293f75766fac21121fc63ab.jpg","text":"TemporaryFile(/tmp/multipartBody7647367757828701736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954643325,"filename":"image_31102025_20_13_55_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/5/b993e0c0d3ab56cff31499cad0a67f1f.jpg","text":"TemporaryFile(/tmp/multipartBody3561015756602272148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954643325,"filename":"image_31102025_20_14_03_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/5/3f612cc6be028309459488631d8eeda0.jpg","text":"TemporaryFile(/tmp/multipartBody2981125530719916263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954643325,"filename":"image_31102025_20_13_45_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/5/c2c881554ad3fb5590a256ee3b4467da.jpg","text":"TemporaryFile(/tmp/multipartBody2023912941972903078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954643325,"filename":"image_31102025_20_13_51_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/5/efded753ba982edfcc80a79f34a8936e.jpg","text":"TemporaryFile(/tmp/multipartBody1320487586739095937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954643325,"filename":"image_31102025_20_14_00_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111369","file1":"1398111368","file0":"1398111366","file4":"1398111371","file5":"1398111372","file3":"1398111370"},"map_files_photo_id_array":[{"photo_id":"1398111372","filename":"file5"},{"photo_id":"1398111369","filename":"file2"},{"photo_id":"1398111371","filename":"file4"},{"photo_id":"1398111368","filename":"file1"},{"photo_id":"1398111366","filename":"file0"},{"photo_id":"1398111370","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398111368":["hashtag1","hashtag2"]},{"1398111370":["hashtag1","hashtag2"]},{"1398111372":["hashtag1","hashtag2"]},{"1398111366":["hashtag1","hashtag2"]},{"1398111369":["hashtag1","hashtag2"]},{"1398111371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398111368, 1398111370, 1398111372, 1398111366, 1398111369, 1398111371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.450268507003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:10:22.090338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_55_10608.jpg', '/home/pi/Desktop/images/05122025/16/57/image_05122025_16_58_05_9789.jpg', '/home/pi/Desktop/images/05122025/16/58/image_05122025_16_58_15_9839.jpg', '/home/pi/Desktop/images/05122025/16/58/image_05122025_16_58_25_9584.jpg', '/home/pi/Desktop/images/05122025/16/58/image_05122025_16_58_35_10570.jpg', '/home/pi/Desktop/images/05122025/16/58/image_05122025_16_58_45_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/57/image_05122025_16_57_55_10608.jpg
/home/pi/Desktop/images/05122025/16/57/image_05122025_16_58_05_9789.jpg
/home/pi/Desktop/images/05122025/16/58/image_05122025_16_58_15_9839.jpg
/home/pi/Desktop/images/05122025/16/58/image_05122025_16_58_25_9584.jpg
/home/pi/Desktop/images/05122025/16/58/image_05122025_16_58_35_10570.jpg
/home/pi/Desktop/images/05122025/16/58/image_05122025_16_58_45_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398111407","1398111387","1398111381","1398111375","1398111378","1398111395"],"photo_ids_order":["1398111375","1398111378","1398111381","1398111387","1398111395","1398111407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/15eaca4adb6aff8872f14f73a9cecb9c.jpg","text":"TemporaryFile(/tmp/multipartBody3698768419849227037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954682720,"filename":"image_05122025_16_58_45_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/5/3f8eeaad29b02b9975f8429d599e28b2.jpg","text":"TemporaryFile(/tmp/multipartBody2118049512000482684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954682720,"filename":"image_05122025_16_58_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49dd21f96fda0b88c1dce0708e1f2714.jpg","text":"TemporaryFile(/tmp/multipartBody1943662172575084182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954682720,"filename":"image_05122025_16_58_15_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/5/c7bd9f0a911c0667f4ae980ef474c274.jpg","text":"TemporaryFile(/tmp/multipartBody3976655927678478612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954682720,"filename":"image_05122025_16_57_55_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/5/4c94e33309a2efa6810ff8653285fe13.jpg","text":"TemporaryFile(/tmp/multipartBody780420212368703878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954682720,"filename":"image_05122025_16_58_05_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/832914294876e0483f381ab0e8ff422d.jpg","text":"TemporaryFile(/tmp/multipartBody1416976727395964166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954682720,"filename":"image_05122025_16_58_35_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111381","file1":"1398111378","file0":"1398111375","file4":"1398111395","file5":"1398111407","file3":"1398111387"},"map_files_photo_id_array":[{"photo_id":"1398111407","filename":"file5"},{"photo_id":"1398111381","filename":"file2"},{"photo_id":"1398111395","filename":"file4"},{"photo_id":"1398111378","filename":"file1"},{"photo_id":"1398111375","filename":"file0"},{"photo_id":"1398111387","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398111407":["hashtag1","hashtag2"]},{"1398111387":["hashtag1","hashtag2"]},{"1398111381":["hashtag1","hashtag2"]},{"1398111375":["hashtag1","hashtag2"]},{"1398111378":["hashtag1","hashtag2"]},{"1398111395":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398111407, 1398111387, 1398111381, 1398111375, 1398111378, 1398111395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08008074760437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:11:02.846382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/58/image_05122025_16_58_55_9793.jpg', '/home/pi/Desktop/images/05122025/16/58/image_05122025_16_59_05_10738.jpg', '/home/pi/Desktop/images/05122025/16/59/image_05122025_16_59_15_9804.jpg', '/home/pi/Desktop/images/05122025/16/59/image_05122025_16_59_25_9635.jpg', '/home/pi/Desktop/images/05122025/16/59/image_05122025_16_59_35_10593.jpg', '/home/pi/Desktop/images/05122025/16/59/image_05122025_16_59_45_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/58/image_05122025_16_58_55_9793.jpg
/home/pi/Desktop/images/05122025/16/58/image_05122025_16_59_05_10738.jpg
/home/pi/Desktop/images/05122025/16/59/image_05122025_16_59_15_9804.jpg
/home/pi/Desktop/images/05122025/16/59/image_05122025_16_59_25_9635.jpg
/home/pi/Desktop/images/05122025/16/59/image_05122025_16_59_35_10593.jpg
/home/pi/Desktop/images/05122025/16/59/image_05122025_16_59_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":["1398111431","1398111434","1398111436","1398111433","1398111427","1398111429"],"photo_ids_order":["1398111427","1398111429","1398111431","1398111433","1398111434","1398111436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/249f042634a1226dee03b355a11940b7.jpg","text":"TemporaryFile(/tmp/multipartBody7672498007395311529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954723518,"filename":"image_05122025_16_59_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/5/ef2b36050f6b98009eaed2dbf4b45855.jpg","text":"TemporaryFile(/tmp/multipartBody3595453807314167227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954723518,"filename":"image_05122025_16_59_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/5/60d52cbe74cf58b71b8b63314332c119.jpg","text":"TemporaryFile(/tmp/multipartBody1503444850340724130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954723518,"filename":"image_05122025_16_59_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/5/9d0e15487c06db596224cbca2d3d6660.jpg","text":"TemporaryFile(/tmp/multipartBody7478251677638907512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954723518,"filename":"image_05122025_16_59_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/5/a609b882c8e54d086d2cf7beb33ea96b.jpg","text":"TemporaryFile(/tmp/multipartBody2261261702424977029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954723518,"filename":"image_05122025_16_58_55_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/5/dde13f2efce30e173e9839f3da98a8f4.jpg","text":"TemporaryFile(/tmp/multipartBody1407042782985786062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954723518,"filename":"image_05122025_16_59_05_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111431","file1":"1398111429","file0":"1398111427","file4":"1398111434","file5":"1398111436","file3":"1398111433"},"map_files_photo_id_array":[{"photo_id":"1398111436","filename":"file5"},{"photo_id":"1398111431","filename":"file2"},{"photo_id":"1398111434","filename":"file4"},{"photo_id":"1398111429","filename":"file1"},{"photo_id":"1398111427","filename":"file0"},{"photo_id":"1398111433","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398111431":["hashtag1","hashtag2"]},{"1398111434":["hashtag1","hashtag2"]},{"1398111436":["hashtag1","hashtag2"]},{"1398111433":["hashtag1","hashtag2"]},{"1398111427":["hashtag1","hashtag2"]},{"1398111429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398111431, 1398111434, 1398111436, 1398111433, 1398111427, 1398111429)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.12236571311951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:12:11.747195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/16/59/image_05122025_16_59_55_9624.jpg', '/home/pi/Desktop/images/05122025/17/00/image_05122025_17_00_14_10055.jpg', '/home/pi/Desktop/images/05122025/17/00/image_05122025_17_00_25_10726.jpg', '/home/pi/Desktop/images/05122025/17/00/image_05122025_17_00_35_9597.jpg', '/home/pi/Desktop/images/05122025/17/00/image_05122025_17_00_44_9655.jpg', '/home/pi/Desktop/images/05122025/17/00/image_05122025_17_00_55_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/16/59/image_05122025_16_59_55_9624.jpg
/home/pi/Desktop/images/05122025/17/00/image_05122025_17_00_14_10055.jpg
/home/pi/Desktop/images/05122025/17/00/image_05122025_17_00_25_10726.jpg
/home/pi/Desktop/images/05122025/17/00/image_05122025_17_00_35_9597.jpg
/home/pi/Desktop/images/05122025/17/00/image_05122025_17_00_44_9655.jpg
/home/pi/Desktop/images/05122025/17/00/image_05122025_17_00_55_10769.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":["1398111551","1398111553","1398111562","1398111556","1398111559","1398111550"],"photo_ids_order":["1398111550","1398111551","1398111553","1398111556","1398111559","1398111562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d3783183714d5b81e976e8ea2b5baba.jpg","text":"TemporaryFile(/tmp/multipartBody2861539382764128304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954794697,"filename":"image_05122025_17_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/5/16acd0008c95928a2fd5b09e4449d2e4.jpg","text":"TemporaryFile(/tmp/multipartBody4516210639376307240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954794697,"filename":"image_05122025_17_00_25_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/5/0addebdb15861e133e68eed0107b76a4.jpg","text":"TemporaryFile(/tmp/multipartBody7216305165324891178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954794697,"filename":"image_05122025_17_00_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/5/32e72291bd9fe88eb4ef9ce58b7da8f8.jpg","text":"TemporaryFile(/tmp/multipartBody5536236104679254974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954794697,"filename":"image_05122025_17_00_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/5/3a3ae65fa39c38357e5f781a7aaeb4c0.jpg","text":"TemporaryFile(/tmp/multipartBody336340150516424424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954794697,"filename":"image_05122025_17_00_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/5/3af1d223ff573c6dcef4a83076d9c47a.jpg","text":"TemporaryFile(/tmp/multipartBody4671279565757256964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954794697,"filename":"image_05122025_16_59_55_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111553","file1":"1398111551","file0":"1398111550","file4":"1398111559","file5":"1398111562","file3":"1398111556"},"map_files_photo_id_array":[{"photo_id":"1398111562","filename":"file5"},{"photo_id":"1398111553","filename":"file2"},{"photo_id":"1398111559","filename":"file4"},{"photo_id":"1398111551","filename":"file1"},{"photo_id":"1398111550","filename":"file0"},{"photo_id":"1398111556","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398111551":["hashtag1","hashtag2"]},{"1398111553":["hashtag1","hashtag2"]},{"1398111562":["hashtag1","hashtag2"]},{"1398111556":["hashtag1","hashtag2"]},{"1398111559":["hashtag1","hashtag2"]},{"1398111550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398111551, 1398111553, 1398111562, 1398111556, 1398111559, 1398111550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.706756591796875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:13:02.981706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/00/image_05122025_17_01_05_9724.jpg', '/home/pi/Desktop/images/05122025/17/01/image_05122025_17_01_14_9637.jpg', '/home/pi/Desktop/images/05122025/17/01/image_05122025_17_01_25_10703.jpg', '/home/pi/Desktop/images/05122025/17/01/image_05122025_17_01_35_9758.jpg', '/home/pi/Desktop/images/05122025/17/01/image_05122025_17_01_44_9566.jpg', '/home/pi/Desktop/images/05122025/17/01/image_05122025_17_01_54_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/00/image_05122025_17_01_05_9724.jpg
/home/pi/Desktop/images/05122025/17/01/image_05122025_17_01_14_9637.jpg
/home/pi/Desktop/images/05122025/17/01/image_05122025_17_01_25_10703.jpg
/home/pi/Desktop/images/05122025/17/01/image_05122025_17_01_35_9758.jpg
/home/pi/Desktop/images/05122025/17/01/image_05122025_17_01_44_9566.jpg
/home/pi/Desktop/images/05122025/17/01/image_05122025_17_01_54_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":["1398111572","1398111574","1398111568","1398111576","1398111570","1398111578"],"photo_ids_order":["1398111568","1398111570","1398111572","1398111574","1398111576","1398111578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5c9c69f1b1a2ace4c5eda4a18c2aa90a.jpg","text":"TemporaryFile(/tmp/multipartBody2269706882196847224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954843686,"filename":"image_05122025_17_01_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/5/e84dc81d67302346356c6ce6e14c0937.jpg","text":"TemporaryFile(/tmp/multipartBody2156802286241832610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954843686,"filename":"image_05122025_17_01_35_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6cb9ea4b461ae755538618a1eba9fe86.jpg","text":"TemporaryFile(/tmp/multipartBody3388802374448363237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954843686,"filename":"image_05122025_17_01_05_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f9a8d7a63e7d03eb908f7604aa3872a9.jpg","text":"TemporaryFile(/tmp/multipartBody5686364815460706882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954843686,"filename":"image_05122025_17_01_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/5/cc60be7c711195b7a14240bfa0ed00e7.jpg","text":"TemporaryFile(/tmp/multipartBody3572594397152888921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954843686,"filename":"image_05122025_17_01_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/5/838fe6d33bc6057d4aec50ea84030bb5.jpg","text":"TemporaryFile(/tmp/multipartBody9169900267017185812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954843686,"filename":"image_05122025_17_01_54_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111572","file1":"1398111570","file0":"1398111568","file4":"1398111576","file5":"1398111578","file3":"1398111574"},"map_files_photo_id_array":[{"photo_id":"1398111578","filename":"file5"},{"photo_id":"1398111572","filename":"file2"},{"photo_id":"1398111576","filename":"file4"},{"photo_id":"1398111570","filename":"file1"},{"photo_id":"1398111568","filename":"file0"},{"photo_id":"1398111574","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398111572":["hashtag1","hashtag2"]},{"1398111574":["hashtag1","hashtag2"]},{"1398111568":["hashtag1","hashtag2"]},{"1398111576":["hashtag1","hashtag2"]},{"1398111570":["hashtag1","hashtag2"]},{"1398111578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398111572, 1398111574, 1398111568, 1398111576, 1398111570, 1398111578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.154778718948364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:13:42.359227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_07_3557.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_13_3713.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_16_2874.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_19_2677.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_25_3585.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_30_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_07_3557.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_13_3713.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_16_2874.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_19_2677.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_25_3585.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_30_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398111586","1398111589","1398111591","1398111588","1398111587","1398111584"],"photo_ids_order":["1398111584","1398111586","1398111587","1398111588","1398111589","1398111591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/65087e57557ca8fb9db24aef889b57eb.jpg","text":"TemporaryFile(/tmp/multipartBody503897457767947905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954883931,"filename":"image_31102025_20_14_13_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/5/c39d2980d2bdad5e0ce16b18b9936a07.jpg","text":"TemporaryFile(/tmp/multipartBody2815518209050117375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954883931,"filename":"image_31102025_20_14_25_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/5/9c0a619a893b95c8f90d5d8592600551.jpg","text":"TemporaryFile(/tmp/multipartBody8745949318588132572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954883931,"filename":"image_31102025_20_14_30_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/5/2b73e6acf8a3979f7c7142722cfe5713.jpg","text":"TemporaryFile(/tmp/multipartBody3135760897126251705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954883931,"filename":"image_31102025_20_14_19_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/5/ce32da79e66ac7d46ca829eb95d7a098.jpg","text":"TemporaryFile(/tmp/multipartBody5292654295632146634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954883931,"filename":"image_31102025_20_14_16_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/5/e55c924735239c2b7e49a02b4f2c683b.jpg","text":"TemporaryFile(/tmp/multipartBody3915293235407012156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954883931,"filename":"image_31102025_20_14_07_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111587","file1":"1398111586","file0":"1398111584","file4":"1398111589","file5":"1398111591","file3":"1398111588"},"map_files_photo_id_array":[{"photo_id":"1398111591","filename":"file5"},{"photo_id":"1398111587","filename":"file2"},{"photo_id":"1398111589","filename":"file4"},{"photo_id":"1398111586","filename":"file1"},{"photo_id":"1398111584","filename":"file0"},{"photo_id":"1398111588","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398111586":["hashtag1","hashtag2"]},{"1398111589":["hashtag1","hashtag2"]},{"1398111591":["hashtag1","hashtag2"]},{"1398111588":["hashtag1","hashtag2"]},{"1398111587":["hashtag1","hashtag2"]},{"1398111584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398111586, 1398111589, 1398111591, 1398111588, 1398111587, 1398111584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32086753845215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:14:22.560686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/01/image_05122025_17_02_05_10647.jpg', '/home/pi/Desktop/images/05122025/17/02/image_05122025_17_02_14_9573.jpg', '/home/pi/Desktop/images/05122025/17/02/image_05122025_17_02_25_10689.jpg', '/home/pi/Desktop/images/05122025/17/02/image_05122025_17_02_35_9678.jpg', '/home/pi/Desktop/images/05122025/17/02/image_05122025_17_02_44_9521.jpg', '/home/pi/Desktop/images/05122025/17/02/image_05122025_17_02_55_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/01/image_05122025_17_02_05_10647.jpg
/home/pi/Desktop/images/05122025/17/02/image_05122025_17_02_14_9573.jpg
/home/pi/Desktop/images/05122025/17/02/image_05122025_17_02_25_10689.jpg
/home/pi/Desktop/images/05122025/17/02/image_05122025_17_02_35_9678.jpg
/home/pi/Desktop/images/05122025/17/02/image_05122025_17_02_44_9521.jpg
/home/pi/Desktop/images/05122025/17/02/image_05122025_17_02_55_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398111602","1398111610","1398111604","1398111597","1398111606","1398111599"],"photo_ids_order":["1398111597","1398111599","1398111602","1398111604","1398111606","1398111610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3092c57b3818cfcc03e88f49b8113a52.jpg","text":"TemporaryFile(/tmp/multipartBody289064191610200295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954923190,"filename":"image_05122025_17_02_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/5/207ae119eded861e53bab043ebf1b620.jpg","text":"TemporaryFile(/tmp/multipartBody800097605429609560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954923190,"filename":"image_05122025_17_02_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/5/a4cdc5475e5402726e06bf55e665f7dc.jpg","text":"TemporaryFile(/tmp/multipartBody8495934149484198477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954923190,"filename":"image_05122025_17_02_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/5/107ee16b0817c0b3fde6eeb849ea098a.jpg","text":"TemporaryFile(/tmp/multipartBody7155974384458559840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954923190,"filename":"image_05122025_17_02_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/5/df18026d7ce86e1e986e53a35368eb97.jpg","text":"TemporaryFile(/tmp/multipartBody8443689086288673901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954923190,"filename":"image_05122025_17_02_44_9521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/96beeac8b44c2730c1321e7d8e335887.jpg","text":"TemporaryFile(/tmp/multipartBody3696727458898237246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954923190,"filename":"image_05122025_17_02_14_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111602","file1":"1398111599","file0":"1398111597","file4":"1398111606","file5":"1398111610","file3":"1398111604"},"map_files_photo_id_array":[{"photo_id":"1398111610","filename":"file5"},{"photo_id":"1398111602","filename":"file2"},{"photo_id":"1398111606","filename":"file4"},{"photo_id":"1398111599","filename":"file1"},{"photo_id":"1398111597","filename":"file0"},{"photo_id":"1398111604","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398111602":["hashtag1","hashtag2"]},{"1398111610":["hashtag1","hashtag2"]},{"1398111604":["hashtag1","hashtag2"]},{"1398111597":["hashtag1","hashtag2"]},{"1398111606":["hashtag1","hashtag2"]},{"1398111599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398111602, 1398111610, 1398111604, 1398111597, 1398111606, 1398111599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8186457157135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:15:03.443584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/02/image_05122025_17_03_05_9715.jpg', '/home/pi/Desktop/images/05122025/17/03/image_05122025_17_03_14_9696.jpg', '/home/pi/Desktop/images/05122025/17/03/image_05122025_17_03_25_10540.jpg', '/home/pi/Desktop/images/05122025/17/03/image_05122025_17_03_34_9673.jpg', '/home/pi/Desktop/images/05122025/17/03/image_05122025_17_03_44_9682.jpg', '/home/pi/Desktop/images/05122025/17/03/image_05122025_17_03_55_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/02/image_05122025_17_03_05_9715.jpg
/home/pi/Desktop/images/05122025/17/03/image_05122025_17_03_14_9696.jpg
/home/pi/Desktop/images/05122025/17/03/image_05122025_17_03_25_10540.jpg
/home/pi/Desktop/images/05122025/17/03/image_05122025_17_03_34_9673.jpg
/home/pi/Desktop/images/05122025/17/03/image_05122025_17_03_44_9682.jpg
/home/pi/Desktop/images/05122025/17/03/image_05122025_17_03_55_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":["1398111671","1398111679","1398111703","1398111693","1398111700","1398111677"],"photo_ids_order":["1398111671","1398111677","1398111679","1398111693","1398111700","1398111703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c01fc2fa5ae0e0b85375b4738deb71b0.jpg","text":"TemporaryFile(/tmp/multipartBody1884777053311075033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954964136,"filename":"image_05122025_17_03_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/5/c660dfe530dd155ed79b4313ce6b9980.jpg","text":"TemporaryFile(/tmp/multipartBody403649063598741204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954964136,"filename":"image_05122025_17_03_25_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/71707d8fcd02a6f7a7bd252b209c10b4.jpg","text":"TemporaryFile(/tmp/multipartBody2696161459351021511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954964136,"filename":"image_05122025_17_03_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/5/dd3bb2a8abed944cc7f1c61a1501c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody2840657520005835739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954964136,"filename":"image_05122025_17_03_34_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1370780f4d2a28b14845ab334e4fb84f.jpg","text":"TemporaryFile(/tmp/multipartBody1161539429818529128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954964136,"filename":"image_05122025_17_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/5/495e840f00b1308a15113274605de0ac.jpg","text":"TemporaryFile(/tmp/multipartBody9082275017945336402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764954964136,"filename":"image_05122025_17_03_14_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111679","file1":"1398111677","file0":"1398111671","file4":"1398111700","file5":"1398111703","file3":"1398111693"},"map_files_photo_id_array":[{"photo_id":"1398111703","filename":"file5"},{"photo_id":"1398111679","filename":"file2"},{"photo_id":"1398111700","filename":"file4"},{"photo_id":"1398111677","filename":"file1"},{"photo_id":"1398111671","filename":"file0"},{"photo_id":"1398111693","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398111671":["hashtag1","hashtag2"]},{"1398111679":["hashtag1","hashtag2"]},{"1398111703":["hashtag1","hashtag2"]},{"1398111693":["hashtag1","hashtag2"]},{"1398111700":["hashtag1","hashtag2"]},{"1398111677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398111671, 1398111679, 1398111703, 1398111693, 1398111700, 1398111677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23831844329834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:15:42.645258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_34_3671.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_36_2559.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_39_2696.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_43_3623.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_45_2485.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_48_2894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_34_3671.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_36_2559.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_39_2696.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_43_3623.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_45_2485.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_48_2894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398111764","1398111800","1398111859","1398111835","1398111724","1398111858"],"photo_ids_order":["1398111724","1398111764","1398111800","1398111835","1398111858","1398111859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/112ece5efd495320529013ee1ba0f577.jpg","text":"TemporaryFile(/tmp/multipartBody4495330274144895168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955004203,"filename":"image_31102025_20_14_36_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/036b0e08952c9f7bcb3b4fd167a7c5c7.jpg","text":"TemporaryFile(/tmp/multipartBody5178891128081432462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955004203,"filename":"image_31102025_20_14_39_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/5/adf810d66598ef2c2287316dfc0f895a.jpg","text":"TemporaryFile(/tmp/multipartBody4273625270428293344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955004203,"filename":"image_31102025_20_14_48_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b49b8e8851f093acf544bcdec2db037d.jpg","text":"TemporaryFile(/tmp/multipartBody1792634809602650599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955004203,"filename":"image_31102025_20_14_43_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/5/990404e8f3811f7213a531948a95ed64.jpg","text":"TemporaryFile(/tmp/multipartBody1122160462478790532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955004203,"filename":"image_31102025_20_14_34_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/5/7efc1fd8bdf850cf0c6cf0bd6d5ad91e.jpg","text":"TemporaryFile(/tmp/multipartBody2505433073258648850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955004203,"filename":"image_31102025_20_14_45_2485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111800","file1":"1398111764","file0":"1398111724","file4":"1398111858","file5":"1398111859","file3":"1398111835"},"map_files_photo_id_array":[{"photo_id":"1398111859","filename":"file5"},{"photo_id":"1398111800","filename":"file2"},{"photo_id":"1398111858","filename":"file4"},{"photo_id":"1398111764","filename":"file1"},{"photo_id":"1398111724","filename":"file0"},{"photo_id":"1398111835","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398111764":["hashtag1","hashtag2"]},{"1398111800":["hashtag1","hashtag2"]},{"1398111859":["hashtag1","hashtag2"]},{"1398111835":["hashtag1","hashtag2"]},{"1398111724":["hashtag1","hashtag2"]},{"1398111858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398111764, 1398111800, 1398111859, 1398111835, 1398111724, 1398111858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.699506998062134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:16:22.924267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/03/image_05122025_17_04_04_9622.jpg', '/home/pi/Desktop/images/05122025/17/04/image_05122025_17_04_15_10640.jpg', '/home/pi/Desktop/images/05122025/17/04/image_05122025_17_04_25_9645.jpg', '/home/pi/Desktop/images/05122025/17/04/image_05122025_17_04_34_9624.jpg', '/home/pi/Desktop/images/05122025/17/04/image_05122025_17_04_45_10602.jpg', '/home/pi/Desktop/images/05122025/17/04/image_05122025_17_04_55_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/03/image_05122025_17_04_04_9622.jpg
/home/pi/Desktop/images/05122025/17/04/image_05122025_17_04_15_10640.jpg
/home/pi/Desktop/images/05122025/17/04/image_05122025_17_04_25_9645.jpg
/home/pi/Desktop/images/05122025/17/04/image_05122025_17_04_34_9624.jpg
/home/pi/Desktop/images/05122025/17/04/image_05122025_17_04_45_10602.jpg
/home/pi/Desktop/images/05122025/17/04/image_05122025_17_04_55_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":["1398111935","1398111929","1398111931","1398111922","1398111904","1398111896"],"photo_ids_order":["1398111896","1398111904","1398111922","1398111929","1398111931","1398111935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ddffc9bb43f1b2b3747c4916ad1b9c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1199973071730945527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955043531,"filename":"image_05122025_17_04_55_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/5/b575e733c5e38427f14cf0cf2a216ca8.jpg","text":"TemporaryFile(/tmp/multipartBody8219437285064580690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955043531,"filename":"image_05122025_17_04_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/5/ab1b10a60d06c664fafaf0eaed8c952a.jpg","text":"TemporaryFile(/tmp/multipartBody885728336903839745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955043531,"filename":"image_05122025_17_04_45_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/5/687f288caf2bcc91d74f28b6ae497336.jpg","text":"TemporaryFile(/tmp/multipartBody6046759111168225645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955043531,"filename":"image_05122025_17_04_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/5/81cc40dfd6a30243b382446aa8b53695.jpg","text":"TemporaryFile(/tmp/multipartBody2139919132640140548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955043531,"filename":"image_05122025_17_04_15_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/5/b5c5e5c5dcfe06bce3063b32b2dbdc5f.jpg","text":"TemporaryFile(/tmp/multipartBody5457129893701869689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955043531,"filename":"image_05122025_17_04_04_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398111922","file1":"1398111904","file0":"1398111896","file4":"1398111931","file5":"1398111935","file3":"1398111929"},"map_files_photo_id_array":[{"photo_id":"1398111935","filename":"file5"},{"photo_id":"1398111922","filename":"file2"},{"photo_id":"1398111931","filename":"file4"},{"photo_id":"1398111904","filename":"file1"},{"photo_id":"1398111896","filename":"file0"},{"photo_id":"1398111929","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398111935":["hashtag1","hashtag2"]},{"1398111929":["hashtag1","hashtag2"]},{"1398111931":["hashtag1","hashtag2"]},{"1398111922":["hashtag1","hashtag2"]},{"1398111904":["hashtag1","hashtag2"]},{"1398111896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398111935, 1398111929, 1398111931, 1398111922, 1398111904, 1398111896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.322630167007446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:17:02.699375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/05/image_05122025_17_05_14_10056.jpg', '/home/pi/Desktop/images/05122025/17/05/image_05122025_17_05_25_10727.jpg', '/home/pi/Desktop/images/05122025/17/05/image_05122025_17_05_44_9631.jpg', '/home/pi/Desktop/images/05122025/17/05/image_05122025_17_05_55_10594.jpg', '/home/pi/Desktop/images/05122025/17/05/image_05122025_17_06_05_9778.jpg', '/home/pi/Desktop/images/05122025/17/06/image_05122025_17_06_14_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/05/image_05122025_17_05_14_10056.jpg
/home/pi/Desktop/images/05122025/17/05/image_05122025_17_05_25_10727.jpg
/home/pi/Desktop/images/05122025/17/05/image_05122025_17_05_44_9631.jpg
/home/pi/Desktop/images/05122025/17/05/image_05122025_17_05_55_10594.jpg
/home/pi/Desktop/images/05122025/17/05/image_05122025_17_06_05_9778.jpg
/home/pi/Desktop/images/05122025/17/06/image_05122025_17_06_14_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":["1398112025","1398112019","1398112021","1398112023","1398112017","1398112014"],"photo_ids_order":["1398112014","1398112017","1398112019","1398112021","1398112023","1398112025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1105a809d83bb97dff261309bd0d0c0c.jpg","text":"TemporaryFile(/tmp/multipartBody8892650427277194546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955083415,"filename":"image_05122025_17_06_14_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/5/43d5ddabc17f902027236d8e24fd1d0d.jpg","text":"TemporaryFile(/tmp/multipartBody3705487308842197330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955083415,"filename":"image_05122025_17_05_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/5/24021b0c8d511bb5b1d0e6305958fbd2.jpg","text":"TemporaryFile(/tmp/multipartBody7520774984249433866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955083415,"filename":"image_05122025_17_05_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/5/a221d57463d502bf17759d1575f641f6.jpg","text":"TemporaryFile(/tmp/multipartBody6278360404065140596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955083415,"filename":"image_05122025_17_06_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/5/83391aba48a24961b28349b8df2d1039.jpg","text":"TemporaryFile(/tmp/multipartBody7189547516976715847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955083415,"filename":"image_05122025_17_05_25_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/5/fbb96a992d8915636df31d2e64c99fa6.jpg","text":"TemporaryFile(/tmp/multipartBody4729157959667629807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955083415,"filename":"image_05122025_17_05_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112019","file1":"1398112017","file0":"1398112014","file4":"1398112023","file5":"1398112025","file3":"1398112021"},"map_files_photo_id_array":[{"photo_id":"1398112025","filename":"file5"},{"photo_id":"1398112019","filename":"file2"},{"photo_id":"1398112023","filename":"file4"},{"photo_id":"1398112017","filename":"file1"},{"photo_id":"1398112014","filename":"file0"},{"photo_id":"1398112021","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112025":["hashtag1","hashtag2"]},{"1398112019":["hashtag1","hashtag2"]},{"1398112021":["hashtag1","hashtag2"]},{"1398112023":["hashtag1","hashtag2"]},{"1398112017":["hashtag1","hashtag2"]},{"1398112014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112025, 1398112019, 1398112021, 1398112023, 1398112017, 1398112014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.567652463912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:17:41.977622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_52_3612.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_54_2600.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_57_2732.jpg', '/home/pi/Desktop/images/31102025/20/14/image_31102025_20_15_01_3935.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_04_2704.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_06_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_52_3612.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_54_2600.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_14_57_2732.jpg
/home/pi/Desktop/images/31102025/20/14/image_31102025_20_15_01_3935.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_04_2704.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_06_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":["1398112031","1398112033","1398112036","1398112035","1398112034","1398112037"],"photo_ids_order":["1398112031","1398112033","1398112034","1398112035","1398112036","1398112037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/581964444c42e7672823b037e6e05fc4.jpg","text":"TemporaryFile(/tmp/multipartBody5116263866133402657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955123542,"filename":"image_31102025_20_14_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/5/c27ffdea86ee6f2c5e4ef48115b9a29b.jpg","text":"TemporaryFile(/tmp/multipartBody6166679701613850045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955123542,"filename":"image_31102025_20_14_54_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/5/83903b68f2766348c69ca19affb2f18a.jpg","text":"TemporaryFile(/tmp/multipartBody4680023591644723875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955123542,"filename":"image_31102025_20_15_04_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/5/59e187ce939f1f19e73af976764c8753.jpg","text":"TemporaryFile(/tmp/multipartBody5861060005349086471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955123542,"filename":"image_31102025_20_15_01_3935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/876ad2a1e2b8b452a1f241bdf6d11b22.jpg","text":"TemporaryFile(/tmp/multipartBody3123762855152060302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955123542,"filename":"image_31102025_20_14_57_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/5/35e224b670bc4f6e26d727861e9af0e8.jpg","text":"TemporaryFile(/tmp/multipartBody5179750307322570013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955123542,"filename":"image_31102025_20_15_06_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112034","file1":"1398112033","file0":"1398112031","file4":"1398112036","file5":"1398112037","file3":"1398112035"},"map_files_photo_id_array":[{"photo_id":"1398112037","filename":"file5"},{"photo_id":"1398112034","filename":"file2"},{"photo_id":"1398112036","filename":"file4"},{"photo_id":"1398112033","filename":"file1"},{"photo_id":"1398112031","filename":"file0"},{"photo_id":"1398112035","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398112031":["hashtag1","hashtag2"]},{"1398112033":["hashtag1","hashtag2"]},{"1398112036":["hashtag1","hashtag2"]},{"1398112035":["hashtag1","hashtag2"]},{"1398112034":["hashtag1","hashtag2"]},{"1398112037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398112031, 1398112033, 1398112036, 1398112035, 1398112034, 1398112037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67205286026001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:18:24.215348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/06/image_05122025_17_06_25_10622.jpg', '/home/pi/Desktop/images/05122025/17/06/image_05122025_17_06_35_9805.jpg', '/home/pi/Desktop/images/05122025/17/06/image_05122025_17_06_44_9800.jpg', '/home/pi/Desktop/images/05122025/17/06/image_05122025_17_06_55_10594.jpg', '/home/pi/Desktop/images/05122025/17/06/image_05122025_17_07_04_9585.jpg', '/home/pi/Desktop/images/05122025/17/07/image_05122025_17_07_14_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/06/image_05122025_17_06_25_10622.jpg
/home/pi/Desktop/images/05122025/17/06/image_05122025_17_06_35_9805.jpg
/home/pi/Desktop/images/05122025/17/06/image_05122025_17_06_44_9800.jpg
/home/pi/Desktop/images/05122025/17/06/image_05122025_17_06_55_10594.jpg
/home/pi/Desktop/images/05122025/17/06/image_05122025_17_07_04_9585.jpg
/home/pi/Desktop/images/05122025/17/07/image_05122025_17_07_14_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112048","1398112053","1398112056","1398112050","1398112044","1398112046"],"photo_ids_order":["1398112044","1398112046","1398112048","1398112050","1398112053","1398112056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b7fdf6e499d1cbee71f5a771bb410d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4743330382147702338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955164825,"filename":"image_05122025_17_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/5/bbb6f7d718e057849783c1f67e0f143a.jpg","text":"TemporaryFile(/tmp/multipartBody6190636081870358645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955164825,"filename":"image_05122025_17_07_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c0984ae4a73c5b45aeaa20556104e98.jpg","text":"TemporaryFile(/tmp/multipartBody8767258663765272936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955164825,"filename":"image_05122025_17_07_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/5/8a6342e3b4a83e8aecdb8738d3a9a587.jpg","text":"TemporaryFile(/tmp/multipartBody4129298109117447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955164825,"filename":"image_05122025_17_06_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/5/218e010679f0884be8564d58b0f6b0df.jpg","text":"TemporaryFile(/tmp/multipartBody7663422456291353801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955164825,"filename":"image_05122025_17_06_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/5/02f51466b2f31190ab322c7d207dc919.jpg","text":"TemporaryFile(/tmp/multipartBody4212116642342589056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955164825,"filename":"image_05122025_17_06_35_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112048","file1":"1398112046","file0":"1398112044","file4":"1398112053","file5":"1398112056","file3":"1398112050"},"map_files_photo_id_array":[{"photo_id":"1398112056","filename":"file5"},{"photo_id":"1398112048","filename":"file2"},{"photo_id":"1398112053","filename":"file4"},{"photo_id":"1398112046","filename":"file1"},{"photo_id":"1398112044","filename":"file0"},{"photo_id":"1398112050","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112048":["hashtag1","hashtag2"]},{"1398112053":["hashtag1","hashtag2"]},{"1398112056":["hashtag1","hashtag2"]},{"1398112050":["hashtag1","hashtag2"]},{"1398112044":["hashtag1","hashtag2"]},{"1398112046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112048, 1398112053, 1398112056, 1398112050, 1398112044, 1398112046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18166470527649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:19:03.245795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/07/image_05122025_17_07_25_10654.jpg', '/home/pi/Desktop/images/05122025/17/07/image_05122025_17_07_35_9536.jpg', '/home/pi/Desktop/images/05122025/17/07/image_05122025_17_07_44_9710.jpg', '/home/pi/Desktop/images/05122025/17/07/image_05122025_17_07_55_10716.jpg', '/home/pi/Desktop/images/05122025/17/07/image_05122025_17_08_05_9652.jpg', '/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_14_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/07/image_05122025_17_07_25_10654.jpg
/home/pi/Desktop/images/05122025/17/07/image_05122025_17_07_35_9536.jpg
/home/pi/Desktop/images/05122025/17/07/image_05122025_17_07_44_9710.jpg
/home/pi/Desktop/images/05122025/17/07/image_05122025_17_07_55_10716.jpg
/home/pi/Desktop/images/05122025/17/07/image_05122025_17_08_05_9652.jpg
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_14_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112060","1398112057","1398112062","1398112064","1398112058","1398112067"],"photo_ids_order":["1398112057","1398112058","1398112060","1398112062","1398112064","1398112067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d6356f5a89e46f783534d0bb29cf85d6.jpg","text":"TemporaryFile(/tmp/multipartBody2563235856655075813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955204007,"filename":"image_05122025_17_07_44_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4e2cf129137f5f8f6e8c23d1798cb54.jpg","text":"TemporaryFile(/tmp/multipartBody175332769937162221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955204007,"filename":"image_05122025_17_07_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/5/78b60e55c7648c0f74c2bfb39db34fea.jpg","text":"TemporaryFile(/tmp/multipartBody6906640067825774058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955204007,"filename":"image_05122025_17_07_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/5/aec24d3730b4361a816eb956eda78d5f.jpg","text":"TemporaryFile(/tmp/multipartBody8064269646721590335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955204007,"filename":"image_05122025_17_08_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fe4dcd0e9eddc7d9de344e0fec86c205.jpg","text":"TemporaryFile(/tmp/multipartBody4358655243944697131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955204007,"filename":"image_05122025_17_07_35_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/5/5663f3dac17e6279e236cb122844295e.jpg","text":"TemporaryFile(/tmp/multipartBody7019964106300991131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955204007,"filename":"image_05122025_17_08_14_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112060","file1":"1398112058","file0":"1398112057","file4":"1398112064","file5":"1398112067","file3":"1398112062"},"map_files_photo_id_array":[{"photo_id":"1398112067","filename":"file5"},{"photo_id":"1398112060","filename":"file2"},{"photo_id":"1398112064","filename":"file4"},{"photo_id":"1398112058","filename":"file1"},{"photo_id":"1398112057","filename":"file0"},{"photo_id":"1398112062","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112060":["hashtag1","hashtag2"]},{"1398112057":["hashtag1","hashtag2"]},{"1398112062":["hashtag1","hashtag2"]},{"1398112064":["hashtag1","hashtag2"]},{"1398112058":["hashtag1","hashtag2"]},{"1398112067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112060, 1398112057, 1398112062, 1398112064, 1398112058, 1398112067)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.57116484642029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:20:02.821816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_25_10608.jpg', '/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_34_9574.jpg', '/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_45_10574.jpg', '/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_55_9588.jpg', '/home/pi/Desktop/images/05122025/17/08/image_05122025_17_09_04_9816.jpg', '/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_14_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_25_10608.jpg
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_34_9574.jpg
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_45_10574.jpg
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_55_9588.jpg
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_09_04_9816.jpg
/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_14_9767.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5379393100738525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 18:20:12.379448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/27/image_02122025_23_27_14_9685.jpg', '/home/pi/Desktop/images/02122025/23/27/image_02122025_23_27_34_9676.jpg', '/home/pi/Desktop/images/02122025/23/27/image_02122025_23_28_04_9727.jpg', '/home/pi/Desktop/images/02122025/23/28/image_02122025_23_28_34_9810.jpg', '/home/pi/Desktop/images/02122025/23/28/image_02122025_23_29_04_9691.jpg', '/home/pi/Desktop/images/02122025/23/29/image_02122025_23_29_34_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/27/image_02122025_23_27_14_9685.jpg
/home/pi/Desktop/images/02122025/23/27/image_02122025_23_27_34_9676.jpg
/home/pi/Desktop/images/02122025/23/27/image_02122025_23_28_04_9727.jpg
/home/pi/Desktop/images/02122025/23/28/image_02122025_23_28_34_9810.jpg
/home/pi/Desktop/images/02122025/23/28/image_02122025_23_29_04_9691.jpg
/home/pi/Desktop/images/02122025/23/29/image_02122025_23_29_34_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":["1398112081","1398112084","1398112102","1398112094","1398112091","1398112088"],"photo_ids_order":["1398112081","1398112084","1398112088","1398112091","1398112094","1398112102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f65865fb30c6ed9c58041ec918ba08c.jpg","text":"TemporaryFile(/tmp/multipartBody1480570521974607036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955274397,"filename":"image_02122025_23_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/5/91329470389c780f04dbb155f34466c6.jpg","text":"TemporaryFile(/tmp/multipartBody4723968321188285890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955274397,"filename":"image_02122025_23_27_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/5/29f876d5f66bda01298ea41ebf63d512.jpg","text":"TemporaryFile(/tmp/multipartBody6856249946533412822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955274397,"filename":"image_02122025_23_29_34_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/90d146e8d311dcf50eb4fde89c75e9fb.jpg","text":"TemporaryFile(/tmp/multipartBody7583816534836645415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955274397,"filename":"image_02122025_23_29_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba3e32d2b5e695abe71aaf1dad61fbbe.jpg","text":"TemporaryFile(/tmp/multipartBody4860763435531396562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955274397,"filename":"image_02122025_23_28_34_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/5/bf3303a8523f65d83788809ee38e3d89.jpg","text":"TemporaryFile(/tmp/multipartBody371196595044933612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955274397,"filename":"image_02122025_23_28_04_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112088","file1":"1398112084","file0":"1398112081","file4":"1398112094","file5":"1398112102","file3":"1398112091"},"map_files_photo_id_array":[{"photo_id":"1398112102","filename":"file5"},{"photo_id":"1398112088","filename":"file2"},{"photo_id":"1398112094","filename":"file4"},{"photo_id":"1398112084","filename":"file1"},{"photo_id":"1398112081","filename":"file0"},{"photo_id":"1398112091","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398112081":["hashtag1","hashtag2"]},{"1398112084":["hashtag1","hashtag2"]},{"1398112102":["hashtag1","hashtag2"]},{"1398112094":["hashtag1","hashtag2"]},{"1398112091":["hashtag1","hashtag2"]},{"1398112088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398112081, 1398112084, 1398112102, 1398112094, 1398112091, 1398112088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.364505767822266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:21:03.443950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_25_10608.jpg', '/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_34_9574.jpg', '/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_45_10574.jpg', '/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_55_9588.jpg', '/home/pi/Desktop/images/05122025/17/08/image_05122025_17_09_04_9816.jpg', '/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_14_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_25_10608.jpg
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_34_9574.jpg
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_45_10574.jpg
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_08_55_9588.jpg
/home/pi/Desktop/images/05122025/17/08/image_05122025_17_09_04_9816.jpg
/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_14_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398112118","1398112123","1398112120","1398112122","1398112125","1398112128"],"photo_ids_order":["1398112118","1398112120","1398112122","1398112123","1398112125","1398112128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cdd0fcbeeb33e998ffc2806a3d186ea2.jpg","text":"TemporaryFile(/tmp/multipartBody9057241015386224362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955326518,"filename":"image_05122025_17_08_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/5/56c2a7b73cb538292b3f204536d8a2bc.jpg","text":"TemporaryFile(/tmp/multipartBody1673145782886896217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955326518,"filename":"image_05122025_17_08_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/5/17d83670d9a0bfd0bb2dc19b0bda855c.jpg","text":"TemporaryFile(/tmp/multipartBody407535777982118646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955326518,"filename":"image_05122025_17_08_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/5/f2ee1b22aa9ec48be30b6bd175a1ca71.jpg","text":"TemporaryFile(/tmp/multipartBody5851591822084740947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955326518,"filename":"image_05122025_17_08_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/5/d7e29ee18a89e8d4afbde1671bcf0735.jpg","text":"TemporaryFile(/tmp/multipartBody2983466857142877960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955326518,"filename":"image_05122025_17_09_04_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/5/7a60bfe65148de4f6264007fd7b337c6.jpg","text":"TemporaryFile(/tmp/multipartBody4026548918459519224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955326518,"filename":"image_05122025_17_09_14_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112122","file1":"1398112120","file0":"1398112118","file4":"1398112125","file5":"1398112128","file3":"1398112123"},"map_files_photo_id_array":[{"photo_id":"1398112128","filename":"file5"},{"photo_id":"1398112122","filename":"file2"},{"photo_id":"1398112125","filename":"file4"},{"photo_id":"1398112120","filename":"file1"},{"photo_id":"1398112118","filename":"file0"},{"photo_id":"1398112123","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112118":["hashtag1","hashtag2"]},{"1398112123":["hashtag1","hashtag2"]},{"1398112120":["hashtag1","hashtag2"]},{"1398112122":["hashtag1","hashtag2"]},{"1398112125":["hashtag1","hashtag2"]},{"1398112128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112118, 1398112123, 1398112120, 1398112122, 1398112125, 1398112128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.883575201034546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:22:02.765770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_25_10543.jpg', '/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_34_9573.jpg', '/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_45_10728.jpg', '/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_55_9650.jpg', '/home/pi/Desktop/images/05122025/17/10/image_05122025_17_10_15_10054.jpg', '/home/pi/Desktop/images/05122025/17/10/image_05122025_17_10_25_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_25_10543.jpg
/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_34_9573.jpg
/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_45_10728.jpg
/home/pi/Desktop/images/05122025/17/09/image_05122025_17_09_55_9650.jpg
/home/pi/Desktop/images/05122025/17/10/image_05122025_17_10_15_10054.jpg
/home/pi/Desktop/images/05122025/17/10/image_05122025_17_10_25_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112141","1398112144","1398112147","1398112143","1398112145","1398112139"],"photo_ids_order":["1398112139","1398112141","1398112143","1398112144","1398112145","1398112147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84ec1dc5e96447a16e5f354887ca9264.jpg","text":"TemporaryFile(/tmp/multipartBody7377102108089906632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955383476,"filename":"image_05122025_17_09_34_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/5/e6a83a1d6eef77a94bf578346a337eec.jpg","text":"TemporaryFile(/tmp/multipartBody2775333929389630502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955383476,"filename":"image_05122025_17_09_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/5/15c32ae68084d5037a5b967f3725d7f4.jpg","text":"TemporaryFile(/tmp/multipartBody952027437040790589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955383476,"filename":"image_05122025_17_10_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/5/382a9e1d53ecfbf5c5b279a19390ce16.jpg","text":"TemporaryFile(/tmp/multipartBody4362705386813448286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955383476,"filename":"image_05122025_17_09_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/5/d04f359389dd1573dd0add04f6568b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8569560589453646319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955383476,"filename":"image_05122025_17_10_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0db21ebf030f6326d87526cb2361d9f2.jpg","text":"TemporaryFile(/tmp/multipartBody6344673756371245720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955383476,"filename":"image_05122025_17_09_25_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112143","file1":"1398112141","file0":"1398112139","file4":"1398112145","file5":"1398112147","file3":"1398112144"},"map_files_photo_id_array":[{"photo_id":"1398112147","filename":"file5"},{"photo_id":"1398112143","filename":"file2"},{"photo_id":"1398112145","filename":"file4"},{"photo_id":"1398112141","filename":"file1"},{"photo_id":"1398112139","filename":"file0"},{"photo_id":"1398112144","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112141":["hashtag1","hashtag2"]},{"1398112144":["hashtag1","hashtag2"]},{"1398112147":["hashtag1","hashtag2"]},{"1398112143":["hashtag1","hashtag2"]},{"1398112145":["hashtag1","hashtag2"]},{"1398112139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112141, 1398112144, 1398112147, 1398112143, 1398112145, 1398112139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.470932960510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:22:42.337426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_13_3652.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_16_2899.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_18_2570.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_22_3548.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_30_2782.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_34_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_13_3652.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_16_2899.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_18_2570.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_22_3548.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_30_2782.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_34_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":["1398112162","1398112165","1398112176","1398112164","1398112158","1398112166"],"photo_ids_order":["1398112158","1398112162","1398112164","1398112165","1398112166","1398112176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b03b6efb84010d0f3d8e3ccac630e70e.jpg","text":"TemporaryFile(/tmp/multipartBody8161371470815761479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955423958,"filename":"image_31102025_20_15_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/5/6ff380b3b68d5668fd419b11375f68eb.jpg","text":"TemporaryFile(/tmp/multipartBody5254468713050678974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955423958,"filename":"image_31102025_20_15_22_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/5/9487b177ea666e8af9c28f5aba8985e1.jpg","text":"TemporaryFile(/tmp/multipartBody1266428095805325872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955423958,"filename":"image_31102025_20_15_34_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/5/9c26512f8b70806667ca40bc73931824.jpg","text":"TemporaryFile(/tmp/multipartBody6020788053481244787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955423958,"filename":"image_31102025_20_15_18_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/5/1fa81cd887c54f2c313d66d2d6045b8b.jpg","text":"TemporaryFile(/tmp/multipartBody6086746751949325420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955423958,"filename":"image_31102025_20_15_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/5/e41866267a2fca852d9b0b464345cfbd.jpg","text":"TemporaryFile(/tmp/multipartBody1791772684312641945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955423958,"filename":"image_31102025_20_15_30_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112164","file1":"1398112162","file0":"1398112158","file4":"1398112166","file5":"1398112176","file3":"1398112165"},"map_files_photo_id_array":[{"photo_id":"1398112176","filename":"file5"},{"photo_id":"1398112164","filename":"file2"},{"photo_id":"1398112166","filename":"file4"},{"photo_id":"1398112162","filename":"file1"},{"photo_id":"1398112158","filename":"file0"},{"photo_id":"1398112165","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398112162":["hashtag1","hashtag2"]},{"1398112165":["hashtag1","hashtag2"]},{"1398112176":["hashtag1","hashtag2"]},{"1398112164":["hashtag1","hashtag2"]},{"1398112158":["hashtag1","hashtag2"]},{"1398112166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398112162, 1398112165, 1398112176, 1398112164, 1398112158, 1398112166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.460015058517456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:23:22.572609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/10/image_05122025_17_10_35_9693.jpg', '/home/pi/Desktop/images/05122025/17/10/image_05122025_17_10_45_9655.jpg', '/home/pi/Desktop/images/05122025/17/10/image_05122025_17_10_55_10663.jpg', '/home/pi/Desktop/images/05122025/17/10/image_05122025_17_11_05_9670.jpg', '/home/pi/Desktop/images/05122025/17/11/image_05122025_17_11_16_10663.jpg', '/home/pi/Desktop/images/05122025/17/11/image_05122025_17_11_25_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/10/image_05122025_17_10_35_9693.jpg
/home/pi/Desktop/images/05122025/17/10/image_05122025_17_10_45_9655.jpg
/home/pi/Desktop/images/05122025/17/10/image_05122025_17_10_55_10663.jpg
/home/pi/Desktop/images/05122025/17/10/image_05122025_17_11_05_9670.jpg
/home/pi/Desktop/images/05122025/17/11/image_05122025_17_11_16_10663.jpg
/home/pi/Desktop/images/05122025/17/11/image_05122025_17_11_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":["1398112195","1398112189","1398112185","1398112182","1398112184","1398112187"],"photo_ids_order":["1398112182","1398112184","1398112185","1398112187","1398112189","1398112195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/16f3f73d0c0068fef0be63f5a7573baf.jpg","text":"TemporaryFile(/tmp/multipartBody6657605788830639645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955463189,"filename":"image_05122025_17_11_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/5/ab2b16b146ea920878b2d96cf3ec74ee.jpg","text":"TemporaryFile(/tmp/multipartBody8534307549391727648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955463189,"filename":"image_05122025_17_11_16_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/5/7f40b43d14082baf5adae9cd3e3a6ee8.jpg","text":"TemporaryFile(/tmp/multipartBody164582135203811206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955463189,"filename":"image_05122025_17_10_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ea924b61fce40c442121a655d8692f1d.jpg","text":"TemporaryFile(/tmp/multipartBody5203057790541154192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955463189,"filename":"image_05122025_17_10_35_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/5/8f8d7bdbe24697f444ac6d0e0b43275e.jpg","text":"TemporaryFile(/tmp/multipartBody3753564475365313949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955463189,"filename":"image_05122025_17_10_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/5/c3bbe058a4377e8dd74c74a7212949b7.jpg","text":"TemporaryFile(/tmp/multipartBody8153952590376313244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955463189,"filename":"image_05122025_17_11_05_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112185","file1":"1398112184","file0":"1398112182","file4":"1398112189","file5":"1398112195","file3":"1398112187"},"map_files_photo_id_array":[{"photo_id":"1398112195","filename":"file5"},{"photo_id":"1398112185","filename":"file2"},{"photo_id":"1398112189","filename":"file4"},{"photo_id":"1398112184","filename":"file1"},{"photo_id":"1398112182","filename":"file0"},{"photo_id":"1398112187","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112195":["hashtag1","hashtag2"]},{"1398112189":["hashtag1","hashtag2"]},{"1398112185":["hashtag1","hashtag2"]},{"1398112182":["hashtag1","hashtag2"]},{"1398112184":["hashtag1","hashtag2"]},{"1398112187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112195, 1398112189, 1398112185, 1398112182, 1398112184, 1398112187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8875367641449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:24:03.347139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/11/image_05122025_17_11_35_9620.jpg', '/home/pi/Desktop/images/05122025/17/11/image_05122025_17_11_46_10678.jpg', '/home/pi/Desktop/images/05122025/17/11/image_05122025_17_11_55_9597.jpg', '/home/pi/Desktop/images/05122025/17/11/image_05122025_17_12_05_9689.jpg', '/home/pi/Desktop/images/05122025/17/12/image_05122025_17_12_16_10677.jpg', '/home/pi/Desktop/images/05122025/17/12/image_05122025_17_12_25_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/11/image_05122025_17_11_35_9620.jpg
/home/pi/Desktop/images/05122025/17/11/image_05122025_17_11_46_10678.jpg
/home/pi/Desktop/images/05122025/17/11/image_05122025_17_11_55_9597.jpg
/home/pi/Desktop/images/05122025/17/11/image_05122025_17_12_05_9689.jpg
/home/pi/Desktop/images/05122025/17/12/image_05122025_17_12_16_10677.jpg
/home/pi/Desktop/images/05122025/17/12/image_05122025_17_12_25_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":["1398112205","1398112197","1398112201","1398112203","1398112199","1398112208"],"photo_ids_order":["1398112197","1398112199","1398112201","1398112203","1398112205","1398112208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/33b115caf2aaf4e6791006c7ab293aed.jpg","text":"TemporaryFile(/tmp/multipartBody6484333441148072786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955504047,"filename":"image_05122025_17_12_16_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/5/6707046f9f7dd6a8621f9540d5e17821.jpg","text":"TemporaryFile(/tmp/multipartBody7102642041753702524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955504047,"filename":"image_05122025_17_11_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/5/2857bd3507069c0a508eddd353f9f041.jpg","text":"TemporaryFile(/tmp/multipartBody8159567482258629748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955504047,"filename":"image_05122025_17_11_55_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/5/e0d2287e203c474d33c9490bc0f0bedc.jpg","text":"TemporaryFile(/tmp/multipartBody9059974441502769687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955504047,"filename":"image_05122025_17_12_05_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/5/76ff02d9f71657202a6dc367c6f92b26.jpg","text":"TemporaryFile(/tmp/multipartBody2677505856107283411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955504047,"filename":"image_05122025_17_11_46_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/5/45cad2366ecaab327a7efdfe7ac0f711.jpg","text":"TemporaryFile(/tmp/multipartBody8340971426200740781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955504047,"filename":"image_05122025_17_12_25_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112201","file1":"1398112199","file0":"1398112197","file4":"1398112205","file5":"1398112208","file3":"1398112203"},"map_files_photo_id_array":[{"photo_id":"1398112208","filename":"file5"},{"photo_id":"1398112201","filename":"file2"},{"photo_id":"1398112205","filename":"file4"},{"photo_id":"1398112199","filename":"file1"},{"photo_id":"1398112197","filename":"file0"},{"photo_id":"1398112203","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112205":["hashtag1","hashtag2"]},{"1398112197":["hashtag1","hashtag2"]},{"1398112201":["hashtag1","hashtag2"]},{"1398112203":["hashtag1","hashtag2"]},{"1398112199":["hashtag1","hashtag2"]},{"1398112208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112205, 1398112197, 1398112201, 1398112203, 1398112199, 1398112208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.992634296417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:24:42.588749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_36_2674.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_42_2621.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_45_2561.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_49_3820.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_52_2677.jpg', '/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_58_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_36_2674.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_42_2621.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_45_2561.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_49_3820.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_52_2677.jpg
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_15_58_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":["1398112223","1398112217","1398112222","1398112219","1398112221","1398112220"],"photo_ids_order":["1398112217","1398112219","1398112220","1398112221","1398112222","1398112223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84a19789a7f711b0e49e7613b53d7955.jpg","text":"TemporaryFile(/tmp/multipartBody2150841679223517322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955544169,"filename":"image_31102025_20_15_58_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b07daf484e53eabe172c5bd2c50e817.jpg","text":"TemporaryFile(/tmp/multipartBody3625883912692929463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955544169,"filename":"image_31102025_20_15_36_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/5/b31d2a3737effd6f0d36e9ccc262c59e.jpg","text":"TemporaryFile(/tmp/multipartBody2329980279295440471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955544169,"filename":"image_31102025_20_15_52_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/404dbcd9c313006b25adbb9a97124d98.jpg","text":"TemporaryFile(/tmp/multipartBody1645091049284740600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955544169,"filename":"image_31102025_20_15_42_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/5/6e4a680240a9de75e97889b629cdee1f.jpg","text":"TemporaryFile(/tmp/multipartBody4654069036522178885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955544169,"filename":"image_31102025_20_15_49_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/49ae786ab8db9fb48f275b998ae291d8.jpg","text":"TemporaryFile(/tmp/multipartBody1632222942709306220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955544169,"filename":"image_31102025_20_15_45_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112220","file1":"1398112219","file0":"1398112217","file4":"1398112222","file5":"1398112223","file3":"1398112221"},"map_files_photo_id_array":[{"photo_id":"1398112223","filename":"file5"},{"photo_id":"1398112220","filename":"file2"},{"photo_id":"1398112222","filename":"file4"},{"photo_id":"1398112219","filename":"file1"},{"photo_id":"1398112217","filename":"file0"},{"photo_id":"1398112221","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398112223":["hashtag1","hashtag2"]},{"1398112217":["hashtag1","hashtag2"]},{"1398112222":["hashtag1","hashtag2"]},{"1398112219":["hashtag1","hashtag2"]},{"1398112221":["hashtag1","hashtag2"]},{"1398112220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398112223, 1398112217, 1398112222, 1398112219, 1398112221, 1398112220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77929329872131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:25:22.747653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/12/image_05122025_17_12_35_9682.jpg', '/home/pi/Desktop/images/05122025/17/12/image_05122025_17_12_46_10658.jpg', '/home/pi/Desktop/images/05122025/17/12/image_05122025_17_12_55_9619.jpg', '/home/pi/Desktop/images/05122025/17/12/image_05122025_17_13_05_9804.jpg', '/home/pi/Desktop/images/05122025/17/13/image_05122025_17_13_16_10563.jpg', '/home/pi/Desktop/images/05122025/17/13/image_05122025_17_13_25_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/12/image_05122025_17_12_35_9682.jpg
/home/pi/Desktop/images/05122025/17/12/image_05122025_17_12_46_10658.jpg
/home/pi/Desktop/images/05122025/17/12/image_05122025_17_12_55_9619.jpg
/home/pi/Desktop/images/05122025/17/12/image_05122025_17_13_05_9804.jpg
/home/pi/Desktop/images/05122025/17/13/image_05122025_17_13_16_10563.jpg
/home/pi/Desktop/images/05122025/17/13/image_05122025_17_13_25_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":["1398112249","1398112251","1398112254","1398112257","1398112253","1398112247"],"photo_ids_order":["1398112247","1398112249","1398112251","1398112253","1398112254","1398112257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/045b1798fd657efdf2d16462d370681e.jpg","text":"TemporaryFile(/tmp/multipartBody5201819051720041778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955583356,"filename":"image_05122025_17_12_46_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/5/5d29c68aa639f135db2bf15d9367665e.jpg","text":"TemporaryFile(/tmp/multipartBody4187363099156207664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955583356,"filename":"image_05122025_17_12_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/5/5d8918566363c7d3439ea40a0930e8a5.jpg","text":"TemporaryFile(/tmp/multipartBody4565052862547147460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955583356,"filename":"image_05122025_17_13_16_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/5/33e0420fcd57a37bd9b4fe9c1a1f6144.jpg","text":"TemporaryFile(/tmp/multipartBody6269194945921722391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955583356,"filename":"image_05122025_17_13_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/5/2398bf85889fff8243dcba20d5411b1f.jpg","text":"TemporaryFile(/tmp/multipartBody1537146851584076538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955583356,"filename":"image_05122025_17_13_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/5/d644d5f5dd774af07cd4ab3d96343774.jpg","text":"TemporaryFile(/tmp/multipartBody3459771949338936372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955583356,"filename":"image_05122025_17_12_35_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112251","file1":"1398112249","file0":"1398112247","file4":"1398112254","file5":"1398112257","file3":"1398112253"},"map_files_photo_id_array":[{"photo_id":"1398112257","filename":"file5"},{"photo_id":"1398112251","filename":"file2"},{"photo_id":"1398112254","filename":"file4"},{"photo_id":"1398112249","filename":"file1"},{"photo_id":"1398112247","filename":"file0"},{"photo_id":"1398112253","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112249":["hashtag1","hashtag2"]},{"1398112251":["hashtag1","hashtag2"]},{"1398112254":["hashtag1","hashtag2"]},{"1398112257":["hashtag1","hashtag2"]},{"1398112253":["hashtag1","hashtag2"]},{"1398112247":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112249, 1398112251, 1398112254, 1398112257, 1398112253, 1398112247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31833100318909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:26:02.393555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/13/image_05122025_17_13_35_9766.jpg', '/home/pi/Desktop/images/05122025/17/13/image_05122025_17_13_46_10678.jpg', '/home/pi/Desktop/images/05122025/17/13/image_05122025_17_13_55_9658.jpg', '/home/pi/Desktop/images/05122025/17/13/image_05122025_17_14_05_9532.jpg', '/home/pi/Desktop/images/05122025/17/14/image_05122025_17_14_16_10764.jpg', '/home/pi/Desktop/images/05122025/17/14/image_05122025_17_14_25_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/13/image_05122025_17_13_35_9766.jpg
/home/pi/Desktop/images/05122025/17/13/image_05122025_17_13_46_10678.jpg
/home/pi/Desktop/images/05122025/17/13/image_05122025_17_13_55_9658.jpg
/home/pi/Desktop/images/05122025/17/13/image_05122025_17_14_05_9532.jpg
/home/pi/Desktop/images/05122025/17/14/image_05122025_17_14_16_10764.jpg
/home/pi/Desktop/images/05122025/17/14/image_05122025_17_14_25_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112270","1398112264","1398112258","1398112266","1398112262","1398112259"],"photo_ids_order":["1398112258","1398112259","1398112262","1398112264","1398112266","1398112270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6c1a842980ac880ef192abb2be549533.jpg","text":"TemporaryFile(/tmp/multipartBody7294337529989955837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955623005,"filename":"image_05122025_17_14_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/88a274dd696b8ef382e22f6e937527dc.jpg","text":"TemporaryFile(/tmp/multipartBody2694902274623418001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955623005,"filename":"image_05122025_17_14_05_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/5/ef8b6cf84d63387017206058cddec12d.jpg","text":"TemporaryFile(/tmp/multipartBody804060595404600218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955623005,"filename":"image_05122025_17_13_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/5/4c96efb7ae5752b62aa7620dd7ce5294.jpg","text":"TemporaryFile(/tmp/multipartBody19756716729959068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955623005,"filename":"image_05122025_17_14_16_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fb58297e4fdeed6b8b78ad1eccb0bf0e.jpg","text":"TemporaryFile(/tmp/multipartBody5886519373685471702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955623005,"filename":"image_05122025_17_13_55_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/5/81b786c44fe33e0b83fd05fd8158b9fc.jpg","text":"TemporaryFile(/tmp/multipartBody2396021445524796556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955623005,"filename":"image_05122025_17_13_46_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112262","file1":"1398112259","file0":"1398112258","file4":"1398112266","file5":"1398112270","file3":"1398112264"},"map_files_photo_id_array":[{"photo_id":"1398112270","filename":"file5"},{"photo_id":"1398112262","filename":"file2"},{"photo_id":"1398112266","filename":"file4"},{"photo_id":"1398112259","filename":"file1"},{"photo_id":"1398112258","filename":"file0"},{"photo_id":"1398112264","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112270":["hashtag1","hashtag2"]},{"1398112264":["hashtag1","hashtag2"]},{"1398112258":["hashtag1","hashtag2"]},{"1398112266":["hashtag1","hashtag2"]},{"1398112262":["hashtag1","hashtag2"]},{"1398112259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112270, 1398112264, 1398112258, 1398112266, 1398112262, 1398112259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17742967605591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:26:42.095042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/15/image_31102025_20_16_00_2641.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_09_2681.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_16_3609.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_18_2592.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_22_3618.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_24_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/15/image_31102025_20_16_00_2641.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_09_2681.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_16_3609.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_18_2592.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_22_3618.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_24_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":["1398112294","1398112276","1398112279","1398112284","1398112281","1398112280"],"photo_ids_order":["1398112276","1398112279","1398112280","1398112281","1398112284","1398112294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e082914eaa353086145088bbdb72b781.jpg","text":"TemporaryFile(/tmp/multipartBody961319618518488230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955663653,"filename":"image_31102025_20_16_24_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/5/efd566d8e2f9b66a166a8493a6d596e8.jpg","text":"TemporaryFile(/tmp/multipartBody6888149151977437600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955663653,"filename":"image_31102025_20_16_00_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/5/931efe17676b0e648e025056f2ec2ce8.jpg","text":"TemporaryFile(/tmp/multipartBody5730575195838910882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955663653,"filename":"image_31102025_20_16_09_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b24ef30c9f18926455101d22a6fd174.jpg","text":"TemporaryFile(/tmp/multipartBody6325641391906766807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955663653,"filename":"image_31102025_20_16_22_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/5/fb678d3c7adf3e6920e6cdb4f445af55.jpg","text":"TemporaryFile(/tmp/multipartBody1291887633620132962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955663653,"filename":"image_31102025_20_16_18_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/5/270804381dc2a685f9538798cb886b40.jpg","text":"TemporaryFile(/tmp/multipartBody7369151082458343503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955663653,"filename":"image_31102025_20_16_16_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112280","file1":"1398112279","file0":"1398112276","file4":"1398112284","file5":"1398112294","file3":"1398112281"},"map_files_photo_id_array":[{"photo_id":"1398112294","filename":"file5"},{"photo_id":"1398112280","filename":"file2"},{"photo_id":"1398112284","filename":"file4"},{"photo_id":"1398112279","filename":"file1"},{"photo_id":"1398112276","filename":"file0"},{"photo_id":"1398112281","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398112294":["hashtag1","hashtag2"]},{"1398112276":["hashtag1","hashtag2"]},{"1398112279":["hashtag1","hashtag2"]},{"1398112284":["hashtag1","hashtag2"]},{"1398112281":["hashtag1","hashtag2"]},{"1398112280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398112294, 1398112276, 1398112279, 1398112284, 1398112281, 1398112280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.232738733291626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:27:22.265037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/14/image_05122025_17_14_46_10565.jpg', '/home/pi/Desktop/images/05122025/17/14/image_05122025_17_14_55_9582.jpg', '/home/pi/Desktop/images/05122025/17/15/image_05122025_17_15_14_10060.jpg', '/home/pi/Desktop/images/05122025/17/15/image_05122025_17_15_25_10670.jpg', '/home/pi/Desktop/images/05122025/17/15/image_05122025_17_15_34_9597.jpg', '/home/pi/Desktop/images/05122025/17/15/image_05122025_17_15_44_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/14/image_05122025_17_14_46_10565.jpg
/home/pi/Desktop/images/05122025/17/14/image_05122025_17_14_55_9582.jpg
/home/pi/Desktop/images/05122025/17/15/image_05122025_17_15_14_10060.jpg
/home/pi/Desktop/images/05122025/17/15/image_05122025_17_15_25_10670.jpg
/home/pi/Desktop/images/05122025/17/15/image_05122025_17_15_34_9597.jpg
/home/pi/Desktop/images/05122025/17/15/image_05122025_17_15_44_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":["1398112303","1398112306","1398112300","1398112308","1398112310","1398112313"],"photo_ids_order":["1398112300","1398112303","1398112306","1398112308","1398112310","1398112313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/22e0bd641317673d700ce450ad471279.jpg","text":"TemporaryFile(/tmp/multipartBody2914283469671295021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955702861,"filename":"image_05122025_17_14_55_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/5/09fc9fc3bebb78b597fcf353bea8428e.jpg","text":"TemporaryFile(/tmp/multipartBody1452381947974300085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955702861,"filename":"image_05122025_17_15_14_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff45aec28dce211477e96126f9f276cc.jpg","text":"TemporaryFile(/tmp/multipartBody1582709482355190061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955702861,"filename":"image_05122025_17_14_46_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/5/76d00d57f9948e58ad4b4df8ca867e13.jpg","text":"TemporaryFile(/tmp/multipartBody6207523699279497953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955702861,"filename":"image_05122025_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/5/da62ded4993abc41e7ccb687f03eb827.jpg","text":"TemporaryFile(/tmp/multipartBody7899540391924404275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955702861,"filename":"image_05122025_17_15_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/5/7cf128c6d2aed789a4de46663b5ab746.jpg","text":"TemporaryFile(/tmp/multipartBody1901774965689878727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955702861,"filename":"image_05122025_17_15_44_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112306","file1":"1398112303","file0":"1398112300","file4":"1398112310","file5":"1398112313","file3":"1398112308"},"map_files_photo_id_array":[{"photo_id":"1398112313","filename":"file5"},{"photo_id":"1398112306","filename":"file2"},{"photo_id":"1398112310","filename":"file4"},{"photo_id":"1398112303","filename":"file1"},{"photo_id":"1398112300","filename":"file0"},{"photo_id":"1398112308","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112303":["hashtag1","hashtag2"]},{"1398112306":["hashtag1","hashtag2"]},{"1398112300":["hashtag1","hashtag2"]},{"1398112308":["hashtag1","hashtag2"]},{"1398112310":["hashtag1","hashtag2"]},{"1398112313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112303, 1398112306, 1398112300, 1398112308, 1398112310, 1398112313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63347601890564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:28:02.868772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/15/image_05122025_17_15_55_10537.jpg', '/home/pi/Desktop/images/05122025/17/15/image_05122025_17_16_04_9640.jpg', '/home/pi/Desktop/images/05122025/17/16/image_05122025_17_16_15_10722.jpg', '/home/pi/Desktop/images/05122025/17/16/image_05122025_17_16_25_9595.jpg', '/home/pi/Desktop/images/05122025/17/16/image_05122025_17_16_34_9596.jpg', '/home/pi/Desktop/images/05122025/17/16/image_05122025_17_16_44_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/15/image_05122025_17_15_55_10537.jpg
/home/pi/Desktop/images/05122025/17/15/image_05122025_17_16_04_9640.jpg
/home/pi/Desktop/images/05122025/17/16/image_05122025_17_16_15_10722.jpg
/home/pi/Desktop/images/05122025/17/16/image_05122025_17_16_25_9595.jpg
/home/pi/Desktop/images/05122025/17/16/image_05122025_17_16_34_9596.jpg
/home/pi/Desktop/images/05122025/17/16/image_05122025_17_16_44_10045.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112322","1398112321","1398112324","1398112315","1398112317","1398112319"],"photo_ids_order":["1398112315","1398112317","1398112319","1398112321","1398112322","1398112324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f1f7b7e65dd5e46bca96ab32cc2b7eeb.jpg","text":"TemporaryFile(/tmp/multipartBody4623136590454170550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955743526,"filename":"image_05122025_17_16_34_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9e08879e95e5a7583c2c79d0992ad424.jpg","text":"TemporaryFile(/tmp/multipartBody380607838432464953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955743526,"filename":"image_05122025_17_16_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/5/3a3da3c9e2f48504496b9ecedbdec408.jpg","text":"TemporaryFile(/tmp/multipartBody5520641926122659326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955743526,"filename":"image_05122025_17_16_44_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/5/fc987891c13d02001b5a36a17690f804.jpg","text":"TemporaryFile(/tmp/multipartBody8138634876946376739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955743526,"filename":"image_05122025_17_15_55_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/5/0824224a0516fbdd0bec52b34d788ffa.jpg","text":"TemporaryFile(/tmp/multipartBody7996882893874769648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955743526,"filename":"image_05122025_17_16_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/5/225c6110d536025d507614c72c4516d4.jpg","text":"TemporaryFile(/tmp/multipartBody5278361276839191582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955743526,"filename":"image_05122025_17_16_15_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112319","file1":"1398112317","file0":"1398112315","file4":"1398112322","file5":"1398112324","file3":"1398112321"},"map_files_photo_id_array":[{"photo_id":"1398112324","filename":"file5"},{"photo_id":"1398112319","filename":"file2"},{"photo_id":"1398112322","filename":"file4"},{"photo_id":"1398112317","filename":"file1"},{"photo_id":"1398112315","filename":"file0"},{"photo_id":"1398112321","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112322":["hashtag1","hashtag2"]},{"1398112321":["hashtag1","hashtag2"]},{"1398112324":["hashtag1","hashtag2"]},{"1398112315":["hashtag1","hashtag2"]},{"1398112317":["hashtag1","hashtag2"]},{"1398112319":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112322, 1398112321, 1398112324, 1398112315, 1398112317, 1398112319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.624202728271484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:28:42.413854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_27_2751.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_31_3561.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_33_2610.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_36_2630.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_40_3567.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_42_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_27_2751.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_31_3561.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_33_2610.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_36_2630.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_40_3567.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_42_2674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5200915336608887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:29:03.319073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/16/image_05122025_17_16_55_10676.jpg', '/home/pi/Desktop/images/05122025/17/16/image_05122025_17_17_05_9610.jpg', '/home/pi/Desktop/images/05122025/17/17/image_05122025_17_17_14_9784.jpg', '/home/pi/Desktop/images/05122025/17/17/image_05122025_17_17_34_9506.jpg', '/home/pi/Desktop/images/05122025/17/17/image_05122025_17_17_45_10596.jpg', '/home/pi/Desktop/images/05122025/17/17/image_05122025_17_17_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/16/image_05122025_17_16_55_10676.jpg
/home/pi/Desktop/images/05122025/17/16/image_05122025_17_17_05_9610.jpg
/home/pi/Desktop/images/05122025/17/17/image_05122025_17_17_14_9784.jpg
/home/pi/Desktop/images/05122025/17/17/image_05122025_17_17_34_9506.jpg
/home/pi/Desktop/images/05122025/17/17/image_05122025_17_17_45_10596.jpg
/home/pi/Desktop/images/05122025/17/17/image_05122025_17_17_55_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":["1398112354","1398112348","1398112357","1398112350","1398112352","1398112346"],"photo_ids_order":["1398112346","1398112348","1398112350","1398112352","1398112354","1398112357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab877eee8a159b26aa72a548108d53be.jpg","text":"TemporaryFile(/tmp/multipartBody7801988159298671140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955804046,"filename":"image_05122025_17_17_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/5/23d8dde18a72d9df5a047d61b4dd82bc.jpg","text":"TemporaryFile(/tmp/multipartBody1333473964522525793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955804046,"filename":"image_05122025_17_17_05_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/5/dd2c37b02dbee5b12ed2f1c77173ed51.jpg","text":"TemporaryFile(/tmp/multipartBody1803793412931210746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955804046,"filename":"image_05122025_17_17_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/5/bfb80997e324e35d51ff2a1d4319ec8a.jpg","text":"TemporaryFile(/tmp/multipartBody5690373893826289230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955804046,"filename":"image_05122025_17_17_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/5/f9ef08ce0444574b24eb7c362f532278.jpg","text":"TemporaryFile(/tmp/multipartBody2319879575061840417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955804046,"filename":"image_05122025_17_17_34_9506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f73c77815b40e446a8f6578e6aec0368.jpg","text":"TemporaryFile(/tmp/multipartBody2517672185222576543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955804046,"filename":"image_05122025_17_16_55_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112350","file1":"1398112348","file0":"1398112346","file4":"1398112354","file5":"1398112357","file3":"1398112352"},"map_files_photo_id_array":[{"photo_id":"1398112357","filename":"file5"},{"photo_id":"1398112350","filename":"file2"},{"photo_id":"1398112354","filename":"file4"},{"photo_id":"1398112348","filename":"file1"},{"photo_id":"1398112346","filename":"file0"},{"photo_id":"1398112352","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112354":["hashtag1","hashtag2"]},{"1398112348":["hashtag1","hashtag2"]},{"1398112357":["hashtag1","hashtag2"]},{"1398112350":["hashtag1","hashtag2"]},{"1398112352":["hashtag1","hashtag2"]},{"1398112346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112354, 1398112348, 1398112357, 1398112350, 1398112352, 1398112346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.593714475631714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:29:42.644574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_27_2751.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_31_3561.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_33_2610.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_36_2630.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_40_3567.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_42_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_27_2751.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_31_3561.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_33_2610.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_36_2630.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_40_3567.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_42_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":["1398112372","1398112369","1398112371","1398112373","1398112370","1398112367"],"photo_ids_order":["1398112367","1398112369","1398112370","1398112371","1398112372","1398112373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c76e76cd07880568aa48df667a668986.jpg","text":"TemporaryFile(/tmp/multipartBody7300745188137771446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955844116,"filename":"image_31102025_20_16_40_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/5/bfc26b75a7a7f2c2698424d4dba1cf92.jpg","text":"TemporaryFile(/tmp/multipartBody5251466169987212830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955844116,"filename":"image_31102025_20_16_31_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/5/58e8e5704dc617648e3c874fdcad159b.jpg","text":"TemporaryFile(/tmp/multipartBody6984494354838785734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955844116,"filename":"image_31102025_20_16_36_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/5/53bdd0682b1da30e2c2aec24e1cdbe28.jpg","text":"TemporaryFile(/tmp/multipartBody2563367109578833477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955844116,"filename":"image_31102025_20_16_42_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/5/8b3162dc31c209792bbe805c326a2cc7.jpg","text":"TemporaryFile(/tmp/multipartBody9044994581350073216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955844116,"filename":"image_31102025_20_16_33_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/5/2f76db7dace2801f36e8d10d168a3372.jpg","text":"TemporaryFile(/tmp/multipartBody8259496050723597383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955844116,"filename":"image_31102025_20_16_27_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112370","file1":"1398112369","file0":"1398112367","file4":"1398112372","file5":"1398112373","file3":"1398112371"},"map_files_photo_id_array":[{"photo_id":"1398112373","filename":"file5"},{"photo_id":"1398112370","filename":"file2"},{"photo_id":"1398112372","filename":"file4"},{"photo_id":"1398112369","filename":"file1"},{"photo_id":"1398112367","filename":"file0"},{"photo_id":"1398112371","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398112372":["hashtag1","hashtag2"]},{"1398112369":["hashtag1","hashtag2"]},{"1398112371":["hashtag1","hashtag2"]},{"1398112373":["hashtag1","hashtag2"]},{"1398112370":["hashtag1","hashtag2"]},{"1398112367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398112372, 1398112369, 1398112371, 1398112373, 1398112370, 1398112367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.291768312454224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:30:22.779135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_05_9924.jpg', '/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_14_9626.jpg', '/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_25_10730.jpg', '/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_35_9639.jpg', '/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_44_9647.jpg', '/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_05_9924.jpg
/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_14_9626.jpg
/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_25_10730.jpg
/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_35_9639.jpg
/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_44_9647.jpg
/home/pi/Desktop/images/05122025/17/18/image_05122025_17_18_55_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":["1398112390","1398112383","1398112377","1398112401","1398112397","1398112379"],"photo_ids_order":["1398112377","1398112379","1398112383","1398112390","1398112397","1398112401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01d11cdc9766e25fa451da8115729393.jpg","text":"TemporaryFile(/tmp/multipartBody7331482916996694977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955883418,"filename":"image_05122025_17_18_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4289afbf10c2c9773b35443f7a8c26e8.jpg","text":"TemporaryFile(/tmp/multipartBody4904443425128237106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955883418,"filename":"image_05122025_17_18_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/5/f40b6aa4a0a3af3204de33d08fdc77ea.jpg","text":"TemporaryFile(/tmp/multipartBody6628655847584158516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955883418,"filename":"image_05122025_17_18_05_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/5/41c863b5b1c627a6eff2f0fa789be802.jpg","text":"TemporaryFile(/tmp/multipartBody3652520672316608326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955883418,"filename":"image_05122025_17_18_55_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c1fea3fa196ab3b6043e4bb741949d6.jpg","text":"TemporaryFile(/tmp/multipartBody1049870160665883611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955883418,"filename":"image_05122025_17_18_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/5/7d0afe4f84121287e888fd069fab9e35.jpg","text":"TemporaryFile(/tmp/multipartBody194968879268323250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955883418,"filename":"image_05122025_17_18_14_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112383","file1":"1398112379","file0":"1398112377","file4":"1398112397","file5":"1398112401","file3":"1398112390"},"map_files_photo_id_array":[{"photo_id":"1398112401","filename":"file5"},{"photo_id":"1398112383","filename":"file2"},{"photo_id":"1398112397","filename":"file4"},{"photo_id":"1398112379","filename":"file1"},{"photo_id":"1398112377","filename":"file0"},{"photo_id":"1398112390","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112390":["hashtag1","hashtag2"]},{"1398112383":["hashtag1","hashtag2"]},{"1398112377":["hashtag1","hashtag2"]},{"1398112401":["hashtag1","hashtag2"]},{"1398112397":["hashtag1","hashtag2"]},{"1398112379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112390, 1398112383, 1398112377, 1398112401, 1398112397, 1398112379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01035261154175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:31:02.810027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/18/image_05122025_17_19_04_9530.jpg', '/home/pi/Desktop/images/05122025/17/19/image_05122025_17_19_14_9698.jpg', '/home/pi/Desktop/images/05122025/17/19/image_05122025_17_19_25_10666.jpg', '/home/pi/Desktop/images/05122025/17/19/image_05122025_17_19_34_9584.jpg', '/home/pi/Desktop/images/05122025/17/19/image_05122025_17_19_44_9722.jpg', '/home/pi/Desktop/images/05122025/17/19/image_05122025_17_19_55_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/18/image_05122025_17_19_04_9530.jpg
/home/pi/Desktop/images/05122025/17/19/image_05122025_17_19_14_9698.jpg
/home/pi/Desktop/images/05122025/17/19/image_05122025_17_19_25_10666.jpg
/home/pi/Desktop/images/05122025/17/19/image_05122025_17_19_34_9584.jpg
/home/pi/Desktop/images/05122025/17/19/image_05122025_17_19_44_9722.jpg
/home/pi/Desktop/images/05122025/17/19/image_05122025_17_19_55_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":["1398112415","1398112420","1398112417","1398112419","1398112424","1398112412"],"photo_ids_order":["1398112412","1398112415","1398112417","1398112419","1398112420","1398112424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74a758ddd730b324f741066b8a68c80c.jpg","text":"TemporaryFile(/tmp/multipartBody329032503780764591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955923482,"filename":"image_05122025_17_19_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/5/e74d2fa179a13f3d13b2bc3604939499.jpg","text":"TemporaryFile(/tmp/multipartBody7659406644770714348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955923482,"filename":"image_05122025_17_19_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/5/cf7233e31d7a072c47935df75761ed39.jpg","text":"TemporaryFile(/tmp/multipartBody5996799374738135971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955923482,"filename":"image_05122025_17_19_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a40d864d784935aaaaf0817055c84e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4256003350991020997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955923482,"filename":"image_05122025_17_19_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/021aa08f80d3affb4259db4f428a76cc.jpg","text":"TemporaryFile(/tmp/multipartBody7855700323291151122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955923482,"filename":"image_05122025_17_19_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/5/9923902a28e74fe8670e46d0b56de09c.jpg","text":"TemporaryFile(/tmp/multipartBody2706664320823696363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955923482,"filename":"image_05122025_17_19_04_9530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112417","file1":"1398112415","file0":"1398112412","file4":"1398112420","file5":"1398112424","file3":"1398112419"},"map_files_photo_id_array":[{"photo_id":"1398112424","filename":"file5"},{"photo_id":"1398112417","filename":"file2"},{"photo_id":"1398112420","filename":"file4"},{"photo_id":"1398112415","filename":"file1"},{"photo_id":"1398112412","filename":"file0"},{"photo_id":"1398112419","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112415":["hashtag1","hashtag2"]},{"1398112420":["hashtag1","hashtag2"]},{"1398112417":["hashtag1","hashtag2"]},{"1398112419":["hashtag1","hashtag2"]},{"1398112424":["hashtag1","hashtag2"]},{"1398112412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112415, 1398112420, 1398112417, 1398112419, 1398112424, 1398112412)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.61847138404846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:32:02.671996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/20/image_05122025_17_20_15_10058.jpg', '/home/pi/Desktop/images/05122025/17/20/image_05122025_17_20_25_10631.jpg', '/home/pi/Desktop/images/05122025/17/20/image_05122025_17_20_35_9748.jpg', '/home/pi/Desktop/images/05122025/17/20/image_05122025_17_20_45_9763.jpg', '/home/pi/Desktop/images/05122025/17/20/image_05122025_17_20_55_10746.jpg', '/home/pi/Desktop/images/05122025/17/20/image_05122025_17_21_05_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/20/image_05122025_17_20_15_10058.jpg
/home/pi/Desktop/images/05122025/17/20/image_05122025_17_20_25_10631.jpg
/home/pi/Desktop/images/05122025/17/20/image_05122025_17_20_35_9748.jpg
/home/pi/Desktop/images/05122025/17/20/image_05122025_17_20_45_9763.jpg
/home/pi/Desktop/images/05122025/17/20/image_05122025_17_20_55_10746.jpg
/home/pi/Desktop/images/05122025/17/20/image_05122025_17_21_05_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":["1398112438","1398112443","1398112440","1398112434","1398112437","1398112436"],"photo_ids_order":["1398112434","1398112436","1398112437","1398112438","1398112440","1398112443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fddfbaec417947d3b9a5eb909714e20c.jpg","text":"TemporaryFile(/tmp/multipartBody6202759886576095792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955983292,"filename":"image_05122025_17_20_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/5/1eb72cd2e99be7d22e30e7a68f7f8ba5.jpg","text":"TemporaryFile(/tmp/multipartBody6918529057725233630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955983292,"filename":"image_05122025_17_21_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/5/72ce0d53a6e775e109157e917ab64326.jpg","text":"TemporaryFile(/tmp/multipartBody2940612270826517507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955983292,"filename":"image_05122025_17_20_55_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/be111feba4a5401366f9596df644ae1c.jpg","text":"TemporaryFile(/tmp/multipartBody2236089160793760060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955983292,"filename":"image_05122025_17_20_15_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/5/30bb03d8791882a7c91953e2f353b303.jpg","text":"TemporaryFile(/tmp/multipartBody382423583348663940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955983292,"filename":"image_05122025_17_20_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/5/930b74e26bc1b018153e9122d26560c4.jpg","text":"TemporaryFile(/tmp/multipartBody7755766049538939466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764955983292,"filename":"image_05122025_17_20_25_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112437","file1":"1398112436","file0":"1398112434","file4":"1398112440","file5":"1398112443","file3":"1398112438"},"map_files_photo_id_array":[{"photo_id":"1398112443","filename":"file5"},{"photo_id":"1398112437","filename":"file2"},{"photo_id":"1398112440","filename":"file4"},{"photo_id":"1398112436","filename":"file1"},{"photo_id":"1398112434","filename":"file0"},{"photo_id":"1398112438","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112438":["hashtag1","hashtag2"]},{"1398112443":["hashtag1","hashtag2"]},{"1398112440":["hashtag1","hashtag2"]},{"1398112434":["hashtag1","hashtag2"]},{"1398112437":["hashtag1","hashtag2"]},{"1398112436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112438, 1398112443, 1398112440, 1398112434, 1398112437, 1398112436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.600475788116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:32:42.300785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_45_2794.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_49_3655.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_52_2798.jpg', '/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_54_2767.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_03_2699.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_06_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_45_2794.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_49_3655.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_52_2798.jpg
/home/pi/Desktop/images/31102025/20/16/image_31102025_20_16_54_2767.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_03_2699.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_06_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":["1398112459","1398112453","1398112456","1398112458","1398112460","1398112457"],"photo_ids_order":["1398112453","1398112456","1398112457","1398112458","1398112459","1398112460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c6e8d1898bfb34201e9898483f5f2219.jpg","text":"TemporaryFile(/tmp/multipartBody6456034108812688621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956023891,"filename":"image_31102025_20_17_03_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/5/4401ef29181882ba2acf968b6cb51c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5231772962967616175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956023891,"filename":"image_31102025_20_16_45_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6291cbdfd28d9bf93ad137f06e6fb348.jpg","text":"TemporaryFile(/tmp/multipartBody6134043049214395699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956023891,"filename":"image_31102025_20_16_49_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/5/15f7fc6a38b173b8a6a073acf887e3e6.jpg","text":"TemporaryFile(/tmp/multipartBody7749958518913747168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956023891,"filename":"image_31102025_20_16_54_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/5/920b8916629552e5a7ead008d4e7e73a.jpg","text":"TemporaryFile(/tmp/multipartBody8702433239896453412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956023891,"filename":"image_31102025_20_17_06_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/5/ff17443fbaf40b11329a6191cd681c60.jpg","text":"TemporaryFile(/tmp/multipartBody7566605740899685821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956023891,"filename":"image_31102025_20_16_52_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112457","file1":"1398112456","file0":"1398112453","file4":"1398112459","file5":"1398112460","file3":"1398112458"},"map_files_photo_id_array":[{"photo_id":"1398112460","filename":"file5"},{"photo_id":"1398112457","filename":"file2"},{"photo_id":"1398112459","filename":"file4"},{"photo_id":"1398112456","filename":"file1"},{"photo_id":"1398112453","filename":"file0"},{"photo_id":"1398112458","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398112459":["hashtag1","hashtag2"]},{"1398112453":["hashtag1","hashtag2"]},{"1398112456":["hashtag1","hashtag2"]},{"1398112458":["hashtag1","hashtag2"]},{"1398112460":["hashtag1","hashtag2"]},{"1398112457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398112459, 1398112453, 1398112456, 1398112458, 1398112460, 1398112457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00104808807373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:33:22.421007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/21/image_05122025_17_21_15_9659.jpg', '/home/pi/Desktop/images/05122025/17/21/image_05122025_17_21_25_10538.jpg', '/home/pi/Desktop/images/05122025/17/21/image_05122025_17_21_35_9815.jpg', '/home/pi/Desktop/images/05122025/17/21/image_05122025_17_21_45_9558.jpg', '/home/pi/Desktop/images/05122025/17/21/image_05122025_17_21_55_10652.jpg', '/home/pi/Desktop/images/05122025/17/21/image_05122025_17_22_05_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/21/image_05122025_17_21_15_9659.jpg
/home/pi/Desktop/images/05122025/17/21/image_05122025_17_21_25_10538.jpg
/home/pi/Desktop/images/05122025/17/21/image_05122025_17_21_35_9815.jpg
/home/pi/Desktop/images/05122025/17/21/image_05122025_17_21_45_9558.jpg
/home/pi/Desktop/images/05122025/17/21/image_05122025_17_21_55_10652.jpg
/home/pi/Desktop/images/05122025/17/21/image_05122025_17_22_05_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":["1398112465","1398112468","1398112470","1398112467","1398112472","1398112475"],"photo_ids_order":["1398112465","1398112467","1398112468","1398112470","1398112472","1398112475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab38547e27fa37af9f6a288b36a528a9.jpg","text":"TemporaryFile(/tmp/multipartBody164096501279568917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956063023,"filename":"image_05122025_17_21_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cf3ca108dc2269e5e393c2f964cd73d4.jpg","text":"TemporaryFile(/tmp/multipartBody8117686586382176987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956063023,"filename":"image_05122025_17_21_35_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/5/861ef011ef61cfe725005198b70deef3.jpg","text":"TemporaryFile(/tmp/multipartBody5493334872523120286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956063023,"filename":"image_05122025_17_21_45_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/5/1b76a3f82e5515d1222db701d35942f4.jpg","text":"TemporaryFile(/tmp/multipartBody1358263933029019730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956063023,"filename":"image_05122025_17_21_25_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/5/ca852b68fdee265e8059e696a557038c.jpg","text":"TemporaryFile(/tmp/multipartBody3582396683202680353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956063023,"filename":"image_05122025_17_21_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/5/dccc794752a98752aaca05d4e330e448.jpg","text":"TemporaryFile(/tmp/multipartBody56449781624445513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956063023,"filename":"image_05122025_17_22_05_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112468","file1":"1398112467","file0":"1398112465","file4":"1398112472","file5":"1398112475","file3":"1398112470"},"map_files_photo_id_array":[{"photo_id":"1398112475","filename":"file5"},{"photo_id":"1398112468","filename":"file2"},{"photo_id":"1398112472","filename":"file4"},{"photo_id":"1398112467","filename":"file1"},{"photo_id":"1398112465","filename":"file0"},{"photo_id":"1398112470","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112465":["hashtag1","hashtag2"]},{"1398112468":["hashtag1","hashtag2"]},{"1398112470":["hashtag1","hashtag2"]},{"1398112467":["hashtag1","hashtag2"]},{"1398112472":["hashtag1","hashtag2"]},{"1398112475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112465, 1398112468, 1398112470, 1398112467, 1398112472, 1398112475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7325336933136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:34:03.297812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_15_9935.jpg', '/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_25_9760.jpg', '/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_35_10606.jpg', '/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_45_9518.jpg', '/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_55_9802.jpg', '/home/pi/Desktop/images/05122025/17/22/image_05122025_17_23_05_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_15_9935.jpg
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_25_9760.jpg
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_35_10606.jpg
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_45_9518.jpg
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_55_9802.jpg
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_23_05_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.5636136531829834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 18:34:12.628268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/29/image_02122025_23_29_44_9723.jpg', '/home/pi/Desktop/images/02122025/23/29/image_02122025_23_29_54_9866.jpg', '/home/pi/Desktop/images/02122025/23/30/image_02122025_23_30_34_9780.jpg', '/home/pi/Desktop/images/02122025/23/31/image_02122025_23_31_44_9716.jpg', '/home/pi/Desktop/images/02122025/23/31/image_02122025_23_31_54_10646.jpg', '/home/pi/Desktop/images/02122025/23/32/image_02122025_23_32_44_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/29/image_02122025_23_29_44_9723.jpg
/home/pi/Desktop/images/02122025/23/29/image_02122025_23_29_54_9866.jpg
/home/pi/Desktop/images/02122025/23/30/image_02122025_23_30_34_9780.jpg
/home/pi/Desktop/images/02122025/23/31/image_02122025_23_31_44_9716.jpg
/home/pi/Desktop/images/02122025/23/31/image_02122025_23_31_54_10646.jpg
/home/pi/Desktop/images/02122025/23/32/image_02122025_23_32_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":["1398112492","1398112494","1398112488","1398112496","1398112481","1398112484"],"photo_ids_order":["1398112481","1398112484","1398112488","1398112492","1398112494","1398112496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/71b6348957e9b997252451b4a8acef3e.jpg","text":"TemporaryFile(/tmp/multipartBody837171011533225928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956114713,"filename":"image_02122025_23_31_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/5/7b3340704cdf7e0f907718b33641e248.jpg","text":"TemporaryFile(/tmp/multipartBody3555883521427040821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956114713,"filename":"image_02122025_23_31_54_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/5/a29f1cbf8ec19d02169a0fafabd26423.jpg","text":"TemporaryFile(/tmp/multipartBody2117039653588416680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956114713,"filename":"image_02122025_23_30_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/5/63bf84208e2244bdec06c8e66d887282.jpg","text":"TemporaryFile(/tmp/multipartBody4745038000882665713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956114713,"filename":"image_02122025_23_32_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/5/087e6bcb1268f4d6834a7cfb72b8e0b3.jpg","text":"TemporaryFile(/tmp/multipartBody1012159102619134758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956114713,"filename":"image_02122025_23_29_44_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3750eb3bc7757314147b63c54d1afb03.jpg","text":"TemporaryFile(/tmp/multipartBody103564049536723572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956114713,"filename":"image_02122025_23_29_54_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112488","file1":"1398112484","file0":"1398112481","file4":"1398112494","file5":"1398112496","file3":"1398112492"},"map_files_photo_id_array":[{"photo_id":"1398112496","filename":"file5"},{"photo_id":"1398112488","filename":"file2"},{"photo_id":"1398112494","filename":"file4"},{"photo_id":"1398112484","filename":"file1"},{"photo_id":"1398112481","filename":"file0"},{"photo_id":"1398112492","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398112492":["hashtag1","hashtag2"]},{"1398112494":["hashtag1","hashtag2"]},{"1398112488":["hashtag1","hashtag2"]},{"1398112496":["hashtag1","hashtag2"]},{"1398112481":["hashtag1","hashtag2"]},{"1398112484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398112492, 1398112494, 1398112488, 1398112496, 1398112481, 1398112484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11466956138611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:35:02.560878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_15_9935.jpg', '/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_25_9760.jpg', '/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_35_10606.jpg', '/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_45_9518.jpg', '/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_55_9802.jpg', '/home/pi/Desktop/images/05122025/17/22/image_05122025_17_23_05_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_15_9935.jpg
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_25_9760.jpg
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_35_10606.jpg
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_45_9518.jpg
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_22_55_9802.jpg
/home/pi/Desktop/images/05122025/17/22/image_05122025_17_23_05_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112529","1398112525","1398112513","1398112527","1398112523","1398112532"],"photo_ids_order":["1398112513","1398112523","1398112525","1398112527","1398112529","1398112532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/880dfd707dcbf01b3bc67783f5e814c3.jpg","text":"TemporaryFile(/tmp/multipartBody6312684236871703420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956163247,"filename":"image_05122025_17_22_55_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bc889fafd7cb94e9e7d782b6c41e6d00.jpg","text":"TemporaryFile(/tmp/multipartBody5405465613924101777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956163247,"filename":"image_05122025_17_22_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fe8f41b5fa7917308df943c89b81de5d.jpg","text":"TemporaryFile(/tmp/multipartBody6965244419309589036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956163247,"filename":"image_05122025_17_22_15_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/5/4b5a4e8298180e2ab08aab4a6acfa825.jpg","text":"TemporaryFile(/tmp/multipartBody8696640636806858204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956163247,"filename":"image_05122025_17_22_45_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/5/7e767bdc85bde1139bd1d5adc246e9bd.jpg","text":"TemporaryFile(/tmp/multipartBody6567862643477622745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956163247,"filename":"image_05122025_17_22_25_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bfb283f0ad2f9296938d0ac2cdc8c822.jpg","text":"TemporaryFile(/tmp/multipartBody175791543600760501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956163247,"filename":"image_05122025_17_23_05_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112525","file1":"1398112523","file0":"1398112513","file4":"1398112529","file5":"1398112532","file3":"1398112527"},"map_files_photo_id_array":[{"photo_id":"1398112532","filename":"file5"},{"photo_id":"1398112525","filename":"file2"},{"photo_id":"1398112529","filename":"file4"},{"photo_id":"1398112523","filename":"file1"},{"photo_id":"1398112513","filename":"file0"},{"photo_id":"1398112527","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112529":["hashtag1","hashtag2"]},{"1398112525":["hashtag1","hashtag2"]},{"1398112513":["hashtag1","hashtag2"]},{"1398112527":["hashtag1","hashtag2"]},{"1398112523":["hashtag1","hashtag2"]},{"1398112532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112529, 1398112525, 1398112513, 1398112527, 1398112523, 1398112532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88629484176636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:35:41.878695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_09_3647.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_12_2553.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_16_3599.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_18_2592.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_25_3592.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_27_2516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_09_3647.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_12_2553.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_16_3599.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_18_2592.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_25_3592.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_27_2516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112540","1398112543","1398112537","1398112551","1398112539","1398112538"],"photo_ids_order":["1398112537","1398112538","1398112539","1398112540","1398112543","1398112551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/53bf84e36b7cb1db1b32f80f944bcb74.jpg","text":"TemporaryFile(/tmp/multipartBody2203589125821205244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956203440,"filename":"image_31102025_20_17_18_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/5/fe00f457832341d565e7dc9792850560.jpg","text":"TemporaryFile(/tmp/multipartBody1380452697197772164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956203440,"filename":"image_31102025_20_17_25_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/5/8ad60923220e2d332c10f6799fcd3a9e.jpg","text":"TemporaryFile(/tmp/multipartBody6644351379628977116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956203440,"filename":"image_31102025_20_17_09_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/5/c8a85d41a8e62d2c1d20dec75198467a.jpg","text":"TemporaryFile(/tmp/multipartBody3108459198297421225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956203440,"filename":"image_31102025_20_17_27_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/5/73971784fe3c496c9ec26f0bd269db1b.jpg","text":"TemporaryFile(/tmp/multipartBody2827835195728198436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956203440,"filename":"image_31102025_20_17_16_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/5/daef3dadb1257d1029f59f74eed0a1f4.jpg","text":"TemporaryFile(/tmp/multipartBody520886744131482352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956203440,"filename":"image_31102025_20_17_12_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112539","file1":"1398112538","file0":"1398112537","file4":"1398112543","file5":"1398112551","file3":"1398112540"},"map_files_photo_id_array":[{"photo_id":"1398112551","filename":"file5"},{"photo_id":"1398112539","filename":"file2"},{"photo_id":"1398112543","filename":"file4"},{"photo_id":"1398112538","filename":"file1"},{"photo_id":"1398112537","filename":"file0"},{"photo_id":"1398112540","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398112540":["hashtag1","hashtag2"]},{"1398112543":["hashtag1","hashtag2"]},{"1398112537":["hashtag1","hashtag2"]},{"1398112551":["hashtag1","hashtag2"]},{"1398112539":["hashtag1","hashtag2"]},{"1398112538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398112540, 1398112543, 1398112537, 1398112551, 1398112539, 1398112538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75410866737366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:36:22.040934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/23/image_05122025_17_23_15_9672.jpg', '/home/pi/Desktop/images/05122025/17/23/image_05122025_17_23_25_9713.jpg', '/home/pi/Desktop/images/05122025/17/23/image_05122025_17_23_35_10742.jpg', '/home/pi/Desktop/images/05122025/17/23/image_05122025_17_23_45_9628.jpg', '/home/pi/Desktop/images/05122025/17/23/image_05122025_17_23_55_9644.jpg', '/home/pi/Desktop/images/05122025/17/23/image_05122025_17_24_05_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/23/image_05122025_17_23_15_9672.jpg
/home/pi/Desktop/images/05122025/17/23/image_05122025_17_23_25_9713.jpg
/home/pi/Desktop/images/05122025/17/23/image_05122025_17_23_35_10742.jpg
/home/pi/Desktop/images/05122025/17/23/image_05122025_17_23_45_9628.jpg
/home/pi/Desktop/images/05122025/17/23/image_05122025_17_23_55_9644.jpg
/home/pi/Desktop/images/05122025/17/23/image_05122025_17_24_05_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112555","1398112563","1398112557","1398112566","1398112571","1398112568"],"photo_ids_order":["1398112555","1398112557","1398112563","1398112566","1398112568","1398112571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/508864807601e7e1c11a9d80c260f632.jpg","text":"TemporaryFile(/tmp/multipartBody5098059478751143775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956242681,"filename":"image_05122025_17_23_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/5/e71ecea021d53b573c369616c23e6cf4.jpg","text":"TemporaryFile(/tmp/multipartBody5697021856561603794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956242681,"filename":"image_05122025_17_23_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/5/eaeb36bcae8a6d17beac70231b2e7f68.jpg","text":"TemporaryFile(/tmp/multipartBody311637992136249766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956242681,"filename":"image_05122025_17_23_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/5/4ab20bca4fead8f6780ad59671cb93f8.jpg","text":"TemporaryFile(/tmp/multipartBody3564279454213087727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956242681,"filename":"image_05122025_17_23_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/5/6be07b01b9e12d242e52d17f630645b0.jpg","text":"TemporaryFile(/tmp/multipartBody622090791603066690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956242681,"filename":"image_05122025_17_24_05_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/5/2298f41677fa5b2df0c0d7db2c7fa52e.jpg","text":"TemporaryFile(/tmp/multipartBody7142153789548863149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956242681,"filename":"image_05122025_17_23_55_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112563","file1":"1398112557","file0":"1398112555","file4":"1398112568","file5":"1398112571","file3":"1398112566"},"map_files_photo_id_array":[{"photo_id":"1398112571","filename":"file5"},{"photo_id":"1398112563","filename":"file2"},{"photo_id":"1398112568","filename":"file4"},{"photo_id":"1398112557","filename":"file1"},{"photo_id":"1398112555","filename":"file0"},{"photo_id":"1398112566","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112555":["hashtag1","hashtag2"]},{"1398112563":["hashtag1","hashtag2"]},{"1398112557":["hashtag1","hashtag2"]},{"1398112566":["hashtag1","hashtag2"]},{"1398112571":["hashtag1","hashtag2"]},{"1398112568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112555, 1398112563, 1398112557, 1398112566, 1398112571, 1398112568)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.54547047615051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 18:37:21.493691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/32/image_02122025_23_32_54_9914.jpg', '/home/pi/Desktop/images/02122025/23/34/image_02122025_23_34_55_9934.jpg', '/home/pi/Desktop/images/02122025/23/34/image_02122025_23_35_04_9710.jpg', '/home/pi/Desktop/images/02122025/23/35/image_02122025_23_35_14_9780.jpg', '/home/pi/Desktop/images/02122025/23/35/image_02122025_23_35_25_10556.jpg', '/home/pi/Desktop/images/02122025/23/35/image_02122025_23_35_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/32/image_02122025_23_32_54_9914.jpg
/home/pi/Desktop/images/02122025/23/34/image_02122025_23_34_55_9934.jpg
/home/pi/Desktop/images/02122025/23/34/image_02122025_23_35_04_9710.jpg
/home/pi/Desktop/images/02122025/23/35/image_02122025_23_35_14_9780.jpg
/home/pi/Desktop/images/02122025/23/35/image_02122025_23_35_25_10556.jpg
/home/pi/Desktop/images/02122025/23/35/image_02122025_23_35_34_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112597","1398112601","1398112599","1398112592","1398112595","1398112589"],"photo_ids_order":["1398112589","1398112592","1398112595","1398112597","1398112599","1398112601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/428f2178f5c9a53822a79a7fe8e17b68.jpg","text":"TemporaryFile(/tmp/multipartBody8666921925273252811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956303270,"filename":"image_02122025_23_35_14_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4b13d7df1eb6b4d09d800f402b70fdd0.jpg","text":"TemporaryFile(/tmp/multipartBody1639105423829372263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956303270,"filename":"image_02122025_23_35_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/807395df166dedcadab740c0b5afeb9a.jpg","text":"TemporaryFile(/tmp/multipartBody4966459936288893671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956303270,"filename":"image_02122025_23_35_25_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3dc0b8a1395ab5d26c4c9aa3eadce02a.jpg","text":"TemporaryFile(/tmp/multipartBody8654210411203975053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956303270,"filename":"image_02122025_23_34_55_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/5/95b56d78cb3692f12236abfa02c4214f.jpg","text":"TemporaryFile(/tmp/multipartBody1940774758838666867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956303270,"filename":"image_02122025_23_35_04_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/5/04083709fc1c6af30b455a4de9f26b04.jpg","text":"TemporaryFile(/tmp/multipartBody261990710112647489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956303270,"filename":"image_02122025_23_32_54_9914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112595","file1":"1398112592","file0":"1398112589","file4":"1398112599","file5":"1398112601","file3":"1398112597"},"map_files_photo_id_array":[{"photo_id":"1398112601","filename":"file5"},{"photo_id":"1398112595","filename":"file2"},{"photo_id":"1398112599","filename":"file4"},{"photo_id":"1398112592","filename":"file1"},{"photo_id":"1398112589","filename":"file0"},{"photo_id":"1398112597","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398112597":["hashtag1","hashtag2"]},{"1398112601":["hashtag1","hashtag2"]},{"1398112599":["hashtag1","hashtag2"]},{"1398112592":["hashtag1","hashtag2"]},{"1398112595":["hashtag1","hashtag2"]},{"1398112589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398112597, 1398112601, 1398112599, 1398112592, 1398112595, 1398112589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86251449584961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:38:03.072311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/24/image_05122025_17_24_15_9646.jpg', '/home/pi/Desktop/images/05122025/17/24/image_05122025_17_24_25_10032.jpg', '/home/pi/Desktop/images/05122025/17/24/image_05122025_17_24_35_9638.jpg', '/home/pi/Desktop/images/05122025/17/24/image_05122025_17_24_45_10614.jpg', '/home/pi/Desktop/images/05122025/17/26/image_05122025_17_26_15_10037.jpg', '/home/pi/Desktop/images/05122025/17/26/image_05122025_17_26_25_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/24/image_05122025_17_24_15_9646.jpg
/home/pi/Desktop/images/05122025/17/24/image_05122025_17_24_25_10032.jpg
/home/pi/Desktop/images/05122025/17/24/image_05122025_17_24_35_9638.jpg
/home/pi/Desktop/images/05122025/17/24/image_05122025_17_24_45_10614.jpg
/home/pi/Desktop/images/05122025/17/26/image_05122025_17_26_15_10037.jpg
/home/pi/Desktop/images/05122025/17/26/image_05122025_17_26_25_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":["1398112615","1398112603","1398112611","1398112608","1398112602","1398112604"],"photo_ids_order":["1398112602","1398112603","1398112604","1398112608","1398112611","1398112615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c02c4fbb279430f03b68239d4cb13141.jpg","text":"TemporaryFile(/tmp/multipartBody5117547841730333646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956343794,"filename":"image_05122025_17_26_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c810a8ef1e7084b3a4d8961c7e87177.jpg","text":"TemporaryFile(/tmp/multipartBody6509182987628454359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956343794,"filename":"image_05122025_17_24_25_10032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ef3b28c36903ef20aef25f13406be933.jpg","text":"TemporaryFile(/tmp/multipartBody5748699943967759660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956343794,"filename":"image_05122025_17_26_15_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/5/a7d922c0f00b745930bcab5dcdbf0cc8.jpg","text":"TemporaryFile(/tmp/multipartBody4990621677459367815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956343794,"filename":"image_05122025_17_24_45_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/5/1e7d41489f9e4682046f900b89836282.jpg","text":"TemporaryFile(/tmp/multipartBody199000035880677748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956343794,"filename":"image_05122025_17_24_15_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/5/aaeb0cb412840bb7a6694bddcef1925a.jpg","text":"TemporaryFile(/tmp/multipartBody8571923896774975425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956343794,"filename":"image_05122025_17_24_35_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112604","file1":"1398112603","file0":"1398112602","file4":"1398112611","file5":"1398112615","file3":"1398112608"},"map_files_photo_id_array":[{"photo_id":"1398112615","filename":"file5"},{"photo_id":"1398112604","filename":"file2"},{"photo_id":"1398112611","filename":"file4"},{"photo_id":"1398112603","filename":"file1"},{"photo_id":"1398112602","filename":"file0"},{"photo_id":"1398112608","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112615":["hashtag1","hashtag2"]},{"1398112603":["hashtag1","hashtag2"]},{"1398112611":["hashtag1","hashtag2"]},{"1398112608":["hashtag1","hashtag2"]},{"1398112602":["hashtag1","hashtag2"]},{"1398112604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112615, 1398112603, 1398112611, 1398112608, 1398112602, 1398112604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.125826358795166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:38:42.618376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_31_3561.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_33_2715.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_36_2637.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_40_3642.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_42_2682.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_45_2499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_31_3561.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_33_2715.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_36_2637.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_40_3642.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_42_2682.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_45_2499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112633","1398112636","1398112632","1398112635","1398112634","1398112637"],"photo_ids_order":["1398112632","1398112633","1398112634","1398112635","1398112636","1398112637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6cc4b4c397c9b5a30925a8195b42d867.jpg","text":"TemporaryFile(/tmp/multipartBody6157537932353045105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956389231,"filename":"image_31102025_20_17_33_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/5/fe12fd0360cced055346f3859f068296.jpg","text":"TemporaryFile(/tmp/multipartBody4629617965899759094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956389231,"filename":"image_31102025_20_17_42_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/5/23bf9afb176d85a39019ffb775966f20.jpg","text":"TemporaryFile(/tmp/multipartBody9484996923983711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956389231,"filename":"image_31102025_20_17_31_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/5/42684fb653643ddbe61966bf1cf272f7.jpg","text":"TemporaryFile(/tmp/multipartBody3059830777436577406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956389231,"filename":"image_31102025_20_17_40_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/5/38f9fbc307f384ae64133a64a85f6084.jpg","text":"TemporaryFile(/tmp/multipartBody2219108817045606323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956389231,"filename":"image_31102025_20_17_36_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/5/7accd7e91aa20eefea1682707df51f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8482566080927798655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956389231,"filename":"image_31102025_20_17_45_2499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112634","file1":"1398112633","file0":"1398112632","file4":"1398112636","file5":"1398112637","file3":"1398112635"},"map_files_photo_id_array":[{"photo_id":"1398112637","filename":"file5"},{"photo_id":"1398112634","filename":"file2"},{"photo_id":"1398112636","filename":"file4"},{"photo_id":"1398112633","filename":"file1"},{"photo_id":"1398112632","filename":"file0"},{"photo_id":"1398112635","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398112633":["hashtag1","hashtag2"]},{"1398112636":["hashtag1","hashtag2"]},{"1398112632":["hashtag1","hashtag2"]},{"1398112635":["hashtag1","hashtag2"]},{"1398112634":["hashtag1","hashtag2"]},{"1398112637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398112633, 1398112636, 1398112632, 1398112635, 1398112634, 1398112637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47918081283569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 18:39:32.939961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/35/image_02122025_23_35_44_9774.jpg', '/home/pi/Desktop/images/02122025/23/35/image_02122025_23_35_54_9789.jpg', '/home/pi/Desktop/images/02122025/23/35/image_02122025_23_36_04_10644.jpg', '/home/pi/Desktop/images/02122025/23/36/image_02122025_23_36_24_9802.jpg', '/home/pi/Desktop/images/02122025/23/36/image_02122025_23_36_35_10694.jpg', '/home/pi/Desktop/images/02122025/23/37/image_02122025_23_37_14_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/35/image_02122025_23_35_44_9774.jpg
/home/pi/Desktop/images/02122025/23/35/image_02122025_23_35_54_9789.jpg
/home/pi/Desktop/images/02122025/23/35/image_02122025_23_36_04_10644.jpg
/home/pi/Desktop/images/02122025/23/36/image_02122025_23_36_24_9802.jpg
/home/pi/Desktop/images/02122025/23/36/image_02122025_23_36_35_10694.jpg
/home/pi/Desktop/images/02122025/23/37/image_02122025_23_37_14_9881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112675","1398112674","1398112668","1398112671","1398112665","1398112673"],"photo_ids_order":["1398112665","1398112668","1398112671","1398112673","1398112674","1398112675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/41b11881a6e1ee09a2c5b6659a3deab7.jpg","text":"TemporaryFile(/tmp/multipartBody1561280069798305901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956435050,"filename":"image_02122025_23_37_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/5/9f02554673f69536b5ca4de538eb804b.jpg","text":"TemporaryFile(/tmp/multipartBody1028532314512654537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956435050,"filename":"image_02122025_23_36_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/5/e97cab93e4eb7cd2cda111353516184e.jpg","text":"TemporaryFile(/tmp/multipartBody674918787640952952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956435050,"filename":"image_02122025_23_35_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/5/d7f9d06bf242a436c7b6bdffdff67bf5.jpg","text":"TemporaryFile(/tmp/multipartBody7355063142056083688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956435050,"filename":"image_02122025_23_36_04_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/5/3177fe3a027bdc1d10049bb6609fe124.jpg","text":"TemporaryFile(/tmp/multipartBody6257698857744616873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956435050,"filename":"image_02122025_23_35_44_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/74e41b33d41648cdaf3ab6a20692b088.jpg","text":"TemporaryFile(/tmp/multipartBody2070765165375670075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956435050,"filename":"image_02122025_23_36_24_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112671","file1":"1398112668","file0":"1398112665","file4":"1398112674","file5":"1398112675","file3":"1398112673"},"map_files_photo_id_array":[{"photo_id":"1398112675","filename":"file5"},{"photo_id":"1398112671","filename":"file2"},{"photo_id":"1398112674","filename":"file4"},{"photo_id":"1398112668","filename":"file1"},{"photo_id":"1398112665","filename":"file0"},{"photo_id":"1398112673","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398112675":["hashtag1","hashtag2"]},{"1398112674":["hashtag1","hashtag2"]},{"1398112668":["hashtag1","hashtag2"]},{"1398112671":["hashtag1","hashtag2"]},{"1398112665":["hashtag1","hashtag2"]},{"1398112673":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398112675, 1398112674, 1398112668, 1398112671, 1398112665, 1398112673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26847743988037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:40:22.096255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/26/image_05122025_17_26_46_10566.jpg', '/home/pi/Desktop/images/05122025/17/26/image_05122025_17_26_55_9808.jpg', '/home/pi/Desktop/images/05122025/17/26/image_05122025_17_27_05_9705.jpg', '/home/pi/Desktop/images/05122025/17/27/image_05122025_17_27_25_9895.jpg', '/home/pi/Desktop/images/05122025/17/27/image_05122025_17_27_35_10687.jpg', '/home/pi/Desktop/images/05122025/17/27/image_05122025_17_27_45_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/26/image_05122025_17_26_46_10566.jpg
/home/pi/Desktop/images/05122025/17/26/image_05122025_17_26_55_9808.jpg
/home/pi/Desktop/images/05122025/17/26/image_05122025_17_27_05_9705.jpg
/home/pi/Desktop/images/05122025/17/27/image_05122025_17_27_25_9895.jpg
/home/pi/Desktop/images/05122025/17/27/image_05122025_17_27_35_10687.jpg
/home/pi/Desktop/images/05122025/17/27/image_05122025_17_27_45_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":["1398112686","1398112680","1398112698","1398112683","1398112677","1398112694"],"photo_ids_order":["1398112677","1398112680","1398112683","1398112686","1398112694","1398112698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d97a3fc2e2920793796811f8f0c270b.jpg","text":"TemporaryFile(/tmp/multipartBody7610956305977422931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956482763,"filename":"image_05122025_17_27_25_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/5/8e99bdfbbcb35f4f225fe8ee785734a6.jpg","text":"TemporaryFile(/tmp/multipartBody999231919876685330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956482763,"filename":"image_05122025_17_26_55_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/5/048f5b99bcfbe67c8074fadd4f450380.jpg","text":"TemporaryFile(/tmp/multipartBody7291342461863887350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956482763,"filename":"image_05122025_17_27_45_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5da160fd6350e89ca436e9cb4d0efec8.jpg","text":"TemporaryFile(/tmp/multipartBody2242512264701670376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956482763,"filename":"image_05122025_17_27_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/5/71a1193ac52650602c8cb6fa9d9ffe55.jpg","text":"TemporaryFile(/tmp/multipartBody4025690339918966792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956482763,"filename":"image_05122025_17_26_46_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f839ef27caec780e1da1ba8c33c263c8.jpg","text":"TemporaryFile(/tmp/multipartBody1869196113421410964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956482763,"filename":"image_05122025_17_27_35_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112683","file1":"1398112680","file0":"1398112677","file4":"1398112694","file5":"1398112698","file3":"1398112686"},"map_files_photo_id_array":[{"photo_id":"1398112698","filename":"file5"},{"photo_id":"1398112683","filename":"file2"},{"photo_id":"1398112694","filename":"file4"},{"photo_id":"1398112680","filename":"file1"},{"photo_id":"1398112677","filename":"file0"},{"photo_id":"1398112686","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112686":["hashtag1","hashtag2"]},{"1398112680":["hashtag1","hashtag2"]},{"1398112698":["hashtag1","hashtag2"]},{"1398112683":["hashtag1","hashtag2"]},{"1398112677":["hashtag1","hashtag2"]},{"1398112694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112686, 1398112680, 1398112698, 1398112683, 1398112677, 1398112694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.812711238861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:41:02.868454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/27/image_05122025_17_27_55_9828.jpg', '/home/pi/Desktop/images/05122025/17/27/image_05122025_17_28_05_9613.jpg', '/home/pi/Desktop/images/05122025/17/28/image_05122025_17_28_15_10600.jpg', '/home/pi/Desktop/images/05122025/17/28/image_05122025_17_28_25_9787.jpg', '/home/pi/Desktop/images/05122025/17/28/image_05122025_17_28_36_10593.jpg', '/home/pi/Desktop/images/05122025/17/28/image_05122025_17_28_45_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/27/image_05122025_17_27_55_9828.jpg
/home/pi/Desktop/images/05122025/17/27/image_05122025_17_28_05_9613.jpg
/home/pi/Desktop/images/05122025/17/28/image_05122025_17_28_15_10600.jpg
/home/pi/Desktop/images/05122025/17/28/image_05122025_17_28_25_9787.jpg
/home/pi/Desktop/images/05122025/17/28/image_05122025_17_28_36_10593.jpg
/home/pi/Desktop/images/05122025/17/28/image_05122025_17_28_45_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112711","1398112705","1398112713","1398112707","1398112715","1398112709"],"photo_ids_order":["1398112705","1398112707","1398112709","1398112711","1398112713","1398112715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3567eee5f0a99c51cac505ef57e74e74.jpg","text":"TemporaryFile(/tmp/multipartBody3841536237946264327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956523594,"filename":"image_05122025_17_28_25_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/5/b15f93016a58f27a72ed379477c7d294.jpg","text":"TemporaryFile(/tmp/multipartBody5352591442245065982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956523594,"filename":"image_05122025_17_27_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/5/91c2c3540118c5da4589b6c0a24d799d.jpg","text":"TemporaryFile(/tmp/multipartBody2344691405014380769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956523594,"filename":"image_05122025_17_28_36_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/5/8ab8af2f22cd1b28458b5a9ff410ae50.jpg","text":"TemporaryFile(/tmp/multipartBody7474640498582174353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956523594,"filename":"image_05122025_17_28_05_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/5/ed6c16c63ea386adeb223f94a8e49cea.jpg","text":"TemporaryFile(/tmp/multipartBody1057172361652832552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956523594,"filename":"image_05122025_17_28_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/5/c44a618afad7e163b3346c69994e2a8c.jpg","text":"TemporaryFile(/tmp/multipartBody4250711306009739823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956523594,"filename":"image_05122025_17_28_15_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112709","file1":"1398112707","file0":"1398112705","file4":"1398112713","file5":"1398112715","file3":"1398112711"},"map_files_photo_id_array":[{"photo_id":"1398112715","filename":"file5"},{"photo_id":"1398112709","filename":"file2"},{"photo_id":"1398112713","filename":"file4"},{"photo_id":"1398112707","filename":"file1"},{"photo_id":"1398112705","filename":"file0"},{"photo_id":"1398112711","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112711":["hashtag1","hashtag2"]},{"1398112705":["hashtag1","hashtag2"]},{"1398112713":["hashtag1","hashtag2"]},{"1398112707":["hashtag1","hashtag2"]},{"1398112715":["hashtag1","hashtag2"]},{"1398112709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112711, 1398112705, 1398112713, 1398112707, 1398112715, 1398112709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.670125246047974 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-05 18:42:02.779057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 18:42:12.407773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/37/image_02122025_23_37_24_9880.jpg', '/home/pi/Desktop/images/02122025/23/37/image_02122025_23_37_44_9943.jpg', '/home/pi/Desktop/images/02122025/23/38/image_02122025_23_38_34_9835.jpg', '/home/pi/Desktop/images/02122025/23/38/image_02122025_23_38_45_10572.jpg', '/home/pi/Desktop/images/02122025/23/39/image_02122025_23_39_14_10741.jpg', '/home/pi/Desktop/images/02122025/23/39/image_02122025_23_39_24_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/37/image_02122025_23_37_24_9880.jpg
/home/pi/Desktop/images/02122025/23/37/image_02122025_23_37_44_9943.jpg
/home/pi/Desktop/images/02122025/23/38/image_02122025_23_38_34_9835.jpg
/home/pi/Desktop/images/02122025/23/38/image_02122025_23_38_45_10572.jpg
/home/pi/Desktop/images/02122025/23/39/image_02122025_23_39_14_10741.jpg
/home/pi/Desktop/images/02122025/23/39/image_02122025_23_39_24_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112740","1398112737","1398112746","1398112751","1398112754","1398112742"],"photo_ids_order":["1398112737","1398112740","1398112742","1398112746","1398112751","1398112754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6e5c7cc015481f18c114cb508e0bc7fa.jpg","text":"TemporaryFile(/tmp/multipartBody3717032703623261141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956601300,"filename":"image_02122025_23_37_44_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/5/7f3a9a755f917e5aadf1b655b8ceed20.jpg","text":"TemporaryFile(/tmp/multipartBody8771883056145861425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956601300,"filename":"image_02122025_23_37_24_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/72db87e63552e32fb3e007693e859ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3326511387570638860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956601300,"filename":"image_02122025_23_38_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2d5e7478a2cf0bcdbf952f32127e7a2.jpg","text":"TemporaryFile(/tmp/multipartBody8724701755742978737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956601300,"filename":"image_02122025_23_39_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/5/c55b16fec34e5f21d4a1a0dd553c5654.jpg","text":"TemporaryFile(/tmp/multipartBody5450114081723831897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956601300,"filename":"image_02122025_23_39_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/5/fa90e0a1015dfeb8b9f656d978b40eb6.jpg","text":"TemporaryFile(/tmp/multipartBody1280237330174367037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956601300,"filename":"image_02122025_23_38_34_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112742","file1":"1398112740","file0":"1398112737","file4":"1398112751","file5":"1398112754","file3":"1398112746"},"map_files_photo_id_array":[{"photo_id":"1398112754","filename":"file5"},{"photo_id":"1398112742","filename":"file2"},{"photo_id":"1398112751","filename":"file4"},{"photo_id":"1398112740","filename":"file1"},{"photo_id":"1398112737","filename":"file0"},{"photo_id":"1398112746","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398112740":["hashtag1","hashtag2"]},{"1398112737":["hashtag1","hashtag2"]},{"1398112746":["hashtag1","hashtag2"]},{"1398112751":["hashtag1","hashtag2"]},{"1398112754":["hashtag1","hashtag2"]},{"1398112742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398112740, 1398112737, 1398112746, 1398112751, 1398112754, 1398112742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.977763652801514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:43:02.800927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/28/image_05122025_17_28_55_9700.jpg', '/home/pi/Desktop/images/05122025/17/28/image_05122025_17_29_06_10665.jpg', '/home/pi/Desktop/images/05122025/17/29/image_05122025_17_29_15_9775.jpg', '/home/pi/Desktop/images/05122025/17/29/image_05122025_17_29_25_9660.jpg', '/home/pi/Desktop/images/05122025/17/29/image_05122025_17_29_35_9668.jpg', '/home/pi/Desktop/images/05122025/17/29/image_05122025_17_29_45_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/28/image_05122025_17_28_55_9700.jpg
/home/pi/Desktop/images/05122025/17/28/image_05122025_17_29_06_10665.jpg
/home/pi/Desktop/images/05122025/17/29/image_05122025_17_29_15_9775.jpg
/home/pi/Desktop/images/05122025/17/29/image_05122025_17_29_25_9660.jpg
/home/pi/Desktop/images/05122025/17/29/image_05122025_17_29_35_9668.jpg
/home/pi/Desktop/images/05122025/17/29/image_05122025_17_29_45_10694.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":["1398112762","1398112768","1398112764","1398112766","1398112760","1398112757"],"photo_ids_order":["1398112757","1398112760","1398112762","1398112764","1398112766","1398112768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51663b54b499685020f22c0580ecd8f9.jpg","text":"TemporaryFile(/tmp/multipartBody4257721853158855318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956646196,"filename":"image_05122025_17_29_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/5/f2c8e598501c513c48b775768be74eb2.jpg","text":"TemporaryFile(/tmp/multipartBody5399516441215483393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956646196,"filename":"image_05122025_17_29_45_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/40ac8584068573c6e3ed6c98da26db08.jpg","text":"TemporaryFile(/tmp/multipartBody8421778912249249785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956646196,"filename":"image_05122025_17_29_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/5/5fd485b1ab5cf9fd05bb76e187c062c6.jpg","text":"TemporaryFile(/tmp/multipartBody2473032651417648925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956646196,"filename":"image_05122025_17_29_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/5/354283399fd9c7ec987bd70f5b2e1523.jpg","text":"TemporaryFile(/tmp/multipartBody4435816073951441571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956646196,"filename":"image_05122025_17_29_06_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/5/6cc989424728a38c457809b5698b9ca9.jpg","text":"TemporaryFile(/tmp/multipartBody4710935273108861625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956646196,"filename":"image_05122025_17_28_55_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112762","file1":"1398112760","file0":"1398112757","file4":"1398112766","file5":"1398112768","file3":"1398112764"},"map_files_photo_id_array":[{"photo_id":"1398112768","filename":"file5"},{"photo_id":"1398112762","filename":"file2"},{"photo_id":"1398112766","filename":"file4"},{"photo_id":"1398112760","filename":"file1"},{"photo_id":"1398112757","filename":"file0"},{"photo_id":"1398112764","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112762":["hashtag1","hashtag2"]},{"1398112768":["hashtag1","hashtag2"]},{"1398112764":["hashtag1","hashtag2"]},{"1398112766":["hashtag1","hashtag2"]},{"1398112760":["hashtag1","hashtag2"]},{"1398112757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112762, 1398112768, 1398112764, 1398112766, 1398112760, 1398112757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.026607275009155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:44:02.979353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 18:44:13.818424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/39/image_02122025_23_39_34_9803.jpg', '/home/pi/Desktop/images/02122025/23/39/image_02122025_23_39_54_9741.jpg', '/home/pi/Desktop/images/02122025/23/42/image_02122025_23_42_15_10761.jpg', '/home/pi/Desktop/images/02122025/23/42/image_02122025_23_42_54_10603.jpg', '/home/pi/Desktop/images/02122025/23/43/image_02122025_23_43_25_10709.jpg', '/home/pi/Desktop/images/02122025/23/43/image_02122025_23_43_44_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/39/image_02122025_23_39_34_9803.jpg
/home/pi/Desktop/images/02122025/23/39/image_02122025_23_39_54_9741.jpg
/home/pi/Desktop/images/02122025/23/42/image_02122025_23_42_15_10761.jpg
/home/pi/Desktop/images/02122025/23/42/image_02122025_23_42_54_10603.jpg
/home/pi/Desktop/images/02122025/23/43/image_02122025_23_43_25_10709.jpg
/home/pi/Desktop/images/02122025/23/43/image_02122025_23_43_44_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398112789","1398112783","1398112797","1398112781","1398112800","1398112787"],"photo_ids_order":["1398112781","1398112783","1398112787","1398112789","1398112797","1398112800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91e393f62db9e6931a35e36988f2ada5.jpg","text":"TemporaryFile(/tmp/multipartBody7144159955119266118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956715736,"filename":"image_02122025_23_42_54_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/5/3cef67258d6c3a8113b8047e71614320.jpg","text":"TemporaryFile(/tmp/multipartBody2432015263424571395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956715736,"filename":"image_02122025_23_39_54_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/09f83018e27c049fe19f0c244c8804b5.jpg","text":"TemporaryFile(/tmp/multipartBody3252022090280222732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956715736,"filename":"image_02122025_23_43_25_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ea367da8cc36a4a7ca5dcef4d0283464.jpg","text":"TemporaryFile(/tmp/multipartBody4720312147491877064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956715736,"filename":"image_02122025_23_39_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/5/03ae1e705b194d5a05d4c9c2ea3b79f9.jpg","text":"TemporaryFile(/tmp/multipartBody5145043022633931565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956715736,"filename":"image_02122025_23_43_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c043ce4c52db3f6ed27932b9a7cbf74.jpg","text":"TemporaryFile(/tmp/multipartBody5479460738437682051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956715736,"filename":"image_02122025_23_42_15_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112787","file1":"1398112783","file0":"1398112781","file4":"1398112797","file5":"1398112800","file3":"1398112789"},"map_files_photo_id_array":[{"photo_id":"1398112800","filename":"file5"},{"photo_id":"1398112787","filename":"file2"},{"photo_id":"1398112797","filename":"file4"},{"photo_id":"1398112783","filename":"file1"},{"photo_id":"1398112781","filename":"file0"},{"photo_id":"1398112789","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398112789":["hashtag1","hashtag2"]},{"1398112783":["hashtag1","hashtag2"]},{"1398112797":["hashtag1","hashtag2"]},{"1398112781":["hashtag1","hashtag2"]},{"1398112800":["hashtag1","hashtag2"]},{"1398112787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398112789, 1398112783, 1398112797, 1398112781, 1398112800, 1398112787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.758885622024536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:45:05.246151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/31/image_05122025_17_31_13_10039.jpg', '/home/pi/Desktop/images/05122025/17/31/image_05122025_17_31_24_10584.jpg', '/home/pi/Desktop/images/05122025/17/31/image_05122025_17_31_34_9619.jpg', '/home/pi/Desktop/images/05122025/17/31/image_05122025_17_31_44_10475.jpg', '/home/pi/Desktop/images/05122025/17/31/image_05122025_17_31_54_9622.jpg', '/home/pi/Desktop/images/05122025/17/31/image_05122025_17_32_04_10087.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/31/image_05122025_17_31_13_10039.jpg
/home/pi/Desktop/images/05122025/17/31/image_05122025_17_31_24_10584.jpg
/home/pi/Desktop/images/05122025/17/31/image_05122025_17_31_34_9619.jpg
/home/pi/Desktop/images/05122025/17/31/image_05122025_17_31_44_10475.jpg
/home/pi/Desktop/images/05122025/17/31/image_05122025_17_31_54_9622.jpg
/home/pi/Desktop/images/05122025/17/31/image_05122025_17_32_04_10087.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":["1398112897","1398112899","1398112890","1398112902","1398112905","1398112907"],"photo_ids_order":["1398112890","1398112897","1398112899","1398112902","1398112905","1398112907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1314fdf4cb66b9853909778acab59b12.jpg","text":"TemporaryFile(/tmp/multipartBody5308293132602459566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956771113,"filename":"image_05122025_17_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/5/d943cc89dd731f1b638d19a732a02053.jpg","text":"TemporaryFile(/tmp/multipartBody8975175549988369532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956771113,"filename":"image_05122025_17_31_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e61eda94bdeddc1bcfb83ba657afbc3.jpg","text":"TemporaryFile(/tmp/multipartBody3282211150874925855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956771113,"filename":"image_05122025_17_31_13_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e661e6f6baa2febdd5bdb591e2b2a71a.jpg","text":"TemporaryFile(/tmp/multipartBody1500115269875401321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956771113,"filename":"image_05122025_17_31_44_10475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a2e82f4546100ecc19a052df1591c152.jpg","text":"TemporaryFile(/tmp/multipartBody5744163326324280410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956771113,"filename":"image_05122025_17_31_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6b2e01305e9f8131f02f2f345180509f.jpg","text":"TemporaryFile(/tmp/multipartBody3409856054088166729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956771113,"filename":"image_05122025_17_32_04_10087.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398112899","file1":"1398112897","file0":"1398112890","file4":"1398112905","file5":"1398112907","file3":"1398112902"},"map_files_photo_id_array":[{"photo_id":"1398112907","filename":"file5"},{"photo_id":"1398112899","filename":"file2"},{"photo_id":"1398112905","filename":"file4"},{"photo_id":"1398112897","filename":"file1"},{"photo_id":"1398112890","filename":"file0"},{"photo_id":"1398112902","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398112897":["hashtag1","hashtag2"]},{"1398112899":["hashtag1","hashtag2"]},{"1398112890":["hashtag1","hashtag2"]},{"1398112902":["hashtag1","hashtag2"]},{"1398112905":["hashtag1","hashtag2"]},{"1398112907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398112897, 1398112899, 1398112890, 1398112902, 1398112905, 1398112907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45603537559509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:46:02.397197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/32/image_05122025_17_32_13_9616.jpg', '/home/pi/Desktop/images/05122025/17/32/image_05122025_17_32_24_10596.jpg', '/home/pi/Desktop/images/05122025/17/32/image_05122025_17_32_34_9663.jpg', '/home/pi/Desktop/images/05122025/17/32/image_05122025_17_32_44_10592.jpg', '/home/pi/Desktop/images/05122025/17/32/image_05122025_17_32_54_9471.jpg', '/home/pi/Desktop/images/05122025/17/32/image_05122025_17_33_04_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/32/image_05122025_17_32_13_9616.jpg
/home/pi/Desktop/images/05122025/17/32/image_05122025_17_32_24_10596.jpg
/home/pi/Desktop/images/05122025/17/32/image_05122025_17_32_34_9663.jpg
/home/pi/Desktop/images/05122025/17/32/image_05122025_17_32_44_10592.jpg
/home/pi/Desktop/images/05122025/17/32/image_05122025_17_32_54_9471.jpg
/home/pi/Desktop/images/05122025/17/32/image_05122025_17_33_04_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":["1398113047","1398113049","1398112944","1398113042","1398113045","1398113053"],"photo_ids_order":["1398112944","1398113042","1398113045","1398113047","1398113049","1398113053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23c277dfc6a5c91520b7f234268f960e.jpg","text":"TemporaryFile(/tmp/multipartBody8074286165945601841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956823009,"filename":"image_05122025_17_32_44_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/5/4fde3e7e59ac73691330806afab6d7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3380861503204442753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956823009,"filename":"image_05122025_17_32_54_9471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/28c084fc1fb716d480fd85f9e9bed90e.jpg","text":"TemporaryFile(/tmp/multipartBody7007366357669333418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956823009,"filename":"image_05122025_17_32_13_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/5/68efacbb633f47f1db4b50bfb757c963.jpg","text":"TemporaryFile(/tmp/multipartBody2505414008080709618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956823009,"filename":"image_05122025_17_32_24_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/5/2ca749d44a971c95da2c217e4e05453a.jpg","text":"TemporaryFile(/tmp/multipartBody7158396818177080703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956823009,"filename":"image_05122025_17_32_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/5/fb7dc5d55bff36465c8839d7438f2945.jpg","text":"TemporaryFile(/tmp/multipartBody5530733186604371744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956823009,"filename":"image_05122025_17_33_04_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113045","file1":"1398113042","file0":"1398112944","file4":"1398113049","file5":"1398113053","file3":"1398113047"},"map_files_photo_id_array":[{"photo_id":"1398113053","filename":"file5"},{"photo_id":"1398113045","filename":"file2"},{"photo_id":"1398113049","filename":"file4"},{"photo_id":"1398113042","filename":"file1"},{"photo_id":"1398112944","filename":"file0"},{"photo_id":"1398113047","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113047":["hashtag1","hashtag2"]},{"1398113049":["hashtag1","hashtag2"]},{"1398112944":["hashtag1","hashtag2"]},{"1398113042":["hashtag1","hashtag2"]},{"1398113045":["hashtag1","hashtag2"]},{"1398113053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113047, 1398113049, 1398112944, 1398113042, 1398113045, 1398113053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71097207069397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:46:41.904330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_51_2714.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_54_2626.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_57_3577.jpg', '/home/pi/Desktop/images/31102025/20/17/image_31102025_20_18_00_2689.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_03_2556.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_09_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_51_2714.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_54_2626.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_17_57_3577.jpg
/home/pi/Desktop/images/31102025/20/17/image_31102025_20_18_00_2689.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_03_2556.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_09_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":["1398113077","1398113076","1398113075","1398113063","1398113080","1398113074"],"photo_ids_order":["1398113063","1398113074","1398113075","1398113076","1398113077","1398113080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c101c3f363053b37a305d4d1c1cbf729.jpg","text":"TemporaryFile(/tmp/multipartBody5352558102995474937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956863515,"filename":"image_31102025_20_18_03_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/5/f750a45279f3a1580944b2fa15d24cb4.jpg","text":"TemporaryFile(/tmp/multipartBody1391641348165828513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956863515,"filename":"image_31102025_20_18_00_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bc349d3d938cd6959825771025fc57db.jpg","text":"TemporaryFile(/tmp/multipartBody8061739947125432031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956863515,"filename":"image_31102025_20_17_57_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/5/1f13dd639c60b6bb63fea3a8af47fe96.jpg","text":"TemporaryFile(/tmp/multipartBody4750384973233585854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956863515,"filename":"image_31102025_20_17_51_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/5/0ba84444710b94daf758864ef68aa89d.jpg","text":"TemporaryFile(/tmp/multipartBody6023101058112779597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956863515,"filename":"image_31102025_20_18_09_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a855c315ef4421b8c67add744a92526a.jpg","text":"TemporaryFile(/tmp/multipartBody6775821191984623360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956863515,"filename":"image_31102025_20_17_54_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113075","file1":"1398113074","file0":"1398113063","file4":"1398113077","file5":"1398113080","file3":"1398113076"},"map_files_photo_id_array":[{"photo_id":"1398113080","filename":"file5"},{"photo_id":"1398113075","filename":"file2"},{"photo_id":"1398113077","filename":"file4"},{"photo_id":"1398113074","filename":"file1"},{"photo_id":"1398113063","filename":"file0"},{"photo_id":"1398113076","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398113077":["hashtag1","hashtag2"]},{"1398113076":["hashtag1","hashtag2"]},{"1398113075":["hashtag1","hashtag2"]},{"1398113063":["hashtag1","hashtag2"]},{"1398113080":["hashtag1","hashtag2"]},{"1398113074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398113077, 1398113076, 1398113075, 1398113063, 1398113080, 1398113074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61219072341919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:47:22.056331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/33/image_05122025_17_33_14_9344.jpg', '/home/pi/Desktop/images/05122025/17/33/image_05122025_17_33_23_9740.jpg', '/home/pi/Desktop/images/05122025/17/33/image_05122025_17_33_34_10648.jpg', '/home/pi/Desktop/images/05122025/17/33/image_05122025_17_33_44_9655.jpg', '/home/pi/Desktop/images/05122025/17/33/image_05122025_17_33_54_10262.jpg', '/home/pi/Desktop/images/05122025/17/33/image_05122025_17_34_04_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/33/image_05122025_17_33_14_9344.jpg
/home/pi/Desktop/images/05122025/17/33/image_05122025_17_33_23_9740.jpg
/home/pi/Desktop/images/05122025/17/33/image_05122025_17_33_34_10648.jpg
/home/pi/Desktop/images/05122025/17/33/image_05122025_17_33_44_9655.jpg
/home/pi/Desktop/images/05122025/17/33/image_05122025_17_33_54_10262.jpg
/home/pi/Desktop/images/05122025/17/33/image_05122025_17_34_04_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398113083","1398113091","1398113093","1398113087","1398113086","1398113089"],"photo_ids_order":["1398113083","1398113086","1398113087","1398113089","1398113091","1398113093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99c2a1cf780fd813a8665f8d528df60e.jpg","text":"TemporaryFile(/tmp/multipartBody6713867309826343267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956902627,"filename":"image_05122025_17_33_14_9344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/df03d7c737237b07dfe4bd28089287ae.jpg","text":"TemporaryFile(/tmp/multipartBody7730795410933483433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956902627,"filename":"image_05122025_17_33_54_10262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d2df40d4e36b897c41a67f1623e2dc6b.jpg","text":"TemporaryFile(/tmp/multipartBody1468812216581441802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956902627,"filename":"image_05122025_17_34_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/5/2f1630c502c4cdb57ddd9b47256eb064.jpg","text":"TemporaryFile(/tmp/multipartBody1578379530092263356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956902627,"filename":"image_05122025_17_33_34_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/5/cb4ec65600de89513385099eb7e6c343.jpg","text":"TemporaryFile(/tmp/multipartBody2348672011377132321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956902627,"filename":"image_05122025_17_33_23_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/5/57ce9c33eef2a4bae6d8ed3a1578da54.jpg","text":"TemporaryFile(/tmp/multipartBody203322544674256152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956902627,"filename":"image_05122025_17_33_44_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113087","file1":"1398113086","file0":"1398113083","file4":"1398113091","file5":"1398113093","file3":"1398113089"},"map_files_photo_id_array":[{"photo_id":"1398113093","filename":"file5"},{"photo_id":"1398113087","filename":"file2"},{"photo_id":"1398113091","filename":"file4"},{"photo_id":"1398113086","filename":"file1"},{"photo_id":"1398113083","filename":"file0"},{"photo_id":"1398113089","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113083":["hashtag1","hashtag2"]},{"1398113091":["hashtag1","hashtag2"]},{"1398113093":["hashtag1","hashtag2"]},{"1398113087":["hashtag1","hashtag2"]},{"1398113086":["hashtag1","hashtag2"]},{"1398113089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113083, 1398113091, 1398113093, 1398113087, 1398113086, 1398113089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43745827674866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:48:02.685360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/34/image_05122025_17_34_14_10659.jpg', '/home/pi/Desktop/images/05122025/17/34/image_05122025_17_34_24_9637.jpg', '/home/pi/Desktop/images/05122025/17/34/image_05122025_17_34_34_9679.jpg', '/home/pi/Desktop/images/05122025/17/34/image_05122025_17_34_44_10629.jpg', '/home/pi/Desktop/images/05122025/17/34/image_05122025_17_34_54_9332.jpg', '/home/pi/Desktop/images/05122025/17/35/image_05122025_17_35_14_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/34/image_05122025_17_34_14_10659.jpg
/home/pi/Desktop/images/05122025/17/34/image_05122025_17_34_24_9637.jpg
/home/pi/Desktop/images/05122025/17/34/image_05122025_17_34_34_9679.jpg
/home/pi/Desktop/images/05122025/17/34/image_05122025_17_34_44_10629.jpg
/home/pi/Desktop/images/05122025/17/34/image_05122025_17_34_54_9332.jpg
/home/pi/Desktop/images/05122025/17/35/image_05122025_17_35_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":["1398113097","1398113101","1398113103","1398113099","1398113105","1398113108"],"photo_ids_order":["1398113097","1398113099","1398113101","1398113103","1398113105","1398113108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a6a66e9176c27b5e356d30f88239e037.jpg","text":"TemporaryFile(/tmp/multipartBody3787102262054261366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956943299,"filename":"image_05122025_17_34_14_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c14b40a29c7e0d80f8c45f315ccb789.jpg","text":"TemporaryFile(/tmp/multipartBody399862488334550451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956943299,"filename":"image_05122025_17_34_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/484d81494a00a2dae41633c138c13d76.jpg","text":"TemporaryFile(/tmp/multipartBody8720990976880807057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956943299,"filename":"image_05122025_17_34_44_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/5/974847b89181e1d3c83096ca98aa1892.jpg","text":"TemporaryFile(/tmp/multipartBody7289389270951850802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956943299,"filename":"image_05122025_17_34_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/66d5d0079dd394c0c681a6f64461b690.jpg","text":"TemporaryFile(/tmp/multipartBody5991823913597438329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956943299,"filename":"image_05122025_17_34_54_9332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/69e0af888b600ab4dcb5f04a16bee361.jpg","text":"TemporaryFile(/tmp/multipartBody8857797048518483485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764956943299,"filename":"image_05122025_17_35_14_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113101","file1":"1398113099","file0":"1398113097","file4":"1398113105","file5":"1398113108","file3":"1398113103"},"map_files_photo_id_array":[{"photo_id":"1398113108","filename":"file5"},{"photo_id":"1398113101","filename":"file2"},{"photo_id":"1398113105","filename":"file4"},{"photo_id":"1398113099","filename":"file1"},{"photo_id":"1398113097","filename":"file0"},{"photo_id":"1398113103","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113097":["hashtag1","hashtag2"]},{"1398113101":["hashtag1","hashtag2"]},{"1398113103":["hashtag1","hashtag2"]},{"1398113099":["hashtag1","hashtag2"]},{"1398113105":["hashtag1","hashtag2"]},{"1398113108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113097, 1398113101, 1398113103, 1398113099, 1398113105, 1398113108)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.675129890441895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:49:03.080880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/35/image_05122025_17_35_25_10766.jpg', '/home/pi/Desktop/images/05122025/17/35/image_05122025_17_35_35_9732.jpg', '/home/pi/Desktop/images/05122025/17/35/image_05122025_17_35_44_9671.jpg', '/home/pi/Desktop/images/05122025/17/35/image_05122025_17_35_55_10753.jpg', '/home/pi/Desktop/images/05122025/17/35/image_05122025_17_36_05_9845.jpg', '/home/pi/Desktop/images/05122025/17/36/image_05122025_17_36_14_9216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/35/image_05122025_17_35_25_10766.jpg
/home/pi/Desktop/images/05122025/17/35/image_05122025_17_35_35_9732.jpg
/home/pi/Desktop/images/05122025/17/35/image_05122025_17_35_44_9671.jpg
/home/pi/Desktop/images/05122025/17/35/image_05122025_17_35_55_10753.jpg
/home/pi/Desktop/images/05122025/17/35/image_05122025_17_36_05_9845.jpg
/home/pi/Desktop/images/05122025/17/36/image_05122025_17_36_14_9216.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":["1398113134","1398113122","1398113131","1398113125","1398113127","1398113123"],"photo_ids_order":["1398113122","1398113123","1398113125","1398113127","1398113131","1398113134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4082076855d1ad7fbd19f22555efbce1.jpg","text":"TemporaryFile(/tmp/multipartBody3202718372066855779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957006262,"filename":"image_05122025_17_36_14_9216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/348b2e929260b068ae5ca25bb0ed8b81.jpg","text":"TemporaryFile(/tmp/multipartBody6363965171753603259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957006262,"filename":"image_05122025_17_35_25_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/5/b19ff7de942a3ec216ecc2c0cfe141ef.jpg","text":"TemporaryFile(/tmp/multipartBody4958594875048551192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957006262,"filename":"image_05122025_17_36_05_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dad84b55e761b5da361cb0b92040d7af.jpg","text":"TemporaryFile(/tmp/multipartBody921975185848871479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957006262,"filename":"image_05122025_17_35_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/5/35efd0180e49056ec1a5ffe4fcd579ad.jpg","text":"TemporaryFile(/tmp/multipartBody2318044270393733989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957006262,"filename":"image_05122025_17_35_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/5/c83e1745d8f24c97093fb440203cdbea.jpg","text":"TemporaryFile(/tmp/multipartBody2408381617583466582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957006262,"filename":"image_05122025_17_35_35_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113125","file1":"1398113123","file0":"1398113122","file4":"1398113131","file5":"1398113134","file3":"1398113127"},"map_files_photo_id_array":[{"photo_id":"1398113134","filename":"file5"},{"photo_id":"1398113125","filename":"file2"},{"photo_id":"1398113131","filename":"file4"},{"photo_id":"1398113123","filename":"file1"},{"photo_id":"1398113122","filename":"file0"},{"photo_id":"1398113127","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113134":["hashtag1","hashtag2"]},{"1398113122":["hashtag1","hashtag2"]},{"1398113131":["hashtag1","hashtag2"]},{"1398113125":["hashtag1","hashtag2"]},{"1398113127":["hashtag1","hashtag2"]},{"1398113123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113134, 1398113122, 1398113131, 1398113125, 1398113127, 1398113123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12113690376282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:50:02.763448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/36/image_05122025_17_36_25_10590.jpg', '/home/pi/Desktop/images/05122025/17/36/image_05122025_17_36_34_9569.jpg', '/home/pi/Desktop/images/05122025/17/36/image_05122025_17_36_45_10704.jpg', '/home/pi/Desktop/images/05122025/17/36/image_05122025_17_36_55_9606.jpg', '/home/pi/Desktop/images/05122025/17/36/image_05122025_17_37_04_9738.jpg', '/home/pi/Desktop/images/05122025/17/37/image_05122025_17_37_15_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/36/image_05122025_17_36_25_10590.jpg
/home/pi/Desktop/images/05122025/17/36/image_05122025_17_36_34_9569.jpg
/home/pi/Desktop/images/05122025/17/36/image_05122025_17_36_45_10704.jpg
/home/pi/Desktop/images/05122025/17/36/image_05122025_17_36_55_9606.jpg
/home/pi/Desktop/images/05122025/17/36/image_05122025_17_37_04_9738.jpg
/home/pi/Desktop/images/05122025/17/37/image_05122025_17_37_15_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398113143","1398113142","1398113141","1398113150","1398113144","1398113147"],"photo_ids_order":["1398113141","1398113142","1398113143","1398113144","1398113147","1398113150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/615ea42d1cd207837d5976dd42a36eec.jpg","text":"TemporaryFile(/tmp/multipartBody7933175067667937390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957063397,"filename":"image_05122025_17_36_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/5/45f3877a42566e833299104450439691.jpg","text":"TemporaryFile(/tmp/multipartBody5155943913015231212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957063397,"filename":"image_05122025_17_36_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/93f3f3f588646736a26602b0f1f36631.jpg","text":"TemporaryFile(/tmp/multipartBody5025894960448852567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957063397,"filename":"image_05122025_17_36_25_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/5/c359ce2ff36f5b60ecee0b25ba918f04.jpg","text":"TemporaryFile(/tmp/multipartBody6012580623493425781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957063397,"filename":"image_05122025_17_37_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/5/b9af5aadec2340331169df377e35ff5d.jpg","text":"TemporaryFile(/tmp/multipartBody8832976264307704961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957063397,"filename":"image_05122025_17_36_55_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/5/8a8099be0aea2608b61c65e038571569.jpg","text":"TemporaryFile(/tmp/multipartBody6969015269427948347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957063397,"filename":"image_05122025_17_37_04_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113143","file1":"1398113142","file0":"1398113141","file4":"1398113147","file5":"1398113150","file3":"1398113144"},"map_files_photo_id_array":[{"photo_id":"1398113150","filename":"file5"},{"photo_id":"1398113143","filename":"file2"},{"photo_id":"1398113147","filename":"file4"},{"photo_id":"1398113142","filename":"file1"},{"photo_id":"1398113141","filename":"file0"},{"photo_id":"1398113144","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113143":["hashtag1","hashtag2"]},{"1398113142":["hashtag1","hashtag2"]},{"1398113141":["hashtag1","hashtag2"]},{"1398113150":["hashtag1","hashtag2"]},{"1398113144":["hashtag1","hashtag2"]},{"1398113147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113143, 1398113142, 1398113141, 1398113150, 1398113144, 1398113147)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.37051725387573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:51:02.458634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/37/image_05122025_17_37_25_9717.jpg', '/home/pi/Desktop/images/05122025/17/37/image_05122025_17_37_35_9905.jpg', '/home/pi/Desktop/images/05122025/17/37/image_05122025_17_37_44_9638.jpg', '/home/pi/Desktop/images/05122025/17/37/image_05122025_17_37_55_10609.jpg', '/home/pi/Desktop/images/05122025/17/37/image_05122025_17_38_04_9665.jpg', '/home/pi/Desktop/images/05122025/17/38/image_05122025_17_38_15_10311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/37/image_05122025_17_37_25_9717.jpg
/home/pi/Desktop/images/05122025/17/37/image_05122025_17_37_35_9905.jpg
/home/pi/Desktop/images/05122025/17/37/image_05122025_17_37_44_9638.jpg
/home/pi/Desktop/images/05122025/17/37/image_05122025_17_37_55_10609.jpg
/home/pi/Desktop/images/05122025/17/37/image_05122025_17_38_04_9665.jpg
/home/pi/Desktop/images/05122025/17/38/image_05122025_17_38_15_10311.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":["1398113176","1398113184","1398113180","1398113174","1398113182","1398113179"],"photo_ids_order":["1398113174","1398113176","1398113179","1398113180","1398113182","1398113184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/da2d1466e67d69d86773545ca8918e00.jpg","text":"TemporaryFile(/tmp/multipartBody4435854274606145071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957125760,"filename":"image_05122025_17_37_35_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/5/0283adea2f18b0201fdd68de665350d5.jpg","text":"TemporaryFile(/tmp/multipartBody4776125164891888716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957125760,"filename":"image_05122025_17_38_15_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/5/75e77ef1690514754e95974412634cbe.jpg","text":"TemporaryFile(/tmp/multipartBody5481215429491252149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957125760,"filename":"image_05122025_17_37_55_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/5/445b49b00133437041344e477d282fda.jpg","text":"TemporaryFile(/tmp/multipartBody8288411837567450076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957125760,"filename":"image_05122025_17_37_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/5/b1cf7fe59371fab7ab64c2272b15f30d.jpg","text":"TemporaryFile(/tmp/multipartBody2297590704250432432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957125760,"filename":"image_05122025_17_38_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/5/606fb3ac0a7bf712e66b62dcab8141c1.jpg","text":"TemporaryFile(/tmp/multipartBody208601875960042315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957125760,"filename":"image_05122025_17_37_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113179","file1":"1398113176","file0":"1398113174","file4":"1398113182","file5":"1398113184","file3":"1398113180"},"map_files_photo_id_array":[{"photo_id":"1398113184","filename":"file5"},{"photo_id":"1398113179","filename":"file2"},{"photo_id":"1398113182","filename":"file4"},{"photo_id":"1398113176","filename":"file1"},{"photo_id":"1398113174","filename":"file0"},{"photo_id":"1398113180","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113176":["hashtag1","hashtag2"]},{"1398113184":["hashtag1","hashtag2"]},{"1398113180":["hashtag1","hashtag2"]},{"1398113174":["hashtag1","hashtag2"]},{"1398113182":["hashtag1","hashtag2"]},{"1398113179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113176, 1398113184, 1398113180, 1398113174, 1398113182, 1398113179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08600449562073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:52:02.524548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 18:52:12.279868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/43/image_02122025_23_44_05_10638.jpg', '/home/pi/Desktop/images/02122025/23/44/image_02122025_23_44_14_9791.jpg', '/home/pi/Desktop/images/02122025/23/44/image_02122025_23_44_45_10725.jpg', '/home/pi/Desktop/images/02122025/23/45/image_02122025_23_45_14_9633.jpg', '/home/pi/Desktop/images/02122025/23/45/image_02122025_23_45_24_9708.jpg', '/home/pi/Desktop/images/02122025/23/45/image_02122025_23_46_04_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/43/image_02122025_23_44_05_10638.jpg
/home/pi/Desktop/images/02122025/23/44/image_02122025_23_44_14_9791.jpg
/home/pi/Desktop/images/02122025/23/44/image_02122025_23_44_45_10725.jpg
/home/pi/Desktop/images/02122025/23/45/image_02122025_23_45_14_9633.jpg
/home/pi/Desktop/images/02122025/23/45/image_02122025_23_45_24_9708.jpg
/home/pi/Desktop/images/02122025/23/45/image_02122025_23_46_04_9780.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9847369194030762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:52:22.128002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/38/image_05122025_17_38_24_9671.jpg', '/home/pi/Desktop/images/05122025/17/38/image_05122025_17_38_35_10521.jpg', '/home/pi/Desktop/images/05122025/17/38/image_05122025_17_38_48_13374.jpg', '/home/pi/Desktop/images/05122025/17/38/image_05122025_17_38_55_6483.jpg', '/home/pi/Desktop/images/05122025/17/38/image_05122025_17_39_05_9895.jpg', '/home/pi/Desktop/images/05122025/17/39/image_05122025_17_39_14_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/38/image_05122025_17_38_24_9671.jpg
/home/pi/Desktop/images/05122025/17/38/image_05122025_17_38_35_10521.jpg
/home/pi/Desktop/images/05122025/17/38/image_05122025_17_38_48_13374.jpg
/home/pi/Desktop/images/05122025/17/38/image_05122025_17_38_55_6483.jpg
/home/pi/Desktop/images/05122025/17/38/image_05122025_17_39_05_9895.jpg
/home/pi/Desktop/images/05122025/17/39/image_05122025_17_39_14_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":["1398113233","1398113227","1398113230","1398113214","1398113223","1398113217"],"photo_ids_order":["1398113214","1398113217","1398113223","1398113227","1398113230","1398113233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a1c78b7ff43eb909927201179789a0f3.jpg","text":"TemporaryFile(/tmp/multipartBody5458122177288578377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957205241,"filename":"image_05122025_17_39_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/5/31a0cc5bfb48c2896ff1ef38993600b7.jpg","text":"TemporaryFile(/tmp/multipartBody2191871022267161780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957205241,"filename":"image_05122025_17_38_55_6483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c1bb7af3b9b8dc6f8098912872aba07c.jpg","text":"TemporaryFile(/tmp/multipartBody5254001934070168031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957205241,"filename":"image_05122025_17_39_05_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/5/9259e4b9e7226c3c123ea4dad75ef87f.jpg","text":"TemporaryFile(/tmp/multipartBody6371645252171112322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957205241,"filename":"image_05122025_17_38_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6504e34f7d143c3d9c0a0384c368e62e.jpg","text":"TemporaryFile(/tmp/multipartBody3759647066246470855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957205241,"filename":"image_05122025_17_38_48_13374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/371aa398383aee893b15484b480b3199.jpg","text":"TemporaryFile(/tmp/multipartBody2945012797502386122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957205241,"filename":"image_05122025_17_38_35_10521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113223","file1":"1398113217","file0":"1398113214","file4":"1398113230","file5":"1398113233","file3":"1398113227"},"map_files_photo_id_array":[{"photo_id":"1398113233","filename":"file5"},{"photo_id":"1398113223","filename":"file2"},{"photo_id":"1398113230","filename":"file4"},{"photo_id":"1398113217","filename":"file1"},{"photo_id":"1398113214","filename":"file0"},{"photo_id":"1398113227","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113233":["hashtag1","hashtag2"]},{"1398113227":["hashtag1","hashtag2"]},{"1398113230":["hashtag1","hashtag2"]},{"1398113214":["hashtag1","hashtag2"]},{"1398113223":["hashtag1","hashtag2"]},{"1398113217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113233, 1398113227, 1398113230, 1398113214, 1398113223, 1398113217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.033013105392456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:53:03.017510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/39/image_05122025_17_39_25_10556.jpg', '/home/pi/Desktop/images/05122025/17/39/image_05122025_17_39_44_18959.jpg', '/home/pi/Desktop/images/05122025/17/39/image_05122025_17_39_45_1616.jpg', '/home/pi/Desktop/images/05122025/17/39/image_05122025_17_39_55_9556.jpg', '/home/pi/Desktop/images/05122025/17/40/image_05122025_17_40_14_10054.jpg', '/home/pi/Desktop/images/05122025/17/40/image_05122025_17_40_25_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/39/image_05122025_17_39_25_10556.jpg
/home/pi/Desktop/images/05122025/17/39/image_05122025_17_39_44_18959.jpg
/home/pi/Desktop/images/05122025/17/39/image_05122025_17_39_45_1616.jpg
/home/pi/Desktop/images/05122025/17/39/image_05122025_17_39_55_9556.jpg
/home/pi/Desktop/images/05122025/17/40/image_05122025_17_40_14_10054.jpg
/home/pi/Desktop/images/05122025/17/40/image_05122025_17_40_25_10694.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":["1398113250","1398113253","1398113247","1398113241","1398113243","1398113245"],"photo_ids_order":["1398113241","1398113243","1398113245","1398113247","1398113250","1398113253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b96001823b3a144b43e5e96b6079f732.jpg","text":"TemporaryFile(/tmp/multipartBody399273300006216767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957246191,"filename":"image_05122025_17_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/5/c7a01366146fc009e40f095b54222850.jpg","text":"TemporaryFile(/tmp/multipartBody6802049193693401643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957246191,"filename":"image_05122025_17_40_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/5/119dfa88d259809f1b6c5199ed184613.jpg","text":"TemporaryFile(/tmp/multipartBody5478651725167006019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957246191,"filename":"image_05122025_17_39_55_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/5/97ecf002b8fb8fe650aaeaa2f786b823.jpg","text":"TemporaryFile(/tmp/multipartBody6411888666232193633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957246191,"filename":"image_05122025_17_39_25_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e289fb79c63b7a67fbeb765cce2a048b.jpg","text":"TemporaryFile(/tmp/multipartBody389524714980058816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957246191,"filename":"image_05122025_17_39_44_18959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1556f5526e20dadca75efc246561d423.jpg","text":"TemporaryFile(/tmp/multipartBody3959651859155406846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957246191,"filename":"image_05122025_17_39_45_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113245","file1":"1398113243","file0":"1398113241","file4":"1398113250","file5":"1398113253","file3":"1398113247"},"map_files_photo_id_array":[{"photo_id":"1398113253","filename":"file5"},{"photo_id":"1398113245","filename":"file2"},{"photo_id":"1398113250","filename":"file4"},{"photo_id":"1398113243","filename":"file1"},{"photo_id":"1398113241","filename":"file0"},{"photo_id":"1398113247","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113250":["hashtag1","hashtag2"]},{"1398113253":["hashtag1","hashtag2"]},{"1398113247":["hashtag1","hashtag2"]},{"1398113241":["hashtag1","hashtag2"]},{"1398113243":["hashtag1","hashtag2"]},{"1398113245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113250, 1398113253, 1398113247, 1398113241, 1398113243, 1398113245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.800007581710815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:54:03.208593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/40/image_05122025_17_40_35_9717.jpg', '/home/pi/Desktop/images/05122025/17/40/image_05122025_17_40_44_9554.jpg', '/home/pi/Desktop/images/05122025/17/40/image_05122025_17_40_55_10583.jpg', '/home/pi/Desktop/images/05122025/17/40/image_05122025_17_41_04_9551.jpg', '/home/pi/Desktop/images/05122025/17/41/image_05122025_17_41_15_10660.jpg', '/home/pi/Desktop/images/05122025/17/41/image_05122025_17_41_25_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/40/image_05122025_17_40_35_9717.jpg
/home/pi/Desktop/images/05122025/17/40/image_05122025_17_40_44_9554.jpg
/home/pi/Desktop/images/05122025/17/40/image_05122025_17_40_55_10583.jpg
/home/pi/Desktop/images/05122025/17/40/image_05122025_17_41_04_9551.jpg
/home/pi/Desktop/images/05122025/17/41/image_05122025_17_41_15_10660.jpg
/home/pi/Desktop/images/05122025/17/41/image_05122025_17_41_25_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398113260","1398113265","1398113259","1398113268","1398113261","1398113263"],"photo_ids_order":["1398113259","1398113260","1398113261","1398113263","1398113265","1398113268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/66df60b4168f995b421d653e79c78636.jpg","text":"TemporaryFile(/tmp/multipartBody954706921593477752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957303908,"filename":"image_05122025_17_40_44_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/5/a55c6ec1d628a7469d9a24e286b334e1.jpg","text":"TemporaryFile(/tmp/multipartBody5693086906881510556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957303908,"filename":"image_05122025_17_41_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/5/0c728c75ab58f2ea5c47ca1398b94764.jpg","text":"TemporaryFile(/tmp/multipartBody6404186240977474094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957303908,"filename":"image_05122025_17_40_35_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/5/b0cebec8b948aebb3f24d05686149366.jpg","text":"TemporaryFile(/tmp/multipartBody9159092089427723962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957303908,"filename":"image_05122025_17_41_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/5/c8730572bfec9d0b62cbb2ab7d1e49c1.jpg","text":"TemporaryFile(/tmp/multipartBody8417482112772119798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957303908,"filename":"image_05122025_17_40_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2cb5e752f9888198ffae1fd3d824745e.jpg","text":"TemporaryFile(/tmp/multipartBody5678761415399375940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957303908,"filename":"image_05122025_17_41_04_9551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113261","file1":"1398113260","file0":"1398113259","file4":"1398113265","file5":"1398113268","file3":"1398113263"},"map_files_photo_id_array":[{"photo_id":"1398113268","filename":"file5"},{"photo_id":"1398113261","filename":"file2"},{"photo_id":"1398113265","filename":"file4"},{"photo_id":"1398113260","filename":"file1"},{"photo_id":"1398113259","filename":"file0"},{"photo_id":"1398113263","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113260":["hashtag1","hashtag2"]},{"1398113265":["hashtag1","hashtag2"]},{"1398113259":["hashtag1","hashtag2"]},{"1398113268":["hashtag1","hashtag2"]},{"1398113261":["hashtag1","hashtag2"]},{"1398113263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113260, 1398113265, 1398113259, 1398113268, 1398113261, 1398113263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35078024864197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:54:42.503234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_13_3628.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_18_2504.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_24_3638.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_27_2535.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_33_2632.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_37_3525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_13_3628.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_18_2504.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_24_3638.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_27_2535.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_33_2632.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_37_3525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398113292","1398113289","1398113288","1398113282","1398113290","1398113287"],"photo_ids_order":["1398113282","1398113287","1398113288","1398113289","1398113290","1398113292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8b858f8ce846e53ff5e895a9a7ab831f.jpg","text":"TemporaryFile(/tmp/multipartBody5533829788580437680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957344069,"filename":"image_31102025_20_18_37_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f96e0233ef5e6585e175a941efe720db.jpg","text":"TemporaryFile(/tmp/multipartBody1295023892449609667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957344069,"filename":"image_31102025_20_18_27_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/5/61e1d47e40cf3e403fb06074adf8c85a.jpg","text":"TemporaryFile(/tmp/multipartBody2957157015464201661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957344069,"filename":"image_31102025_20_18_24_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/554f3185e86eaa5433d6978a25da3dd2.jpg","text":"TemporaryFile(/tmp/multipartBody4222147888209623264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957344069,"filename":"image_31102025_20_18_13_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/5/825dfbdf22956be865883df2fd361699.jpg","text":"TemporaryFile(/tmp/multipartBody3843791421383386520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957344069,"filename":"image_31102025_20_18_33_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/5/c1b484da007b333d06411330803dd5d3.jpg","text":"TemporaryFile(/tmp/multipartBody2945703335193296258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957344069,"filename":"image_31102025_20_18_18_2504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113288","file1":"1398113287","file0":"1398113282","file4":"1398113290","file5":"1398113292","file3":"1398113289"},"map_files_photo_id_array":[{"photo_id":"1398113292","filename":"file5"},{"photo_id":"1398113288","filename":"file2"},{"photo_id":"1398113290","filename":"file4"},{"photo_id":"1398113287","filename":"file1"},{"photo_id":"1398113282","filename":"file0"},{"photo_id":"1398113289","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398113292":["hashtag1","hashtag2"]},{"1398113289":["hashtag1","hashtag2"]},{"1398113288":["hashtag1","hashtag2"]},{"1398113282":["hashtag1","hashtag2"]},{"1398113290":["hashtag1","hashtag2"]},{"1398113287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398113292, 1398113289, 1398113288, 1398113282, 1398113290, 1398113287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02165412902832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:55:22.623176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/41/image_05122025_17_41_35_10505.jpg', '/home/pi/Desktop/images/05122025/17/41/image_05122025_17_41_45_9578.jpg', '/home/pi/Desktop/images/05122025/17/41/image_05122025_17_42_05_10682.jpg', '/home/pi/Desktop/images/05122025/17/42/image_05122025_17_42_15_9546.jpg', '/home/pi/Desktop/images/05122025/17/42/image_05122025_17_42_24_9619.jpg', '/home/pi/Desktop/images/05122025/17/42/image_05122025_17_42_35_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/41/image_05122025_17_41_35_10505.jpg
/home/pi/Desktop/images/05122025/17/41/image_05122025_17_41_45_9578.jpg
/home/pi/Desktop/images/05122025/17/41/image_05122025_17_42_05_10682.jpg
/home/pi/Desktop/images/05122025/17/42/image_05122025_17_42_15_9546.jpg
/home/pi/Desktop/images/05122025/17/42/image_05122025_17_42_24_9619.jpg
/home/pi/Desktop/images/05122025/17/42/image_05122025_17_42_35_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398113308","1398113302","1398113311","1398113305","1398113306","1398113299"],"photo_ids_order":["1398113299","1398113302","1398113305","1398113306","1398113308","1398113311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/685cadf98afbace9892d609677e66cd3.jpg","text":"TemporaryFile(/tmp/multipartBody8500586467375879930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957383279,"filename":"image_05122025_17_42_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b126841ff87189a5f724a54dc4cf4d72.jpg","text":"TemporaryFile(/tmp/multipartBody3347332494921978426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957383279,"filename":"image_05122025_17_41_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/5/c8cf638faa05ac33f19fa4d5d131ca35.jpg","text":"TemporaryFile(/tmp/multipartBody4464452783286991503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957383279,"filename":"image_05122025_17_42_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/00c7c58109e5e1adaf6eddbcb25611bc.jpg","text":"TemporaryFile(/tmp/multipartBody4249071930063080934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957383279,"filename":"image_05122025_17_42_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/5/c4c5cbb2c3bd48560e2384c0f389096d.jpg","text":"TemporaryFile(/tmp/multipartBody4062940886464250266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957383279,"filename":"image_05122025_17_42_15_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/5/a0d30ea2c0e558385fb202eeb7984447.jpg","text":"TemporaryFile(/tmp/multipartBody2497927005000021108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957383279,"filename":"image_05122025_17_41_35_10505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113305","file1":"1398113302","file0":"1398113299","file4":"1398113308","file5":"1398113311","file3":"1398113306"},"map_files_photo_id_array":[{"photo_id":"1398113311","filename":"file5"},{"photo_id":"1398113305","filename":"file2"},{"photo_id":"1398113308","filename":"file4"},{"photo_id":"1398113302","filename":"file1"},{"photo_id":"1398113299","filename":"file0"},{"photo_id":"1398113306","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113308":["hashtag1","hashtag2"]},{"1398113302":["hashtag1","hashtag2"]},{"1398113311":["hashtag1","hashtag2"]},{"1398113305":["hashtag1","hashtag2"]},{"1398113306":["hashtag1","hashtag2"]},{"1398113299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113308, 1398113302, 1398113311, 1398113305, 1398113306, 1398113299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10108280181885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:56:02.422321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/42/image_05122025_17_42_45_9777.jpg', '/home/pi/Desktop/images/05122025/17/42/image_05122025_17_43_05_10605.jpg', '/home/pi/Desktop/images/05122025/17/43/image_05122025_17_43_24_9659.jpg', '/home/pi/Desktop/images/05122025/17/43/image_05122025_17_43_35_10780.jpg', '/home/pi/Desktop/images/05122025/17/43/image_05122025_17_43_45_9687.jpg', '/home/pi/Desktop/images/05122025/17/44/image_05122025_17_44_15_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/42/image_05122025_17_42_45_9777.jpg
/home/pi/Desktop/images/05122025/17/42/image_05122025_17_43_05_10605.jpg
/home/pi/Desktop/images/05122025/17/43/image_05122025_17_43_24_9659.jpg
/home/pi/Desktop/images/05122025/17/43/image_05122025_17_43_35_10780.jpg
/home/pi/Desktop/images/05122025/17/43/image_05122025_17_43_45_9687.jpg
/home/pi/Desktop/images/05122025/17/44/image_05122025_17_44_15_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398113329","1398113338","1398113343","1398113319","1398113340","1398113313"],"photo_ids_order":["1398113313","1398113319","1398113329","1398113338","1398113340","1398113343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/032be7b73a421b87637c9da84454026f.jpg","text":"TemporaryFile(/tmp/multipartBody8830409416151310537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957423080,"filename":"image_05122025_17_43_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/5/0ae4372327b8a7f5f8efd586f47b0bca.jpg","text":"TemporaryFile(/tmp/multipartBody8545456263475180021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957423080,"filename":"image_05122025_17_43_35_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb1548716c67a97a8486a10d972eff61.jpg","text":"TemporaryFile(/tmp/multipartBody5293445954649881879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957423080,"filename":"image_05122025_17_44_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/5/abe96abaf7208a09c85e7431578c4272.jpg","text":"TemporaryFile(/tmp/multipartBody8816537562179216061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957423080,"filename":"image_05122025_17_43_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/5/6a18e61c5f3a55e3a82bb9adbebf0ea6.jpg","text":"TemporaryFile(/tmp/multipartBody3089765456973239998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957423080,"filename":"image_05122025_17_43_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f7cb397b27131185b52906093ce64688.jpg","text":"TemporaryFile(/tmp/multipartBody3128297015660032549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957423080,"filename":"image_05122025_17_42_45_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113329","file1":"1398113319","file0":"1398113313","file4":"1398113340","file5":"1398113343","file3":"1398113338"},"map_files_photo_id_array":[{"photo_id":"1398113343","filename":"file5"},{"photo_id":"1398113329","filename":"file2"},{"photo_id":"1398113340","filename":"file4"},{"photo_id":"1398113319","filename":"file1"},{"photo_id":"1398113313","filename":"file0"},{"photo_id":"1398113338","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113329":["hashtag1","hashtag2"]},{"1398113338":["hashtag1","hashtag2"]},{"1398113343":["hashtag1","hashtag2"]},{"1398113319":["hashtag1","hashtag2"]},{"1398113340":["hashtag1","hashtag2"]},{"1398113313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113329, 1398113338, 1398113343, 1398113319, 1398113340, 1398113313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.717615842819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 18:56:41.939725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_39_2636.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_46_3655.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_48_2599.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_51_2618.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_54_2867.jpg', '/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_57_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_39_2636.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_46_3655.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_48_2599.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_51_2618.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_54_2867.jpg
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_18_57_3698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398113361","1398113355","1398113358","1398113363","1398113357","1398113365"],"photo_ids_order":["1398113355","1398113357","1398113358","1398113361","1398113363","1398113365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e622cbbbfee87539edb510d8f9ccbcb7.jpg","text":"TemporaryFile(/tmp/multipartBody4969010710659347405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957463518,"filename":"image_31102025_20_18_51_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/5/7b6bdb8eaf2bda24fdd1c8717217e5e4.jpg","text":"TemporaryFile(/tmp/multipartBody6480482722910176664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957463518,"filename":"image_31102025_20_18_39_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/5/a2593f8098f8e5a5e6f4b54ceeefb863.jpg","text":"TemporaryFile(/tmp/multipartBody145421604349621147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957463518,"filename":"image_31102025_20_18_48_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/5/c1edaa27b4fa3ab2dfb3edfbf8b8f4cd.jpg","text":"TemporaryFile(/tmp/multipartBody2914942683890148192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957463518,"filename":"image_31102025_20_18_54_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/5/c0bd6d565830698cad33bcb9d31d89e6.jpg","text":"TemporaryFile(/tmp/multipartBody7250365926614139550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957463518,"filename":"image_31102025_20_18_46_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/5/4aa9c03993e46c1fa4c922050c226ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2180830677449469219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957463518,"filename":"image_31102025_20_18_57_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113358","file1":"1398113357","file0":"1398113355","file4":"1398113363","file5":"1398113365","file3":"1398113361"},"map_files_photo_id_array":[{"photo_id":"1398113365","filename":"file5"},{"photo_id":"1398113358","filename":"file2"},{"photo_id":"1398113363","filename":"file4"},{"photo_id":"1398113357","filename":"file1"},{"photo_id":"1398113355","filename":"file0"},{"photo_id":"1398113361","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398113361":["hashtag1","hashtag2"]},{"1398113355":["hashtag1","hashtag2"]},{"1398113358":["hashtag1","hashtag2"]},{"1398113363":["hashtag1","hashtag2"]},{"1398113357":["hashtag1","hashtag2"]},{"1398113365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398113361, 1398113355, 1398113358, 1398113363, 1398113357, 1398113365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32653737068176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 18:57:22.060260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/44/image_05122025_17_44_25_9854.jpg', '/home/pi/Desktop/images/05122025/17/44/image_05122025_17_44_44_9777.jpg', '/home/pi/Desktop/images/05122025/17/44/image_05122025_17_44_55_10716.jpg', '/home/pi/Desktop/images/05122025/17/45/image_05122025_17_45_14_10054.jpg', '/home/pi/Desktop/images/05122025/17/45/image_05122025_17_45_25_10700.jpg', '/home/pi/Desktop/images/05122025/17/45/image_05122025_17_45_44_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/44/image_05122025_17_44_25_9854.jpg
/home/pi/Desktop/images/05122025/17/44/image_05122025_17_44_44_9777.jpg
/home/pi/Desktop/images/05122025/17/44/image_05122025_17_44_55_10716.jpg
/home/pi/Desktop/images/05122025/17/45/image_05122025_17_45_14_10054.jpg
/home/pi/Desktop/images/05122025/17/45/image_05122025_17_45_25_10700.jpg
/home/pi/Desktop/images/05122025/17/45/image_05122025_17_45_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":["1398113373","1398113376","1398113378","1398113375","1398113369","1398113371"],"photo_ids_order":["1398113369","1398113371","1398113373","1398113375","1398113376","1398113378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c0629d40423d3b875896c16230779636.jpg","text":"TemporaryFile(/tmp/multipartBody6121660147634851102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957502745,"filename":"image_05122025_17_44_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/5/6275cb10b3d2771d4a88ac9c82629351.jpg","text":"TemporaryFile(/tmp/multipartBody7671906793647747449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957502745,"filename":"image_05122025_17_45_25_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/5/c22eea86a51b56ab5d4e94af3a1a92a7.jpg","text":"TemporaryFile(/tmp/multipartBody3306020010958180149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957502745,"filename":"image_05122025_17_45_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/5/5fb68da3fbeaec0714a3aaa361f5f1ad.jpg","text":"TemporaryFile(/tmp/multipartBody3490919316208868747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957502745,"filename":"image_05122025_17_45_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0dc3769175fced80707d92e2f00e2c53.jpg","text":"TemporaryFile(/tmp/multipartBody492629228721204118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957502745,"filename":"image_05122025_17_44_25_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/5/ed3185bcb2a2c525a16153200c3c564b.jpg","text":"TemporaryFile(/tmp/multipartBody2139233744256738502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957502745,"filename":"image_05122025_17_44_44_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113373","file1":"1398113371","file0":"1398113369","file4":"1398113376","file5":"1398113378","file3":"1398113375"},"map_files_photo_id_array":[{"photo_id":"1398113378","filename":"file5"},{"photo_id":"1398113373","filename":"file2"},{"photo_id":"1398113376","filename":"file4"},{"photo_id":"1398113371","filename":"file1"},{"photo_id":"1398113369","filename":"file0"},{"photo_id":"1398113375","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113373":["hashtag1","hashtag2"]},{"1398113376":["hashtag1","hashtag2"]},{"1398113378":["hashtag1","hashtag2"]},{"1398113375":["hashtag1","hashtag2"]},{"1398113369":["hashtag1","hashtag2"]},{"1398113371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113373, 1398113376, 1398113378, 1398113375, 1398113369, 1398113371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48061561584473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 18:59:03.367262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/45/image_05122025_17_45_54_9804.jpg', '/home/pi/Desktop/images/05122025/17/45/image_05122025_17_46_05_10900.jpg', '/home/pi/Desktop/images/05122025/17/46/image_05122025_17_46_15_9793.jpg', '/home/pi/Desktop/images/05122025/17/46/image_05122025_17_46_44_10556.jpg', '/home/pi/Desktop/images/05122025/17/46/image_05122025_17_46_54_9625.jpg', '/home/pi/Desktop/images/05122025/17/46/image_05122025_17_47_05_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/45/image_05122025_17_45_54_9804.jpg
/home/pi/Desktop/images/05122025/17/45/image_05122025_17_46_05_10900.jpg
/home/pi/Desktop/images/05122025/17/46/image_05122025_17_46_15_9793.jpg
/home/pi/Desktop/images/05122025/17/46/image_05122025_17_46_44_10556.jpg
/home/pi/Desktop/images/05122025/17/46/image_05122025_17_46_54_9625.jpg
/home/pi/Desktop/images/05122025/17/46/image_05122025_17_47_05_10737.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":["1398113401","1398113397","1398113385","1398113399","1398113393","1398113389"],"photo_ids_order":["1398113385","1398113389","1398113393","1398113397","1398113399","1398113401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f5bdb937056001cc709f1bdbf5a0c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7892233307905147719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957604335,"filename":"image_05122025_17_47_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/5/3a4699d4159096eb1226f179621b0a62.jpg","text":"TemporaryFile(/tmp/multipartBody5687370679863130306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957604335,"filename":"image_05122025_17_46_44_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/86ac4e19b5c01b71ba176962e303e8f8.jpg","text":"TemporaryFile(/tmp/multipartBody3757572437211489980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957604335,"filename":"image_05122025_17_45_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/5/89d1fcededcac514a5c3a1f8887d50d4.jpg","text":"TemporaryFile(/tmp/multipartBody2849097410077636442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957604335,"filename":"image_05122025_17_46_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/5/2c26f8abc32c8aeec952484c625e5ae4.jpg","text":"TemporaryFile(/tmp/multipartBody3456388316063856663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957604335,"filename":"image_05122025_17_46_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/5/2cec55c80bf42c8403a796e07c94d4d7.jpg","text":"TemporaryFile(/tmp/multipartBody2774586017817825103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957604335,"filename":"image_05122025_17_46_05_10900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113393","file1":"1398113389","file0":"1398113385","file4":"1398113399","file5":"1398113401","file3":"1398113397"},"map_files_photo_id_array":[{"photo_id":"1398113401","filename":"file5"},{"photo_id":"1398113393","filename":"file2"},{"photo_id":"1398113399","filename":"file4"},{"photo_id":"1398113389","filename":"file1"},{"photo_id":"1398113385","filename":"file0"},{"photo_id":"1398113397","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113401":["hashtag1","hashtag2"]},{"1398113397":["hashtag1","hashtag2"]},{"1398113385":["hashtag1","hashtag2"]},{"1398113399":["hashtag1","hashtag2"]},{"1398113393":["hashtag1","hashtag2"]},{"1398113389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113401, 1398113397, 1398113385, 1398113399, 1398113393, 1398113389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.895501136779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:00:02.295409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/47/image_05122025_17_47_15_9787.jpg', '/home/pi/Desktop/images/05122025/17/47/image_05122025_17_47_24_9686.jpg', '/home/pi/Desktop/images/05122025/17/47/image_05122025_17_47_45_10726.jpg', '/home/pi/Desktop/images/05122025/17/47/image_05122025_17_47_54_9723.jpg', '/home/pi/Desktop/images/05122025/17/47/image_05122025_17_48_04_9578.jpg', '/home/pi/Desktop/images/05122025/17/48/image_05122025_17_48_15_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/47/image_05122025_17_47_15_9787.jpg
/home/pi/Desktop/images/05122025/17/47/image_05122025_17_47_24_9686.jpg
/home/pi/Desktop/images/05122025/17/47/image_05122025_17_47_45_10726.jpg
/home/pi/Desktop/images/05122025/17/47/image_05122025_17_47_54_9723.jpg
/home/pi/Desktop/images/05122025/17/47/image_05122025_17_48_04_9578.jpg
/home/pi/Desktop/images/05122025/17/48/image_05122025_17_48_15_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":["1398113419","1398113421","1398113415","1398113423","1398113417","1398113426"],"photo_ids_order":["1398113415","1398113417","1398113419","1398113421","1398113423","1398113426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3cd5cc90dc40cc57303d726364f4e4f5.jpg","text":"TemporaryFile(/tmp/multipartBody1875595672000138312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957662977,"filename":"image_05122025_17_47_45_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1da4bf5795881fe340f3d4b4ac6c1f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3150580967360122607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957662977,"filename":"image_05122025_17_47_54_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e07a5d7be50f4deed58b972a104bfe84.jpg","text":"TemporaryFile(/tmp/multipartBody6351583631545736946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957662977,"filename":"image_05122025_17_47_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/5/01cd61cc37302616b51023e1cabb24ec.jpg","text":"TemporaryFile(/tmp/multipartBody7841594072209475709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957662977,"filename":"image_05122025_17_48_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/5/d77a7cf070f1ad739b1a2cbc829b0e76.jpg","text":"TemporaryFile(/tmp/multipartBody3230982608787696983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957662977,"filename":"image_05122025_17_47_24_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/577242c163e0ebf796b06795e2f1a0e2.jpg","text":"TemporaryFile(/tmp/multipartBody2201061131033007953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957662977,"filename":"image_05122025_17_48_15_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113419","file1":"1398113417","file0":"1398113415","file4":"1398113423","file5":"1398113426","file3":"1398113421"},"map_files_photo_id_array":[{"photo_id":"1398113426","filename":"file5"},{"photo_id":"1398113419","filename":"file2"},{"photo_id":"1398113423","filename":"file4"},{"photo_id":"1398113417","filename":"file1"},{"photo_id":"1398113415","filename":"file0"},{"photo_id":"1398113421","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113419":["hashtag1","hashtag2"]},{"1398113421":["hashtag1","hashtag2"]},{"1398113415":["hashtag1","hashtag2"]},{"1398113423":["hashtag1","hashtag2"]},{"1398113417":["hashtag1","hashtag2"]},{"1398113426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113419, 1398113421, 1398113415, 1398113423, 1398113417, 1398113426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15868020057678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:00:41.944342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/18/image_31102025_20_19_00_2790.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_06_2851.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_09_3700.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_12_2854.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_15_2629.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_21_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/18/image_31102025_20_19_00_2790.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_06_2851.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_09_3700.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_12_2854.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_15_2629.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_21_3599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398113434","1398113437","1398113439","1398113448","1398113453","1398113441"],"photo_ids_order":["1398113434","1398113437","1398113439","1398113441","1398113448","1398113453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a436579f9e69b228df66c42118d33a6.jpg","text":"TemporaryFile(/tmp/multipartBody9011944746201055197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957703521,"filename":"image_31102025_20_19_00_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/5/fc0b44b070d69cfa47e0806133600ddb.jpg","text":"TemporaryFile(/tmp/multipartBody2742992874027069076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957703521,"filename":"image_31102025_20_19_06_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/5/788ea67d75b5d4f01c45e175bdf7796f.jpg","text":"TemporaryFile(/tmp/multipartBody335839810885760111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957703521,"filename":"image_31102025_20_19_09_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/5/c67986377925770f678d3e17dd4b5385.jpg","text":"TemporaryFile(/tmp/multipartBody8033302798051797038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957703521,"filename":"image_31102025_20_19_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/5/f3f3001453959d0891b49872a36fe245.jpg","text":"TemporaryFile(/tmp/multipartBody5627373316318589022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957703521,"filename":"image_31102025_20_19_21_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/5/20068c4049a09067766a774bed5f1c6c.jpg","text":"TemporaryFile(/tmp/multipartBody5403998487071772064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957703521,"filename":"image_31102025_20_19_12_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113439","file1":"1398113437","file0":"1398113434","file4":"1398113448","file5":"1398113453","file3":"1398113441"},"map_files_photo_id_array":[{"photo_id":"1398113453","filename":"file5"},{"photo_id":"1398113439","filename":"file2"},{"photo_id":"1398113448","filename":"file4"},{"photo_id":"1398113437","filename":"file1"},{"photo_id":"1398113434","filename":"file0"},{"photo_id":"1398113441","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398113434":["hashtag1","hashtag2"]},{"1398113437":["hashtag1","hashtag2"]},{"1398113439":["hashtag1","hashtag2"]},{"1398113448":["hashtag1","hashtag2"]},{"1398113453":["hashtag1","hashtag2"]},{"1398113441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398113434, 1398113437, 1398113439, 1398113448, 1398113453, 1398113441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.797346353530884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:01:22.195977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/48/image_05122025_17_48_34_9628.jpg', '/home/pi/Desktop/images/05122025/17/48/image_05122025_17_49_05_10126.jpg', '/home/pi/Desktop/images/05122025/17/49/image_05122025_17_49_14_9767.jpg', '/home/pi/Desktop/images/05122025/17/49/image_05122025_17_49_24_9581.jpg', '/home/pi/Desktop/images/05122025/17/49/image_05122025_17_49_35_10898.jpg', '/home/pi/Desktop/images/05122025/17/49/image_05122025_17_49_47_12660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/48/image_05122025_17_48_34_9628.jpg
/home/pi/Desktop/images/05122025/17/48/image_05122025_17_49_05_10126.jpg
/home/pi/Desktop/images/05122025/17/49/image_05122025_17_49_14_9767.jpg
/home/pi/Desktop/images/05122025/17/49/image_05122025_17_49_24_9581.jpg
/home/pi/Desktop/images/05122025/17/49/image_05122025_17_49_35_10898.jpg
/home/pi/Desktop/images/05122025/17/49/image_05122025_17_49_47_12660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398113521","1398113469","1398113483","1398113456","1398113476","1398113479"],"photo_ids_order":["1398113456","1398113469","1398113476","1398113479","1398113483","1398113521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/57db83d12a209298f8aafe504dfc459e.jpg","text":"TemporaryFile(/tmp/multipartBody1287891625012692797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957742863,"filename":"image_05122025_17_49_47_12660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f5521805bda6986abb40da88e6c1ab66.jpg","text":"TemporaryFile(/tmp/multipartBody2518026234697733236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957742863,"filename":"image_05122025_17_49_05_10126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d62ba8d3b25d5320f9bbe5b35c2c714.jpg","text":"TemporaryFile(/tmp/multipartBody8150310385288939617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957742863,"filename":"image_05122025_17_49_35_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/5/e4c7b3ee9e0edb2a2f4920206f79d6cb.jpg","text":"TemporaryFile(/tmp/multipartBody4247839075629479131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957742863,"filename":"image_05122025_17_48_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/5/4f485991a462cecd15720814a54b79fc.jpg","text":"TemporaryFile(/tmp/multipartBody8610397994334700675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957742863,"filename":"image_05122025_17_49_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/5/c20a2e9acd9d5254e98ccc721723625f.jpg","text":"TemporaryFile(/tmp/multipartBody4195954267023162145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957742863,"filename":"image_05122025_17_49_24_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113476","file1":"1398113469","file0":"1398113456","file4":"1398113483","file5":"1398113521","file3":"1398113479"},"map_files_photo_id_array":[{"photo_id":"1398113521","filename":"file5"},{"photo_id":"1398113476","filename":"file2"},{"photo_id":"1398113483","filename":"file4"},{"photo_id":"1398113469","filename":"file1"},{"photo_id":"1398113456","filename":"file0"},{"photo_id":"1398113479","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113521":["hashtag1","hashtag2"]},{"1398113469":["hashtag1","hashtag2"]},{"1398113483":["hashtag1","hashtag2"]},{"1398113456":["hashtag1","hashtag2"]},{"1398113476":["hashtag1","hashtag2"]},{"1398113479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113521, 1398113469, 1398113483, 1398113456, 1398113476, 1398113479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03002595901489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:02:02.758487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/49/image_05122025_17_49_54_6839.jpg', '/home/pi/Desktop/images/05122025/17/51/image_05122025_17_51_13_10054.jpg', '/home/pi/Desktop/images/05122025/17/51/image_05122025_17_51_24_10735.jpg', '/home/pi/Desktop/images/05122025/17/51/image_05122025_17_51_33_9549.jpg', '/home/pi/Desktop/images/05122025/17/51/image_05122025_17_51_43_9730.jpg', '/home/pi/Desktop/images/05122025/17/51/image_05122025_17_51_54_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/49/image_05122025_17_49_54_6839.jpg
/home/pi/Desktop/images/05122025/17/51/image_05122025_17_51_13_10054.jpg
/home/pi/Desktop/images/05122025/17/51/image_05122025_17_51_24_10735.jpg
/home/pi/Desktop/images/05122025/17/51/image_05122025_17_51_33_9549.jpg
/home/pi/Desktop/images/05122025/17/51/image_05122025_17_51_43_9730.jpg
/home/pi/Desktop/images/05122025/17/51/image_05122025_17_51_54_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":["1398113839","1398113685","1398113649","1398113802","1398113724","1398113761"],"photo_ids_order":["1398113649","1398113685","1398113724","1398113761","1398113802","1398113839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2f401396bd42c69c9644848d2250f808.jpg","text":"TemporaryFile(/tmp/multipartBody9098118779599305120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957783518,"filename":"image_05122025_17_51_54_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/5/2fa26bbc200dfe08309e86ee87f375d8.jpg","text":"TemporaryFile(/tmp/multipartBody2768940404298639834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957783518,"filename":"image_05122025_17_51_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/5/f54d5acadf61ff46f79e0c27b4a6712f.jpg","text":"TemporaryFile(/tmp/multipartBody8285654531260080810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957783518,"filename":"image_05122025_17_49_54_6839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d8216008a4c9378572fd693423d63525.jpg","text":"TemporaryFile(/tmp/multipartBody4521665201065006273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957783518,"filename":"image_05122025_17_51_43_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/5/ec77340c1dd05f24b88daf8b00e94c59.jpg","text":"TemporaryFile(/tmp/multipartBody2674860592545938001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957783518,"filename":"image_05122025_17_51_24_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/5/30c1bea6eeef07fa4b671b3391bd4a29.jpg","text":"TemporaryFile(/tmp/multipartBody3135551930985060703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957783518,"filename":"image_05122025_17_51_33_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398113724","file1":"1398113685","file0":"1398113649","file4":"1398113802","file5":"1398113839","file3":"1398113761"},"map_files_photo_id_array":[{"photo_id":"1398113839","filename":"file5"},{"photo_id":"1398113724","filename":"file2"},{"photo_id":"1398113802","filename":"file4"},{"photo_id":"1398113685","filename":"file1"},{"photo_id":"1398113649","filename":"file0"},{"photo_id":"1398113761","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398113839":["hashtag1","hashtag2"]},{"1398113685":["hashtag1","hashtag2"]},{"1398113649":["hashtag1","hashtag2"]},{"1398113802":["hashtag1","hashtag2"]},{"1398113724":["hashtag1","hashtag2"]},{"1398113761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398113839, 1398113685, 1398113649, 1398113802, 1398113724, 1398113761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0179660320282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:02:42.332620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_24_2632.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_27_3562.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_30_2913.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_33_2604.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_36_2666.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_39_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_24_2632.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_27_3562.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_30_2913.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_33_2604.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_36_2666.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_39_3608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398114378","1398114450","1398114063","1398114231","1398114302","1398114136"],"photo_ids_order":["1398114063","1398114136","1398114231","1398114302","1398114378","1398114450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cafcc6b173e5e4d17d6c28c2364447d3.jpg","text":"TemporaryFile(/tmp/multipartBody7316041399535513527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957823931,"filename":"image_31102025_20_19_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/5/11d629b9000028fa2b45c28d678618f9.jpg","text":"TemporaryFile(/tmp/multipartBody6180578113616091519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957823931,"filename":"image_31102025_20_19_39_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/5/fb2a1d3e996b7c68526fc63f2006f877.jpg","text":"TemporaryFile(/tmp/multipartBody8975200295307891098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957823931,"filename":"image_31102025_20_19_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/5/88d9e4ee8d35bf123e1e755cb0c793fe.jpg","text":"TemporaryFile(/tmp/multipartBody7653689742409123076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957823931,"filename":"image_31102025_20_19_30_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5584ea15c859ec0c79e0bcc698959194.jpg","text":"TemporaryFile(/tmp/multipartBody3943947891385003438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957823931,"filename":"image_31102025_20_19_33_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2bdb93a998006b00d6e29298e81e32f0.jpg","text":"TemporaryFile(/tmp/multipartBody4942016919581776869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957823931,"filename":"image_31102025_20_19_27_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398114231","file1":"1398114136","file0":"1398114063","file4":"1398114378","file5":"1398114450","file3":"1398114302"},"map_files_photo_id_array":[{"photo_id":"1398114450","filename":"file5"},{"photo_id":"1398114231","filename":"file2"},{"photo_id":"1398114378","filename":"file4"},{"photo_id":"1398114136","filename":"file1"},{"photo_id":"1398114063","filename":"file0"},{"photo_id":"1398114302","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398114378":["hashtag1","hashtag2"]},{"1398114450":["hashtag1","hashtag2"]},{"1398114063":["hashtag1","hashtag2"]},{"1398114231":["hashtag1","hashtag2"]},{"1398114302":["hashtag1","hashtag2"]},{"1398114136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398114378, 1398114450, 1398114063, 1398114231, 1398114302, 1398114136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93146109580994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 19:03:32.462137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/43/image_02122025_23_44_05_10638.jpg', '/home/pi/Desktop/images/02122025/23/44/image_02122025_23_44_14_9791.jpg', '/home/pi/Desktop/images/02122025/23/44/image_02122025_23_44_45_10725.jpg', '/home/pi/Desktop/images/02122025/23/45/image_02122025_23_45_14_9633.jpg', '/home/pi/Desktop/images/02122025/23/45/image_02122025_23_45_24_9708.jpg', '/home/pi/Desktop/images/02122025/23/45/image_02122025_23_46_04_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/43/image_02122025_23_44_05_10638.jpg
/home/pi/Desktop/images/02122025/23/44/image_02122025_23_44_14_9791.jpg
/home/pi/Desktop/images/02122025/23/44/image_02122025_23_44_45_10725.jpg
/home/pi/Desktop/images/02122025/23/45/image_02122025_23_45_14_9633.jpg
/home/pi/Desktop/images/02122025/23/45/image_02122025_23_45_24_9708.jpg
/home/pi/Desktop/images/02122025/23/45/image_02122025_23_46_04_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":["1398114904","1398114960","1398114825","1398114866","1398114914","1398114902"],"photo_ids_order":["1398114825","1398114866","1398114902","1398114904","1398114914","1398114960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e5e06be4ebf7792420aab6294ada109.jpg","text":"TemporaryFile(/tmp/multipartBody8264075875037531843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957874479,"filename":"image_02122025_23_45_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/5/8a38ead8533c9c9ba27070ce7dae9b38.jpg","text":"TemporaryFile(/tmp/multipartBody3524926999825191115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957874479,"filename":"image_02122025_23_46_04_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/5/5bbf48fe3da61701ea72a7eb009db09f.jpg","text":"TemporaryFile(/tmp/multipartBody1073028062437102770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957874479,"filename":"image_02122025_23_44_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4933bc94832e9675dc63b9f8276cee8f.jpg","text":"TemporaryFile(/tmp/multipartBody5936668734016346514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957874479,"filename":"image_02122025_23_44_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/5/56c42364c5f88d782c376d1b7b461c7c.jpg","text":"TemporaryFile(/tmp/multipartBody3316653098380452720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957874479,"filename":"image_02122025_23_45_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/5/a6f1d62f3f2771067bdb431aeb28ca03.jpg","text":"TemporaryFile(/tmp/multipartBody1544341637672208899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957874479,"filename":"image_02122025_23_44_45_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398114902","file1":"1398114866","file0":"1398114825","file4":"1398114914","file5":"1398114960","file3":"1398114904"},"map_files_photo_id_array":[{"photo_id":"1398114960","filename":"file5"},{"photo_id":"1398114902","filename":"file2"},{"photo_id":"1398114914","filename":"file4"},{"photo_id":"1398114866","filename":"file1"},{"photo_id":"1398114825","filename":"file0"},{"photo_id":"1398114904","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398114904":["hashtag1","hashtag2"]},{"1398114960":["hashtag1","hashtag2"]},{"1398114825":["hashtag1","hashtag2"]},{"1398114866":["hashtag1","hashtag2"]},{"1398114914":["hashtag1","hashtag2"]},{"1398114902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398114904, 1398114960, 1398114825, 1398114866, 1398114914, 1398114902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.074294090270996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:04:22.684686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/52/image_05122025_17_52_03_9379.jpg', '/home/pi/Desktop/images/05122025/17/52/image_05122025_17_52_14_10853.jpg', '/home/pi/Desktop/images/05122025/17/52/image_05122025_17_52_24_9570.jpg', '/home/pi/Desktop/images/05122025/17/52/image_05122025_17_52_33_9634.jpg', '/home/pi/Desktop/images/05122025/17/52/image_05122025_17_52_44_10648.jpg', '/home/pi/Desktop/images/05122025/17/52/image_05122025_17_53_03_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/52/image_05122025_17_52_03_9379.jpg
/home/pi/Desktop/images/05122025/17/52/image_05122025_17_52_14_10853.jpg
/home/pi/Desktop/images/05122025/17/52/image_05122025_17_52_24_9570.jpg
/home/pi/Desktop/images/05122025/17/52/image_05122025_17_52_33_9634.jpg
/home/pi/Desktop/images/05122025/17/52/image_05122025_17_52_44_10648.jpg
/home/pi/Desktop/images/05122025/17/52/image_05122025_17_53_03_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":["1398115308","1398115037","1398115084","1398115264","1398115197","1398115152"],"photo_ids_order":["1398115037","1398115084","1398115152","1398115197","1398115264","1398115308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d5169446aaf2b1f3526f1ef6f762c73c.jpg","text":"TemporaryFile(/tmp/multipartBody6645484940712586967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957923393,"filename":"image_05122025_17_53_03_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/5/f07d0f2748c66fd84917e8ff07804f5e.jpg","text":"TemporaryFile(/tmp/multipartBody8492583451611947814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957923393,"filename":"image_05122025_17_52_03_9379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99cf20e75498ba08b8a28b294a7a7113.jpg","text":"TemporaryFile(/tmp/multipartBody6834683179260770312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957923393,"filename":"image_05122025_17_52_14_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/5/116eae6d505629748c531b8ee23372d5.jpg","text":"TemporaryFile(/tmp/multipartBody1574217479956946237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957923393,"filename":"image_05122025_17_52_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/5/3de041200a88f21a508752ad459b7aa3.jpg","text":"TemporaryFile(/tmp/multipartBody7269046753028935317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957923393,"filename":"image_05122025_17_52_33_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/5/783370f9ec90692e4218d2ce82dee3ce.jpg","text":"TemporaryFile(/tmp/multipartBody8394889981778917002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957923393,"filename":"image_05122025_17_52_24_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398115152","file1":"1398115084","file0":"1398115037","file4":"1398115264","file5":"1398115308","file3":"1398115197"},"map_files_photo_id_array":[{"photo_id":"1398115308","filename":"file5"},{"photo_id":"1398115152","filename":"file2"},{"photo_id":"1398115264","filename":"file4"},{"photo_id":"1398115084","filename":"file1"},{"photo_id":"1398115037","filename":"file0"},{"photo_id":"1398115197","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398115308":["hashtag1","hashtag2"]},{"1398115037":["hashtag1","hashtag2"]},{"1398115084":["hashtag1","hashtag2"]},{"1398115264":["hashtag1","hashtag2"]},{"1398115197":["hashtag1","hashtag2"]},{"1398115152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398115308, 1398115037, 1398115084, 1398115264, 1398115197, 1398115152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.294137716293335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:05:02.956665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/53/image_05122025_17_53_14_10693.jpg', '/home/pi/Desktop/images/05122025/17/53/image_05122025_17_53_24_9802.jpg', '/home/pi/Desktop/images/05122025/17/53/image_05122025_17_53_43_9933.jpg', '/home/pi/Desktop/images/05122025/17/54/image_05122025_17_54_14_9689.jpg', '/home/pi/Desktop/images/05122025/17/54/image_05122025_17_54_23_9636.jpg', '/home/pi/Desktop/images/05122025/17/54/image_05122025_17_54_34_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/53/image_05122025_17_53_14_10693.jpg
/home/pi/Desktop/images/05122025/17/53/image_05122025_17_53_24_9802.jpg
/home/pi/Desktop/images/05122025/17/53/image_05122025_17_53_43_9933.jpg
/home/pi/Desktop/images/05122025/17/54/image_05122025_17_54_14_9689.jpg
/home/pi/Desktop/images/05122025/17/54/image_05122025_17_54_23_9636.jpg
/home/pi/Desktop/images/05122025/17/54/image_05122025_17_54_34_10714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398115367","1398115397","1398115360","1398115435","1398115363","1398115365"],"photo_ids_order":["1398115360","1398115363","1398115365","1398115367","1398115397","1398115435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/86e169413ed952f9698c08d8a23ff548.jpg","text":"TemporaryFile(/tmp/multipartBody3530032641355791462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957963752,"filename":"image_05122025_17_54_14_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/5/e7a5bb2ad7e25f233f8ad5a0bab0da2c.jpg","text":"TemporaryFile(/tmp/multipartBody6697098186788223133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957963752,"filename":"image_05122025_17_54_23_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/5/d662c78973d6d26071e0ede3cb356763.jpg","text":"TemporaryFile(/tmp/multipartBody7517047551379367244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957963752,"filename":"image_05122025_17_53_14_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/5/54bf1306e7b51b645d4796d1bbc2e10d.jpg","text":"TemporaryFile(/tmp/multipartBody7247835580543338833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957963752,"filename":"image_05122025_17_54_34_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/5/69ae713a382104c9359c07600059e75c.jpg","text":"TemporaryFile(/tmp/multipartBody6999080524273247142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957963752,"filename":"image_05122025_17_53_24_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/5/8325e1c941448e185a0b977996339e7e.jpg","text":"TemporaryFile(/tmp/multipartBody8447386568985905466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764957963752,"filename":"image_05122025_17_53_43_9933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398115365","file1":"1398115363","file0":"1398115360","file4":"1398115397","file5":"1398115435","file3":"1398115367"},"map_files_photo_id_array":[{"photo_id":"1398115435","filename":"file5"},{"photo_id":"1398115365","filename":"file2"},{"photo_id":"1398115397","filename":"file4"},{"photo_id":"1398115363","filename":"file1"},{"photo_id":"1398115360","filename":"file0"},{"photo_id":"1398115367","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398115367":["hashtag1","hashtag2"]},{"1398115397":["hashtag1","hashtag2"]},{"1398115360":["hashtag1","hashtag2"]},{"1398115435":["hashtag1","hashtag2"]},{"1398115363":["hashtag1","hashtag2"]},{"1398115365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398115367, 1398115397, 1398115360, 1398115435, 1398115363, 1398115365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87308883666992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:05:42.268244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_42_2593.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_45_3644.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_48_2551.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_51_2649.jpg', '/home/pi/Desktop/images/31102025/20/19/image_31102025_20_20_00_2587.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_06_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_42_2593.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_45_3644.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_48_2551.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_19_51_2649.jpg
/home/pi/Desktop/images/31102025/20/19/image_31102025_20_20_00_2587.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_06_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398115548","1398115547","1398115489","1398115546","1398115543","1398115525"],"photo_ids_order":["1398115489","1398115525","1398115543","1398115546","1398115547","1398115548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fddb215d9376727bec9fdb8de66c6825.jpg","text":"TemporaryFile(/tmp/multipartBody982566964146648818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958003838,"filename":"image_31102025_20_20_06_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/5/ee82462bceb3b5e68e817860c74acbca.jpg","text":"TemporaryFile(/tmp/multipartBody1975821607180559906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958003838,"filename":"image_31102025_20_20_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/5/a107e3134ae84fa7a2bca1f394af505c.jpg","text":"TemporaryFile(/tmp/multipartBody164970021951615487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958003838,"filename":"image_31102025_20_19_42_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/5/af51684bed2f7719d9b07608e669465a.jpg","text":"TemporaryFile(/tmp/multipartBody4160321185390063809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958003838,"filename":"image_31102025_20_19_51_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/5/8ded9db93e03ca76960cc5c6cb5f33e6.jpg","text":"TemporaryFile(/tmp/multipartBody3701993798354608597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958003838,"filename":"image_31102025_20_19_48_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/5/ed240756f84c1cccfb270126f4916201.jpg","text":"TemporaryFile(/tmp/multipartBody3476847298479301294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958003838,"filename":"image_31102025_20_19_45_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398115543","file1":"1398115525","file0":"1398115489","file4":"1398115547","file5":"1398115548","file3":"1398115546"},"map_files_photo_id_array":[{"photo_id":"1398115548","filename":"file5"},{"photo_id":"1398115543","filename":"file2"},{"photo_id":"1398115547","filename":"file4"},{"photo_id":"1398115525","filename":"file1"},{"photo_id":"1398115489","filename":"file0"},{"photo_id":"1398115546","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398115548":["hashtag1","hashtag2"]},{"1398115547":["hashtag1","hashtag2"]},{"1398115489":["hashtag1","hashtag2"]},{"1398115546":["hashtag1","hashtag2"]},{"1398115543":["hashtag1","hashtag2"]},{"1398115525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398115548, 1398115547, 1398115489, 1398115546, 1398115543, 1398115525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75177073478699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:06:22.503745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/54/image_05122025_17_54_44_9815.jpg', '/home/pi/Desktop/images/05122025/17/54/image_05122025_17_54_53_9317.jpg', '/home/pi/Desktop/images/05122025/17/55/image_05122025_17_55_15_10865.jpg', '/home/pi/Desktop/images/05122025/17/55/image_05122025_17_55_24_9726.jpg', '/home/pi/Desktop/images/05122025/17/55/image_05122025_17_55_34_9734.jpg', '/home/pi/Desktop/images/05122025/17/55/image_05122025_17_55_44_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/54/image_05122025_17_54_44_9815.jpg
/home/pi/Desktop/images/05122025/17/54/image_05122025_17_54_53_9317.jpg
/home/pi/Desktop/images/05122025/17/55/image_05122025_17_55_15_10865.jpg
/home/pi/Desktop/images/05122025/17/55/image_05122025_17_55_24_9726.jpg
/home/pi/Desktop/images/05122025/17/55/image_05122025_17_55_34_9734.jpg
/home/pi/Desktop/images/05122025/17/55/image_05122025_17_55_44_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":["1398115566","1398115556","1398115558","1398115560","1398115554","1398115563"],"photo_ids_order":["1398115554","1398115556","1398115558","1398115560","1398115563","1398115566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/27ab5c3ab9e3df64bf45a4989e3940e7.jpg","text":"TemporaryFile(/tmp/multipartBody71653470506697163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958043231,"filename":"image_05122025_17_55_44_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9345c92052f1826a842f38d2a434e3be.jpg","text":"TemporaryFile(/tmp/multipartBody2200820018973947887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958043231,"filename":"image_05122025_17_54_53_9317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4c9c16e1c699eff2a46f6870a05d73d.jpg","text":"TemporaryFile(/tmp/multipartBody3945300820579106394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958043231,"filename":"image_05122025_17_55_15_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/5/791ed6dfc7d689a8b02b59320fc88724.jpg","text":"TemporaryFile(/tmp/multipartBody8365359297809772999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958043231,"filename":"image_05122025_17_55_24_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b83eecdb520f55dfcf8b722cb13eef6.jpg","text":"TemporaryFile(/tmp/multipartBody1121282699483705304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958043231,"filename":"image_05122025_17_54_44_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/5/91d5f8a168aeebf9a617592303d82ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4106436941108110341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958043231,"filename":"image_05122025_17_55_34_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398115558","file1":"1398115556","file0":"1398115554","file4":"1398115563","file5":"1398115566","file3":"1398115560"},"map_files_photo_id_array":[{"photo_id":"1398115566","filename":"file5"},{"photo_id":"1398115558","filename":"file2"},{"photo_id":"1398115563","filename":"file4"},{"photo_id":"1398115556","filename":"file1"},{"photo_id":"1398115554","filename":"file0"},{"photo_id":"1398115560","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398115566":["hashtag1","hashtag2"]},{"1398115556":["hashtag1","hashtag2"]},{"1398115558":["hashtag1","hashtag2"]},{"1398115560":["hashtag1","hashtag2"]},{"1398115554":["hashtag1","hashtag2"]},{"1398115563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398115566, 1398115556, 1398115558, 1398115560, 1398115554, 1398115563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2373902797699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:07:03.366356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/55/image_05122025_17_56_04_9687.jpg', '/home/pi/Desktop/images/05122025/17/56/image_05122025_17_56_15_10733.jpg', '/home/pi/Desktop/images/05122025/17/56/image_05122025_17_56_25_9836.jpg', '/home/pi/Desktop/images/05122025/17/56/image_05122025_17_56_34_9697.jpg', '/home/pi/Desktop/images/05122025/17/56/image_05122025_17_56_46_11211.jpg', '/home/pi/Desktop/images/05122025/17/56/image_05122025_17_57_04_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/55/image_05122025_17_56_04_9687.jpg
/home/pi/Desktop/images/05122025/17/56/image_05122025_17_56_15_10733.jpg
/home/pi/Desktop/images/05122025/17/56/image_05122025_17_56_25_9836.jpg
/home/pi/Desktop/images/05122025/17/56/image_05122025_17_56_34_9697.jpg
/home/pi/Desktop/images/05122025/17/56/image_05122025_17_56_46_11211.jpg
/home/pi/Desktop/images/05122025/17/56/image_05122025_17_57_04_9682.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":["1398115571","1398115582","1398115573","1398115575","1398115569","1398115578"],"photo_ids_order":["1398115569","1398115571","1398115573","1398115575","1398115578","1398115582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99e453859b0f53396a1596af0b7c2f0f.jpg","text":"TemporaryFile(/tmp/multipartBody6725562049312928928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958084112,"filename":"image_05122025_17_56_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/5/f0fa4b1737b1fbb3348823fac014e2da.jpg","text":"TemporaryFile(/tmp/multipartBody8140934574160095443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958084112,"filename":"image_05122025_17_57_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/5/345eb4a3d7c4ab43142261d5a0cd9593.jpg","text":"TemporaryFile(/tmp/multipartBody8123048473143390948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958084112,"filename":"image_05122025_17_56_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/5/b763753b70a331d52c399383f388eb6b.jpg","text":"TemporaryFile(/tmp/multipartBody8791131607188106027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958084112,"filename":"image_05122025_17_56_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/5/f7d1de602db725f4aa91c54303b4f8b8.jpg","text":"TemporaryFile(/tmp/multipartBody3586617312978885100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958084112,"filename":"image_05122025_17_56_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/5/75e342bc7cdad7469e5e3ed2226560fb.jpg","text":"TemporaryFile(/tmp/multipartBody3407718561092167754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958084112,"filename":"image_05122025_17_56_46_11211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398115573","file1":"1398115571","file0":"1398115569","file4":"1398115578","file5":"1398115582","file3":"1398115575"},"map_files_photo_id_array":[{"photo_id":"1398115582","filename":"file5"},{"photo_id":"1398115573","filename":"file2"},{"photo_id":"1398115578","filename":"file4"},{"photo_id":"1398115571","filename":"file1"},{"photo_id":"1398115569","filename":"file0"},{"photo_id":"1398115575","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398115571":["hashtag1","hashtag2"]},{"1398115582":["hashtag1","hashtag2"]},{"1398115573":["hashtag1","hashtag2"]},{"1398115575":["hashtag1","hashtag2"]},{"1398115569":["hashtag1","hashtag2"]},{"1398115578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398115571, 1398115582, 1398115573, 1398115575, 1398115569, 1398115578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.941606283187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:08:03.253015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/57/image_05122025_17_57_15_10657.jpg', '/home/pi/Desktop/images/05122025/17/57/image_05122025_17_57_25_9914.jpg', '/home/pi/Desktop/images/05122025/17/57/image_05122025_17_57_34_9612.jpg', '/home/pi/Desktop/images/05122025/17/57/image_05122025_17_57_44_9832.jpg', '/home/pi/Desktop/images/05122025/17/57/image_05122025_17_57_55_10587.jpg', '/home/pi/Desktop/images/05122025/17/58/image_05122025_17_58_14_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/57/image_05122025_17_57_15_10657.jpg
/home/pi/Desktop/images/05122025/17/57/image_05122025_17_57_25_9914.jpg
/home/pi/Desktop/images/05122025/17/57/image_05122025_17_57_34_9612.jpg
/home/pi/Desktop/images/05122025/17/57/image_05122025_17_57_44_9832.jpg
/home/pi/Desktop/images/05122025/17/57/image_05122025_17_57_55_10587.jpg
/home/pi/Desktop/images/05122025/17/58/image_05122025_17_58_14_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398115638","1398115611","1398115616","1398115594","1398115613","1398115603"],"photo_ids_order":["1398115594","1398115603","1398115611","1398115613","1398115616","1398115638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d81578f8dfe4b9464d122268194ba9b3.jpg","text":"TemporaryFile(/tmp/multipartBody1656955961063780301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958143973,"filename":"image_05122025_17_58_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/5/81bd64c10abee450573f402c3344b366.jpg","text":"TemporaryFile(/tmp/multipartBody6817589158309105856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958143973,"filename":"image_05122025_17_57_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/5/cf5d544efe57e6c63d8d9efb65e50cd2.jpg","text":"TemporaryFile(/tmp/multipartBody7616561000248187471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958143973,"filename":"image_05122025_17_57_55_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0689d4f828acf32e44693b508de97ee.jpg","text":"TemporaryFile(/tmp/multipartBody4407076214850720453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958143973,"filename":"image_05122025_17_57_15_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/5/a584b000c505849187bcfa31f4d5d039.jpg","text":"TemporaryFile(/tmp/multipartBody9000008859256430041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958143973,"filename":"image_05122025_17_57_44_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/06a98170e4e823ec585fb09c19f28cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6061227375930805435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958143973,"filename":"image_05122025_17_57_25_9914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398115611","file1":"1398115603","file0":"1398115594","file4":"1398115616","file5":"1398115638","file3":"1398115613"},"map_files_photo_id_array":[{"photo_id":"1398115638","filename":"file5"},{"photo_id":"1398115611","filename":"file2"},{"photo_id":"1398115616","filename":"file4"},{"photo_id":"1398115603","filename":"file1"},{"photo_id":"1398115594","filename":"file0"},{"photo_id":"1398115613","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398115638":["hashtag1","hashtag2"]},{"1398115611":["hashtag1","hashtag2"]},{"1398115616":["hashtag1","hashtag2"]},{"1398115594":["hashtag1","hashtag2"]},{"1398115613":["hashtag1","hashtag2"]},{"1398115603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398115638, 1398115611, 1398115616, 1398115594, 1398115613, 1398115603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90006756782532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:08:42.916400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_09_2598.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_12_2720.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_15_3564.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_21_3514.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_24_2571.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_27_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_09_2598.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_12_2720.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_15_3564.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_21_3514.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_24_2571.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_27_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":["1398115898","1398115934","1398115852","1398115816","1398115779","1398115971"],"photo_ids_order":["1398115779","1398115816","1398115852","1398115898","1398115934","1398115971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/881e24dd20b7af0905f9200a7ccc3ce1.jpg","text":"TemporaryFile(/tmp/multipartBody212529121326863055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958184483,"filename":"image_31102025_20_20_21_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/5/038ce7e550c4f863c5b741ccb0561a10.jpg","text":"TemporaryFile(/tmp/multipartBody9165361356834681478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958184483,"filename":"image_31102025_20_20_24_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/5/f97cd3c9fe4a4478c2ff7cf4887c6ca5.jpg","text":"TemporaryFile(/tmp/multipartBody3314387755309640464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958184483,"filename":"image_31102025_20_20_15_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/5/ab5f650c5d615eec3eddba5ee7818058.jpg","text":"TemporaryFile(/tmp/multipartBody6383774042339555733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958184483,"filename":"image_31102025_20_20_12_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/5/4b83236ca50519bcadfa1ef503fda94e.jpg","text":"TemporaryFile(/tmp/multipartBody4670698237784857696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958184483,"filename":"image_31102025_20_20_09_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/5/e69e49df3b0473f80abe508238246535.jpg","text":"TemporaryFile(/tmp/multipartBody5086070347868095161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958184483,"filename":"image_31102025_20_20_27_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398115852","file1":"1398115816","file0":"1398115779","file4":"1398115934","file5":"1398115971","file3":"1398115898"},"map_files_photo_id_array":[{"photo_id":"1398115971","filename":"file5"},{"photo_id":"1398115852","filename":"file2"},{"photo_id":"1398115934","filename":"file4"},{"photo_id":"1398115816","filename":"file1"},{"photo_id":"1398115779","filename":"file0"},{"photo_id":"1398115898","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398115898":["hashtag1","hashtag2"]},{"1398115934":["hashtag1","hashtag2"]},{"1398115852":["hashtag1","hashtag2"]},{"1398115816":["hashtag1","hashtag2"]},{"1398115779":["hashtag1","hashtag2"]},{"1398115971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398115898, 1398115934, 1398115852, 1398115816, 1398115779, 1398115971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28014540672302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:09:22.003463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/58/image_05122025_17_58_35_9715.jpg', '/home/pi/Desktop/images/05122025/17/58/image_05122025_17_59_04_9945.jpg', '/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_15_10792.jpg', '/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_24_9687.jpg', '/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_45_10648.jpg', '/home/pi/Desktop/images/05122025/18/00/image_05122025_18_00_45_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/58/image_05122025_17_58_35_9715.jpg
/home/pi/Desktop/images/05122025/17/58/image_05122025_17_59_04_9945.jpg
/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_15_10792.jpg
/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_24_9687.jpg
/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_45_10648.jpg
/home/pi/Desktop/images/05122025/18/00/image_05122025_18_00_45_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [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>8bja7oeml</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>8bja7oeml</strong>.
uploaded 0 photos
time to upload: 50.7823281288147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:10:22.338614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/17/58/image_05122025_17_58_35_9715.jpg', '/home/pi/Desktop/images/05122025/17/58/image_05122025_17_59_04_9945.jpg', '/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_15_10792.jpg', '/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_24_9687.jpg', '/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_45_10648.jpg', '/home/pi/Desktop/images/05122025/18/00/image_05122025_18_00_45_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/17/58/image_05122025_17_58_35_9715.jpg
/home/pi/Desktop/images/05122025/17/58/image_05122025_17_59_04_9945.jpg
/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_15_10792.jpg
/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_24_9687.jpg
/home/pi/Desktop/images/05122025/17/59/image_05122025_17_59_45_10648.jpg
/home/pi/Desktop/images/05122025/18/00/image_05122025_18_00_45_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":["1398116684","1398116648","1398116603","1398116697","1398116565","1398116703"],"photo_ids_order":["1398116565","1398116603","1398116648","1398116684","1398116697","1398116703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d2c83f41d34a9f1bb2a22ca543ee6cd.jpg","text":"TemporaryFile(/tmp/multipartBody3413200130835828207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958283035,"filename":"image_05122025_17_59_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/5/8c1a3d53e81153bb0e6c1f32d84e7b12.jpg","text":"TemporaryFile(/tmp/multipartBody6364274774503722036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958283035,"filename":"image_05122025_17_59_15_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/5/880aafe65396c028bfd6c00d79603083.jpg","text":"TemporaryFile(/tmp/multipartBody8128166600887519623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958283035,"filename":"image_05122025_17_59_04_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f417eb6cba7d151fc4ea50a840cc258.jpg","text":"TemporaryFile(/tmp/multipartBody3075190429285945374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958283035,"filename":"image_05122025_17_59_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a0732072809722c65b27b44524298536.jpg","text":"TemporaryFile(/tmp/multipartBody5526345520832087074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958283035,"filename":"image_05122025_17_58_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/5/942b0f7d8d8369f11e97370c7be34342.jpg","text":"TemporaryFile(/tmp/multipartBody5387483070666535018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958283035,"filename":"image_05122025_18_00_45_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398116648","file1":"1398116603","file0":"1398116565","file4":"1398116697","file5":"1398116703","file3":"1398116684"},"map_files_photo_id_array":[{"photo_id":"1398116703","filename":"file5"},{"photo_id":"1398116648","filename":"file2"},{"photo_id":"1398116697","filename":"file4"},{"photo_id":"1398116603","filename":"file1"},{"photo_id":"1398116565","filename":"file0"},{"photo_id":"1398116684","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398116684":["hashtag1","hashtag2"]},{"1398116648":["hashtag1","hashtag2"]},{"1398116603":["hashtag1","hashtag2"]},{"1398116697":["hashtag1","hashtag2"]},{"1398116565":["hashtag1","hashtag2"]},{"1398116703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398116684, 1398116648, 1398116603, 1398116697, 1398116565, 1398116703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.630552768707275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:11:03.255254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/00/image_05122025_18_00_55_10630.jpg', '/home/pi/Desktop/images/05122025/18/00/image_05122025_18_01_05_9795.jpg', '/home/pi/Desktop/images/05122025/18/01/image_05122025_18_01_15_9677.jpg', '/home/pi/Desktop/images/05122025/18/01/image_05122025_18_01_25_9632.jpg', '/home/pi/Desktop/images/05122025/18/01/image_05122025_18_01_35_10833.jpg', '/home/pi/Desktop/images/05122025/18/01/image_05122025_18_01_45_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/00/image_05122025_18_00_55_10630.jpg
/home/pi/Desktop/images/05122025/18/00/image_05122025_18_01_05_9795.jpg
/home/pi/Desktop/images/05122025/18/01/image_05122025_18_01_15_9677.jpg
/home/pi/Desktop/images/05122025/18/01/image_05122025_18_01_25_9632.jpg
/home/pi/Desktop/images/05122025/18/01/image_05122025_18_01_35_10833.jpg
/home/pi/Desktop/images/05122025/18/01/image_05122025_18_01_45_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":["1398116723","1398116720","1398116725","1398116728","1398116724","1398116718"],"photo_ids_order":["1398116718","1398116720","1398116723","1398116724","1398116725","1398116728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46aa141bfa413b1522c2dd11d9e56fb5.jpg","text":"TemporaryFile(/tmp/multipartBody8956484674906989840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958324027,"filename":"image_05122025_18_01_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/5/d676ccace5087723a4f405bd999374f4.jpg","text":"TemporaryFile(/tmp/multipartBody7992091302447568774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958324027,"filename":"image_05122025_18_01_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/5/4bf02ab7c67cde3c64973841eaf3ae90.jpg","text":"TemporaryFile(/tmp/multipartBody5983379980034396909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958324027,"filename":"image_05122025_18_01_35_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/5/e0be59e818af5f04aefca340ca4793ee.jpg","text":"TemporaryFile(/tmp/multipartBody574536840115632430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958324027,"filename":"image_05122025_18_01_45_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/5/3f2f0134b63519233022f4ffbf4ea620.jpg","text":"TemporaryFile(/tmp/multipartBody8966749733601674130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958324027,"filename":"image_05122025_18_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/5/521de0847a1387293434918490d9eee6.jpg","text":"TemporaryFile(/tmp/multipartBody2274749584993356273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958324027,"filename":"image_05122025_18_00_55_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398116723","file1":"1398116720","file0":"1398116718","file4":"1398116725","file5":"1398116728","file3":"1398116724"},"map_files_photo_id_array":[{"photo_id":"1398116728","filename":"file5"},{"photo_id":"1398116723","filename":"file2"},{"photo_id":"1398116725","filename":"file4"},{"photo_id":"1398116720","filename":"file1"},{"photo_id":"1398116718","filename":"file0"},{"photo_id":"1398116724","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398116723":["hashtag1","hashtag2"]},{"1398116720":["hashtag1","hashtag2"]},{"1398116725":["hashtag1","hashtag2"]},{"1398116728":["hashtag1","hashtag2"]},{"1398116724":["hashtag1","hashtag2"]},{"1398116718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398116723, 1398116720, 1398116725, 1398116728, 1398116724, 1398116718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84085512161255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:11:42.586485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_30_3590.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_33_2564.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_36_3575.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_39_2642.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_42_2621.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_45_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_30_3590.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_33_2564.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_36_3575.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_39_2642.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_42_2621.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_45_3572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398116741","1398116749","1398116737","1398116763","1398116748","1398116742"],"photo_ids_order":["1398116737","1398116741","1398116742","1398116748","1398116749","1398116763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9bcfcc939514a471cbd26cc7aa30d1b.jpg","text":"TemporaryFile(/tmp/multipartBody918970228118932575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958364187,"filename":"image_31102025_20_20_33_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d81d0d56762b1a1f0cb44203ba4bc907.jpg","text":"TemporaryFile(/tmp/multipartBody8217949135862228377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958364187,"filename":"image_31102025_20_20_42_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/5/c0417a3e6909fcd4ff2c566c30852964.jpg","text":"TemporaryFile(/tmp/multipartBody5442418838622272307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958364187,"filename":"image_31102025_20_20_30_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/5/fe36bd58876d740386c51878869f6208.jpg","text":"TemporaryFile(/tmp/multipartBody211480717089875416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958364187,"filename":"image_31102025_20_20_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/5/a1d4a9aebca32a069c1e7a0074bb5b54.jpg","text":"TemporaryFile(/tmp/multipartBody4968883142717370929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958364187,"filename":"image_31102025_20_20_39_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/5/22131458136957978a3e978e917f3558.jpg","text":"TemporaryFile(/tmp/multipartBody6557219476140263187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958364187,"filename":"image_31102025_20_20_36_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398116742","file1":"1398116741","file0":"1398116737","file4":"1398116749","file5":"1398116763","file3":"1398116748"},"map_files_photo_id_array":[{"photo_id":"1398116763","filename":"file5"},{"photo_id":"1398116742","filename":"file2"},{"photo_id":"1398116749","filename":"file4"},{"photo_id":"1398116741","filename":"file1"},{"photo_id":"1398116737","filename":"file0"},{"photo_id":"1398116748","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398116741":["hashtag1","hashtag2"]},{"1398116749":["hashtag1","hashtag2"]},{"1398116737":["hashtag1","hashtag2"]},{"1398116763":["hashtag1","hashtag2"]},{"1398116748":["hashtag1","hashtag2"]},{"1398116742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398116741, 1398116749, 1398116737, 1398116763, 1398116748, 1398116742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66911029815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:12:22.800227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/01/image_05122025_18_01_55_9652.jpg', '/home/pi/Desktop/images/05122025/18/01/image_05122025_18_02_06_10822.jpg', '/home/pi/Desktop/images/05122025/18/02/image_05122025_18_02_15_9950.jpg', '/home/pi/Desktop/images/05122025/18/02/image_05122025_18_02_25_9715.jpg', '/home/pi/Desktop/images/05122025/18/02/image_05122025_18_02_35_9724.jpg', '/home/pi/Desktop/images/05122025/18/02/image_05122025_18_02_45_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/01/image_05122025_18_01_55_9652.jpg
/home/pi/Desktop/images/05122025/18/01/image_05122025_18_02_06_10822.jpg
/home/pi/Desktop/images/05122025/18/02/image_05122025_18_02_15_9950.jpg
/home/pi/Desktop/images/05122025/18/02/image_05122025_18_02_25_9715.jpg
/home/pi/Desktop/images/05122025/18/02/image_05122025_18_02_35_9724.jpg
/home/pi/Desktop/images/05122025/18/02/image_05122025_18_02_45_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":["1398116888","1398117209","1398116995","1398117136","1398117066","1398116928"],"photo_ids_order":["1398116888","1398116928","1398116995","1398117066","1398117136","1398117209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8970b7ef29b82b52403bc1b3ef58ff8f.jpg","text":"TemporaryFile(/tmp/multipartBody8520467179874913235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958403504,"filename":"image_05122025_18_01_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/5/f0b5ff3fac049955cbb589f9da1f5ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3106326241104652662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958403504,"filename":"image_05122025_18_02_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7cfceb44a1cd4157ecb9ea48821f4402.jpg","text":"TemporaryFile(/tmp/multipartBody4761451052068828974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958403504,"filename":"image_05122025_18_02_15_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/5/79584aa5a3eb8cb9b888f308c72f3b96.jpg","text":"TemporaryFile(/tmp/multipartBody4071326673384320496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958403504,"filename":"image_05122025_18_02_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/5/ed29f4ee5c954ef22c11b5e5e80b365e.jpg","text":"TemporaryFile(/tmp/multipartBody197071498391404509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958403504,"filename":"image_05122025_18_02_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/5/c926a30c496a2b62c9a0f2714a5e55d1.jpg","text":"TemporaryFile(/tmp/multipartBody2518313821782302394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958403504,"filename":"image_05122025_18_02_06_10822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398116995","file1":"1398116928","file0":"1398116888","file4":"1398117136","file5":"1398117209","file3":"1398117066"},"map_files_photo_id_array":[{"photo_id":"1398117209","filename":"file5"},{"photo_id":"1398116995","filename":"file2"},{"photo_id":"1398117136","filename":"file4"},{"photo_id":"1398116928","filename":"file1"},{"photo_id":"1398116888","filename":"file0"},{"photo_id":"1398117066","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398116888":["hashtag1","hashtag2"]},{"1398117209":["hashtag1","hashtag2"]},{"1398116995":["hashtag1","hashtag2"]},{"1398117136":["hashtag1","hashtag2"]},{"1398117066":["hashtag1","hashtag2"]},{"1398116928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398116888, 1398117209, 1398116995, 1398117136, 1398117066, 1398116928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2137393951416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:13:02.619708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/02/image_05122025_18_03_05_9656.jpg', '/home/pi/Desktop/images/05122025/18/03/image_05122025_18_03_45_10494.jpg', '/home/pi/Desktop/images/05122025/18/03/image_05122025_18_03_55_9664.jpg', '/home/pi/Desktop/images/05122025/18/03/image_05122025_18_04_05_9752.jpg', '/home/pi/Desktop/images/05122025/18/04/image_05122025_18_04_55_10687.jpg', '/home/pi/Desktop/images/05122025/18/05/image_05122025_18_05_15_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/02/image_05122025_18_03_05_9656.jpg
/home/pi/Desktop/images/05122025/18/03/image_05122025_18_03_45_10494.jpg
/home/pi/Desktop/images/05122025/18/03/image_05122025_18_03_55_9664.jpg
/home/pi/Desktop/images/05122025/18/03/image_05122025_18_04_05_9752.jpg
/home/pi/Desktop/images/05122025/18/04/image_05122025_18_04_55_10687.jpg
/home/pi/Desktop/images/05122025/18/05/image_05122025_18_05_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":["1398117568","1398117463","1398117654","1398117698","1398117621","1398117497"],"photo_ids_order":["1398117463","1398117497","1398117568","1398117621","1398117654","1398117698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8e705cda42924a9e5023b91eab8310d1.jpg","text":"TemporaryFile(/tmp/multipartBody4245217988098010525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958443373,"filename":"image_05122025_18_03_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/5/7774ac94afe2a44d5079b032e56780f8.jpg","text":"TemporaryFile(/tmp/multipartBody6031974999192335117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958443373,"filename":"image_05122025_18_03_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/5/7e55794f00ced6982cf7bd70e90c73ca.jpg","text":"TemporaryFile(/tmp/multipartBody6335417147786603715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958443373,"filename":"image_05122025_18_04_55_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/376dfa27e37907f013aa45c6532e1c56.jpg","text":"TemporaryFile(/tmp/multipartBody3691692982077581676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958443373,"filename":"image_05122025_18_05_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/5/7999c871a43ae627314b4a93ceaf3aea.jpg","text":"TemporaryFile(/tmp/multipartBody5517450635815507104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958443373,"filename":"image_05122025_18_04_05_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/32117178f6d989fef0e08bddf76fd697.jpg","text":"TemporaryFile(/tmp/multipartBody5648452542492709732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958443373,"filename":"image_05122025_18_03_45_10494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398117568","file1":"1398117497","file0":"1398117463","file4":"1398117654","file5":"1398117698","file3":"1398117621"},"map_files_photo_id_array":[{"photo_id":"1398117698","filename":"file5"},{"photo_id":"1398117568","filename":"file2"},{"photo_id":"1398117654","filename":"file4"},{"photo_id":"1398117497","filename":"file1"},{"photo_id":"1398117463","filename":"file0"},{"photo_id":"1398117621","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398117568":["hashtag1","hashtag2"]},{"1398117463":["hashtag1","hashtag2"]},{"1398117654":["hashtag1","hashtag2"]},{"1398117698":["hashtag1","hashtag2"]},{"1398117621":["hashtag1","hashtag2"]},{"1398117497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398117568, 1398117463, 1398117654, 1398117698, 1398117621, 1398117497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.278719902038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:13:42.004446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_48_2692.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_51_2686.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_57_2668.jpg', '/home/pi/Desktop/images/31102025/20/20/image_31102025_20_21_00_2577.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_03_3627.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_06_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_48_2692.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_51_2686.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_20_57_2668.jpg
/home/pi/Desktop/images/31102025/20/20/image_31102025_20_21_00_2577.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_03_3627.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_06_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":["1398117919","1398118059","1398117990","1398117954","1398118026","1398117884"],"photo_ids_order":["1398117884","1398117919","1398117954","1398117990","1398118026","1398118059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/88dbfd11ce84ba462bdb3a5bbf29eaea.jpg","text":"TemporaryFile(/tmp/multipartBody8864208106105526332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958483599,"filename":"image_31102025_20_20_51_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/5/93e0998126f4d0da527a08d45507238e.jpg","text":"TemporaryFile(/tmp/multipartBody379640130267536754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958483599,"filename":"image_31102025_20_21_06_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/5/04abac333be53e67dee80a1b350c7a1c.jpg","text":"TemporaryFile(/tmp/multipartBody1264041243110143576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958483599,"filename":"image_31102025_20_21_00_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/5/48e2c82b7eec52f5166cb00d21cfc4ee.jpg","text":"TemporaryFile(/tmp/multipartBody2271334856967713766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958483599,"filename":"image_31102025_20_20_57_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/5/b2694bd4f407556dbbc74810e771bb41.jpg","text":"TemporaryFile(/tmp/multipartBody738873478003881115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958483599,"filename":"image_31102025_20_21_03_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/5/950992e34ecf103d937af0d51854a5d7.jpg","text":"TemporaryFile(/tmp/multipartBody8246985301055797114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958483599,"filename":"image_31102025_20_20_48_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398117954","file1":"1398117919","file0":"1398117884","file4":"1398118026","file5":"1398118059","file3":"1398117990"},"map_files_photo_id_array":[{"photo_id":"1398118059","filename":"file5"},{"photo_id":"1398117954","filename":"file2"},{"photo_id":"1398118026","filename":"file4"},{"photo_id":"1398117919","filename":"file1"},{"photo_id":"1398117884","filename":"file0"},{"photo_id":"1398117990","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398117919":["hashtag1","hashtag2"]},{"1398118059":["hashtag1","hashtag2"]},{"1398117990":["hashtag1","hashtag2"]},{"1398117954":["hashtag1","hashtag2"]},{"1398118026":["hashtag1","hashtag2"]},{"1398117884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398117919, 1398118059, 1398117990, 1398117954, 1398118026, 1398117884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76974177360535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:14:22.243420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/05/image_05122025_18_05_35_10613.jpg', '/home/pi/Desktop/images/05122025/18/06/image_05122025_18_06_15_9646.jpg', '/home/pi/Desktop/images/05122025/18/06/image_05122025_18_06_45_9610.jpg', '/home/pi/Desktop/images/05122025/18/06/image_05122025_18_06_55_10687.jpg', '/home/pi/Desktop/images/05122025/18/06/image_05122025_18_07_05_9627.jpg', '/home/pi/Desktop/images/05122025/18/07/image_05122025_18_07_26_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/05/image_05122025_18_05_35_10613.jpg
/home/pi/Desktop/images/05122025/18/06/image_05122025_18_06_15_9646.jpg
/home/pi/Desktop/images/05122025/18/06/image_05122025_18_06_45_9610.jpg
/home/pi/Desktop/images/05122025/18/06/image_05122025_18_06_55_10687.jpg
/home/pi/Desktop/images/05122025/18/06/image_05122025_18_07_05_9627.jpg
/home/pi/Desktop/images/05122025/18/07/image_05122025_18_07_26_10790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398118369","1398118191","1398118332","1398118265","1398118297","1398118229"],"photo_ids_order":["1398118191","1398118229","1398118265","1398118297","1398118332","1398118369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/86af7eaccdd2f11adeffa84886355880.jpg","text":"TemporaryFile(/tmp/multipartBody2360597163485173068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958522945,"filename":"image_05122025_18_07_26_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/5/9f949296520ccf3903839f5b1bc8a42f.jpg","text":"TemporaryFile(/tmp/multipartBody3578232077094061456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958522945,"filename":"image_05122025_18_05_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/5/afda20371f7f33a452a48461d51157f3.jpg","text":"TemporaryFile(/tmp/multipartBody7959386386768994125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958522945,"filename":"image_05122025_18_07_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/995670706fca338dab096e49fbcb8209.jpg","text":"TemporaryFile(/tmp/multipartBody2047972222218608951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958522945,"filename":"image_05122025_18_06_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/5/5045bb87276b60ad3a20d7c73d7f6d1d.jpg","text":"TemporaryFile(/tmp/multipartBody8020167646800314552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958522945,"filename":"image_05122025_18_06_55_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43b7a541bb31f70cdb040f211843dd46.jpg","text":"TemporaryFile(/tmp/multipartBody7336031338516196773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958522945,"filename":"image_05122025_18_06_15_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398118265","file1":"1398118229","file0":"1398118191","file4":"1398118332","file5":"1398118369","file3":"1398118297"},"map_files_photo_id_array":[{"photo_id":"1398118369","filename":"file5"},{"photo_id":"1398118265","filename":"file2"},{"photo_id":"1398118332","filename":"file4"},{"photo_id":"1398118229","filename":"file1"},{"photo_id":"1398118191","filename":"file0"},{"photo_id":"1398118297","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398118369":["hashtag1","hashtag2"]},{"1398118191":["hashtag1","hashtag2"]},{"1398118332":["hashtag1","hashtag2"]},{"1398118265":["hashtag1","hashtag2"]},{"1398118297":["hashtag1","hashtag2"]},{"1398118229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398118369, 1398118191, 1398118332, 1398118265, 1398118297, 1398118229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04961943626404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:15:03.032733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/07/image_05122025_18_07_55_9892.jpg', '/home/pi/Desktop/images/05122025/18/08/image_05122025_18_08_15_10621.jpg', '/home/pi/Desktop/images/05122025/18/08/image_05122025_18_08_35_9715.jpg', '/home/pi/Desktop/images/05122025/18/08/image_05122025_18_08_45_9649.jpg', '/home/pi/Desktop/images/05122025/18/08/image_05122025_18_09_05_9707.jpg', '/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_15_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/07/image_05122025_18_07_55_9892.jpg
/home/pi/Desktop/images/05122025/18/08/image_05122025_18_08_15_10621.jpg
/home/pi/Desktop/images/05122025/18/08/image_05122025_18_08_35_9715.jpg
/home/pi/Desktop/images/05122025/18/08/image_05122025_18_08_45_9649.jpg
/home/pi/Desktop/images/05122025/18/08/image_05122025_18_09_05_9707.jpg
/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_15_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398118636","1398118599","1398118563","1398118710","1398118670","1398118523"],"photo_ids_order":["1398118523","1398118563","1398118599","1398118636","1398118670","1398118710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f7c9f885908a62d414f4a501dc3ab57.jpg","text":"TemporaryFile(/tmp/multipartBody8547986389307295845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958563799,"filename":"image_05122025_18_08_45_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/5/ba60e42511095ff5f54b1d5761a19d30.jpg","text":"TemporaryFile(/tmp/multipartBody274242759400436715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958563799,"filename":"image_05122025_18_08_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/5/dcecc8ad50bc31d909ced3cd84b22ac9.jpg","text":"TemporaryFile(/tmp/multipartBody4811096336639002305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958563799,"filename":"image_05122025_18_08_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/5/8e2c3661591526a9d20cb820eb5d74d2.jpg","text":"TemporaryFile(/tmp/multipartBody8556415252844774092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958563799,"filename":"image_05122025_18_09_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/5/e111ab5fae44fb45f03d55c1619d3440.jpg","text":"TemporaryFile(/tmp/multipartBody1302954657362126003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958563799,"filename":"image_05122025_18_09_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/5/8bc27e757c1f91ecc4dd195f39b2ef2a.jpg","text":"TemporaryFile(/tmp/multipartBody1879048237947471827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958563799,"filename":"image_05122025_18_07_55_9892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398118599","file1":"1398118563","file0":"1398118523","file4":"1398118670","file5":"1398118710","file3":"1398118636"},"map_files_photo_id_array":[{"photo_id":"1398118710","filename":"file5"},{"photo_id":"1398118599","filename":"file2"},{"photo_id":"1398118670","filename":"file4"},{"photo_id":"1398118563","filename":"file1"},{"photo_id":"1398118523","filename":"file0"},{"photo_id":"1398118636","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398118636":["hashtag1","hashtag2"]},{"1398118599":["hashtag1","hashtag2"]},{"1398118563":["hashtag1","hashtag2"]},{"1398118710":["hashtag1","hashtag2"]},{"1398118670":["hashtag1","hashtag2"]},{"1398118523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398118636, 1398118599, 1398118563, 1398118710, 1398118670, 1398118523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87853813171387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:15:42.434279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_09_2674.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_12_3669.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_15_2677.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_18_2582.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_27_2600.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_30_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_09_2674.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_12_3669.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_15_2677.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_18_2582.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_27_2600.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_30_3737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398118720","1398118722","1398118716","1398118719","1398118721","1398118718"],"photo_ids_order":["1398118716","1398118718","1398118719","1398118720","1398118721","1398118722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/55ff3654f7e0c5386494ae808ecf8743.jpg","text":"TemporaryFile(/tmp/multipartBody1126316657468720888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958603994,"filename":"image_31102025_20_21_18_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/5/60efe1397ad52d1c29b263bb8ddf46e3.jpg","text":"TemporaryFile(/tmp/multipartBody5128486522777373505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958603994,"filename":"image_31102025_20_21_30_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/5/b3e0f18dbf9cb45c53c4d696ec982f30.jpg","text":"TemporaryFile(/tmp/multipartBody6193820618329442791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958603994,"filename":"image_31102025_20_21_09_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/5/80186b3030dd97d50e6c9fde35ca58b0.jpg","text":"TemporaryFile(/tmp/multipartBody9181391112709963900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958603994,"filename":"image_31102025_20_21_15_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/5/83c762daa896a7445bf4b1d19550c1a9.jpg","text":"TemporaryFile(/tmp/multipartBody1938157224931918354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958603994,"filename":"image_31102025_20_21_27_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/5/0df7039fdc21e8fb4c8c04d36d389113.jpg","text":"TemporaryFile(/tmp/multipartBody6359409164503724368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958603994,"filename":"image_31102025_20_21_12_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398118719","file1":"1398118718","file0":"1398118716","file4":"1398118721","file5":"1398118722","file3":"1398118720"},"map_files_photo_id_array":[{"photo_id":"1398118722","filename":"file5"},{"photo_id":"1398118719","filename":"file2"},{"photo_id":"1398118721","filename":"file4"},{"photo_id":"1398118718","filename":"file1"},{"photo_id":"1398118716","filename":"file0"},{"photo_id":"1398118720","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398118720":["hashtag1","hashtag2"]},{"1398118722":["hashtag1","hashtag2"]},{"1398118716":["hashtag1","hashtag2"]},{"1398118719":["hashtag1","hashtag2"]},{"1398118721":["hashtag1","hashtag2"]},{"1398118718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398118720, 1398118722, 1398118716, 1398118719, 1398118721, 1398118718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41393280029297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:16:22.675185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_25_10775.jpg', '/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_35_9723.jpg', '/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_45_9733.jpg', '/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_55_10570.jpg', '/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_15_9825.jpg', '/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_26_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_25_10775.jpg
/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_35_9723.jpg
/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_45_9733.jpg
/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_55_10570.jpg
/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_15_9825.jpg
/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_26_10720.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.644963264465332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 19:16:32.590628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/46/image_02122025_23_46_24_9638.jpg', '/home/pi/Desktop/images/02122025/23/46/image_02122025_23_46_44_9624.jpg', '/home/pi/Desktop/images/02122025/23/46/image_02122025_23_46_54_9726.jpg', '/home/pi/Desktop/images/02122025/23/46/image_02122025_23_47_05_10597.jpg', '/home/pi/Desktop/images/02122025/23/47/image_02122025_23_47_35_10628.jpg', '/home/pi/Desktop/images/02122025/23/47/image_02122025_23_47_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/46/image_02122025_23_46_24_9638.jpg
/home/pi/Desktop/images/02122025/23/46/image_02122025_23_46_44_9624.jpg
/home/pi/Desktop/images/02122025/23/46/image_02122025_23_46_54_9726.jpg
/home/pi/Desktop/images/02122025/23/46/image_02122025_23_47_05_10597.jpg
/home/pi/Desktop/images/02122025/23/47/image_02122025_23_47_35_10628.jpg
/home/pi/Desktop/images/02122025/23/47/image_02122025_23_47_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":["1398118747","1398118818","1398118784","1398118739","1398118853","1398118736"],"photo_ids_order":["1398118736","1398118739","1398118747","1398118784","1398118818","1398118853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ae5fa3f9cc0efa132bfa792dee031d5c.jpg","text":"TemporaryFile(/tmp/multipartBody5495357907920388348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958654742,"filename":"image_02122025_23_46_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/5/ad2a7778c3d9eb4a8e3910b70a125f41.jpg","text":"TemporaryFile(/tmp/multipartBody5795982462672802631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958654742,"filename":"image_02122025_23_47_35_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/5/c21740ebb1caa1e745d32318ff34ebf8.jpg","text":"TemporaryFile(/tmp/multipartBody6720311972964518804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958654742,"filename":"image_02122025_23_47_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/5/097d395f57d08cf9dd6dbee89bb832ba.jpg","text":"TemporaryFile(/tmp/multipartBody1191497817029058673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958654742,"filename":"image_02122025_23_46_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/5/490a8ef3442755c233b374e1842e5894.jpg","text":"TemporaryFile(/tmp/multipartBody7968155892755175725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958654742,"filename":"image_02122025_23_47_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/5/4efd0789f081b8663c55a00f81bbecbf.jpg","text":"TemporaryFile(/tmp/multipartBody5945313367936860929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958654742,"filename":"image_02122025_23_46_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398118747","file1":"1398118739","file0":"1398118736","file4":"1398118818","file5":"1398118853","file3":"1398118784"},"map_files_photo_id_array":[{"photo_id":"1398118853","filename":"file5"},{"photo_id":"1398118747","filename":"file2"},{"photo_id":"1398118818","filename":"file4"},{"photo_id":"1398118739","filename":"file1"},{"photo_id":"1398118736","filename":"file0"},{"photo_id":"1398118784","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398118747":["hashtag1","hashtag2"]},{"1398118818":["hashtag1","hashtag2"]},{"1398118784":["hashtag1","hashtag2"]},{"1398118739":["hashtag1","hashtag2"]},{"1398118853":["hashtag1","hashtag2"]},{"1398118736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398118747, 1398118818, 1398118784, 1398118739, 1398118853, 1398118736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31714725494385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 19:17:11.799233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/48/image_02122025_23_48_54_9691.jpg', '/home/pi/Desktop/images/02122025/23/48/image_02122025_23_49_04_9672.jpg', '/home/pi/Desktop/images/02122025/23/49/image_02122025_23_49_14_9717.jpg', '/home/pi/Desktop/images/02122025/23/49/image_02122025_23_49_54_9672.jpg', '/home/pi/Desktop/images/02122025/23/49/image_02122025_23_50_04_10650.jpg', '/home/pi/Desktop/images/02122025/23/51/image_02122025_23_51_44_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/48/image_02122025_23_48_54_9691.jpg
/home/pi/Desktop/images/02122025/23/48/image_02122025_23_49_04_9672.jpg
/home/pi/Desktop/images/02122025/23/49/image_02122025_23_49_14_9717.jpg
/home/pi/Desktop/images/02122025/23/49/image_02122025_23_49_54_9672.jpg
/home/pi/Desktop/images/02122025/23/49/image_02122025_23_50_04_10650.jpg
/home/pi/Desktop/images/02122025/23/51/image_02122025_23_51_44_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":["1398119020","1398119125","1398119091","1398119151","1398119055","1398118978"],"photo_ids_order":["1398118978","1398119020","1398119055","1398119091","1398119125","1398119151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa9c3235a6cfafcb04139407b982f254.jpg","text":"TemporaryFile(/tmp/multipartBody4772965667063614192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958693811,"filename":"image_02122025_23_49_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/5/23f775df7f86436c840aec48e2344af3.jpg","text":"TemporaryFile(/tmp/multipartBody4498578866957850398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958693811,"filename":"image_02122025_23_50_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a29fba1a21e6cdcc050019a719549ef8.jpg","text":"TemporaryFile(/tmp/multipartBody3496449579014981293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958693811,"filename":"image_02122025_23_49_54_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b75283b9d8d6c897839ea16352c0300a.jpg","text":"TemporaryFile(/tmp/multipartBody1013669682130238809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958693811,"filename":"image_02122025_23_51_44_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/5/0a48b01cc9b1eb853f2434c3b5d7d51b.jpg","text":"TemporaryFile(/tmp/multipartBody4751761838612771957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958693811,"filename":"image_02122025_23_49_14_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/5/f4b9e1dbe68584cd52e4f1f21b36a43c.jpg","text":"TemporaryFile(/tmp/multipartBody195370216886214700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958693811,"filename":"image_02122025_23_48_54_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398119055","file1":"1398119020","file0":"1398118978","file4":"1398119125","file5":"1398119151","file3":"1398119091"},"map_files_photo_id_array":[{"photo_id":"1398119151","filename":"file5"},{"photo_id":"1398119055","filename":"file2"},{"photo_id":"1398119125","filename":"file4"},{"photo_id":"1398119020","filename":"file1"},{"photo_id":"1398118978","filename":"file0"},{"photo_id":"1398119091","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398119020":["hashtag1","hashtag2"]},{"1398119125":["hashtag1","hashtag2"]},{"1398119091":["hashtag1","hashtag2"]},{"1398119151":["hashtag1","hashtag2"]},{"1398119055":["hashtag1","hashtag2"]},{"1398118978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398119020, 1398119125, 1398119091, 1398119151, 1398119055, 1398118978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28868770599365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:18:02.502494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_25_10775.jpg', '/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_35_9723.jpg', '/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_45_9733.jpg', '/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_55_10570.jpg', '/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_15_9825.jpg', '/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_26_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_25_10775.jpg
/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_35_9723.jpg
/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_45_9733.jpg
/home/pi/Desktop/images/05122025/18/09/image_05122025_18_09_55_10570.jpg
/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_15_9825.jpg
/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_26_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":["1398119241","1398119238","1398119240","1398119300","1398119266","1398119230"],"photo_ids_order":["1398119230","1398119238","1398119240","1398119241","1398119266","1398119300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0e2bbc59ad6a2d9cf2527d87888d4d14.jpg","text":"TemporaryFile(/tmp/multipartBody1735491755233730078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958743286,"filename":"image_05122025_18_09_55_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/5/a052473cb83db07136a7dd3f11daf44f.jpg","text":"TemporaryFile(/tmp/multipartBody1162824323398183962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958743286,"filename":"image_05122025_18_09_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/5/3438b77486ae5c00b1088f74be654e8c.jpg","text":"TemporaryFile(/tmp/multipartBody8367251832183956442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958743286,"filename":"image_05122025_18_09_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/5/34eaf3e53ece153c13ef43402a4f98c5.jpg","text":"TemporaryFile(/tmp/multipartBody4694159813147836002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958743286,"filename":"image_05122025_18_10_26_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/5/b8c13675aeac4b8df1031e7346d4ad0f.jpg","text":"TemporaryFile(/tmp/multipartBody6618640995453662561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958743286,"filename":"image_05122025_18_10_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/5/770c12012669d934a517108133d92166.jpg","text":"TemporaryFile(/tmp/multipartBody7300838055832285046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958743286,"filename":"image_05122025_18_09_25_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398119240","file1":"1398119238","file0":"1398119230","file4":"1398119266","file5":"1398119300","file3":"1398119241"},"map_files_photo_id_array":[{"photo_id":"1398119300","filename":"file5"},{"photo_id":"1398119240","filename":"file2"},{"photo_id":"1398119266","filename":"file4"},{"photo_id":"1398119238","filename":"file1"},{"photo_id":"1398119230","filename":"file0"},{"photo_id":"1398119241","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398119241":["hashtag1","hashtag2"]},{"1398119238":["hashtag1","hashtag2"]},{"1398119240":["hashtag1","hashtag2"]},{"1398119300":["hashtag1","hashtag2"]},{"1398119266":["hashtag1","hashtag2"]},{"1398119230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398119241, 1398119238, 1398119240, 1398119300, 1398119266, 1398119230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73023724555969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:18:42.082931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_33_2564.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_36_2717.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_42_2746.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_45_2688.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_48_3602.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_51_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_33_2564.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_36_2717.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_42_2746.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_45_2688.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_48_3602.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_51_2626.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4617860317230225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:19:03.074794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_45_9535.jpg', '/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_55_10178.jpg', '/home/pi/Desktop/images/05122025/18/10/image_05122025_18_11_05_9828.jpg', '/home/pi/Desktop/images/05122025/18/11/image_05122025_18_11_45_9822.jpg', '/home/pi/Desktop/images/05122025/18/13/image_05122025_18_13_25_9775.jpg', '/home/pi/Desktop/images/05122025/18/13/image_05122025_18_13_35_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_45_9535.jpg
/home/pi/Desktop/images/05122025/18/10/image_05122025_18_10_55_10178.jpg
/home/pi/Desktop/images/05122025/18/10/image_05122025_18_11_05_9828.jpg
/home/pi/Desktop/images/05122025/18/11/image_05122025_18_11_45_9822.jpg
/home/pi/Desktop/images/05122025/18/13/image_05122025_18_13_25_9775.jpg
/home/pi/Desktop/images/05122025/18/13/image_05122025_18_13_35_9881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398119787","1398119676","1398119751","1398119633","1398119828","1398119714"],"photo_ids_order":["1398119633","1398119676","1398119714","1398119751","1398119787","1398119828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/05ee61d2b67b7cbe4d7103532d41ee8f.jpg","text":"TemporaryFile(/tmp/multipartBody7239996528877032902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958804033,"filename":"image_05122025_18_13_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/5/11eaf806b8d494fc2307f0100b58c160.jpg","text":"TemporaryFile(/tmp/multipartBody5097038489783314132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958804033,"filename":"image_05122025_18_10_55_10178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ecfa5071206711e559f094aa0b040006.jpg","text":"TemporaryFile(/tmp/multipartBody6174015089364211015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958804033,"filename":"image_05122025_18_11_45_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c79e21cefda80311ee21ecbee25c7a2c.jpg","text":"TemporaryFile(/tmp/multipartBody2367463287396942218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958804033,"filename":"image_05122025_18_10_45_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/906a4fd2cd1cf6155767e9ae8c73a8ff.jpg","text":"TemporaryFile(/tmp/multipartBody3340127876622371236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958804033,"filename":"image_05122025_18_13_35_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/5/fdb22f1ec4fc63d797769c013e8fc77f.jpg","text":"TemporaryFile(/tmp/multipartBody7760649748167573708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958804033,"filename":"image_05122025_18_11_05_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398119714","file1":"1398119676","file0":"1398119633","file4":"1398119787","file5":"1398119828","file3":"1398119751"},"map_files_photo_id_array":[{"photo_id":"1398119828","filename":"file5"},{"photo_id":"1398119714","filename":"file2"},{"photo_id":"1398119787","filename":"file4"},{"photo_id":"1398119676","filename":"file1"},{"photo_id":"1398119633","filename":"file0"},{"photo_id":"1398119751","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398119787":["hashtag1","hashtag2"]},{"1398119676":["hashtag1","hashtag2"]},{"1398119751":["hashtag1","hashtag2"]},{"1398119633":["hashtag1","hashtag2"]},{"1398119828":["hashtag1","hashtag2"]},{"1398119714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398119787, 1398119676, 1398119751, 1398119633, 1398119828, 1398119714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.040133476257324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:19:42.260785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_33_2564.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_36_2717.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_42_2746.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_45_2688.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_48_3602.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_51_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_33_2564.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_36_2717.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_42_2746.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_45_2688.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_48_3602.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_51_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":["1398120022","1398120019","1398120021","1398120020","1398119998","1398119962"],"photo_ids_order":["1398119962","1398119998","1398120019","1398120020","1398120021","1398120022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ccde743bccdab323f7d6e8e38c180b3d.jpg","text":"TemporaryFile(/tmp/multipartBody4008695388152248755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958843698,"filename":"image_31102025_20_21_51_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/5/11bfd8ca4559212be0c74175f5b4db9b.jpg","text":"TemporaryFile(/tmp/multipartBody5949694693222517410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958843698,"filename":"image_31102025_20_21_42_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/5/84363196d0e1cf3fbad8f87b5d0e55df.jpg","text":"TemporaryFile(/tmp/multipartBody8637097696172423243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958843698,"filename":"image_31102025_20_21_48_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/05c8ac925222c4f3b5be8acce8b7af3a.jpg","text":"TemporaryFile(/tmp/multipartBody4698139649663152472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958843698,"filename":"image_31102025_20_21_45_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/5/e75a2360cb0aea12743edf7abb9d955b.jpg","text":"TemporaryFile(/tmp/multipartBody7274513417586630455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958843698,"filename":"image_31102025_20_21_36_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/5/2094c6304fe0ba0004fd228e4361a3f4.jpg","text":"TemporaryFile(/tmp/multipartBody1999320977835416151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958843698,"filename":"image_31102025_20_21_33_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120019","file1":"1398119998","file0":"1398119962","file4":"1398120021","file5":"1398120022","file3":"1398120020"},"map_files_photo_id_array":[{"photo_id":"1398120022","filename":"file5"},{"photo_id":"1398120019","filename":"file2"},{"photo_id":"1398120021","filename":"file4"},{"photo_id":"1398119998","filename":"file1"},{"photo_id":"1398119962","filename":"file0"},{"photo_id":"1398120020","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398120022":["hashtag1","hashtag2"]},{"1398120019":["hashtag1","hashtag2"]},{"1398120021":["hashtag1","hashtag2"]},{"1398120020":["hashtag1","hashtag2"]},{"1398119998":["hashtag1","hashtag2"]},{"1398119962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398120022, 1398120019, 1398120021, 1398120020, 1398119998, 1398119962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13626170158386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:20:22.450127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/13/image_05122025_18_13_55_9623.jpg', '/home/pi/Desktop/images/05122025/18/15/image_05122025_18_15_15_10671.jpg', '/home/pi/Desktop/images/05122025/18/15/image_05122025_18_16_05_9688.jpg', '/home/pi/Desktop/images/05122025/18/16/image_05122025_18_16_35_10602.jpg', '/home/pi/Desktop/images/05122025/18/19/image_05122025_18_19_15_10830.jpg', '/home/pi/Desktop/images/05122025/18/19/image_05122025_18_20_05_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/13/image_05122025_18_13_55_9623.jpg
/home/pi/Desktop/images/05122025/18/15/image_05122025_18_15_15_10671.jpg
/home/pi/Desktop/images/05122025/18/15/image_05122025_18_16_05_9688.jpg
/home/pi/Desktop/images/05122025/18/16/image_05122025_18_16_35_10602.jpg
/home/pi/Desktop/images/05122025/18/19/image_05122025_18_19_15_10830.jpg
/home/pi/Desktop/images/05122025/18/19/image_05122025_18_20_05_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":["1398120177","1398120126","1398120048","1398120089","1398120029","1398120026"],"photo_ids_order":["1398120026","1398120029","1398120048","1398120089","1398120126","1398120177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6dfe0e27eeee6505126255c2b67e9333.jpg","text":"TemporaryFile(/tmp/multipartBody348304299070980665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958883204,"filename":"image_05122025_18_20_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/717bfac3aa2543b4cce11cd0cecd74e0.jpg","text":"TemporaryFile(/tmp/multipartBody7691514997370553189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958883204,"filename":"image_05122025_18_19_15_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/5/a3722d2cc3a611b714e7a742c62179ce.jpg","text":"TemporaryFile(/tmp/multipartBody4888082705397255678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958883204,"filename":"image_05122025_18_16_05_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/59b0d1679c195946f7e94dffd4228fbc.jpg","text":"TemporaryFile(/tmp/multipartBody5238215184498719041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958883204,"filename":"image_05122025_18_16_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/5/98b88df9c2c0a30c4eb3a1fcedbf15a7.jpg","text":"TemporaryFile(/tmp/multipartBody6800154268735253456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958883204,"filename":"image_05122025_18_15_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/5/10adf86379eb6a4f6db616812195de7d.jpg","text":"TemporaryFile(/tmp/multipartBody2341760504776854463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958883204,"filename":"image_05122025_18_13_55_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120048","file1":"1398120029","file0":"1398120026","file4":"1398120126","file5":"1398120177","file3":"1398120089"},"map_files_photo_id_array":[{"photo_id":"1398120177","filename":"file5"},{"photo_id":"1398120048","filename":"file2"},{"photo_id":"1398120126","filename":"file4"},{"photo_id":"1398120029","filename":"file1"},{"photo_id":"1398120026","filename":"file0"},{"photo_id":"1398120089","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120177":["hashtag1","hashtag2"]},{"1398120126":["hashtag1","hashtag2"]},{"1398120048":["hashtag1","hashtag2"]},{"1398120089":["hashtag1","hashtag2"]},{"1398120029":["hashtag1","hashtag2"]},{"1398120026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120177, 1398120126, 1398120048, 1398120089, 1398120029, 1398120026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99916100502014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:21:03.129389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/20/image_05122025_18_20_15_9664.jpg', '/home/pi/Desktop/images/05122025/18/20/image_05122025_18_20_35_10641.jpg', '/home/pi/Desktop/images/05122025/18/20/image_05122025_18_21_05_9849.jpg', '/home/pi/Desktop/images/05122025/18/21/image_05122025_18_21_15_10700.jpg', '/home/pi/Desktop/images/05122025/18/21/image_05122025_18_21_25_9669.jpg', '/home/pi/Desktop/images/05122025/18/21/image_05122025_18_21_35_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/20/image_05122025_18_20_15_9664.jpg
/home/pi/Desktop/images/05122025/18/20/image_05122025_18_20_35_10641.jpg
/home/pi/Desktop/images/05122025/18/20/image_05122025_18_21_05_9849.jpg
/home/pi/Desktop/images/05122025/18/21/image_05122025_18_21_15_10700.jpg
/home/pi/Desktop/images/05122025/18/21/image_05122025_18_21_25_9669.jpg
/home/pi/Desktop/images/05122025/18/21/image_05122025_18_21_35_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120256","1398120250","1398120325","1398120285","1398120252","1398120254"],"photo_ids_order":["1398120250","1398120252","1398120254","1398120256","1398120285","1398120325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9405e77888f1a7c9e8eb3731b6b394fb.jpg","text":"TemporaryFile(/tmp/multipartBody1009188931988641445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958923907,"filename":"image_05122025_18_21_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/5/aaead75b6f00376565fc0201ed4630d1.jpg","text":"TemporaryFile(/tmp/multipartBody3692938940562068832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958923907,"filename":"image_05122025_18_20_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/5/8761fb3f03f6ba3f1d2bdf21d061540f.jpg","text":"TemporaryFile(/tmp/multipartBody8649724893517755120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958923907,"filename":"image_05122025_18_21_35_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c1ce41373cb6c88c69606ce39633d804.jpg","text":"TemporaryFile(/tmp/multipartBody6204929000433117453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958923907,"filename":"image_05122025_18_21_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/5/33bb9a5811d84ff162d981bb07e4f11d.jpg","text":"TemporaryFile(/tmp/multipartBody4583643882705570822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958923907,"filename":"image_05122025_18_20_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d3356ec74e85936fcb09f1f1d397a9a.jpg","text":"TemporaryFile(/tmp/multipartBody4017763661176010081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958923907,"filename":"image_05122025_18_21_05_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120254","file1":"1398120252","file0":"1398120250","file4":"1398120285","file5":"1398120325","file3":"1398120256"},"map_files_photo_id_array":[{"photo_id":"1398120325","filename":"file5"},{"photo_id":"1398120254","filename":"file2"},{"photo_id":"1398120285","filename":"file4"},{"photo_id":"1398120252","filename":"file1"},{"photo_id":"1398120250","filename":"file0"},{"photo_id":"1398120256","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120256":["hashtag1","hashtag2"]},{"1398120250":["hashtag1","hashtag2"]},{"1398120325":["hashtag1","hashtag2"]},{"1398120285":["hashtag1","hashtag2"]},{"1398120252":["hashtag1","hashtag2"]},{"1398120254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120256, 1398120250, 1398120325, 1398120285, 1398120252, 1398120254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90197706222534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:21:42.728501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_54_2871.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_56_2613.jpg', '/home/pi/Desktop/images/31102025/20/21/image_31102025_20_22_00_3637.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_03_2609.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_06_3607.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_11_2505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_54_2871.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_21_56_2613.jpg
/home/pi/Desktop/images/31102025/20/21/image_31102025_20_22_00_3637.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_03_2609.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_06_3607.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_11_2505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120409","1398120390","1398120408","1398120411","1398120410","1398120407"],"photo_ids_order":["1398120390","1398120407","1398120408","1398120409","1398120410","1398120411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d04e1cc87777ec0f6ed9e132ddb7852f.jpg","text":"TemporaryFile(/tmp/multipartBody7607691305568829297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958964330,"filename":"image_31102025_20_22_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/5/67c72496a8bd39d1da6f929d5ffb8dd0.jpg","text":"TemporaryFile(/tmp/multipartBody535632673686223069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958964330,"filename":"image_31102025_20_21_54_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9157139a243c30702fc3c02580df711e.jpg","text":"TemporaryFile(/tmp/multipartBody8277312649857239331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958964330,"filename":"image_31102025_20_22_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/5/826635014aca5e6566aeacd554fa120d.jpg","text":"TemporaryFile(/tmp/multipartBody3160044017492129952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958964330,"filename":"image_31102025_20_22_11_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/11480b77964548533adfdb769d8f39fb.jpg","text":"TemporaryFile(/tmp/multipartBody7261660293683010012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958964330,"filename":"image_31102025_20_22_06_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/5/563d054f2a63bc3574828b9c82aacb57.jpg","text":"TemporaryFile(/tmp/multipartBody1548318306744301599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764958964330,"filename":"image_31102025_20_21_56_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120408","file1":"1398120407","file0":"1398120390","file4":"1398120410","file5":"1398120411","file3":"1398120409"},"map_files_photo_id_array":[{"photo_id":"1398120411","filename":"file5"},{"photo_id":"1398120408","filename":"file2"},{"photo_id":"1398120410","filename":"file4"},{"photo_id":"1398120407","filename":"file1"},{"photo_id":"1398120390","filename":"file0"},{"photo_id":"1398120409","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398120409":["hashtag1","hashtag2"]},{"1398120390":["hashtag1","hashtag2"]},{"1398120408":["hashtag1","hashtag2"]},{"1398120411":["hashtag1","hashtag2"]},{"1398120410":["hashtag1","hashtag2"]},{"1398120407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398120409, 1398120390, 1398120408, 1398120411, 1398120410, 1398120407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42967510223389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:22:21.885554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/21/image_05122025_18_21_45_10598.jpg', '/home/pi/Desktop/images/05122025/18/21/image_05122025_18_21_55_9685.jpg', '/home/pi/Desktop/images/05122025/18/21/image_05122025_18_22_05_9877.jpg', '/home/pi/Desktop/images/05122025/18/22/image_05122025_18_22_35_9601.jpg', '/home/pi/Desktop/images/05122025/18/22/image_05122025_18_22_55_9626.jpg', '/home/pi/Desktop/images/05122025/18/22/image_05122025_18_23_05_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/21/image_05122025_18_21_45_10598.jpg
/home/pi/Desktop/images/05122025/18/21/image_05122025_18_21_55_9685.jpg
/home/pi/Desktop/images/05122025/18/21/image_05122025_18_22_05_9877.jpg
/home/pi/Desktop/images/05122025/18/22/image_05122025_18_22_35_9601.jpg
/home/pi/Desktop/images/05122025/18/22/image_05122025_18_22_55_9626.jpg
/home/pi/Desktop/images/05122025/18/22/image_05122025_18_23_05_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":["1398120424","1398120420","1398120423","1398120417","1398120428","1398120416"],"photo_ids_order":["1398120416","1398120417","1398120420","1398120423","1398120424","1398120428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/44ac00cb5cf1f7e7d616c5f39b7d9ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2188317364131417518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959002596,"filename":"image_05122025_18_22_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/add12cb985f8aee60af601c463ce29c2.jpg","text":"TemporaryFile(/tmp/multipartBody6315157244207877725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959002596,"filename":"image_05122025_18_22_05_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/5/63a92059107df04042af865712a23b77.jpg","text":"TemporaryFile(/tmp/multipartBody593126452923845399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959002596,"filename":"image_05122025_18_22_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/5/ba70cad066d2e58b27ee34b9c9abfd2e.jpg","text":"TemporaryFile(/tmp/multipartBody6404606538734934205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959002596,"filename":"image_05122025_18_21_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/5/8e371c88fa32eda6d8afdbf1ccc74793.jpg","text":"TemporaryFile(/tmp/multipartBody8905505181434779964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959002596,"filename":"image_05122025_18_23_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/5/22900130ae5cebb2b9e7b2c1503fbd43.jpg","text":"TemporaryFile(/tmp/multipartBody2732318997004404471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959002596,"filename":"image_05122025_18_21_45_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120420","file1":"1398120417","file0":"1398120416","file4":"1398120424","file5":"1398120428","file3":"1398120423"},"map_files_photo_id_array":[{"photo_id":"1398120428","filename":"file5"},{"photo_id":"1398120420","filename":"file2"},{"photo_id":"1398120424","filename":"file4"},{"photo_id":"1398120417","filename":"file1"},{"photo_id":"1398120416","filename":"file0"},{"photo_id":"1398120423","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120424":["hashtag1","hashtag2"]},{"1398120420":["hashtag1","hashtag2"]},{"1398120423":["hashtag1","hashtag2"]},{"1398120417":["hashtag1","hashtag2"]},{"1398120428":["hashtag1","hashtag2"]},{"1398120416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120424, 1398120420, 1398120423, 1398120417, 1398120428, 1398120416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03600263595581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:23:02.869723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/23/image_05122025_18_23_45_10128.jpg', '/home/pi/Desktop/images/05122025/18/23/image_05122025_18_23_55_9680.jpg', '/home/pi/Desktop/images/05122025/18/24/image_05122025_18_24_15_9718.jpg', '/home/pi/Desktop/images/05122025/18/26/image_05122025_18_26_35_9754.jpg', '/home/pi/Desktop/images/05122025/18/26/image_05122025_18_26_45_9609.jpg', '/home/pi/Desktop/images/05122025/18/26/image_05122025_18_26_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/23/image_05122025_18_23_45_10128.jpg
/home/pi/Desktop/images/05122025/18/23/image_05122025_18_23_55_9680.jpg
/home/pi/Desktop/images/05122025/18/24/image_05122025_18_24_15_9718.jpg
/home/pi/Desktop/images/05122025/18/26/image_05122025_18_26_35_9754.jpg
/home/pi/Desktop/images/05122025/18/26/image_05122025_18_26_45_9609.jpg
/home/pi/Desktop/images/05122025/18/26/image_05122025_18_26_55_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120436","1398120430","1398120432","1398120441","1398120438","1398120434"],"photo_ids_order":["1398120430","1398120432","1398120434","1398120436","1398120438","1398120441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa02bca7245d66fef60dc8a98c6feef0.jpg","text":"TemporaryFile(/tmp/multipartBody561492514401317611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959043643,"filename":"image_05122025_18_26_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/5/a205676a7611228f4c1b08ac451c58b9.jpg","text":"TemporaryFile(/tmp/multipartBody9211739335308139330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959043643,"filename":"image_05122025_18_23_45_10128.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f695b832a6fdddb3c77b6e4a5f89a86.jpg","text":"TemporaryFile(/tmp/multipartBody8947760031349499457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959043643,"filename":"image_05122025_18_23_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/5/c639912620bf1681cbc309982834cb68.jpg","text":"TemporaryFile(/tmp/multipartBody6995603291720973829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959043643,"filename":"image_05122025_18_26_55_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/5/9709ed01654e690293662858eb22549c.jpg","text":"TemporaryFile(/tmp/multipartBody4607677231755480576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959043643,"filename":"image_05122025_18_26_45_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/5/44a2824ffc78dea8fdbae008bc01a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody6494550130587072870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959043643,"filename":"image_05122025_18_24_15_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120434","file1":"1398120432","file0":"1398120430","file4":"1398120438","file5":"1398120441","file3":"1398120436"},"map_files_photo_id_array":[{"photo_id":"1398120441","filename":"file5"},{"photo_id":"1398120434","filename":"file2"},{"photo_id":"1398120438","filename":"file4"},{"photo_id":"1398120432","filename":"file1"},{"photo_id":"1398120430","filename":"file0"},{"photo_id":"1398120436","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120436":["hashtag1","hashtag2"]},{"1398120430":["hashtag1","hashtag2"]},{"1398120432":["hashtag1","hashtag2"]},{"1398120441":["hashtag1","hashtag2"]},{"1398120438":["hashtag1","hashtag2"]},{"1398120434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120436, 1398120430, 1398120432, 1398120441, 1398120438, 1398120434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66758489608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:23:42.128395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_15_3680.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_18_2604.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_20_2653.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_24_3602.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_30_3664.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_36_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_15_3680.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_18_2604.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_20_2653.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_24_3602.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_30_3664.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_36_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":["1398120460","1398120463","1398120462","1398120459","1398120447","1398120461"],"photo_ids_order":["1398120447","1398120459","1398120460","1398120461","1398120462","1398120463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6bbe20c17bedd0a325ce0cd58698f0cc.jpg","text":"TemporaryFile(/tmp/multipartBody6043539833099329657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959083691,"filename":"image_31102025_20_22_20_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/5/7179b8084edcaf82006477cb177b7b1a.jpg","text":"TemporaryFile(/tmp/multipartBody3697233675818984118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959083691,"filename":"image_31102025_20_22_36_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/5/56467f6522b941e8014174520ef565c5.jpg","text":"TemporaryFile(/tmp/multipartBody3634418061412392875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959083691,"filename":"image_31102025_20_22_30_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ed97ece2444ccc161f565568e131289.jpg","text":"TemporaryFile(/tmp/multipartBody1948217842310523080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959083691,"filename":"image_31102025_20_22_18_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23a20a88a0b801c9fc1bd65d3a2f9a98.jpg","text":"TemporaryFile(/tmp/multipartBody3205459711091024385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959083691,"filename":"image_31102025_20_22_15_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/5/bc3e183cff3555bd930f5540e38e5191.jpg","text":"TemporaryFile(/tmp/multipartBody3120229909928153617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959083691,"filename":"image_31102025_20_22_24_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120460","file1":"1398120459","file0":"1398120447","file4":"1398120462","file5":"1398120463","file3":"1398120461"},"map_files_photo_id_array":[{"photo_id":"1398120463","filename":"file5"},{"photo_id":"1398120460","filename":"file2"},{"photo_id":"1398120462","filename":"file4"},{"photo_id":"1398120459","filename":"file1"},{"photo_id":"1398120447","filename":"file0"},{"photo_id":"1398120461","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398120460":["hashtag1","hashtag2"]},{"1398120463":["hashtag1","hashtag2"]},{"1398120462":["hashtag1","hashtag2"]},{"1398120459":["hashtag1","hashtag2"]},{"1398120447":["hashtag1","hashtag2"]},{"1398120461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398120460, 1398120463, 1398120462, 1398120459, 1398120447, 1398120461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17470145225525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:24:22.394009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/26/image_05122025_18_27_05_9852.jpg', '/home/pi/Desktop/images/05122025/18/27/image_05122025_18_27_15_9754.jpg', '/home/pi/Desktop/images/05122025/18/27/image_05122025_18_27_45_9734.jpg', '/home/pi/Desktop/images/05122025/18/27/image_05122025_18_27_55_9749.jpg', '/home/pi/Desktop/images/05122025/18/27/image_05122025_18_28_05_9896.jpg', '/home/pi/Desktop/images/05122025/18/28/image_05122025_18_28_35_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/26/image_05122025_18_27_05_9852.jpg
/home/pi/Desktop/images/05122025/18/27/image_05122025_18_27_15_9754.jpg
/home/pi/Desktop/images/05122025/18/27/image_05122025_18_27_45_9734.jpg
/home/pi/Desktop/images/05122025/18/27/image_05122025_18_27_55_9749.jpg
/home/pi/Desktop/images/05122025/18/27/image_05122025_18_28_05_9896.jpg
/home/pi/Desktop/images/05122025/18/28/image_05122025_18_28_35_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":["1398120487","1398120472","1398120475","1398120469","1398120480","1398120485"],"photo_ids_order":["1398120469","1398120472","1398120475","1398120480","1398120485","1398120487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c8add93a1c807530186356ecfa40343.jpg","text":"TemporaryFile(/tmp/multipartBody5064586118787552820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959123113,"filename":"image_05122025_18_28_35_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/5/0b55e1ee26016f2793fa3026a31dafeb.jpg","text":"TemporaryFile(/tmp/multipartBody663994453996062974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959123113,"filename":"image_05122025_18_27_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/5/ad8811c0b3fe243814c33576ee5756dd.jpg","text":"TemporaryFile(/tmp/multipartBody4396682050921141643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959123113,"filename":"image_05122025_18_27_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/5/4a15283352a25f1e2a37153e41583e02.jpg","text":"TemporaryFile(/tmp/multipartBody494106063162342328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959123113,"filename":"image_05122025_18_27_05_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/5/21a49b291d32ec6a52beda4e6fb064ac.jpg","text":"TemporaryFile(/tmp/multipartBody7552882014926409599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959123113,"filename":"image_05122025_18_27_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/5/ffb602dfd0850d21c90c6456b0a415ce.jpg","text":"TemporaryFile(/tmp/multipartBody9061994722039240111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959123113,"filename":"image_05122025_18_28_05_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120475","file1":"1398120472","file0":"1398120469","file4":"1398120485","file5":"1398120487","file3":"1398120480"},"map_files_photo_id_array":[{"photo_id":"1398120487","filename":"file5"},{"photo_id":"1398120475","filename":"file2"},{"photo_id":"1398120485","filename":"file4"},{"photo_id":"1398120472","filename":"file1"},{"photo_id":"1398120469","filename":"file0"},{"photo_id":"1398120480","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120487":["hashtag1","hashtag2"]},{"1398120472":["hashtag1","hashtag2"]},{"1398120475":["hashtag1","hashtag2"]},{"1398120469":["hashtag1","hashtag2"]},{"1398120480":["hashtag1","hashtag2"]},{"1398120485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120487, 1398120472, 1398120475, 1398120469, 1398120480, 1398120485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1991012096405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:25:03.090147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/28/image_05122025_18_28_45_9767.jpg', '/home/pi/Desktop/images/05122025/18/28/image_05122025_18_29_05_9756.jpg', '/home/pi/Desktop/images/05122025/18/29/image_05122025_18_29_15_9606.jpg', '/home/pi/Desktop/images/05122025/18/29/image_05122025_18_29_25_10696.jpg', '/home/pi/Desktop/images/05122025/18/29/image_05122025_18_29_35_9903.jpg', '/home/pi/Desktop/images/05122025/18/31/image_05122025_18_31_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/28/image_05122025_18_28_45_9767.jpg
/home/pi/Desktop/images/05122025/18/28/image_05122025_18_29_05_9756.jpg
/home/pi/Desktop/images/05122025/18/29/image_05122025_18_29_15_9606.jpg
/home/pi/Desktop/images/05122025/18/29/image_05122025_18_29_25_10696.jpg
/home/pi/Desktop/images/05122025/18/29/image_05122025_18_29_35_9903.jpg
/home/pi/Desktop/images/05122025/18/31/image_05122025_18_31_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120496","1398120502","1398120498","1398120494","1398120506","1398120500"],"photo_ids_order":["1398120494","1398120496","1398120498","1398120500","1398120502","1398120506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5194216073fb23c843450de81a7284eb.jpg","text":"TemporaryFile(/tmp/multipartBody512615881933734213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959163889,"filename":"image_05122025_18_29_05_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/5/7cbea59cc53f8cb88e4777b4e12bd3a4.jpg","text":"TemporaryFile(/tmp/multipartBody7959213384396469380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959163889,"filename":"image_05122025_18_29_35_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/5/58c2b35b888769190c27ade04d982baf.jpg","text":"TemporaryFile(/tmp/multipartBody6612905049153435130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959163889,"filename":"image_05122025_18_29_15_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b5a34776cab43519ac258e667c6bca5f.jpg","text":"TemporaryFile(/tmp/multipartBody6557762392669496468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959163889,"filename":"image_05122025_18_28_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/5/63b90b025b1deb1f0471d3c8d4f0d802.jpg","text":"TemporaryFile(/tmp/multipartBody291160663213284736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959163889,"filename":"image_05122025_18_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/5/7c40c6356262d9ebb2194c71ad995791.jpg","text":"TemporaryFile(/tmp/multipartBody3521643392671071325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959163889,"filename":"image_05122025_18_29_25_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120498","file1":"1398120496","file0":"1398120494","file4":"1398120502","file5":"1398120506","file3":"1398120500"},"map_files_photo_id_array":[{"photo_id":"1398120506","filename":"file5"},{"photo_id":"1398120498","filename":"file2"},{"photo_id":"1398120502","filename":"file4"},{"photo_id":"1398120496","filename":"file1"},{"photo_id":"1398120494","filename":"file0"},{"photo_id":"1398120500","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120496":["hashtag1","hashtag2"]},{"1398120502":["hashtag1","hashtag2"]},{"1398120498":["hashtag1","hashtag2"]},{"1398120494":["hashtag1","hashtag2"]},{"1398120506":["hashtag1","hashtag2"]},{"1398120500":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120496, 1398120502, 1398120498, 1398120494, 1398120506, 1398120500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05093741416931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:25:42.457511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_38_2761.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_42_3532.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_45_2764.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_50_2793.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_54_3552.jpg', '/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_56_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_38_2761.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_42_3532.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_45_2764.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_50_2793.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_54_3552.jpg
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_56_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120517","1398120511","1398120514","1398120513","1398120516","1398120515"],"photo_ids_order":["1398120511","1398120513","1398120514","1398120515","1398120516","1398120517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5cd5ab095858c2d6249a55d61600dcb9.jpg","text":"TemporaryFile(/tmp/multipartBody8647306070947884162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959204019,"filename":"image_31102025_20_22_56_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/5/98c9869985e17bfddb6ae2b3817f138e.jpg","text":"TemporaryFile(/tmp/multipartBody5189100877666123583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959204019,"filename":"image_31102025_20_22_38_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/5/3fa3e0d0aa77398d275e6f978f9d7d18.jpg","text":"TemporaryFile(/tmp/multipartBody7519939948751228784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959204019,"filename":"image_31102025_20_22_45_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/832771228a363ce11c08531896f65134.jpg","text":"TemporaryFile(/tmp/multipartBody6128090377548472710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959204019,"filename":"image_31102025_20_22_42_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/5/c73d97a7c57f6c0197c5f7ecb650f730.jpg","text":"TemporaryFile(/tmp/multipartBody687146921774335753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959204019,"filename":"image_31102025_20_22_54_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/886869fb28a6b555ddf96b228706a54c.jpg","text":"TemporaryFile(/tmp/multipartBody8803263585478697397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959204019,"filename":"image_31102025_20_22_50_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120514","file1":"1398120513","file0":"1398120511","file4":"1398120516","file5":"1398120517","file3":"1398120515"},"map_files_photo_id_array":[{"photo_id":"1398120517","filename":"file5"},{"photo_id":"1398120514","filename":"file2"},{"photo_id":"1398120516","filename":"file4"},{"photo_id":"1398120513","filename":"file1"},{"photo_id":"1398120511","filename":"file0"},{"photo_id":"1398120515","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398120517":["hashtag1","hashtag2"]},{"1398120511":["hashtag1","hashtag2"]},{"1398120514":["hashtag1","hashtag2"]},{"1398120513":["hashtag1","hashtag2"]},{"1398120516":["hashtag1","hashtag2"]},{"1398120515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398120517, 1398120511, 1398120514, 1398120513, 1398120516, 1398120515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78560137748718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:26:22.647772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/32/image_05122025_18_32_24_9664.jpg', '/home/pi/Desktop/images/05122025/18/32/image_05122025_18_32_35_10644.jpg', '/home/pi/Desktop/images/05122025/18/33/image_05122025_18_33_14_9637.jpg', '/home/pi/Desktop/images/05122025/18/33/image_05122025_18_33_35_9683.jpg', '/home/pi/Desktop/images/05122025/18/33/image_05122025_18_33_44_9615.jpg', '/home/pi/Desktop/images/05122025/18/33/image_05122025_18_33_54_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/32/image_05122025_18_32_24_9664.jpg
/home/pi/Desktop/images/05122025/18/32/image_05122025_18_32_35_10644.jpg
/home/pi/Desktop/images/05122025/18/33/image_05122025_18_33_14_9637.jpg
/home/pi/Desktop/images/05122025/18/33/image_05122025_18_33_35_9683.jpg
/home/pi/Desktop/images/05122025/18/33/image_05122025_18_33_44_9615.jpg
/home/pi/Desktop/images/05122025/18/33/image_05122025_18_33_54_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120541","1398120525","1398120534","1398120528","1398120554","1398120530"],"photo_ids_order":["1398120525","1398120528","1398120530","1398120534","1398120541","1398120554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bfcebd4ef22efe6084881f1eb5a08bd7.jpg","text":"TemporaryFile(/tmp/multipartBody7198534409201667044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959243451,"filename":"image_05122025_18_33_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/10bd5aa46644328365c01c73a5ede403.jpg","text":"TemporaryFile(/tmp/multipartBody3196485771591031558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959243451,"filename":"image_05122025_18_32_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/5/e448c3e43ae0aec3160e092abaa55412.jpg","text":"TemporaryFile(/tmp/multipartBody455072814292015201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959243451,"filename":"image_05122025_18_33_35_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5299620ec3b366a62f7ae237f04603c8.jpg","text":"TemporaryFile(/tmp/multipartBody561858253666487719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959243451,"filename":"image_05122025_18_32_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/57d28cc20facf5f83747032c63c98eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2587670967773510765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959243451,"filename":"image_05122025_18_33_54_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f30c1565fa1207a2d168fe9cbc5ee608.jpg","text":"TemporaryFile(/tmp/multipartBody6946141513181953879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959243451,"filename":"image_05122025_18_33_14_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120530","file1":"1398120528","file0":"1398120525","file4":"1398120541","file5":"1398120554","file3":"1398120534"},"map_files_photo_id_array":[{"photo_id":"1398120554","filename":"file5"},{"photo_id":"1398120530","filename":"file2"},{"photo_id":"1398120541","filename":"file4"},{"photo_id":"1398120528","filename":"file1"},{"photo_id":"1398120525","filename":"file0"},{"photo_id":"1398120534","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120541":["hashtag1","hashtag2"]},{"1398120525":["hashtag1","hashtag2"]},{"1398120534":["hashtag1","hashtag2"]},{"1398120528":["hashtag1","hashtag2"]},{"1398120554":["hashtag1","hashtag2"]},{"1398120530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120541, 1398120525, 1398120534, 1398120528, 1398120554, 1398120530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19146180152893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:27:03.429504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/33/image_05122025_18_34_05_10838.jpg', '/home/pi/Desktop/images/05122025/18/34/image_05122025_18_34_34_9479.jpg', '/home/pi/Desktop/images/05122025/18/34/image_05122025_18_34_45_10702.jpg', '/home/pi/Desktop/images/05122025/18/34/image_05122025_18_34_54_9679.jpg', '/home/pi/Desktop/images/05122025/18/35/image_05122025_18_35_14_9816.jpg', '/home/pi/Desktop/images/05122025/18/35/image_05122025_18_35_34_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/33/image_05122025_18_34_05_10838.jpg
/home/pi/Desktop/images/05122025/18/34/image_05122025_18_34_34_9479.jpg
/home/pi/Desktop/images/05122025/18/34/image_05122025_18_34_45_10702.jpg
/home/pi/Desktop/images/05122025/18/34/image_05122025_18_34_54_9679.jpg
/home/pi/Desktop/images/05122025/18/35/image_05122025_18_35_14_9816.jpg
/home/pi/Desktop/images/05122025/18/35/image_05122025_18_35_34_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120565","1398120576","1398120567","1398120572","1398120569","1398120563"],"photo_ids_order":["1398120563","1398120565","1398120567","1398120569","1398120572","1398120576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6cc8d24d0bdbe5528ac36da6bf874f5d.jpg","text":"TemporaryFile(/tmp/multipartBody5434407409644431317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959284262,"filename":"image_05122025_18_34_34_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/5/92a9d6e5f2f9fb38b82bec538c6c0755.jpg","text":"TemporaryFile(/tmp/multipartBody925187905685178171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959284262,"filename":"image_05122025_18_35_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23be3df8da19a5c5729ef2eaa6490451.jpg","text":"TemporaryFile(/tmp/multipartBody6636508841998171605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959284262,"filename":"image_05122025_18_34_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/5/8eba5886f0a551707c6b4a44bec637e1.jpg","text":"TemporaryFile(/tmp/multipartBody8649343712814143771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959284262,"filename":"image_05122025_18_35_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/5/a2c1fb4faea4597cb19e6a50aa10efe6.jpg","text":"TemporaryFile(/tmp/multipartBody8815303536137507382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959284262,"filename":"image_05122025_18_34_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/5/dc58312567c8a076dc8b94df66605567.jpg","text":"TemporaryFile(/tmp/multipartBody1428675719691600775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959284262,"filename":"image_05122025_18_34_05_10838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120567","file1":"1398120565","file0":"1398120563","file4":"1398120572","file5":"1398120576","file3":"1398120569"},"map_files_photo_id_array":[{"photo_id":"1398120576","filename":"file5"},{"photo_id":"1398120567","filename":"file2"},{"photo_id":"1398120572","filename":"file4"},{"photo_id":"1398120565","filename":"file1"},{"photo_id":"1398120563","filename":"file0"},{"photo_id":"1398120569","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120565":["hashtag1","hashtag2"]},{"1398120576":["hashtag1","hashtag2"]},{"1398120567":["hashtag1","hashtag2"]},{"1398120572":["hashtag1","hashtag2"]},{"1398120569":["hashtag1","hashtag2"]},{"1398120563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120565, 1398120576, 1398120567, 1398120572, 1398120569, 1398120563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01220774650574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:28:02.446938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/35/image_05122025_18_35_44_9889.jpg', '/home/pi/Desktop/images/05122025/18/35/image_05122025_18_35_55_10709.jpg', '/home/pi/Desktop/images/05122025/18/37/image_05122025_18_37_24_9821.jpg', '/home/pi/Desktop/images/05122025/18/37/image_05122025_18_38_04_9712.jpg', '/home/pi/Desktop/images/05122025/18/38/image_05122025_18_38_25_10721.jpg', '/home/pi/Desktop/images/05122025/18/38/image_05122025_18_38_44_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/35/image_05122025_18_35_44_9889.jpg
/home/pi/Desktop/images/05122025/18/35/image_05122025_18_35_55_10709.jpg
/home/pi/Desktop/images/05122025/18/37/image_05122025_18_37_24_9821.jpg
/home/pi/Desktop/images/05122025/18/37/image_05122025_18_38_04_9712.jpg
/home/pi/Desktop/images/05122025/18/38/image_05122025_18_38_25_10721.jpg
/home/pi/Desktop/images/05122025/18/38/image_05122025_18_38_44_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120588","1398120582","1398120585","1398120590","1398120593","1398120583"],"photo_ids_order":["1398120582","1398120583","1398120585","1398120588","1398120590","1398120593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4e4bea21928e4100c21be84bdb3873ee.jpg","text":"TemporaryFile(/tmp/multipartBody4346599730873943531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959343236,"filename":"image_05122025_18_38_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/5/6c16a96f17c806841b8830ba188240f8.jpg","text":"TemporaryFile(/tmp/multipartBody1677444471461947068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959343236,"filename":"image_05122025_18_35_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/5/756dd502dc37774c9c7aaf2891b65e41.jpg","text":"TemporaryFile(/tmp/multipartBody2580701043918637326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959343236,"filename":"image_05122025_18_37_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/5/75d9f86f1b546ed39423a40e071f3721.jpg","text":"TemporaryFile(/tmp/multipartBody7743924458549017832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959343236,"filename":"image_05122025_18_38_25_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/5/956177ac57f86ab964acc0e81b514fb1.jpg","text":"TemporaryFile(/tmp/multipartBody5719233129680024475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959343236,"filename":"image_05122025_18_38_44_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c4441f4a881e0ce1e231755af538cb36.jpg","text":"TemporaryFile(/tmp/multipartBody4941036691500494034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959343236,"filename":"image_05122025_18_35_55_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120585","file1":"1398120583","file0":"1398120582","file4":"1398120590","file5":"1398120593","file3":"1398120588"},"map_files_photo_id_array":[{"photo_id":"1398120593","filename":"file5"},{"photo_id":"1398120585","filename":"file2"},{"photo_id":"1398120590","filename":"file4"},{"photo_id":"1398120583","filename":"file1"},{"photo_id":"1398120582","filename":"file0"},{"photo_id":"1398120588","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120588":["hashtag1","hashtag2"]},{"1398120582":["hashtag1","hashtag2"]},{"1398120585":["hashtag1","hashtag2"]},{"1398120590":["hashtag1","hashtag2"]},{"1398120593":["hashtag1","hashtag2"]},{"1398120583":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120588, 1398120582, 1398120585, 1398120590, 1398120593, 1398120583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59285044670105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:28:42.151602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_59_2953.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_03_3552.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_05_2546.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_09_3619.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_12_2768.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_14_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/22/image_31102025_20_22_59_2953.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_03_3552.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_05_2546.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_09_3619.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_12_2768.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_14_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":["1398120604","1398120606","1398120621","1398120609","1398120614","1398120608"],"photo_ids_order":["1398120604","1398120606","1398120608","1398120609","1398120614","1398120621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c4463e6f9488fffa07a2a528442181b9.jpg","text":"TemporaryFile(/tmp/multipartBody7317796384652659273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959383726,"filename":"image_31102025_20_22_59_2953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45de4429f9764c168e48e11b1c1f7bd5.jpg","text":"TemporaryFile(/tmp/multipartBody1388099093170670715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959383726,"filename":"image_31102025_20_23_03_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ea6edba3da1517328fa224c3cb1dd67.jpg","text":"TemporaryFile(/tmp/multipartBody6803231711305544029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959383726,"filename":"image_31102025_20_23_14_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/5/04f82e492f17d5f7e65c18c583e54de6.jpg","text":"TemporaryFile(/tmp/multipartBody8001204118264811528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959383726,"filename":"image_31102025_20_23_09_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/5/4e75a4ae615173f376ca019c0814192b.jpg","text":"TemporaryFile(/tmp/multipartBody3011071922630875008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959383726,"filename":"image_31102025_20_23_12_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/5/d8078f905de8a21680017575d31fbe97.jpg","text":"TemporaryFile(/tmp/multipartBody5810366822316533942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959383726,"filename":"image_31102025_20_23_05_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120608","file1":"1398120606","file0":"1398120604","file4":"1398120614","file5":"1398120621","file3":"1398120609"},"map_files_photo_id_array":[{"photo_id":"1398120621","filename":"file5"},{"photo_id":"1398120608","filename":"file2"},{"photo_id":"1398120614","filename":"file4"},{"photo_id":"1398120606","filename":"file1"},{"photo_id":"1398120604","filename":"file0"},{"photo_id":"1398120609","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398120604":["hashtag1","hashtag2"]},{"1398120606":["hashtag1","hashtag2"]},{"1398120621":["hashtag1","hashtag2"]},{"1398120609":["hashtag1","hashtag2"]},{"1398120614":["hashtag1","hashtag2"]},{"1398120608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398120604, 1398120606, 1398120621, 1398120609, 1398120614, 1398120608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47752380371094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:29:22.399151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/39/image_05122025_18_39_15_10706.jpg', '/home/pi/Desktop/images/05122025/18/40/image_05122025_18_40_34_9699.jpg', '/home/pi/Desktop/images/05122025/18/41/image_05122025_18_41_54_9607.jpg', '/home/pi/Desktop/images/05122025/18/43/image_05122025_18_43_35_10663.jpg', '/home/pi/Desktop/images/05122025/18/45/image_05122025_18_45_25_10847.jpg', '/home/pi/Desktop/images/05122025/18/46/image_05122025_18_46_14_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/39/image_05122025_18_39_15_10706.jpg
/home/pi/Desktop/images/05122025/18/40/image_05122025_18_40_34_9699.jpg
/home/pi/Desktop/images/05122025/18/41/image_05122025_18_41_54_9607.jpg
/home/pi/Desktop/images/05122025/18/43/image_05122025_18_43_35_10663.jpg
/home/pi/Desktop/images/05122025/18/45/image_05122025_18_45_25_10847.jpg
/home/pi/Desktop/images/05122025/18/46/image_05122025_18_46_14_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120630","1398120633","1398120627","1398120636","1398120641","1398120638"],"photo_ids_order":["1398120627","1398120630","1398120633","1398120636","1398120638","1398120641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01d70e5c66ba674fde5dcc46fb33cb15.jpg","text":"TemporaryFile(/tmp/multipartBody4298136609915023664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959423167,"filename":"image_05122025_18_40_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/5/ee6c3477a0d1c302c1fe8aa1daec23b1.jpg","text":"TemporaryFile(/tmp/multipartBody6436254708187102194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959423167,"filename":"image_05122025_18_41_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ddad238a060a704c5e98fc293c33c15.jpg","text":"TemporaryFile(/tmp/multipartBody3990944816012030139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959423167,"filename":"image_05122025_18_39_15_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/5/37731720e506fe267106ef211637c2a1.jpg","text":"TemporaryFile(/tmp/multipartBody209639074204161435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959423167,"filename":"image_05122025_18_43_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/5/e2acf4de3b4fe03dbabd7dbeaaf69d5d.jpg","text":"TemporaryFile(/tmp/multipartBody6854538854437218746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959423167,"filename":"image_05122025_18_46_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/5/873926490761c1b4a8af15838f18f13a.jpg","text":"TemporaryFile(/tmp/multipartBody5498421928425051989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959423167,"filename":"image_05122025_18_45_25_10847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120633","file1":"1398120630","file0":"1398120627","file4":"1398120638","file5":"1398120641","file3":"1398120636"},"map_files_photo_id_array":[{"photo_id":"1398120641","filename":"file5"},{"photo_id":"1398120633","filename":"file2"},{"photo_id":"1398120638","filename":"file4"},{"photo_id":"1398120630","filename":"file1"},{"photo_id":"1398120627","filename":"file0"},{"photo_id":"1398120636","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120630":["hashtag1","hashtag2"]},{"1398120633":["hashtag1","hashtag2"]},{"1398120627":["hashtag1","hashtag2"]},{"1398120636":["hashtag1","hashtag2"]},{"1398120641":["hashtag1","hashtag2"]},{"1398120638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120630, 1398120633, 1398120627, 1398120636, 1398120641, 1398120638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63312578201294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:30:02.918730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/46/image_05122025_18_46_24_10001.jpg', '/home/pi/Desktop/images/05122025/18/46/image_05122025_18_46_35_10656.jpg', '/home/pi/Desktop/images/05122025/18/46/image_05122025_18_47_04_9718.jpg', '/home/pi/Desktop/images/05122025/18/47/image_05122025_18_47_15_10795.jpg', '/home/pi/Desktop/images/05122025/18/48/image_05122025_18_49_05_10614.jpg', '/home/pi/Desktop/images/05122025/18/49/image_05122025_18_49_24_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/46/image_05122025_18_46_24_10001.jpg
/home/pi/Desktop/images/05122025/18/46/image_05122025_18_46_35_10656.jpg
/home/pi/Desktop/images/05122025/18/46/image_05122025_18_47_04_9718.jpg
/home/pi/Desktop/images/05122025/18/47/image_05122025_18_47_15_10795.jpg
/home/pi/Desktop/images/05122025/18/48/image_05122025_18_49_05_10614.jpg
/home/pi/Desktop/images/05122025/18/49/image_05122025_18_49_24_9898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120655","1398120657","1398120654","1398120653","1398120662","1398120659"],"photo_ids_order":["1398120653","1398120654","1398120655","1398120657","1398120659","1398120662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8698b7cdeefcb3c2c44fb29d2438b757.jpg","text":"TemporaryFile(/tmp/multipartBody4176349701632057413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959463689,"filename":"image_05122025_18_47_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/5/0acf33f1d0f6f2a61a5dfbc4a0eef94b.jpg","text":"TemporaryFile(/tmp/multipartBody3947213339117879736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959463689,"filename":"image_05122025_18_47_15_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/5/a49bb214118ffbd913afc2da3ea79d4e.jpg","text":"TemporaryFile(/tmp/multipartBody2032104361555681666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959463689,"filename":"image_05122025_18_46_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a88f646fb86ed162ef5f8a87a8f2d09f.jpg","text":"TemporaryFile(/tmp/multipartBody6079898790251461657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959463689,"filename":"image_05122025_18_46_24_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/5/c20842e9805e9a9f7364bc04a493ff46.jpg","text":"TemporaryFile(/tmp/multipartBody2885963033080693165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959463689,"filename":"image_05122025_18_49_24_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/5/d6ddf533184d09a129c1ae6e94a29a33.jpg","text":"TemporaryFile(/tmp/multipartBody6550005083279031711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959463689,"filename":"image_05122025_18_49_05_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120655","file1":"1398120654","file0":"1398120653","file4":"1398120659","file5":"1398120662","file3":"1398120657"},"map_files_photo_id_array":[{"photo_id":"1398120662","filename":"file5"},{"photo_id":"1398120655","filename":"file2"},{"photo_id":"1398120659","filename":"file4"},{"photo_id":"1398120654","filename":"file1"},{"photo_id":"1398120653","filename":"file0"},{"photo_id":"1398120657","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120655":["hashtag1","hashtag2"]},{"1398120657":["hashtag1","hashtag2"]},{"1398120654":["hashtag1","hashtag2"]},{"1398120653":["hashtag1","hashtag2"]},{"1398120662":["hashtag1","hashtag2"]},{"1398120659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120655, 1398120657, 1398120654, 1398120653, 1398120662, 1398120659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4674277305603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:30:42.436782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_17_2844.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_21_3703.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_24_2528.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_26_2652.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_32_2555.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_36_3754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_17_2844.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_21_3703.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_24_2528.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_26_2652.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_32_2555.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_36_3754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120679","1398120700","1398120681","1398120690","1398120683","1398120676"],"photo_ids_order":["1398120676","1398120679","1398120681","1398120683","1398120690","1398120700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/33366e9dda3c0124f250de0506a9b7e5.jpg","text":"TemporaryFile(/tmp/multipartBody4789700321018338517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959503931,"filename":"image_31102025_20_23_21_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/5/e697ab83a4fe9a6be81c0ece0d840b25.jpg","text":"TemporaryFile(/tmp/multipartBody1411252846743927368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959503931,"filename":"image_31102025_20_23_36_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/5/543233cececfdc385dec501176d0a2c7.jpg","text":"TemporaryFile(/tmp/multipartBody412513394626680151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959503931,"filename":"image_31102025_20_23_24_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/59f63ac8c2f8e916f89e3edda63e943b.jpg","text":"TemporaryFile(/tmp/multipartBody4921998677316019848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959503931,"filename":"image_31102025_20_23_32_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/5/017fb8d6400d12618996349608ab7a1e.jpg","text":"TemporaryFile(/tmp/multipartBody1927117549029673869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959503931,"filename":"image_31102025_20_23_26_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/5/89a8d9b23c43815bd0c902605ebd8a79.jpg","text":"TemporaryFile(/tmp/multipartBody6617597309661196423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959503931,"filename":"image_31102025_20_23_17_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120681","file1":"1398120679","file0":"1398120676","file4":"1398120690","file5":"1398120700","file3":"1398120683"},"map_files_photo_id_array":[{"photo_id":"1398120700","filename":"file5"},{"photo_id":"1398120681","filename":"file2"},{"photo_id":"1398120690","filename":"file4"},{"photo_id":"1398120679","filename":"file1"},{"photo_id":"1398120676","filename":"file0"},{"photo_id":"1398120683","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398120679":["hashtag1","hashtag2"]},{"1398120700":["hashtag1","hashtag2"]},{"1398120681":["hashtag1","hashtag2"]},{"1398120690":["hashtag1","hashtag2"]},{"1398120683":["hashtag1","hashtag2"]},{"1398120676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398120679, 1398120700, 1398120681, 1398120690, 1398120683, 1398120676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.943870306015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:31:22.726112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/49/image_05122025_18_49_54_9718.jpg', '/home/pi/Desktop/images/05122025/18/49/image_05122025_18_50_05_10764.jpg', '/home/pi/Desktop/images/05122025/18/50/image_05122025_18_50_15_9799.jpg', '/home/pi/Desktop/images/05122025/18/51/image_05122025_18_51_34_9753.jpg', '/home/pi/Desktop/images/05122025/18/51/image_05122025_18_52_04_10377.jpg', '/home/pi/Desktop/images/05122025/18/52/image_05122025_18_52_35_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/49/image_05122025_18_49_54_9718.jpg
/home/pi/Desktop/images/05122025/18/49/image_05122025_18_50_05_10764.jpg
/home/pi/Desktop/images/05122025/18/50/image_05122025_18_50_15_9799.jpg
/home/pi/Desktop/images/05122025/18/51/image_05122025_18_51_34_9753.jpg
/home/pi/Desktop/images/05122025/18/51/image_05122025_18_52_04_10377.jpg
/home/pi/Desktop/images/05122025/18/52/image_05122025_18_52_35_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":["1398120706","1398120720","1398120716","1398120710","1398120704","1398120713"],"photo_ids_order":["1398120704","1398120706","1398120710","1398120713","1398120716","1398120720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0e2d29c1980ef6770e9973c5128c2b3b.jpg","text":"TemporaryFile(/tmp/multipartBody8484721990091120942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959543594,"filename":"image_05122025_18_50_05_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d9aa3082aac9c7e57c1cfe41854f8d3.jpg","text":"TemporaryFile(/tmp/multipartBody1918091075543586267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959543594,"filename":"image_05122025_18_52_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/5/530abca8674baf15562e3b6908d1647d.jpg","text":"TemporaryFile(/tmp/multipartBody8066010337972043994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959543594,"filename":"image_05122025_18_52_04_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/5/3856cbaca6b06707df37185f08a08b4a.jpg","text":"TemporaryFile(/tmp/multipartBody8289934770767886062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959543594,"filename":"image_05122025_18_50_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/5/5e068bf149421c3c53f833f7c14f1f97.jpg","text":"TemporaryFile(/tmp/multipartBody7501574129307819337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959543594,"filename":"image_05122025_18_49_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3790e0853ee6356455b143e0588728e5.jpg","text":"TemporaryFile(/tmp/multipartBody7960701787978718010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959543594,"filename":"image_05122025_18_51_34_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120710","file1":"1398120706","file0":"1398120704","file4":"1398120716","file5":"1398120720","file3":"1398120713"},"map_files_photo_id_array":[{"photo_id":"1398120720","filename":"file5"},{"photo_id":"1398120710","filename":"file2"},{"photo_id":"1398120716","filename":"file4"},{"photo_id":"1398120706","filename":"file1"},{"photo_id":"1398120704","filename":"file0"},{"photo_id":"1398120713","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120706":["hashtag1","hashtag2"]},{"1398120720":["hashtag1","hashtag2"]},{"1398120716":["hashtag1","hashtag2"]},{"1398120710":["hashtag1","hashtag2"]},{"1398120704":["hashtag1","hashtag2"]},{"1398120713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120706, 1398120720, 1398120716, 1398120710, 1398120704, 1398120713)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.93496799468994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 19:32:12.470928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/51/image_02122025_23_52_04_10701.jpg', '/home/pi/Desktop/images/02122025/23/52/image_02122025_23_52_14_9756.jpg', '/home/pi/Desktop/images/02122025/23/52/image_02122025_23_52_24_9795.jpg', '/home/pi/Desktop/images/02122025/23/52/image_02122025_23_52_44_9787.jpg', '/home/pi/Desktop/images/02122025/23/52/image_02122025_23_52_55_10757.jpg', '/home/pi/Desktop/images/02122025/23/52/image_02122025_23_53_05_10007.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/51/image_02122025_23_52_04_10701.jpg
/home/pi/Desktop/images/02122025/23/52/image_02122025_23_52_14_9756.jpg
/home/pi/Desktop/images/02122025/23/52/image_02122025_23_52_24_9795.jpg
/home/pi/Desktop/images/02122025/23/52/image_02122025_23_52_44_9787.jpg
/home/pi/Desktop/images/02122025/23/52/image_02122025_23_52_55_10757.jpg
/home/pi/Desktop/images/02122025/23/52/image_02122025_23_53_05_10007.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120736","1398120724","1398120734","1398120731","1398120725","1398120728"],"photo_ids_order":["1398120724","1398120725","1398120728","1398120731","1398120734","1398120736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7a9050f03d86395ef74435c077b336c7.jpg","text":"TemporaryFile(/tmp/multipartBody4808515673032337536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959594603,"filename":"image_02122025_23_53_05_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/5/a2557f16fb6fea52e364347ea8fd6687.jpg","text":"TemporaryFile(/tmp/multipartBody365359205230372624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959594603,"filename":"image_02122025_23_52_04_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/5/2a5d25c23091ea73ba6becfadaa4ef2f.jpg","text":"TemporaryFile(/tmp/multipartBody7072577010630126905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959594603,"filename":"image_02122025_23_52_55_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f629885c4a901d8d3f7a78633af8138.jpg","text":"TemporaryFile(/tmp/multipartBody4300316569223495737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959594603,"filename":"image_02122025_23_52_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/04ef0720962b4f31447ef27c3536c3dc.jpg","text":"TemporaryFile(/tmp/multipartBody5713566410020669719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959594603,"filename":"image_02122025_23_52_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2cd2d6f5d03b3cf30f70e0dfc9caa27a.jpg","text":"TemporaryFile(/tmp/multipartBody1472767582835806476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959594603,"filename":"image_02122025_23_52_24_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120728","file1":"1398120725","file0":"1398120724","file4":"1398120734","file5":"1398120736","file3":"1398120731"},"map_files_photo_id_array":[{"photo_id":"1398120736","filename":"file5"},{"photo_id":"1398120728","filename":"file2"},{"photo_id":"1398120734","filename":"file4"},{"photo_id":"1398120725","filename":"file1"},{"photo_id":"1398120724","filename":"file0"},{"photo_id":"1398120731","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398120736":["hashtag1","hashtag2"]},{"1398120724":["hashtag1","hashtag2"]},{"1398120734":["hashtag1","hashtag2"]},{"1398120731":["hashtag1","hashtag2"]},{"1398120725":["hashtag1","hashtag2"]},{"1398120728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398120736, 1398120724, 1398120734, 1398120731, 1398120725, 1398120728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.885449171066284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:33:03.331833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/53/image_05122025_18_54_05_9719.jpg', '/home/pi/Desktop/images/05122025/18/54/image_05122025_18_54_14_9649.jpg', '/home/pi/Desktop/images/05122025/18/54/image_05122025_18_54_25_10701.jpg', '/home/pi/Desktop/images/05122025/18/54/image_05122025_18_54_35_9741.jpg', '/home/pi/Desktop/images/05122025/18/54/image_05122025_18_55_05_10769.jpg', '/home/pi/Desktop/images/05122025/18/55/image_05122025_18_55_24_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/53/image_05122025_18_54_05_9719.jpg
/home/pi/Desktop/images/05122025/18/54/image_05122025_18_54_14_9649.jpg
/home/pi/Desktop/images/05122025/18/54/image_05122025_18_54_25_10701.jpg
/home/pi/Desktop/images/05122025/18/54/image_05122025_18_54_35_9741.jpg
/home/pi/Desktop/images/05122025/18/54/image_05122025_18_55_05_10769.jpg
/home/pi/Desktop/images/05122025/18/55/image_05122025_18_55_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":["1398120760","1398120762","1398120756","1398120767","1398120764","1398120758"],"photo_ids_order":["1398120756","1398120758","1398120760","1398120762","1398120764","1398120767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c38bbf191244f278ac4f5af7bbae5d81.jpg","text":"TemporaryFile(/tmp/multipartBody3361042018026990103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959644124,"filename":"image_05122025_18_54_25_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/769a159248416273a2e7486016bbf89e.jpg","text":"TemporaryFile(/tmp/multipartBody835865614147212316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959644124,"filename":"image_05122025_18_54_35_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/5/8fc00ddfd5a0457191873e09758466c2.jpg","text":"TemporaryFile(/tmp/multipartBody4413835319631399743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959644124,"filename":"image_05122025_18_54_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/5/1c1322f2cfacb0d8f5ad470ddbbef930.jpg","text":"TemporaryFile(/tmp/multipartBody4916292246855243942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959644124,"filename":"image_05122025_18_55_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/5/b052ce6048e40a74edb75577545a200c.jpg","text":"TemporaryFile(/tmp/multipartBody1108121646996804079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959644124,"filename":"image_05122025_18_55_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/5/c3d7f238c53700f1a4267856ef4d7cf1.jpg","text":"TemporaryFile(/tmp/multipartBody3345569526225929700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959644124,"filename":"image_05122025_18_54_14_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120760","file1":"1398120758","file0":"1398120756","file4":"1398120764","file5":"1398120767","file3":"1398120762"},"map_files_photo_id_array":[{"photo_id":"1398120767","filename":"file5"},{"photo_id":"1398120760","filename":"file2"},{"photo_id":"1398120764","filename":"file4"},{"photo_id":"1398120758","filename":"file1"},{"photo_id":"1398120756","filename":"file0"},{"photo_id":"1398120762","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120760":["hashtag1","hashtag2"]},{"1398120762":["hashtag1","hashtag2"]},{"1398120756":["hashtag1","hashtag2"]},{"1398120767":["hashtag1","hashtag2"]},{"1398120764":["hashtag1","hashtag2"]},{"1398120758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120760, 1398120762, 1398120756, 1398120767, 1398120764, 1398120758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48007822036743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:33:42.734481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_39_2707.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_44_2563.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_48_3649.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_50_2588.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_54_3658.jpg', '/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_59_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_39_2707.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_44_2563.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_48_3649.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_50_2588.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_54_3658.jpg
/home/pi/Desktop/images/31102025/20/23/image_31102025_20_23_59_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":["1398120778","1398120780","1398120774","1398120777","1398120779","1398120776"],"photo_ids_order":["1398120774","1398120776","1398120777","1398120778","1398120779","1398120780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a80a3b27c0053b31d9a02461462f7a35.jpg","text":"TemporaryFile(/tmp/multipartBody4755175675303920414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959684303,"filename":"image_31102025_20_23_50_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/5/2566a904b1a33186bd8ce19d547556f5.jpg","text":"TemporaryFile(/tmp/multipartBody9207312417944656442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959684303,"filename":"image_31102025_20_23_59_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/5/1c9c3dd72c1990307b40a8a7882fc15b.jpg","text":"TemporaryFile(/tmp/multipartBody3307347313804780846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959684303,"filename":"image_31102025_20_23_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/5/3cfd430516a53489a2723d6b8a268d6a.jpg","text":"TemporaryFile(/tmp/multipartBody8345697407304364636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959684303,"filename":"image_31102025_20_23_48_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/5/d672f2e00b7dabdf2cc7925d64310ca8.jpg","text":"TemporaryFile(/tmp/multipartBody6512393741871455055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959684303,"filename":"image_31102025_20_23_54_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/5/59fc5bb8b3b08e77f75e40bf9e5959fd.jpg","text":"TemporaryFile(/tmp/multipartBody1705386159978419315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959684303,"filename":"image_31102025_20_23_44_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120777","file1":"1398120776","file0":"1398120774","file4":"1398120779","file5":"1398120780","file3":"1398120778"},"map_files_photo_id_array":[{"photo_id":"1398120780","filename":"file5"},{"photo_id":"1398120777","filename":"file2"},{"photo_id":"1398120779","filename":"file4"},{"photo_id":"1398120776","filename":"file1"},{"photo_id":"1398120774","filename":"file0"},{"photo_id":"1398120778","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398120778":["hashtag1","hashtag2"]},{"1398120780":["hashtag1","hashtag2"]},{"1398120774":["hashtag1","hashtag2"]},{"1398120777":["hashtag1","hashtag2"]},{"1398120779":["hashtag1","hashtag2"]},{"1398120776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398120778, 1398120780, 1398120774, 1398120777, 1398120779, 1398120776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88701868057251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:34:21.900202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/55/image_05122025_18_55_34_9724.jpg', '/home/pi/Desktop/images/05122025/18/55/image_05122025_18_55_45_10697.jpg', '/home/pi/Desktop/images/05122025/18/55/image_05122025_18_56_04_9644.jpg', '/home/pi/Desktop/images/05122025/18/56/image_05122025_18_56_15_10623.jpg', '/home/pi/Desktop/images/05122025/18/56/image_05122025_18_56_24_9618.jpg', '/home/pi/Desktop/images/05122025/18/56/image_05122025_18_56_34_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/55/image_05122025_18_55_34_9724.jpg
/home/pi/Desktop/images/05122025/18/55/image_05122025_18_55_45_10697.jpg
/home/pi/Desktop/images/05122025/18/55/image_05122025_18_56_04_9644.jpg
/home/pi/Desktop/images/05122025/18/56/image_05122025_18_56_15_10623.jpg
/home/pi/Desktop/images/05122025/18/56/image_05122025_18_56_24_9618.jpg
/home/pi/Desktop/images/05122025/18/56/image_05122025_18_56_34_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120799","1398120790","1398120792","1398120785","1398120788","1398120806"],"photo_ids_order":["1398120785","1398120788","1398120790","1398120792","1398120799","1398120806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4e00242353c2ad436dfd8fdb1453144.jpg","text":"TemporaryFile(/tmp/multipartBody2294073016860018184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959722620,"filename":"image_05122025_18_56_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/5/f18c6d0f6d1da219a98949b64a69d858.jpg","text":"TemporaryFile(/tmp/multipartBody2259613873339985062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959722620,"filename":"image_05122025_18_56_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/5/d193e4aaeec527e66cfcc6657e055eb6.jpg","text":"TemporaryFile(/tmp/multipartBody8998723394149718948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959722620,"filename":"image_05122025_18_56_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/5/54426ba5fd3b86b273dcf4d16005e52b.jpg","text":"TemporaryFile(/tmp/multipartBody7190589312780104596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959722620,"filename":"image_05122025_18_55_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/5/efd5cd2dd97274edc394ac4cde34126a.jpg","text":"TemporaryFile(/tmp/multipartBody1812424547799979675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959722620,"filename":"image_05122025_18_55_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/5/bcf81fb3843ebb5f61bd9204be272fab.jpg","text":"TemporaryFile(/tmp/multipartBody8862376065830568202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959722620,"filename":"image_05122025_18_56_34_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120790","file1":"1398120788","file0":"1398120785","file4":"1398120799","file5":"1398120806","file3":"1398120792"},"map_files_photo_id_array":[{"photo_id":"1398120806","filename":"file5"},{"photo_id":"1398120790","filename":"file2"},{"photo_id":"1398120799","filename":"file4"},{"photo_id":"1398120788","filename":"file1"},{"photo_id":"1398120785","filename":"file0"},{"photo_id":"1398120792","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120799":["hashtag1","hashtag2"]},{"1398120790":["hashtag1","hashtag2"]},{"1398120792":["hashtag1","hashtag2"]},{"1398120785":["hashtag1","hashtag2"]},{"1398120788":["hashtag1","hashtag2"]},{"1398120806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120799, 1398120790, 1398120792, 1398120785, 1398120788, 1398120806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55150580406189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:35:02.629822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/56/image_05122025_18_56_45_10661.jpg', '/home/pi/Desktop/images/05122025/18/57/image_05122025_18_57_15_10646.jpg', '/home/pi/Desktop/images/05122025/18/57/image_05122025_18_57_24_9588.jpg', '/home/pi/Desktop/images/05122025/18/57/image_05122025_18_57_45_10608.jpg', '/home/pi/Desktop/images/05122025/18/57/image_05122025_18_57_54_9674.jpg', '/home/pi/Desktop/images/05122025/18/57/image_05122025_18_58_04_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/56/image_05122025_18_56_45_10661.jpg
/home/pi/Desktop/images/05122025/18/57/image_05122025_18_57_15_10646.jpg
/home/pi/Desktop/images/05122025/18/57/image_05122025_18_57_24_9588.jpg
/home/pi/Desktop/images/05122025/18/57/image_05122025_18_57_45_10608.jpg
/home/pi/Desktop/images/05122025/18/57/image_05122025_18_57_54_9674.jpg
/home/pi/Desktop/images/05122025/18/57/image_05122025_18_58_04_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120820","1398120817","1398120810","1398120813","1398120815","1398120809"],"photo_ids_order":["1398120809","1398120810","1398120813","1398120815","1398120817","1398120820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e97f990f7c8f91fd5bb841cb4c81b69.jpg","text":"TemporaryFile(/tmp/multipartBody5583607600329055679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959763466,"filename":"image_05122025_18_58_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/5/3da4cc844b8123ef4a19bc53fb86f580.jpg","text":"TemporaryFile(/tmp/multipartBody6639033285161807209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959763466,"filename":"image_05122025_18_57_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/5/f75997ad9dbae9acd27fc892e5997fc5.jpg","text":"TemporaryFile(/tmp/multipartBody8649571808963753418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959763466,"filename":"image_05122025_18_57_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/5/fc126909eb5ddd1d17f1678b94964397.jpg","text":"TemporaryFile(/tmp/multipartBody2505211128745995621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959763466,"filename":"image_05122025_18_57_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/5/f55ec893b555372e873276472dc2eea4.jpg","text":"TemporaryFile(/tmp/multipartBody707651263299188323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959763466,"filename":"image_05122025_18_57_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3b1df3508b86b1ba6f0a9c3b9f5d29bc.jpg","text":"TemporaryFile(/tmp/multipartBody13843982804554580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959763466,"filename":"image_05122025_18_56_45_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120813","file1":"1398120810","file0":"1398120809","file4":"1398120817","file5":"1398120820","file3":"1398120815"},"map_files_photo_id_array":[{"photo_id":"1398120820","filename":"file5"},{"photo_id":"1398120813","filename":"file2"},{"photo_id":"1398120817","filename":"file4"},{"photo_id":"1398120810","filename":"file1"},{"photo_id":"1398120809","filename":"file0"},{"photo_id":"1398120815","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120820":["hashtag1","hashtag2"]},{"1398120817":["hashtag1","hashtag2"]},{"1398120810":["hashtag1","hashtag2"]},{"1398120813":["hashtag1","hashtag2"]},{"1398120815":["hashtag1","hashtag2"]},{"1398120809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120820, 1398120817, 1398120810, 1398120813, 1398120815, 1398120809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07362174987793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:35:42.127663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_03_3565.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_08_2555.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_12_3740.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_14_2555.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_18_3618.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_21_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_03_3565.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_08_2555.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_12_3740.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_14_2555.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_18_3618.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_21_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":["1398120832","1398120826","1398120825","1398120834","1398120833","1398120836"],"photo_ids_order":["1398120825","1398120826","1398120832","1398120833","1398120834","1398120836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/00ffbd699ec5eee4ce8456e8c0b7e23e.jpg","text":"TemporaryFile(/tmp/multipartBody3100555335702875180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959803809,"filename":"image_31102025_20_24_12_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/5/d753aeae3d67a56f78bea01728f0072d.jpg","text":"TemporaryFile(/tmp/multipartBody6395256367112473102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959803809,"filename":"image_31102025_20_24_08_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/5/24564e132070ff3eaddcdc47e9de4651.jpg","text":"TemporaryFile(/tmp/multipartBody8190212422641404252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959803809,"filename":"image_31102025_20_24_03_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/5/d0408b45f7e30247e1c1f80e1e05de87.jpg","text":"TemporaryFile(/tmp/multipartBody4571617772796544843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959803809,"filename":"image_31102025_20_24_18_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/5/efd229b116dbf0311c84c3c5b2d3dbcf.jpg","text":"TemporaryFile(/tmp/multipartBody1403096788529016415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959803809,"filename":"image_31102025_20_24_14_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/5/04f0344e67d8987070566cc5cfe40b74.jpg","text":"TemporaryFile(/tmp/multipartBody3071933444074315496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959803809,"filename":"image_31102025_20_24_21_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120832","file1":"1398120826","file0":"1398120825","file4":"1398120834","file5":"1398120836","file3":"1398120833"},"map_files_photo_id_array":[{"photo_id":"1398120836","filename":"file5"},{"photo_id":"1398120832","filename":"file2"},{"photo_id":"1398120834","filename":"file4"},{"photo_id":"1398120826","filename":"file1"},{"photo_id":"1398120825","filename":"file0"},{"photo_id":"1398120833","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398120832":["hashtag1","hashtag2"]},{"1398120826":["hashtag1","hashtag2"]},{"1398120825":["hashtag1","hashtag2"]},{"1398120834":["hashtag1","hashtag2"]},{"1398120833":["hashtag1","hashtag2"]},{"1398120836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398120832, 1398120826, 1398120825, 1398120834, 1398120833, 1398120836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33871579170227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:36:22.313089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/58/image_05122025_18_58_15_10593.jpg', '/home/pi/Desktop/images/05122025/18/58/image_05122025_18_58_24_9710.jpg', '/home/pi/Desktop/images/05122025/18/58/image_05122025_18_58_34_9602.jpg', '/home/pi/Desktop/images/05122025/18/58/image_05122025_18_58_45_10805.jpg', '/home/pi/Desktop/images/05122025/18/58/image_05122025_18_58_54_9692.jpg', '/home/pi/Desktop/images/05122025/18/58/image_05122025_18_59_04_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/58/image_05122025_18_58_15_10593.jpg
/home/pi/Desktop/images/05122025/18/58/image_05122025_18_58_24_9710.jpg
/home/pi/Desktop/images/05122025/18/58/image_05122025_18_58_34_9602.jpg
/home/pi/Desktop/images/05122025/18/58/image_05122025_18_58_45_10805.jpg
/home/pi/Desktop/images/05122025/18/58/image_05122025_18_58_54_9692.jpg
/home/pi/Desktop/images/05122025/18/58/image_05122025_18_59_04_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":["1398120844","1398120840","1398120846","1398120851","1398120848","1398120842"],"photo_ids_order":["1398120840","1398120842","1398120844","1398120846","1398120848","1398120851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94c372cf1f5a90761c318bf625774350.jpg","text":"TemporaryFile(/tmp/multipartBody967836205167793222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959843056,"filename":"image_05122025_18_58_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/5/da6a658523e070fdb4d3d78c7c81aab1.jpg","text":"TemporaryFile(/tmp/multipartBody2303467937651843538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959843056,"filename":"image_05122025_18_58_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/5/4a46924716d292bf307024024228dd82.jpg","text":"TemporaryFile(/tmp/multipartBody7401704005597791455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959843056,"filename":"image_05122025_18_58_45_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/258ec2904c767df23531fd894d95f911.jpg","text":"TemporaryFile(/tmp/multipartBody3295761171715616654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959843056,"filename":"image_05122025_18_59_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/5/59ee31ac1054d85980c28258c0f66604.jpg","text":"TemporaryFile(/tmp/multipartBody3299415863038595493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959843056,"filename":"image_05122025_18_58_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/5/2a52d625b868ff9a1e7598c22d407ed1.jpg","text":"TemporaryFile(/tmp/multipartBody3437077917820709070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959843056,"filename":"image_05122025_18_58_24_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120844","file1":"1398120842","file0":"1398120840","file4":"1398120848","file5":"1398120851","file3":"1398120846"},"map_files_photo_id_array":[{"photo_id":"1398120851","filename":"file5"},{"photo_id":"1398120844","filename":"file2"},{"photo_id":"1398120848","filename":"file4"},{"photo_id":"1398120842","filename":"file1"},{"photo_id":"1398120840","filename":"file0"},{"photo_id":"1398120846","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120844":["hashtag1","hashtag2"]},{"1398120840":["hashtag1","hashtag2"]},{"1398120846":["hashtag1","hashtag2"]},{"1398120851":["hashtag1","hashtag2"]},{"1398120848":["hashtag1","hashtag2"]},{"1398120842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120844, 1398120840, 1398120846, 1398120851, 1398120848, 1398120842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3870005607605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:37:03.148752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/18/59/image_05122025_18_59_25_10573.jpg', '/home/pi/Desktop/images/05122025/18/59/image_05122025_18_59_34_9707.jpg', '/home/pi/Desktop/images/05122025/18/59/image_05122025_18_59_44_9729.jpg', '/home/pi/Desktop/images/05122025/18/59/image_05122025_18_59_55_10684.jpg', '/home/pi/Desktop/images/05122025/19/00/image_05122025_19_00_25_10631.jpg', '/home/pi/Desktop/images/05122025/19/00/image_05122025_19_00_35_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/18/59/image_05122025_18_59_25_10573.jpg
/home/pi/Desktop/images/05122025/18/59/image_05122025_18_59_34_9707.jpg
/home/pi/Desktop/images/05122025/18/59/image_05122025_18_59_44_9729.jpg
/home/pi/Desktop/images/05122025/18/59/image_05122025_18_59_55_10684.jpg
/home/pi/Desktop/images/05122025/19/00/image_05122025_19_00_25_10631.jpg
/home/pi/Desktop/images/05122025/19/00/image_05122025_19_00_35_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120883","1398120868","1398120864","1398120858","1398120866","1398120874"],"photo_ids_order":["1398120858","1398120864","1398120866","1398120868","1398120874","1398120883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1975718c6a095b66ffbc18a90c199ecd.jpg","text":"TemporaryFile(/tmp/multipartBody8222793241427366413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959883957,"filename":"image_05122025_19_00_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c2410716622b7127a64e8926fecd838.jpg","text":"TemporaryFile(/tmp/multipartBody4381412270806515492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959883957,"filename":"image_05122025_18_59_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/5/bc642aa6e9238b0862b1ee6f6121870b.jpg","text":"TemporaryFile(/tmp/multipartBody7615193108688429512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959883957,"filename":"image_05122025_18_59_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/5/df5da447fc2355840fcc76ee85f83b33.jpg","text":"TemporaryFile(/tmp/multipartBody7678358146087809558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959883957,"filename":"image_05122025_18_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/5/6e30f25b6ea39ddb6381b92f25c3ac28.jpg","text":"TemporaryFile(/tmp/multipartBody2166937500191917716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959883957,"filename":"image_05122025_18_59_44_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f5a89401cb2429a7a09669d2b482e7b8.jpg","text":"TemporaryFile(/tmp/multipartBody2357104778992334985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959883957,"filename":"image_05122025_19_00_25_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120866","file1":"1398120864","file0":"1398120858","file4":"1398120874","file5":"1398120883","file3":"1398120868"},"map_files_photo_id_array":[{"photo_id":"1398120883","filename":"file5"},{"photo_id":"1398120866","filename":"file2"},{"photo_id":"1398120874","filename":"file4"},{"photo_id":"1398120864","filename":"file1"},{"photo_id":"1398120858","filename":"file0"},{"photo_id":"1398120868","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120883":["hashtag1","hashtag2"]},{"1398120868":["hashtag1","hashtag2"]},{"1398120864":["hashtag1","hashtag2"]},{"1398120858":["hashtag1","hashtag2"]},{"1398120866":["hashtag1","hashtag2"]},{"1398120874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120883, 1398120868, 1398120864, 1398120858, 1398120866, 1398120874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94875431060791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:37:42.490619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_23_2595.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_27_3571.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_29_2598.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_32_2651.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_38_2627.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_41_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_23_2595.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_27_3571.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_29_2598.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_32_2651.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_38_2627.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_41_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":["1398120891","1398120894","1398120896","1398120893","1398120892","1398120889"],"photo_ids_order":["1398120889","1398120891","1398120892","1398120893","1398120894","1398120896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ca30c241d8f06283e2976bcbbdb8f7d5.jpg","text":"TemporaryFile(/tmp/multipartBody5537288625547839473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959924070,"filename":"image_31102025_20_24_27_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/5/bdf10685d6c780b5c1cd84ccb8b32caf.jpg","text":"TemporaryFile(/tmp/multipartBody54837452997743304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959924070,"filename":"image_31102025_20_24_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/5/e08c0c9fd5caf6bf8a19d0df7f054602.jpg","text":"TemporaryFile(/tmp/multipartBody5980233254741783040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959924070,"filename":"image_31102025_20_24_41_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/5/8a8fb9dd0144e66fa5047fc56aaafa59.jpg","text":"TemporaryFile(/tmp/multipartBody7395930249662508457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959924070,"filename":"image_31102025_20_24_32_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/889aff3000c2b924c147b3a5c28b9cec.jpg","text":"TemporaryFile(/tmp/multipartBody7290145006203199945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959924070,"filename":"image_31102025_20_24_29_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/5/1ce4d3a1ee7d136516673abc3a0f9b4c.jpg","text":"TemporaryFile(/tmp/multipartBody3099820816619349034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959924070,"filename":"image_31102025_20_24_23_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120892","file1":"1398120891","file0":"1398120889","file4":"1398120894","file5":"1398120896","file3":"1398120893"},"map_files_photo_id_array":[{"photo_id":"1398120896","filename":"file5"},{"photo_id":"1398120892","filename":"file2"},{"photo_id":"1398120894","filename":"file4"},{"photo_id":"1398120891","filename":"file1"},{"photo_id":"1398120889","filename":"file0"},{"photo_id":"1398120893","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398120891":["hashtag1","hashtag2"]},{"1398120894":["hashtag1","hashtag2"]},{"1398120896":["hashtag1","hashtag2"]},{"1398120893":["hashtag1","hashtag2"]},{"1398120892":["hashtag1","hashtag2"]},{"1398120889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398120891, 1398120894, 1398120896, 1398120893, 1398120892, 1398120889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.866063594818115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:38:22.662781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/00/image_05122025_19_00_46_10630.jpg', '/home/pi/Desktop/images/05122025/19/01/image_05122025_19_01_35_9561.jpg', '/home/pi/Desktop/images/05122025/19/01/image_05122025_19_02_05_9589.jpg', '/home/pi/Desktop/images/05122025/19/02/image_05122025_19_02_45_9590.jpg', '/home/pi/Desktop/images/05122025/19/02/image_05122025_19_02_55_9701.jpg', '/home/pi/Desktop/images/05122025/19/02/image_05122025_19_03_06_10888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/00/image_05122025_19_00_46_10630.jpg
/home/pi/Desktop/images/05122025/19/01/image_05122025_19_01_35_9561.jpg
/home/pi/Desktop/images/05122025/19/01/image_05122025_19_02_05_9589.jpg
/home/pi/Desktop/images/05122025/19/02/image_05122025_19_02_45_9590.jpg
/home/pi/Desktop/images/05122025/19/02/image_05122025_19_02_55_9701.jpg
/home/pi/Desktop/images/05122025/19/02/image_05122025_19_03_06_10888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120910","1398120922","1398120901","1398120903","1398120899","1398120905"],"photo_ids_order":["1398120899","1398120901","1398120903","1398120905","1398120910","1398120922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/184073d17eaecd8e780601d4059b8cab.jpg","text":"TemporaryFile(/tmp/multipartBody4773814978962849811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959963437,"filename":"image_05122025_19_02_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/5/283c401a0565c3ebc3843ff8c0d32c30.jpg","text":"TemporaryFile(/tmp/multipartBody2756858668135034093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959963437,"filename":"image_05122025_19_03_06_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/5/0599462c636dee5a41e30cec357bb995.jpg","text":"TemporaryFile(/tmp/multipartBody6808774549865873619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959963437,"filename":"image_05122025_19_01_35_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/5/cbb126edee258b9400b54a99c86d40bd.jpg","text":"TemporaryFile(/tmp/multipartBody6760923034362190506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959963437,"filename":"image_05122025_19_02_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/5/0361706d159119fcc4bb40fcbfda24fb.jpg","text":"TemporaryFile(/tmp/multipartBody6464689607579035246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959963437,"filename":"image_05122025_19_00_46_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/5/1a4b549320b0b9bc056370072b1f8a7d.jpg","text":"TemporaryFile(/tmp/multipartBody1621653696801801559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764959963437,"filename":"image_05122025_19_02_45_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120903","file1":"1398120901","file0":"1398120899","file4":"1398120910","file5":"1398120922","file3":"1398120905"},"map_files_photo_id_array":[{"photo_id":"1398120922","filename":"file5"},{"photo_id":"1398120903","filename":"file2"},{"photo_id":"1398120910","filename":"file4"},{"photo_id":"1398120901","filename":"file1"},{"photo_id":"1398120899","filename":"file0"},{"photo_id":"1398120905","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120910":["hashtag1","hashtag2"]},{"1398120922":["hashtag1","hashtag2"]},{"1398120901":["hashtag1","hashtag2"]},{"1398120903":["hashtag1","hashtag2"]},{"1398120899":["hashtag1","hashtag2"]},{"1398120905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120910, 1398120922, 1398120901, 1398120903, 1398120899, 1398120905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.903260469436646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:39:03.812224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/03/image_05122025_19_03_15_9728.jpg', '/home/pi/Desktop/images/05122025/19/03/image_05122025_19_03_25_9681.jpg', '/home/pi/Desktop/images/05122025/19/03/image_05122025_19_03_35_9821.jpg', '/home/pi/Desktop/images/05122025/19/03/image_05122025_19_04_05_9745.jpg', '/home/pi/Desktop/images/05122025/19/04/image_05122025_19_04_15_9674.jpg', '/home/pi/Desktop/images/05122025/19/04/image_05122025_19_04_25_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/03/image_05122025_19_03_15_9728.jpg
/home/pi/Desktop/images/05122025/19/03/image_05122025_19_03_25_9681.jpg
/home/pi/Desktop/images/05122025/19/03/image_05122025_19_03_35_9821.jpg
/home/pi/Desktop/images/05122025/19/03/image_05122025_19_04_05_9745.jpg
/home/pi/Desktop/images/05122025/19/04/image_05122025_19_04_15_9674.jpg
/home/pi/Desktop/images/05122025/19/04/image_05122025_19_04_25_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120934","1398120942","1398120936","1398120939","1398120924","1398120932"],"photo_ids_order":["1398120924","1398120932","1398120934","1398120936","1398120939","1398120942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f8a7f298eb1d02ecd20e3c7727cc72a9.jpg","text":"TemporaryFile(/tmp/multipartBody8840075582583780761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960004807,"filename":"image_05122025_19_03_35_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/5/ad9b105cdf7f3cff0b95de9fb36510b3.jpg","text":"TemporaryFile(/tmp/multipartBody7624090758967903018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960004807,"filename":"image_05122025_19_04_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/5/1beeec3b5ad53d2c63a8c362b2397286.jpg","text":"TemporaryFile(/tmp/multipartBody9220914969571748468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960004807,"filename":"image_05122025_19_04_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/5/2fa100f25aee37e56214adcc79775f68.jpg","text":"TemporaryFile(/tmp/multipartBody6995047710865545096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960004807,"filename":"image_05122025_19_04_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/39beebb155a0e4d16da517ce97ddea5b.jpg","text":"TemporaryFile(/tmp/multipartBody3006253915602649321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960004807,"filename":"image_05122025_19_03_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/5/e1c8a3f89bdfc65e34ac82b2bef8741f.jpg","text":"TemporaryFile(/tmp/multipartBody518167997169906862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960004807,"filename":"image_05122025_19_03_25_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120934","file1":"1398120932","file0":"1398120924","file4":"1398120939","file5":"1398120942","file3":"1398120936"},"map_files_photo_id_array":[{"photo_id":"1398120942","filename":"file5"},{"photo_id":"1398120934","filename":"file2"},{"photo_id":"1398120939","filename":"file4"},{"photo_id":"1398120932","filename":"file1"},{"photo_id":"1398120924","filename":"file0"},{"photo_id":"1398120936","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398120934":["hashtag1","hashtag2"]},{"1398120942":["hashtag1","hashtag2"]},{"1398120936":["hashtag1","hashtag2"]},{"1398120939":["hashtag1","hashtag2"]},{"1398120924":["hashtag1","hashtag2"]},{"1398120932":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398120934, 1398120942, 1398120936, 1398120939, 1398120924, 1398120932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59642577171326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:39:42.824203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_45_3696.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_47_2608.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_51_3476.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_54_2717.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_56_2670.jpg', '/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_59_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_45_3696.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_47_2608.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_51_3476.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_54_2717.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_56_2670.jpg
/home/pi/Desktop/images/31102025/20/24/image_31102025_20_24_59_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":["1398120952","1398120946","1398120960","1398120948","1398120959","1398120947"],"photo_ids_order":["1398120946","1398120947","1398120948","1398120952","1398120959","1398120960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d4342d24ee003acd43b8f13b06ec1531.jpg","text":"TemporaryFile(/tmp/multipartBody491743528128521186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960044398,"filename":"image_31102025_20_24_54_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/5/c7d827286e6e3ea4f2484041db160963.jpg","text":"TemporaryFile(/tmp/multipartBody6992024630953100450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960044398,"filename":"image_31102025_20_24_45_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/5/487f55ae07beb528a662813feed15603.jpg","text":"TemporaryFile(/tmp/multipartBody3132333688094079137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960044398,"filename":"image_31102025_20_24_59_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/5/87460e8b3d7b23d475a596b19c51f98d.jpg","text":"TemporaryFile(/tmp/multipartBody264971472588793223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960044398,"filename":"image_31102025_20_24_51_3476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d1edd0f1fe322c9a2192c0737ac36da7.jpg","text":"TemporaryFile(/tmp/multipartBody3432061969971043784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960044398,"filename":"image_31102025_20_24_56_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/5/813ba8cff91c0b9e21350ef27cff8174.jpg","text":"TemporaryFile(/tmp/multipartBody208721820076445232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960044398,"filename":"image_31102025_20_24_47_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120948","file1":"1398120947","file0":"1398120946","file4":"1398120959","file5":"1398120960","file3":"1398120952"},"map_files_photo_id_array":[{"photo_id":"1398120960","filename":"file5"},{"photo_id":"1398120948","filename":"file2"},{"photo_id":"1398120959","filename":"file4"},{"photo_id":"1398120947","filename":"file1"},{"photo_id":"1398120946","filename":"file0"},{"photo_id":"1398120952","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398120952":["hashtag1","hashtag2"]},{"1398120946":["hashtag1","hashtag2"]},{"1398120960":["hashtag1","hashtag2"]},{"1398120948":["hashtag1","hashtag2"]},{"1398120959":["hashtag1","hashtag2"]},{"1398120947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398120952, 1398120946, 1398120960, 1398120948, 1398120959, 1398120947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.134767055511475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:40:22.019462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/04/image_05122025_19_04_45_9768.jpg', '/home/pi/Desktop/images/05122025/19/04/image_05122025_19_05_05_9772.jpg', '/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_15_10648.jpg', '/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_46_10679.jpg', '/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_55_9690.jpg', '/home/pi/Desktop/images/05122025/19/05/image_05122025_19_06_05_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/04/image_05122025_19_04_45_9768.jpg
/home/pi/Desktop/images/05122025/19/04/image_05122025_19_05_05_9772.jpg
/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_15_10648.jpg
/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_46_10679.jpg
/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_55_9690.jpg
/home/pi/Desktop/images/05122025/19/05/image_05122025_19_06_05_9739.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6287558078765869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 19:40:32.023193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/53/image_02122025_23_53_15_9988.jpg', '/home/pi/Desktop/images/02122025/23/53/image_02122025_23_53_25_10083.jpg', '/home/pi/Desktop/images/02122025/23/53/image_02122025_23_53_44_10048.jpg', '/home/pi/Desktop/images/02122025/23/53/image_02122025_23_53_54_9623.jpg', '/home/pi/Desktop/images/02122025/23/53/image_02122025_23_54_04_10113.jpg', '/home/pi/Desktop/images/02122025/23/54/image_02122025_23_54_34_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/53/image_02122025_23_53_15_9988.jpg
/home/pi/Desktop/images/02122025/23/53/image_02122025_23_53_25_10083.jpg
/home/pi/Desktop/images/02122025/23/53/image_02122025_23_53_44_10048.jpg
/home/pi/Desktop/images/02122025/23/53/image_02122025_23_53_54_9623.jpg
/home/pi/Desktop/images/02122025/23/53/image_02122025_23_54_04_10113.jpg
/home/pi/Desktop/images/02122025/23/54/image_02122025_23_54_34_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398120982","1398120990","1398120992","1398120986","1398120988","1398120973"],"photo_ids_order":["1398120973","1398120982","1398120986","1398120988","1398120990","1398120992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9dae270400fb1b51929566889cbd3ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7854951797980876008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960094156,"filename":"image_02122025_23_53_25_10083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d95ab3472433d408029362a3589e71e3.jpg","text":"TemporaryFile(/tmp/multipartBody2416405682726011771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960094156,"filename":"image_02122025_23_54_04_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/5/112b7d4401d7f1bda4f723b35fd2d427.jpg","text":"TemporaryFile(/tmp/multipartBody5343934311809661442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960094156,"filename":"image_02122025_23_54_34_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4e40bb7c3bb33912a76ed6dd1ec6c23a.jpg","text":"TemporaryFile(/tmp/multipartBody4770854882871665620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960094156,"filename":"image_02122025_23_53_44_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f981a50ba7ecb571fd74b19c8c19ab4b.jpg","text":"TemporaryFile(/tmp/multipartBody5103252331114423067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960094156,"filename":"image_02122025_23_53_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/5/b43e007344cc262f2713c9196cd0c7da.jpg","text":"TemporaryFile(/tmp/multipartBody2269502761201774198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960094156,"filename":"image_02122025_23_53_15_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398120986","file1":"1398120982","file0":"1398120973","file4":"1398120990","file5":"1398120992","file3":"1398120988"},"map_files_photo_id_array":[{"photo_id":"1398120992","filename":"file5"},{"photo_id":"1398120986","filename":"file2"},{"photo_id":"1398120990","filename":"file4"},{"photo_id":"1398120982","filename":"file1"},{"photo_id":"1398120973","filename":"file0"},{"photo_id":"1398120988","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398120982":["hashtag1","hashtag2"]},{"1398120990":["hashtag1","hashtag2"]},{"1398120992":["hashtag1","hashtag2"]},{"1398120986":["hashtag1","hashtag2"]},{"1398120988":["hashtag1","hashtag2"]},{"1398120973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398120982, 1398120990, 1398120992, 1398120986, 1398120988, 1398120973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22278308868408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 19:41:12.251063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/55/image_02122025_23_55_34_9555.jpg', '/home/pi/Desktop/images/02122025/23/55/image_02122025_23_55_45_10724.jpg', '/home/pi/Desktop/images/02122025/23/55/image_02122025_23_55_54_9842.jpg', '/home/pi/Desktop/images/02122025/23/56/image_02122025_23_56_25_10688.jpg', '/home/pi/Desktop/images/02122025/23/57/image_02122025_23_58_04_9701.jpg', '/home/pi/Desktop/images/02122025/23/58/image_02122025_23_58_14_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/55/image_02122025_23_55_34_9555.jpg
/home/pi/Desktop/images/02122025/23/55/image_02122025_23_55_45_10724.jpg
/home/pi/Desktop/images/02122025/23/55/image_02122025_23_55_54_9842.jpg
/home/pi/Desktop/images/02122025/23/56/image_02122025_23_56_25_10688.jpg
/home/pi/Desktop/images/02122025/23/57/image_02122025_23_58_04_9701.jpg
/home/pi/Desktop/images/02122025/23/58/image_02122025_23_58_14_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398121111","1398121114","1398121108","1398121080","1398121093","1398121087"],"photo_ids_order":["1398121080","1398121087","1398121093","1398121108","1398121111","1398121114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/336d5dd5809f8e8f721b1f3c774450df.jpg","text":"TemporaryFile(/tmp/multipartBody4799081319221330168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960134289,"filename":"image_02122025_23_58_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/5/e7f92a34928ed1863f11a8dade78a4f4.jpg","text":"TemporaryFile(/tmp/multipartBody5389131709730793339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960134289,"filename":"image_02122025_23_58_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/5/4b534f520a08b471a5883be165a0bb48.jpg","text":"TemporaryFile(/tmp/multipartBody1098548632278342128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960134289,"filename":"image_02122025_23_56_25_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/19feaad4f310ee894c12291ebc290e6e.jpg","text":"TemporaryFile(/tmp/multipartBody7971351384179086047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960134289,"filename":"image_02122025_23_55_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/5/4538aaa54260138eb4bc60cd527c9b45.jpg","text":"TemporaryFile(/tmp/multipartBody2652937237887308384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960134289,"filename":"image_02122025_23_55_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/5/4ec62191ecfa7d682e2c47f8addcadc7.jpg","text":"TemporaryFile(/tmp/multipartBody5991115801371393568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960134289,"filename":"image_02122025_23_55_45_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121093","file1":"1398121087","file0":"1398121080","file4":"1398121111","file5":"1398121114","file3":"1398121108"},"map_files_photo_id_array":[{"photo_id":"1398121114","filename":"file5"},{"photo_id":"1398121093","filename":"file2"},{"photo_id":"1398121111","filename":"file4"},{"photo_id":"1398121087","filename":"file1"},{"photo_id":"1398121080","filename":"file0"},{"photo_id":"1398121108","filename":"file3"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398121111":["hashtag1","hashtag2"]},{"1398121114":["hashtag1","hashtag2"]},{"1398121108":["hashtag1","hashtag2"]},{"1398121080":["hashtag1","hashtag2"]},{"1398121093":["hashtag1","hashtag2"]},{"1398121087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398121111, 1398121114, 1398121108, 1398121080, 1398121093, 1398121087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63568139076233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:42:02.876271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/04/image_05122025_19_04_45_9768.jpg', '/home/pi/Desktop/images/05122025/19/04/image_05122025_19_05_05_9772.jpg', '/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_15_10648.jpg', '/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_46_10679.jpg', '/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_55_9690.jpg', '/home/pi/Desktop/images/05122025/19/05/image_05122025_19_06_05_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/04/image_05122025_19_04_45_9768.jpg
/home/pi/Desktop/images/05122025/19/04/image_05122025_19_05_05_9772.jpg
/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_15_10648.jpg
/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_46_10679.jpg
/home/pi/Desktop/images/05122025/19/05/image_05122025_19_05_55_9690.jpg
/home/pi/Desktop/images/05122025/19/05/image_05122025_19_06_05_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398121120","1398121122","1398121116","1398121124","1398121127","1398121118"],"photo_ids_order":["1398121116","1398121118","1398121120","1398121122","1398121124","1398121127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1e4c030aa99c923ee8a338297496ae19.jpg","text":"TemporaryFile(/tmp/multipartBody6796243131287747054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960183684,"filename":"image_05122025_19_05_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/5/eda1fb85e71792c706b746376867f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody411542009753062018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960183684,"filename":"image_05122025_19_05_46_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/5/464b3387d9491b86149f3f6679a151a0.jpg","text":"TemporaryFile(/tmp/multipartBody1905030166226768265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960183684,"filename":"image_05122025_19_04_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/5/d664907b0ea7f4bd157c90dffdb78ac8.jpg","text":"TemporaryFile(/tmp/multipartBody4848533856803734477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960183684,"filename":"image_05122025_19_05_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/5/c3d1301b2b19f53a9fe4efadd17feb51.jpg","text":"TemporaryFile(/tmp/multipartBody2898085664360041738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960183684,"filename":"image_05122025_19_06_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/5/0e455e50c41b741e3f4e0bdb239d3b58.jpg","text":"TemporaryFile(/tmp/multipartBody6406844967823540928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960183684,"filename":"image_05122025_19_05_05_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121120","file1":"1398121118","file0":"1398121116","file4":"1398121124","file5":"1398121127","file3":"1398121122"},"map_files_photo_id_array":[{"photo_id":"1398121127","filename":"file5"},{"photo_id":"1398121120","filename":"file2"},{"photo_id":"1398121124","filename":"file4"},{"photo_id":"1398121118","filename":"file1"},{"photo_id":"1398121116","filename":"file0"},{"photo_id":"1398121122","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398121120":["hashtag1","hashtag2"]},{"1398121122":["hashtag1","hashtag2"]},{"1398121116":["hashtag1","hashtag2"]},{"1398121124":["hashtag1","hashtag2"]},{"1398121127":["hashtag1","hashtag2"]},{"1398121118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398121120, 1398121122, 1398121116, 1398121124, 1398121127, 1398121118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60564684867859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:42:42.416026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_03_3642.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_06_2890.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_12_3633.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_15_2661.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_17_2773.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_21_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_03_3642.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_06_2890.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_12_3633.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_15_2661.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_17_2773.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_21_3579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4667515754699707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:43:03.279446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/06/image_05122025_19_06_15_9812.jpg', '/home/pi/Desktop/images/05122025/19/06/image_05122025_19_06_26_10683.jpg', '/home/pi/Desktop/images/05122025/19/06/image_05122025_19_06_35_9198.jpg', '/home/pi/Desktop/images/05122025/19/06/image_05122025_19_06_45_10628.jpg', '/home/pi/Desktop/images/05122025/19/06/image_05122025_19_06_55_9816.jpg', '/home/pi/Desktop/images/05122025/19/07/image_05122025_19_07_15_9987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/06/image_05122025_19_06_15_9812.jpg
/home/pi/Desktop/images/05122025/19/06/image_05122025_19_06_26_10683.jpg
/home/pi/Desktop/images/05122025/19/06/image_05122025_19_06_35_9198.jpg
/home/pi/Desktop/images/05122025/19/06/image_05122025_19_06_45_10628.jpg
/home/pi/Desktop/images/05122025/19/06/image_05122025_19_06_55_9816.jpg
/home/pi/Desktop/images/05122025/19/07/image_05122025_19_07_15_9987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398121191","1398121193","1398121187","1398121196","1398121181","1398121189"],"photo_ids_order":["1398121181","1398121187","1398121189","1398121191","1398121193","1398121196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/283d565f2ab03d33f2cfa0b2f7d26d29.jpg","text":"TemporaryFile(/tmp/multipartBody6860347106509395899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960244084,"filename":"image_05122025_19_06_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9823a8c69eb7e2798daff5acd5e9090e.jpg","text":"TemporaryFile(/tmp/multipartBody1995074974070873324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960244084,"filename":"image_05122025_19_06_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/5/79ec31e086787c9ce7c7b9245c30038f.jpg","text":"TemporaryFile(/tmp/multipartBody4186568066016875405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960244084,"filename":"image_05122025_19_06_26_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/5/e3670db5c42afae2f066fb9f40d7e2d9.jpg","text":"TemporaryFile(/tmp/multipartBody8093047013438083880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960244084,"filename":"image_05122025_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/5/06f30b1237333ec1686e0096b699661c.jpg","text":"TemporaryFile(/tmp/multipartBody6493655594626688781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960244084,"filename":"image_05122025_19_06_15_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/5/ceac251e91b2c33219e8f6da276e4d0f.jpg","text":"TemporaryFile(/tmp/multipartBody138501210877884061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960244084,"filename":"image_05122025_19_06_35_9198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121189","file1":"1398121187","file0":"1398121181","file4":"1398121193","file5":"1398121196","file3":"1398121191"},"map_files_photo_id_array":[{"photo_id":"1398121196","filename":"file5"},{"photo_id":"1398121189","filename":"file2"},{"photo_id":"1398121193","filename":"file4"},{"photo_id":"1398121187","filename":"file1"},{"photo_id":"1398121181","filename":"file0"},{"photo_id":"1398121191","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398121191":["hashtag1","hashtag2"]},{"1398121193":["hashtag1","hashtag2"]},{"1398121187":["hashtag1","hashtag2"]},{"1398121196":["hashtag1","hashtag2"]},{"1398121181":["hashtag1","hashtag2"]},{"1398121189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398121191, 1398121193, 1398121187, 1398121196, 1398121181, 1398121189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.017632246017456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:43:42.654067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_03_3642.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_06_2890.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_12_3633.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_15_2661.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_17_2773.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_21_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_03_3642.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_06_2890.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_12_3633.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_15_2661.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_17_2773.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_21_3579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398121209","1398121244","1398121316","1398121279","1398121202","1398121354"],"photo_ids_order":["1398121202","1398121209","1398121244","1398121279","1398121316","1398121354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc91ea094cfd5fc31eeb44f837816644.jpg","text":"TemporaryFile(/tmp/multipartBody6811454584420934528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960284105,"filename":"image_31102025_20_25_06_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ba30ca1489bdf8328c7e0efbcf3e0fb.jpg","text":"TemporaryFile(/tmp/multipartBody6115800293128253677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960284105,"filename":"image_31102025_20_25_12_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/5/766f46aed39937732fd35d8b1bdac0a4.jpg","text":"TemporaryFile(/tmp/multipartBody4985650220682293516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960284105,"filename":"image_31102025_20_25_17_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/5/20bf13a3860fa2d41d2af1a60d28cd04.jpg","text":"TemporaryFile(/tmp/multipartBody5433013759200127779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960284105,"filename":"image_31102025_20_25_15_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/5/1b4fc8a3e5f944d1137a8d269b210207.jpg","text":"TemporaryFile(/tmp/multipartBody2435224237408356272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960284105,"filename":"image_31102025_20_25_03_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/5/3a4a2f985cf7e611fdf918a325b29f93.jpg","text":"TemporaryFile(/tmp/multipartBody3750073798270856198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960284105,"filename":"image_31102025_20_25_21_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121244","file1":"1398121209","file0":"1398121202","file4":"1398121316","file5":"1398121354","file3":"1398121279"},"map_files_photo_id_array":[{"photo_id":"1398121354","filename":"file5"},{"photo_id":"1398121244","filename":"file2"},{"photo_id":"1398121316","filename":"file4"},{"photo_id":"1398121209","filename":"file1"},{"photo_id":"1398121202","filename":"file0"},{"photo_id":"1398121279","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398121209":["hashtag1","hashtag2"]},{"1398121244":["hashtag1","hashtag2"]},{"1398121316":["hashtag1","hashtag2"]},{"1398121279":["hashtag1","hashtag2"]},{"1398121202":["hashtag1","hashtag2"]},{"1398121354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398121209, 1398121244, 1398121316, 1398121279, 1398121202, 1398121354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.654053926467896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:44:22.898846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/07/image_05122025_19_07_35_10637.jpg', '/home/pi/Desktop/images/05122025/19/08/image_05122025_19_08_15_10608.jpg', '/home/pi/Desktop/images/05122025/19/08/image_05122025_19_08_35_9752.jpg', '/home/pi/Desktop/images/05122025/19/08/image_05122025_19_08_46_10751.jpg', '/home/pi/Desktop/images/05122025/19/08/image_05122025_19_09_05_9673.jpg', '/home/pi/Desktop/images/05122025/19/09/image_05122025_19_09_15_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/07/image_05122025_19_07_35_10637.jpg
/home/pi/Desktop/images/05122025/19/08/image_05122025_19_08_15_10608.jpg
/home/pi/Desktop/images/05122025/19/08/image_05122025_19_08_35_9752.jpg
/home/pi/Desktop/images/05122025/19/08/image_05122025_19_08_46_10751.jpg
/home/pi/Desktop/images/05122025/19/08/image_05122025_19_09_05_9673.jpg
/home/pi/Desktop/images/05122025/19/09/image_05122025_19_09_15_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398121429","1398121374","1398121419","1398121376","1398121439","1398121433"],"photo_ids_order":["1398121374","1398121376","1398121419","1398121429","1398121433","1398121439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc75ab72474e6f08572101025fb21bd8.jpg","text":"TemporaryFile(/tmp/multipartBody826006023978726841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960323636,"filename":"image_05122025_19_08_46_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/5/2a6db8cfaf7f24599496823846fa50cf.jpg","text":"TemporaryFile(/tmp/multipartBody3165483214882876158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960323636,"filename":"image_05122025_19_07_35_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/5/c548ce4ba1f0b02cea83c8583416740a.jpg","text":"TemporaryFile(/tmp/multipartBody4980272381269424336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960323636,"filename":"image_05122025_19_08_35_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/5/d2c7876d7e979a6c9808800607389e02.jpg","text":"TemporaryFile(/tmp/multipartBody7599090527866437346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960323636,"filename":"image_05122025_19_08_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9b8dc3ebb4be5ae50e600b2421d2f6e.jpg","text":"TemporaryFile(/tmp/multipartBody1487900289228611437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960323636,"filename":"image_05122025_19_09_15_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/5/513502159ca6142654b4228cbde32cbe.jpg","text":"TemporaryFile(/tmp/multipartBody8509649889504455722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960323636,"filename":"image_05122025_19_09_05_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121419","file1":"1398121376","file0":"1398121374","file4":"1398121433","file5":"1398121439","file3":"1398121429"},"map_files_photo_id_array":[{"photo_id":"1398121439","filename":"file5"},{"photo_id":"1398121419","filename":"file2"},{"photo_id":"1398121433","filename":"file4"},{"photo_id":"1398121376","filename":"file1"},{"photo_id":"1398121374","filename":"file0"},{"photo_id":"1398121429","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398121429":["hashtag1","hashtag2"]},{"1398121374":["hashtag1","hashtag2"]},{"1398121419":["hashtag1","hashtag2"]},{"1398121376":["hashtag1","hashtag2"]},{"1398121439":["hashtag1","hashtag2"]},{"1398121433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398121429, 1398121374, 1398121419, 1398121376, 1398121439, 1398121433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82678771018982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:45:02.789893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/09/image_05122025_19_09_25_10602.jpg', '/home/pi/Desktop/images/05122025/19/09/image_05122025_19_09_35_9677.jpg', '/home/pi/Desktop/images/05122025/19/09/image_05122025_19_09_45_9644.jpg', '/home/pi/Desktop/images/05122025/19/09/image_05122025_19_09_55_10835.jpg', '/home/pi/Desktop/images/05122025/19/09/image_05122025_19_10_05_9894.jpg', '/home/pi/Desktop/images/05122025/19/10/image_05122025_19_10_15_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/09/image_05122025_19_09_25_10602.jpg
/home/pi/Desktop/images/05122025/19/09/image_05122025_19_09_35_9677.jpg
/home/pi/Desktop/images/05122025/19/09/image_05122025_19_09_45_9644.jpg
/home/pi/Desktop/images/05122025/19/09/image_05122025_19_09_55_10835.jpg
/home/pi/Desktop/images/05122025/19/09/image_05122025_19_10_05_9894.jpg
/home/pi/Desktop/images/05122025/19/10/image_05122025_19_10_15_9900.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398121473","1398121467","1398121550","1398121547","1398121469","1398121517"],"photo_ids_order":["1398121467","1398121469","1398121473","1398121517","1398121547","1398121550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0774961b69f96679fd9a412bcc0992ec.jpg","text":"TemporaryFile(/tmp/multipartBody5332589702121121991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960363649,"filename":"image_05122025_19_09_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/5/dcc1fab284079f34773365d7ce5b5b5c.jpg","text":"TemporaryFile(/tmp/multipartBody4587409531738811693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960363649,"filename":"image_05122025_19_09_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3779357b3d9880413d812e3e5a5873bf.jpg","text":"TemporaryFile(/tmp/multipartBody7737407857159397866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960363649,"filename":"image_05122025_19_10_15_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/995418f025150c808298e7807ca27ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5607623872217988987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960363649,"filename":"image_05122025_19_10_05_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/5/3e2a8b3c164dbf9c0ddc00db3738f27b.jpg","text":"TemporaryFile(/tmp/multipartBody2312773482513732719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960363649,"filename":"image_05122025_19_09_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/5/92b519ce359fd5d81f67cef21fbc9802.jpg","text":"TemporaryFile(/tmp/multipartBody8477636950623259030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960363649,"filename":"image_05122025_19_09_55_10835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121473","file1":"1398121469","file0":"1398121467","file4":"1398121547","file5":"1398121550","file3":"1398121517"},"map_files_photo_id_array":[{"photo_id":"1398121550","filename":"file5"},{"photo_id":"1398121473","filename":"file2"},{"photo_id":"1398121547","filename":"file4"},{"photo_id":"1398121469","filename":"file1"},{"photo_id":"1398121467","filename":"file0"},{"photo_id":"1398121517","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398121473":["hashtag1","hashtag2"]},{"1398121467":["hashtag1","hashtag2"]},{"1398121550":["hashtag1","hashtag2"]},{"1398121547":["hashtag1","hashtag2"]},{"1398121469":["hashtag1","hashtag2"]},{"1398121517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398121473, 1398121467, 1398121550, 1398121547, 1398121469, 1398121517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.193751096725464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:45:42.113458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_26_2715.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_30_3516.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_32_2564.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_36_3524.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_41_2577.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_47_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_26_2715.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_30_3516.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_32_2564.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_36_3524.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_41_2577.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_47_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398121560","1398121557","1398121559","1398121562","1398121561","1398121570"],"photo_ids_order":["1398121557","1398121559","1398121560","1398121561","1398121562","1398121570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d5acc538d4a146f10890bcc03f83975.jpg","text":"TemporaryFile(/tmp/multipartBody4810529934327943982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960403675,"filename":"image_31102025_20_25_32_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b36b68aee35794d2df00f10ededc2e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4603794397047823164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960403675,"filename":"image_31102025_20_25_26_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/5/a7186f8b6539ded80b16d5d5cac33642.jpg","text":"TemporaryFile(/tmp/multipartBody4362184988431592883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960403675,"filename":"image_31102025_20_25_30_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/5/5a5325594fb31ca0733acfb3656c0745.jpg","text":"TemporaryFile(/tmp/multipartBody3610237904005241191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960403675,"filename":"image_31102025_20_25_41_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/5/021f1802fe8e50e0d8615c1ba02a75bd.jpg","text":"TemporaryFile(/tmp/multipartBody917260372806282774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960403675,"filename":"image_31102025_20_25_36_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c8fd4cc2e8eae557d3e6d7dc439163c.jpg","text":"TemporaryFile(/tmp/multipartBody8457227825235832309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960403675,"filename":"image_31102025_20_25_47_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121560","file1":"1398121559","file0":"1398121557","file4":"1398121562","file5":"1398121570","file3":"1398121561"},"map_files_photo_id_array":[{"photo_id":"1398121570","filename":"file5"},{"photo_id":"1398121560","filename":"file2"},{"photo_id":"1398121562","filename":"file4"},{"photo_id":"1398121559","filename":"file1"},{"photo_id":"1398121557","filename":"file0"},{"photo_id":"1398121561","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398121560":["hashtag1","hashtag2"]},{"1398121557":["hashtag1","hashtag2"]},{"1398121559":["hashtag1","hashtag2"]},{"1398121562":["hashtag1","hashtag2"]},{"1398121561":["hashtag1","hashtag2"]},{"1398121570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398121560, 1398121557, 1398121559, 1398121562, 1398121561, 1398121570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.954718589782715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:46:25.413041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/10/image_05122025_19_10_25_9696.jpg', '/home/pi/Desktop/images/05122025/19/10/image_05122025_19_10_35_9696.jpg', '/home/pi/Desktop/images/05122025/19/10/image_05122025_19_10_55_9704.jpg', '/home/pi/Desktop/images/05122025/19/11/image_05122025_19_11_15_10598.jpg', '/home/pi/Desktop/images/05122025/19/11/image_05122025_19_11_25_9964.jpg', '/home/pi/Desktop/images/05122025/19/11/image_05122025_19_11_35_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/10/image_05122025_19_10_25_9696.jpg
/home/pi/Desktop/images/05122025/19/10/image_05122025_19_10_35_9696.jpg
/home/pi/Desktop/images/05122025/19/10/image_05122025_19_10_55_9704.jpg
/home/pi/Desktop/images/05122025/19/11/image_05122025_19_11_15_10598.jpg
/home/pi/Desktop/images/05122025/19/11/image_05122025_19_11_25_9964.jpg
/home/pi/Desktop/images/05122025/19/11/image_05122025_19_11_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":["1398121753","1398121680","1398121581","1398121641","1398121716","1398121602"],"photo_ids_order":["1398121581","1398121602","1398121641","1398121680","1398121716","1398121753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f77de9c05b51c3dc6f977cf05e188bb.jpg","text":"TemporaryFile(/tmp/multipartBody8369687332275101414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960446208,"filename":"image_05122025_19_11_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/5/27896c5caaaf9ee986bd7c136627d453.jpg","text":"TemporaryFile(/tmp/multipartBody7367572894922603655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960446208,"filename":"image_05122025_19_11_15_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/5/31da479c00f59e7af27b747d2ba17f28.jpg","text":"TemporaryFile(/tmp/multipartBody5666336384053238688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960446208,"filename":"image_05122025_19_10_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/5/4690c9e42e74a085511f4f8871ff24bf.jpg","text":"TemporaryFile(/tmp/multipartBody4923101111640334565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960446208,"filename":"image_05122025_19_10_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/5/571d8c31b65efe2587753d6733abf104.jpg","text":"TemporaryFile(/tmp/multipartBody4654203890348882673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960446208,"filename":"image_05122025_19_11_25_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f1c69db2092a41baa56d7b491cc7cc06.jpg","text":"TemporaryFile(/tmp/multipartBody1437733511450422240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960446208,"filename":"image_05122025_19_10_35_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121641","file1":"1398121602","file0":"1398121581","file4":"1398121716","file5":"1398121753","file3":"1398121680"},"map_files_photo_id_array":[{"photo_id":"1398121753","filename":"file5"},{"photo_id":"1398121641","filename":"file2"},{"photo_id":"1398121716","filename":"file4"},{"photo_id":"1398121602","filename":"file1"},{"photo_id":"1398121581","filename":"file0"},{"photo_id":"1398121680","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398121753":["hashtag1","hashtag2"]},{"1398121680":["hashtag1","hashtag2"]},{"1398121581":["hashtag1","hashtag2"]},{"1398121641":["hashtag1","hashtag2"]},{"1398121716":["hashtag1","hashtag2"]},{"1398121602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398121753, 1398121680, 1398121581, 1398121641, 1398121716, 1398121602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30533742904663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:47:03.191805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/12/image_05122025_19_12_35_9648.jpg', '/home/pi/Desktop/images/05122025/19/12/image_05122025_19_12_45_9716.jpg', '/home/pi/Desktop/images/05122025/19/13/image_05122025_19_13_15_9650.jpg', '/home/pi/Desktop/images/05122025/19/13/image_05122025_19_13_25_9726.jpg', '/home/pi/Desktop/images/05122025/19/14/image_05122025_19_14_35_9770.jpg', '/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_15_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/12/image_05122025_19_12_35_9648.jpg
/home/pi/Desktop/images/05122025/19/12/image_05122025_19_12_45_9716.jpg
/home/pi/Desktop/images/05122025/19/13/image_05122025_19_13_15_9650.jpg
/home/pi/Desktop/images/05122025/19/13/image_05122025_19_13_25_9726.jpg
/home/pi/Desktop/images/05122025/19/14/image_05122025_19_14_35_9770.jpg
/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_15_9829.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7198324203491211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 19:47:12.611346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
  port_id : 29066836
  datou_current_id : 4158260
in upload_from_sqlite, uploading in 29066836
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/58/image_02122025_23_58_54_9716.jpg', '/home/pi/Desktop/images/02122025/23/59/image_02122025_23_59_34_9552.jpg', '/home/pi/Desktop/images/02122025/23/59/image_02122025_23_59_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4158260&datou=0
/home/pi/Desktop/images/02122025/23/58/image_02122025_23_58_54_9716.jpg
/home/pi/Desktop/images/02122025/23/59/image_02122025_23_59_34_9552.jpg
/home/pi/Desktop/images/02122025/23/59/image_02122025_23_59_54_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":["1398121893","1398121889","1398121897"],"photo_ids_order":["1398121889","1398121893","1398121897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e084ff5f3ddff92022610b2753588cd9.jpg","text":"TemporaryFile(/tmp/multipartBody5783795178103987570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960494454,"filename":"image_02122025_23_59_34_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c36e8ff1fc7ed9b7a82ac691a637098c.jpg","text":"TemporaryFile(/tmp/multipartBody3972905479699789001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960494454,"filename":"image_02122025_23_58_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/5/f246dcb601fe067ee662b991ca252054.jpg","text":"TemporaryFile(/tmp/multipartBody6486616952347438437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960494454,"filename":"image_02122025_23_59_54_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121897","file1":"1398121893","file0":"1398121889"},"map_files_photo_id_array":[{"photo_id":"1398121897","filename":"file2"},{"photo_id":"1398121893","filename":"file1"},{"photo_id":"1398121889","filename":"file0"}],"portfolio_id":29066836,"hashtag_by_photo_ids":[{"1398121893":["hashtag1","hashtag2"]},{"1398121889":["hashtag1","hashtag2"]},{"1398121897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29066836 used, photo_id : ArrayBuffer(1398121893, 1398121889, 1398121897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.213642835617065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:47:42.556824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_54_3762.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_57_2838.jpg', '/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_59_2605.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_03_3597.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_05_2713.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_08_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_54_3762.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_57_2838.jpg
/home/pi/Desktop/images/31102025/20/25/image_31102025_20_25_59_2605.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_03_3597.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_05_2713.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_08_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":["1398121906","1398121909","1398121908","1398121910","1398121907","1398121904"],"photo_ids_order":["1398121904","1398121906","1398121907","1398121908","1398121909","1398121910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/11818c5c314ca8398340c81be33f91b1.jpg","text":"TemporaryFile(/tmp/multipartBody8224065149342770746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960524139,"filename":"image_31102025_20_25_57_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/5/8c7bc4ddf0b1fa6390ebd98c70ef5da7.jpg","text":"TemporaryFile(/tmp/multipartBody8319326127730098620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960524139,"filename":"image_31102025_20_26_05_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/5/19e83ab771e7f07935699228a745ad93.jpg","text":"TemporaryFile(/tmp/multipartBody2260239347886462384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960524139,"filename":"image_31102025_20_26_03_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/5/50c75e5414fd7d1c228c287a35260a98.jpg","text":"TemporaryFile(/tmp/multipartBody1464002555892790284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960524139,"filename":"image_31102025_20_26_08_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/5/3c562f672ebfdf3f4a95eebb57a69768.jpg","text":"TemporaryFile(/tmp/multipartBody8769772916663237212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960524139,"filename":"image_31102025_20_25_59_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/5/ad46afa1f03c928ec46514e00f9277c5.jpg","text":"TemporaryFile(/tmp/multipartBody1081012531045400275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960524139,"filename":"image_31102025_20_25_54_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121907","file1":"1398121906","file0":"1398121904","file4":"1398121909","file5":"1398121910","file3":"1398121908"},"map_files_photo_id_array":[{"photo_id":"1398121910","filename":"file5"},{"photo_id":"1398121907","filename":"file2"},{"photo_id":"1398121909","filename":"file4"},{"photo_id":"1398121906","filename":"file1"},{"photo_id":"1398121904","filename":"file0"},{"photo_id":"1398121908","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398121906":["hashtag1","hashtag2"]},{"1398121909":["hashtag1","hashtag2"]},{"1398121908":["hashtag1","hashtag2"]},{"1398121910":["hashtag1","hashtag2"]},{"1398121907":["hashtag1","hashtag2"]},{"1398121904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398121906, 1398121909, 1398121908, 1398121910, 1398121907, 1398121904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.969752073287964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:48:22.743361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/12/image_05122025_19_12_35_9648.jpg', '/home/pi/Desktop/images/05122025/19/12/image_05122025_19_12_45_9716.jpg', '/home/pi/Desktop/images/05122025/19/13/image_05122025_19_13_15_9650.jpg', '/home/pi/Desktop/images/05122025/19/13/image_05122025_19_13_25_9726.jpg', '/home/pi/Desktop/images/05122025/19/14/image_05122025_19_14_35_9770.jpg', '/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_15_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/12/image_05122025_19_12_35_9648.jpg
/home/pi/Desktop/images/05122025/19/12/image_05122025_19_12_45_9716.jpg
/home/pi/Desktop/images/05122025/19/13/image_05122025_19_13_15_9650.jpg
/home/pi/Desktop/images/05122025/19/13/image_05122025_19_13_25_9726.jpg
/home/pi/Desktop/images/05122025/19/14/image_05122025_19_14_35_9770.jpg
/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_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":["1398121927","1398121923","1398121917","1398121925","1398121919","1398121921"],"photo_ids_order":["1398121917","1398121919","1398121921","1398121923","1398121925","1398121927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b8b41feee52a70d562cb5e355ecd3e8.jpg","text":"TemporaryFile(/tmp/multipartBody1489110863104485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960566596,"filename":"image_05122025_19_15_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/5/ad500f1d3d22e8156bf0af34d4e33c40.jpg","text":"TemporaryFile(/tmp/multipartBody3300739457713619810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960566596,"filename":"image_05122025_19_13_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/5/e73235fe02b3bdafa8befcbddaa8f112.jpg","text":"TemporaryFile(/tmp/multipartBody2743564529035631644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960566596,"filename":"image_05122025_19_12_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/5/abec852b22ba8b510463b6902872d281.jpg","text":"TemporaryFile(/tmp/multipartBody849596113910129891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960566596,"filename":"image_05122025_19_14_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/5/a3c2c6dd7b00f1a793bfa1aa273c670e.jpg","text":"TemporaryFile(/tmp/multipartBody799519569215522565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960566596,"filename":"image_05122025_19_12_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6be155d63ed9b22743d47d1f578ae9d1.jpg","text":"TemporaryFile(/tmp/multipartBody5984416248932266154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960566596,"filename":"image_05122025_19_13_15_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121921","file1":"1398121919","file0":"1398121917","file4":"1398121925","file5":"1398121927","file3":"1398121923"},"map_files_photo_id_array":[{"photo_id":"1398121927","filename":"file5"},{"photo_id":"1398121921","filename":"file2"},{"photo_id":"1398121925","filename":"file4"},{"photo_id":"1398121919","filename":"file1"},{"photo_id":"1398121917","filename":"file0"},{"photo_id":"1398121923","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398121927":["hashtag1","hashtag2"]},{"1398121923":["hashtag1","hashtag2"]},{"1398121917":["hashtag1","hashtag2"]},{"1398121925":["hashtag1","hashtag2"]},{"1398121919":["hashtag1","hashtag2"]},{"1398121921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398121927, 1398121923, 1398121917, 1398121925, 1398121919, 1398121921)","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 = 1398121921 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05122025/19/13/image_05122025_19_13_15_9650.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 62.39542746543884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 19:49:32.264181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 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_03122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29235382, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1764960634000}
4219
4192153
4219
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02122025/23/59/image_03122025_00_00_04_9755.jpg', '/home/pi/Desktop/images/03122025/00/00/image_03122025_00_00_14_9699.jpg', '/home/pi/Desktop/images/03122025/00/00/image_03122025_00_00_24_10736.jpg', '/home/pi/Desktop/images/03122025/00/00/image_03122025_00_01_04_9767.jpg', '/home/pi/Desktop/images/03122025/00/01/image_03122025_00_01_14_9649.jpg', '/home/pi/Desktop/images/03122025/00/01/image_03122025_00_01_34_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/02122025/23/59/image_03122025_00_00_04_9755.jpg
/home/pi/Desktop/images/03122025/00/00/image_03122025_00_00_14_9699.jpg
/home/pi/Desktop/images/03122025/00/00/image_03122025_00_00_24_10736.jpg
/home/pi/Desktop/images/03122025/00/00/image_03122025_00_01_04_9767.jpg
/home/pi/Desktop/images/03122025/00/01/image_03122025_00_01_14_9649.jpg
/home/pi/Desktop/images/03122025/00/01/image_03122025_00_01_34_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":["1398121939","1398121944","1398121943","1398121937","1398121949","1398121942"],"photo_ids_order":["1398121937","1398121939","1398121942","1398121943","1398121944","1398121949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cca4b490dc816175d7c07a4c65ef6735.jpg","text":"TemporaryFile(/tmp/multipartBody2209442453558443458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960635438,"filename":"image_03122025_00_00_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/5/57491a6f328ed2b89bc8a97dbad030c4.jpg","text":"TemporaryFile(/tmp/multipartBody5149636732854601673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960635438,"filename":"image_03122025_00_01_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dd29ea800c3153eae11085ed4f168356.jpg","text":"TemporaryFile(/tmp/multipartBody8930808351875647350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960635438,"filename":"image_03122025_00_01_04_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/5/7d8db1dd24ca1174766bec132de4a6d6.jpg","text":"TemporaryFile(/tmp/multipartBody7559792781330021556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960635438,"filename":"image_03122025_00_00_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47c2908fb4aae877acbf855fef2a8b6a.jpg","text":"TemporaryFile(/tmp/multipartBody1723873628700086627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960635438,"filename":"image_03122025_00_01_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/5/f01a932cf29b22c01613f13f244e2a37.jpg","text":"TemporaryFile(/tmp/multipartBody8539540308053264946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960635438,"filename":"image_03122025_00_00_24_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121942","file1":"1398121939","file0":"1398121937","file4":"1398121944","file5":"1398121949","file3":"1398121943"},"map_files_photo_id_array":[{"photo_id":"1398121949","filename":"file5"},{"photo_id":"1398121942","filename":"file2"},{"photo_id":"1398121944","filename":"file4"},{"photo_id":"1398121939","filename":"file1"},{"photo_id":"1398121937","filename":"file0"},{"photo_id":"1398121943","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398121939":["hashtag1","hashtag2"]},{"1398121944":["hashtag1","hashtag2"]},{"1398121943":["hashtag1","hashtag2"]},{"1398121937":["hashtag1","hashtag2"]},{"1398121949":["hashtag1","hashtag2"]},{"1398121942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398121939, 1398121944, 1398121943, 1398121937, 1398121949, 1398121942)","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 = 1398121942 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03122025/00/00/image_03122025_00_00_24_10736.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 62.674638986587524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:50:43.489222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_12_3549.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_17_2620.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_21_3576.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_24_2899.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_26_2625.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_33_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_12_3549.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_17_2620.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_21_3576.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_24_2899.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_26_2625.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_33_3700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398121995","1398121989","1398121980","1398121992","1398121997","1398121993"],"photo_ids_order":["1398121980","1398121989","1398121992","1398121993","1398121995","1398121997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7dfaddfebc46a61449a4058f40d49e28.jpg","text":"TemporaryFile(/tmp/multipartBody928453743396437886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960706415,"filename":"image_31102025_20_26_26_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac27145c48174ab836be9055f162416f.jpg","text":"TemporaryFile(/tmp/multipartBody965031520733253385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960706415,"filename":"image_31102025_20_26_17_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/5/76fd8ad0dba85ca0103449671547d288.jpg","text":"TemporaryFile(/tmp/multipartBody1231551773042234465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960706415,"filename":"image_31102025_20_26_12_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/5/0ded39196454fbf5421dece733e9bb11.jpg","text":"TemporaryFile(/tmp/multipartBody4826338564690729366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960706415,"filename":"image_31102025_20_26_21_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/5/03605eccb8e803783cd74e2117dc1744.jpg","text":"TemporaryFile(/tmp/multipartBody8132996816504939195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960706415,"filename":"image_31102025_20_26_33_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/5/245af7e6b8ef5f03c1595c2cf50e903f.jpg","text":"TemporaryFile(/tmp/multipartBody1202291782777225670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960706415,"filename":"image_31102025_20_26_24_2899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398121992","file1":"1398121989","file0":"1398121980","file4":"1398121995","file5":"1398121997","file3":"1398121993"},"map_files_photo_id_array":[{"photo_id":"1398121997","filename":"file5"},{"photo_id":"1398121992","filename":"file2"},{"photo_id":"1398121995","filename":"file4"},{"photo_id":"1398121989","filename":"file1"},{"photo_id":"1398121980","filename":"file0"},{"photo_id":"1398121993","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398121995":["hashtag1","hashtag2"]},{"1398121989":["hashtag1","hashtag2"]},{"1398121980":["hashtag1","hashtag2"]},{"1398121992":["hashtag1","hashtag2"]},{"1398121997":["hashtag1","hashtag2"]},{"1398121993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398121995, 1398121989, 1398121980, 1398121992, 1398121997, 1398121993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38298845291138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 19:51:32.511696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/02/image_03122025_00_02_24_10028.jpg', '/home/pi/Desktop/images/03122025/00/04/image_03122025_00_04_34_9742.jpg', '/home/pi/Desktop/images/03122025/00/04/image_03122025_00_04_44_9779.jpg', '/home/pi/Desktop/images/03122025/00/04/image_03122025_00_04_54_10063.jpg', '/home/pi/Desktop/images/03122025/00/05/image_03122025_00_05_14_9701.jpg', '/home/pi/Desktop/images/03122025/00/05/image_03122025_00_05_34_9982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/02/image_03122025_00_02_24_10028.jpg
/home/pi/Desktop/images/03122025/00/04/image_03122025_00_04_34_9742.jpg
/home/pi/Desktop/images/03122025/00/04/image_03122025_00_04_44_9779.jpg
/home/pi/Desktop/images/03122025/00/04/image_03122025_00_04_54_10063.jpg
/home/pi/Desktop/images/03122025/00/05/image_03122025_00_05_14_9701.jpg
/home/pi/Desktop/images/03122025/00/05/image_03122025_00_05_34_9982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398122019","1398122006","1398122015","1398122003","1398122017","1398122011"],"photo_ids_order":["1398122003","1398122006","1398122011","1398122015","1398122017","1398122019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8909e86b3a760a40e9fe246b26eb86f2.jpg","text":"TemporaryFile(/tmp/multipartBody1643719965132658860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960754787,"filename":"image_03122025_00_05_34_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/5/01917196d9b454bf82d7cfb5427cddb5.jpg","text":"TemporaryFile(/tmp/multipartBody6292103096136078712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960754787,"filename":"image_03122025_00_04_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/5/565becc6808dfe362aa27bdadf28b1c2.jpg","text":"TemporaryFile(/tmp/multipartBody6935698204024891109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960754787,"filename":"image_03122025_00_04_54_10063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c095d40fa6e4adda0c3bd45789a3640e.jpg","text":"TemporaryFile(/tmp/multipartBody7168490564371156629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960754787,"filename":"image_03122025_00_02_24_10028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a301bf0cb9048447693e01548bf1803e.jpg","text":"TemporaryFile(/tmp/multipartBody3482315645680112683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960754787,"filename":"image_03122025_00_05_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/5/8a78770530c7d554fe337cb63ae59a19.jpg","text":"TemporaryFile(/tmp/multipartBody2827791735631498279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960754787,"filename":"image_03122025_00_04_44_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122011","file1":"1398122006","file0":"1398122003","file4":"1398122017","file5":"1398122019","file3":"1398122015"},"map_files_photo_id_array":[{"photo_id":"1398122019","filename":"file5"},{"photo_id":"1398122011","filename":"file2"},{"photo_id":"1398122017","filename":"file4"},{"photo_id":"1398122006","filename":"file1"},{"photo_id":"1398122003","filename":"file0"},{"photo_id":"1398122015","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398122019":["hashtag1","hashtag2"]},{"1398122006":["hashtag1","hashtag2"]},{"1398122015":["hashtag1","hashtag2"]},{"1398122003":["hashtag1","hashtag2"]},{"1398122017":["hashtag1","hashtag2"]},{"1398122011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398122019, 1398122006, 1398122015, 1398122003, 1398122017, 1398122011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74329662322998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:52:22.849265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_25_9974.jpg', '/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_36_10660.jpg', '/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_45_9625.jpg', '/home/pi/Desktop/images/05122025/19/15/image_05122025_19_16_05_9791.jpg', '/home/pi/Desktop/images/05122025/19/16/image_05122025_19_16_25_9944.jpg', '/home/pi/Desktop/images/05122025/19/16/image_05122025_19_16_45_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_25_9974.jpg
/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_36_10660.jpg
/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_45_9625.jpg
/home/pi/Desktop/images/05122025/19/15/image_05122025_19_16_05_9791.jpg
/home/pi/Desktop/images/05122025/19/16/image_05122025_19_16_25_9944.jpg
/home/pi/Desktop/images/05122025/19/16/image_05122025_19_16_45_9756.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6810321807861328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 19:52:32.763180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/05/image_03122025_00_06_04_9670.jpg', '/home/pi/Desktop/images/03122025/00/07/image_03122025_00_08_04_9791.jpg', '/home/pi/Desktop/images/03122025/00/08/image_03122025_00_08_14_9795.jpg', '/home/pi/Desktop/images/03122025/00/08/image_03122025_00_09_04_10002.jpg', '/home/pi/Desktop/images/03122025/00/09/image_03122025_00_10_05_10635.jpg', '/home/pi/Desktop/images/03122025/00/10/image_03122025_00_10_45_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/05/image_03122025_00_06_04_9670.jpg
/home/pi/Desktop/images/03122025/00/07/image_03122025_00_08_04_9791.jpg
/home/pi/Desktop/images/03122025/00/08/image_03122025_00_08_14_9795.jpg
/home/pi/Desktop/images/03122025/00/08/image_03122025_00_09_04_10002.jpg
/home/pi/Desktop/images/03122025/00/09/image_03122025_00_10_05_10635.jpg
/home/pi/Desktop/images/03122025/00/10/image_03122025_00_10_45_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":["1398122052","1398122031","1398122034","1398122048","1398122053","1398122038"],"photo_ids_order":["1398122031","1398122034","1398122038","1398122048","1398122052","1398122053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3970411b235bf4c9b2e8afbf7ce7bcb6.jpg","text":"TemporaryFile(/tmp/multipartBody4586737733076556786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960815077,"filename":"image_03122025_00_10_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/5/3a83d92af6992b0669622dc3de710fed.jpg","text":"TemporaryFile(/tmp/multipartBody968345290118154643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960815077,"filename":"image_03122025_00_06_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/5/2a82334a6a5f291225dcad5126bbcbd7.jpg","text":"TemporaryFile(/tmp/multipartBody2627583895910277579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960815077,"filename":"image_03122025_00_08_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/5/7954374a8112d366d20012ff78529f03.jpg","text":"TemporaryFile(/tmp/multipartBody4613340098294368352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960815077,"filename":"image_03122025_00_09_04_10002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c049c8a79838febdb337a7ecd001e17d.jpg","text":"TemporaryFile(/tmp/multipartBody2692463096706502262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960815077,"filename":"image_03122025_00_10_45_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/5/8d521640d6bb4d0e5ee4ca4e662b930c.jpg","text":"TemporaryFile(/tmp/multipartBody6937125797195535095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960815077,"filename":"image_03122025_00_08_14_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122038","file1":"1398122034","file0":"1398122031","file4":"1398122052","file5":"1398122053","file3":"1398122048"},"map_files_photo_id_array":[{"photo_id":"1398122053","filename":"file5"},{"photo_id":"1398122038","filename":"file2"},{"photo_id":"1398122052","filename":"file4"},{"photo_id":"1398122034","filename":"file1"},{"photo_id":"1398122031","filename":"file0"},{"photo_id":"1398122048","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398122052":["hashtag1","hashtag2"]},{"1398122031":["hashtag1","hashtag2"]},{"1398122034":["hashtag1","hashtag2"]},{"1398122048":["hashtag1","hashtag2"]},{"1398122053":["hashtag1","hashtag2"]},{"1398122038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398122052, 1398122031, 1398122034, 1398122048, 1398122053, 1398122038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.635074615478516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:53:21.899897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_25_9974.jpg', '/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_36_10660.jpg', '/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_45_9625.jpg', '/home/pi/Desktop/images/05122025/19/15/image_05122025_19_16_05_9791.jpg', '/home/pi/Desktop/images/05122025/19/16/image_05122025_19_16_25_9944.jpg', '/home/pi/Desktop/images/05122025/19/16/image_05122025_19_16_45_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_25_9974.jpg
/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_36_10660.jpg
/home/pi/Desktop/images/05122025/19/15/image_05122025_19_15_45_9625.jpg
/home/pi/Desktop/images/05122025/19/15/image_05122025_19_16_05_9791.jpg
/home/pi/Desktop/images/05122025/19/16/image_05122025_19_16_25_9944.jpg
/home/pi/Desktop/images/05122025/19/16/image_05122025_19_16_45_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":["1398122070","1398122058","1398122067","1398122060","1398122063","1398122065"],"photo_ids_order":["1398122058","1398122060","1398122063","1398122065","1398122067","1398122070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/87e779b933480b0fcf8d5b7656e55b8b.jpg","text":"TemporaryFile(/tmp/multipartBody8137448277007778033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960862691,"filename":"image_05122025_19_16_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/5/7aa24565e9a33c3932064c97a58bd0a8.jpg","text":"TemporaryFile(/tmp/multipartBody741683710387502271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960862691,"filename":"image_05122025_19_15_25_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/5/f9046b97c25513fe061ba5d20582b9a5.jpg","text":"TemporaryFile(/tmp/multipartBody8276109061550119745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960862691,"filename":"image_05122025_19_16_25_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/5/91598531a0e6083a4b75e9423559c039.jpg","text":"TemporaryFile(/tmp/multipartBody511142580868593783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960862691,"filename":"image_05122025_19_15_36_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/5/51f6452359c1e59265faa9b8632e8fd0.jpg","text":"TemporaryFile(/tmp/multipartBody3577662840929607787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960862691,"filename":"image_05122025_19_15_45_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cb9c273349b0d42b4310d74f5821e71c.jpg","text":"TemporaryFile(/tmp/multipartBody5584663586748184184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960862691,"filename":"image_05122025_19_16_05_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122063","file1":"1398122060","file0":"1398122058","file4":"1398122067","file5":"1398122070","file3":"1398122065"},"map_files_photo_id_array":[{"photo_id":"1398122070","filename":"file5"},{"photo_id":"1398122063","filename":"file2"},{"photo_id":"1398122067","filename":"file4"},{"photo_id":"1398122060","filename":"file1"},{"photo_id":"1398122058","filename":"file0"},{"photo_id":"1398122065","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398122070":["hashtag1","hashtag2"]},{"1398122058":["hashtag1","hashtag2"]},{"1398122067":["hashtag1","hashtag2"]},{"1398122060":["hashtag1","hashtag2"]},{"1398122063":["hashtag1","hashtag2"]},{"1398122065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398122070, 1398122058, 1398122067, 1398122060, 1398122063, 1398122065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.433218240737915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:54:02.792662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/17/image_05122025_19_17_25_9621.jpg', '/home/pi/Desktop/images/05122025/19/17/image_05122025_19_17_36_10816.jpg', '/home/pi/Desktop/images/05122025/19/17/image_05122025_19_17_55_9684.jpg', '/home/pi/Desktop/images/05122025/19/18/image_05122025_19_18_45_9836.jpg', '/home/pi/Desktop/images/05122025/19/18/image_05122025_19_18_56_10711.jpg', '/home/pi/Desktop/images/05122025/19/18/image_05122025_19_19_05_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/17/image_05122025_19_17_25_9621.jpg
/home/pi/Desktop/images/05122025/19/17/image_05122025_19_17_36_10816.jpg
/home/pi/Desktop/images/05122025/19/17/image_05122025_19_17_55_9684.jpg
/home/pi/Desktop/images/05122025/19/18/image_05122025_19_18_45_9836.jpg
/home/pi/Desktop/images/05122025/19/18/image_05122025_19_18_56_10711.jpg
/home/pi/Desktop/images/05122025/19/18/image_05122025_19_19_05_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":["1398122079","1398122073","1398122081","1398122075","1398122077","1398122071"],"photo_ids_order":["1398122071","1398122073","1398122075","1398122077","1398122079","1398122081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/efbd3974fb655d6201b878ed2b91c924.jpg","text":"TemporaryFile(/tmp/multipartBody7547921649009984331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960903592,"filename":"image_05122025_19_18_56_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/5/64a2e9b1fee0354a6f4dce1f612c6c60.jpg","text":"TemporaryFile(/tmp/multipartBody5800991918333038883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960903592,"filename":"image_05122025_19_17_36_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/faa2b3ec3d2426671a99ae188af72d00.jpg","text":"TemporaryFile(/tmp/multipartBody2158887905820110345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960903592,"filename":"image_05122025_19_19_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/5/5473f73d4717c5d46c9d36284f082a1a.jpg","text":"TemporaryFile(/tmp/multipartBody3441731579089800235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960903592,"filename":"image_05122025_19_17_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/5/644744b32bdef18077c59c82b09755f1.jpg","text":"TemporaryFile(/tmp/multipartBody4982561452985029416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960903592,"filename":"image_05122025_19_18_45_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/5/11a60804771901b145544c0cbaaba55b.jpg","text":"TemporaryFile(/tmp/multipartBody238992378203959433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960903592,"filename":"image_05122025_19_17_25_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122075","file1":"1398122073","file0":"1398122071","file4":"1398122079","file5":"1398122081","file3":"1398122077"},"map_files_photo_id_array":[{"photo_id":"1398122081","filename":"file5"},{"photo_id":"1398122075","filename":"file2"},{"photo_id":"1398122079","filename":"file4"},{"photo_id":"1398122073","filename":"file1"},{"photo_id":"1398122071","filename":"file0"},{"photo_id":"1398122077","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398122079":["hashtag1","hashtag2"]},{"1398122073":["hashtag1","hashtag2"]},{"1398122081":["hashtag1","hashtag2"]},{"1398122075":["hashtag1","hashtag2"]},{"1398122077":["hashtag1","hashtag2"]},{"1398122071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398122079, 1398122073, 1398122081, 1398122075, 1398122077, 1398122071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39497351646423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:54:42.054864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_35_2574.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_39_3563.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_41_2635.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_44_2655.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_50_2657.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_53_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_35_2574.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_39_3563.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_41_2635.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_44_2655.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_50_2657.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_53_2568.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5090935230255127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:55:02.969064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/28/image_05122025_19_28_35_9590.jpg', '/home/pi/Desktop/images/05122025/19/28/image_05122025_19_28_55_9958.jpg', '/home/pi/Desktop/images/05122025/19/29/image_05122025_19_29_16_10754.jpg', '/home/pi/Desktop/images/05122025/19/29/image_05122025_19_29_25_9677.jpg', '/home/pi/Desktop/images/05122025/19/29/image_05122025_19_29_35_9833.jpg', '/home/pi/Desktop/images/05122025/19/29/image_05122025_19_29_46_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/28/image_05122025_19_28_35_9590.jpg
/home/pi/Desktop/images/05122025/19/28/image_05122025_19_28_55_9958.jpg
/home/pi/Desktop/images/05122025/19/29/image_05122025_19_29_16_10754.jpg
/home/pi/Desktop/images/05122025/19/29/image_05122025_19_29_25_9677.jpg
/home/pi/Desktop/images/05122025/19/29/image_05122025_19_29_35_9833.jpg
/home/pi/Desktop/images/05122025/19/29/image_05122025_19_29_46_10552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398122107","1398122106","1398122108","1398122102","1398122110","1398122104"],"photo_ids_order":["1398122102","1398122104","1398122106","1398122107","1398122108","1398122110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3f7d548b693a9b0d8ce45d7a07fed9a0.jpg","text":"TemporaryFile(/tmp/multipartBody3511745633843375388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960963844,"filename":"image_05122025_19_29_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/5/099af8aecff569de5dea3d21aa689688.jpg","text":"TemporaryFile(/tmp/multipartBody4477447395779218042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960963844,"filename":"image_05122025_19_29_16_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/5/4c222ce530496dfad9ae3225c3f92b15.jpg","text":"TemporaryFile(/tmp/multipartBody6773760647992753574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960963844,"filename":"image_05122025_19_29_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/5/8f3434e4a66b92b5c22784e2f4b156ef.jpg","text":"TemporaryFile(/tmp/multipartBody4560711821839210092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960963844,"filename":"image_05122025_19_28_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/5/a8c78280bb12aca6315555cbab7ce3bc.jpg","text":"TemporaryFile(/tmp/multipartBody3577125323148957295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960963844,"filename":"image_05122025_19_29_46_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/5/c9a66b6901b6d5d590d6c9316823586c.jpg","text":"TemporaryFile(/tmp/multipartBody2525080466205957177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764960963844,"filename":"image_05122025_19_28_55_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122106","file1":"1398122104","file0":"1398122102","file4":"1398122108","file5":"1398122110","file3":"1398122107"},"map_files_photo_id_array":[{"photo_id":"1398122110","filename":"file5"},{"photo_id":"1398122106","filename":"file2"},{"photo_id":"1398122108","filename":"file4"},{"photo_id":"1398122104","filename":"file1"},{"photo_id":"1398122102","filename":"file0"},{"photo_id":"1398122107","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398122107":["hashtag1","hashtag2"]},{"1398122106":["hashtag1","hashtag2"]},{"1398122108":["hashtag1","hashtag2"]},{"1398122102":["hashtag1","hashtag2"]},{"1398122110":["hashtag1","hashtag2"]},{"1398122104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398122107, 1398122106, 1398122108, 1398122102, 1398122110, 1398122104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14321565628052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 19:55:42.280605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_35_2574.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_39_3563.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_41_2635.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_44_2655.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_50_2657.jpg', '/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_53_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_35_2574.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_39_3563.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_41_2635.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_44_2655.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_50_2657.jpg
/home/pi/Desktop/images/31102025/20/26/image_31102025_20_26_53_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":["1398122121","1398122115","1398122118","1398122117","1398122120","1398122122"],"photo_ids_order":["1398122115","1398122117","1398122118","1398122120","1398122121","1398122122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a6118c2ee00d9ceea4c2334e7c24416d.jpg","text":"TemporaryFile(/tmp/multipartBody5636853592383440398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961003747,"filename":"image_31102025_20_26_50_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/5/c5f0596207d290f70adb189a61210c83.jpg","text":"TemporaryFile(/tmp/multipartBody6316421900061493948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961003747,"filename":"image_31102025_20_26_35_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/5/3e581081fd7b4d7ee41848a9a0ee14c5.jpg","text":"TemporaryFile(/tmp/multipartBody5301876224853364540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961003747,"filename":"image_31102025_20_26_41_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f047eb8871e0ddebf85a8f2b118e38b.jpg","text":"TemporaryFile(/tmp/multipartBody8233218052219791216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961003747,"filename":"image_31102025_20_26_39_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/5/51fa98a22dc350fe6fdced4468078017.jpg","text":"TemporaryFile(/tmp/multipartBody8025818169485101807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961003747,"filename":"image_31102025_20_26_44_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3292b22dd3b320a3c200be28ff016ec8.jpg","text":"TemporaryFile(/tmp/multipartBody3338769961478284579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961003747,"filename":"image_31102025_20_26_53_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122118","file1":"1398122117","file0":"1398122115","file4":"1398122121","file5":"1398122122","file3":"1398122120"},"map_files_photo_id_array":[{"photo_id":"1398122122","filename":"file5"},{"photo_id":"1398122118","filename":"file2"},{"photo_id":"1398122121","filename":"file4"},{"photo_id":"1398122117","filename":"file1"},{"photo_id":"1398122115","filename":"file0"},{"photo_id":"1398122120","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398122121":["hashtag1","hashtag2"]},{"1398122115":["hashtag1","hashtag2"]},{"1398122118":["hashtag1","hashtag2"]},{"1398122117":["hashtag1","hashtag2"]},{"1398122120":["hashtag1","hashtag2"]},{"1398122122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398122121, 1398122115, 1398122118, 1398122117, 1398122120, 1398122122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64715838432312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 19:56:22.436181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/29/image_05122025_19_29_55_9713.jpg', '/home/pi/Desktop/images/05122025/19/31/image_05122025_19_31_34_9806.jpg', '/home/pi/Desktop/images/05122025/19/31/image_05122025_19_31_44_9664.jpg', '/home/pi/Desktop/images/05122025/19/31/image_05122025_19_31_54_9989.jpg', '/home/pi/Desktop/images/05122025/19/32/image_05122025_19_32_15_9983.jpg', '/home/pi/Desktop/images/05122025/19/32/image_05122025_19_32_24_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/29/image_05122025_19_29_55_9713.jpg
/home/pi/Desktop/images/05122025/19/31/image_05122025_19_31_34_9806.jpg
/home/pi/Desktop/images/05122025/19/31/image_05122025_19_31_44_9664.jpg
/home/pi/Desktop/images/05122025/19/31/image_05122025_19_31_54_9989.jpg
/home/pi/Desktop/images/05122025/19/32/image_05122025_19_32_15_9983.jpg
/home/pi/Desktop/images/05122025/19/32/image_05122025_19_32_24_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":["1398122124","1398122133","1398122135","1398122138","1398122126","1398122128"],"photo_ids_order":["1398122124","1398122126","1398122128","1398122133","1398122135","1398122138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4e13e10b56dc306f923e8af9de6175e.jpg","text":"TemporaryFile(/tmp/multipartBody4873160918872609531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961043202,"filename":"image_05122025_19_29_55_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/5/dca8bea8468a774b36312482dc69f20c.jpg","text":"TemporaryFile(/tmp/multipartBody4308518774009098916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961043202,"filename":"image_05122025_19_31_54_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/5/0d69ce6a9619589f1360e319fe475f8e.jpg","text":"TemporaryFile(/tmp/multipartBody6036201256737781606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961043202,"filename":"image_05122025_19_32_15_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/5/796f211588fe80a4501f0625de34a8aa.jpg","text":"TemporaryFile(/tmp/multipartBody7418809298865738092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961043202,"filename":"image_05122025_19_32_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e447a3956476407b385eecaf303d8ac1.jpg","text":"TemporaryFile(/tmp/multipartBody3852070561290362414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961043202,"filename":"image_05122025_19_31_34_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/217ba322228118887a966c24960039a9.jpg","text":"TemporaryFile(/tmp/multipartBody6821706873180301153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961043202,"filename":"image_05122025_19_31_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122128","file1":"1398122126","file0":"1398122124","file4":"1398122135","file5":"1398122138","file3":"1398122133"},"map_files_photo_id_array":[{"photo_id":"1398122138","filename":"file5"},{"photo_id":"1398122128","filename":"file2"},{"photo_id":"1398122135","filename":"file4"},{"photo_id":"1398122126","filename":"file1"},{"photo_id":"1398122124","filename":"file0"},{"photo_id":"1398122133","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398122124":["hashtag1","hashtag2"]},{"1398122133":["hashtag1","hashtag2"]},{"1398122135":["hashtag1","hashtag2"]},{"1398122138":["hashtag1","hashtag2"]},{"1398122126":["hashtag1","hashtag2"]},{"1398122128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398122124, 1398122133, 1398122135, 1398122138, 1398122126, 1398122128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13212180137634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:57:03.363902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/32/image_05122025_19_32_45_10680.jpg', '/home/pi/Desktop/images/05122025/19/32/image_05122025_19_32_54_9642.jpg', '/home/pi/Desktop/images/05122025/19/33/image_05122025_19_34_04_9737.jpg', '/home/pi/Desktop/images/05122025/19/34/image_05122025_19_34_14_9704.jpg', '/home/pi/Desktop/images/05122025/19/34/image_05122025_19_34_24_9759.jpg', '/home/pi/Desktop/images/05122025/19/34/image_05122025_19_34_44_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/32/image_05122025_19_32_45_10680.jpg
/home/pi/Desktop/images/05122025/19/32/image_05122025_19_32_54_9642.jpg
/home/pi/Desktop/images/05122025/19/33/image_05122025_19_34_04_9737.jpg
/home/pi/Desktop/images/05122025/19/34/image_05122025_19_34_14_9704.jpg
/home/pi/Desktop/images/05122025/19/34/image_05122025_19_34_24_9759.jpg
/home/pi/Desktop/images/05122025/19/34/image_05122025_19_34_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":["1398122145","1398122148","1398122144","1398122146","1398122140","1398122143"],"photo_ids_order":["1398122140","1398122143","1398122144","1398122145","1398122146","1398122148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f48551ac0998d6dba2455812b450857d.jpg","text":"TemporaryFile(/tmp/multipartBody6983698038706324451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961084204,"filename":"image_05122025_19_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/5/65b723f8cbf5f97269f39aaac86c5af3.jpg","text":"TemporaryFile(/tmp/multipartBody389689152392860564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961084204,"filename":"image_05122025_19_34_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/5/44799af26ec404025a70da8caf666f3a.jpg","text":"TemporaryFile(/tmp/multipartBody8356182874027768361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961084204,"filename":"image_05122025_19_34_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/5/f7494c5493bf91142e73ad62d0a71a6c.jpg","text":"TemporaryFile(/tmp/multipartBody235844652288368018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961084204,"filename":"image_05122025_19_34_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/5/ac760afc086d0f7c8120c5c456b7f29a.jpg","text":"TemporaryFile(/tmp/multipartBody7424991559901833787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961084204,"filename":"image_05122025_19_32_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/5/670ce6c463217e85b53c29855a261983.jpg","text":"TemporaryFile(/tmp/multipartBody6985805577393403603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961084204,"filename":"image_05122025_19_32_54_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122144","file1":"1398122143","file0":"1398122140","file4":"1398122146","file5":"1398122148","file3":"1398122145"},"map_files_photo_id_array":[{"photo_id":"1398122148","filename":"file5"},{"photo_id":"1398122144","filename":"file2"},{"photo_id":"1398122146","filename":"file4"},{"photo_id":"1398122143","filename":"file1"},{"photo_id":"1398122140","filename":"file0"},{"photo_id":"1398122145","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398122145":["hashtag1","hashtag2"]},{"1398122148":["hashtag1","hashtag2"]},{"1398122144":["hashtag1","hashtag2"]},{"1398122146":["hashtag1","hashtag2"]},{"1398122140":["hashtag1","hashtag2"]},{"1398122143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398122145, 1398122148, 1398122144, 1398122146, 1398122140, 1398122143)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.09270167350769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 19:59:02.812338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 19:59:17.499868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/10/image_03122025_00_10_54_8452.jpg', '/home/pi/Desktop/images/03122025/00/11/image_03122025_00_11_34_9749.jpg', '/home/pi/Desktop/images/03122025/00/11/image_03122025_00_11_44_9789.jpg', '/home/pi/Desktop/images/03122025/00/11/image_03122025_00_11_54_10074.jpg', '/home/pi/Desktop/images/03122025/00/12/image_03122025_00_12_15_10683.jpg', '/home/pi/Desktop/images/03122025/00/12/image_03122025_00_12_34_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/10/image_03122025_00_10_54_8452.jpg
/home/pi/Desktop/images/03122025/00/11/image_03122025_00_11_34_9749.jpg
/home/pi/Desktop/images/03122025/00/11/image_03122025_00_11_44_9789.jpg
/home/pi/Desktop/images/03122025/00/11/image_03122025_00_11_54_10074.jpg
/home/pi/Desktop/images/03122025/00/12/image_03122025_00_12_15_10683.jpg
/home/pi/Desktop/images/03122025/00/12/image_03122025_00_12_34_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398122163","1398122171","1398122165","1398122168","1398122170","1398122167"],"photo_ids_order":["1398122163","1398122165","1398122167","1398122168","1398122170","1398122171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0e167f8c2e02f662ca34637bf2436b67.jpg","text":"TemporaryFile(/tmp/multipartBody4446875503168547392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961220565,"filename":"image_03122025_00_10_54_8452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7a016713442dd2cb03a6d569c040bebd.jpg","text":"TemporaryFile(/tmp/multipartBody2577328527167226642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961220565,"filename":"image_03122025_00_12_34_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/5/1b098b9e5a1fd108dc30c4a524cb74f3.jpg","text":"TemporaryFile(/tmp/multipartBody6203128009957117624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961220565,"filename":"image_03122025_00_11_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/5/80bdc9f3f037737a8ab6011dc424c4da.jpg","text":"TemporaryFile(/tmp/multipartBody7360827002462078663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961220565,"filename":"image_03122025_00_11_54_10074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/52171e725d5ba813ac7553e2070a2c80.jpg","text":"TemporaryFile(/tmp/multipartBody3608970150184192694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961220565,"filename":"image_03122025_00_12_15_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/5/c737882dc1dae1140ae8e11c6b7a7f70.jpg","text":"TemporaryFile(/tmp/multipartBody8005237287686275398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961220565,"filename":"image_03122025_00_11_44_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122167","file1":"1398122165","file0":"1398122163","file4":"1398122170","file5":"1398122171","file3":"1398122168"},"map_files_photo_id_array":[{"photo_id":"1398122171","filename":"file5"},{"photo_id":"1398122167","filename":"file2"},{"photo_id":"1398122170","filename":"file4"},{"photo_id":"1398122165","filename":"file1"},{"photo_id":"1398122163","filename":"file0"},{"photo_id":"1398122168","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398122163":["hashtag1","hashtag2"]},{"1398122171":["hashtag1","hashtag2"]},{"1398122165":["hashtag1","hashtag2"]},{"1398122168":["hashtag1","hashtag2"]},{"1398122170":["hashtag1","hashtag2"]},{"1398122167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398122163, 1398122171, 1398122165, 1398122168, 1398122170, 1398122167)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.77578067779541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:00:12.156411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/12/image_03122025_00_12_54_10651.jpg', '/home/pi/Desktop/images/03122025/00/13/image_03122025_00_13_54_9831.jpg', '/home/pi/Desktop/images/03122025/00/14/image_03122025_00_14_34_9617.jpg', '/home/pi/Desktop/images/03122025/00/14/image_03122025_00_14_44_9594.jpg', '/home/pi/Desktop/images/03122025/00/15/image_03122025_00_15_14_9646.jpg', '/home/pi/Desktop/images/03122025/00/16/image_03122025_00_16_14_9939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/12/image_03122025_00_12_54_10651.jpg
/home/pi/Desktop/images/03122025/00/13/image_03122025_00_13_54_9831.jpg
/home/pi/Desktop/images/03122025/00/14/image_03122025_00_14_34_9617.jpg
/home/pi/Desktop/images/03122025/00/14/image_03122025_00_14_44_9594.jpg
/home/pi/Desktop/images/03122025/00/15/image_03122025_00_15_14_9646.jpg
/home/pi/Desktop/images/03122025/00/16/image_03122025_00_16_14_9939.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398122361","1398122247","1398122208","1398122287","1398122326","1398122203"],"photo_ids_order":["1398122203","1398122208","1398122247","1398122287","1398122326","1398122361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f2a0903399aa59fbf909fa492822a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4914223856000458967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961277290,"filename":"image_03122025_00_16_14_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/5/a324c3862e1430d5590921106f92bb77.jpg","text":"TemporaryFile(/tmp/multipartBody4302402604754126304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961277290,"filename":"image_03122025_00_14_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/983633fb2957e0412b0c83dba67a06d8.jpg","text":"TemporaryFile(/tmp/multipartBody2497797880322060387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961277290,"filename":"image_03122025_00_13_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/5/aa808331c137f083bba8680f5130bf27.jpg","text":"TemporaryFile(/tmp/multipartBody7036040167372946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961277290,"filename":"image_03122025_00_14_44_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/5/6e07e9e2ed1452a5358f94166ec1520c.jpg","text":"TemporaryFile(/tmp/multipartBody8435229393730881982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961277290,"filename":"image_03122025_00_15_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/5/b03294e041ea1712c174d658413d8821.jpg","text":"TemporaryFile(/tmp/multipartBody3686278172532264507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961277290,"filename":"image_03122025_00_12_54_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122247","file1":"1398122208","file0":"1398122203","file4":"1398122326","file5":"1398122361","file3":"1398122287"},"map_files_photo_id_array":[{"photo_id":"1398122361","filename":"file5"},{"photo_id":"1398122247","filename":"file2"},{"photo_id":"1398122326","filename":"file4"},{"photo_id":"1398122208","filename":"file1"},{"photo_id":"1398122203","filename":"file0"},{"photo_id":"1398122287","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398122361":["hashtag1","hashtag2"]},{"1398122247":["hashtag1","hashtag2"]},{"1398122208":["hashtag1","hashtag2"]},{"1398122287":["hashtag1","hashtag2"]},{"1398122326":["hashtag1","hashtag2"]},{"1398122203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398122361, 1398122247, 1398122208, 1398122287, 1398122326, 1398122203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24118399620056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:01:02.842875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 20:01:12.269287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/16/image_03122025_00_16_34_9717.jpg', '/home/pi/Desktop/images/03122025/00/16/image_03122025_00_17_04_9968.jpg', '/home/pi/Desktop/images/03122025/00/17/image_03122025_00_17_14_10717.jpg', '/home/pi/Desktop/images/03122025/00/17/image_03122025_00_17_24_9808.jpg', '/home/pi/Desktop/images/03122025/00/17/image_03122025_00_17_34_9667.jpg', '/home/pi/Desktop/images/03122025/00/19/image_03122025_00_19_24_9287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/16/image_03122025_00_16_34_9717.jpg
/home/pi/Desktop/images/03122025/00/16/image_03122025_00_17_04_9968.jpg
/home/pi/Desktop/images/03122025/00/17/image_03122025_00_17_14_10717.jpg
/home/pi/Desktop/images/03122025/00/17/image_03122025_00_17_24_9808.jpg
/home/pi/Desktop/images/03122025/00/17/image_03122025_00_17_34_9667.jpg
/home/pi/Desktop/images/03122025/00/19/image_03122025_00_19_24_9287.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398123015","1398122786","1398122861","1398122825","1398122971","1398122932"],"photo_ids_order":["1398122786","1398122825","1398122861","1398122932","1398122971","1398123015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b16472112ff59af297eaf99162a7206.jpg","text":"TemporaryFile(/tmp/multipartBody1501391376262676385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961334439,"filename":"image_03122025_00_19_24_9287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d992ba7d4776d62425d66bb12a106690.jpg","text":"TemporaryFile(/tmp/multipartBody434573858713560518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961334439,"filename":"image_03122025_00_16_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/5/f231615cacae7bef22e2273b06e9d0c7.jpg","text":"TemporaryFile(/tmp/multipartBody1562831222897690626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961334439,"filename":"image_03122025_00_17_14_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/5/5736d5060acd8e6e877360e443460a1d.jpg","text":"TemporaryFile(/tmp/multipartBody7117291138218807574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961334439,"filename":"image_03122025_00_17_04_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/5/89d54d903f8b0813ef5251a6533bcb32.jpg","text":"TemporaryFile(/tmp/multipartBody489163502830275286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961334439,"filename":"image_03122025_00_17_34_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/5/0861f964c028f1804e5b44e83cdd3abb.jpg","text":"TemporaryFile(/tmp/multipartBody2250934546590803889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961334439,"filename":"image_03122025_00_17_24_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398122861","file1":"1398122825","file0":"1398122786","file4":"1398122971","file5":"1398123015","file3":"1398122932"},"map_files_photo_id_array":[{"photo_id":"1398123015","filename":"file5"},{"photo_id":"1398122861","filename":"file2"},{"photo_id":"1398122971","filename":"file4"},{"photo_id":"1398122825","filename":"file1"},{"photo_id":"1398122786","filename":"file0"},{"photo_id":"1398122932","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398123015":["hashtag1","hashtag2"]},{"1398122786":["hashtag1","hashtag2"]},{"1398122861":["hashtag1","hashtag2"]},{"1398122825":["hashtag1","hashtag2"]},{"1398122971":["hashtag1","hashtag2"]},{"1398122932":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398123015, 1398122786, 1398122861, 1398122825, 1398122971, 1398122932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76644825935364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:02:03.080881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/34/image_05122025_19_35_04_9891.jpg', '/home/pi/Desktop/images/05122025/19/35/image_05122025_19_35_24_9756.jpg', '/home/pi/Desktop/images/05122025/19/35/image_05122025_19_35_44_9694.jpg', '/home/pi/Desktop/images/05122025/19/35/image_05122025_19_35_55_10641.jpg', '/home/pi/Desktop/images/05122025/19/36/image_05122025_19_36_14_9668.jpg', '/home/pi/Desktop/images/05122025/19/36/image_05122025_19_36_25_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/34/image_05122025_19_35_04_9891.jpg
/home/pi/Desktop/images/05122025/19/35/image_05122025_19_35_24_9756.jpg
/home/pi/Desktop/images/05122025/19/35/image_05122025_19_35_44_9694.jpg
/home/pi/Desktop/images/05122025/19/35/image_05122025_19_35_55_10641.jpg
/home/pi/Desktop/images/05122025/19/36/image_05122025_19_36_14_9668.jpg
/home/pi/Desktop/images/05122025/19/36/image_05122025_19_36_25_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":["1398123293","1398123290","1398123227","1398123286","1398123265","1398123288"],"photo_ids_order":["1398123227","1398123265","1398123286","1398123288","1398123290","1398123293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/517f0befd04c924afc974eab893c86a6.jpg","text":"TemporaryFile(/tmp/multipartBody5662620764176392962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961383875,"filename":"image_05122025_19_36_25_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/5/5500dc13e18229f1e259e17354259a07.jpg","text":"TemporaryFile(/tmp/multipartBody1627746704657316028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961383875,"filename":"image_05122025_19_36_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/73e49f084e6bc02b085b3d6ef88ccbbe.jpg","text":"TemporaryFile(/tmp/multipartBody7736216651455791579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961383875,"filename":"image_05122025_19_35_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/5/7c1b60cafd084c8925acb8afc51a6a8e.jpg","text":"TemporaryFile(/tmp/multipartBody2338127443200001570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961383875,"filename":"image_05122025_19_35_44_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/5/fd256891f17a7464e958581dff9ad5a4.jpg","text":"TemporaryFile(/tmp/multipartBody7024137508035371262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961383875,"filename":"image_05122025_19_35_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c5bcccbe076b65540d95a217282d36b.jpg","text":"TemporaryFile(/tmp/multipartBody4539501947881274212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961383875,"filename":"image_05122025_19_35_55_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398123286","file1":"1398123265","file0":"1398123227","file4":"1398123290","file5":"1398123293","file3":"1398123288"},"map_files_photo_id_array":[{"photo_id":"1398123293","filename":"file5"},{"photo_id":"1398123286","filename":"file2"},{"photo_id":"1398123290","filename":"file4"},{"photo_id":"1398123265","filename":"file1"},{"photo_id":"1398123227","filename":"file0"},{"photo_id":"1398123288","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398123293":["hashtag1","hashtag2"]},{"1398123290":["hashtag1","hashtag2"]},{"1398123227":["hashtag1","hashtag2"]},{"1398123286":["hashtag1","hashtag2"]},{"1398123265":["hashtag1","hashtag2"]},{"1398123288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398123293, 1398123290, 1398123227, 1398123286, 1398123265, 1398123288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.506532430648804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:02:42.706694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_02_2730.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_06_3625.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_08_2638.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_11_2585.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_15_3714.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_17_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_02_2730.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_06_3625.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_08_2638.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_11_2585.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_15_3714.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_17_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398123306","1398123461","1398123338","1398123305","1398123301","1398123387"],"photo_ids_order":["1398123301","1398123305","1398123306","1398123338","1398123387","1398123461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bce03be3606bf63862d54810084ef354.jpg","text":"TemporaryFile(/tmp/multipartBody2706690492232429323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961426159,"filename":"image_31102025_20_27_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/5/76d4f12e41379691558833bb33b49c2c.jpg","text":"TemporaryFile(/tmp/multipartBody6577356394799258356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961426159,"filename":"image_31102025_20_27_17_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/5/7fcb5e0311b9b4bb9f68b0214df576fa.jpg","text":"TemporaryFile(/tmp/multipartBody4777734049379808916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961426159,"filename":"image_31102025_20_27_11_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/5/b05cb30d8b80af2dd7aee8135756b85e.jpg","text":"TemporaryFile(/tmp/multipartBody7979037173918716732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961426159,"filename":"image_31102025_20_27_06_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/5/7891e6462250315ef1deedd34da98924.jpg","text":"TemporaryFile(/tmp/multipartBody3272198254361745649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961426159,"filename":"image_31102025_20_27_02_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/5/ad298fb635c6bf18cebec4005eabeea4.jpg","text":"TemporaryFile(/tmp/multipartBody392912385521126161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961426159,"filename":"image_31102025_20_27_15_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398123306","file1":"1398123305","file0":"1398123301","file4":"1398123387","file5":"1398123461","file3":"1398123338"},"map_files_photo_id_array":[{"photo_id":"1398123461","filename":"file5"},{"photo_id":"1398123306","filename":"file2"},{"photo_id":"1398123387","filename":"file4"},{"photo_id":"1398123305","filename":"file1"},{"photo_id":"1398123301","filename":"file0"},{"photo_id":"1398123338","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398123306":["hashtag1","hashtag2"]},{"1398123461":["hashtag1","hashtag2"]},{"1398123338":["hashtag1","hashtag2"]},{"1398123305":["hashtag1","hashtag2"]},{"1398123301":["hashtag1","hashtag2"]},{"1398123387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398123306, 1398123461, 1398123338, 1398123305, 1398123301, 1398123387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27108120918274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:03:31.879677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/19/image_03122025_00_19_34_10786.jpg', '/home/pi/Desktop/images/03122025/00/19/image_03122025_00_19_54_10043.jpg', '/home/pi/Desktop/images/03122025/00/19/image_03122025_00_20_04_9908.jpg', '/home/pi/Desktop/images/03122025/00/20/image_03122025_00_20_24_9713.jpg', '/home/pi/Desktop/images/03122025/00/20/image_03122025_00_20_54_9713.jpg', '/home/pi/Desktop/images/03122025/00/21/image_03122025_00_21_24_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/19/image_03122025_00_19_34_10786.jpg
/home/pi/Desktop/images/03122025/00/19/image_03122025_00_19_54_10043.jpg
/home/pi/Desktop/images/03122025/00/19/image_03122025_00_20_04_9908.jpg
/home/pi/Desktop/images/03122025/00/20/image_03122025_00_20_24_9713.jpg
/home/pi/Desktop/images/03122025/00/20/image_03122025_00_20_54_9713.jpg
/home/pi/Desktop/images/03122025/00/21/image_03122025_00_21_24_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":["1398124067","1398124028","1398123845","1398124135","1398123919","1398123990"],"photo_ids_order":["1398123845","1398123919","1398123990","1398124028","1398124067","1398124135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bfc244afd08f534c71ecdafea01e0373.jpg","text":"TemporaryFile(/tmp/multipartBody5896755156479903669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961474208,"filename":"image_03122025_00_20_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/5/6beb62e8a58cf97224938e9a34e1ab75.jpg","text":"TemporaryFile(/tmp/multipartBody3379288952497370358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961474208,"filename":"image_03122025_00_20_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/5/0f0fc449665b02dc469f345cb575c409.jpg","text":"TemporaryFile(/tmp/multipartBody4404426292478590318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961474208,"filename":"image_03122025_00_19_34_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/5/b863d56c9fa813f8e50aef04e717e3d4.jpg","text":"TemporaryFile(/tmp/multipartBody4696502787895904683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961474208,"filename":"image_03122025_00_21_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/5/f5f9e327f905b5728ded0dc45cd281d9.jpg","text":"TemporaryFile(/tmp/multipartBody1440482443492350146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961474208,"filename":"image_03122025_00_19_54_10043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/458a5ba314169e640aee9f4d3ad58118.jpg","text":"TemporaryFile(/tmp/multipartBody4267733682515477045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961474208,"filename":"image_03122025_00_20_04_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398123990","file1":"1398123919","file0":"1398123845","file4":"1398124067","file5":"1398124135","file3":"1398124028"},"map_files_photo_id_array":[{"photo_id":"1398124135","filename":"file5"},{"photo_id":"1398123990","filename":"file2"},{"photo_id":"1398124067","filename":"file4"},{"photo_id":"1398123919","filename":"file1"},{"photo_id":"1398123845","filename":"file0"},{"photo_id":"1398124028","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398124067":["hashtag1","hashtag2"]},{"1398124028":["hashtag1","hashtag2"]},{"1398123845":["hashtag1","hashtag2"]},{"1398124135":["hashtag1","hashtag2"]},{"1398123919":["hashtag1","hashtag2"]},{"1398123990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398124067, 1398124028, 1398123845, 1398124135, 1398123919, 1398123990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.009401082992554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:04:12.053983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/21/image_03122025_00_22_04_10025.jpg', '/home/pi/Desktop/images/03122025/00/22/image_03122025_00_22_15_10717.jpg', '/home/pi/Desktop/images/03122025/00/22/image_03122025_00_22_24_9650.jpg', '/home/pi/Desktop/images/03122025/00/22/image_03122025_00_22_54_10601.jpg', '/home/pi/Desktop/images/03122025/00/22/image_03122025_00_23_04_9877.jpg', '/home/pi/Desktop/images/03122025/00/23/image_03122025_00_23_24_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/21/image_03122025_00_22_04_10025.jpg
/home/pi/Desktop/images/03122025/00/22/image_03122025_00_22_15_10717.jpg
/home/pi/Desktop/images/03122025/00/22/image_03122025_00_22_24_9650.jpg
/home/pi/Desktop/images/03122025/00/22/image_03122025_00_22_54_10601.jpg
/home/pi/Desktop/images/03122025/00/22/image_03122025_00_23_04_9877.jpg
/home/pi/Desktop/images/03122025/00/23/image_03122025_00_23_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":["1398124523","1398124486","1398124450","1398124324","1398124411","1398124368"],"photo_ids_order":["1398124324","1398124368","1398124411","1398124450","1398124486","1398124523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46a3d5132b347f1c84f11dc9ef81f929.jpg","text":"TemporaryFile(/tmp/multipartBody3214064008952234927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961514310,"filename":"image_03122025_00_23_24_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/81608e42b8bee40569c23098d30b785e.jpg","text":"TemporaryFile(/tmp/multipartBody7097956514140044553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961514310,"filename":"image_03122025_00_23_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/5/32e3d7cf3ff81aa45131bacb9049e837.jpg","text":"TemporaryFile(/tmp/multipartBody3619777521783774257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961514310,"filename":"image_03122025_00_22_54_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/5/47a88bbd4f4cb971438d52e2fa1f3b76.jpg","text":"TemporaryFile(/tmp/multipartBody56212304879945305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961514310,"filename":"image_03122025_00_22_04_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/5/a8790fe9d33cb414897f92d406182522.jpg","text":"TemporaryFile(/tmp/multipartBody8663235853475971988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961514310,"filename":"image_03122025_00_22_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/5/b035c7ecca9eebbea4193ed1e7374ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6042069987281370746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961514310,"filename":"image_03122025_00_22_15_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398124411","file1":"1398124368","file0":"1398124324","file4":"1398124486","file5":"1398124523","file3":"1398124450"},"map_files_photo_id_array":[{"photo_id":"1398124523","filename":"file5"},{"photo_id":"1398124411","filename":"file2"},{"photo_id":"1398124486","filename":"file4"},{"photo_id":"1398124368","filename":"file1"},{"photo_id":"1398124324","filename":"file0"},{"photo_id":"1398124450","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398124523":["hashtag1","hashtag2"]},{"1398124486":["hashtag1","hashtag2"]},{"1398124450":["hashtag1","hashtag2"]},{"1398124324":["hashtag1","hashtag2"]},{"1398124411":["hashtag1","hashtag2"]},{"1398124368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398124523, 1398124486, 1398124450, 1398124324, 1398124411, 1398124368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15889549255371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:05:04.625525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/36/image_05122025_19_36_34_9696.jpg', '/home/pi/Desktop/images/05122025/19/36/image_05122025_19_36_44_9685.jpg', '/home/pi/Desktop/images/05122025/19/36/image_05122025_19_36_55_10800.jpg', '/home/pi/Desktop/images/05122025/19/37/image_05122025_19_37_24_9736.jpg', '/home/pi/Desktop/images/05122025/19/37/image_05122025_19_37_45_10710.jpg', '/home/pi/Desktop/images/05122025/19/37/image_05122025_19_38_04_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/36/image_05122025_19_36_34_9696.jpg
/home/pi/Desktop/images/05122025/19/36/image_05122025_19_36_44_9685.jpg
/home/pi/Desktop/images/05122025/19/36/image_05122025_19_36_55_10800.jpg
/home/pi/Desktop/images/05122025/19/37/image_05122025_19_37_24_9736.jpg
/home/pi/Desktop/images/05122025/19/37/image_05122025_19_37_45_10710.jpg
/home/pi/Desktop/images/05122025/19/37/image_05122025_19_38_04_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398124778","1398124850","1398124934","1398124814","1398124891","1398124741"],"photo_ids_order":["1398124741","1398124778","1398124814","1398124850","1398124891","1398124934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9e73f50fc3cd98aecce242c567c6f7f.jpg","text":"TemporaryFile(/tmp/multipartBody3809708698522493802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961565497,"filename":"image_05122025_19_36_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/5/dd4625d84a1fc80455b560b4eadf629b.jpg","text":"TemporaryFile(/tmp/multipartBody4278966921944006968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961565497,"filename":"image_05122025_19_37_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/5/6d731fd8bedc318869e5d8de3ccc7655.jpg","text":"TemporaryFile(/tmp/multipartBody2365313276938478934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961565497,"filename":"image_05122025_19_38_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/5/316ed8907cf049bd6dbd8831136d5562.jpg","text":"TemporaryFile(/tmp/multipartBody107737119175199674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961565497,"filename":"image_05122025_19_36_55_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/5/9b6a000b83c76b40aab4165342f5609a.jpg","text":"TemporaryFile(/tmp/multipartBody8303810189548577760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961565497,"filename":"image_05122025_19_37_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/5/ce5c87b29b8eae93700cc97b47e69856.jpg","text":"TemporaryFile(/tmp/multipartBody4261597991369202281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961565497,"filename":"image_05122025_19_36_34_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398124814","file1":"1398124778","file0":"1398124741","file4":"1398124891","file5":"1398124934","file3":"1398124850"},"map_files_photo_id_array":[{"photo_id":"1398124934","filename":"file5"},{"photo_id":"1398124814","filename":"file2"},{"photo_id":"1398124891","filename":"file4"},{"photo_id":"1398124778","filename":"file1"},{"photo_id":"1398124741","filename":"file0"},{"photo_id":"1398124850","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398124778":["hashtag1","hashtag2"]},{"1398124850":["hashtag1","hashtag2"]},{"1398124934":["hashtag1","hashtag2"]},{"1398124814":["hashtag1","hashtag2"]},{"1398124891":["hashtag1","hashtag2"]},{"1398124741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398124778, 1398124850, 1398124934, 1398124814, 1398124891, 1398124741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.780893325805664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:05:42.503049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_20_2808.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_24_3634.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_26_2660.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_32_2519.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_35_3603.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_38_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_20_2808.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_24_3634.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_26_2660.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_32_2519.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_35_3603.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_38_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398124990","1398124984","1398124987","1398124989","1398124986","1398124988"],"photo_ids_order":["1398124984","1398124986","1398124987","1398124988","1398124989","1398124990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db3f7eb5c24641aa4bd25015f07ddce2.jpg","text":"TemporaryFile(/tmp/multipartBody2944506970702554098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961604052,"filename":"image_31102025_20_27_38_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/5/327609dd6e50e4fbd5d8cbcb27db9bdd.jpg","text":"TemporaryFile(/tmp/multipartBody8948755261163641013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961604052,"filename":"image_31102025_20_27_20_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/5/d1094223c54f872a8360f90d45c67064.jpg","text":"TemporaryFile(/tmp/multipartBody3980829589823625751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961604052,"filename":"image_31102025_20_27_26_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/5/83ede93c9e540d319ae95ffe232bfc74.jpg","text":"TemporaryFile(/tmp/multipartBody9174560132868123317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961604052,"filename":"image_31102025_20_27_35_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/5/2f9f9013ea66f55ae42a7c182490d1f0.jpg","text":"TemporaryFile(/tmp/multipartBody2085525895958703843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961604052,"filename":"image_31102025_20_27_24_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/5/ed31fab3ba6c26da6ad953332aaa96d3.jpg","text":"TemporaryFile(/tmp/multipartBody4483704538943196598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961604052,"filename":"image_31102025_20_27_32_2519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398124987","file1":"1398124986","file0":"1398124984","file4":"1398124989","file5":"1398124990","file3":"1398124988"},"map_files_photo_id_array":[{"photo_id":"1398124990","filename":"file5"},{"photo_id":"1398124987","filename":"file2"},{"photo_id":"1398124989","filename":"file4"},{"photo_id":"1398124986","filename":"file1"},{"photo_id":"1398124984","filename":"file0"},{"photo_id":"1398124988","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398124990":["hashtag1","hashtag2"]},{"1398124984":["hashtag1","hashtag2"]},{"1398124987":["hashtag1","hashtag2"]},{"1398124989":["hashtag1","hashtag2"]},{"1398124986":["hashtag1","hashtag2"]},{"1398124988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398124990, 1398124984, 1398124987, 1398124989, 1398124986, 1398124988)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.59252572059631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-05 20:06:32.596084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/23/image_03122025_00_23_54_9794.jpg', '/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_14_9682.jpg', '/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_34_9776.jpg', '/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_44_9853.jpg', '/home/pi/Desktop/images/03122025/00/26/image_03122025_00_26_25_9868.jpg', '/home/pi/Desktop/images/03122025/00/26/image_03122025_00_26_34_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/23/image_03122025_00_23_54_9794.jpg
/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_14_9682.jpg
/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_34_9776.jpg
/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_44_9853.jpg
/home/pi/Desktop/images/03122025/00/26/image_03122025_00_26_25_9868.jpg
/home/pi/Desktop/images/03122025/00/26/image_03122025_00_26_34_9658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.770451307296753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:07:03.171260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 20:07:12.643503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/23/image_03122025_00_23_54_9794.jpg', '/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_14_9682.jpg', '/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_34_9776.jpg', '/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_44_9853.jpg', '/home/pi/Desktop/images/03122025/00/26/image_03122025_00_26_25_9868.jpg', '/home/pi/Desktop/images/03122025/00/26/image_03122025_00_26_34_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/23/image_03122025_00_23_54_9794.jpg
/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_14_9682.jpg
/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_34_9776.jpg
/home/pi/Desktop/images/03122025/00/24/image_03122025_00_24_44_9853.jpg
/home/pi/Desktop/images/03122025/00/26/image_03122025_00_26_25_9868.jpg
/home/pi/Desktop/images/03122025/00/26/image_03122025_00_26_34_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398125293","1398125287","1398125362","1398125335","1398125286","1398125360"],"photo_ids_order":["1398125286","1398125287","1398125293","1398125335","1398125360","1398125362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b6b882473a1f2ccb5258cb6a05b5adb3.jpg","text":"TemporaryFile(/tmp/multipartBody3187062321561115326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961695772,"filename":"image_03122025_00_24_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/5/96508bb1de81225c6a8c86893ebba2d5.jpg","text":"TemporaryFile(/tmp/multipartBody1206724624172709067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961695772,"filename":"image_03122025_00_24_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/5/55378e07414daf1955825abd8a6365fd.jpg","text":"TemporaryFile(/tmp/multipartBody8664783610531177612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961695772,"filename":"image_03122025_00_26_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/5/94265cc4ddb4086bd99c977ca0f2ae62.jpg","text":"TemporaryFile(/tmp/multipartBody3991843639590255884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961695772,"filename":"image_03122025_00_24_44_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7737627354064e84ce19d2890bd60136.jpg","text":"TemporaryFile(/tmp/multipartBody1759429357013592802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961695772,"filename":"image_03122025_00_23_54_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/353b81b7b633a926fede94e759e40418.jpg","text":"TemporaryFile(/tmp/multipartBody201267501260894904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961695772,"filename":"image_03122025_00_26_25_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125293","file1":"1398125287","file0":"1398125286","file4":"1398125360","file5":"1398125362","file3":"1398125335"},"map_files_photo_id_array":[{"photo_id":"1398125362","filename":"file5"},{"photo_id":"1398125293","filename":"file2"},{"photo_id":"1398125360","filename":"file4"},{"photo_id":"1398125287","filename":"file1"},{"photo_id":"1398125286","filename":"file0"},{"photo_id":"1398125335","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398125293":["hashtag1","hashtag2"]},{"1398125287":["hashtag1","hashtag2"]},{"1398125362":["hashtag1","hashtag2"]},{"1398125335":["hashtag1","hashtag2"]},{"1398125286":["hashtag1","hashtag2"]},{"1398125360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398125293, 1398125287, 1398125362, 1398125335, 1398125286, 1398125360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56502342224121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:08:03.015752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 20:08:12.505087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/26/image_03122025_00_27_04_10654.jpg', '/home/pi/Desktop/images/03122025/00/27/image_03122025_00_27_24_9611.jpg', '/home/pi/Desktop/images/03122025/00/28/image_03122025_00_28_14_9679.jpg', '/home/pi/Desktop/images/03122025/00/31/image_03122025_00_31_44_10619.jpg', '/home/pi/Desktop/images/03122025/00/32/image_03122025_00_32_14_9902.jpg', '/home/pi/Desktop/images/03122025/00/32/image_03122025_00_32_25_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/26/image_03122025_00_27_04_10654.jpg
/home/pi/Desktop/images/03122025/00/27/image_03122025_00_27_24_9611.jpg
/home/pi/Desktop/images/03122025/00/28/image_03122025_00_28_14_9679.jpg
/home/pi/Desktop/images/03122025/00/31/image_03122025_00_31_44_10619.jpg
/home/pi/Desktop/images/03122025/00/32/image_03122025_00_32_14_9902.jpg
/home/pi/Desktop/images/03122025/00/32/image_03122025_00_32_25_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398125467","1398125499","1398125460","1398125457","1398125511","1398125462"],"photo_ids_order":["1398125457","1398125460","1398125462","1398125467","1398125499","1398125511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a3d68f2781e78f6998a7b68764d5d9b2.jpg","text":"TemporaryFile(/tmp/multipartBody4150621897586091611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961754448,"filename":"image_03122025_00_31_44_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/5/6f421afb3505994585aea678a40c9735.jpg","text":"TemporaryFile(/tmp/multipartBody3920238946339604639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961754448,"filename":"image_03122025_00_32_14_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/5/c7a9059b5c09e2994db885676324bcb8.jpg","text":"TemporaryFile(/tmp/multipartBody5086495409530385283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961754448,"filename":"image_03122025_00_27_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/81f292afe2003aa43ca6ee3a6096d73c.jpg","text":"TemporaryFile(/tmp/multipartBody3835554423203297833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961754448,"filename":"image_03122025_00_27_04_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/5/55dfac52f99776a0f7723e8cfe2c28b8.jpg","text":"TemporaryFile(/tmp/multipartBody3439896067108230302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961754448,"filename":"image_03122025_00_32_25_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/5/b5b9d9c1ddc07cf083c7642ea58613ca.jpg","text":"TemporaryFile(/tmp/multipartBody7534524807691818043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961754448,"filename":"image_03122025_00_28_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125462","file1":"1398125460","file0":"1398125457","file4":"1398125499","file5":"1398125511","file3":"1398125467"},"map_files_photo_id_array":[{"photo_id":"1398125511","filename":"file5"},{"photo_id":"1398125462","filename":"file2"},{"photo_id":"1398125499","filename":"file4"},{"photo_id":"1398125460","filename":"file1"},{"photo_id":"1398125457","filename":"file0"},{"photo_id":"1398125467","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398125467":["hashtag1","hashtag2"]},{"1398125499":["hashtag1","hashtag2"]},{"1398125460":["hashtag1","hashtag2"]},{"1398125457":["hashtag1","hashtag2"]},{"1398125511":["hashtag1","hashtag2"]},{"1398125462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398125467, 1398125499, 1398125460, 1398125457, 1398125511, 1398125462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85498833656311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:09:02.844743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 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-05 20:09:18.016154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/35/image_03122025_00_35_34_9730.jpg', '/home/pi/Desktop/images/03122025/00/36/image_03122025_00_36_34_10645.jpg', '/home/pi/Desktop/images/03122025/00/36/image_03122025_00_36_45_10145.jpg', '/home/pi/Desktop/images/03122025/00/37/image_03122025_00_37_44_9854.jpg', '/home/pi/Desktop/images/03122025/00/37/image_03122025_00_38_04_9700.jpg', '/home/pi/Desktop/images/03122025/00/38/image_03122025_00_38_34_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/35/image_03122025_00_35_34_9730.jpg
/home/pi/Desktop/images/03122025/00/36/image_03122025_00_36_34_10645.jpg
/home/pi/Desktop/images/03122025/00/36/image_03122025_00_36_45_10145.jpg
/home/pi/Desktop/images/03122025/00/37/image_03122025_00_37_44_9854.jpg
/home/pi/Desktop/images/03122025/00/37/image_03122025_00_38_04_9700.jpg
/home/pi/Desktop/images/03122025/00/38/image_03122025_00_38_34_9975.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398125726","1398125720","1398125722","1398125716","1398125724","1398125718"],"photo_ids_order":["1398125716","1398125718","1398125720","1398125722","1398125724","1398125726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e8223ab47554cd2912b4015524dbb3ed.jpg","text":"TemporaryFile(/tmp/multipartBody4492422717194782936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961820327,"filename":"image_03122025_00_38_34_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/5/5ad28e84b3e511ef0d5be7d8d69a97c7.jpg","text":"TemporaryFile(/tmp/multipartBody9116328644606791926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961820327,"filename":"image_03122025_00_36_45_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/5/31be625e69840916d4ec30730616f0d1.jpg","text":"TemporaryFile(/tmp/multipartBody486571783516168271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961820327,"filename":"image_03122025_00_37_44_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/5/bf031212606e7d11b84c5544e97f9f20.jpg","text":"TemporaryFile(/tmp/multipartBody6815844419562468458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961820327,"filename":"image_03122025_00_35_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/5/c8cfe5e0de1f9097f0fef8c44684f34f.jpg","text":"TemporaryFile(/tmp/multipartBody3166603713617196181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961820327,"filename":"image_03122025_00_38_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/5/9bde61c2b86734079a7aecce20cea67c.jpg","text":"TemporaryFile(/tmp/multipartBody7418132851931072828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961820327,"filename":"image_03122025_00_36_34_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125720","file1":"1398125718","file0":"1398125716","file4":"1398125724","file5":"1398125726","file3":"1398125722"},"map_files_photo_id_array":[{"photo_id":"1398125726","filename":"file5"},{"photo_id":"1398125720","filename":"file2"},{"photo_id":"1398125724","filename":"file4"},{"photo_id":"1398125718","filename":"file1"},{"photo_id":"1398125716","filename":"file0"},{"photo_id":"1398125722","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398125726":["hashtag1","hashtag2"]},{"1398125720":["hashtag1","hashtag2"]},{"1398125722":["hashtag1","hashtag2"]},{"1398125716":["hashtag1","hashtag2"]},{"1398125724":["hashtag1","hashtag2"]},{"1398125718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398125726, 1398125720, 1398125722, 1398125716, 1398125724, 1398125718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.015464782714844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:10:02.610846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/38/image_05122025_19_38_14_9771.jpg', '/home/pi/Desktop/images/05122025/19/38/image_05122025_19_38_34_9664.jpg', '/home/pi/Desktop/images/05122025/19/38/image_05122025_19_38_44_9694.jpg', '/home/pi/Desktop/images/05122025/19/38/image_05122025_19_39_04_10669.jpg', '/home/pi/Desktop/images/05122025/19/39/image_05122025_19_39_24_9762.jpg', '/home/pi/Desktop/images/05122025/19/39/image_05122025_19_40_04_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/38/image_05122025_19_38_14_9771.jpg
/home/pi/Desktop/images/05122025/19/38/image_05122025_19_38_34_9664.jpg
/home/pi/Desktop/images/05122025/19/38/image_05122025_19_38_44_9694.jpg
/home/pi/Desktop/images/05122025/19/38/image_05122025_19_39_04_10669.jpg
/home/pi/Desktop/images/05122025/19/39/image_05122025_19_39_24_9762.jpg
/home/pi/Desktop/images/05122025/19/39/image_05122025_19_40_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":["1398125732","1398125734","1398125728","1398125737","1398125730","1398125735"],"photo_ids_order":["1398125728","1398125730","1398125732","1398125734","1398125735","1398125737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abdfc566c594ffb4ea174b2c6adf7037.jpg","text":"TemporaryFile(/tmp/multipartBody3328510970086648302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961863407,"filename":"image_05122025_19_38_44_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/5/46b4b0db8c738ffc7b8e3b72af0f8d19.jpg","text":"TemporaryFile(/tmp/multipartBody1762415682905392066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961863407,"filename":"image_05122025_19_39_04_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/5/d9d1470d859c0add0b7aa1f1c87b95b2.jpg","text":"TemporaryFile(/tmp/multipartBody7690416982798351989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961863407,"filename":"image_05122025_19_38_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/5/3b528267bfe788495489369bf2cea0bc.jpg","text":"TemporaryFile(/tmp/multipartBody2743838479048500715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961863407,"filename":"image_05122025_19_40_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/5/38a0e0bdd53b88df72d94d0797c819fb.jpg","text":"TemporaryFile(/tmp/multipartBody8907732026147118417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961863407,"filename":"image_05122025_19_38_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d86dcb3872fca8196cdd17e63371fe21.jpg","text":"TemporaryFile(/tmp/multipartBody408364384454736533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961863407,"filename":"image_05122025_19_39_24_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125732","file1":"1398125730","file0":"1398125728","file4":"1398125735","file5":"1398125737","file3":"1398125734"},"map_files_photo_id_array":[{"photo_id":"1398125737","filename":"file5"},{"photo_id":"1398125732","filename":"file2"},{"photo_id":"1398125735","filename":"file4"},{"photo_id":"1398125730","filename":"file1"},{"photo_id":"1398125728","filename":"file0"},{"photo_id":"1398125734","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398125732":["hashtag1","hashtag2"]},{"1398125734":["hashtag1","hashtag2"]},{"1398125728":["hashtag1","hashtag2"]},{"1398125737":["hashtag1","hashtag2"]},{"1398125730":["hashtag1","hashtag2"]},{"1398125735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398125732, 1398125734, 1398125728, 1398125737, 1398125730, 1398125735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.388033628463745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:10:42.230281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_41_2805.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_44_3697.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_47_2705.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_50_2624.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_53_3589.jpg', '/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_56_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_41_2805.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_44_3697.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_47_2705.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_50_2624.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_53_3589.jpg
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_27_56_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":["1398125758","1398125760","1398125757","1398125753","1398125756","1398125759"],"photo_ids_order":["1398125753","1398125756","1398125757","1398125758","1398125759","1398125760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f58fb43efbfd7e65cb547e50544ec2c.jpg","text":"TemporaryFile(/tmp/multipartBody734930695989866843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961903810,"filename":"image_31102025_20_27_50_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/5/88242517e842ff9d7b9a40c65d27fe5a.jpg","text":"TemporaryFile(/tmp/multipartBody717860549058188032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961903810,"filename":"image_31102025_20_27_56_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/5/3735a8e935da5966bdcc394c19485d27.jpg","text":"TemporaryFile(/tmp/multipartBody9104372092327794797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961903810,"filename":"image_31102025_20_27_47_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/5/685fba8a257c734c6350d003b5d293f0.jpg","text":"TemporaryFile(/tmp/multipartBody7350244710025990252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961903810,"filename":"image_31102025_20_27_41_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/5/299d84afff5b356b3ef466d5e1e40e29.jpg","text":"TemporaryFile(/tmp/multipartBody7325210065375285630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961903810,"filename":"image_31102025_20_27_44_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/5/5cc158b2ae63fdd504d93d04826944e8.jpg","text":"TemporaryFile(/tmp/multipartBody5470386036802245208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961903810,"filename":"image_31102025_20_27_53_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125757","file1":"1398125756","file0":"1398125753","file4":"1398125759","file5":"1398125760","file3":"1398125758"},"map_files_photo_id_array":[{"photo_id":"1398125760","filename":"file5"},{"photo_id":"1398125757","filename":"file2"},{"photo_id":"1398125759","filename":"file4"},{"photo_id":"1398125756","filename":"file1"},{"photo_id":"1398125753","filename":"file0"},{"photo_id":"1398125758","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398125758":["hashtag1","hashtag2"]},{"1398125760":["hashtag1","hashtag2"]},{"1398125757":["hashtag1","hashtag2"]},{"1398125753":["hashtag1","hashtag2"]},{"1398125756":["hashtag1","hashtag2"]},{"1398125759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398125758, 1398125760, 1398125757, 1398125753, 1398125756, 1398125759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07827067375183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:11:22.432171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/40/image_05122025_19_40_15_10885.jpg', '/home/pi/Desktop/images/05122025/19/40/image_05122025_19_40_25_9966.jpg', '/home/pi/Desktop/images/05122025/19/40/image_05122025_19_40_34_9710.jpg', '/home/pi/Desktop/images/05122025/19/40/image_05122025_19_40_44_9860.jpg', '/home/pi/Desktop/images/05122025/19/41/image_05122025_19_41_34_9746.jpg', '/home/pi/Desktop/images/05122025/19/41/image_05122025_19_41_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/40/image_05122025_19_40_15_10885.jpg
/home/pi/Desktop/images/05122025/19/40/image_05122025_19_40_25_9966.jpg
/home/pi/Desktop/images/05122025/19/40/image_05122025_19_40_34_9710.jpg
/home/pi/Desktop/images/05122025/19/40/image_05122025_19_40_44_9860.jpg
/home/pi/Desktop/images/05122025/19/41/image_05122025_19_41_34_9746.jpg
/home/pi/Desktop/images/05122025/19/41/image_05122025_19_41_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":["1398125770","1398125773","1398125769","1398125766","1398125762","1398125765"],"photo_ids_order":["1398125762","1398125765","1398125766","1398125769","1398125770","1398125773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5a9b66ceb5871b11dc3cd870440f102f.jpg","text":"TemporaryFile(/tmp/multipartBody346359767201468196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961943161,"filename":"image_05122025_19_41_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/5/27ec0d79566f64601329d01abe7df5fa.jpg","text":"TemporaryFile(/tmp/multipartBody7550472005077843153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961943161,"filename":"image_05122025_19_41_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/5/c2134b7ce80848ca1696201d37e0a771.jpg","text":"TemporaryFile(/tmp/multipartBody94834206790558297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961943161,"filename":"image_05122025_19_40_44_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/5/59c6bc7fb14844dbd88b119b86c5cfc3.jpg","text":"TemporaryFile(/tmp/multipartBody3064698272421087802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961943161,"filename":"image_05122025_19_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/5/88d0b931c0c1a38bbdfee5749c48b77c.jpg","text":"TemporaryFile(/tmp/multipartBody6030194951930773820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961943161,"filename":"image_05122025_19_40_15_10885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95b11e830a395dc5781fe1a587ca9042.jpg","text":"TemporaryFile(/tmp/multipartBody4274620273589202626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961943161,"filename":"image_05122025_19_40_25_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125766","file1":"1398125765","file0":"1398125762","file4":"1398125770","file5":"1398125773","file3":"1398125769"},"map_files_photo_id_array":[{"photo_id":"1398125773","filename":"file5"},{"photo_id":"1398125766","filename":"file2"},{"photo_id":"1398125770","filename":"file4"},{"photo_id":"1398125765","filename":"file1"},{"photo_id":"1398125762","filename":"file0"},{"photo_id":"1398125769","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398125770":["hashtag1","hashtag2"]},{"1398125773":["hashtag1","hashtag2"]},{"1398125769":["hashtag1","hashtag2"]},{"1398125766":["hashtag1","hashtag2"]},{"1398125762":["hashtag1","hashtag2"]},{"1398125765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398125770, 1398125773, 1398125769, 1398125766, 1398125762, 1398125765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.438026905059814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:12:03.075174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/41/image_05122025_19_41_55_10683.jpg', '/home/pi/Desktop/images/05122025/19/41/image_05122025_19_42_04_9632.jpg', '/home/pi/Desktop/images/05122025/19/42/image_05122025_19_42_25_10692.jpg', '/home/pi/Desktop/images/05122025/19/42/image_05122025_19_42_34_9700.jpg', '/home/pi/Desktop/images/05122025/19/42/image_05122025_19_42_44_9808.jpg', '/home/pi/Desktop/images/05122025/19/42/image_05122025_19_43_04_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/41/image_05122025_19_41_55_10683.jpg
/home/pi/Desktop/images/05122025/19/41/image_05122025_19_42_04_9632.jpg
/home/pi/Desktop/images/05122025/19/42/image_05122025_19_42_25_10692.jpg
/home/pi/Desktop/images/05122025/19/42/image_05122025_19_42_34_9700.jpg
/home/pi/Desktop/images/05122025/19/42/image_05122025_19_42_44_9808.jpg
/home/pi/Desktop/images/05122025/19/42/image_05122025_19_43_04_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":["1398125797","1398125776","1398125800","1398125802","1398125774","1398125777"],"photo_ids_order":["1398125774","1398125776","1398125777","1398125797","1398125800","1398125802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/726ddfb87433b01f12279d9615958262.jpg","text":"TemporaryFile(/tmp/multipartBody6275250936834860168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961983850,"filename":"image_05122025_19_42_34_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/435d2a87edc701c9b0253976d722fee8.jpg","text":"TemporaryFile(/tmp/multipartBody4304065646695803168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961983850,"filename":"image_05122025_19_42_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/54c438fc74145704998af81d6e2d7451.jpg","text":"TemporaryFile(/tmp/multipartBody5740992920757575441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961983850,"filename":"image_05122025_19_42_44_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d9465c3e250c489032ba0e77b9119346.jpg","text":"TemporaryFile(/tmp/multipartBody5309644886869036523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961983850,"filename":"image_05122025_19_43_04_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4659a3a40f1bc1a9f0f84134a5871fe.jpg","text":"TemporaryFile(/tmp/multipartBody1405242182962177506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961983850,"filename":"image_05122025_19_41_55_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5ef5d2da4bf537a66b349e8506d1ad7c.jpg","text":"TemporaryFile(/tmp/multipartBody5876711244796968477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764961983850,"filename":"image_05122025_19_42_25_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125777","file1":"1398125776","file0":"1398125774","file4":"1398125800","file5":"1398125802","file3":"1398125797"},"map_files_photo_id_array":[{"photo_id":"1398125802","filename":"file5"},{"photo_id":"1398125777","filename":"file2"},{"photo_id":"1398125800","filename":"file4"},{"photo_id":"1398125776","filename":"file1"},{"photo_id":"1398125774","filename":"file0"},{"photo_id":"1398125797","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398125797":["hashtag1","hashtag2"]},{"1398125776":["hashtag1","hashtag2"]},{"1398125800":["hashtag1","hashtag2"]},{"1398125802":["hashtag1","hashtag2"]},{"1398125774":["hashtag1","hashtag2"]},{"1398125777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398125797, 1398125776, 1398125800, 1398125802, 1398125774, 1398125777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24971413612366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:12:42.555989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/27/image_31102025_20_28_00_3620.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_02_2732.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_14_2654.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_17_2837.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_21_3580.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_26_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/27/image_31102025_20_28_00_3620.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_02_2732.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_14_2654.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_17_2837.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_21_3580.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_26_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":["1398125918","1398125825","1398125810","1398125862","1398125808","1398125901"],"photo_ids_order":["1398125808","1398125810","1398125825","1398125862","1398125901","1398125918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/35a5228b39f3885c18dab3e015e88b43.jpg","text":"TemporaryFile(/tmp/multipartBody7351031943504147621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962024174,"filename":"image_31102025_20_28_26_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/5/dd7668c2b0d459bdbb588aafa6701af3.jpg","text":"TemporaryFile(/tmp/multipartBody8163085112380346415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962024174,"filename":"image_31102025_20_28_14_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/5/b6499a56c5a838d731494521c22e3c11.jpg","text":"TemporaryFile(/tmp/multipartBody7459498610331673749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962024174,"filename":"image_31102025_20_28_02_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/5/eed8a10b6f3250f51bbca8ac43107d0a.jpg","text":"TemporaryFile(/tmp/multipartBody7160890718886443234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962024174,"filename":"image_31102025_20_28_17_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/5/fc2eaaed33facf700180677e9415f696.jpg","text":"TemporaryFile(/tmp/multipartBody6542031944806510788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962024174,"filename":"image_31102025_20_28_00_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/5/17e81e03b08bf77823e9733671c7842d.jpg","text":"TemporaryFile(/tmp/multipartBody3655493567966775140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962024174,"filename":"image_31102025_20_28_21_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125825","file1":"1398125810","file0":"1398125808","file4":"1398125901","file5":"1398125918","file3":"1398125862"},"map_files_photo_id_array":[{"photo_id":"1398125918","filename":"file5"},{"photo_id":"1398125825","filename":"file2"},{"photo_id":"1398125901","filename":"file4"},{"photo_id":"1398125810","filename":"file1"},{"photo_id":"1398125808","filename":"file0"},{"photo_id":"1398125862","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398125918":["hashtag1","hashtag2"]},{"1398125825":["hashtag1","hashtag2"]},{"1398125810":["hashtag1","hashtag2"]},{"1398125862":["hashtag1","hashtag2"]},{"1398125808":["hashtag1","hashtag2"]},{"1398125901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398125918, 1398125825, 1398125810, 1398125862, 1398125808, 1398125901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04265856742859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:13:22.719361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/43/image_05122025_19_43_15_10662.jpg', '/home/pi/Desktop/images/05122025/19/43/image_05122025_19_43_24_9644.jpg', '/home/pi/Desktop/images/05122025/19/43/image_05122025_19_43_34_9741.jpg', '/home/pi/Desktop/images/05122025/19/44/image_05122025_19_44_14_9681.jpg', '/home/pi/Desktop/images/05122025/19/45/image_05122025_19_45_24_9682.jpg', '/home/pi/Desktop/images/05122025/19/45/image_05122025_19_45_34_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/43/image_05122025_19_43_15_10662.jpg
/home/pi/Desktop/images/05122025/19/43/image_05122025_19_43_24_9644.jpg
/home/pi/Desktop/images/05122025/19/43/image_05122025_19_43_34_9741.jpg
/home/pi/Desktop/images/05122025/19/44/image_05122025_19_44_14_9681.jpg
/home/pi/Desktop/images/05122025/19/45/image_05122025_19_45_24_9682.jpg
/home/pi/Desktop/images/05122025/19/45/image_05122025_19_45_34_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398125924","1398125926","1398125920","1398125922","1398125931","1398125928"],"photo_ids_order":["1398125920","1398125922","1398125924","1398125926","1398125928","1398125931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a9e1915a0452884acd6838c697e5dac0.jpg","text":"TemporaryFile(/tmp/multipartBody7369137049321056941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962063471,"filename":"image_05122025_19_43_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/5/8aa87eb41bee00528dd05c34d17d26c7.jpg","text":"TemporaryFile(/tmp/multipartBody2508207792310066480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962063471,"filename":"image_05122025_19_44_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/5/6ad6b7664ab02b57ee511ff072dff251.jpg","text":"TemporaryFile(/tmp/multipartBody8644664718820294428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962063471,"filename":"image_05122025_19_43_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/5/6a88676c5387fdbd330e355ba8b0150e.jpg","text":"TemporaryFile(/tmp/multipartBody7483873503405351980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962063471,"filename":"image_05122025_19_43_24_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/5/d180c7c8e72d6aeca01637f431f5ce6b.jpg","text":"TemporaryFile(/tmp/multipartBody6700582180392083183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962063471,"filename":"image_05122025_19_45_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/5/16267f3c9900d705ae928d6e65c12a0e.jpg","text":"TemporaryFile(/tmp/multipartBody7733636680149287464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962063471,"filename":"image_05122025_19_45_24_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125924","file1":"1398125922","file0":"1398125920","file4":"1398125928","file5":"1398125931","file3":"1398125926"},"map_files_photo_id_array":[{"photo_id":"1398125931","filename":"file5"},{"photo_id":"1398125924","filename":"file2"},{"photo_id":"1398125928","filename":"file4"},{"photo_id":"1398125922","filename":"file1"},{"photo_id":"1398125920","filename":"file0"},{"photo_id":"1398125926","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398125924":["hashtag1","hashtag2"]},{"1398125926":["hashtag1","hashtag2"]},{"1398125920":["hashtag1","hashtag2"]},{"1398125922":["hashtag1","hashtag2"]},{"1398125931":["hashtag1","hashtag2"]},{"1398125928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398125924, 1398125926, 1398125920, 1398125922, 1398125931, 1398125928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77200794219971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:14:02.444837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/45/image_05122025_19_45_45_10707.jpg', '/home/pi/Desktop/images/05122025/19/45/image_05122025_19_45_54_9741.jpg', '/home/pi/Desktop/images/05122025/19/45/image_05122025_19_46_04_9827.jpg', '/home/pi/Desktop/images/05122025/19/46/image_05122025_19_46_14_9844.jpg', '/home/pi/Desktop/images/05122025/19/46/image_05122025_19_46_24_10315.jpg', '/home/pi/Desktop/images/05122025/19/46/image_05122025_19_46_34_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/45/image_05122025_19_45_45_10707.jpg
/home/pi/Desktop/images/05122025/19/45/image_05122025_19_45_54_9741.jpg
/home/pi/Desktop/images/05122025/19/45/image_05122025_19_46_04_9827.jpg
/home/pi/Desktop/images/05122025/19/46/image_05122025_19_46_14_9844.jpg
/home/pi/Desktop/images/05122025/19/46/image_05122025_19_46_24_10315.jpg
/home/pi/Desktop/images/05122025/19/46/image_05122025_19_46_34_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":["1398125939","1398125932","1398125943","1398125946","1398125934","1398125936"],"photo_ids_order":["1398125932","1398125934","1398125936","1398125939","1398125943","1398125946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a315199a7edb92c4012fbd8518ba63bb.jpg","text":"TemporaryFile(/tmp/multipartBody9210482347818888479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962103414,"filename":"image_05122025_19_46_14_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c7dbec2296ed7b29f3c4d2f2cbe10bc8.jpg","text":"TemporaryFile(/tmp/multipartBody2896310604857727793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962103414,"filename":"image_05122025_19_45_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/5/fa895981683ddf37a56734a89e60a37b.jpg","text":"TemporaryFile(/tmp/multipartBody2168307007426677098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962103414,"filename":"image_05122025_19_46_24_10315.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f6ec9a3f85da3bc02ddeac16e420ce2.jpg","text":"TemporaryFile(/tmp/multipartBody2320989638666196806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962103414,"filename":"image_05122025_19_46_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/866ff0eba3a8c3168046f1a2147a47d6.jpg","text":"TemporaryFile(/tmp/multipartBody1118467240822855913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962103414,"filename":"image_05122025_19_45_54_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2aeee024acacbf4b0349cda3000393db.jpg","text":"TemporaryFile(/tmp/multipartBody9177761153715450796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962103414,"filename":"image_05122025_19_46_04_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125936","file1":"1398125934","file0":"1398125932","file4":"1398125943","file5":"1398125946","file3":"1398125939"},"map_files_photo_id_array":[{"photo_id":"1398125946","filename":"file5"},{"photo_id":"1398125936","filename":"file2"},{"photo_id":"1398125943","filename":"file4"},{"photo_id":"1398125934","filename":"file1"},{"photo_id":"1398125932","filename":"file0"},{"photo_id":"1398125939","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398125939":["hashtag1","hashtag2"]},{"1398125932":["hashtag1","hashtag2"]},{"1398125943":["hashtag1","hashtag2"]},{"1398125946":["hashtag1","hashtag2"]},{"1398125934":["hashtag1","hashtag2"]},{"1398125936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398125939, 1398125932, 1398125943, 1398125946, 1398125934, 1398125936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40705728530884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:14:42.012875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_35_2553.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_39_3824.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_41_2750.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_44_2593.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_48_3628.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_50_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_35_2553.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_39_3824.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_41_2750.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_44_2593.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_48_3628.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_50_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":["1398125956","1398125979","1398125961","1398125970","1398125952","1398125957"],"photo_ids_order":["1398125952","1398125956","1398125957","1398125961","1398125970","1398125979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2cd47481d5463f54a558e2e4e81dc1f8.jpg","text":"TemporaryFile(/tmp/multipartBody1226946037714097692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962143584,"filename":"image_31102025_20_28_39_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ab5df56a17e6c30ca45c3ffdc3f0eefe.jpg","text":"TemporaryFile(/tmp/multipartBody5793516310150889055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962143584,"filename":"image_31102025_20_28_50_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/5/a5ceb6dbb19629157eec175596f36da6.jpg","text":"TemporaryFile(/tmp/multipartBody7182073951878454718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962143584,"filename":"image_31102025_20_28_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/5/1828aeec28f9d2b4a517bef44b97913e.jpg","text":"TemporaryFile(/tmp/multipartBody1014360464284566893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962143584,"filename":"image_31102025_20_28_48_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/5/c1f9c2998fb1b97d00440e83188b3599.jpg","text":"TemporaryFile(/tmp/multipartBody3852553225598378315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962143584,"filename":"image_31102025_20_28_35_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/5/abbed5c82573ae786dbe1f41fee2d2c2.jpg","text":"TemporaryFile(/tmp/multipartBody6960470485885919477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962143584,"filename":"image_31102025_20_28_41_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125957","file1":"1398125956","file0":"1398125952","file4":"1398125970","file5":"1398125979","file3":"1398125961"},"map_files_photo_id_array":[{"photo_id":"1398125979","filename":"file5"},{"photo_id":"1398125957","filename":"file2"},{"photo_id":"1398125970","filename":"file4"},{"photo_id":"1398125956","filename":"file1"},{"photo_id":"1398125952","filename":"file0"},{"photo_id":"1398125961","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398125956":["hashtag1","hashtag2"]},{"1398125979":["hashtag1","hashtag2"]},{"1398125961":["hashtag1","hashtag2"]},{"1398125970":["hashtag1","hashtag2"]},{"1398125952":["hashtag1","hashtag2"]},{"1398125957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398125956, 1398125979, 1398125961, 1398125970, 1398125952, 1398125957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06639766693115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:15:22.190466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/46/image_05122025_19_46_45_10651.jpg', '/home/pi/Desktop/images/05122025/19/46/image_05122025_19_46_54_9670.jpg', '/home/pi/Desktop/images/05122025/19/47/image_05122025_19_48_04_9708.jpg', '/home/pi/Desktop/images/05122025/19/48/image_05122025_19_48_15_10664.jpg', '/home/pi/Desktop/images/05122025/19/48/image_05122025_19_48_45_10543.jpg', '/home/pi/Desktop/images/05122025/19/49/image_05122025_19_49_24_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/46/image_05122025_19_46_45_10651.jpg
/home/pi/Desktop/images/05122025/19/46/image_05122025_19_46_54_9670.jpg
/home/pi/Desktop/images/05122025/19/47/image_05122025_19_48_04_9708.jpg
/home/pi/Desktop/images/05122025/19/48/image_05122025_19_48_15_10664.jpg
/home/pi/Desktop/images/05122025/19/48/image_05122025_19_48_45_10543.jpg
/home/pi/Desktop/images/05122025/19/49/image_05122025_19_49_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":["1398125995","1398125998","1398125997","1398126003","1398126000","1398125993"],"photo_ids_order":["1398125993","1398125995","1398125997","1398125998","1398126000","1398126003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/087cbf412a67cde57b0db454f3b510c6.jpg","text":"TemporaryFile(/tmp/multipartBody8171973625144056878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962182915,"filename":"image_05122025_19_46_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/5/83df9bd054cc54a46ac4d75908b49246.jpg","text":"TemporaryFile(/tmp/multipartBody5104489089932300681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962182915,"filename":"image_05122025_19_48_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/5/0d2cc76be457730557a51a4563ff3c9a.jpg","text":"TemporaryFile(/tmp/multipartBody7200504684664215352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962182915,"filename":"image_05122025_19_48_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bd7cf6cd345434d7405e96d5e8d39e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1949372804385296368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962182915,"filename":"image_05122025_19_49_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/5/1e7662d013856c95c449cc669fe12d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4506048427614446742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962182915,"filename":"image_05122025_19_48_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/5/536934b5c48109143af6bdd1091ddb2a.jpg","text":"TemporaryFile(/tmp/multipartBody2819429064594319707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962182915,"filename":"image_05122025_19_46_45_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398125997","file1":"1398125995","file0":"1398125993","file4":"1398126000","file5":"1398126003","file3":"1398125998"},"map_files_photo_id_array":[{"photo_id":"1398126003","filename":"file5"},{"photo_id":"1398125997","filename":"file2"},{"photo_id":"1398126000","filename":"file4"},{"photo_id":"1398125995","filename":"file1"},{"photo_id":"1398125993","filename":"file0"},{"photo_id":"1398125998","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398125995":["hashtag1","hashtag2"]},{"1398125998":["hashtag1","hashtag2"]},{"1398125997":["hashtag1","hashtag2"]},{"1398126003":["hashtag1","hashtag2"]},{"1398126000":["hashtag1","hashtag2"]},{"1398125993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398125995, 1398125998, 1398125997, 1398126003, 1398126000, 1398125993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.138219118118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:16:02.856356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/49/image_05122025_19_49_54_9698.jpg', '/home/pi/Desktop/images/05122025/19/49/image_05122025_19_50_04_9655.jpg', '/home/pi/Desktop/images/05122025/19/50/image_05122025_19_50_14_9944.jpg', '/home/pi/Desktop/images/05122025/19/50/image_05122025_19_50_25_10759.jpg', '/home/pi/Desktop/images/05122025/19/50/image_05122025_19_50_56_3356.jpg', '/home/pi/Desktop/images/05122025/19/51/image_05122025_19_51_34_9990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/49/image_05122025_19_49_54_9698.jpg
/home/pi/Desktop/images/05122025/19/49/image_05122025_19_50_04_9655.jpg
/home/pi/Desktop/images/05122025/19/50/image_05122025_19_50_14_9944.jpg
/home/pi/Desktop/images/05122025/19/50/image_05122025_19_50_25_10759.jpg
/home/pi/Desktop/images/05122025/19/50/image_05122025_19_50_56_3356.jpg
/home/pi/Desktop/images/05122025/19/51/image_05122025_19_51_34_9990.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126007","1398126006","1398126015","1398126009","1398126008","1398126011"],"photo_ids_order":["1398126006","1398126007","1398126008","1398126009","1398126011","1398126015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6d8990f637c26109e527515c3bc7c4cd.jpg","text":"TemporaryFile(/tmp/multipartBody3282845851181343180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962223608,"filename":"image_05122025_19_50_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e3821877112c57cf45f4bed6af4211f5.jpg","text":"TemporaryFile(/tmp/multipartBody1363387371121425030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962223608,"filename":"image_05122025_19_49_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/5/d9dbb73948a87c22d6dbbb70e13a8fe4.jpg","text":"TemporaryFile(/tmp/multipartBody984536311653536195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962223608,"filename":"image_05122025_19_51_34_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/63f0187a9d508f093b38eb30c8738e11.jpg","text":"TemporaryFile(/tmp/multipartBody6768145627190460002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962223608,"filename":"image_05122025_19_50_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/5/5e5a08dae038801cd6fa39865b9b6038.jpg","text":"TemporaryFile(/tmp/multipartBody7790670869199493512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962223608,"filename":"image_05122025_19_50_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/5/3fa2b17f977c0b129a0861a8eeac5eee.jpg","text":"TemporaryFile(/tmp/multipartBody2364743677713720218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962223608,"filename":"image_05122025_19_50_56_3356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126008","file1":"1398126007","file0":"1398126006","file4":"1398126011","file5":"1398126015","file3":"1398126009"},"map_files_photo_id_array":[{"photo_id":"1398126015","filename":"file5"},{"photo_id":"1398126008","filename":"file2"},{"photo_id":"1398126011","filename":"file4"},{"photo_id":"1398126007","filename":"file1"},{"photo_id":"1398126006","filename":"file0"},{"photo_id":"1398126009","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126007":["hashtag1","hashtag2"]},{"1398126006":["hashtag1","hashtag2"]},{"1398126015":["hashtag1","hashtag2"]},{"1398126009":["hashtag1","hashtag2"]},{"1398126008":["hashtag1","hashtag2"]},{"1398126011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126007, 1398126006, 1398126015, 1398126009, 1398126008, 1398126011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25006103515625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:16:42.464140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_56_3706.jpg', '/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_59_2649.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_05_3503.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_08_2760.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_11_2785.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_14_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_56_3706.jpg
/home/pi/Desktop/images/31102025/20/28/image_31102025_20_28_59_2649.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_05_3503.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_08_2760.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_11_2785.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_14_3532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126037","1398126025","1398126040","1398126028","1398126039","1398126029"],"photo_ids_order":["1398126025","1398126028","1398126029","1398126037","1398126039","1398126040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c8f158222aa8cf0e61c17dbe45403c8.jpg","text":"TemporaryFile(/tmp/multipartBody3383622698530663089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962264053,"filename":"image_31102025_20_29_08_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/5/a4e750c5ea24d13eafab0e4037e119e4.jpg","text":"TemporaryFile(/tmp/multipartBody8045732705553716025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962264053,"filename":"image_31102025_20_28_56_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/5/dcc3227abd7826d450de8deace0013d7.jpg","text":"TemporaryFile(/tmp/multipartBody6863070948811393459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962264053,"filename":"image_31102025_20_29_14_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/5/b39f2b867c25eae1b654b8c33fe34635.jpg","text":"TemporaryFile(/tmp/multipartBody6717375886347545871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962264053,"filename":"image_31102025_20_28_59_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/5/b1447eaf5c99886956571c3dff7dcef3.jpg","text":"TemporaryFile(/tmp/multipartBody251426497113394993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962264053,"filename":"image_31102025_20_29_11_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/5/34c806d919c823b2ec991f42141afd1a.jpg","text":"TemporaryFile(/tmp/multipartBody8729567637754755476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962264053,"filename":"image_31102025_20_29_05_3503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126029","file1":"1398126028","file0":"1398126025","file4":"1398126039","file5":"1398126040","file3":"1398126037"},"map_files_photo_id_array":[{"photo_id":"1398126040","filename":"file5"},{"photo_id":"1398126029","filename":"file2"},{"photo_id":"1398126039","filename":"file4"},{"photo_id":"1398126028","filename":"file1"},{"photo_id":"1398126025","filename":"file0"},{"photo_id":"1398126037","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126037":["hashtag1","hashtag2"]},{"1398126025":["hashtag1","hashtag2"]},{"1398126040":["hashtag1","hashtag2"]},{"1398126028":["hashtag1","hashtag2"]},{"1398126039":["hashtag1","hashtag2"]},{"1398126029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126037, 1398126025, 1398126040, 1398126028, 1398126039, 1398126029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80247187614441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:17:22.568659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_14_10665.jpg', '/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_24_9787.jpg', '/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_45_10702.jpg', '/home/pi/Desktop/images/05122025/19/54/image_05122025_19_54_14_9758.jpg', '/home/pi/Desktop/images/05122025/19/54/image_05122025_19_54_25_10612.jpg', '/home/pi/Desktop/images/05122025/19/55/image_05122025_19_55_44_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_14_10665.jpg
/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_24_9787.jpg
/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_45_10702.jpg
/home/pi/Desktop/images/05122025/19/54/image_05122025_19_54_14_9758.jpg
/home/pi/Desktop/images/05122025/19/54/image_05122025_19_54_25_10612.jpg
/home/pi/Desktop/images/05122025/19/55/image_05122025_19_55_44_9713.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6036102771759033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:17:33.127280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/38/image_03122025_00_38_44_9791.jpg', '/home/pi/Desktop/images/03122025/00/41/image_03122025_00_41_44_9796.jpg', '/home/pi/Desktop/images/03122025/00/42/image_03122025_00_42_24_9811.jpg', '/home/pi/Desktop/images/03122025/00/42/image_03122025_00_42_54_9931.jpg', '/home/pi/Desktop/images/03122025/00/45/image_03122025_00_45_24_9672.jpg', '/home/pi/Desktop/images/03122025/00/46/image_03122025_00_46_25_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/38/image_03122025_00_38_44_9791.jpg
/home/pi/Desktop/images/03122025/00/41/image_03122025_00_41_44_9796.jpg
/home/pi/Desktop/images/03122025/00/42/image_03122025_00_42_24_9811.jpg
/home/pi/Desktop/images/03122025/00/42/image_03122025_00_42_54_9931.jpg
/home/pi/Desktop/images/03122025/00/45/image_03122025_00_45_24_9672.jpg
/home/pi/Desktop/images/03122025/00/46/image_03122025_00_46_25_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126061","1398126055","1398126052","1398126063","1398126062","1398126059"],"photo_ids_order":["1398126052","1398126055","1398126059","1398126061","1398126062","1398126063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eb339c60b931c0a4579e91c9d016f9a3.jpg","text":"TemporaryFile(/tmp/multipartBody8129697542262357927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962315458,"filename":"image_03122025_00_42_54_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2a34ebf0ee4187487cac5be8116a129b.jpg","text":"TemporaryFile(/tmp/multipartBody1447428943766402507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962315458,"filename":"image_03122025_00_41_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/5/e132c7fdb510a8580e90128eea75b954.jpg","text":"TemporaryFile(/tmp/multipartBody4200220968208963137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962315458,"filename":"image_03122025_00_38_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/67441b9cc81136acab8975fb1eaf17e3.jpg","text":"TemporaryFile(/tmp/multipartBody3766409315105489073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962315458,"filename":"image_03122025_00_46_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/5/1a298ecb5a7795d91719b4a89f1077d4.jpg","text":"TemporaryFile(/tmp/multipartBody2280182407751058254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962315458,"filename":"image_03122025_00_45_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e8bcace70efac8b699426f8c9e8bbf17.jpg","text":"TemporaryFile(/tmp/multipartBody8405685209736001798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962315458,"filename":"image_03122025_00_42_24_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126059","file1":"1398126055","file0":"1398126052","file4":"1398126062","file5":"1398126063","file3":"1398126061"},"map_files_photo_id_array":[{"photo_id":"1398126063","filename":"file5"},{"photo_id":"1398126059","filename":"file2"},{"photo_id":"1398126062","filename":"file4"},{"photo_id":"1398126055","filename":"file1"},{"photo_id":"1398126052","filename":"file0"},{"photo_id":"1398126061","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126061":["hashtag1","hashtag2"]},{"1398126055":["hashtag1","hashtag2"]},{"1398126052":["hashtag1","hashtag2"]},{"1398126063":["hashtag1","hashtag2"]},{"1398126062":["hashtag1","hashtag2"]},{"1398126059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126061, 1398126055, 1398126052, 1398126063, 1398126062, 1398126059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6902596950531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:18:11.802376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/46/image_03122025_00_46_34_9705.jpg', '/home/pi/Desktop/images/03122025/00/46/image_03122025_00_46_54_9721.jpg', '/home/pi/Desktop/images/03122025/00/50/image_03122025_00_50_44_9727.jpg', '/home/pi/Desktop/images/03122025/00/52/image_03122025_00_52_35_10646.jpg', '/home/pi/Desktop/images/03122025/00/52/image_03122025_00_53_04_9734.jpg', '/home/pi/Desktop/images/03122025/00/53/image_03122025_00_53_54_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/46/image_03122025_00_46_34_9705.jpg
/home/pi/Desktop/images/03122025/00/46/image_03122025_00_46_54_9721.jpg
/home/pi/Desktop/images/03122025/00/50/image_03122025_00_50_44_9727.jpg
/home/pi/Desktop/images/03122025/00/52/image_03122025_00_52_35_10646.jpg
/home/pi/Desktop/images/03122025/00/52/image_03122025_00_53_04_9734.jpg
/home/pi/Desktop/images/03122025/00/53/image_03122025_00_53_54_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126082","1398126070","1398126066","1398126080","1398126074","1398126068"],"photo_ids_order":["1398126066","1398126068","1398126070","1398126074","1398126080","1398126082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f03cf65f4915b6009fab096836d68448.jpg","text":"TemporaryFile(/tmp/multipartBody1359946768000095457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962353968,"filename":"image_03122025_00_53_54_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2d018637c585cf3beddf69d4db8f5643.jpg","text":"TemporaryFile(/tmp/multipartBody4769913086789372016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962353968,"filename":"image_03122025_00_50_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/5/a0e8e76c0de28e033515c74f901f2bda.jpg","text":"TemporaryFile(/tmp/multipartBody351992425373112700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962353968,"filename":"image_03122025_00_46_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/5/dc8003c569839977c8d40bd51924816b.jpg","text":"TemporaryFile(/tmp/multipartBody6388593407833850369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962353968,"filename":"image_03122025_00_53_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/5/f16464cf730a8a36b4054e7cb20e0704.jpg","text":"TemporaryFile(/tmp/multipartBody8763228909704334058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962353968,"filename":"image_03122025_00_52_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/faf44381bac921a0efe5324cba38edbe.jpg","text":"TemporaryFile(/tmp/multipartBody2971132966779728554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962353968,"filename":"image_03122025_00_46_54_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126070","file1":"1398126068","file0":"1398126066","file4":"1398126080","file5":"1398126082","file3":"1398126074"},"map_files_photo_id_array":[{"photo_id":"1398126082","filename":"file5"},{"photo_id":"1398126070","filename":"file2"},{"photo_id":"1398126080","filename":"file4"},{"photo_id":"1398126068","filename":"file1"},{"photo_id":"1398126066","filename":"file0"},{"photo_id":"1398126074","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126082":["hashtag1","hashtag2"]},{"1398126070":["hashtag1","hashtag2"]},{"1398126066":["hashtag1","hashtag2"]},{"1398126080":["hashtag1","hashtag2"]},{"1398126074":["hashtag1","hashtag2"]},{"1398126068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126082, 1398126070, 1398126066, 1398126080, 1398126074, 1398126068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22375202178955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:19:02.785906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_14_10665.jpg', '/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_24_9787.jpg', '/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_45_10702.jpg', '/home/pi/Desktop/images/05122025/19/54/image_05122025_19_54_14_9758.jpg', '/home/pi/Desktop/images/05122025/19/54/image_05122025_19_54_25_10612.jpg', '/home/pi/Desktop/images/05122025/19/55/image_05122025_19_55_44_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_14_10665.jpg
/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_24_9787.jpg
/home/pi/Desktop/images/05122025/19/53/image_05122025_19_53_45_10702.jpg
/home/pi/Desktop/images/05122025/19/54/image_05122025_19_54_14_9758.jpg
/home/pi/Desktop/images/05122025/19/54/image_05122025_19_54_25_10612.jpg
/home/pi/Desktop/images/05122025/19/55/image_05122025_19_55_44_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126097","1398126099","1398126120","1398126098","1398126101","1398126104"],"photo_ids_order":["1398126097","1398126098","1398126099","1398126101","1398126104","1398126120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ebe73f92ac0af2512794c95cd0c8bf1.jpg","text":"TemporaryFile(/tmp/multipartBody3503472802477579935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962403789,"filename":"image_05122025_19_53_14_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/5/3957edffbb163cbbdbccbd7028b13748.jpg","text":"TemporaryFile(/tmp/multipartBody1471734754901041623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962403789,"filename":"image_05122025_19_53_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/5/f1a80968f9a6e5eeee1662a1a01afd0f.jpg","text":"TemporaryFile(/tmp/multipartBody6659434157456979070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962403789,"filename":"image_05122025_19_55_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/5/7b03aa34e8434b450a34a7bdf3e40c4c.jpg","text":"TemporaryFile(/tmp/multipartBody792207645067257466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962403789,"filename":"image_05122025_19_53_24_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/5/cecce4eea99de25dea244f9be6459581.jpg","text":"TemporaryFile(/tmp/multipartBody8187574386505701570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962403789,"filename":"image_05122025_19_54_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/5/f71e16d38bd51ebb1999567bd88f1ac6.jpg","text":"TemporaryFile(/tmp/multipartBody5909463412841037681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962403789,"filename":"image_05122025_19_54_25_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126099","file1":"1398126098","file0":"1398126097","file4":"1398126104","file5":"1398126120","file3":"1398126101"},"map_files_photo_id_array":[{"photo_id":"1398126120","filename":"file5"},{"photo_id":"1398126099","filename":"file2"},{"photo_id":"1398126104","filename":"file4"},{"photo_id":"1398126098","filename":"file1"},{"photo_id":"1398126097","filename":"file0"},{"photo_id":"1398126101","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126097":["hashtag1","hashtag2"]},{"1398126099":["hashtag1","hashtag2"]},{"1398126120":["hashtag1","hashtag2"]},{"1398126098":["hashtag1","hashtag2"]},{"1398126101":["hashtag1","hashtag2"]},{"1398126104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126097, 1398126099, 1398126120, 1398126098, 1398126101, 1398126104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01096844673157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:19:42.130032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_17_2546.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_23_2726.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_29_2775.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_32_3738.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_35_2898.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_41_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_17_2546.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_23_2726.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_29_2775.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_32_3738.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_35_2898.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_41_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398126157","1398126130","1398126129","1398126132","1398126131","1398126193"],"photo_ids_order":["1398126129","1398126130","1398126131","1398126132","1398126157","1398126193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/37da28f17f486ac5acba7782340db66f.jpg","text":"TemporaryFile(/tmp/multipartBody3036434608764848455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962443694,"filename":"image_31102025_20_29_35_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a7bb79a83982a90c321cf2086239d05.jpg","text":"TemporaryFile(/tmp/multipartBody4479089973089672598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962443694,"filename":"image_31102025_20_29_23_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6a0905be38b6eb9caab4bba40bf9c3c9.jpg","text":"TemporaryFile(/tmp/multipartBody397156452468656402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962443694,"filename":"image_31102025_20_29_17_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/441f0334cb024696a655d7e8e202fa27.jpg","text":"TemporaryFile(/tmp/multipartBody1127972646241002158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962443694,"filename":"image_31102025_20_29_32_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3448e244b460fb6bfa4e36ebbf11e613.jpg","text":"TemporaryFile(/tmp/multipartBody5724340471759936830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962443694,"filename":"image_31102025_20_29_29_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/5/ffeb227fccc8081fb8b9dca5b3811073.jpg","text":"TemporaryFile(/tmp/multipartBody4974555519769250520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962443694,"filename":"image_31102025_20_29_41_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126131","file1":"1398126130","file0":"1398126129","file4":"1398126157","file5":"1398126193","file3":"1398126132"},"map_files_photo_id_array":[{"photo_id":"1398126193","filename":"file5"},{"photo_id":"1398126131","filename":"file2"},{"photo_id":"1398126157","filename":"file4"},{"photo_id":"1398126130","filename":"file1"},{"photo_id":"1398126129","filename":"file0"},{"photo_id":"1398126132","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126157":["hashtag1","hashtag2"]},{"1398126130":["hashtag1","hashtag2"]},{"1398126129":["hashtag1","hashtag2"]},{"1398126132":["hashtag1","hashtag2"]},{"1398126131":["hashtag1","hashtag2"]},{"1398126193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126157, 1398126130, 1398126129, 1398126132, 1398126131, 1398126193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.156638383865356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:20:32.254408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/00/54/image_03122025_00_54_14_9866.jpg', '/home/pi/Desktop/images/03122025/00/54/image_03122025_00_54_24_10707.jpg', '/home/pi/Desktop/images/03122025/00/54/image_03122025_00_54_44_9637.jpg', '/home/pi/Desktop/images/03122025/00/54/image_03122025_00_55_04_10802.jpg', '/home/pi/Desktop/images/03122025/00/55/image_03122025_00_55_14_9625.jpg', '/home/pi/Desktop/images/03122025/00/56/image_03122025_00_56_54_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/00/54/image_03122025_00_54_14_9866.jpg
/home/pi/Desktop/images/03122025/00/54/image_03122025_00_54_24_10707.jpg
/home/pi/Desktop/images/03122025/00/54/image_03122025_00_54_44_9637.jpg
/home/pi/Desktop/images/03122025/00/54/image_03122025_00_55_04_10802.jpg
/home/pi/Desktop/images/03122025/00/55/image_03122025_00_55_14_9625.jpg
/home/pi/Desktop/images/03122025/00/56/image_03122025_00_56_54_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":["1398126262","1398126241","1398126238","1398126260","1398126257","1398126251"],"photo_ids_order":["1398126238","1398126241","1398126251","1398126257","1398126260","1398126262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db737fbedc3e383ec43a5498c458aebf.jpg","text":"TemporaryFile(/tmp/multipartBody2188816391580320200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962496523,"filename":"image_03122025_00_56_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/5/832a0333feec76af9041dff90252a38a.jpg","text":"TemporaryFile(/tmp/multipartBody2660811633217967246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962496523,"filename":"image_03122025_00_54_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/5/6b2602eac4d2e7220d85da86bff10bc9.jpg","text":"TemporaryFile(/tmp/multipartBody493324537633788314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962496523,"filename":"image_03122025_00_54_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/5/71d99d6cbbd1b31d59e9b8560623f843.jpg","text":"TemporaryFile(/tmp/multipartBody3023292383533345065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962496523,"filename":"image_03122025_00_55_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9413b4c39fd6a7609949e22c042ad66e.jpg","text":"TemporaryFile(/tmp/multipartBody4556289410454027930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962496523,"filename":"image_03122025_00_55_04_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/5/0995bb4d9498f8ad7e42d24c4c72f746.jpg","text":"TemporaryFile(/tmp/multipartBody3863472138118370089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962496523,"filename":"image_03122025_00_54_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126251","file1":"1398126241","file0":"1398126238","file4":"1398126260","file5":"1398126262","file3":"1398126257"},"map_files_photo_id_array":[{"photo_id":"1398126262","filename":"file5"},{"photo_id":"1398126251","filename":"file2"},{"photo_id":"1398126260","filename":"file4"},{"photo_id":"1398126241","filename":"file1"},{"photo_id":"1398126238","filename":"file0"},{"photo_id":"1398126257","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126262":["hashtag1","hashtag2"]},{"1398126241":["hashtag1","hashtag2"]},{"1398126238":["hashtag1","hashtag2"]},{"1398126260":["hashtag1","hashtag2"]},{"1398126257":["hashtag1","hashtag2"]},{"1398126251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126262, 1398126241, 1398126238, 1398126260, 1398126257, 1398126251)","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 = 1398126251 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03122025/00/54/image_03122025_00_54_44_9637.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.030699729919434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-05 20:21:36.039588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/01/03/image_03122025_01_03_24_9810.jpg', '/home/pi/Desktop/images/03122025/01/03/image_03122025_01_03_34_9996.jpg', '/home/pi/Desktop/images/03122025/01/03/image_03122025_01_03_45_10830.jpg', '/home/pi/Desktop/images/03122025/01/05/image_03122025_01_05_44_9902.jpg', '/home/pi/Desktop/images/03122025/01/06/image_03122025_01_06_04_10142.jpg', '/home/pi/Desktop/images/03122025/01/06/image_03122025_01_06_14_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/01/03/image_03122025_01_03_24_9810.jpg
/home/pi/Desktop/images/03122025/01/03/image_03122025_01_03_34_9996.jpg
/home/pi/Desktop/images/03122025/01/03/image_03122025_01_03_45_10830.jpg
/home/pi/Desktop/images/03122025/01/05/image_03122025_01_05_44_9902.jpg
/home/pi/Desktop/images/03122025/01/06/image_03122025_01_06_04_10142.jpg
/home/pi/Desktop/images/03122025/01/06/image_03122025_01_06_14_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126280","1398126283","1398126282","1398126285","1398126281","1398126284"],"photo_ids_order":["1398126280","1398126281","1398126282","1398126283","1398126284","1398126285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/db8e65f178e23df7b9729a4954e35256.jpg","text":"TemporaryFile(/tmp/multipartBody2009412816403044150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962569638,"filename":"image_03122025_01_03_24_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/5/fb81b63977f2711fc7415e65308cba4d.jpg","text":"TemporaryFile(/tmp/multipartBody3688267464833427062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962569638,"filename":"image_03122025_01_05_44_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/5/7729e9a6f15b638c68968ca1dc596eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2238040840216176445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962569638,"filename":"image_03122025_01_03_45_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/5/7ceffdc1b3749785784801f2be9c1974.jpg","text":"TemporaryFile(/tmp/multipartBody1457570605510675004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962569638,"filename":"image_03122025_01_06_14_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/5/708fb1bf26fa5685f49de1aafe68d690.jpg","text":"TemporaryFile(/tmp/multipartBody8551319296791145434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962569638,"filename":"image_03122025_01_03_34_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/5/635c8f13f2bc0d76581c2aa7cea921a4.jpg","text":"TemporaryFile(/tmp/multipartBody1100801954541479381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962569638,"filename":"image_03122025_01_06_04_10142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126282","file1":"1398126281","file0":"1398126280","file4":"1398126284","file5":"1398126285","file3":"1398126283"},"map_files_photo_id_array":[{"photo_id":"1398126285","filename":"file5"},{"photo_id":"1398126282","filename":"file2"},{"photo_id":"1398126284","filename":"file4"},{"photo_id":"1398126281","filename":"file1"},{"photo_id":"1398126280","filename":"file0"},{"photo_id":"1398126283","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126280":["hashtag1","hashtag2"]},{"1398126283":["hashtag1","hashtag2"]},{"1398126282":["hashtag1","hashtag2"]},{"1398126285":["hashtag1","hashtag2"]},{"1398126281":["hashtag1","hashtag2"]},{"1398126284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126280, 1398126283, 1398126282, 1398126285, 1398126281, 1398126284)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 56.40667366981506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:22:42.239410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_44_3549.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_47_2651.jpg', '/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_50_2817.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_02_3864.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_05_2772.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_08_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_44_3549.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_47_2651.jpg
/home/pi/Desktop/images/31102025/20/29/image_31102025_20_29_50_2817.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_02_3864.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_05_2772.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_08_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":["1398126316","1398126310","1398126307","1398126321","1398126309","1398126305"],"photo_ids_order":["1398126305","1398126307","1398126309","1398126310","1398126316","1398126321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b3f83d062ac1f50ae37ef181d53b644d.jpg","text":"TemporaryFile(/tmp/multipartBody3380046354627688944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962628380,"filename":"image_31102025_20_30_05_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/5/a526f1fd39d8b3fcede04d9c825be6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6030885827121798687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962628380,"filename":"image_31102025_20_30_02_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/5/0e0184ff95c508646978b11ff17e6768.jpg","text":"TemporaryFile(/tmp/multipartBody5884215384463317859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962628380,"filename":"image_31102025_20_29_47_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/5/61d1903a10c4754c7a704f072146c7f2.jpg","text":"TemporaryFile(/tmp/multipartBody7287048539266689296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962628380,"filename":"image_31102025_20_30_08_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/5/37b43a645494b8127179bc0279618076.jpg","text":"TemporaryFile(/tmp/multipartBody2484943006448723214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962628380,"filename":"image_31102025_20_29_50_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/5/a80b19f2d654e28b77c6093aff55ecf3.jpg","text":"TemporaryFile(/tmp/multipartBody1841665441362135495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962628380,"filename":"image_31102025_20_29_44_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126309","file1":"1398126307","file0":"1398126305","file4":"1398126316","file5":"1398126321","file3":"1398126310"},"map_files_photo_id_array":[{"photo_id":"1398126321","filename":"file5"},{"photo_id":"1398126309","filename":"file2"},{"photo_id":"1398126316","filename":"file4"},{"photo_id":"1398126307","filename":"file1"},{"photo_id":"1398126305","filename":"file0"},{"photo_id":"1398126310","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126316":["hashtag1","hashtag2"]},{"1398126310":["hashtag1","hashtag2"]},{"1398126307":["hashtag1","hashtag2"]},{"1398126321":["hashtag1","hashtag2"]},{"1398126309":["hashtag1","hashtag2"]},{"1398126305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126316, 1398126310, 1398126307, 1398126321, 1398126309, 1398126305)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.7416775226593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:23:38.121700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/01/07/image_03122025_01_07_54_9613.jpg', '/home/pi/Desktop/images/03122025/01/08/image_03122025_01_08_14_9821.jpg', '/home/pi/Desktop/images/03122025/01/11/image_03122025_01_11_34_9611.jpg', '/home/pi/Desktop/images/03122025/01/13/image_03122025_01_13_14_9726.jpg', '/home/pi/Desktop/images/03122025/01/18/image_03122025_01_18_54_9642.jpg', '/home/pi/Desktop/images/03122025/01/20/image_03122025_01_20_34_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/01/07/image_03122025_01_07_54_9613.jpg
/home/pi/Desktop/images/03122025/01/08/image_03122025_01_08_14_9821.jpg
/home/pi/Desktop/images/03122025/01/11/image_03122025_01_11_34_9611.jpg
/home/pi/Desktop/images/03122025/01/13/image_03122025_01_13_14_9726.jpg
/home/pi/Desktop/images/03122025/01/18/image_03122025_01_18_54_9642.jpg
/home/pi/Desktop/images/03122025/01/20/image_03122025_01_20_34_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126340","1398126331","1398126339","1398126341","1398126338","1398126335"],"photo_ids_order":["1398126331","1398126335","1398126338","1398126339","1398126340","1398126341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c5b346f8ce5fee67c5368404ad547fc.jpg","text":"TemporaryFile(/tmp/multipartBody5712040214000436212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962680421,"filename":"image_03122025_01_18_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/5/14c4377e0701b37f81b470b2e6419a1a.jpg","text":"TemporaryFile(/tmp/multipartBody4440300931982358907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962680421,"filename":"image_03122025_01_07_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/5/43f1679900f15e9c9e038c58e01f0fae.jpg","text":"TemporaryFile(/tmp/multipartBody2767496592635380473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962680421,"filename":"image_03122025_01_13_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47c6f86694ee5ad3bb447ef06157c895.jpg","text":"TemporaryFile(/tmp/multipartBody8665059535208127734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962680421,"filename":"image_03122025_01_20_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/5/daf50979b80a49c3683863fa6a88857e.jpg","text":"TemporaryFile(/tmp/multipartBody4751139737323806028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962680421,"filename":"image_03122025_01_11_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4fad768010179b2850f1fca7695c881.jpg","text":"TemporaryFile(/tmp/multipartBody1361770213490926882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962680421,"filename":"image_03122025_01_08_14_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126338","file1":"1398126335","file0":"1398126331","file4":"1398126340","file5":"1398126341","file3":"1398126339"},"map_files_photo_id_array":[{"photo_id":"1398126341","filename":"file5"},{"photo_id":"1398126338","filename":"file2"},{"photo_id":"1398126340","filename":"file4"},{"photo_id":"1398126335","filename":"file1"},{"photo_id":"1398126331","filename":"file0"},{"photo_id":"1398126339","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126340":["hashtag1","hashtag2"]},{"1398126331":["hashtag1","hashtag2"]},{"1398126339":["hashtag1","hashtag2"]},{"1398126341":["hashtag1","hashtag2"]},{"1398126338":["hashtag1","hashtag2"]},{"1398126335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126340, 1398126331, 1398126339, 1398126341, 1398126338, 1398126335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59416341781616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:24:22.322212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/55/image_05122025_19_55_54_9665.jpg', '/home/pi/Desktop/images/05122025/19/56/image_05122025_19_56_24_9675.jpg', '/home/pi/Desktop/images/05122025/19/56/image_05122025_19_56_35_10622.jpg', '/home/pi/Desktop/images/05122025/19/56/image_05122025_19_56_44_9520.jpg', '/home/pi/Desktop/images/05122025/19/57/image_05122025_19_57_14_9709.jpg', '/home/pi/Desktop/images/05122025/19/57/image_05122025_19_57_24_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/55/image_05122025_19_55_54_9665.jpg
/home/pi/Desktop/images/05122025/19/56/image_05122025_19_56_24_9675.jpg
/home/pi/Desktop/images/05122025/19/56/image_05122025_19_56_35_10622.jpg
/home/pi/Desktop/images/05122025/19/56/image_05122025_19_56_44_9520.jpg
/home/pi/Desktop/images/05122025/19/57/image_05122025_19_57_14_9709.jpg
/home/pi/Desktop/images/05122025/19/57/image_05122025_19_57_24_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126352","1398126358","1398126345","1398126354","1398126350","1398126347"],"photo_ids_order":["1398126345","1398126347","1398126350","1398126352","1398126354","1398126358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7e21fad3702eeb8bfa292527b1711be3.jpg","text":"TemporaryFile(/tmp/multipartBody7780648421976091126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962722995,"filename":"image_05122025_19_56_44_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/5/39cc428c2ef8d09590ad6fb519c35189.jpg","text":"TemporaryFile(/tmp/multipartBody162068244070690367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962722995,"filename":"image_05122025_19_57_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/5/c2285c5286924931aca03be38791934b.jpg","text":"TemporaryFile(/tmp/multipartBody1921680684143464851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962722995,"filename":"image_05122025_19_55_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/5/764aa409e5ee8458116a04043eafec32.jpg","text":"TemporaryFile(/tmp/multipartBody3246185452940253095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962722995,"filename":"image_05122025_19_57_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/5/a95c3afca9c164109e278e31b35f8430.jpg","text":"TemporaryFile(/tmp/multipartBody2170023377571780981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962722995,"filename":"image_05122025_19_56_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/5/0bec20c15567035b1d2348183b74dcbe.jpg","text":"TemporaryFile(/tmp/multipartBody6935945240763323363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962722995,"filename":"image_05122025_19_56_24_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126350","file1":"1398126347","file0":"1398126345","file4":"1398126354","file5":"1398126358","file3":"1398126352"},"map_files_photo_id_array":[{"photo_id":"1398126358","filename":"file5"},{"photo_id":"1398126350","filename":"file2"},{"photo_id":"1398126354","filename":"file4"},{"photo_id":"1398126347","filename":"file1"},{"photo_id":"1398126345","filename":"file0"},{"photo_id":"1398126352","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126352":["hashtag1","hashtag2"]},{"1398126358":["hashtag1","hashtag2"]},{"1398126345":["hashtag1","hashtag2"]},{"1398126354":["hashtag1","hashtag2"]},{"1398126350":["hashtag1","hashtag2"]},{"1398126347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126352, 1398126358, 1398126345, 1398126354, 1398126350, 1398126347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5113422870636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:25:03.172938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/19/58/image_05122025_19_58_15_10649.jpg', '/home/pi/Desktop/images/05122025/19/58/image_05122025_19_58_24_9652.jpg', '/home/pi/Desktop/images/05122025/19/59/image_05122025_20_00_14_10220.jpg', '/home/pi/Desktop/images/05122025/20/01/image_05122025_20_01_34_10174.jpg', '/home/pi/Desktop/images/05122025/20/01/image_05122025_20_01_44_9601.jpg', '/home/pi/Desktop/images/05122025/20/02/image_05122025_20_02_34_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/19/58/image_05122025_19_58_15_10649.jpg
/home/pi/Desktop/images/05122025/19/58/image_05122025_19_58_24_9652.jpg
/home/pi/Desktop/images/05122025/19/59/image_05122025_20_00_14_10220.jpg
/home/pi/Desktop/images/05122025/20/01/image_05122025_20_01_34_10174.jpg
/home/pi/Desktop/images/05122025/20/01/image_05122025_20_01_44_9601.jpg
/home/pi/Desktop/images/05122025/20/02/image_05122025_20_02_34_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126373","1398126367","1398126375","1398126372","1398126365","1398126370"],"photo_ids_order":["1398126365","1398126367","1398126370","1398126372","1398126373","1398126375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3de3c1c8c81f7adba7ab46bb26a531b3.jpg","text":"TemporaryFile(/tmp/multipartBody6307327113956271593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962763968,"filename":"image_05122025_20_01_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/5/38da3981c4b0f1ffed143d2386bce452.jpg","text":"TemporaryFile(/tmp/multipartBody3688333902058290486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962763968,"filename":"image_05122025_19_58_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/34dfc0a5b117c77d999da2f94c877eec.jpg","text":"TemporaryFile(/tmp/multipartBody1720278052704385711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962763968,"filename":"image_05122025_20_02_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/5/b2522fbae04e75f3c911667a8ce3ccdf.jpg","text":"TemporaryFile(/tmp/multipartBody8456343254293982987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962763968,"filename":"image_05122025_20_01_34_10174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f24e6017fafbc555791e6b7700e56a9.jpg","text":"TemporaryFile(/tmp/multipartBody325954271441721379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962763968,"filename":"image_05122025_19_58_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/5/60165058cb0795fb6fb9ae9a2e03c8e2.jpg","text":"TemporaryFile(/tmp/multipartBody7124470386536636979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962763968,"filename":"image_05122025_20_00_14_10220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126370","file1":"1398126367","file0":"1398126365","file4":"1398126373","file5":"1398126375","file3":"1398126372"},"map_files_photo_id_array":[{"photo_id":"1398126375","filename":"file5"},{"photo_id":"1398126370","filename":"file2"},{"photo_id":"1398126373","filename":"file4"},{"photo_id":"1398126367","filename":"file1"},{"photo_id":"1398126365","filename":"file0"},{"photo_id":"1398126372","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126373":["hashtag1","hashtag2"]},{"1398126367":["hashtag1","hashtag2"]},{"1398126375":["hashtag1","hashtag2"]},{"1398126372":["hashtag1","hashtag2"]},{"1398126365":["hashtag1","hashtag2"]},{"1398126370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126373, 1398126367, 1398126375, 1398126372, 1398126365, 1398126370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13107252120972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:25:42.497441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_11_2773.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_14_3614.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_17_2661.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_20_3504.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_23_2601.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_26_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_11_2773.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_14_3614.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_17_2661.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_20_3504.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_23_2601.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_26_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126381","1398126384","1398126387","1398126386","1398126383","1398126385"],"photo_ids_order":["1398126381","1398126383","1398126384","1398126385","1398126386","1398126387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2739829723d03c821faa6b65a065565d.jpg","text":"TemporaryFile(/tmp/multipartBody713452792630685294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962804074,"filename":"image_31102025_20_30_11_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/5/042f82516670265a89e44908201867ab.jpg","text":"TemporaryFile(/tmp/multipartBody344316164758175293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962804074,"filename":"image_31102025_20_30_17_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/5/e19c1c7f35f6cfc7623c9a961040858a.jpg","text":"TemporaryFile(/tmp/multipartBody5733625356500302957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962804074,"filename":"image_31102025_20_30_26_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/5/1e797bd879829f5bae588193bc1e989e.jpg","text":"TemporaryFile(/tmp/multipartBody2934196169025998114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962804074,"filename":"image_31102025_20_30_23_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/5/ccc626a4264f3649ef82594b172b3b4e.jpg","text":"TemporaryFile(/tmp/multipartBody8193061161389785191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962804074,"filename":"image_31102025_20_30_14_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/433917614d5a0c963b5b0e3fc4a4eb96.jpg","text":"TemporaryFile(/tmp/multipartBody3182544092571964539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962804074,"filename":"image_31102025_20_30_20_3504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126384","file1":"1398126383","file0":"1398126381","file4":"1398126386","file5":"1398126387","file3":"1398126385"},"map_files_photo_id_array":[{"photo_id":"1398126387","filename":"file5"},{"photo_id":"1398126384","filename":"file2"},{"photo_id":"1398126386","filename":"file4"},{"photo_id":"1398126383","filename":"file1"},{"photo_id":"1398126381","filename":"file0"},{"photo_id":"1398126385","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126381":["hashtag1","hashtag2"]},{"1398126384":["hashtag1","hashtag2"]},{"1398126387":["hashtag1","hashtag2"]},{"1398126386":["hashtag1","hashtag2"]},{"1398126383":["hashtag1","hashtag2"]},{"1398126385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126381, 1398126384, 1398126387, 1398126386, 1398126383, 1398126385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48497438430786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:26:22.772402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/02/image_05122025_20_02_44_9691.jpg', '/home/pi/Desktop/images/05122025/20/03/image_05122025_20_03_44_9703.jpg', '/home/pi/Desktop/images/05122025/20/03/image_05122025_20_03_54_9606.jpg', '/home/pi/Desktop/images/05122025/20/04/image_05122025_20_04_34_9835.jpg', '/home/pi/Desktop/images/05122025/20/04/image_05122025_20_04_44_9924.jpg', '/home/pi/Desktop/images/05122025/20/04/image_05122025_20_05_04_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/02/image_05122025_20_02_44_9691.jpg
/home/pi/Desktop/images/05122025/20/03/image_05122025_20_03_44_9703.jpg
/home/pi/Desktop/images/05122025/20/03/image_05122025_20_03_54_9606.jpg
/home/pi/Desktop/images/05122025/20/04/image_05122025_20_04_34_9835.jpg
/home/pi/Desktop/images/05122025/20/04/image_05122025_20_04_44_9924.jpg
/home/pi/Desktop/images/05122025/20/04/image_05122025_20_05_04_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126403","1398126400","1398126399","1398126390","1398126392","1398126389"],"photo_ids_order":["1398126389","1398126390","1398126392","1398126399","1398126400","1398126403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dab7c49fafc7d0c8c7b2a9ee483e1eb3.jpg","text":"TemporaryFile(/tmp/multipartBody7933817464058538166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962843495,"filename":"image_05122025_20_05_04_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/5/6235bd97b6571af4b4d5e3be617a442e.jpg","text":"TemporaryFile(/tmp/multipartBody4375430578322446716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962843495,"filename":"image_05122025_20_04_44_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/5/7750d91c9cc1c4b0a1c91c27cea2ba14.jpg","text":"TemporaryFile(/tmp/multipartBody4316119918130544825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962843495,"filename":"image_05122025_20_04_34_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/408b66ef9f6f812bc7909c5aa9b5f92a.jpg","text":"TemporaryFile(/tmp/multipartBody828442510663662525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962843495,"filename":"image_05122025_20_03_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ca7b5b12736da3fc86bc84d800e64a0c.jpg","text":"TemporaryFile(/tmp/multipartBody2208542150525949332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962843495,"filename":"image_05122025_20_03_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/12bf1e81cb93770b60d3168c07c4e9ea.jpg","text":"TemporaryFile(/tmp/multipartBody2135433563152572508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962843495,"filename":"image_05122025_20_02_44_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126392","file1":"1398126390","file0":"1398126389","file4":"1398126400","file5":"1398126403","file3":"1398126399"},"map_files_photo_id_array":[{"photo_id":"1398126403","filename":"file5"},{"photo_id":"1398126392","filename":"file2"},{"photo_id":"1398126400","filename":"file4"},{"photo_id":"1398126390","filename":"file1"},{"photo_id":"1398126389","filename":"file0"},{"photo_id":"1398126399","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126403":["hashtag1","hashtag2"]},{"1398126400":["hashtag1","hashtag2"]},{"1398126399":["hashtag1","hashtag2"]},{"1398126390":["hashtag1","hashtag2"]},{"1398126392":["hashtag1","hashtag2"]},{"1398126389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126403, 1398126400, 1398126399, 1398126390, 1398126392, 1398126389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37318658828735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:27:02.382339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/05/image_05122025_20_05_24_9809.jpg', '/home/pi/Desktop/images/05122025/20/05/image_05122025_20_05_35_10795.jpg', '/home/pi/Desktop/images/05122025/20/05/image_05122025_20_05_44_9725.jpg', '/home/pi/Desktop/images/05122025/20/05/image_05122025_20_05_54_9732.jpg', '/home/pi/Desktop/images/05122025/20/05/image_05122025_20_06_04_9728.jpg', '/home/pi/Desktop/images/05122025/20/06/image_05122025_20_06_24_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/05/image_05122025_20_05_24_9809.jpg
/home/pi/Desktop/images/05122025/20/05/image_05122025_20_05_35_10795.jpg
/home/pi/Desktop/images/05122025/20/05/image_05122025_20_05_44_9725.jpg
/home/pi/Desktop/images/05122025/20/05/image_05122025_20_05_54_9732.jpg
/home/pi/Desktop/images/05122025/20/05/image_05122025_20_06_04_9728.jpg
/home/pi/Desktop/images/05122025/20/06/image_05122025_20_06_24_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126415","1398126418","1398126412","1398126414","1398126417","1398126410"],"photo_ids_order":["1398126410","1398126412","1398126414","1398126415","1398126417","1398126418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e31d21ee656d5e714ebe6ab852b2d731.jpg","text":"TemporaryFile(/tmp/multipartBody1972481833030773361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962883229,"filename":"image_05122025_20_05_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/5/a09346ab31ddfbecc6c44c0762a25adf.jpg","text":"TemporaryFile(/tmp/multipartBody326844898307577604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962883229,"filename":"image_05122025_20_06_24_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/5/78cf4d34703253476764813bc5d451fa.jpg","text":"TemporaryFile(/tmp/multipartBody8942161910785994446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962883229,"filename":"image_05122025_20_05_35_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/5/a4e7bd1e2c0dc41c6f10379f8c46fd5d.jpg","text":"TemporaryFile(/tmp/multipartBody1253432042519424648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962883229,"filename":"image_05122025_20_05_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/5/690f5e2cd3f723c2dca8f30256a52533.jpg","text":"TemporaryFile(/tmp/multipartBody4850848513835878915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962883229,"filename":"image_05122025_20_06_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/daa8d2fe918f3e5bb7e8cc2bdd426cce.jpg","text":"TemporaryFile(/tmp/multipartBody8176175348751651884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962883229,"filename":"image_05122025_20_05_24_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126414","file1":"1398126412","file0":"1398126410","file4":"1398126417","file5":"1398126418","file3":"1398126415"},"map_files_photo_id_array":[{"photo_id":"1398126418","filename":"file5"},{"photo_id":"1398126414","filename":"file2"},{"photo_id":"1398126417","filename":"file4"},{"photo_id":"1398126412","filename":"file1"},{"photo_id":"1398126410","filename":"file0"},{"photo_id":"1398126415","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126415":["hashtag1","hashtag2"]},{"1398126418":["hashtag1","hashtag2"]},{"1398126412":["hashtag1","hashtag2"]},{"1398126414":["hashtag1","hashtag2"]},{"1398126417":["hashtag1","hashtag2"]},{"1398126410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126415, 1398126418, 1398126412, 1398126414, 1398126417, 1398126410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79543495178223 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-05 20:28:02.462803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/06/image_05122025_20_06_44_9734.jpg', '/home/pi/Desktop/images/05122025/20/08/image_05122025_20_08_14_9616.jpg', '/home/pi/Desktop/images/05122025/20/08/image_05122025_20_08_34_9712.jpg', '/home/pi/Desktop/images/05122025/20/08/image_05122025_20_08_54_9680.jpg', '/home/pi/Desktop/images/05122025/20/08/image_05122025_20_09_04_9795.jpg', '/home/pi/Desktop/images/05122025/20/09/image_05122025_20_09_25_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/06/image_05122025_20_06_44_9734.jpg
/home/pi/Desktop/images/05122025/20/08/image_05122025_20_08_14_9616.jpg
/home/pi/Desktop/images/05122025/20/08/image_05122025_20_08_34_9712.jpg
/home/pi/Desktop/images/05122025/20/08/image_05122025_20_08_54_9680.jpg
/home/pi/Desktop/images/05122025/20/08/image_05122025_20_09_04_9795.jpg
/home/pi/Desktop/images/05122025/20/09/image_05122025_20_09_25_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126427","1398126430","1398126424","1398126426","1398126425","1398126428"],"photo_ids_order":["1398126424","1398126425","1398126426","1398126427","1398126428","1398126430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d532eb4396211048144fda0605b6b454.jpg","text":"TemporaryFile(/tmp/multipartBody2135646954404665699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962943271,"filename":"image_05122025_20_08_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/5/31aa713db76a56a81c7db8456187a8f3.jpg","text":"TemporaryFile(/tmp/multipartBody7137055839678186442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962943271,"filename":"image_05122025_20_09_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/5/6c5bb6acffb82bb733680f8aca2e6d59.jpg","text":"TemporaryFile(/tmp/multipartBody8286561653745723205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962943271,"filename":"image_05122025_20_06_44_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/5/75a11a705fedc6ffbd030440d7d5eebd.jpg","text":"TemporaryFile(/tmp/multipartBody374752454301952785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962943271,"filename":"image_05122025_20_08_34_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/5/3eabdd6192b38c0811d57be4d677d628.jpg","text":"TemporaryFile(/tmp/multipartBody822270285613402909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962943271,"filename":"image_05122025_20_08_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/5/09dca81c7df1bffa70405afca1927b74.jpg","text":"TemporaryFile(/tmp/multipartBody5567996382206112123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764962943271,"filename":"image_05122025_20_09_04_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126426","file1":"1398126425","file0":"1398126424","file4":"1398126428","file5":"1398126430","file3":"1398126427"},"map_files_photo_id_array":[{"photo_id":"1398126430","filename":"file5"},{"photo_id":"1398126426","filename":"file2"},{"photo_id":"1398126428","filename":"file4"},{"photo_id":"1398126425","filename":"file1"},{"photo_id":"1398126424","filename":"file0"},{"photo_id":"1398126427","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126427":["hashtag1","hashtag2"]},{"1398126430":["hashtag1","hashtag2"]},{"1398126424":["hashtag1","hashtag2"]},{"1398126426":["hashtag1","hashtag2"]},{"1398126425":["hashtag1","hashtag2"]},{"1398126428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126427, 1398126430, 1398126424, 1398126426, 1398126425, 1398126428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.360419511795044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:28:42.223247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_29_3621.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_32_2524.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_35_3477.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_43_2749.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_47_3742.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_50_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_29_3621.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_32_2524.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_35_3477.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_43_2749.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_47_3742.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_50_2633.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.494431734085083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:29:03.369108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/09/image_05122025_20_09_45_9994.jpg', '/home/pi/Desktop/images/05122025/20/09/image_05122025_20_09_54_9352.jpg', '/home/pi/Desktop/images/05122025/20/09/image_05122025_20_10_05_10786.jpg', '/home/pi/Desktop/images/05122025/20/11/image_05122025_20_12_04_9703.jpg', '/home/pi/Desktop/images/05122025/20/12/image_05122025_20_12_14_10311.jpg', '/home/pi/Desktop/images/05122025/20/12/image_05122025_20_12_34_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/09/image_05122025_20_09_45_9994.jpg
/home/pi/Desktop/images/05122025/20/09/image_05122025_20_09_54_9352.jpg
/home/pi/Desktop/images/05122025/20/09/image_05122025_20_10_05_10786.jpg
/home/pi/Desktop/images/05122025/20/11/image_05122025_20_12_04_9703.jpg
/home/pi/Desktop/images/05122025/20/12/image_05122025_20_12_14_10311.jpg
/home/pi/Desktop/images/05122025/20/12/image_05122025_20_12_34_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":["1398126454","1398126448","1398126457","1398126450","1398126455","1398126452"],"photo_ids_order":["1398126448","1398126450","1398126452","1398126454","1398126455","1398126457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e2daa946c80fd7ad095aaa8187ef497c.jpg","text":"TemporaryFile(/tmp/multipartBody8629335032506040814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963004293,"filename":"image_05122025_20_12_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/5/80b6fdaac28b232eea8f78ffdbec3948.jpg","text":"TemporaryFile(/tmp/multipartBody3252884990510938793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963004293,"filename":"image_05122025_20_09_45_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/5/aacf6a06b297a797eade58e19eb58a09.jpg","text":"TemporaryFile(/tmp/multipartBody2290529991598415196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963004293,"filename":"image_05122025_20_12_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/5/5b3e55cb2e07a7f6e6b5b3b31efb9509.jpg","text":"TemporaryFile(/tmp/multipartBody4376636186908219334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963004293,"filename":"image_05122025_20_09_54_9352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6f0d91be680d8456c54665c4198051f8.jpg","text":"TemporaryFile(/tmp/multipartBody6543595536378100867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963004293,"filename":"image_05122025_20_12_14_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/5/509ba3ea8e6e7ba4e8a72186b16d8a1a.jpg","text":"TemporaryFile(/tmp/multipartBody4630221449974566369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963004293,"filename":"image_05122025_20_10_05_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126452","file1":"1398126450","file0":"1398126448","file4":"1398126455","file5":"1398126457","file3":"1398126454"},"map_files_photo_id_array":[{"photo_id":"1398126457","filename":"file5"},{"photo_id":"1398126452","filename":"file2"},{"photo_id":"1398126455","filename":"file4"},{"photo_id":"1398126450","filename":"file1"},{"photo_id":"1398126448","filename":"file0"},{"photo_id":"1398126454","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126454":["hashtag1","hashtag2"]},{"1398126448":["hashtag1","hashtag2"]},{"1398126457":["hashtag1","hashtag2"]},{"1398126450":["hashtag1","hashtag2"]},{"1398126455":["hashtag1","hashtag2"]},{"1398126452":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126454, 1398126448, 1398126457, 1398126450, 1398126455, 1398126452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.729644775390625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:29:42.384073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_29_3621.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_32_2524.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_35_3477.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_43_2749.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_47_3742.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_50_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_29_3621.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_32_2524.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_35_3477.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_43_2749.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_47_3742.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_50_2633.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":["1398126472","1398126466","1398126465","1398126467","1398126464","1398126463"],"photo_ids_order":["1398126463","1398126464","1398126465","1398126466","1398126467","1398126472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/96f15e653fb18611ab237759f90b9367.jpg","text":"TemporaryFile(/tmp/multipartBody7394077269258714426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963043850,"filename":"image_31102025_20_30_50_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/5/300d4369650f1ccd1aec8c167a1d3e3c.jpg","text":"TemporaryFile(/tmp/multipartBody2966804378322351562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963043850,"filename":"image_31102025_20_30_43_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/5/07e3a2c6d5c73718c3a1fd74b75b5fc4.jpg","text":"TemporaryFile(/tmp/multipartBody651029279206811394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963043850,"filename":"image_31102025_20_30_35_3477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/26b33fa5c88097cd4dccccac92dd187c.jpg","text":"TemporaryFile(/tmp/multipartBody1105494816178180518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963043850,"filename":"image_31102025_20_30_47_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/5/510a1ec4151e9bc1e61b2ed4e33f051c.jpg","text":"TemporaryFile(/tmp/multipartBody7808548644959254696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963043850,"filename":"image_31102025_20_30_32_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/5/f6cf91232dfed02531f35b0337544d25.jpg","text":"TemporaryFile(/tmp/multipartBody510447915020770690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963043850,"filename":"image_31102025_20_30_29_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126465","file1":"1398126464","file0":"1398126463","file4":"1398126467","file5":"1398126472","file3":"1398126466"},"map_files_photo_id_array":[{"photo_id":"1398126472","filename":"file5"},{"photo_id":"1398126465","filename":"file2"},{"photo_id":"1398126467","filename":"file4"},{"photo_id":"1398126464","filename":"file1"},{"photo_id":"1398126463","filename":"file0"},{"photo_id":"1398126466","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126472":["hashtag1","hashtag2"]},{"1398126466":["hashtag1","hashtag2"]},{"1398126465":["hashtag1","hashtag2"]},{"1398126467":["hashtag1","hashtag2"]},{"1398126464":["hashtag1","hashtag2"]},{"1398126463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126472, 1398126466, 1398126465, 1398126467, 1398126464, 1398126463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.49659204483032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:31:03.276805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/13/image_05122025_20_13_25_10711.jpg', '/home/pi/Desktop/images/05122025/20/13/image_05122025_20_13_34_9606.jpg', '/home/pi/Desktop/images/05122025/20/15/image_05122025_20_15_15_10582.jpg', '/home/pi/Desktop/images/05122025/20/18/image_05122025_20_18_34_9873.jpg', '/home/pi/Desktop/images/05122025/20/19/image_05122025_20_19_45_10878.jpg', '/home/pi/Desktop/images/05122025/20/19/image_05122025_20_20_04_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/13/image_05122025_20_13_25_10711.jpg
/home/pi/Desktop/images/05122025/20/13/image_05122025_20_13_34_9606.jpg
/home/pi/Desktop/images/05122025/20/15/image_05122025_20_15_15_10582.jpg
/home/pi/Desktop/images/05122025/20/18/image_05122025_20_18_34_9873.jpg
/home/pi/Desktop/images/05122025/20/19/image_05122025_20_19_45_10878.jpg
/home/pi/Desktop/images/05122025/20/19/image_05122025_20_20_04_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126492","1398126497","1398126494","1398126488","1398126499","1398126490"],"photo_ids_order":["1398126488","1398126490","1398126492","1398126494","1398126497","1398126499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1cfa15005cc27401fa61423dd5284029.jpg","text":"TemporaryFile(/tmp/multipartBody2785367376866586901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963124136,"filename":"image_05122025_20_15_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/5/adf4e3f114f2db873d7e5c028cae27ac.jpg","text":"TemporaryFile(/tmp/multipartBody784147942706312407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963124136,"filename":"image_05122025_20_19_45_10878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/09d717d93e9c1ac8439f5d9dae4883b9.jpg","text":"TemporaryFile(/tmp/multipartBody3027635151898975139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963124136,"filename":"image_05122025_20_18_34_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/5/8e1d072fe9af4729a87f31f511a7f575.jpg","text":"TemporaryFile(/tmp/multipartBody2755205902114585421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963124136,"filename":"image_05122025_20_13_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/5/0ace44ce9cc5da4ebea86d27e43924b4.jpg","text":"TemporaryFile(/tmp/multipartBody3869297297573949706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963124136,"filename":"image_05122025_20_20_04_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c3b3b43bfeefa1147731d3ce0e7a2add.jpg","text":"TemporaryFile(/tmp/multipartBody9162507426587264578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963124136,"filename":"image_05122025_20_13_34_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126492","file1":"1398126490","file0":"1398126488","file4":"1398126497","file5":"1398126499","file3":"1398126494"},"map_files_photo_id_array":[{"photo_id":"1398126499","filename":"file5"},{"photo_id":"1398126492","filename":"file2"},{"photo_id":"1398126497","filename":"file4"},{"photo_id":"1398126490","filename":"file1"},{"photo_id":"1398126488","filename":"file0"},{"photo_id":"1398126494","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126492":["hashtag1","hashtag2"]},{"1398126497":["hashtag1","hashtag2"]},{"1398126494":["hashtag1","hashtag2"]},{"1398126488":["hashtag1","hashtag2"]},{"1398126499":["hashtag1","hashtag2"]},{"1398126490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126492, 1398126497, 1398126494, 1398126488, 1398126499, 1398126490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84522581100464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:31:42.650899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_56_3730.jpg', '/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_59_2623.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_02_3561.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_05_2646.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_08_2761.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_11_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_56_3730.jpg
/home/pi/Desktop/images/31102025/20/30/image_31102025_20_30_59_2623.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_02_3561.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_05_2646.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_08_2761.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_11_3581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126508","1398126510","1398126507","1398126504","1398126506","1398126509"],"photo_ids_order":["1398126504","1398126506","1398126507","1398126508","1398126509","1398126510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f572dddad2945d2425beb17fd71d357b.jpg","text":"TemporaryFile(/tmp/multipartBody3822637283433752918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963164262,"filename":"image_31102025_20_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/5/3e76d12db44234fe49c33d1bd271211b.jpg","text":"TemporaryFile(/tmp/multipartBody9041626151835627022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963164262,"filename":"image_31102025_20_31_11_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/5/fd91eb5880c6d3c60ade3e488048cbb7.jpg","text":"TemporaryFile(/tmp/multipartBody37828046692764004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963164262,"filename":"image_31102025_20_31_02_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/5/a24eed8c5994ef78362a56f0cad97cfa.jpg","text":"TemporaryFile(/tmp/multipartBody2859305986391816299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963164262,"filename":"image_31102025_20_30_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/5/99ecccfb19e58c5b36683ccbe239ef76.jpg","text":"TemporaryFile(/tmp/multipartBody4311375630640275107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963164262,"filename":"image_31102025_20_30_59_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/5/65c9bf80e462280c1a5b0bffd5494105.jpg","text":"TemporaryFile(/tmp/multipartBody8182713086172882956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963164262,"filename":"image_31102025_20_31_08_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126507","file1":"1398126506","file0":"1398126504","file4":"1398126509","file5":"1398126510","file3":"1398126508"},"map_files_photo_id_array":[{"photo_id":"1398126510","filename":"file5"},{"photo_id":"1398126507","filename":"file2"},{"photo_id":"1398126509","filename":"file4"},{"photo_id":"1398126506","filename":"file1"},{"photo_id":"1398126504","filename":"file0"},{"photo_id":"1398126508","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126508":["hashtag1","hashtag2"]},{"1398126510":["hashtag1","hashtag2"]},{"1398126507":["hashtag1","hashtag2"]},{"1398126504":["hashtag1","hashtag2"]},{"1398126506":["hashtag1","hashtag2"]},{"1398126509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126508, 1398126510, 1398126507, 1398126504, 1398126506, 1398126509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49240016937256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:32:22.915485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/22/image_05122025_20_22_34_10051.jpg', '/home/pi/Desktop/images/05122025/20/22/image_05122025_20_23_05_9919.jpg', '/home/pi/Desktop/images/05122025/20/23/image_05122025_20_23_14_9664.jpg', '/home/pi/Desktop/images/05122025/20/23/image_05122025_20_23_54_10208.jpg', '/home/pi/Desktop/images/05122025/20/24/image_05122025_20_24_14_9731.jpg', '/home/pi/Desktop/images/05122025/20/24/image_05122025_20_24_25_10860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/22/image_05122025_20_22_34_10051.jpg
/home/pi/Desktop/images/05122025/20/22/image_05122025_20_23_05_9919.jpg
/home/pi/Desktop/images/05122025/20/23/image_05122025_20_23_14_9664.jpg
/home/pi/Desktop/images/05122025/20/23/image_05122025_20_23_54_10208.jpg
/home/pi/Desktop/images/05122025/20/24/image_05122025_20_24_14_9731.jpg
/home/pi/Desktop/images/05122025/20/24/image_05122025_20_24_25_10860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126526","1398126520","1398126531","1398126528","1398126516","1398126524"],"photo_ids_order":["1398126516","1398126520","1398126524","1398126526","1398126528","1398126531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa6296dc1545016aa4e3cb40f8903896.jpg","text":"TemporaryFile(/tmp/multipartBody5223944110170296321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963203632,"filename":"image_05122025_20_23_54_10208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9a808b38ac5799c4dba67f54f2c27a3b.jpg","text":"TemporaryFile(/tmp/multipartBody2709629260683182814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963203632,"filename":"image_05122025_20_23_05_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/5/a3510218aac2401bf66a75c412bc659c.jpg","text":"TemporaryFile(/tmp/multipartBody4223312840088499395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963203632,"filename":"image_05122025_20_24_25_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/5/78501287a54a993b0460c3ddfc79eead.jpg","text":"TemporaryFile(/tmp/multipartBody6163668429484763511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963203632,"filename":"image_05122025_20_24_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/5/58fa8f8eee2766390c6c2f11fe0e3bc7.jpg","text":"TemporaryFile(/tmp/multipartBody2840862897517246689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963203632,"filename":"image_05122025_20_22_34_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/5/0416fb0b4a4bfdd1de6dd171873a0ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6572422865054218274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963203632,"filename":"image_05122025_20_23_14_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126524","file1":"1398126520","file0":"1398126516","file4":"1398126528","file5":"1398126531","file3":"1398126526"},"map_files_photo_id_array":[{"photo_id":"1398126531","filename":"file5"},{"photo_id":"1398126524","filename":"file2"},{"photo_id":"1398126528","filename":"file4"},{"photo_id":"1398126520","filename":"file1"},{"photo_id":"1398126516","filename":"file0"},{"photo_id":"1398126526","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126526":["hashtag1","hashtag2"]},{"1398126520":["hashtag1","hashtag2"]},{"1398126531":["hashtag1","hashtag2"]},{"1398126528":["hashtag1","hashtag2"]},{"1398126516":["hashtag1","hashtag2"]},{"1398126524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126526, 1398126520, 1398126531, 1398126528, 1398126516, 1398126524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.608397245407104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:33:02.806582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/24/image_05122025_20_24_44_9640.jpg', '/home/pi/Desktop/images/05122025/20/24/image_05122025_20_24_54_10484.jpg', '/home/pi/Desktop/images/05122025/20/25/image_05122025_20_25_14_9795.jpg', '/home/pi/Desktop/images/05122025/20/25/image_05122025_20_25_24_9892.jpg', '/home/pi/Desktop/images/05122025/20/25/image_05122025_20_25_35_10668.jpg', '/home/pi/Desktop/images/05122025/20/25/image_05122025_20_25_54_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/24/image_05122025_20_24_44_9640.jpg
/home/pi/Desktop/images/05122025/20/24/image_05122025_20_24_54_10484.jpg
/home/pi/Desktop/images/05122025/20/25/image_05122025_20_25_14_9795.jpg
/home/pi/Desktop/images/05122025/20/25/image_05122025_20_25_24_9892.jpg
/home/pi/Desktop/images/05122025/20/25/image_05122025_20_25_35_10668.jpg
/home/pi/Desktop/images/05122025/20/25/image_05122025_20_25_54_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":["1398126535","1398126543","1398126537","1398126540","1398126539","1398126533"],"photo_ids_order":["1398126533","1398126535","1398126537","1398126539","1398126540","1398126543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8fd55ad1b3390c710c31e5d12d3f4fe0.jpg","text":"TemporaryFile(/tmp/multipartBody305342687792445555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963243587,"filename":"image_05122025_20_24_54_10484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dcf8c70668d74704c9a92c5f19717a27.jpg","text":"TemporaryFile(/tmp/multipartBody6953678500274232616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963243587,"filename":"image_05122025_20_25_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/5/ce700defb43d19dfb279faf873394457.jpg","text":"TemporaryFile(/tmp/multipartBody3638948284884089229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963243587,"filename":"image_05122025_20_25_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2bfc1dc67cd1917401b8733686b6b667.jpg","text":"TemporaryFile(/tmp/multipartBody1382587129596653339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963243587,"filename":"image_05122025_20_25_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/5/7fd78805a0a943eea498de0a8bd9ef5f.jpg","text":"TemporaryFile(/tmp/multipartBody3129702991532001858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963243587,"filename":"image_05122025_20_25_24_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/5/393a8bdbbacb7677c3a284ac97f1937c.jpg","text":"TemporaryFile(/tmp/multipartBody732987221998130754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963243587,"filename":"image_05122025_20_24_44_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126537","file1":"1398126535","file0":"1398126533","file4":"1398126540","file5":"1398126543","file3":"1398126539"},"map_files_photo_id_array":[{"photo_id":"1398126543","filename":"file5"},{"photo_id":"1398126537","filename":"file2"},{"photo_id":"1398126540","filename":"file4"},{"photo_id":"1398126535","filename":"file1"},{"photo_id":"1398126533","filename":"file0"},{"photo_id":"1398126539","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126535":["hashtag1","hashtag2"]},{"1398126543":["hashtag1","hashtag2"]},{"1398126537":["hashtag1","hashtag2"]},{"1398126540":["hashtag1","hashtag2"]},{"1398126539":["hashtag1","hashtag2"]},{"1398126533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126535, 1398126543, 1398126537, 1398126540, 1398126539, 1398126533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86039614677429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:33:42.063737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_14_2759.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_17_2595.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_19_2675.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_23_3782.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_26_2587.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_32_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_14_2759.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_17_2595.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_19_2675.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_23_3782.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_26_2587.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_32_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126550","1398126553","1398126547","1398126552","1398126549","1398126551"],"photo_ids_order":["1398126547","1398126549","1398126550","1398126551","1398126552","1398126553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45c2da8a167743e67f68c3a0c661d525.jpg","text":"TemporaryFile(/tmp/multipartBody6504555612622327043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963283658,"filename":"image_31102025_20_31_19_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/5/79e1084659fa8264c7efe64af2a7d984.jpg","text":"TemporaryFile(/tmp/multipartBody3506257902873751641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963283658,"filename":"image_31102025_20_31_32_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/5/8623e07e5d15383aa55c87e1ef199d95.jpg","text":"TemporaryFile(/tmp/multipartBody750218350972042769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963283658,"filename":"image_31102025_20_31_14_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/5/eb7317051c6872e7c6ac3f04c1e5c1d2.jpg","text":"TemporaryFile(/tmp/multipartBody3144671946238962845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963283658,"filename":"image_31102025_20_31_26_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/5/2786753b4ccea8d6a46abe71f8a459ed.jpg","text":"TemporaryFile(/tmp/multipartBody1939295080461525055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963283658,"filename":"image_31102025_20_31_17_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/5/252644b071b8abc8fcf44afe47d1a7f5.jpg","text":"TemporaryFile(/tmp/multipartBody789987237995068955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963283658,"filename":"image_31102025_20_31_23_3782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126550","file1":"1398126549","file0":"1398126547","file4":"1398126552","file5":"1398126553","file3":"1398126551"},"map_files_photo_id_array":[{"photo_id":"1398126553","filename":"file5"},{"photo_id":"1398126550","filename":"file2"},{"photo_id":"1398126552","filename":"file4"},{"photo_id":"1398126549","filename":"file1"},{"photo_id":"1398126547","filename":"file0"},{"photo_id":"1398126551","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126550":["hashtag1","hashtag2"]},{"1398126553":["hashtag1","hashtag2"]},{"1398126547":["hashtag1","hashtag2"]},{"1398126552":["hashtag1","hashtag2"]},{"1398126549":["hashtag1","hashtag2"]},{"1398126551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126550, 1398126553, 1398126547, 1398126552, 1398126549, 1398126551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.240938901901245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:34:22.244067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/26/image_05122025_20_26_54_10579.jpg', '/home/pi/Desktop/images/05122025/20/26/image_05122025_20_27_04_9645.jpg', '/home/pi/Desktop/images/05122025/20/27/image_05122025_20_27_44_9672.jpg', '/home/pi/Desktop/images/05122025/20/28/image_05122025_20_28_44_9779.jpg', '/home/pi/Desktop/images/05122025/20/31/image_05122025_20_31_25_10675.jpg', '/home/pi/Desktop/images/05122025/20/31/image_05122025_20_31_45_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/26/image_05122025_20_26_54_10579.jpg
/home/pi/Desktop/images/05122025/20/26/image_05122025_20_27_04_9645.jpg
/home/pi/Desktop/images/05122025/20/27/image_05122025_20_27_44_9672.jpg
/home/pi/Desktop/images/05122025/20/28/image_05122025_20_28_44_9779.jpg
/home/pi/Desktop/images/05122025/20/31/image_05122025_20_31_25_10675.jpg
/home/pi/Desktop/images/05122025/20/31/image_05122025_20_31_45_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126571","1398126565","1398126573","1398126561","1398126570","1398126558"],"photo_ids_order":["1398126558","1398126561","1398126565","1398126570","1398126571","1398126573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8623ef1afb54bce0c8cc840f1f1e7a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8191265718381278236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963322961,"filename":"image_05122025_20_31_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7a46e49482acc010a7ce6e11d82a2150.jpg","text":"TemporaryFile(/tmp/multipartBody2854176950132939927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963322961,"filename":"image_05122025_20_27_44_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/5/e41d797f2f2ee25e8d81b949fc35fbfc.jpg","text":"TemporaryFile(/tmp/multipartBody5175973245714612647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963322961,"filename":"image_05122025_20_31_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/5/fb22f29d1e94f47c75859443a29a6dac.jpg","text":"TemporaryFile(/tmp/multipartBody5686744860195041243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963322961,"filename":"image_05122025_20_27_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/5/83dbf3675f74945e291c2efffc6d9ebf.jpg","text":"TemporaryFile(/tmp/multipartBody6491178713963160303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963322961,"filename":"image_05122025_20_28_44_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8de81f1469163f5e77a26499e711d3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7833676619255117691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963322961,"filename":"image_05122025_20_26_54_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126565","file1":"1398126561","file0":"1398126558","file4":"1398126571","file5":"1398126573","file3":"1398126570"},"map_files_photo_id_array":[{"photo_id":"1398126573","filename":"file5"},{"photo_id":"1398126565","filename":"file2"},{"photo_id":"1398126571","filename":"file4"},{"photo_id":"1398126561","filename":"file1"},{"photo_id":"1398126558","filename":"file0"},{"photo_id":"1398126570","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126571":["hashtag1","hashtag2"]},{"1398126565":["hashtag1","hashtag2"]},{"1398126573":["hashtag1","hashtag2"]},{"1398126561":["hashtag1","hashtag2"]},{"1398126570":["hashtag1","hashtag2"]},{"1398126558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126571, 1398126565, 1398126573, 1398126561, 1398126570, 1398126558)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.160337686538696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:35:12.438011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/01/23/image_03122025_01_23_54_9719.jpg', '/home/pi/Desktop/images/03122025/01/24/image_03122025_01_24_24_9851.jpg', '/home/pi/Desktop/images/03122025/01/24/image_03122025_01_24_44_10052.jpg', '/home/pi/Desktop/images/03122025/01/25/image_03122025_01_25_14_9730.jpg', '/home/pi/Desktop/images/03122025/01/25/image_03122025_01_25_55_10727.jpg', '/home/pi/Desktop/images/03122025/01/26/image_03122025_01_26_24_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/01/23/image_03122025_01_23_54_9719.jpg
/home/pi/Desktop/images/03122025/01/24/image_03122025_01_24_24_9851.jpg
/home/pi/Desktop/images/03122025/01/24/image_03122025_01_24_44_10052.jpg
/home/pi/Desktop/images/03122025/01/25/image_03122025_01_25_14_9730.jpg
/home/pi/Desktop/images/03122025/01/25/image_03122025_01_25_55_10727.jpg
/home/pi/Desktop/images/03122025/01/26/image_03122025_01_26_24_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":["1398126592","1398126594","1398126582","1398126590","1398126584","1398126587"],"photo_ids_order":["1398126582","1398126584","1398126587","1398126590","1398126592","1398126594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f72958fbf9b034c0cebc386e2856eaf3.jpg","text":"TemporaryFile(/tmp/multipartBody4203516570120792156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963374782,"filename":"image_03122025_01_25_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/5/3e3aecc292e21f5a9dda9c5a8c3951b4.jpg","text":"TemporaryFile(/tmp/multipartBody1214523961901127163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963374782,"filename":"image_03122025_01_26_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/5/60b52d5a686375c07560985d969754ed.jpg","text":"TemporaryFile(/tmp/multipartBody6218083964948376861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963374782,"filename":"image_03122025_01_23_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/5/8b170d806053fd8248e869a8668b4766.jpg","text":"TemporaryFile(/tmp/multipartBody2803905662866914526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963374782,"filename":"image_03122025_01_25_14_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6326b9281742a9f5b7c2ad6ca40e449b.jpg","text":"TemporaryFile(/tmp/multipartBody8893473892205445113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963374782,"filename":"image_03122025_01_24_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/5/532728d44f209a345b0bee24519fa7cd.jpg","text":"TemporaryFile(/tmp/multipartBody4393855161872906675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963374782,"filename":"image_03122025_01_24_44_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126587","file1":"1398126584","file0":"1398126582","file4":"1398126592","file5":"1398126594","file3":"1398126590"},"map_files_photo_id_array":[{"photo_id":"1398126594","filename":"file5"},{"photo_id":"1398126587","filename":"file2"},{"photo_id":"1398126592","filename":"file4"},{"photo_id":"1398126584","filename":"file1"},{"photo_id":"1398126582","filename":"file0"},{"photo_id":"1398126590","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126592":["hashtag1","hashtag2"]},{"1398126594":["hashtag1","hashtag2"]},{"1398126582":["hashtag1","hashtag2"]},{"1398126590":["hashtag1","hashtag2"]},{"1398126584":["hashtag1","hashtag2"]},{"1398126587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126592, 1398126594, 1398126582, 1398126590, 1398126584, 1398126587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30193591117859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:36:03.095727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/32/image_05122025_20_32_14_9748.jpg', '/home/pi/Desktop/images/05122025/20/32/image_05122025_20_33_05_10687.jpg', '/home/pi/Desktop/images/05122025/20/34/image_05122025_20_34_34_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/32/image_05122025_20_32_14_9748.jpg
/home/pi/Desktop/images/05122025/20/32/image_05122025_20_33_05_10687.jpg
/home/pi/Desktop/images/05122025/20/34/image_05122025_20_34_34_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":["1398126601","1398126597","1398126599"],"photo_ids_order":["1398126597","1398126599","1398126601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9062dd9b3a39452b11cb585dd09305c0.jpg","text":"TemporaryFile(/tmp/multipartBody4732563911659221249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963423716,"filename":"image_05122025_20_34_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/5/7deca9e8485d3cee97b297a5fc778280.jpg","text":"TemporaryFile(/tmp/multipartBody696116522187186211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963423716,"filename":"image_05122025_20_32_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/5/8fc8cd3031a8b2e7785212448a001807.jpg","text":"TemporaryFile(/tmp/multipartBody1744248633685609461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963423716,"filename":"image_05122025_20_33_05_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126601","file1":"1398126599","file0":"1398126597"},"map_files_photo_id_array":[{"photo_id":"1398126601","filename":"file2"},{"photo_id":"1398126599","filename":"file1"},{"photo_id":"1398126597","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126601":["hashtag1","hashtag2"]},{"1398126597":["hashtag1","hashtag2"]},{"1398126599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126601, 1398126597, 1398126599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.921854496002197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:36:32.612777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/01/27/image_03122025_01_27_34_9853.jpg', '/home/pi/Desktop/images/03122025/01/27/image_03122025_01_27_44_10323.jpg', '/home/pi/Desktop/images/03122025/01/27/image_03122025_01_28_04_9836.jpg', '/home/pi/Desktop/images/03122025/01/28/image_03122025_01_28_14_10595.jpg', '/home/pi/Desktop/images/03122025/01/29/image_03122025_01_29_54_9962.jpg', '/home/pi/Desktop/images/03122025/01/29/image_03122025_01_30_04_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/01/27/image_03122025_01_27_34_9853.jpg
/home/pi/Desktop/images/03122025/01/27/image_03122025_01_27_44_10323.jpg
/home/pi/Desktop/images/03122025/01/27/image_03122025_01_28_04_9836.jpg
/home/pi/Desktop/images/03122025/01/28/image_03122025_01_28_14_10595.jpg
/home/pi/Desktop/images/03122025/01/29/image_03122025_01_29_54_9962.jpg
/home/pi/Desktop/images/03122025/01/29/image_03122025_01_30_04_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":["1398126625","1398126607","1398126616","1398126618","1398126620","1398126605"],"photo_ids_order":["1398126605","1398126607","1398126616","1398126618","1398126620","1398126625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f4ab7d51f58bf877aada62898d160d65.jpg","text":"TemporaryFile(/tmp/multipartBody4385845944620523948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963454917,"filename":"image_03122025_01_30_04_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f75d7a0ff5d3300db10946a646650bd6.jpg","text":"TemporaryFile(/tmp/multipartBody6709495318335456467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963454917,"filename":"image_03122025_01_27_44_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/5/58d8a730407bf9fed5ea2dc9a058524a.jpg","text":"TemporaryFile(/tmp/multipartBody9182057706047826584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963454917,"filename":"image_03122025_01_28_04_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fa164ff85708aab9e1dd5ec91a63ca2b.jpg","text":"TemporaryFile(/tmp/multipartBody7227503097004963738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963454917,"filename":"image_03122025_01_28_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/5/ab5273d3a817119ccf3f57e53385912b.jpg","text":"TemporaryFile(/tmp/multipartBody3987171347507710201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963454917,"filename":"image_03122025_01_29_54_9962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d08afb1da27105a48a25998f92547b6.jpg","text":"TemporaryFile(/tmp/multipartBody1096807687392305191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963454917,"filename":"image_03122025_01_27_34_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126616","file1":"1398126607","file0":"1398126605","file4":"1398126620","file5":"1398126625","file3":"1398126618"},"map_files_photo_id_array":[{"photo_id":"1398126625","filename":"file5"},{"photo_id":"1398126616","filename":"file2"},{"photo_id":"1398126620","filename":"file4"},{"photo_id":"1398126607","filename":"file1"},{"photo_id":"1398126605","filename":"file0"},{"photo_id":"1398126618","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126625":["hashtag1","hashtag2"]},{"1398126607":["hashtag1","hashtag2"]},{"1398126616":["hashtag1","hashtag2"]},{"1398126618":["hashtag1","hashtag2"]},{"1398126620":["hashtag1","hashtag2"]},{"1398126605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126625, 1398126607, 1398126616, 1398126618, 1398126620, 1398126605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54525136947632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:37:12.751401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/01/30/image_03122025_01_30_14_9747.jpg', '/home/pi/Desktop/images/03122025/01/30/image_03122025_01_30_44_10695.jpg', '/home/pi/Desktop/images/03122025/01/31/image_03122025_01_31_34_9844.jpg', '/home/pi/Desktop/images/03122025/01/32/image_03122025_01_32_35_10622.jpg', '/home/pi/Desktop/images/03122025/01/36/image_03122025_01_36_24_9636.jpg', '/home/pi/Desktop/images/03122025/01/36/image_03122025_01_37_04_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/01/30/image_03122025_01_30_14_9747.jpg
/home/pi/Desktop/images/03122025/01/30/image_03122025_01_30_44_10695.jpg
/home/pi/Desktop/images/03122025/01/31/image_03122025_01_31_34_9844.jpg
/home/pi/Desktop/images/03122025/01/32/image_03122025_01_32_35_10622.jpg
/home/pi/Desktop/images/03122025/01/36/image_03122025_01_36_24_9636.jpg
/home/pi/Desktop/images/03122025/01/36/image_03122025_01_37_04_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126631","1398126636","1398126633","1398126635","1398126629","1398126638"],"photo_ids_order":["1398126629","1398126631","1398126633","1398126635","1398126636","1398126638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/75ec3ec4f4999b917aaf1041042094c0.jpg","text":"TemporaryFile(/tmp/multipartBody8591003870494320009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963494935,"filename":"image_03122025_01_30_44_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/5/54a3c36b5b2b9f0982878f3690d9bb03.jpg","text":"TemporaryFile(/tmp/multipartBody5489117466196924419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963494935,"filename":"image_03122025_01_36_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/5/795c50d4a9ed89018e8c22c84199f2e5.jpg","text":"TemporaryFile(/tmp/multipartBody1711310923134226375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963494935,"filename":"image_03122025_01_31_34_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/5/73794a9ce5742731693a44ce5f17a182.jpg","text":"TemporaryFile(/tmp/multipartBody8753102801437966424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963494935,"filename":"image_03122025_01_32_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/5/f92d9521dcea4a9de2ed63282f34ce56.jpg","text":"TemporaryFile(/tmp/multipartBody8386022159993917829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963494935,"filename":"image_03122025_01_30_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/5/b7096e093fd513a05bdd1bf081346725.jpg","text":"TemporaryFile(/tmp/multipartBody1322002402690031470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963494935,"filename":"image_03122025_01_37_04_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126633","file1":"1398126631","file0":"1398126629","file4":"1398126636","file5":"1398126638","file3":"1398126635"},"map_files_photo_id_array":[{"photo_id":"1398126638","filename":"file5"},{"photo_id":"1398126633","filename":"file2"},{"photo_id":"1398126636","filename":"file4"},{"photo_id":"1398126631","filename":"file1"},{"photo_id":"1398126629","filename":"file0"},{"photo_id":"1398126635","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126631":["hashtag1","hashtag2"]},{"1398126636":["hashtag1","hashtag2"]},{"1398126633":["hashtag1","hashtag2"]},{"1398126635":["hashtag1","hashtag2"]},{"1398126629":["hashtag1","hashtag2"]},{"1398126638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126631, 1398126636, 1398126633, 1398126635, 1398126629, 1398126638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41576600074768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:38:02.421215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/34/image_05122025_20_34_45_10592.jpg', '/home/pi/Desktop/images/05122025/20/35/image_05122025_20_35_25_10666.jpg', '/home/pi/Desktop/images/05122025/20/35/image_05122025_20_35_34_9778.jpg', '/home/pi/Desktop/images/05122025/20/36/image_05122025_20_36_14_9660.jpg', '/home/pi/Desktop/images/05122025/20/36/image_05122025_20_36_35_10729.jpg', '/home/pi/Desktop/images/05122025/20/36/image_05122025_20_36_44_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/34/image_05122025_20_34_45_10592.jpg
/home/pi/Desktop/images/05122025/20/35/image_05122025_20_35_25_10666.jpg
/home/pi/Desktop/images/05122025/20/35/image_05122025_20_35_34_9778.jpg
/home/pi/Desktop/images/05122025/20/36/image_05122025_20_36_14_9660.jpg
/home/pi/Desktop/images/05122025/20/36/image_05122025_20_36_35_10729.jpg
/home/pi/Desktop/images/05122025/20/36/image_05122025_20_36_44_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126643","1398126646","1398126642","1398126648","1398126650","1398126653"],"photo_ids_order":["1398126642","1398126643","1398126646","1398126648","1398126650","1398126653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/345acffdcdce38f37f682914872dae7d.jpg","text":"TemporaryFile(/tmp/multipartBody6166000210459087561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963543170,"filename":"image_05122025_20_35_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/357ca9a253fa467d2e9fbe0983a81a59.jpg","text":"TemporaryFile(/tmp/multipartBody8842100966199657241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963543170,"filename":"image_05122025_20_35_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/5/fa40679d0f03c8b1d92faccb4d762bca.jpg","text":"TemporaryFile(/tmp/multipartBody2382453405659270977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963543170,"filename":"image_05122025_20_34_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/5/18172566de162a43ebae0dd6aa016c40.jpg","text":"TemporaryFile(/tmp/multipartBody6585347159874140359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963543170,"filename":"image_05122025_20_36_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/5/b607ace34c63a5cb885ae695789f9ae8.jpg","text":"TemporaryFile(/tmp/multipartBody4375115350226625113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963543170,"filename":"image_05122025_20_36_35_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94e1479ebc7e87363b05f2d49e00fe40.jpg","text":"TemporaryFile(/tmp/multipartBody3033624808433951782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963543170,"filename":"image_05122025_20_36_44_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126646","file1":"1398126643","file0":"1398126642","file4":"1398126650","file5":"1398126653","file3":"1398126648"},"map_files_photo_id_array":[{"photo_id":"1398126653","filename":"file5"},{"photo_id":"1398126646","filename":"file2"},{"photo_id":"1398126650","filename":"file4"},{"photo_id":"1398126643","filename":"file1"},{"photo_id":"1398126642","filename":"file0"},{"photo_id":"1398126648","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126643":["hashtag1","hashtag2"]},{"1398126646":["hashtag1","hashtag2"]},{"1398126642":["hashtag1","hashtag2"]},{"1398126648":["hashtag1","hashtag2"]},{"1398126650":["hashtag1","hashtag2"]},{"1398126653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126643, 1398126646, 1398126642, 1398126648, 1398126650, 1398126653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19910931587219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:38:41.998456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_35_2955.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_38_2745.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_47_2902.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_50_2537.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_53_3531.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_56_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_35_2955.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_38_2745.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_47_2902.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_50_2537.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_53_3531.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_56_2770.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.489530086517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:39:03.231770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/36/image_05122025_20_36_54_9766.jpg', '/home/pi/Desktop/images/05122025/20/36/image_05122025_20_37_05_10765.jpg', '/home/pi/Desktop/images/05122025/20/37/image_05122025_20_37_14_9739.jpg', '/home/pi/Desktop/images/05122025/20/37/image_05122025_20_37_24_9641.jpg', '/home/pi/Desktop/images/05122025/20/37/image_05122025_20_37_34_9732.jpg', '/home/pi/Desktop/images/05122025/20/38/image_05122025_20_38_34_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/36/image_05122025_20_36_54_9766.jpg
/home/pi/Desktop/images/05122025/20/36/image_05122025_20_37_05_10765.jpg
/home/pi/Desktop/images/05122025/20/37/image_05122025_20_37_14_9739.jpg
/home/pi/Desktop/images/05122025/20/37/image_05122025_20_37_24_9641.jpg
/home/pi/Desktop/images/05122025/20/37/image_05122025_20_37_34_9732.jpg
/home/pi/Desktop/images/05122025/20/38/image_05122025_20_38_34_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126679","1398126672","1398126671","1398126674","1398126682","1398126676"],"photo_ids_order":["1398126671","1398126672","1398126674","1398126676","1398126679","1398126682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7054222e70f4d33317c4580b368356af.jpg","text":"TemporaryFile(/tmp/multipartBody6554155512897993154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963604106,"filename":"image_05122025_20_37_34_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/5/1c4bbe7ffea3d2936cc97d78e37eacb2.jpg","text":"TemporaryFile(/tmp/multipartBody4461382548936390876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963604106,"filename":"image_05122025_20_37_05_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/5/57bec59c8ea08d678a03769c7b981f39.jpg","text":"TemporaryFile(/tmp/multipartBody7818298857944456109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963604106,"filename":"image_05122025_20_36_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/5/e9cad7aae5181df490d7d64d1f3ab5b0.jpg","text":"TemporaryFile(/tmp/multipartBody6286552737385989734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963604106,"filename":"image_05122025_20_37_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/5/10008f3258ac15615c20a0022cb14b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5617736007328493491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963604106,"filename":"image_05122025_20_38_34_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7730dc356c1e51e91798cc8bfa5162ea.jpg","text":"TemporaryFile(/tmp/multipartBody5288325885709800213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963604106,"filename":"image_05122025_20_37_24_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126674","file1":"1398126672","file0":"1398126671","file4":"1398126679","file5":"1398126682","file3":"1398126676"},"map_files_photo_id_array":[{"photo_id":"1398126682","filename":"file5"},{"photo_id":"1398126674","filename":"file2"},{"photo_id":"1398126679","filename":"file4"},{"photo_id":"1398126672","filename":"file1"},{"photo_id":"1398126671","filename":"file0"},{"photo_id":"1398126676","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126679":["hashtag1","hashtag2"]},{"1398126672":["hashtag1","hashtag2"]},{"1398126671":["hashtag1","hashtag2"]},{"1398126674":["hashtag1","hashtag2"]},{"1398126682":["hashtag1","hashtag2"]},{"1398126676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126679, 1398126672, 1398126671, 1398126674, 1398126682, 1398126676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75077509880066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:39:42.196006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_35_2955.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_38_2745.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_47_2902.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_50_2537.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_53_3531.jpg', '/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_56_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_35_2955.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_38_2745.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_47_2902.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_50_2537.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_53_3531.jpg
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_56_2770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126691","1398126690","1398126693","1398126692","1398126689","1398126694"],"photo_ids_order":["1398126689","1398126690","1398126691","1398126692","1398126693","1398126694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/772c925f485a4f9555b4436fdf0b69df.jpg","text":"TemporaryFile(/tmp/multipartBody5844701720391367745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963643662,"filename":"image_31102025_20_31_47_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/5/4505c2a37282e488d95316965ff9e129.jpg","text":"TemporaryFile(/tmp/multipartBody152975204611174068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963643662,"filename":"image_31102025_20_31_38_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/5/f8c3431a0ebc63de87390249b0acc200.jpg","text":"TemporaryFile(/tmp/multipartBody767038278207597370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963643662,"filename":"image_31102025_20_31_53_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3cc787df5302bb76efa44e72196b6af2.jpg","text":"TemporaryFile(/tmp/multipartBody3235564294268325755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963643662,"filename":"image_31102025_20_31_50_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3cdb3a2e918d4c334bcd9477d9297cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7420441705015609015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963643662,"filename":"image_31102025_20_31_35_2955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8434fa511cf4a9731a1dd0b900203e46.jpg","text":"TemporaryFile(/tmp/multipartBody3833470012725255439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963643662,"filename":"image_31102025_20_31_56_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126691","file1":"1398126690","file0":"1398126689","file4":"1398126693","file5":"1398126694","file3":"1398126692"},"map_files_photo_id_array":[{"photo_id":"1398126694","filename":"file5"},{"photo_id":"1398126691","filename":"file2"},{"photo_id":"1398126693","filename":"file4"},{"photo_id":"1398126690","filename":"file1"},{"photo_id":"1398126689","filename":"file0"},{"photo_id":"1398126692","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126691":["hashtag1","hashtag2"]},{"1398126690":["hashtag1","hashtag2"]},{"1398126693":["hashtag1","hashtag2"]},{"1398126692":["hashtag1","hashtag2"]},{"1398126689":["hashtag1","hashtag2"]},{"1398126694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126691, 1398126690, 1398126693, 1398126692, 1398126689, 1398126694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92271137237549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:40:22.389012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/38/image_05122025_20_38_44_9627.jpg', '/home/pi/Desktop/images/05122025/20/39/image_05122025_20_39_55_10808.jpg', '/home/pi/Desktop/images/05122025/20/39/image_05122025_20_40_05_9848.jpg', '/home/pi/Desktop/images/05122025/20/40/image_05122025_20_40_24_9690.jpg', '/home/pi/Desktop/images/05122025/20/40/image_05122025_20_40_35_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/38/image_05122025_20_38_44_9627.jpg
/home/pi/Desktop/images/05122025/20/39/image_05122025_20_39_55_10808.jpg
/home/pi/Desktop/images/05122025/20/39/image_05122025_20_40_05_9848.jpg
/home/pi/Desktop/images/05122025/20/40/image_05122025_20_40_24_9690.jpg
/home/pi/Desktop/images/05122025/20/40/image_05122025_20_40_35_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":["1398126712","1398126706","1398126709","1398126698","1398126701"],"photo_ids_order":["1398126698","1398126701","1398126706","1398126709","1398126712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce2cf2892a28e4c2a4040c7083aba7e4.jpg","text":"TemporaryFile(/tmp/multipartBody7952889863610042861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963683082,"filename":"image_05122025_20_40_35_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/5/2b15e43ba5f3c5fe074a195288373b49.jpg","text":"TemporaryFile(/tmp/multipartBody5296242378742786632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963683082,"filename":"image_05122025_20_40_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/5/04ee85231b0c7c16238108bfe3299140.jpg","text":"TemporaryFile(/tmp/multipartBody664568888975270178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963683082,"filename":"image_05122025_20_40_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/5/8c42be3d389c975dccf0a63e1757f00c.jpg","text":"TemporaryFile(/tmp/multipartBody5953613747628889906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963683082,"filename":"image_05122025_20_38_44_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/5/418225ae422de2e120b3c6e12347cda0.jpg","text":"TemporaryFile(/tmp/multipartBody3065939818740039456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963683082,"filename":"image_05122025_20_39_55_10808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126706","file1":"1398126701","file0":"1398126698","file4":"1398126712","file3":"1398126709"},"map_files_photo_id_array":[{"photo_id":"1398126706","filename":"file2"},{"photo_id":"1398126712","filename":"file4"},{"photo_id":"1398126701","filename":"file1"},{"photo_id":"1398126698","filename":"file0"},{"photo_id":"1398126709","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126712":["hashtag1","hashtag2"]},{"1398126706":["hashtag1","hashtag2"]},{"1398126709":["hashtag1","hashtag2"]},{"1398126698":["hashtag1","hashtag2"]},{"1398126701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126712, 1398126706, 1398126709, 1398126698, 1398126701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.155548095703125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:41:03.080894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/01/38/image_03122025_01_38_14_9698.jpg', '/home/pi/Desktop/images/03122025/01/51/image_03122025_01_52_04_9920.jpg', '/home/pi/Desktop/images/03122025/01/52/image_03122025_01_52_54_9665.jpg', '/home/pi/Desktop/images/03122025/01/57/image_03122025_01_57_45_10161.jpg', '/home/pi/Desktop/images/03122025/01/58/image_03122025_01_58_14_9618.jpg', '/home/pi/Desktop/images/03122025/02/01/image_03122025_02_01_14_10016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/01/38/image_03122025_01_38_14_9698.jpg
/home/pi/Desktop/images/03122025/01/51/image_03122025_01_52_04_9920.jpg
/home/pi/Desktop/images/03122025/01/52/image_03122025_01_52_54_9665.jpg
/home/pi/Desktop/images/03122025/01/57/image_03122025_01_57_45_10161.jpg
/home/pi/Desktop/images/03122025/01/58/image_03122025_01_58_14_9618.jpg
/home/pi/Desktop/images/03122025/02/01/image_03122025_02_01_14_10016.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126730","1398126724","1398126726","1398126728","1398126722","1398126725"],"photo_ids_order":["1398126722","1398126724","1398126725","1398126726","1398126728","1398126730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f5a37d908099ca293c8f7b23cd7637a.jpg","text":"TemporaryFile(/tmp/multipartBody8963880603638425694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963725009,"filename":"image_03122025_02_01_14_10016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff72420d138b8a2359f432db25e2641d.jpg","text":"TemporaryFile(/tmp/multipartBody1409601197174647844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963725009,"filename":"image_03122025_01_52_04_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/5/ff5494028d34dfb781b4b98c0474638e.jpg","text":"TemporaryFile(/tmp/multipartBody5692857950197088777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963725009,"filename":"image_03122025_01_57_45_10161.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ce7c28c0f57a926cde461d15f1f1ec3b.jpg","text":"TemporaryFile(/tmp/multipartBody3665624909732348849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963725009,"filename":"image_03122025_01_58_14_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/be9a27c6e97394f2fbbfc180d44286b7.jpg","text":"TemporaryFile(/tmp/multipartBody2404834700324808876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963725009,"filename":"image_03122025_01_38_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/5/b043ba719cc3e0b6d7f90f47294f8a0b.jpg","text":"TemporaryFile(/tmp/multipartBody3574918727956293848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963725009,"filename":"image_03122025_01_52_54_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126725","file1":"1398126724","file0":"1398126722","file4":"1398126728","file5":"1398126730","file3":"1398126726"},"map_files_photo_id_array":[{"photo_id":"1398126730","filename":"file5"},{"photo_id":"1398126725","filename":"file2"},{"photo_id":"1398126728","filename":"file4"},{"photo_id":"1398126724","filename":"file1"},{"photo_id":"1398126722","filename":"file0"},{"photo_id":"1398126726","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126730":["hashtag1","hashtag2"]},{"1398126724":["hashtag1","hashtag2"]},{"1398126726":["hashtag1","hashtag2"]},{"1398126728":["hashtag1","hashtag2"]},{"1398126722":["hashtag1","hashtag2"]},{"1398126725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126730, 1398126724, 1398126726, 1398126728, 1398126722, 1398126725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.285558462142944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:41:42.607860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_59_2761.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_02_3515.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_08_3622.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_11_2561.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_13_2649.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_22_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/31/image_31102025_20_31_59_2761.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_02_3515.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_08_3622.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_11_2561.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_13_2649.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_22_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":["1398126742","1398126748","1398126738","1398126749","1398126734","1398126737"],"photo_ids_order":["1398126734","1398126737","1398126738","1398126742","1398126748","1398126749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ccb8ca9eb718108bff1b5354bb2a80b.jpg","text":"TemporaryFile(/tmp/multipartBody6413940066369428443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963764199,"filename":"image_31102025_20_32_11_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/5/fdafc1077750c0a9d55520748242e6df.jpg","text":"TemporaryFile(/tmp/multipartBody7112906813854614543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963764199,"filename":"image_31102025_20_32_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/5/fd11a04e126a0e48f5d93671147daccb.jpg","text":"TemporaryFile(/tmp/multipartBody3709386083540291847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963764199,"filename":"image_31102025_20_32_08_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/5/70af5b8663df45d2dd0749f7c225612f.jpg","text":"TemporaryFile(/tmp/multipartBody1820641006583939748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963764199,"filename":"image_31102025_20_32_22_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/5/da4a19287069c29f8cd0bc2ef548d8b9.jpg","text":"TemporaryFile(/tmp/multipartBody7137035823491929053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963764199,"filename":"image_31102025_20_31_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/5/ba8961f1cd23de4bb7c2c3608c84937f.jpg","text":"TemporaryFile(/tmp/multipartBody6401625072158743561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963764199,"filename":"image_31102025_20_32_02_3515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126738","file1":"1398126737","file0":"1398126734","file4":"1398126748","file5":"1398126749","file3":"1398126742"},"map_files_photo_id_array":[{"photo_id":"1398126749","filename":"file5"},{"photo_id":"1398126738","filename":"file2"},{"photo_id":"1398126748","filename":"file4"},{"photo_id":"1398126737","filename":"file1"},{"photo_id":"1398126734","filename":"file0"},{"photo_id":"1398126742","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126742":["hashtag1","hashtag2"]},{"1398126748":["hashtag1","hashtag2"]},{"1398126738":["hashtag1","hashtag2"]},{"1398126749":["hashtag1","hashtag2"]},{"1398126734":["hashtag1","hashtag2"]},{"1398126737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126742, 1398126748, 1398126738, 1398126749, 1398126734, 1398126737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.453139781951904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:42:22.804188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/40/image_05122025_20_40_44_9626.jpg', '/home/pi/Desktop/images/05122025/20/40/image_05122025_20_41_04_9883.jpg', '/home/pi/Desktop/images/05122025/20/41/image_05122025_20_41_34_9656.jpg', '/home/pi/Desktop/images/05122025/20/41/image_05122025_20_41_45_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/40/image_05122025_20_40_44_9626.jpg
/home/pi/Desktop/images/05122025/20/40/image_05122025_20_41_04_9883.jpg
/home/pi/Desktop/images/05122025/20/41/image_05122025_20_41_34_9656.jpg
/home/pi/Desktop/images/05122025/20/41/image_05122025_20_41_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":["1398126757","1398126751","1398126753","1398126760"],"photo_ids_order":["1398126751","1398126753","1398126757","1398126760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cd87b15c3e1bb1313f51159c9d2bc92a.jpg","text":"TemporaryFile(/tmp/multipartBody8664043968860904148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963803443,"filename":"image_05122025_20_41_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/5/8c72b4f98f5055cc5b60eb98207c5c82.jpg","text":"TemporaryFile(/tmp/multipartBody8867788610242133374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963803443,"filename":"image_05122025_20_40_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/5/a80f54daf1dc06b22f5540558a140fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8794993364024636613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963803443,"filename":"image_05122025_20_41_04_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/5/752608c1d212c85c5e83323f61c1f22c.jpg","text":"TemporaryFile(/tmp/multipartBody259484425713698611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963803443,"filename":"image_05122025_20_41_45_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126757","file1":"1398126753","file0":"1398126751","file3":"1398126760"},"map_files_photo_id_array":[{"photo_id":"1398126757","filename":"file2"},{"photo_id":"1398126753","filename":"file1"},{"photo_id":"1398126751","filename":"file0"},{"photo_id":"1398126760","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126757":["hashtag1","hashtag2"]},{"1398126751":["hashtag1","hashtag2"]},{"1398126753":["hashtag1","hashtag2"]},{"1398126760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126757, 1398126751, 1398126753, 1398126760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.160087823867798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:43:02.527661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/04/image_03122025_02_04_14_9832.jpg', '/home/pi/Desktop/images/03122025/02/05/image_03122025_02_05_55_10804.jpg', '/home/pi/Desktop/images/03122025/02/07/image_03122025_02_08_04_9727.jpg', '/home/pi/Desktop/images/03122025/02/09/image_03122025_02_09_44_9718.jpg', '/home/pi/Desktop/images/03122025/02/10/image_03122025_02_10_25_10849.jpg', '/home/pi/Desktop/images/03122025/02/14/image_03122025_02_14_04_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/04/image_03122025_02_04_14_9832.jpg
/home/pi/Desktop/images/03122025/02/05/image_03122025_02_05_55_10804.jpg
/home/pi/Desktop/images/03122025/02/07/image_03122025_02_08_04_9727.jpg
/home/pi/Desktop/images/03122025/02/09/image_03122025_02_09_44_9718.jpg
/home/pi/Desktop/images/03122025/02/10/image_03122025_02_10_25_10849.jpg
/home/pi/Desktop/images/03122025/02/14/image_03122025_02_14_04_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126772","1398126765","1398126768","1398126770","1398126767","1398126769"],"photo_ids_order":["1398126765","1398126767","1398126768","1398126769","1398126770","1398126772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/397ee586980fea5d5bb2b8ea561c4998.jpg","text":"TemporaryFile(/tmp/multipartBody2086919697716659197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963844534,"filename":"image_03122025_02_14_04_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/5/c41ff645ae63f1a01eca46b96fde294f.jpg","text":"TemporaryFile(/tmp/multipartBody7792874614988738817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963844534,"filename":"image_03122025_02_04_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/5/6d5a59372a4a708f28d31bc2d2132451.jpg","text":"TemporaryFile(/tmp/multipartBody1545194756040756002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963844534,"filename":"image_03122025_02_08_04_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/5/783a33c2aefa4fbdee1c86b69b6ac618.jpg","text":"TemporaryFile(/tmp/multipartBody1044688344077695671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963844534,"filename":"image_03122025_02_10_25_10849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/030d8b47e21a9e9b90abca967dc56a90.jpg","text":"TemporaryFile(/tmp/multipartBody920735243176742046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963844534,"filename":"image_03122025_02_05_55_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/5/8ac82e32b2bcacdf6764f55b1928bb2b.jpg","text":"TemporaryFile(/tmp/multipartBody8238634885108048287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963844534,"filename":"image_03122025_02_09_44_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126768","file1":"1398126767","file0":"1398126765","file4":"1398126770","file5":"1398126772","file3":"1398126769"},"map_files_photo_id_array":[{"photo_id":"1398126772","filename":"file5"},{"photo_id":"1398126768","filename":"file2"},{"photo_id":"1398126770","filename":"file4"},{"photo_id":"1398126767","filename":"file1"},{"photo_id":"1398126765","filename":"file0"},{"photo_id":"1398126769","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126772":["hashtag1","hashtag2"]},{"1398126765":["hashtag1","hashtag2"]},{"1398126768":["hashtag1","hashtag2"]},{"1398126770":["hashtag1","hashtag2"]},{"1398126767":["hashtag1","hashtag2"]},{"1398126769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126772, 1398126765, 1398126768, 1398126770, 1398126767, 1398126769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.952014207839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:43:41.892061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_26_3662.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_29_2617.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_32_3618.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_35_2690.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_38_2651.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_40_2924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_26_3662.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_29_2617.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_32_3618.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_35_2690.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_38_2651.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_40_2924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126784","1398126783","1398126780","1398126777","1398126782","1398126781"],"photo_ids_order":["1398126777","1398126780","1398126781","1398126782","1398126783","1398126784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5562db35fed4493b0431d49d4c6f89ef.jpg","text":"TemporaryFile(/tmp/multipartBody536950464564281677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963883466,"filename":"image_31102025_20_32_40_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/5/190bd8a591a04b337f0951fd1cd48ed7.jpg","text":"TemporaryFile(/tmp/multipartBody397181599155713954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963883466,"filename":"image_31102025_20_32_38_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/5/1d2b40b7695eda6a8510b98293d22b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3134796044822240785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963883466,"filename":"image_31102025_20_32_29_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e33635510b98abfaa99110a253ca2fac.jpg","text":"TemporaryFile(/tmp/multipartBody4912202129777572372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963883466,"filename":"image_31102025_20_32_26_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dd0cdcb41c2de89de7c2d9b51be96b45.jpg","text":"TemporaryFile(/tmp/multipartBody7120842655166717496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963883466,"filename":"image_31102025_20_32_35_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/570432e3bf9d62897a7a5c40cd9d04f2.jpg","text":"TemporaryFile(/tmp/multipartBody5028419668493731446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963883466,"filename":"image_31102025_20_32_32_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126781","file1":"1398126780","file0":"1398126777","file4":"1398126783","file5":"1398126784","file3":"1398126782"},"map_files_photo_id_array":[{"photo_id":"1398126784","filename":"file5"},{"photo_id":"1398126781","filename":"file2"},{"photo_id":"1398126783","filename":"file4"},{"photo_id":"1398126780","filename":"file1"},{"photo_id":"1398126777","filename":"file0"},{"photo_id":"1398126782","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126784":["hashtag1","hashtag2"]},{"1398126783":["hashtag1","hashtag2"]},{"1398126780":["hashtag1","hashtag2"]},{"1398126777":["hashtag1","hashtag2"]},{"1398126782":["hashtag1","hashtag2"]},{"1398126781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126784, 1398126783, 1398126780, 1398126777, 1398126782, 1398126781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.428847789764404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:44:22.296862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/42/image_05122025_20_42_34_9695.jpg', '/home/pi/Desktop/images/05122025/20/43/image_05122025_20_43_14_9708.jpg', '/home/pi/Desktop/images/05122025/20/43/image_05122025_20_43_35_10711.jpg', '/home/pi/Desktop/images/05122025/20/43/image_05122025_20_44_04_9745.jpg', '/home/pi/Desktop/images/05122025/20/44/image_05122025_20_44_24_9916.jpg', '/home/pi/Desktop/images/05122025/20/44/image_05122025_20_44_44_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/42/image_05122025_20_42_34_9695.jpg
/home/pi/Desktop/images/05122025/20/43/image_05122025_20_43_14_9708.jpg
/home/pi/Desktop/images/05122025/20/43/image_05122025_20_43_35_10711.jpg
/home/pi/Desktop/images/05122025/20/43/image_05122025_20_44_04_9745.jpg
/home/pi/Desktop/images/05122025/20/44/image_05122025_20_44_24_9916.jpg
/home/pi/Desktop/images/05122025/20/44/image_05122025_20_44_44_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126789","1398126797","1398126801","1398126791","1398126785","1398126787"],"photo_ids_order":["1398126785","1398126787","1398126789","1398126791","1398126797","1398126801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/21f32c14252f28a8df7c6d1cc0661c72.jpg","text":"TemporaryFile(/tmp/multipartBody681381728506400548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963923007,"filename":"image_05122025_20_43_35_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/5/af42a1f65755055e5fa0c3ee7e869b2d.jpg","text":"TemporaryFile(/tmp/multipartBody4860788322055123264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963923007,"filename":"image_05122025_20_44_24_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c60f38e8431f300d25d714e85e895b0e.jpg","text":"TemporaryFile(/tmp/multipartBody3359221112145116614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963923007,"filename":"image_05122025_20_44_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/5/d83a919014149aa0d1127b68bd8704a1.jpg","text":"TemporaryFile(/tmp/multipartBody3692481525947061290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963923007,"filename":"image_05122025_20_44_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/5/ecb86455f6b280f396f8462175630f8a.jpg","text":"TemporaryFile(/tmp/multipartBody942720320081925890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963923007,"filename":"image_05122025_20_42_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/5/d3eb679c427729ddcf82608e01905d3a.jpg","text":"TemporaryFile(/tmp/multipartBody171079264448547582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963923007,"filename":"image_05122025_20_43_14_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126789","file1":"1398126787","file0":"1398126785","file4":"1398126797","file5":"1398126801","file3":"1398126791"},"map_files_photo_id_array":[{"photo_id":"1398126801","filename":"file5"},{"photo_id":"1398126789","filename":"file2"},{"photo_id":"1398126797","filename":"file4"},{"photo_id":"1398126787","filename":"file1"},{"photo_id":"1398126785","filename":"file0"},{"photo_id":"1398126791","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126789":["hashtag1","hashtag2"]},{"1398126797":["hashtag1","hashtag2"]},{"1398126801":["hashtag1","hashtag2"]},{"1398126791":["hashtag1","hashtag2"]},{"1398126785":["hashtag1","hashtag2"]},{"1398126787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126789, 1398126797, 1398126801, 1398126791, 1398126785, 1398126787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.766154766082764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:45:03.118604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/15/image_03122025_02_15_24_9702.jpg', '/home/pi/Desktop/images/03122025/02/16/image_03122025_02_16_15_10656.jpg', '/home/pi/Desktop/images/03122025/02/17/image_03122025_02_17_24_10617.jpg', '/home/pi/Desktop/images/03122025/02/17/image_03122025_02_17_44_9737.jpg', '/home/pi/Desktop/images/03122025/02/18/image_03122025_02_18_24_9623.jpg', '/home/pi/Desktop/images/03122025/02/18/image_03122025_02_18_54_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/15/image_03122025_02_15_24_9702.jpg
/home/pi/Desktop/images/03122025/02/16/image_03122025_02_16_15_10656.jpg
/home/pi/Desktop/images/03122025/02/17/image_03122025_02_17_24_10617.jpg
/home/pi/Desktop/images/03122025/02/17/image_03122025_02_17_44_9737.jpg
/home/pi/Desktop/images/03122025/02/18/image_03122025_02_18_24_9623.jpg
/home/pi/Desktop/images/03122025/02/18/image_03122025_02_18_54_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":["1398126814","1398126816","1398126810","1398126813","1398126815","1398126818"],"photo_ids_order":["1398126810","1398126813","1398126814","1398126815","1398126816","1398126818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/452cef21618f80a1cb075a259f19e992.jpg","text":"TemporaryFile(/tmp/multipartBody1409294908634056734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963965020,"filename":"image_03122025_02_17_24_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/5/518cebc069b74e70f93eb76bc0899d96.jpg","text":"TemporaryFile(/tmp/multipartBody1404236850116552420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963965020,"filename":"image_03122025_02_18_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/5/66c31794ac426e131e76467b9c408977.jpg","text":"TemporaryFile(/tmp/multipartBody1742114715158817045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963965020,"filename":"image_03122025_02_15_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/5/f56508193a9fc3c37dca668d493c57ff.jpg","text":"TemporaryFile(/tmp/multipartBody3742096396524944608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963965020,"filename":"image_03122025_02_16_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/5/96ad8dc7f32228fd4597cb94cbec382b.jpg","text":"TemporaryFile(/tmp/multipartBody6064772317084729865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963965020,"filename":"image_03122025_02_17_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/5/7650ff6b51c5554ec2aa4bc52133f0fb.jpg","text":"TemporaryFile(/tmp/multipartBody5681737780385408451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764963965020,"filename":"image_03122025_02_18_54_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126814","file1":"1398126813","file0":"1398126810","file4":"1398126816","file5":"1398126818","file3":"1398126815"},"map_files_photo_id_array":[{"photo_id":"1398126818","filename":"file5"},{"photo_id":"1398126814","filename":"file2"},{"photo_id":"1398126816","filename":"file4"},{"photo_id":"1398126813","filename":"file1"},{"photo_id":"1398126810","filename":"file0"},{"photo_id":"1398126815","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126814":["hashtag1","hashtag2"]},{"1398126816":["hashtag1","hashtag2"]},{"1398126810":["hashtag1","hashtag2"]},{"1398126813":["hashtag1","hashtag2"]},{"1398126815":["hashtag1","hashtag2"]},{"1398126818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126814, 1398126816, 1398126810, 1398126813, 1398126815, 1398126818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12493395805359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:45:42.510941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_44_3510.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_47_2631.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_49_2839.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_53_3590.jpg', '/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_58_2585.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_02_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_44_3510.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_47_2631.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_49_2839.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_53_3590.jpg
/home/pi/Desktop/images/31102025/20/32/image_31102025_20_32_58_2585.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_02_3648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126826","1398126829","1398126828","1398126830","1398126827","1398126824"],"photo_ids_order":["1398126824","1398126826","1398126827","1398126828","1398126829","1398126830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51c98c47a10a187800f6d694e97d5b4b.jpg","text":"TemporaryFile(/tmp/multipartBody3640103492392370541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964004096,"filename":"image_31102025_20_32_47_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/63975a6af7c3fc9dc12c11f9e26ca653.jpg","text":"TemporaryFile(/tmp/multipartBody5863598261893068509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964004096,"filename":"image_31102025_20_32_58_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/5/07a198e4b88df14e9e08f345e4eb2e05.jpg","text":"TemporaryFile(/tmp/multipartBody1353461584410736564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964004096,"filename":"image_31102025_20_32_53_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b143dc1cf9687c189cfd448e987e1d4.jpg","text":"TemporaryFile(/tmp/multipartBody6472666782459140470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964004096,"filename":"image_31102025_20_33_02_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/5/023894a0aa7b76210ee360098746535d.jpg","text":"TemporaryFile(/tmp/multipartBody7019014485215976606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964004096,"filename":"image_31102025_20_32_49_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/5/e0c2fc3930bb398802e86c49516d39ec.jpg","text":"TemporaryFile(/tmp/multipartBody7810517662497238539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964004096,"filename":"image_31102025_20_32_44_3510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126827","file1":"1398126826","file0":"1398126824","file4":"1398126829","file5":"1398126830","file3":"1398126828"},"map_files_photo_id_array":[{"photo_id":"1398126830","filename":"file5"},{"photo_id":"1398126827","filename":"file2"},{"photo_id":"1398126829","filename":"file4"},{"photo_id":"1398126826","filename":"file1"},{"photo_id":"1398126824","filename":"file0"},{"photo_id":"1398126828","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126826":["hashtag1","hashtag2"]},{"1398126829":["hashtag1","hashtag2"]},{"1398126828":["hashtag1","hashtag2"]},{"1398126830":["hashtag1","hashtag2"]},{"1398126827":["hashtag1","hashtag2"]},{"1398126824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126826, 1398126829, 1398126828, 1398126830, 1398126827, 1398126824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3257794380188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:46:22.742609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/44/image_05122025_20_44_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/44/image_05122025_20_44_55_10674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126831"],"photo_id":"1398126831","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08fad0283c656ca60e3705b2d5821bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3022992556109759081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964043231,"filename":"image_05122025_20_44_55_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398126831"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398126831"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.979962587356567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:46:42.703960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_07_2722.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_11_3824.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_16_2581.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_22_2676.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_29_2599.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_31_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_07_2722.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_11_3824.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_16_2581.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_22_2676.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_29_2599.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_31_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":["1398126844","1398126838","1398126870","1398126864","1398126854","1398126842"],"photo_ids_order":["1398126838","1398126842","1398126844","1398126854","1398126864","1398126870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ce19c58c1f624da72db666d41f1713d.jpg","text":"TemporaryFile(/tmp/multipartBody8279955010799609715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964064323,"filename":"image_31102025_20_33_16_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/5/bd92224453f6993ff082a83403fd5f45.jpg","text":"TemporaryFile(/tmp/multipartBody2976972780696886648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964064323,"filename":"image_31102025_20_33_07_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/5/d964a60dfe43ba5cbe9b4d30e9a62423.jpg","text":"TemporaryFile(/tmp/multipartBody514984144086552214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964064323,"filename":"image_31102025_20_33_31_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/5/75b1f0e3dc8af4835f68f46fc8664e56.jpg","text":"TemporaryFile(/tmp/multipartBody272994056982315989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964064323,"filename":"image_31102025_20_33_29_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/5/3244d585de7780b35d16dd30b47458b6.jpg","text":"TemporaryFile(/tmp/multipartBody8437843035085838860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964064323,"filename":"image_31102025_20_33_22_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/5/54326fc32f474e343bcfc8cb234cb472.jpg","text":"TemporaryFile(/tmp/multipartBody8265166767769638931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964064323,"filename":"image_31102025_20_33_11_3824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126844","file1":"1398126842","file0":"1398126838","file4":"1398126864","file5":"1398126870","file3":"1398126854"},"map_files_photo_id_array":[{"photo_id":"1398126870","filename":"file5"},{"photo_id":"1398126844","filename":"file2"},{"photo_id":"1398126864","filename":"file4"},{"photo_id":"1398126842","filename":"file1"},{"photo_id":"1398126838","filename":"file0"},{"photo_id":"1398126854","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126844":["hashtag1","hashtag2"]},{"1398126838":["hashtag1","hashtag2"]},{"1398126870":["hashtag1","hashtag2"]},{"1398126864":["hashtag1","hashtag2"]},{"1398126854":["hashtag1","hashtag2"]},{"1398126842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126844, 1398126838, 1398126870, 1398126864, 1398126854, 1398126842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68064308166504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:47:21.871782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/46/image_05122025_20_46_15_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/46/image_05122025_20_46_15_10722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126888"],"photo_id":"1398126888","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5135e98e1d523d9bfee38809dea2dc1e.jpg","text":"TemporaryFile(/tmp/multipartBody8419312152036946838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964102365,"filename":"image_05122025_20_46_15_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398126888"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398126888"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.905288457870483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:47:42.010827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_35_3610.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_38_2743.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_40_2569.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_44_3616.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_46_2551.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_49_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_35_3610.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_38_2743.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_40_2569.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_44_3616.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_46_2551.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_49_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":["1398126897","1398126901","1398126894","1398126896","1398126899","1398126898"],"photo_ids_order":["1398126894","1398126896","1398126897","1398126898","1398126899","1398126901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/47ad03691f6965c2c3132cb16dfbcb2e.jpg","text":"TemporaryFile(/tmp/multipartBody7556898470637828206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964123583,"filename":"image_31102025_20_33_40_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9a57692d003c610ba2695016aa938b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6006468218670209985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964123583,"filename":"image_31102025_20_33_49_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/5/ec6b3ddda377282dc9c5ef9e60c78b2c.jpg","text":"TemporaryFile(/tmp/multipartBody4444405219751378912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964123583,"filename":"image_31102025_20_33_35_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/31b74f8eb74ff0ba6eafeb0225ad18b7.jpg","text":"TemporaryFile(/tmp/multipartBody9151413945029926603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964123583,"filename":"image_31102025_20_33_38_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/5/a7a5abe9b670041f76fd2b6886363459.jpg","text":"TemporaryFile(/tmp/multipartBody775378415503603839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964123583,"filename":"image_31102025_20_33_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/5/519c6b2c0201481beb6b044f8fc7ce7f.jpg","text":"TemporaryFile(/tmp/multipartBody3927691217939450801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964123583,"filename":"image_31102025_20_33_44_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126897","file1":"1398126896","file0":"1398126894","file4":"1398126899","file5":"1398126901","file3":"1398126898"},"map_files_photo_id_array":[{"photo_id":"1398126901","filename":"file5"},{"photo_id":"1398126897","filename":"file2"},{"photo_id":"1398126899","filename":"file4"},{"photo_id":"1398126896","filename":"file1"},{"photo_id":"1398126894","filename":"file0"},{"photo_id":"1398126898","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126897":["hashtag1","hashtag2"]},{"1398126901":["hashtag1","hashtag2"]},{"1398126894":["hashtag1","hashtag2"]},{"1398126896":["hashtag1","hashtag2"]},{"1398126899":["hashtag1","hashtag2"]},{"1398126898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126897, 1398126901, 1398126894, 1398126896, 1398126899, 1398126898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79295039176941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:48:24.759256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/47/image_05122025_20_47_45_10608.jpg', '/home/pi/Desktop/images/05122025/20/47/image_05122025_20_48_04_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/47/image_05122025_20_47_45_10608.jpg
/home/pi/Desktop/images/05122025/20/47/image_05122025_20_48_04_9738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126903","1398126905"],"photo_ids_order":["1398126903","1398126905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f9058ba14b372aefd9fc4aa446f7a19b.jpg","text":"TemporaryFile(/tmp/multipartBody6152137323511201353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964165336,"filename":"image_05122025_20_47_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8f64da8fe1bc892cdea54bf25b7ebf65.jpg","text":"TemporaryFile(/tmp/multipartBody5692019348740385858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964165336,"filename":"image_05122025_20_48_04_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398126905","file0":"1398126903"},"map_files_photo_id_array":[{"photo_id":"1398126905","filename":"file1"},{"photo_id":"1398126903","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126903":["hashtag1","hashtag2"]},{"1398126905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126903, 1398126905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.7084002494812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:48:44.725657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_53_3539.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_55_2623.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_59_3709.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_02_2617.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_04_2748.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_08_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_53_3539.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_55_2623.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_59_3709.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_02_2617.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_04_2748.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_08_3579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.468463659286499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:49:02.887125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/18/image_03122025_02_19_05_10636.jpg', '/home/pi/Desktop/images/03122025/02/21/image_03122025_02_21_14_9824.jpg', '/home/pi/Desktop/images/03122025/02/21/image_03122025_02_21_24_9748.jpg', '/home/pi/Desktop/images/03122025/02/22/image_03122025_02_22_14_9800.jpg', '/home/pi/Desktop/images/03122025/02/25/image_03122025_02_25_44_9329.jpg', '/home/pi/Desktop/images/03122025/02/25/image_03122025_02_25_55_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/18/image_03122025_02_19_05_10636.jpg
/home/pi/Desktop/images/03122025/02/21/image_03122025_02_21_14_9824.jpg
/home/pi/Desktop/images/03122025/02/21/image_03122025_02_21_24_9748.jpg
/home/pi/Desktop/images/03122025/02/22/image_03122025_02_22_14_9800.jpg
/home/pi/Desktop/images/03122025/02/25/image_03122025_02_25_44_9329.jpg
/home/pi/Desktop/images/03122025/02/25/image_03122025_02_25_55_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126934","1398126937","1398126931","1398126933","1398126939","1398126935"],"photo_ids_order":["1398126931","1398126933","1398126934","1398126935","1398126937","1398126939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fff54cf5b974f5eab566d83b93ab06a3.jpg","text":"TemporaryFile(/tmp/multipartBody4307912933900665715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964205017,"filename":"image_03122025_02_21_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/5/d6c0abcbf69b13cf5fe6e65691cef721.jpg","text":"TemporaryFile(/tmp/multipartBody8726232700189205989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964205017,"filename":"image_03122025_02_25_44_9329.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d6f28de93ebc553c9d794dedee97e006.jpg","text":"TemporaryFile(/tmp/multipartBody6065407781448933804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964205017,"filename":"image_03122025_02_19_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/5/321d6957e05f8eb6e7d0f1bafdfeb6a2.jpg","text":"TemporaryFile(/tmp/multipartBody1047861499631997155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964205017,"filename":"image_03122025_02_21_14_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2bf11e49c4a1c6cc52d5f85ecb74645.jpg","text":"TemporaryFile(/tmp/multipartBody605618252666284275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964205017,"filename":"image_03122025_02_25_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/5/74d031400947a999bdf92ef14fa721c8.jpg","text":"TemporaryFile(/tmp/multipartBody688975630402256901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964205017,"filename":"image_03122025_02_22_14_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126934","file1":"1398126933","file0":"1398126931","file4":"1398126937","file5":"1398126939","file3":"1398126935"},"map_files_photo_id_array":[{"photo_id":"1398126939","filename":"file5"},{"photo_id":"1398126934","filename":"file2"},{"photo_id":"1398126937","filename":"file4"},{"photo_id":"1398126933","filename":"file1"},{"photo_id":"1398126931","filename":"file0"},{"photo_id":"1398126935","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398126934":["hashtag1","hashtag2"]},{"1398126937":["hashtag1","hashtag2"]},{"1398126931":["hashtag1","hashtag2"]},{"1398126933":["hashtag1","hashtag2"]},{"1398126939":["hashtag1","hashtag2"]},{"1398126935":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398126934, 1398126937, 1398126931, 1398126933, 1398126939, 1398126935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.068432092666626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:49:41.930910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_53_3539.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_55_2623.jpg', '/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_59_3709.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_02_2617.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_04_2748.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_08_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_53_3539.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_55_2623.jpg
/home/pi/Desktop/images/31102025/20/33/image_31102025_20_33_59_3709.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_02_2617.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_04_2748.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_08_3579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126949","1398126946","1398126948","1398126950","1398126944","1398126947"],"photo_ids_order":["1398126944","1398126946","1398126947","1398126948","1398126949","1398126950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/917c6eb012b1e357553393028fe3ff86.jpg","text":"TemporaryFile(/tmp/multipartBody1000118976890211960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964243429,"filename":"image_31102025_20_34_04_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/5/bef8c54383ac09453712c30cf2a3fecd.jpg","text":"TemporaryFile(/tmp/multipartBody3789043072237129865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964243429,"filename":"image_31102025_20_33_55_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/5/8cce8a8afc17eb6100bf22c3551aa162.jpg","text":"TemporaryFile(/tmp/multipartBody7519193811118036253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964243429,"filename":"image_31102025_20_34_02_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c6dacb47fa1cbfb360cc8631af57aa48.jpg","text":"TemporaryFile(/tmp/multipartBody8885982291957317461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964243429,"filename":"image_31102025_20_34_08_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f8f23e20b7eb223b1abbbed2d18827c1.jpg","text":"TemporaryFile(/tmp/multipartBody7690355915497967131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964243429,"filename":"image_31102025_20_33_53_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/5/e2c60e23fc905ca5171ff4f483971f78.jpg","text":"TemporaryFile(/tmp/multipartBody1196244843970146606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964243429,"filename":"image_31102025_20_33_59_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126947","file1":"1398126946","file0":"1398126944","file4":"1398126949","file5":"1398126950","file3":"1398126948"},"map_files_photo_id_array":[{"photo_id":"1398126950","filename":"file5"},{"photo_id":"1398126947","filename":"file2"},{"photo_id":"1398126949","filename":"file4"},{"photo_id":"1398126946","filename":"file1"},{"photo_id":"1398126944","filename":"file0"},{"photo_id":"1398126948","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126949":["hashtag1","hashtag2"]},{"1398126946":["hashtag1","hashtag2"]},{"1398126948":["hashtag1","hashtag2"]},{"1398126950":["hashtag1","hashtag2"]},{"1398126944":["hashtag1","hashtag2"]},{"1398126947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126949, 1398126946, 1398126948, 1398126950, 1398126944, 1398126947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88787007331848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:50:22.089322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/48/image_05122025_20_48_14_9833.jpg', '/home/pi/Desktop/images/05122025/20/48/image_05122025_20_49_04_9749.jpg', '/home/pi/Desktop/images/05122025/20/49/image_05122025_20_49_14_10592.jpg', '/home/pi/Desktop/images/05122025/20/49/image_05122025_20_49_24_9816.jpg', '/home/pi/Desktop/images/05122025/20/49/image_05122025_20_49_34_9569.jpg', '/home/pi/Desktop/images/05122025/20/49/image_05122025_20_49_44_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/48/image_05122025_20_48_14_9833.jpg
/home/pi/Desktop/images/05122025/20/48/image_05122025_20_49_04_9749.jpg
/home/pi/Desktop/images/05122025/20/49/image_05122025_20_49_14_10592.jpg
/home/pi/Desktop/images/05122025/20/49/image_05122025_20_49_24_9816.jpg
/home/pi/Desktop/images/05122025/20/49/image_05122025_20_49_34_9569.jpg
/home/pi/Desktop/images/05122025/20/49/image_05122025_20_49_44_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":["1398126958","1398126960","1398126962","1398126956","1398126965","1398126952"],"photo_ids_order":["1398126952","1398126956","1398126958","1398126960","1398126962","1398126965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7de44bb7ad8aa4abce1ccfcf19352624.jpg","text":"TemporaryFile(/tmp/multipartBody6075987752634069956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964282808,"filename":"image_05122025_20_49_14_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/18677407107649b57d8e3a5356b98075.jpg","text":"TemporaryFile(/tmp/multipartBody4849769499298311037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964282808,"filename":"image_05122025_20_49_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/5/05ee31cb46913b048ebd6efc50bfce06.jpg","text":"TemporaryFile(/tmp/multipartBody2423702412486718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964282808,"filename":"image_05122025_20_49_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ded6c4e6fe7e0c04f5edb04ef8dddf47.jpg","text":"TemporaryFile(/tmp/multipartBody3058370587983492797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964282808,"filename":"image_05122025_20_49_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/5/9bff17cef96bdee4754d7fe714a5e913.jpg","text":"TemporaryFile(/tmp/multipartBody7070147147043833533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964282808,"filename":"image_05122025_20_49_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/5/f07309f4b5eb8bc4e518cd704f7757a4.jpg","text":"TemporaryFile(/tmp/multipartBody1025431286371937382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964282808,"filename":"image_05122025_20_48_14_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126958","file1":"1398126956","file0":"1398126952","file4":"1398126962","file5":"1398126965","file3":"1398126960"},"map_files_photo_id_array":[{"photo_id":"1398126965","filename":"file5"},{"photo_id":"1398126958","filename":"file2"},{"photo_id":"1398126962","filename":"file4"},{"photo_id":"1398126956","filename":"file1"},{"photo_id":"1398126952","filename":"file0"},{"photo_id":"1398126960","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126958":["hashtag1","hashtag2"]},{"1398126960":["hashtag1","hashtag2"]},{"1398126962":["hashtag1","hashtag2"]},{"1398126956":["hashtag1","hashtag2"]},{"1398126965":["hashtag1","hashtag2"]},{"1398126952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126958, 1398126960, 1398126962, 1398126956, 1398126965, 1398126952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24178147315979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:51:03.060202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/50/image_05122025_20_50_34_9852.jpg', '/home/pi/Desktop/images/05122025/20/50/image_05122025_20_50_44_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/50/image_05122025_20_50_34_9852.jpg
/home/pi/Desktop/images/05122025/20/50/image_05122025_20_50_44_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126968","1398126967"],"photo_ids_order":["1398126967","1398126968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/818b91257cfc3c794bd2d37cc5cd4b7d.jpg","text":"TemporaryFile(/tmp/multipartBody738802693361698693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964323628,"filename":"image_05122025_20_50_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/5/5e9a5065d73773f87f04365cc7b16c90.jpg","text":"TemporaryFile(/tmp/multipartBody6075356847479435910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964323628,"filename":"image_05122025_20_50_34_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398126968","file0":"1398126967"},"map_files_photo_id_array":[{"photo_id":"1398126968","filename":"file1"},{"photo_id":"1398126967","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126968":["hashtag1","hashtag2"]},{"1398126967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126968, 1398126967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.646937370300293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:51:22.361634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/50/image_05122025_20_50_54_9895.jpg', '/home/pi/Desktop/images/05122025/20/51/image_05122025_20_51_24_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/50/image_05122025_20_50_54_9895.jpg
/home/pi/Desktop/images/05122025/20/51/image_05122025_20_51_24_9652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126972","1398126970"],"photo_ids_order":["1398126970","1398126972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9446e764703a132a5f5e003da9302e64.jpg","text":"TemporaryFile(/tmp/multipartBody6402174699891537090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964342914,"filename":"image_05122025_20_51_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9366711ee4a706d3aa79556375112f7f.jpg","text":"TemporaryFile(/tmp/multipartBody2899569659978824885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964342914,"filename":"image_05122025_20_50_54_9895.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398126972","file0":"1398126970"},"map_files_photo_id_array":[{"photo_id":"1398126972","filename":"file1"},{"photo_id":"1398126970","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398126972":["hashtag1","hashtag2"]},{"1398126970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398126972, 1398126970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.373037338256836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:51:42.353377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_11_2550.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_13_2616.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_17_3648.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_19_2564.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_22_2677.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_26_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_11_2550.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_13_2616.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_17_3648.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_19_2564.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_22_2677.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_26_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":["1398126982","1398126981","1398126980","1398126983","1398126977","1398126979"],"photo_ids_order":["1398126977","1398126979","1398126980","1398126981","1398126982","1398126983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/52facdfc5f2d2ca0b5f3b942d3bbb427.jpg","text":"TemporaryFile(/tmp/multipartBody6529080430738162050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964363957,"filename":"image_31102025_20_34_22_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fb38ab386b666ca8ccab35545085d065.jpg","text":"TemporaryFile(/tmp/multipartBody4315771572790203244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964363957,"filename":"image_31102025_20_34_19_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/625ce900fa1a4153a78dfd8c79beb071.jpg","text":"TemporaryFile(/tmp/multipartBody8775273656463140071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964363957,"filename":"image_31102025_20_34_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/5/4f11d59060d2b2a3f0c957ebb3bdec25.jpg","text":"TemporaryFile(/tmp/multipartBody5746590068966817692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964363957,"filename":"image_31102025_20_34_26_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/5/6ffebe83441ababc6bb974f50f7a0770.jpg","text":"TemporaryFile(/tmp/multipartBody6099340164082348258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964363957,"filename":"image_31102025_20_34_11_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/5/978f580aa4848457c687bf725ee6ac63.jpg","text":"TemporaryFile(/tmp/multipartBody6226029926584024725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964363957,"filename":"image_31102025_20_34_13_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126980","file1":"1398126979","file0":"1398126977","file4":"1398126982","file5":"1398126983","file3":"1398126981"},"map_files_photo_id_array":[{"photo_id":"1398126983","filename":"file5"},{"photo_id":"1398126980","filename":"file2"},{"photo_id":"1398126982","filename":"file4"},{"photo_id":"1398126979","filename":"file1"},{"photo_id":"1398126977","filename":"file0"},{"photo_id":"1398126981","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126982":["hashtag1","hashtag2"]},{"1398126981":["hashtag1","hashtag2"]},{"1398126980":["hashtag1","hashtag2"]},{"1398126983":["hashtag1","hashtag2"]},{"1398126977":["hashtag1","hashtag2"]},{"1398126979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126982, 1398126981, 1398126980, 1398126983, 1398126977, 1398126979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73073720932007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:52:22.565245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/51/image_05122025_20_51_54_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/51/image_05122025_20_51_54_9673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398126986"],"photo_id":"1398126986","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/56ae7b296d74c051123297efff6efc63.jpg","text":"TemporaryFile(/tmp/multipartBody7889346307042614404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964403056,"filename":"image_05122025_20_51_54_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398126986"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398126986"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.169749021530151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:52:42.528184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_28_2706.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_31_2662.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_35_3792.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_40_2562.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_44_3682.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_46_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_28_2706.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_31_2662.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_35_3792.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_40_2562.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_44_3682.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_46_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":["1398126996","1398126999","1398126993","1398126995","1398126998","1398126997"],"photo_ids_order":["1398126993","1398126995","1398126996","1398126997","1398126998","1398126999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/73c8e8d89ff89d02d2e996ede1c2233d.jpg","text":"TemporaryFile(/tmp/multipartBody5291050100211339971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964424119,"filename":"image_31102025_20_34_35_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/5/cff1308ca94660c9edfb961363169e58.jpg","text":"TemporaryFile(/tmp/multipartBody8103202290027096477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964424119,"filename":"image_31102025_20_34_46_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/5/619fd0ea777bf615ff7c67defb3c7291.jpg","text":"TemporaryFile(/tmp/multipartBody8882205586533895176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964424119,"filename":"image_31102025_20_34_28_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a5b7c943ab16f8d0a3b9f8f94d95ee33.jpg","text":"TemporaryFile(/tmp/multipartBody5454960690258063808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964424119,"filename":"image_31102025_20_34_31_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/5/d4158682024276d258b7525590e8bf9b.jpg","text":"TemporaryFile(/tmp/multipartBody7413349769747309743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964424119,"filename":"image_31102025_20_34_44_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/5/d161328c4a969c6b4c88bdf638073e2a.jpg","text":"TemporaryFile(/tmp/multipartBody3212046336566318193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964424119,"filename":"image_31102025_20_34_40_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398126996","file1":"1398126995","file0":"1398126993","file4":"1398126998","file5":"1398126999","file3":"1398126997"},"map_files_photo_id_array":[{"photo_id":"1398126999","filename":"file5"},{"photo_id":"1398126996","filename":"file2"},{"photo_id":"1398126998","filename":"file4"},{"photo_id":"1398126995","filename":"file1"},{"photo_id":"1398126993","filename":"file0"},{"photo_id":"1398126997","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398126996":["hashtag1","hashtag2"]},{"1398126999":["hashtag1","hashtag2"]},{"1398126993":["hashtag1","hashtag2"]},{"1398126995":["hashtag1","hashtag2"]},{"1398126998":["hashtag1","hashtag2"]},{"1398126997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398126996, 1398126999, 1398126993, 1398126995, 1398126998, 1398126997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13368487358093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:53:22.652133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/51/image_05122025_20_52_05_10615.jpg', '/home/pi/Desktop/images/05122025/20/52/image_05122025_20_53_05_10583.jpg', '/home/pi/Desktop/images/05122025/20/53/image_05122025_20_53_24_9705.jpg', '/home/pi/Desktop/images/05122025/20/53/image_05122025_20_53_35_10671.jpg', '/home/pi/Desktop/images/05122025/20/53/image_05122025_20_53_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/51/image_05122025_20_52_05_10615.jpg
/home/pi/Desktop/images/05122025/20/52/image_05122025_20_53_05_10583.jpg
/home/pi/Desktop/images/05122025/20/53/image_05122025_20_53_24_9705.jpg
/home/pi/Desktop/images/05122025/20/53/image_05122025_20_53_35_10671.jpg
/home/pi/Desktop/images/05122025/20/53/image_05122025_20_53_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":["1398127006","1398127008","1398127002","1398127001","1398127004"],"photo_ids_order":["1398127001","1398127002","1398127004","1398127006","1398127008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9cd7ff15455586ef5066534044c6d7da.jpg","text":"TemporaryFile(/tmp/multipartBody5141004610264278425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964463389,"filename":"image_05122025_20_53_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8bbdc0c7e0a088340548eb65314b9afb.jpg","text":"TemporaryFile(/tmp/multipartBody8283197575775717707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964463389,"filename":"image_05122025_20_53_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/5/2574b24da645539a78a6bae9085c7d37.jpg","text":"TemporaryFile(/tmp/multipartBody1930405436028313228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964463389,"filename":"image_05122025_20_53_05_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2fa66b7cb0eb5015956ee8f2a55a05ff.jpg","text":"TemporaryFile(/tmp/multipartBody6609212204223123231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964463389,"filename":"image_05122025_20_52_05_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/5/236e191e91bc8a9119868f9373502faf.jpg","text":"TemporaryFile(/tmp/multipartBody4232429227818459207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964463389,"filename":"image_05122025_20_53_24_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398127004","file1":"1398127002","file0":"1398127001","file4":"1398127008","file3":"1398127006"},"map_files_photo_id_array":[{"photo_id":"1398127004","filename":"file2"},{"photo_id":"1398127008","filename":"file4"},{"photo_id":"1398127002","filename":"file1"},{"photo_id":"1398127001","filename":"file0"},{"photo_id":"1398127006","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398127006":["hashtag1","hashtag2"]},{"1398127008":["hashtag1","hashtag2"]},{"1398127002":["hashtag1","hashtag2"]},{"1398127001":["hashtag1","hashtag2"]},{"1398127004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398127006, 1398127008, 1398127002, 1398127001, 1398127004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.60725736618042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:54:02.483358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/26/image_03122025_02_26_14_9754.jpg', '/home/pi/Desktop/images/03122025/02/27/image_03122025_02_27_54_9968.jpg', '/home/pi/Desktop/images/03122025/02/29/image_03122025_02_29_24_10803.jpg', '/home/pi/Desktop/images/03122025/02/29/image_03122025_02_29_34_9887.jpg', '/home/pi/Desktop/images/03122025/02/29/image_03122025_02_29_54_9672.jpg', '/home/pi/Desktop/images/03122025/02/29/image_03122025_02_30_04_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/26/image_03122025_02_26_14_9754.jpg
/home/pi/Desktop/images/03122025/02/27/image_03122025_02_27_54_9968.jpg
/home/pi/Desktop/images/03122025/02/29/image_03122025_02_29_24_10803.jpg
/home/pi/Desktop/images/03122025/02/29/image_03122025_02_29_34_9887.jpg
/home/pi/Desktop/images/03122025/02/29/image_03122025_02_29_54_9672.jpg
/home/pi/Desktop/images/03122025/02/29/image_03122025_02_30_04_10692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398127012","1398127015","1398127014","1398127017","1398127019","1398127013"],"photo_ids_order":["1398127012","1398127013","1398127014","1398127015","1398127017","1398127019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/69c414a4b2ee628130df606c0abe21fd.jpg","text":"TemporaryFile(/tmp/multipartBody8311380146034409849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964504416,"filename":"image_03122025_02_26_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/5/ef9c6f0462ab7a204715c11b59c25fe8.jpg","text":"TemporaryFile(/tmp/multipartBody576182756499588065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964504416,"filename":"image_03122025_02_29_34_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/067ffa15008ad26617bfed9b32c9443c.jpg","text":"TemporaryFile(/tmp/multipartBody1538792278463587838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964504416,"filename":"image_03122025_02_29_24_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/5/da452a5253af4d09be98d7184367b794.jpg","text":"TemporaryFile(/tmp/multipartBody8037166801176624888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964504416,"filename":"image_03122025_02_29_54_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/985e773a4a5ee91e8b7f8efea5679fc6.jpg","text":"TemporaryFile(/tmp/multipartBody2874945408227309708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964504416,"filename":"image_03122025_02_30_04_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/5/60a25436c2efbbb71eba21dca4f0c080.jpg","text":"TemporaryFile(/tmp/multipartBody2319419552074804403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964504416,"filename":"image_03122025_02_27_54_9968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398127014","file1":"1398127013","file0":"1398127012","file4":"1398127017","file5":"1398127019","file3":"1398127015"},"map_files_photo_id_array":[{"photo_id":"1398127019","filename":"file5"},{"photo_id":"1398127014","filename":"file2"},{"photo_id":"1398127017","filename":"file4"},{"photo_id":"1398127013","filename":"file1"},{"photo_id":"1398127012","filename":"file0"},{"photo_id":"1398127015","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398127012":["hashtag1","hashtag2"]},{"1398127015":["hashtag1","hashtag2"]},{"1398127014":["hashtag1","hashtag2"]},{"1398127017":["hashtag1","hashtag2"]},{"1398127019":["hashtag1","hashtag2"]},{"1398127013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398127012, 1398127015, 1398127014, 1398127017, 1398127019, 1398127013)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.938289165496826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:55:02.811732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/53/image_05122025_20_53_54_9705.jpg', '/home/pi/Desktop/images/05122025/20/54/image_05122025_20_54_14_9300.jpg', '/home/pi/Desktop/images/05122025/20/54/image_05122025_20_54_34_9655.jpg', '/home/pi/Desktop/images/05122025/20/54/image_05122025_20_54_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/53/image_05122025_20_53_54_9705.jpg
/home/pi/Desktop/images/05122025/20/54/image_05122025_20_54_14_9300.jpg
/home/pi/Desktop/images/05122025/20/54/image_05122025_20_54_34_9655.jpg
/home/pi/Desktop/images/05122025/20/54/image_05122025_20_54_44_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398127030","1398127027","1398127029","1398127028"],"photo_ids_order":["1398127027","1398127028","1398127029","1398127030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b9aa1f2bc5245ed7f00b732befd58d5.jpg","text":"TemporaryFile(/tmp/multipartBody7171450860629536655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964563493,"filename":"image_05122025_20_54_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/5/08eee2b3f55c99d67218568a6fc5daf7.jpg","text":"TemporaryFile(/tmp/multipartBody2260974338463110314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964563493,"filename":"image_05122025_20_53_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/5/10a3cb857666112f075cd2b6e49f2d1c.jpg","text":"TemporaryFile(/tmp/multipartBody3010858075722842144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964563493,"filename":"image_05122025_20_54_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b6a819a68adb788e3fe50db40718d079.jpg","text":"TemporaryFile(/tmp/multipartBody921850121015711765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964563493,"filename":"image_05122025_20_54_14_9300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398127029","file1":"1398127028","file0":"1398127027","file3":"1398127030"},"map_files_photo_id_array":[{"photo_id":"1398127029","filename":"file2"},{"photo_id":"1398127028","filename":"file1"},{"photo_id":"1398127027","filename":"file0"},{"photo_id":"1398127030","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398127030":["hashtag1","hashtag2"]},{"1398127027":["hashtag1","hashtag2"]},{"1398127029":["hashtag1","hashtag2"]},{"1398127028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398127030, 1398127027, 1398127029, 1398127028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.325772047042847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:55:32.142215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/30/image_03122025_02_30_14_9686.jpg', '/home/pi/Desktop/images/03122025/02/30/image_03122025_02_30_34_9711.jpg', '/home/pi/Desktop/images/03122025/02/31/image_03122025_02_31_54_9695.jpg', '/home/pi/Desktop/images/03122025/02/32/image_03122025_02_32_34_9706.jpg', '/home/pi/Desktop/images/03122025/02/32/image_03122025_02_32_44_10735.jpg', '/home/pi/Desktop/images/03122025/02/32/image_03122025_02_32_54_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/30/image_03122025_02_30_14_9686.jpg
/home/pi/Desktop/images/03122025/02/30/image_03122025_02_30_34_9711.jpg
/home/pi/Desktop/images/03122025/02/31/image_03122025_02_31_54_9695.jpg
/home/pi/Desktop/images/03122025/02/32/image_03122025_02_32_34_9706.jpg
/home/pi/Desktop/images/03122025/02/32/image_03122025_02_32_44_10735.jpg
/home/pi/Desktop/images/03122025/02/32/image_03122025_02_32_54_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398127039","1398127041","1398127035","1398127037","1398127040","1398127042"],"photo_ids_order":["1398127035","1398127037","1398127039","1398127040","1398127041","1398127042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8400850dd2c6a17250d578fbff984ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5944498215336880566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964598854,"filename":"image_03122025_02_31_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/5/31903d04a2aece6217ba99d885560983.jpg","text":"TemporaryFile(/tmp/multipartBody7182606079459650914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964598854,"filename":"image_03122025_02_32_44_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/5/284baebafb23d72818ad3906861c6b47.jpg","text":"TemporaryFile(/tmp/multipartBody2021855466227814082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964598854,"filename":"image_03122025_02_30_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/5/a45ba3bd95305c43dcee38b3f31b6b35.jpg","text":"TemporaryFile(/tmp/multipartBody5266188146523808882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964598854,"filename":"image_03122025_02_30_34_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/5/3d4eeeb307c8b59628a94a6f4f4754d1.jpg","text":"TemporaryFile(/tmp/multipartBody8927532946940925026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964598854,"filename":"image_03122025_02_32_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/5/cdf67fb3cffecb201ee03302d549035a.jpg","text":"TemporaryFile(/tmp/multipartBody4417059386712157151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964598854,"filename":"image_03122025_02_32_54_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398127039","file1":"1398127037","file0":"1398127035","file4":"1398127041","file5":"1398127042","file3":"1398127040"},"map_files_photo_id_array":[{"photo_id":"1398127042","filename":"file5"},{"photo_id":"1398127039","filename":"file2"},{"photo_id":"1398127041","filename":"file4"},{"photo_id":"1398127037","filename":"file1"},{"photo_id":"1398127035","filename":"file0"},{"photo_id":"1398127040","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398127039":["hashtag1","hashtag2"]},{"1398127041":["hashtag1","hashtag2"]},{"1398127035":["hashtag1","hashtag2"]},{"1398127037":["hashtag1","hashtag2"]},{"1398127040":["hashtag1","hashtag2"]},{"1398127042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398127039, 1398127041, 1398127035, 1398127037, 1398127040, 1398127042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.53076958656311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 20:56:22.046063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/54/image_05122025_20_54_55_10658.jpg', '/home/pi/Desktop/images/05122025/20/55/image_05122025_20_55_14_9682.jpg', '/home/pi/Desktop/images/05122025/20/55/image_05122025_20_55_25_10697.jpg', '/home/pi/Desktop/images/05122025/20/55/image_05122025_20_55_44_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/54/image_05122025_20_54_55_10658.jpg
/home/pi/Desktop/images/05122025/20/55/image_05122025_20_55_14_9682.jpg
/home/pi/Desktop/images/05122025/20/55/image_05122025_20_55_25_10697.jpg
/home/pi/Desktop/images/05122025/20/55/image_05122025_20_55_44_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398127051","1398127044","1398127043","1398127049"],"photo_ids_order":["1398127043","1398127044","1398127049","1398127051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d8926dc309df8adcbed2374bdc14fbb2.jpg","text":"TemporaryFile(/tmp/multipartBody2645818842040214561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964642680,"filename":"image_05122025_20_55_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/5/1c4d06cc4ddb8d006a364e06de94e285.jpg","text":"TemporaryFile(/tmp/multipartBody4651383832148369406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964642680,"filename":"image_05122025_20_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/5/4cd527eece30b49d2c047fc207c26a9e.jpg","text":"TemporaryFile(/tmp/multipartBody1239089639258359010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964642680,"filename":"image_05122025_20_54_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/5/cde6c05371ce970d60b1d0bfb0410190.jpg","text":"TemporaryFile(/tmp/multipartBody3570719911968424452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964642680,"filename":"image_05122025_20_55_25_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398127049","file1":"1398127044","file0":"1398127043","file3":"1398127051"},"map_files_photo_id_array":[{"photo_id":"1398127049","filename":"file2"},{"photo_id":"1398127044","filename":"file1"},{"photo_id":"1398127043","filename":"file0"},{"photo_id":"1398127051","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398127051":["hashtag1","hashtag2"]},{"1398127044":["hashtag1","hashtag2"]},{"1398127043":["hashtag1","hashtag2"]},{"1398127049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398127051, 1398127044, 1398127043, 1398127049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.55146884918213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:57:02.892281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/38/image_03122025_02_39_04_9758.jpg', '/home/pi/Desktop/images/03122025/02/39/image_03122025_02_39_14_10669.jpg', '/home/pi/Desktop/images/03122025/02/39/image_03122025_02_39_54_9683.jpg', '/home/pi/Desktop/images/03122025/02/39/image_03122025_02_40_04_9667.jpg', '/home/pi/Desktop/images/03122025/02/40/image_03122025_02_40_14_9692.jpg', '/home/pi/Desktop/images/03122025/02/40/image_03122025_02_40_24_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/38/image_03122025_02_39_04_9758.jpg
/home/pi/Desktop/images/03122025/02/39/image_03122025_02_39_14_10669.jpg
/home/pi/Desktop/images/03122025/02/39/image_03122025_02_39_54_9683.jpg
/home/pi/Desktop/images/03122025/02/39/image_03122025_02_40_04_9667.jpg
/home/pi/Desktop/images/03122025/02/40/image_03122025_02_40_14_9692.jpg
/home/pi/Desktop/images/03122025/02/40/image_03122025_02_40_24_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398127356","1398127320","1398127203","1398127241","1398127279","1398127354"],"photo_ids_order":["1398127203","1398127241","1398127279","1398127320","1398127354","1398127356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6cf4d2ab7eb4f68ab49d11464938b862.jpg","text":"TemporaryFile(/tmp/multipartBody5914595245151638863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964684854,"filename":"image_03122025_02_40_24_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/5/dec3398946c190810d3ebbe586364f05.jpg","text":"TemporaryFile(/tmp/multipartBody7593578067729170636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964684854,"filename":"image_03122025_02_40_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/92435a726a99401574ea8a32413ba92f.jpg","text":"TemporaryFile(/tmp/multipartBody1842081415639149592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964684854,"filename":"image_03122025_02_39_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/5/19242617fd4bdd9797b417714bbaf280.jpg","text":"TemporaryFile(/tmp/multipartBody7573648879569448591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964684854,"filename":"image_03122025_02_39_14_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/5/178fa5ebb54343bf9c82cd9a0ca0384e.jpg","text":"TemporaryFile(/tmp/multipartBody5820867596035686570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964684854,"filename":"image_03122025_02_39_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/5/7b8aeb308d9d11dac49c71fcf1a89980.jpg","text":"TemporaryFile(/tmp/multipartBody4585853486042128358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964684854,"filename":"image_03122025_02_40_14_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398127279","file1":"1398127241","file0":"1398127203","file4":"1398127354","file5":"1398127356","file3":"1398127320"},"map_files_photo_id_array":[{"photo_id":"1398127356","filename":"file5"},{"photo_id":"1398127279","filename":"file2"},{"photo_id":"1398127354","filename":"file4"},{"photo_id":"1398127241","filename":"file1"},{"photo_id":"1398127203","filename":"file0"},{"photo_id":"1398127320","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398127356":["hashtag1","hashtag2"]},{"1398127320":["hashtag1","hashtag2"]},{"1398127203":["hashtag1","hashtag2"]},{"1398127241":["hashtag1","hashtag2"]},{"1398127279":["hashtag1","hashtag2"]},{"1398127354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398127356, 1398127320, 1398127203, 1398127241, 1398127279, 1398127354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25733184814453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 20:57:42.298715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_50_3559.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_53_2611.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_55_2715.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_59_3574.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_01_2586.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_10_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_50_3559.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_53_2611.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_55_2715.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_59_3574.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_01_2586.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_10_2548.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4648377895355225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 20:59:03.448451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/55/image_05122025_20_55_55_10585.jpg', '/home/pi/Desktop/images/05122025/20/57/image_05122025_20_58_04_9704.jpg', '/home/pi/Desktop/images/05122025/20/58/image_05122025_20_58_24_9671.jpg', '/home/pi/Desktop/images/05122025/20/58/image_05122025_20_58_34_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/55/image_05122025_20_55_55_10585.jpg
/home/pi/Desktop/images/05122025/20/57/image_05122025_20_58_04_9704.jpg
/home/pi/Desktop/images/05122025/20/58/image_05122025_20_58_24_9671.jpg
/home/pi/Desktop/images/05122025/20/58/image_05122025_20_58_34_9865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398127491","1398127484","1398127489","1398127486"],"photo_ids_order":["1398127484","1398127486","1398127489","1398127491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/05db12ec0e71ac83fd0380e649ce7b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7188397073746036006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964804305,"filename":"image_05122025_20_58_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/5/710254ea959a599d78eb1988f30b018b.jpg","text":"TemporaryFile(/tmp/multipartBody7109980904895487078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964804305,"filename":"image_05122025_20_55_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/5/fe5be81b7ad57e5904ac39a97b496bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5913265647239036751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964804305,"filename":"image_05122025_20_58_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cb8984fe11a66576fbcc91bd5293aed4.jpg","text":"TemporaryFile(/tmp/multipartBody5284492802316837065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964804305,"filename":"image_05122025_20_58_04_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398127489","file1":"1398127486","file0":"1398127484","file3":"1398127491"},"map_files_photo_id_array":[{"photo_id":"1398127489","filename":"file2"},{"photo_id":"1398127486","filename":"file1"},{"photo_id":"1398127484","filename":"file0"},{"photo_id":"1398127491","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398127491":["hashtag1","hashtag2"]},{"1398127484":["hashtag1","hashtag2"]},{"1398127489":["hashtag1","hashtag2"]},{"1398127486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398127491, 1398127484, 1398127489, 1398127486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.358257055282593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 20:59:32.705174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/41/image_03122025_02_41_45_10785.jpg', '/home/pi/Desktop/images/03122025/02/41/image_03122025_02_41_54_9722.jpg', '/home/pi/Desktop/images/03122025/02/42/image_03122025_02_42_14_9754.jpg', '/home/pi/Desktop/images/03122025/02/42/image_03122025_02_42_24_9794.jpg', '/home/pi/Desktop/images/03122025/02/43/image_03122025_02_43_24_10635.jpg', '/home/pi/Desktop/images/03122025/02/44/image_03122025_02_44_35_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/41/image_03122025_02_41_45_10785.jpg
/home/pi/Desktop/images/03122025/02/41/image_03122025_02_41_54_9722.jpg
/home/pi/Desktop/images/03122025/02/42/image_03122025_02_42_14_9754.jpg
/home/pi/Desktop/images/03122025/02/42/image_03122025_02_42_24_9794.jpg
/home/pi/Desktop/images/03122025/02/43/image_03122025_02_43_24_10635.jpg
/home/pi/Desktop/images/03122025/02/44/image_03122025_02_44_35_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":["1398127507","1398127503","1398127496","1398127509","1398127505","1398127495"],"photo_ids_order":["1398127495","1398127496","1398127503","1398127505","1398127507","1398127509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cbaa6483c42bb3b6ce03f225533b2e10.jpg","text":"TemporaryFile(/tmp/multipartBody2160463802013156289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964835038,"filename":"image_03122025_02_43_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/5/3a3e07fe33b99fd39daf4090a3c89bab.jpg","text":"TemporaryFile(/tmp/multipartBody3662171451513262755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964835038,"filename":"image_03122025_02_42_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/5/14057b278c047ff2994aaf1f8b4c0a76.jpg","text":"TemporaryFile(/tmp/multipartBody8859804234220795299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964835038,"filename":"image_03122025_02_41_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/5/ba313edf0921ac6149bda99e18d8224c.jpg","text":"TemporaryFile(/tmp/multipartBody5928747541714749921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964835038,"filename":"image_03122025_02_44_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/5/ef0c2e53e6c6e29fb36530485bb68d89.jpg","text":"TemporaryFile(/tmp/multipartBody4175205344071755636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964835038,"filename":"image_03122025_02_42_24_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/5/8f255d86b79b55027cb18b6aa6a31bb5.jpg","text":"TemporaryFile(/tmp/multipartBody5487243531835392872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964835038,"filename":"image_03122025_02_41_45_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398127503","file1":"1398127496","file0":"1398127495","file4":"1398127507","file5":"1398127509","file3":"1398127505"},"map_files_photo_id_array":[{"photo_id":"1398127509","filename":"file5"},{"photo_id":"1398127503","filename":"file2"},{"photo_id":"1398127507","filename":"file4"},{"photo_id":"1398127496","filename":"file1"},{"photo_id":"1398127495","filename":"file0"},{"photo_id":"1398127505","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398127507":["hashtag1","hashtag2"]},{"1398127503":["hashtag1","hashtag2"]},{"1398127496":["hashtag1","hashtag2"]},{"1398127509":["hashtag1","hashtag2"]},{"1398127505":["hashtag1","hashtag2"]},{"1398127495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398127507, 1398127503, 1398127496, 1398127509, 1398127505, 1398127495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20867681503296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 21:00:12.778730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/44/image_03122025_02_44_44_9675.jpg', '/home/pi/Desktop/images/03122025/02/45/image_03122025_02_45_24_9630.jpg', '/home/pi/Desktop/images/03122025/02/45/image_03122025_02_45_54_9578.jpg', '/home/pi/Desktop/images/03122025/02/45/image_03122025_02_46_04_9790.jpg', '/home/pi/Desktop/images/03122025/02/46/image_03122025_02_46_14_9863.jpg', '/home/pi/Desktop/images/03122025/02/46/image_03122025_02_46_24_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/44/image_03122025_02_44_44_9675.jpg
/home/pi/Desktop/images/03122025/02/45/image_03122025_02_45_24_9630.jpg
/home/pi/Desktop/images/03122025/02/45/image_03122025_02_45_54_9578.jpg
/home/pi/Desktop/images/03122025/02/45/image_03122025_02_46_04_9790.jpg
/home/pi/Desktop/images/03122025/02/46/image_03122025_02_46_14_9863.jpg
/home/pi/Desktop/images/03122025/02/46/image_03122025_02_46_24_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398127602","1398127512","1398127676","1398127529","1398127642","1398127564"],"photo_ids_order":["1398127512","1398127529","1398127564","1398127602","1398127642","1398127676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/79614249d41bf6f8b35202001f60d9a8.jpg","text":"TemporaryFile(/tmp/multipartBody7917009383616117812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964874964,"filename":"image_03122025_02_46_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/5/8462a727410747fc30a26d75c33ba181.jpg","text":"TemporaryFile(/tmp/multipartBody1513753712861178067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964874964,"filename":"image_03122025_02_44_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/5/a024707f505810cc37eaf38e1d3eb45f.jpg","text":"TemporaryFile(/tmp/multipartBody8444668745974387504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964874964,"filename":"image_03122025_02_46_24_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/5/685d2436db772fcc63bdbf3c87e49994.jpg","text":"TemporaryFile(/tmp/multipartBody7150295309730348159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964874964,"filename":"image_03122025_02_45_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/5/9dcc29418ee5df767809ea0d0934ffa3.jpg","text":"TemporaryFile(/tmp/multipartBody4413525848621939544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964874964,"filename":"image_03122025_02_46_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/5/c0e527af1527ae71417c2762b82cbbcb.jpg","text":"TemporaryFile(/tmp/multipartBody2788042141070323246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964874964,"filename":"image_03122025_02_45_54_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398127564","file1":"1398127529","file0":"1398127512","file4":"1398127642","file5":"1398127676","file3":"1398127602"},"map_files_photo_id_array":[{"photo_id":"1398127676","filename":"file5"},{"photo_id":"1398127564","filename":"file2"},{"photo_id":"1398127642","filename":"file4"},{"photo_id":"1398127529","filename":"file1"},{"photo_id":"1398127512","filename":"file0"},{"photo_id":"1398127602","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398127602":["hashtag1","hashtag2"]},{"1398127512":["hashtag1","hashtag2"]},{"1398127676":["hashtag1","hashtag2"]},{"1398127529":["hashtag1","hashtag2"]},{"1398127642":["hashtag1","hashtag2"]},{"1398127564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398127602, 1398127512, 1398127676, 1398127529, 1398127642, 1398127564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.804356813430786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:01:02.671210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/46/image_03122025_02_46_35_10828.jpg', '/home/pi/Desktop/images/03122025/02/46/image_03122025_02_46_44_9858.jpg', '/home/pi/Desktop/images/03122025/02/49/image_03122025_02_49_34_9755.jpg', '/home/pi/Desktop/images/03122025/02/50/image_03122025_02_50_44_9763.jpg', '/home/pi/Desktop/images/03122025/02/50/image_03122025_02_51_04_9780.jpg', '/home/pi/Desktop/images/03122025/02/52/image_03122025_02_52_24_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/46/image_03122025_02_46_35_10828.jpg
/home/pi/Desktop/images/03122025/02/46/image_03122025_02_46_44_9858.jpg
/home/pi/Desktop/images/03122025/02/49/image_03122025_02_49_34_9755.jpg
/home/pi/Desktop/images/03122025/02/50/image_03122025_02_50_44_9763.jpg
/home/pi/Desktop/images/03122025/02/50/image_03122025_02_51_04_9780.jpg
/home/pi/Desktop/images/03122025/02/52/image_03122025_02_52_24_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398128037","1398127886","1398127922","1398127999","1398128091","1398127960"],"photo_ids_order":["1398127886","1398127922","1398127960","1398127999","1398128037","1398128091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a4e2ba5dca79c8fd9c65ee93ded6d859.jpg","text":"TemporaryFile(/tmp/multipartBody8658828289657871629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964924569,"filename":"image_03122025_02_51_04_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/5/58720742915ca70b044d17e99b24c551.jpg","text":"TemporaryFile(/tmp/multipartBody1291489073232670035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964924569,"filename":"image_03122025_02_46_35_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/5/3dc2e8f4b4ddb3e767b06c84433d5d6c.jpg","text":"TemporaryFile(/tmp/multipartBody269659160087384049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964924569,"filename":"image_03122025_02_46_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/5/c9430c01318fd456e479791b64ebb6df.jpg","text":"TemporaryFile(/tmp/multipartBody3609696270006410615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964924569,"filename":"image_03122025_02_50_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c0e7d3b966db42cb32bb9ec6ac1e0c30.jpg","text":"TemporaryFile(/tmp/multipartBody6367371570863624412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964924569,"filename":"image_03122025_02_52_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cbef927ae49f51f7f17102384152a67a.jpg","text":"TemporaryFile(/tmp/multipartBody3852780393074725201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964924569,"filename":"image_03122025_02_49_34_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398127960","file1":"1398127922","file0":"1398127886","file4":"1398128037","file5":"1398128091","file3":"1398127999"},"map_files_photo_id_array":[{"photo_id":"1398128091","filename":"file5"},{"photo_id":"1398127960","filename":"file2"},{"photo_id":"1398128037","filename":"file4"},{"photo_id":"1398127922","filename":"file1"},{"photo_id":"1398127886","filename":"file0"},{"photo_id":"1398127999","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398128037":["hashtag1","hashtag2"]},{"1398127886":["hashtag1","hashtag2"]},{"1398127922":["hashtag1","hashtag2"]},{"1398127999":["hashtag1","hashtag2"]},{"1398128091":["hashtag1","hashtag2"]},{"1398127960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398128037, 1398127886, 1398127922, 1398127999, 1398128091, 1398127960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55164313316345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:01:41.906735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_50_3559.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_53_2611.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_55_2715.jpg', '/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_59_3574.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_01_2586.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_10_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_50_3559.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_53_2611.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_55_2715.jpg
/home/pi/Desktop/images/31102025/20/34/image_31102025_20_34_59_3574.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_01_2586.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_10_2548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398128465","1398128429","1398128321","1398128395","1398128359","1398128503"],"photo_ids_order":["1398128321","1398128359","1398128395","1398128429","1398128465","1398128503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f1253382079aa34f69244e970d1de87c.jpg","text":"TemporaryFile(/tmp/multipartBody5772682189260046356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964963364,"filename":"image_31102025_20_35_01_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1a640fb04b73daf4ed19c313587cbb53.jpg","text":"TemporaryFile(/tmp/multipartBody3326546909228660643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964963364,"filename":"image_31102025_20_34_59_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/5/71f106bf1a8682b738bf1997a18432b9.jpg","text":"TemporaryFile(/tmp/multipartBody3881040178875179530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964963364,"filename":"image_31102025_20_34_50_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4fb4f16922365ee5b9dc9ccea13df47e.jpg","text":"TemporaryFile(/tmp/multipartBody2729108664963569311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964963364,"filename":"image_31102025_20_34_55_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c58bd6390b46ee7240427b0af601a88.jpg","text":"TemporaryFile(/tmp/multipartBody7549982056043471443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964963364,"filename":"image_31102025_20_34_53_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/5/f6951be2c7a06ecbd69d9f0277f8873f.jpg","text":"TemporaryFile(/tmp/multipartBody4851285634641739497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764964963364,"filename":"image_31102025_20_35_10_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398128395","file1":"1398128359","file0":"1398128321","file4":"1398128465","file5":"1398128503","file3":"1398128429"},"map_files_photo_id_array":[{"photo_id":"1398128503","filename":"file5"},{"photo_id":"1398128395","filename":"file2"},{"photo_id":"1398128465","filename":"file4"},{"photo_id":"1398128359","filename":"file1"},{"photo_id":"1398128321","filename":"file0"},{"photo_id":"1398128429","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398128465":["hashtag1","hashtag2"]},{"1398128429":["hashtag1","hashtag2"]},{"1398128321":["hashtag1","hashtag2"]},{"1398128395":["hashtag1","hashtag2"]},{"1398128359":["hashtag1","hashtag2"]},{"1398128503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398128465, 1398128429, 1398128321, 1398128395, 1398128359, 1398128503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1782386302948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:02:22.111995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_17_2759.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_19_2620.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_23_3596.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_26_2654.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_28_2577.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_32_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_17_2759.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_19_2620.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_23_3596.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_26_2654.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_28_2577.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_32_3689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398128739","1398128924","1398129037","1398128980","1398128881","1398128813"],"photo_ids_order":["1398128739","1398128813","1398128881","1398128924","1398128980","1398129037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/df5e1684119727d8f07f373917bd51a2.jpg","text":"TemporaryFile(/tmp/multipartBody1951512422695188464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965003723,"filename":"image_31102025_20_35_17_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/5/bc5e1489782be911e263429e0fafc981.jpg","text":"TemporaryFile(/tmp/multipartBody6705299586478453595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965003723,"filename":"image_31102025_20_35_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/5/70e34a13574c6eb7d8346547d9a74fda.jpg","text":"TemporaryFile(/tmp/multipartBody6601898215232106256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965003723,"filename":"image_31102025_20_35_32_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/5/397fe2b5d6159ee7f33c561effb12ca9.jpg","text":"TemporaryFile(/tmp/multipartBody8735452454572837493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965003723,"filename":"image_31102025_20_35_28_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/5/738e98e35f67c873db55dbf8220ecb7c.jpg","text":"TemporaryFile(/tmp/multipartBody6248047631093424988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965003723,"filename":"image_31102025_20_35_23_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/914dfed2f4836dc8642e48516e568e49.jpg","text":"TemporaryFile(/tmp/multipartBody4095335372662447014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965003723,"filename":"image_31102025_20_35_19_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398128881","file1":"1398128813","file0":"1398128739","file4":"1398128980","file5":"1398129037","file3":"1398128924"},"map_files_photo_id_array":[{"photo_id":"1398129037","filename":"file5"},{"photo_id":"1398128881","filename":"file2"},{"photo_id":"1398128980","filename":"file4"},{"photo_id":"1398128813","filename":"file1"},{"photo_id":"1398128739","filename":"file0"},{"photo_id":"1398128924","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398128739":["hashtag1","hashtag2"]},{"1398128924":["hashtag1","hashtag2"]},{"1398129037":["hashtag1","hashtag2"]},{"1398128980":["hashtag1","hashtag2"]},{"1398128881":["hashtag1","hashtag2"]},{"1398128813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398128739, 1398128924, 1398129037, 1398128980, 1398128881, 1398128813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60477375984192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:03:02.970960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/52/image_03122025_02_52_54_9607.jpg', '/home/pi/Desktop/images/03122025/02/53/image_03122025_02_53_14_9806.jpg', '/home/pi/Desktop/images/03122025/02/53/image_03122025_02_53_24_9603.jpg', '/home/pi/Desktop/images/03122025/02/54/image_03122025_02_54_15_10744.jpg', '/home/pi/Desktop/images/03122025/02/54/image_03122025_02_54_54_9779.jpg', '/home/pi/Desktop/images/03122025/02/54/image_03122025_02_55_05_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/52/image_03122025_02_52_54_9607.jpg
/home/pi/Desktop/images/03122025/02/53/image_03122025_02_53_14_9806.jpg
/home/pi/Desktop/images/03122025/02/53/image_03122025_02_53_24_9603.jpg
/home/pi/Desktop/images/03122025/02/54/image_03122025_02_54_15_10744.jpg
/home/pi/Desktop/images/03122025/02/54/image_03122025_02_54_54_9779.jpg
/home/pi/Desktop/images/03122025/02/54/image_03122025_02_55_05_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398129293","1398129257","1398129329","1398129367","1398129409","1398129217"],"photo_ids_order":["1398129217","1398129257","1398129293","1398129329","1398129367","1398129409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20d4445e0458ced5f1f84838b7fa7839.jpg","text":"TemporaryFile(/tmp/multipartBody1522333183221932590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965044859,"filename":"image_03122025_02_53_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/5/f9ca7aabf262e0d60326bd93d5682b90.jpg","text":"TemporaryFile(/tmp/multipartBody7842262700510865967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965044859,"filename":"image_03122025_02_53_14_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9bd8fa3afd10962c828f2fb084c0f41f.jpg","text":"TemporaryFile(/tmp/multipartBody1617615760228952710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965044859,"filename":"image_03122025_02_54_15_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/5/03dbc5fbf126b8df9381c0bd786949c5.jpg","text":"TemporaryFile(/tmp/multipartBody142989681440553568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965044859,"filename":"image_03122025_02_54_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/5/868e3577a3eff98ce3f6d61ff119fb96.jpg","text":"TemporaryFile(/tmp/multipartBody7181615306979549053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965044859,"filename":"image_03122025_02_55_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/5/9ab1c6b03f7a9a72eb49e09cf72a3fa3.jpg","text":"TemporaryFile(/tmp/multipartBody5890963698401725216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965044859,"filename":"image_03122025_02_52_54_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398129293","file1":"1398129257","file0":"1398129217","file4":"1398129367","file5":"1398129409","file3":"1398129329"},"map_files_photo_id_array":[{"photo_id":"1398129409","filename":"file5"},{"photo_id":"1398129293","filename":"file2"},{"photo_id":"1398129367","filename":"file4"},{"photo_id":"1398129257","filename":"file1"},{"photo_id":"1398129217","filename":"file0"},{"photo_id":"1398129329","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398129293":["hashtag1","hashtag2"]},{"1398129257":["hashtag1","hashtag2"]},{"1398129329":["hashtag1","hashtag2"]},{"1398129367":["hashtag1","hashtag2"]},{"1398129409":["hashtag1","hashtag2"]},{"1398129217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398129293, 1398129257, 1398129329, 1398129367, 1398129409, 1398129217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94009327888489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:03:42.127760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_34_2506.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_37_2618.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_41_3660.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_46_2649.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_50_3610.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_52_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_34_2506.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_37_2618.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_41_3660.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_46_2649.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_50_3610.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_52_2606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398129440","1398129443","1398129439","1398129442","1398129441","1398129438"],"photo_ids_order":["1398129438","1398129439","1398129440","1398129441","1398129442","1398129443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3313f4ecbf6f57b8660dc8dac7a9907b.jpg","text":"TemporaryFile(/tmp/multipartBody1311213149873693836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965083678,"filename":"image_31102025_20_35_41_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/5/33aa3479279fc5208504525a44a56e74.jpg","text":"TemporaryFile(/tmp/multipartBody6665910731444484994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965083678,"filename":"image_31102025_20_35_52_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/5/f46de8e19c40a48f794ac3de9dfaacc5.jpg","text":"TemporaryFile(/tmp/multipartBody1732306086269757971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965083678,"filename":"image_31102025_20_35_37_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ca05cf8dad65d50ace5866927039e3c.jpg","text":"TemporaryFile(/tmp/multipartBody8596766258285254793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965083678,"filename":"image_31102025_20_35_50_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/5/f9094f68757311be6c33dc312b389d52.jpg","text":"TemporaryFile(/tmp/multipartBody6494146662795486807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965083678,"filename":"image_31102025_20_35_46_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/5/76d6e3744434632754f9101e3a312075.jpg","text":"TemporaryFile(/tmp/multipartBody209154957613986740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965083678,"filename":"image_31102025_20_35_34_2506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398129440","file1":"1398129439","file0":"1398129438","file4":"1398129442","file5":"1398129443","file3":"1398129441"},"map_files_photo_id_array":[{"photo_id":"1398129443","filename":"file5"},{"photo_id":"1398129440","filename":"file2"},{"photo_id":"1398129442","filename":"file4"},{"photo_id":"1398129439","filename":"file1"},{"photo_id":"1398129438","filename":"file0"},{"photo_id":"1398129441","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398129440":["hashtag1","hashtag2"]},{"1398129443":["hashtag1","hashtag2"]},{"1398129439":["hashtag1","hashtag2"]},{"1398129442":["hashtag1","hashtag2"]},{"1398129441":["hashtag1","hashtag2"]},{"1398129438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398129440, 1398129443, 1398129439, 1398129442, 1398129441, 1398129438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.025572299957275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:04:22.373632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_55_3324.jpg', '/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_58_2727.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_01_2766.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_05_3735.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_07_2662.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_10_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_55_3324.jpg
/home/pi/Desktop/images/31102025/20/35/image_31102025_20_35_58_2727.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_01_2766.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_05_3735.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_07_2662.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_10_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398129449","1398129451","1398129445","1398129454","1398129456","1398129447"],"photo_ids_order":["1398129445","1398129447","1398129449","1398129451","1398129454","1398129456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5cc7531b3eb56e4b37442b5d15f16c96.jpg","text":"TemporaryFile(/tmp/multipartBody888113919335887286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965123945,"filename":"image_31102025_20_36_01_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/5/a105d7c56b005c222d36eced1e6c1a4e.jpg","text":"TemporaryFile(/tmp/multipartBody8852071142274323458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965123945,"filename":"image_31102025_20_36_05_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/5/20d25804129b0ca87cbda79df8ea88df.jpg","text":"TemporaryFile(/tmp/multipartBody6172758015690490958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965123945,"filename":"image_31102025_20_35_55_3324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f7a2e60d3a6fa7fa9618a77099715695.jpg","text":"TemporaryFile(/tmp/multipartBody6634766622990857471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965123945,"filename":"image_31102025_20_36_07_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/288efcbb3687993de65c911ef25fde45.jpg","text":"TemporaryFile(/tmp/multipartBody6154345024841874657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965123945,"filename":"image_31102025_20_36_10_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/5/c3ed63b83efa1e94395ee86f4037a86c.jpg","text":"TemporaryFile(/tmp/multipartBody2107701610924152059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965123945,"filename":"image_31102025_20_35_58_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398129449","file1":"1398129447","file0":"1398129445","file4":"1398129454","file5":"1398129456","file3":"1398129451"},"map_files_photo_id_array":[{"photo_id":"1398129456","filename":"file5"},{"photo_id":"1398129449","filename":"file2"},{"photo_id":"1398129454","filename":"file4"},{"photo_id":"1398129447","filename":"file1"},{"photo_id":"1398129445","filename":"file0"},{"photo_id":"1398129451","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398129449":["hashtag1","hashtag2"]},{"1398129451":["hashtag1","hashtag2"]},{"1398129445":["hashtag1","hashtag2"]},{"1398129454":["hashtag1","hashtag2"]},{"1398129456":["hashtag1","hashtag2"]},{"1398129447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398129449, 1398129451, 1398129445, 1398129454, 1398129456, 1398129447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54218554496765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:05:03.233412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/02/58/image_03122025_02_58_54_9797.jpg', '/home/pi/Desktop/images/03122025/02/59/image_03122025_02_59_14_9779.jpg', '/home/pi/Desktop/images/03122025/03/00/image_03122025_03_01_04_9741.jpg', '/home/pi/Desktop/images/03122025/03/01/image_03122025_03_01_15_10717.jpg', '/home/pi/Desktop/images/03122025/03/01/image_03122025_03_01_24_9664.jpg', '/home/pi/Desktop/images/03122025/03/02/image_03122025_03_02_44_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/02/58/image_03122025_02_58_54_9797.jpg
/home/pi/Desktop/images/03122025/02/59/image_03122025_02_59_14_9779.jpg
/home/pi/Desktop/images/03122025/03/00/image_03122025_03_01_04_9741.jpg
/home/pi/Desktop/images/03122025/03/01/image_03122025_03_01_15_10717.jpg
/home/pi/Desktop/images/03122025/03/01/image_03122025_03_01_24_9664.jpg
/home/pi/Desktop/images/03122025/03/02/image_03122025_03_02_44_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398129633","1398129746","1398129707","1398129595","1398129556","1398129669"],"photo_ids_order":["1398129556","1398129595","1398129633","1398129669","1398129707","1398129746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d4679fb187caf26c8b0a54eee8f5f1e8.jpg","text":"TemporaryFile(/tmp/multipartBody4365474477684020199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965165173,"filename":"image_03122025_03_01_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/5/95e6d41a08132ed89c3d0d24e2b392d8.jpg","text":"TemporaryFile(/tmp/multipartBody8832010538209591356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965165173,"filename":"image_03122025_03_02_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80ad32845ec1fbb974c8a9cba2c776db.jpg","text":"TemporaryFile(/tmp/multipartBody3764809247362578277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965165173,"filename":"image_03122025_03_01_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8e3b165c3ccefcbd2df334ad3c8490f0.jpg","text":"TemporaryFile(/tmp/multipartBody6775272614881869376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965165173,"filename":"image_03122025_02_59_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/5/17c4491f74a06a6654afc3a425b1302a.jpg","text":"TemporaryFile(/tmp/multipartBody4636578859417688793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965165173,"filename":"image_03122025_02_58_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/5/e36e18a3c0c05caa59b08c23f053516c.jpg","text":"TemporaryFile(/tmp/multipartBody982926565176384594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965165173,"filename":"image_03122025_03_01_15_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398129633","file1":"1398129595","file0":"1398129556","file4":"1398129707","file5":"1398129746","file3":"1398129669"},"map_files_photo_id_array":[{"photo_id":"1398129746","filename":"file5"},{"photo_id":"1398129633","filename":"file2"},{"photo_id":"1398129707","filename":"file4"},{"photo_id":"1398129595","filename":"file1"},{"photo_id":"1398129556","filename":"file0"},{"photo_id":"1398129669","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398129633":["hashtag1","hashtag2"]},{"1398129746":["hashtag1","hashtag2"]},{"1398129707":["hashtag1","hashtag2"]},{"1398129595":["hashtag1","hashtag2"]},{"1398129556":["hashtag1","hashtag2"]},{"1398129669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398129633, 1398129746, 1398129707, 1398129595, 1398129556, 1398129669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88769173622131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:06:03.175930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/03/image_03122025_03_03_34_10718.jpg', '/home/pi/Desktop/images/03122025/03/03/image_03122025_03_03_44_9713.jpg', '/home/pi/Desktop/images/03122025/03/04/image_03122025_03_04_35_10763.jpg', '/home/pi/Desktop/images/03122025/03/04/image_03122025_03_04_44_9569.jpg', '/home/pi/Desktop/images/03122025/03/05/image_03122025_03_05_15_9950.jpg', '/home/pi/Desktop/images/03122025/03/05/image_03122025_03_05_44_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/03/image_03122025_03_03_34_10718.jpg
/home/pi/Desktop/images/03122025/03/03/image_03122025_03_03_44_9713.jpg
/home/pi/Desktop/images/03122025/03/04/image_03122025_03_04_35_10763.jpg
/home/pi/Desktop/images/03122025/03/04/image_03122025_03_04_44_9569.jpg
/home/pi/Desktop/images/03122025/03/05/image_03122025_03_05_15_9950.jpg
/home/pi/Desktop/images/03122025/03/05/image_03122025_03_05_44_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":["1398129912","1398129982","1398129934","1398129913","1398129978","1398129966"],"photo_ids_order":["1398129912","1398129913","1398129934","1398129966","1398129978","1398129982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/896c4495ac83e5a90eb740849fbbf736.jpg","text":"TemporaryFile(/tmp/multipartBody3228364582240936414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965225008,"filename":"image_03122025_03_03_34_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/5/d0fed38259ef1894a35fbd25670bb991.jpg","text":"TemporaryFile(/tmp/multipartBody8884306281422985943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965225008,"filename":"image_03122025_03_05_44_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/5/d08e6ebc37bfe7fd48bcb55d096390ec.jpg","text":"TemporaryFile(/tmp/multipartBody4880566573340167094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965225008,"filename":"image_03122025_03_04_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/5/45803fd67851ff0cba204ea7b3b22d66.jpg","text":"TemporaryFile(/tmp/multipartBody1372974433845570769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965225008,"filename":"image_03122025_03_03_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/5/67f10971565d0bf33afe1ef4eed14921.jpg","text":"TemporaryFile(/tmp/multipartBody3044062978131558100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965225008,"filename":"image_03122025_03_05_15_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/5/4d9792119c3946aa3654ebc5d7c62ea6.jpg","text":"TemporaryFile(/tmp/multipartBody6002485490398938842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965225008,"filename":"image_03122025_03_04_44_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398129934","file1":"1398129913","file0":"1398129912","file4":"1398129978","file5":"1398129982","file3":"1398129966"},"map_files_photo_id_array":[{"photo_id":"1398129982","filename":"file5"},{"photo_id":"1398129934","filename":"file2"},{"photo_id":"1398129978","filename":"file4"},{"photo_id":"1398129913","filename":"file1"},{"photo_id":"1398129912","filename":"file0"},{"photo_id":"1398129966","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398129912":["hashtag1","hashtag2"]},{"1398129982":["hashtag1","hashtag2"]},{"1398129934":["hashtag1","hashtag2"]},{"1398129913":["hashtag1","hashtag2"]},{"1398129978":["hashtag1","hashtag2"]},{"1398129966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398129912, 1398129982, 1398129934, 1398129913, 1398129978, 1398129966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11744928359985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:06:42.683773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_14_3553.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_16_2558.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_20_3681.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_22_2494.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_25_2831.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_29_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_14_3553.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_16_2558.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_20_3681.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_22_2494.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_25_2831.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_29_3559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398129986","1398129989","1398129991","1398129988","1398129993","1398129990"],"photo_ids_order":["1398129986","1398129988","1398129989","1398129990","1398129991","1398129993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c7d240aea47c4b290b18d8700bc54b9.jpg","text":"TemporaryFile(/tmp/multipartBody4750364781363913298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965264265,"filename":"image_31102025_20_36_14_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/5/436debaa18d54b850438dc5284b6fd56.jpg","text":"TemporaryFile(/tmp/multipartBody7374152438633870891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965264265,"filename":"image_31102025_20_36_20_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/5/7282b9bc0630eec2ae130b715b0362f1.jpg","text":"TemporaryFile(/tmp/multipartBody2885076955775842717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965264265,"filename":"image_31102025_20_36_25_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/12c4a3925b24a33dd56a19af543732ca.jpg","text":"TemporaryFile(/tmp/multipartBody2535317426132230039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965264265,"filename":"image_31102025_20_36_16_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/5/74cbc1f014e74dd211edf355945fc9f4.jpg","text":"TemporaryFile(/tmp/multipartBody7381914369108730662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965264265,"filename":"image_31102025_20_36_29_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc2fcab9992d9008b6158d44c85bb963.jpg","text":"TemporaryFile(/tmp/multipartBody6275289286637635202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965264265,"filename":"image_31102025_20_36_22_2494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398129989","file1":"1398129988","file0":"1398129986","file4":"1398129991","file5":"1398129993","file3":"1398129990"},"map_files_photo_id_array":[{"photo_id":"1398129993","filename":"file5"},{"photo_id":"1398129989","filename":"file2"},{"photo_id":"1398129991","filename":"file4"},{"photo_id":"1398129988","filename":"file1"},{"photo_id":"1398129986","filename":"file0"},{"photo_id":"1398129990","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398129986":["hashtag1","hashtag2"]},{"1398129989":["hashtag1","hashtag2"]},{"1398129991":["hashtag1","hashtag2"]},{"1398129988":["hashtag1","hashtag2"]},{"1398129993":["hashtag1","hashtag2"]},{"1398129990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398129986, 1398129989, 1398129991, 1398129988, 1398129993, 1398129990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14312767982483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:07:21.955977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_31_2733.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_34_2566.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_38_3629.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_43_2617.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_46_3566.jpg', '/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_49_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_31_2733.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_34_2566.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_38_3629.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_43_2617.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_46_3566.jpg
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_49_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398129995","1398129998","1398130002","1398130005","1398129997","1398130000"],"photo_ids_order":["1398129995","1398129997","1398129998","1398130000","1398130002","1398130005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/daa7712b355bc5f638bf7583bc9cd2af.jpg","text":"TemporaryFile(/tmp/multipartBody440839862074991510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965303519,"filename":"image_31102025_20_36_31_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/5/ce96bc6b36b835729e8e7bc345128334.jpg","text":"TemporaryFile(/tmp/multipartBody6840268542921145671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965303519,"filename":"image_31102025_20_36_38_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/5/56aafca1c72bd1584d4ba69237919ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7664350552782676504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965303519,"filename":"image_31102025_20_36_46_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45fa2ae034956283338deb7a6e509a44.jpg","text":"TemporaryFile(/tmp/multipartBody7843256130321845940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965303519,"filename":"image_31102025_20_36_49_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/5/a95c14d87658f35f665d77bcd5a09e13.jpg","text":"TemporaryFile(/tmp/multipartBody3411404442401396237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965303519,"filename":"image_31102025_20_36_34_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/5/be413db288fd1744eed52303eaa202d4.jpg","text":"TemporaryFile(/tmp/multipartBody1337259850928572023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965303519,"filename":"image_31102025_20_36_43_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398129998","file1":"1398129997","file0":"1398129995","file4":"1398130002","file5":"1398130005","file3":"1398130000"},"map_files_photo_id_array":[{"photo_id":"1398130005","filename":"file5"},{"photo_id":"1398129998","filename":"file2"},{"photo_id":"1398130002","filename":"file4"},{"photo_id":"1398129997","filename":"file1"},{"photo_id":"1398129995","filename":"file0"},{"photo_id":"1398130000","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398129995":["hashtag1","hashtag2"]},{"1398129998":["hashtag1","hashtag2"]},{"1398130002":["hashtag1","hashtag2"]},{"1398130005":["hashtag1","hashtag2"]},{"1398129997":["hashtag1","hashtag2"]},{"1398130000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398129995, 1398129998, 1398130002, 1398130005, 1398129997, 1398130000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83318781852722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:08:02.548786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/05/image_03122025_03_05_54_10693.jpg', '/home/pi/Desktop/images/03122025/03/05/image_03122025_03_06_04_9713.jpg', '/home/pi/Desktop/images/03122025/03/09/image_03122025_03_09_54_9678.jpg', '/home/pi/Desktop/images/03122025/03/10/image_03122025_03_10_14_9732.jpg', '/home/pi/Desktop/images/03122025/03/10/image_03122025_03_11_04_9736.jpg', '/home/pi/Desktop/images/03122025/03/12/image_03122025_03_12_54_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/05/image_03122025_03_05_54_10693.jpg
/home/pi/Desktop/images/03122025/03/05/image_03122025_03_06_04_9713.jpg
/home/pi/Desktop/images/03122025/03/09/image_03122025_03_09_54_9678.jpg
/home/pi/Desktop/images/03122025/03/10/image_03122025_03_10_14_9732.jpg
/home/pi/Desktop/images/03122025/03/10/image_03122025_03_11_04_9736.jpg
/home/pi/Desktop/images/03122025/03/12/image_03122025_03_12_54_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130008","1398130010","1398130013","1398130007","1398130006","1398130009"],"photo_ids_order":["1398130006","1398130007","1398130008","1398130009","1398130010","1398130013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0bdbd070d5b8b4aa1ebe69cb3e97a51.jpg","text":"TemporaryFile(/tmp/multipartBody1195652984901374821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965344380,"filename":"image_03122025_03_09_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/5/3844f458ab064a41fff02a1421511fad.jpg","text":"TemporaryFile(/tmp/multipartBody461272430889356233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965344380,"filename":"image_03122025_03_11_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/5/488fcfed753bd1a1164d7a322b7e0f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3972643722755171713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965344380,"filename":"image_03122025_03_12_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/5/7e5da64fe08e9cacb877a8df6bba1ee1.jpg","text":"TemporaryFile(/tmp/multipartBody3319751567050589130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965344380,"filename":"image_03122025_03_06_04_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f9d848f40bd5ff9ad8d57eab8ff3c8fd.jpg","text":"TemporaryFile(/tmp/multipartBody5324188729912004042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965344380,"filename":"image_03122025_03_05_54_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/5/72fe4b707315078dd54cd810a95ee8ca.jpg","text":"TemporaryFile(/tmp/multipartBody30314809647453639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965344380,"filename":"image_03122025_03_10_14_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130008","file1":"1398130007","file0":"1398130006","file4":"1398130010","file5":"1398130013","file3":"1398130009"},"map_files_photo_id_array":[{"photo_id":"1398130013","filename":"file5"},{"photo_id":"1398130008","filename":"file2"},{"photo_id":"1398130010","filename":"file4"},{"photo_id":"1398130007","filename":"file1"},{"photo_id":"1398130006","filename":"file0"},{"photo_id":"1398130009","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398130008":["hashtag1","hashtag2"]},{"1398130010":["hashtag1","hashtag2"]},{"1398130013":["hashtag1","hashtag2"]},{"1398130007":["hashtag1","hashtag2"]},{"1398130006":["hashtag1","hashtag2"]},{"1398130009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398130008, 1398130010, 1398130013, 1398130007, 1398130006, 1398130009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57771325111389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:08:42.148377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_53_3632.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_01_2672.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_04_3551.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_07_2673.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_13_3522.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_17_3176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/36/image_31102025_20_36_53_3632.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_01_2672.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_04_3551.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_07_2673.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_13_3522.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_17_3176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130032","1398130031","1398130025","1398130019","1398130034","1398130033"],"photo_ids_order":["1398130019","1398130025","1398130031","1398130032","1398130033","1398130034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8f0136addf889dbb85afe540161d52b0.jpg","text":"TemporaryFile(/tmp/multipartBody2325976638058030397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965383731,"filename":"image_31102025_20_37_07_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/5/2e1a6df08acc2c10c9a013cf3e92c79b.jpg","text":"TemporaryFile(/tmp/multipartBody3067717746426077972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965383731,"filename":"image_31102025_20_37_04_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/5/812e35acf09b36a83e33481eb9608250.jpg","text":"TemporaryFile(/tmp/multipartBody6363463778581201122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965383731,"filename":"image_31102025_20_37_01_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/5/2019fa5982f9446933fa6fafbf0208eb.jpg","text":"TemporaryFile(/tmp/multipartBody9087247982237377059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965383731,"filename":"image_31102025_20_36_53_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/5/c0e9cb2e32836ed2660f4bd2e81dcfd1.jpg","text":"TemporaryFile(/tmp/multipartBody3340319129278123522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965383731,"filename":"image_31102025_20_37_17_3176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/20da9d36a18ee8e3d71ce1839d95033a.jpg","text":"TemporaryFile(/tmp/multipartBody1577025096075229563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965383731,"filename":"image_31102025_20_37_13_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130031","file1":"1398130025","file0":"1398130019","file4":"1398130033","file5":"1398130034","file3":"1398130032"},"map_files_photo_id_array":[{"photo_id":"1398130034","filename":"file5"},{"photo_id":"1398130031","filename":"file2"},{"photo_id":"1398130033","filename":"file4"},{"photo_id":"1398130025","filename":"file1"},{"photo_id":"1398130019","filename":"file0"},{"photo_id":"1398130032","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398130032":["hashtag1","hashtag2"]},{"1398130031":["hashtag1","hashtag2"]},{"1398130025":["hashtag1","hashtag2"]},{"1398130019":["hashtag1","hashtag2"]},{"1398130034":["hashtag1","hashtag2"]},{"1398130033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398130032, 1398130031, 1398130025, 1398130019, 1398130034, 1398130033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.314342975616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:09:22.362294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/20/58/image_05122025_20_58_44_9587.jpg', '/home/pi/Desktop/images/05122025/21/08/image_05122025_21_08_15_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/20/58/image_05122025_20_58_44_9587.jpg
/home/pi/Desktop/images/05122025/21/08/image_05122025_21_08_15_9828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130035","1398130037"],"photo_ids_order":["1398130035","1398130037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/81884da4a3853ea4b206fccfb2118e7c.jpg","text":"TemporaryFile(/tmp/multipartBody4461942513822018863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965422900,"filename":"image_05122025_20_58_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3de153180275bea21e1e214113a0f329.jpg","text":"TemporaryFile(/tmp/multipartBody7935012031919067221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965422900,"filename":"image_05122025_21_08_15_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398130037","file0":"1398130035"},"map_files_photo_id_array":[{"photo_id":"1398130037","filename":"file1"},{"photo_id":"1398130035","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398130035":["hashtag1","hashtag2"]},{"1398130037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398130035, 1398130037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.390198469161987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:09:42.317104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_19_2638.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_22_2759.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_28_2773.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_37_2558.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_43_2781.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_46_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_19_2638.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_22_2759.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_28_2773.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_37_2558.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_43_2781.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_46_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130047","1398130043","1398130046","1398130049","1398130048","1398130045"],"photo_ids_order":["1398130043","1398130045","1398130046","1398130047","1398130048","1398130049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/935f24b490c054574f1616d23ddb995d.jpg","text":"TemporaryFile(/tmp/multipartBody8921009623768239421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965443866,"filename":"image_31102025_20_37_37_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/5/f72c1e8b3223526d86766edcccdfc316.jpg","text":"TemporaryFile(/tmp/multipartBody1413958784008542097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965443866,"filename":"image_31102025_20_37_19_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/5/59cf4463e63270d38979361b999d4d71.jpg","text":"TemporaryFile(/tmp/multipartBody351039196034085540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965443866,"filename":"image_31102025_20_37_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/5/e04130f2f390e31aec81ab8e16551408.jpg","text":"TemporaryFile(/tmp/multipartBody8439284601231170880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965443866,"filename":"image_31102025_20_37_46_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/5/729bb0a00735b287bde67036570415b2.jpg","text":"TemporaryFile(/tmp/multipartBody1216547152157266937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965443866,"filename":"image_31102025_20_37_43_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/5/d3778377731b0ebf99343dea62836eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2421005015679153602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965443866,"filename":"image_31102025_20_37_22_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130046","file1":"1398130045","file0":"1398130043","file4":"1398130048","file5":"1398130049","file3":"1398130047"},"map_files_photo_id_array":[{"photo_id":"1398130049","filename":"file5"},{"photo_id":"1398130046","filename":"file2"},{"photo_id":"1398130048","filename":"file4"},{"photo_id":"1398130045","filename":"file1"},{"photo_id":"1398130043","filename":"file0"},{"photo_id":"1398130047","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398130047":["hashtag1","hashtag2"]},{"1398130043":["hashtag1","hashtag2"]},{"1398130046":["hashtag1","hashtag2"]},{"1398130049":["hashtag1","hashtag2"]},{"1398130048":["hashtag1","hashtag2"]},{"1398130045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398130047, 1398130043, 1398130046, 1398130049, 1398130048, 1398130045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.345271825790405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:10:22.473865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/08/image_05122025_21_08_35_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/08/image_05122025_21_08_35_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130090"],"photo_id":"1398130090","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c587c2991024a0cd446da4b3d14cb25.jpg","text":"TemporaryFile(/tmp/multipartBody4508737218898409820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965482974,"filename":"image_05122025_21_08_35_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398130090"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398130090"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.206230401992798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:10:42.593207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_49_2593.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_53_3673.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_55_2595.jpg', '/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_58_2595.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_04_2774.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_07_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_49_2593.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_53_3673.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_55_2595.jpg
/home/pi/Desktop/images/31102025/20/37/image_31102025_20_37_58_2595.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_04_2774.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_07_2760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130104","1398130106","1398130100","1398130103","1398130102","1398130105"],"photo_ids_order":["1398130100","1398130102","1398130103","1398130104","1398130105","1398130106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3077e948ef4487c3daab839e7bd55b05.jpg","text":"TemporaryFile(/tmp/multipartBody4199289512947491911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965504194,"filename":"image_31102025_20_37_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/5/1744eccda1e932774393d20eb643a9f5.jpg","text":"TemporaryFile(/tmp/multipartBody5906612917990840748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965504194,"filename":"image_31102025_20_38_07_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/5/7cedece5b62bc213097678f031131036.jpg","text":"TemporaryFile(/tmp/multipartBody5702129651330566512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965504194,"filename":"image_31102025_20_37_49_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/5/ea80d96396a1f0a6de1473bc7880dd0f.jpg","text":"TemporaryFile(/tmp/multipartBody8813487687671354212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965504194,"filename":"image_31102025_20_37_55_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/5/5a3c811836bf999fb871cad9b8da12b2.jpg","text":"TemporaryFile(/tmp/multipartBody9146603085783662067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965504194,"filename":"image_31102025_20_37_53_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/5/e1b49056e84f5f8e90ac7868945e526f.jpg","text":"TemporaryFile(/tmp/multipartBody1766819098318243606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965504194,"filename":"image_31102025_20_38_04_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130103","file1":"1398130102","file0":"1398130100","file4":"1398130105","file5":"1398130106","file3":"1398130104"},"map_files_photo_id_array":[{"photo_id":"1398130106","filename":"file5"},{"photo_id":"1398130103","filename":"file2"},{"photo_id":"1398130105","filename":"file4"},{"photo_id":"1398130102","filename":"file1"},{"photo_id":"1398130100","filename":"file0"},{"photo_id":"1398130104","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398130104":["hashtag1","hashtag2"]},{"1398130106":["hashtag1","hashtag2"]},{"1398130100":["hashtag1","hashtag2"]},{"1398130103":["hashtag1","hashtag2"]},{"1398130102":["hashtag1","hashtag2"]},{"1398130105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398130104, 1398130106, 1398130100, 1398130103, 1398130102, 1398130105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.905805349349976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:11:22.814467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_10_3513.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_13_2664.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_16_2741.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_19_3642.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_22_2754.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_25_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_10_3513.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_13_2664.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_16_2741.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_19_3642.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_22_2754.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_25_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":["1398130131","1398130122","1398130181","1398130133","1398130213","1398130144"],"photo_ids_order":["1398130122","1398130131","1398130133","1398130144","1398130181","1398130213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/afbc87e7009ff0fb1319a2f62cd08bc4.jpg","text":"TemporaryFile(/tmp/multipartBody3106179092603364979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965544410,"filename":"image_31102025_20_38_13_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/5/7973d6cc49f6f675207807337e724e48.jpg","text":"TemporaryFile(/tmp/multipartBody9205386633877650385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965544410,"filename":"image_31102025_20_38_10_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/5/fcf910cd6e4dbf2badd8a4fa272fa205.jpg","text":"TemporaryFile(/tmp/multipartBody7160648590067009377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965544410,"filename":"image_31102025_20_38_22_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fc1b3158ef6f7633653bb4c2068c6abc.jpg","text":"TemporaryFile(/tmp/multipartBody1079377629804129644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965544410,"filename":"image_31102025_20_38_16_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/5/a192e2ee89225c0e276da50ac5413591.jpg","text":"TemporaryFile(/tmp/multipartBody8385295756213132243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965544410,"filename":"image_31102025_20_38_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/5/82e065ddd1480fc30c4d214656fd4df5.jpg","text":"TemporaryFile(/tmp/multipartBody128447907465916632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965544410,"filename":"image_31102025_20_38_19_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130133","file1":"1398130131","file0":"1398130122","file4":"1398130181","file5":"1398130213","file3":"1398130144"},"map_files_photo_id_array":[{"photo_id":"1398130213","filename":"file5"},{"photo_id":"1398130133","filename":"file2"},{"photo_id":"1398130181","filename":"file4"},{"photo_id":"1398130131","filename":"file1"},{"photo_id":"1398130122","filename":"file0"},{"photo_id":"1398130144","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398130131":["hashtag1","hashtag2"]},{"1398130122":["hashtag1","hashtag2"]},{"1398130181":["hashtag1","hashtag2"]},{"1398130133":["hashtag1","hashtag2"]},{"1398130213":["hashtag1","hashtag2"]},{"1398130144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398130131, 1398130122, 1398130181, 1398130133, 1398130213, 1398130144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54948377609253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:12:02.323893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/13/image_03122025_03_13_54_10692.jpg', '/home/pi/Desktop/images/03122025/03/13/image_03122025_03_14_04_9827.jpg', '/home/pi/Desktop/images/03122025/03/17/image_03122025_03_17_34_9805.jpg', '/home/pi/Desktop/images/03122025/03/17/image_03122025_03_17_44_9786.jpg', '/home/pi/Desktop/images/03122025/03/20/image_03122025_03_21_04_9857.jpg', '/home/pi/Desktop/images/03122025/03/21/image_03122025_03_21_15_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/13/image_03122025_03_13_54_10692.jpg
/home/pi/Desktop/images/03122025/03/13/image_03122025_03_14_04_9827.jpg
/home/pi/Desktop/images/03122025/03/17/image_03122025_03_17_34_9805.jpg
/home/pi/Desktop/images/03122025/03/17/image_03122025_03_17_44_9786.jpg
/home/pi/Desktop/images/03122025/03/20/image_03122025_03_21_04_9857.jpg
/home/pi/Desktop/images/03122025/03/21/image_03122025_03_21_15_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":["1398130230","1398130224","1398130227","1398130226","1398130228","1398130225"],"photo_ids_order":["1398130224","1398130225","1398130226","1398130227","1398130228","1398130230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/70a17a9b3f68b8f18ccf6cfa91210da6.jpg","text":"TemporaryFile(/tmp/multipartBody3099764349904830816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965584169,"filename":"image_03122025_03_21_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/5/33a2892d238b7e67f86ecb4c61a28aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2444920921693398440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965584169,"filename":"image_03122025_03_13_54_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/5/93f69b12a8d0e3acce85ac496e27de8b.jpg","text":"TemporaryFile(/tmp/multipartBody6923069942266420638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965584169,"filename":"image_03122025_03_17_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/5/2bd22180d674b90777db56737b2cbb20.jpg","text":"TemporaryFile(/tmp/multipartBody2670970459197710693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965584169,"filename":"image_03122025_03_17_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/5/d1d6b78dbd08423c4f5791cc27dc6dc0.jpg","text":"TemporaryFile(/tmp/multipartBody9188967011860188367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965584169,"filename":"image_03122025_03_21_04_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/5/47187ed924fa2668135313ef26cee20c.jpg","text":"TemporaryFile(/tmp/multipartBody7419284470484190681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965584169,"filename":"image_03122025_03_14_04_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130226","file1":"1398130225","file0":"1398130224","file4":"1398130228","file5":"1398130230","file3":"1398130227"},"map_files_photo_id_array":[{"photo_id":"1398130230","filename":"file5"},{"photo_id":"1398130226","filename":"file2"},{"photo_id":"1398130228","filename":"file4"},{"photo_id":"1398130225","filename":"file1"},{"photo_id":"1398130224","filename":"file0"},{"photo_id":"1398130227","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398130230":["hashtag1","hashtag2"]},{"1398130224":["hashtag1","hashtag2"]},{"1398130227":["hashtag1","hashtag2"]},{"1398130226":["hashtag1","hashtag2"]},{"1398130228":["hashtag1","hashtag2"]},{"1398130225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398130230, 1398130224, 1398130227, 1398130226, 1398130228, 1398130225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.987143993377686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:12:41.897434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_29_3749.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_31_2521.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_34_2562.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_37_3582.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_43_3610.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_46_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_29_3749.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_31_2521.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_34_2562.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_37_3582.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_43_3610.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_46_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":["1398130335","1398130236","1398130370","1398130235","1398130261","1398130300"],"photo_ids_order":["1398130235","1398130236","1398130261","1398130300","1398130335","1398130370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ff0154f94dc27a7516aebec59707fd5a.jpg","text":"TemporaryFile(/tmp/multipartBody8773826826573486618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965623482,"filename":"image_31102025_20_38_43_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/5/7e9bf11fd7824bc51e03177b0a7acffb.jpg","text":"TemporaryFile(/tmp/multipartBody1069039548104910553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965623482,"filename":"image_31102025_20_38_31_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/5/d1821ae6e159e933d04ae31e5c4c3cd2.jpg","text":"TemporaryFile(/tmp/multipartBody7932159490309368761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965623482,"filename":"image_31102025_20_38_46_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/83cb34feeb66926d1b8a5089f53e6104.jpg","text":"TemporaryFile(/tmp/multipartBody9128938782738981213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965623482,"filename":"image_31102025_20_38_29_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/5/286d7dea797c9138a2858fce92b72b22.jpg","text":"TemporaryFile(/tmp/multipartBody2183553933515994427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965623482,"filename":"image_31102025_20_38_34_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/5/6aa1c8f6808230a18f540d4038df61d2.jpg","text":"TemporaryFile(/tmp/multipartBody4651224078916299730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965623482,"filename":"image_31102025_20_38_37_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130261","file1":"1398130236","file0":"1398130235","file4":"1398130335","file5":"1398130370","file3":"1398130300"},"map_files_photo_id_array":[{"photo_id":"1398130370","filename":"file5"},{"photo_id":"1398130261","filename":"file2"},{"photo_id":"1398130335","filename":"file4"},{"photo_id":"1398130236","filename":"file1"},{"photo_id":"1398130235","filename":"file0"},{"photo_id":"1398130300","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398130335":["hashtag1","hashtag2"]},{"1398130236":["hashtag1","hashtag2"]},{"1398130370":["hashtag1","hashtag2"]},{"1398130235":["hashtag1","hashtag2"]},{"1398130261":["hashtag1","hashtag2"]},{"1398130300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398130335, 1398130236, 1398130370, 1398130235, 1398130261, 1398130300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59511685371399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:13:22.218364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/10/image_05122025_21_10_16_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/10/image_05122025_21_10_16_10693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130424"],"photo_id":"1398130424","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/61f85162a0aa433146d2d60622eed4a0.jpg","text":"TemporaryFile(/tmp/multipartBody2954778744264441528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965662714,"filename":"image_05122025_21_10_16_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398130424"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398130424"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.141493320465088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:13:42.023978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_49_2652.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_52_3587.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_55_2620.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_58_2597.jpg', '/home/pi/Desktop/images/31102025/20/38/image_31102025_20_39_01_3547.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_04_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_49_2652.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_52_3587.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_55_2620.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_38_58_2597.jpg
/home/pi/Desktop/images/31102025/20/38/image_31102025_20_39_01_3547.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_04_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":["1398130437","1398130431","1398130434","1398130433","1398130436","1398130435"],"photo_ids_order":["1398130431","1398130433","1398130434","1398130435","1398130436","1398130437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bfeaeec3cc22e49134f614c829bd54c4.jpg","text":"TemporaryFile(/tmp/multipartBody247832557116952330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965683606,"filename":"image_31102025_20_39_04_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/5/79fe121f97ffa0d09d666cd6bb5cc57a.jpg","text":"TemporaryFile(/tmp/multipartBody6448895089691313015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965683606,"filename":"image_31102025_20_38_49_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/5/0a997722465e35d94d862d10e106ef25.jpg","text":"TemporaryFile(/tmp/multipartBody6920767038283261664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965683606,"filename":"image_31102025_20_38_55_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/5/09cf6a1213ee30b1c2255067a10bd3aa.jpg","text":"TemporaryFile(/tmp/multipartBody3907214122505097709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965683606,"filename":"image_31102025_20_38_52_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/5/0c46302431c6713bf28267777ceae2cc.jpg","text":"TemporaryFile(/tmp/multipartBody7425295581387815617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965683606,"filename":"image_31102025_20_39_01_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/376d6edba3a822ba9e287c24a19d5d59.jpg","text":"TemporaryFile(/tmp/multipartBody36708957259120456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965683606,"filename":"image_31102025_20_38_58_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130434","file1":"1398130433","file0":"1398130431","file4":"1398130436","file5":"1398130437","file3":"1398130435"},"map_files_photo_id_array":[{"photo_id":"1398130437","filename":"file5"},{"photo_id":"1398130434","filename":"file2"},{"photo_id":"1398130436","filename":"file4"},{"photo_id":"1398130433","filename":"file1"},{"photo_id":"1398130431","filename":"file0"},{"photo_id":"1398130435","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398130437":["hashtag1","hashtag2"]},{"1398130431":["hashtag1","hashtag2"]},{"1398130434":["hashtag1","hashtag2"]},{"1398130433":["hashtag1","hashtag2"]},{"1398130436":["hashtag1","hashtag2"]},{"1398130435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398130437, 1398130431, 1398130434, 1398130433, 1398130436, 1398130435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69243049621582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:14:22.233366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_07_2733.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_10_3680.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_13_2606.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_16_2621.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_19_3694.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_22_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_07_2733.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_10_3680.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_13_2606.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_16_2621.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_19_3694.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_22_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130595","1398130592","1398130634","1398130594","1398130561","1398130590"],"photo_ids_order":["1398130561","1398130590","1398130592","1398130594","1398130595","1398130634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94bc310b83a00bf850cdcbbe7deed43c.jpg","text":"TemporaryFile(/tmp/multipartBody2932959317386315162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965723790,"filename":"image_31102025_20_39_19_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ca76bf0a998924261265f3cac8493668.jpg","text":"TemporaryFile(/tmp/multipartBody7382631542543373157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965723790,"filename":"image_31102025_20_39_13_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/5/f30b6b71a8c38bad011357562a72f731.jpg","text":"TemporaryFile(/tmp/multipartBody6843690114412484934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965723790,"filename":"image_31102025_20_39_22_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/5/9864310abef9508f7f5536256524d343.jpg","text":"TemporaryFile(/tmp/multipartBody8147690384517352619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965723790,"filename":"image_31102025_20_39_16_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/5/d7f61a6bc52c0010c1804a5030567285.jpg","text":"TemporaryFile(/tmp/multipartBody2074760014528096799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965723790,"filename":"image_31102025_20_39_07_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/5/634b8ea101fce7d142478fb768f2d228.jpg","text":"TemporaryFile(/tmp/multipartBody8162640140643815945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965723790,"filename":"image_31102025_20_39_10_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130592","file1":"1398130590","file0":"1398130561","file4":"1398130595","file5":"1398130634","file3":"1398130594"},"map_files_photo_id_array":[{"photo_id":"1398130634","filename":"file5"},{"photo_id":"1398130592","filename":"file2"},{"photo_id":"1398130595","filename":"file4"},{"photo_id":"1398130590","filename":"file1"},{"photo_id":"1398130561","filename":"file0"},{"photo_id":"1398130594","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398130595":["hashtag1","hashtag2"]},{"1398130592":["hashtag1","hashtag2"]},{"1398130634":["hashtag1","hashtag2"]},{"1398130594":["hashtag1","hashtag2"]},{"1398130561":["hashtag1","hashtag2"]},{"1398130590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398130595, 1398130592, 1398130634, 1398130594, 1398130561, 1398130590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.209845304489136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:15:02.923656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/21/image_03122025_03_21_34_9745.jpg', '/home/pi/Desktop/images/03122025/03/21/image_03122025_03_21_47_13157.jpg', '/home/pi/Desktop/images/03122025/03/21/image_03122025_03_21_54_6714.jpg', '/home/pi/Desktop/images/03122025/03/21/image_03122025_03_22_05_10737.jpg', '/home/pi/Desktop/images/03122025/03/22/image_03122025_03_22_14_9689.jpg', '/home/pi/Desktop/images/03122025/03/22/image_03122025_03_22_35_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/21/image_03122025_03_21_34_9745.jpg
/home/pi/Desktop/images/03122025/03/21/image_03122025_03_21_47_13157.jpg
/home/pi/Desktop/images/03122025/03/21/image_03122025_03_21_54_6714.jpg
/home/pi/Desktop/images/03122025/03/21/image_03122025_03_22_05_10737.jpg
/home/pi/Desktop/images/03122025/03/22/image_03122025_03_22_14_9689.jpg
/home/pi/Desktop/images/03122025/03/22/image_03122025_03_22_35_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130680","1398130713","1398130682","1398130676","1398130679","1398130678"],"photo_ids_order":["1398130676","1398130678","1398130679","1398130680","1398130682","1398130713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ec0eb9c8365db4d09f33d3d639b847f.jpg","text":"TemporaryFile(/tmp/multipartBody2535056435401721576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965764840,"filename":"image_03122025_03_22_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/5/df65df07f3b17ab8db58f8966b7b8890.jpg","text":"TemporaryFile(/tmp/multipartBody7774664037657530496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965764840,"filename":"image_03122025_03_22_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a76770123c6f6bef058ab8083926f9d4.jpg","text":"TemporaryFile(/tmp/multipartBody6444772468306156314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965764840,"filename":"image_03122025_03_22_14_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/5/c3aefee927aa4021f71beff440a0972a.jpg","text":"TemporaryFile(/tmp/multipartBody6312600492701542767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965764840,"filename":"image_03122025_03_21_34_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/35305e216dddd073e81f4eff1d05e4d3.jpg","text":"TemporaryFile(/tmp/multipartBody3238012189760259936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965764840,"filename":"image_03122025_03_21_54_6714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/114344dc0df61e12123c3c54ada83c69.jpg","text":"TemporaryFile(/tmp/multipartBody1532380831509207974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965764840,"filename":"image_03122025_03_21_47_13157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130679","file1":"1398130678","file0":"1398130676","file4":"1398130682","file5":"1398130713","file3":"1398130680"},"map_files_photo_id_array":[{"photo_id":"1398130713","filename":"file5"},{"photo_id":"1398130679","filename":"file2"},{"photo_id":"1398130682","filename":"file4"},{"photo_id":"1398130678","filename":"file1"},{"photo_id":"1398130676","filename":"file0"},{"photo_id":"1398130680","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398130680":["hashtag1","hashtag2"]},{"1398130713":["hashtag1","hashtag2"]},{"1398130682":["hashtag1","hashtag2"]},{"1398130676":["hashtag1","hashtag2"]},{"1398130679":["hashtag1","hashtag2"]},{"1398130678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398130680, 1398130713, 1398130682, 1398130676, 1398130679, 1398130678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36164617538452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:15:42.334186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_31_2608.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_34_2696.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_37_3546.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_40_2545.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_43_3560.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_49_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_31_2608.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_34_2696.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_37_3546.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_40_2545.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_43_3560.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_49_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":["1398130767","1398130760","1398130763","1398130765","1398130762","1398130764"],"photo_ids_order":["1398130760","1398130762","1398130763","1398130764","1398130765","1398130767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/10af0b43f5a61c98cdbd16bef9163082.jpg","text":"TemporaryFile(/tmp/multipartBody2679143791004522497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965803904,"filename":"image_31102025_20_39_49_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/5/e45a1cb928d1510e3dcced10662d0c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7988073826444699400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965803904,"filename":"image_31102025_20_39_31_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/5/0caa6813a9fa4d97c3497b955ae34fc1.jpg","text":"TemporaryFile(/tmp/multipartBody5807541624016922201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965803904,"filename":"image_31102025_20_39_37_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/5/4729ce554ad564cac65d700c3f56acea.jpg","text":"TemporaryFile(/tmp/multipartBody791260309886314837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965803904,"filename":"image_31102025_20_39_43_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2fd0e3841558a9cf952ae13bd0c8e220.jpg","text":"TemporaryFile(/tmp/multipartBody6863345340157368903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965803904,"filename":"image_31102025_20_39_34_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/5/6730465dc6c5c91413e9f20f2046c806.jpg","text":"TemporaryFile(/tmp/multipartBody6987551182790733641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965803904,"filename":"image_31102025_20_39_40_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130763","file1":"1398130762","file0":"1398130760","file4":"1398130765","file5":"1398130767","file3":"1398130764"},"map_files_photo_id_array":[{"photo_id":"1398130767","filename":"file5"},{"photo_id":"1398130763","filename":"file2"},{"photo_id":"1398130765","filename":"file4"},{"photo_id":"1398130762","filename":"file1"},{"photo_id":"1398130760","filename":"file0"},{"photo_id":"1398130764","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398130767":["hashtag1","hashtag2"]},{"1398130760":["hashtag1","hashtag2"]},{"1398130763":["hashtag1","hashtag2"]},{"1398130765":["hashtag1","hashtag2"]},{"1398130762":["hashtag1","hashtag2"]},{"1398130764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398130767, 1398130760, 1398130763, 1398130765, 1398130762, 1398130764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.873539686203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:16:22.503441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_52_2761.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_55_3846.jpg', '/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_58_2706.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_01_2734.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_07_3755.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_12_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_52_2761.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_55_3846.jpg
/home/pi/Desktop/images/31102025/20/39/image_31102025_20_39_58_2706.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_01_2734.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_07_3755.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_12_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130778","1398130772","1398130780","1398130774","1398130776","1398130770"],"photo_ids_order":["1398130770","1398130772","1398130774","1398130776","1398130778","1398130780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51e5155d7c779ef4533c2609020ba4b0.jpg","text":"TemporaryFile(/tmp/multipartBody190969587429020173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965844077,"filename":"image_31102025_20_40_07_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/5/c503ecead87f79d17c75f76489419386.jpg","text":"TemporaryFile(/tmp/multipartBody7553583637173118034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965844077,"filename":"image_31102025_20_39_55_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bc6179b73efd49701600420aea023aa2.jpg","text":"TemporaryFile(/tmp/multipartBody6973874619682259783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965844077,"filename":"image_31102025_20_40_12_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/5/c0e50559b00aa7edae046283df931080.jpg","text":"TemporaryFile(/tmp/multipartBody753209161537932475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965844077,"filename":"image_31102025_20_39_58_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/5/a2c2630f3bd7ef9e57242c84afc45e47.jpg","text":"TemporaryFile(/tmp/multipartBody8628886364022319812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965844077,"filename":"image_31102025_20_40_01_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/5/e47575763684bf86c6e9dcbe50f42019.jpg","text":"TemporaryFile(/tmp/multipartBody3205586064905057639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965844077,"filename":"image_31102025_20_39_52_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130774","file1":"1398130772","file0":"1398130770","file4":"1398130778","file5":"1398130780","file3":"1398130776"},"map_files_photo_id_array":[{"photo_id":"1398130780","filename":"file5"},{"photo_id":"1398130774","filename":"file2"},{"photo_id":"1398130778","filename":"file4"},{"photo_id":"1398130772","filename":"file1"},{"photo_id":"1398130770","filename":"file0"},{"photo_id":"1398130776","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398130778":["hashtag1","hashtag2"]},{"1398130772":["hashtag1","hashtag2"]},{"1398130780":["hashtag1","hashtag2"]},{"1398130774":["hashtag1","hashtag2"]},{"1398130776":["hashtag1","hashtag2"]},{"1398130770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398130778, 1398130772, 1398130780, 1398130774, 1398130776, 1398130770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.148059368133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:17:03.294621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/22/image_03122025_03_23_04_6762.jpg', '/home/pi/Desktop/images/03122025/03/23/image_03122025_03_23_25_10223.jpg', '/home/pi/Desktop/images/03122025/03/23/image_03122025_03_23_34_9640.jpg', '/home/pi/Desktop/images/03122025/03/23/image_03122025_03_23_54_9653.jpg', '/home/pi/Desktop/images/03122025/03/24/image_03122025_03_24_14_10234.jpg', '/home/pi/Desktop/images/03122025/03/24/image_03122025_03_24_24_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/22/image_03122025_03_23_04_6762.jpg
/home/pi/Desktop/images/03122025/03/23/image_03122025_03_23_25_10223.jpg
/home/pi/Desktop/images/03122025/03/23/image_03122025_03_23_34_9640.jpg
/home/pi/Desktop/images/03122025/03/23/image_03122025_03_23_54_9653.jpg
/home/pi/Desktop/images/03122025/03/24/image_03122025_03_24_14_10234.jpg
/home/pi/Desktop/images/03122025/03/24/image_03122025_03_24_24_9962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398130920","1398130809","1398130781","1398130882","1398130846","1398130956"],"photo_ids_order":["1398130781","1398130809","1398130846","1398130882","1398130920","1398130956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cceabb90c8826784c76c04608e749c1f.jpg","text":"TemporaryFile(/tmp/multipartBody4241329164788666412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965885191,"filename":"image_03122025_03_24_14_10234.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/986729686799ae17325e140e3a046e40.jpg","text":"TemporaryFile(/tmp/multipartBody636760624571584951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965885191,"filename":"image_03122025_03_23_25_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/5/5e32c97ca1856d0090ae0922c0d8c62a.jpg","text":"TemporaryFile(/tmp/multipartBody4795089149075879524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965885191,"filename":"image_03122025_03_23_04_6762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f19dba4eb1fb3cf501360bc5f45cc21a.jpg","text":"TemporaryFile(/tmp/multipartBody6581069407374057227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965885191,"filename":"image_03122025_03_23_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/5/27961aba00c9c60523ac1d6d09db1f58.jpg","text":"TemporaryFile(/tmp/multipartBody4212423981685281410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965885191,"filename":"image_03122025_03_23_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/5/deb29c86d001d835ae8441905a21f355.jpg","text":"TemporaryFile(/tmp/multipartBody6305282542311804547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965885191,"filename":"image_03122025_03_24_24_9962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398130846","file1":"1398130809","file0":"1398130781","file4":"1398130920","file5":"1398130956","file3":"1398130882"},"map_files_photo_id_array":[{"photo_id":"1398130956","filename":"file5"},{"photo_id":"1398130846","filename":"file2"},{"photo_id":"1398130920","filename":"file4"},{"photo_id":"1398130809","filename":"file1"},{"photo_id":"1398130781","filename":"file0"},{"photo_id":"1398130882","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398130920":["hashtag1","hashtag2"]},{"1398130809":["hashtag1","hashtag2"]},{"1398130781":["hashtag1","hashtag2"]},{"1398130882":["hashtag1","hashtag2"]},{"1398130846":["hashtag1","hashtag2"]},{"1398130956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398130920, 1398130809, 1398130781, 1398130882, 1398130846, 1398130956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66592836380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:17:42.812452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_16_3759.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_19_2696.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_22_2650.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_25_3561.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_31_3681.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_39_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_16_3759.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_19_2696.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_22_2650.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_25_3561.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_31_3681.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_39_2822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131171","1398131102","1398131207","1398131242","1398131065","1398131137"],"photo_ids_order":["1398131065","1398131102","1398131137","1398131171","1398131207","1398131242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e05c3d37066f85bea527bca6bf8a99d0.jpg","text":"TemporaryFile(/tmp/multipartBody6111038492985107256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965924397,"filename":"image_31102025_20_40_25_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/5/d6bc1b50c9b2cb5a465b528276ccf116.jpg","text":"TemporaryFile(/tmp/multipartBody6021588932968153288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965924397,"filename":"image_31102025_20_40_19_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/5/56464961bcd474dd688cc929d58eb3bf.jpg","text":"TemporaryFile(/tmp/multipartBody128357734469145751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965924397,"filename":"image_31102025_20_40_31_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/5/bf1cd1e9771ba8acc12ac7dda355949f.jpg","text":"TemporaryFile(/tmp/multipartBody2628883990143993334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965924397,"filename":"image_31102025_20_40_39_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e85b7e3a9a02529751059f431a5827f9.jpg","text":"TemporaryFile(/tmp/multipartBody3238988074719805917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965924397,"filename":"image_31102025_20_40_16_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/5/5e7d5e7f0884dfb9c521a66f8dcfa42d.jpg","text":"TemporaryFile(/tmp/multipartBody7272789265437600335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965924397,"filename":"image_31102025_20_40_22_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131137","file1":"1398131102","file0":"1398131065","file4":"1398131207","file5":"1398131242","file3":"1398131171"},"map_files_photo_id_array":[{"photo_id":"1398131242","filename":"file5"},{"photo_id":"1398131137","filename":"file2"},{"photo_id":"1398131207","filename":"file4"},{"photo_id":"1398131102","filename":"file1"},{"photo_id":"1398131065","filename":"file0"},{"photo_id":"1398131171","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131171":["hashtag1","hashtag2"]},{"1398131102":["hashtag1","hashtag2"]},{"1398131207":["hashtag1","hashtag2"]},{"1398131242":["hashtag1","hashtag2"]},{"1398131065":["hashtag1","hashtag2"]},{"1398131137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131171, 1398131102, 1398131207, 1398131242, 1398131065, 1398131137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97733116149902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:18:21.999457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_43_3695.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_46_2657.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_52_3620.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_55_2715.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_58_2751.jpg', '/home/pi/Desktop/images/31102025/20/40/image_31102025_20_41_01_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_43_3695.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_46_2657.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_52_3620.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_55_2715.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_40_58_2751.jpg
/home/pi/Desktop/images/31102025/20/40/image_31102025_20_41_01_3800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131342","1398131344","1398131346","1398131340","1398131334","1398131337"],"photo_ids_order":["1398131334","1398131337","1398131340","1398131342","1398131344","1398131346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/82855cac9c01acb7ecd710d99356fcd3.jpg","text":"TemporaryFile(/tmp/multipartBody6018965198604215243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965963575,"filename":"image_31102025_20_40_55_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9ad46e2206d761bf4baa81882fc39547.jpg","text":"TemporaryFile(/tmp/multipartBody4822984855047840007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965963575,"filename":"image_31102025_20_40_58_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/5/50ab19b6792fda94aac49875fde207f2.jpg","text":"TemporaryFile(/tmp/multipartBody8620819411681908905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965963575,"filename":"image_31102025_20_41_01_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/5/b68cbe5ccafc310c2004faf9ebc38967.jpg","text":"TemporaryFile(/tmp/multipartBody1281857107148922357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965963575,"filename":"image_31102025_20_40_52_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/5/4d3e73f290ecbc5c8964013c11e08948.jpg","text":"TemporaryFile(/tmp/multipartBody7690879601562592591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965963575,"filename":"image_31102025_20_40_43_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/5/1b6466e68fdfb987eac06912cae337f8.jpg","text":"TemporaryFile(/tmp/multipartBody6178424051120833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764965963575,"filename":"image_31102025_20_40_46_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131340","file1":"1398131337","file0":"1398131334","file4":"1398131344","file5":"1398131346","file3":"1398131342"},"map_files_photo_id_array":[{"photo_id":"1398131346","filename":"file5"},{"photo_id":"1398131340","filename":"file2"},{"photo_id":"1398131344","filename":"file4"},{"photo_id":"1398131337","filename":"file1"},{"photo_id":"1398131334","filename":"file0"},{"photo_id":"1398131342","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131342":["hashtag1","hashtag2"]},{"1398131344":["hashtag1","hashtag2"]},{"1398131346":["hashtag1","hashtag2"]},{"1398131340":["hashtag1","hashtag2"]},{"1398131334":["hashtag1","hashtag2"]},{"1398131337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131342, 1398131344, 1398131346, 1398131340, 1398131334, 1398131337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43258309364319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:19:03.110790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/24/image_03122025_03_24_34_9802.jpg', '/home/pi/Desktop/images/03122025/03/24/image_03122025_03_24_44_10194.jpg', '/home/pi/Desktop/images/03122025/03/24/image_03122025_03_25_04_9676.jpg', '/home/pi/Desktop/images/03122025/03/25/image_03122025_03_25_14_10041.jpg', '/home/pi/Desktop/images/03122025/03/25/image_03122025_03_25_24_9666.jpg', '/home/pi/Desktop/images/03122025/03/25/image_03122025_03_25_54_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/24/image_03122025_03_24_34_9802.jpg
/home/pi/Desktop/images/03122025/03/24/image_03122025_03_24_44_10194.jpg
/home/pi/Desktop/images/03122025/03/24/image_03122025_03_25_04_9676.jpg
/home/pi/Desktop/images/03122025/03/25/image_03122025_03_25_14_10041.jpg
/home/pi/Desktop/images/03122025/03/25/image_03122025_03_25_24_9666.jpg
/home/pi/Desktop/images/03122025/03/25/image_03122025_03_25_54_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131354","1398131348","1398131350","1398131347","1398131352","1398131349"],"photo_ids_order":["1398131347","1398131348","1398131349","1398131350","1398131352","1398131354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cec76d35e9b5402a12e92380f8a56e8b.jpg","text":"TemporaryFile(/tmp/multipartBody6858014716173906719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966005027,"filename":"image_03122025_03_25_54_10442.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d7955701ec4de0307b3f4635f6ad4f9.jpg","text":"TemporaryFile(/tmp/multipartBody952110885484210820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966005027,"filename":"image_03122025_03_24_44_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/5/6fb2b5526b862359ce2c6127c3a2705b.jpg","text":"TemporaryFile(/tmp/multipartBody7089091184605772706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966005027,"filename":"image_03122025_03_25_14_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/56f081f566f2bc37188f6f7eaec12a84.jpg","text":"TemporaryFile(/tmp/multipartBody482844317573699972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966005027,"filename":"image_03122025_03_24_34_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/5/648497b4d72f9f480639c3173e5e3f12.jpg","text":"TemporaryFile(/tmp/multipartBody2301801567063238214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966005027,"filename":"image_03122025_03_25_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b276be34fffb6e9bd8b9e639b721bcb.jpg","text":"TemporaryFile(/tmp/multipartBody3826063814301893989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966005027,"filename":"image_03122025_03_25_04_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131349","file1":"1398131348","file0":"1398131347","file4":"1398131352","file5":"1398131354","file3":"1398131350"},"map_files_photo_id_array":[{"photo_id":"1398131354","filename":"file5"},{"photo_id":"1398131349","filename":"file2"},{"photo_id":"1398131352","filename":"file4"},{"photo_id":"1398131348","filename":"file1"},{"photo_id":"1398131347","filename":"file0"},{"photo_id":"1398131350","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131354":["hashtag1","hashtag2"]},{"1398131348":["hashtag1","hashtag2"]},{"1398131350":["hashtag1","hashtag2"]},{"1398131347":["hashtag1","hashtag2"]},{"1398131352":["hashtag1","hashtag2"]},{"1398131349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131354, 1398131348, 1398131350, 1398131347, 1398131352, 1398131349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.323460817337036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:19:42.273149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_04_2695.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_07_2503.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_10_3644.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_13_2569.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_15_2695.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_19_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_04_2695.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_07_2503.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_10_3644.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_13_2569.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_15_2695.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_19_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":["1398131363","1398131362","1398131365","1398131359","1398131364","1398131367"],"photo_ids_order":["1398131359","1398131362","1398131363","1398131364","1398131365","1398131367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/018dded18bc9159ab3fa381d44226321.jpg","text":"TemporaryFile(/tmp/multipartBody3406695651274348430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966043811,"filename":"image_31102025_20_41_10_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/5/42a54c43ffaaac68d62e5c44c5cfe034.jpg","text":"TemporaryFile(/tmp/multipartBody8329808290931680825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966043811,"filename":"image_31102025_20_41_07_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/98c10413786665f8c26303d2352026b4.jpg","text":"TemporaryFile(/tmp/multipartBody3686299778942878464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966043811,"filename":"image_31102025_20_41_15_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/5/78423874ae1182f7999b1c3050c989ef.jpg","text":"TemporaryFile(/tmp/multipartBody6818906544299987378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966043811,"filename":"image_31102025_20_41_04_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/5/21e2cd13754f9c2e6057bf5f88990454.jpg","text":"TemporaryFile(/tmp/multipartBody6540768794908176520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966043811,"filename":"image_31102025_20_41_13_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/61f46f178ecfd62028c158232adec272.jpg","text":"TemporaryFile(/tmp/multipartBody2532185009821425300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966043811,"filename":"image_31102025_20_41_19_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131363","file1":"1398131362","file0":"1398131359","file4":"1398131365","file5":"1398131367","file3":"1398131364"},"map_files_photo_id_array":[{"photo_id":"1398131367","filename":"file5"},{"photo_id":"1398131363","filename":"file2"},{"photo_id":"1398131365","filename":"file4"},{"photo_id":"1398131362","filename":"file1"},{"photo_id":"1398131359","filename":"file0"},{"photo_id":"1398131364","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131363":["hashtag1","hashtag2"]},{"1398131362":["hashtag1","hashtag2"]},{"1398131365":["hashtag1","hashtag2"]},{"1398131359":["hashtag1","hashtag2"]},{"1398131364":["hashtag1","hashtag2"]},{"1398131367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131363, 1398131362, 1398131365, 1398131359, 1398131364, 1398131367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.908209562301636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:20:22.507869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/13/image_05122025_21_13_15_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/13/image_05122025_21_13_15_9721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131369"],"photo_id":"1398131369","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d71fd7b65226ad91c23af561d78b8f27.jpg","text":"TemporaryFile(/tmp/multipartBody7235629612959014172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966083007,"filename":"image_05122025_21_13_15_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398131369"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398131369"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.30199122428894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:20:42.570754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_22_2713.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_25_2804.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_27_2755.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_31_3614.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_34_2623.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_36_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_22_2713.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_25_2804.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_27_2755.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_31_3614.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_34_2623.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_36_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":["1398131384","1398131387","1398131374","1398131383","1398131382","1398131385"],"photo_ids_order":["1398131374","1398131382","1398131383","1398131384","1398131385","1398131387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99eabe8099facb2c5f7451c170a4571e.jpg","text":"TemporaryFile(/tmp/multipartBody4661098118856070921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966104166,"filename":"image_31102025_20_41_31_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/801344713620e5f916605b53b771b228.jpg","text":"TemporaryFile(/tmp/multipartBody2393206480061209916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966104166,"filename":"image_31102025_20_41_36_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/5/9dab9572a2467ff35474c64e20ffb45f.jpg","text":"TemporaryFile(/tmp/multipartBody4382346529317203044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966104166,"filename":"image_31102025_20_41_22_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/5/885b09e9978915c02bb073d893e7f4ba.jpg","text":"TemporaryFile(/tmp/multipartBody5796398604983763531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966104166,"filename":"image_31102025_20_41_27_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/5/bad19a199fc6564f76ea29b1aa95f22c.jpg","text":"TemporaryFile(/tmp/multipartBody7847996904324918397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966104166,"filename":"image_31102025_20_41_25_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/5/c5281428b13227ff3bae383b000bf855.jpg","text":"TemporaryFile(/tmp/multipartBody5547557806856796874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966104166,"filename":"image_31102025_20_41_34_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131383","file1":"1398131382","file0":"1398131374","file4":"1398131385","file5":"1398131387","file3":"1398131384"},"map_files_photo_id_array":[{"photo_id":"1398131387","filename":"file5"},{"photo_id":"1398131383","filename":"file2"},{"photo_id":"1398131385","filename":"file4"},{"photo_id":"1398131382","filename":"file1"},{"photo_id":"1398131374","filename":"file0"},{"photo_id":"1398131384","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131384":["hashtag1","hashtag2"]},{"1398131387":["hashtag1","hashtag2"]},{"1398131374":["hashtag1","hashtag2"]},{"1398131383":["hashtag1","hashtag2"]},{"1398131382":["hashtag1","hashtag2"]},{"1398131385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131384, 1398131387, 1398131374, 1398131383, 1398131382, 1398131385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.547616720199585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:21:22.728463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_43_2719.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_46_2717.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_52_2692.jpg', '/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_58_3610.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_01_2719.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_03_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_43_2719.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_46_2717.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_52_2692.jpg
/home/pi/Desktop/images/31102025/20/41/image_31102025_20_41_58_3610.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_01_2719.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_03_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":["1398131396","1398131399","1398131390","1398131398","1398131392","1398131394"],"photo_ids_order":["1398131390","1398131392","1398131394","1398131396","1398131398","1398131399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46469c576adba4d08ed126a10281ab7b.jpg","text":"TemporaryFile(/tmp/multipartBody280131010713105487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966144300,"filename":"image_31102025_20_41_58_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/5/c15830d13e9c881c9fd63195db6d89b2.jpg","text":"TemporaryFile(/tmp/multipartBody8530088403033955877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966144300,"filename":"image_31102025_20_42_03_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/5/e54cc04415de353eaadfbb9eaf07785e.jpg","text":"TemporaryFile(/tmp/multipartBody4148809961737534551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966144300,"filename":"image_31102025_20_41_43_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/5/e4068eba1d069435832ff850eef05161.jpg","text":"TemporaryFile(/tmp/multipartBody6453653796283593107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966144300,"filename":"image_31102025_20_42_01_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/5/387696e5ec7daf8f360b3c260579fe89.jpg","text":"TemporaryFile(/tmp/multipartBody1684112828978551559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966144300,"filename":"image_31102025_20_41_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/5/53a8518d636785e60207bbab7e1c9e5c.jpg","text":"TemporaryFile(/tmp/multipartBody3848018671377034890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966144300,"filename":"image_31102025_20_41_52_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131394","file1":"1398131392","file0":"1398131390","file4":"1398131398","file5":"1398131399","file3":"1398131396"},"map_files_photo_id_array":[{"photo_id":"1398131399","filename":"file5"},{"photo_id":"1398131394","filename":"file2"},{"photo_id":"1398131398","filename":"file4"},{"photo_id":"1398131392","filename":"file1"},{"photo_id":"1398131390","filename":"file0"},{"photo_id":"1398131396","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131396":["hashtag1","hashtag2"]},{"1398131399":["hashtag1","hashtag2"]},{"1398131390":["hashtag1","hashtag2"]},{"1398131398":["hashtag1","hashtag2"]},{"1398131392":["hashtag1","hashtag2"]},{"1398131394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131396, 1398131399, 1398131390, 1398131398, 1398131392, 1398131394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.771273136138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:22:02.437448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/25/image_03122025_03_26_04_9748.jpg', '/home/pi/Desktop/images/03122025/03/26/image_03122025_03_26_14_9753.jpg', '/home/pi/Desktop/images/03122025/03/26/image_03122025_03_26_24_9700.jpg', '/home/pi/Desktop/images/03122025/03/26/image_03122025_03_26_44_9703.jpg', '/home/pi/Desktop/images/03122025/03/26/image_03122025_03_26_54_9892.jpg', '/home/pi/Desktop/images/03122025/03/26/image_03122025_03_27_04_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/25/image_03122025_03_26_04_9748.jpg
/home/pi/Desktop/images/03122025/03/26/image_03122025_03_26_14_9753.jpg
/home/pi/Desktop/images/03122025/03/26/image_03122025_03_26_24_9700.jpg
/home/pi/Desktop/images/03122025/03/26/image_03122025_03_26_44_9703.jpg
/home/pi/Desktop/images/03122025/03/26/image_03122025_03_26_54_9892.jpg
/home/pi/Desktop/images/03122025/03/26/image_03122025_03_27_04_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":["1398131403","1398131402","1398131405","1398131404","1398131401","1398131400"],"photo_ids_order":["1398131400","1398131401","1398131402","1398131403","1398131404","1398131405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2a6f59ed5654099a5ab5537c8e0f81f5.jpg","text":"TemporaryFile(/tmp/multipartBody4235036599341245090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966184257,"filename":"image_03122025_03_26_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/5/1b1c1f4f952d107ac61d264b380e46cf.jpg","text":"TemporaryFile(/tmp/multipartBody7369765362742429273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966184257,"filename":"image_03122025_03_26_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/5/0611e938dab850169e998369d8d09302.jpg","text":"TemporaryFile(/tmp/multipartBody3076061186897624152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966184257,"filename":"image_03122025_03_27_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e26e3bba4f134e3b29d1dcdcfe5984a4.jpg","text":"TemporaryFile(/tmp/multipartBody8815704488685625667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966184257,"filename":"image_03122025_03_26_54_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/491190272e4422dd166e90a43930dd5a.jpg","text":"TemporaryFile(/tmp/multipartBody3159383777831637867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966184257,"filename":"image_03122025_03_26_14_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/5/5af3dbcaa4a6ed23ab398f1e481bf612.jpg","text":"TemporaryFile(/tmp/multipartBody3848176000528437141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966184257,"filename":"image_03122025_03_26_04_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131402","file1":"1398131401","file0":"1398131400","file4":"1398131404","file5":"1398131405","file3":"1398131403"},"map_files_photo_id_array":[{"photo_id":"1398131405","filename":"file5"},{"photo_id":"1398131402","filename":"file2"},{"photo_id":"1398131404","filename":"file4"},{"photo_id":"1398131401","filename":"file1"},{"photo_id":"1398131400","filename":"file0"},{"photo_id":"1398131403","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131403":["hashtag1","hashtag2"]},{"1398131402":["hashtag1","hashtag2"]},{"1398131405":["hashtag1","hashtag2"]},{"1398131404":["hashtag1","hashtag2"]},{"1398131401":["hashtag1","hashtag2"]},{"1398131400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131403, 1398131402, 1398131405, 1398131404, 1398131401, 1398131400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.822850465774536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:22:41.970261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_10_2691.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_12_2691.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_16_3590.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_19_2639.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_22_3562.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_25_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_10_2691.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_12_2691.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_16_3590.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_19_2639.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_22_3562.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_25_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":["1398131412","1398131420","1398131417","1398131422","1398131419","1398131415"],"photo_ids_order":["1398131412","1398131415","1398131417","1398131419","1398131420","1398131422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/10b985e28f27f7b3684bb4ecddd522da.jpg","text":"TemporaryFile(/tmp/multipartBody4196133377474456240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966223559,"filename":"image_31102025_20_42_10_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/5/6da5ddb7125d92d3f666a85195e36c5a.jpg","text":"TemporaryFile(/tmp/multipartBody6145065264912319991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966223559,"filename":"image_31102025_20_42_22_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/5/06a29a8fd81e0780240acc95dc454541.jpg","text":"TemporaryFile(/tmp/multipartBody2954975815317087468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966223559,"filename":"image_31102025_20_42_16_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/5/1c3d34e533f28944797f32664db70686.jpg","text":"TemporaryFile(/tmp/multipartBody8168755450755944308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966223559,"filename":"image_31102025_20_42_25_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/5/efac47ad5d6a71ac9eead8189be74a1b.jpg","text":"TemporaryFile(/tmp/multipartBody7695305210030000082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966223559,"filename":"image_31102025_20_42_19_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/5/20dc04c4447b26dc2fcea7b090a5f5de.jpg","text":"TemporaryFile(/tmp/multipartBody4923775405232109784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966223559,"filename":"image_31102025_20_42_12_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131417","file1":"1398131415","file0":"1398131412","file4":"1398131420","file5":"1398131422","file3":"1398131419"},"map_files_photo_id_array":[{"photo_id":"1398131422","filename":"file5"},{"photo_id":"1398131417","filename":"file2"},{"photo_id":"1398131420","filename":"file4"},{"photo_id":"1398131415","filename":"file1"},{"photo_id":"1398131412","filename":"file0"},{"photo_id":"1398131419","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131412":["hashtag1","hashtag2"]},{"1398131420":["hashtag1","hashtag2"]},{"1398131417":["hashtag1","hashtag2"]},{"1398131422":["hashtag1","hashtag2"]},{"1398131419":["hashtag1","hashtag2"]},{"1398131415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131412, 1398131420, 1398131417, 1398131422, 1398131419, 1398131415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.495237827301025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:23:22.111411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/19/image_05122025_21_19_26_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/19/image_05122025_21_19_26_10605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131424"],"photo_id":"1398131424","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a03b3588c843904957625210cbdbd9f6.jpg","text":"TemporaryFile(/tmp/multipartBody7379112094630124006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966262607,"filename":"image_05122025_21_19_26_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398131424"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398131424"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.848502159118652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:23:42.185292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_28_2699.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_31_3601.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_34_2629.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_36_2684.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_39_2931.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_46_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_28_2699.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_31_3601.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_34_2629.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_36_2684.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_39_2931.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_46_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":["1398131439","1398131430","1398131438","1398131440","1398131437","1398131442"],"photo_ids_order":["1398131430","1398131437","1398131438","1398131439","1398131440","1398131442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e07daaacb411d9ad93df6d8c90517702.jpg","text":"TemporaryFile(/tmp/multipartBody5931108449270887090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966283728,"filename":"image_31102025_20_42_36_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/5/da3e6ec6835ba2868d4f6dcdebb84e0c.jpg","text":"TemporaryFile(/tmp/multipartBody3189086820208484664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966283728,"filename":"image_31102025_20_42_28_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/572752f2762dbfb26de3ef3f9e53f8a9.jpg","text":"TemporaryFile(/tmp/multipartBody2140668423054785092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966283728,"filename":"image_31102025_20_42_34_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/5/38f838e14e578e8ca63e7a876db2f8e9.jpg","text":"TemporaryFile(/tmp/multipartBody2687603646355532605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966283728,"filename":"image_31102025_20_42_39_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f401dc3155f56556714f6c7729bcdf4.jpg","text":"TemporaryFile(/tmp/multipartBody1030109441276437950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966283728,"filename":"image_31102025_20_42_31_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/5/a41e8679031efa8752a9c37f34bfd8db.jpg","text":"TemporaryFile(/tmp/multipartBody2198292429465401478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966283728,"filename":"image_31102025_20_42_46_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131438","file1":"1398131437","file0":"1398131430","file4":"1398131440","file5":"1398131442","file3":"1398131439"},"map_files_photo_id_array":[{"photo_id":"1398131442","filename":"file5"},{"photo_id":"1398131438","filename":"file2"},{"photo_id":"1398131440","filename":"file4"},{"photo_id":"1398131437","filename":"file1"},{"photo_id":"1398131430","filename":"file0"},{"photo_id":"1398131439","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131439":["hashtag1","hashtag2"]},{"1398131430":["hashtag1","hashtag2"]},{"1398131438":["hashtag1","hashtag2"]},{"1398131440":["hashtag1","hashtag2"]},{"1398131437":["hashtag1","hashtag2"]},{"1398131442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131439, 1398131430, 1398131438, 1398131440, 1398131437, 1398131442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.240209341049194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:24:22.436568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/23/image_05122025_21_23_45_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/23/image_05122025_21_23_45_9805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131443"],"photo_id":"1398131443","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f8b672d0fdd2878a98b938888c53cc82.jpg","text":"TemporaryFile(/tmp/multipartBody7698549174218252092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966322928,"filename":"image_05122025_21_23_45_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398131443"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398131443"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.280400037765503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:24:42.435174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_57_2572.jpg', '/home/pi/Desktop/images/31102025/20/42/image_31102025_20_43_01_3528.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_04_2659.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_06_2665.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_12_2626.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_16_3533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_42_57_2572.jpg
/home/pi/Desktop/images/31102025/20/42/image_31102025_20_43_01_3528.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_04_2659.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_06_2665.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_12_2626.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_16_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":["1398131450","1398131453","1398131452","1398131449","1398131451","1398131454"],"photo_ids_order":["1398131449","1398131450","1398131451","1398131452","1398131453","1398131454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9580ae5c9a05ef52a3cc2a717b6c8466.jpg","text":"TemporaryFile(/tmp/multipartBody7980762910282426756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966343951,"filename":"image_31102025_20_43_01_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/30fd34f7f23ed465cc6b16397e56e4e7.jpg","text":"TemporaryFile(/tmp/multipartBody2503094801598231148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966343951,"filename":"image_31102025_20_43_12_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c88124316bbe5cac1e63cc3e9460e542.jpg","text":"TemporaryFile(/tmp/multipartBody4196522202647302011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966343951,"filename":"image_31102025_20_43_06_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/5/af0daf841e7f90abd4b7629d5f25eda8.jpg","text":"TemporaryFile(/tmp/multipartBody1583445780303395977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966343951,"filename":"image_31102025_20_42_57_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/5/2447c15694e179bcab06efeeb4b99220.jpg","text":"TemporaryFile(/tmp/multipartBody4444026540038687244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966343951,"filename":"image_31102025_20_43_04_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba179ede4fc5f352f33da0e2ebcdc599.jpg","text":"TemporaryFile(/tmp/multipartBody8839430663756720972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966343951,"filename":"image_31102025_20_43_16_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131451","file1":"1398131450","file0":"1398131449","file4":"1398131453","file5":"1398131454","file3":"1398131452"},"map_files_photo_id_array":[{"photo_id":"1398131454","filename":"file5"},{"photo_id":"1398131451","filename":"file2"},{"photo_id":"1398131453","filename":"file4"},{"photo_id":"1398131450","filename":"file1"},{"photo_id":"1398131449","filename":"file0"},{"photo_id":"1398131452","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131450":["hashtag1","hashtag2"]},{"1398131453":["hashtag1","hashtag2"]},{"1398131452":["hashtag1","hashtag2"]},{"1398131449":["hashtag1","hashtag2"]},{"1398131451":["hashtag1","hashtag2"]},{"1398131454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131450, 1398131453, 1398131452, 1398131449, 1398131451, 1398131454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36647152900696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:25:22.637449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_19_2771.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_21_2533.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_25_3508.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_27_2526.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_30_2861.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_34_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_19_2771.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_21_2533.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_25_3508.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_27_2526.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_30_2861.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_34_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":["1398131462","1398131456","1398131465","1398131458","1398131463","1398131460"],"photo_ids_order":["1398131456","1398131458","1398131460","1398131462","1398131463","1398131465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/71a05ebd31b01a489960b2509abe3bf6.jpg","text":"TemporaryFile(/tmp/multipartBody8157468560220639529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966384244,"filename":"image_31102025_20_43_27_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/98fb30d5aaac179a4fbff0b51ccf2c00.jpg","text":"TemporaryFile(/tmp/multipartBody1222297039752335870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966384244,"filename":"image_31102025_20_43_19_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/5/679feeb87b46551e996dd0021f3e843d.jpg","text":"TemporaryFile(/tmp/multipartBody34352882164504081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966384244,"filename":"image_31102025_20_43_34_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/5/8ea17777e54350d0e59e581ec3a79be2.jpg","text":"TemporaryFile(/tmp/multipartBody2183086462029338975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966384244,"filename":"image_31102025_20_43_21_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/5/93353d53369bf62647805d1be4092e2c.jpg","text":"TemporaryFile(/tmp/multipartBody6590684802255410226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966384244,"filename":"image_31102025_20_43_30_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/5/3a572f1e449b52826d0adc02f133f07e.jpg","text":"TemporaryFile(/tmp/multipartBody2296267163507785044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966384244,"filename":"image_31102025_20_43_25_3508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131460","file1":"1398131458","file0":"1398131456","file4":"1398131463","file5":"1398131465","file3":"1398131462"},"map_files_photo_id_array":[{"photo_id":"1398131465","filename":"file5"},{"photo_id":"1398131460","filename":"file2"},{"photo_id":"1398131463","filename":"file4"},{"photo_id":"1398131458","filename":"file1"},{"photo_id":"1398131456","filename":"file0"},{"photo_id":"1398131462","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131462":["hashtag1","hashtag2"]},{"1398131456":["hashtag1","hashtag2"]},{"1398131465":["hashtag1","hashtag2"]},{"1398131458":["hashtag1","hashtag2"]},{"1398131463":["hashtag1","hashtag2"]},{"1398131460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131462, 1398131456, 1398131465, 1398131458, 1398131463, 1398131460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60477066040039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:26:03.160732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/27/image_03122025_03_27_14_10631.jpg', '/home/pi/Desktop/images/03122025/03/27/image_03122025_03_27_34_9755.jpg', '/home/pi/Desktop/images/03122025/03/27/image_03122025_03_27_44_9771.jpg', '/home/pi/Desktop/images/03122025/03/27/image_03122025_03_27_54_9885.jpg', '/home/pi/Desktop/images/03122025/03/28/image_03122025_03_28_34_10285.jpg', '/home/pi/Desktop/images/03122025/03/29/image_03122025_03_29_04_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/27/image_03122025_03_27_14_10631.jpg
/home/pi/Desktop/images/03122025/03/27/image_03122025_03_27_34_9755.jpg
/home/pi/Desktop/images/03122025/03/27/image_03122025_03_27_44_9771.jpg
/home/pi/Desktop/images/03122025/03/27/image_03122025_03_27_54_9885.jpg
/home/pi/Desktop/images/03122025/03/28/image_03122025_03_28_34_10285.jpg
/home/pi/Desktop/images/03122025/03/29/image_03122025_03_29_04_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":["1398131468","1398131471","1398131470","1398131473","1398131467","1398131469"],"photo_ids_order":["1398131467","1398131468","1398131469","1398131470","1398131471","1398131473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/862f80404022edb5ca6fba626fac6f6e.jpg","text":"TemporaryFile(/tmp/multipartBody4094361105369937327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966424993,"filename":"image_03122025_03_27_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/5/b1be037263239b8ea90a4b982945e151.jpg","text":"TemporaryFile(/tmp/multipartBody5752950403757021254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966424993,"filename":"image_03122025_03_28_34_10285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3bbdf7ebd7f5dfffc6a8cae02ebe2000.jpg","text":"TemporaryFile(/tmp/multipartBody4713767252685436044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966424993,"filename":"image_03122025_03_27_54_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/5/902b2a165a9cf46c5b15ac0e42727fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6719429550350882186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966424993,"filename":"image_03122025_03_29_04_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/5/b5e588b755e884984074b46efa83307f.jpg","text":"TemporaryFile(/tmp/multipartBody1881395889998140902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966424993,"filename":"image_03122025_03_27_14_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/5/958db78fa880741130972b50c6d2bd00.jpg","text":"TemporaryFile(/tmp/multipartBody6720810071194601631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966424993,"filename":"image_03122025_03_27_44_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131469","file1":"1398131468","file0":"1398131467","file4":"1398131471","file5":"1398131473","file3":"1398131470"},"map_files_photo_id_array":[{"photo_id":"1398131473","filename":"file5"},{"photo_id":"1398131469","filename":"file2"},{"photo_id":"1398131471","filename":"file4"},{"photo_id":"1398131468","filename":"file1"},{"photo_id":"1398131467","filename":"file0"},{"photo_id":"1398131470","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131468":["hashtag1","hashtag2"]},{"1398131471":["hashtag1","hashtag2"]},{"1398131470":["hashtag1","hashtag2"]},{"1398131473":["hashtag1","hashtag2"]},{"1398131467":["hashtag1","hashtag2"]},{"1398131469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131468, 1398131471, 1398131470, 1398131473, 1398131467, 1398131469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66514492034912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:26:42.775123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_36_2635.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_42_2887.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_48_2577.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_51_2794.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_57_2605.jpg', '/home/pi/Desktop/images/31102025/20/43/image_31102025_20_44_00_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_36_2635.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_42_2887.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_48_2577.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_51_2794.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_43_57_2605.jpg
/home/pi/Desktop/images/31102025/20/43/image_31102025_20_44_00_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":["1398131480","1398131483","1398131482","1398131481","1398131484","1398131478"],"photo_ids_order":["1398131478","1398131480","1398131481","1398131482","1398131483","1398131484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d22004451a3dd1964a75094848429062.jpg","text":"TemporaryFile(/tmp/multipartBody3792122398567887419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966464390,"filename":"image_31102025_20_43_42_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/5/830dadb6418bc0a4362b806656baa8fc.jpg","text":"TemporaryFile(/tmp/multipartBody3964672024749845817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966464390,"filename":"image_31102025_20_43_57_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/5/c7785e2c2f83038e98bc93ed1e408769.jpg","text":"TemporaryFile(/tmp/multipartBody5175620156203408807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966464390,"filename":"image_31102025_20_43_51_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/5/f3c3c245c2d9aad4587b55d19dda1ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8428446648283650031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966464390,"filename":"image_31102025_20_43_48_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/5/264547b10c76f0b2bf1e243f40f51c15.jpg","text":"TemporaryFile(/tmp/multipartBody7506981945331417918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966464390,"filename":"image_31102025_20_44_00_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/5/5413715b3cfe74cbd3cdf3a3136c0cd4.jpg","text":"TemporaryFile(/tmp/multipartBody7257263995978551843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966464390,"filename":"image_31102025_20_43_36_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131481","file1":"1398131480","file0":"1398131478","file4":"1398131483","file5":"1398131484","file3":"1398131482"},"map_files_photo_id_array":[{"photo_id":"1398131484","filename":"file5"},{"photo_id":"1398131481","filename":"file2"},{"photo_id":"1398131483","filename":"file4"},{"photo_id":"1398131480","filename":"file1"},{"photo_id":"1398131478","filename":"file0"},{"photo_id":"1398131482","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131480":["hashtag1","hashtag2"]},{"1398131483":["hashtag1","hashtag2"]},{"1398131482":["hashtag1","hashtag2"]},{"1398131481":["hashtag1","hashtag2"]},{"1398131484":["hashtag1","hashtag2"]},{"1398131478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131480, 1398131483, 1398131482, 1398131481, 1398131484, 1398131478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09009528160095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:27:21.866569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/24/image_05122025_21_24_15_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/24/image_05122025_21_24_15_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131485"],"photo_id":"1398131485","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8e2ebecb26d62f0a099221d0b59e0c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4073959153138386021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966502361,"filename":"image_05122025_21_24_15_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398131485"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398131485"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.527793407440186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:27:41.877202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_06_2626.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_09_2875.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_13_3618.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_18_2649.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_22_3645.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_24_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_06_2626.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_09_2875.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_13_3618.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_18_2649.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_22_3645.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_24_2511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131495","1398131497","1398131491","1398131494","1398131496","1398131493"],"photo_ids_order":["1398131491","1398131493","1398131494","1398131495","1398131496","1398131497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c127e7a924dba92e46e8fd1f5fe89ee.jpg","text":"TemporaryFile(/tmp/multipartBody5306384871182736493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966523429,"filename":"image_31102025_20_44_18_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/5/5fca2275dbb3348e6f775fa4a7ed4067.jpg","text":"TemporaryFile(/tmp/multipartBody4076525477038470344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966523429,"filename":"image_31102025_20_44_24_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7cca600ff4758088a922979e368ab6e2.jpg","text":"TemporaryFile(/tmp/multipartBody6453719214274928742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966523429,"filename":"image_31102025_20_44_06_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/5/410da49c1a942616366eb783d5a0c295.jpg","text":"TemporaryFile(/tmp/multipartBody1637221589071683765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966523429,"filename":"image_31102025_20_44_13_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/5/5aa2008ab89f2d8636565d781617588a.jpg","text":"TemporaryFile(/tmp/multipartBody7906068259698084171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966523429,"filename":"image_31102025_20_44_22_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/5/64d6995ffe041d626f9cee897cc227d5.jpg","text":"TemporaryFile(/tmp/multipartBody5018426372360735557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966523429,"filename":"image_31102025_20_44_09_2875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131494","file1":"1398131493","file0":"1398131491","file4":"1398131496","file5":"1398131497","file3":"1398131495"},"map_files_photo_id_array":[{"photo_id":"1398131497","filename":"file5"},{"photo_id":"1398131494","filename":"file2"},{"photo_id":"1398131496","filename":"file4"},{"photo_id":"1398131493","filename":"file1"},{"photo_id":"1398131491","filename":"file0"},{"photo_id":"1398131495","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131495":["hashtag1","hashtag2"]},{"1398131497":["hashtag1","hashtag2"]},{"1398131491":["hashtag1","hashtag2"]},{"1398131494":["hashtag1","hashtag2"]},{"1398131496":["hashtag1","hashtag2"]},{"1398131493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131495, 1398131497, 1398131491, 1398131494, 1398131496, 1398131493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95218467712402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:28:22.043118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_27_2784.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_31_3604.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_34_2853.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_40_3625.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_45_2578.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_49_3787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_27_2784.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_31_3604.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_34_2853.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_40_3625.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_45_2578.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_49_3787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131505","1398131510","1398131507","1398131501","1398131503","1398131499"],"photo_ids_order":["1398131499","1398131501","1398131503","1398131505","1398131507","1398131510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b29048ea9374911bcd02509c189ea2c9.jpg","text":"TemporaryFile(/tmp/multipartBody8466831880668694557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966563689,"filename":"image_31102025_20_44_40_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/5/c1d6a6acc612db1ed215f359060b5a91.jpg","text":"TemporaryFile(/tmp/multipartBody9087409568928856860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966563689,"filename":"image_31102025_20_44_49_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/5/9abb59d5a8056aa26ea3ebbeb272a56c.jpg","text":"TemporaryFile(/tmp/multipartBody360625430860123657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966563689,"filename":"image_31102025_20_44_45_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c79043cafc2a80f6ee8a5cde215221f0.jpg","text":"TemporaryFile(/tmp/multipartBody2006279942451633981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966563689,"filename":"image_31102025_20_44_31_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f1417af68b64376abb549ec21af111a.jpg","text":"TemporaryFile(/tmp/multipartBody8952398107085779167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966563689,"filename":"image_31102025_20_44_34_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/5/e3b428d52bd7016fd45514f2d6fdb528.jpg","text":"TemporaryFile(/tmp/multipartBody7926339218511378973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966563689,"filename":"image_31102025_20_44_27_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131503","file1":"1398131501","file0":"1398131499","file4":"1398131507","file5":"1398131510","file3":"1398131505"},"map_files_photo_id_array":[{"photo_id":"1398131510","filename":"file5"},{"photo_id":"1398131503","filename":"file2"},{"photo_id":"1398131507","filename":"file4"},{"photo_id":"1398131501","filename":"file1"},{"photo_id":"1398131499","filename":"file0"},{"photo_id":"1398131505","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131505":["hashtag1","hashtag2"]},{"1398131510":["hashtag1","hashtag2"]},{"1398131507":["hashtag1","hashtag2"]},{"1398131501":["hashtag1","hashtag2"]},{"1398131503":["hashtag1","hashtag2"]},{"1398131499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131505, 1398131510, 1398131507, 1398131501, 1398131503, 1398131499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.163617849349976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:29:03.409393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/29/image_03122025_03_29_15_10747.jpg', '/home/pi/Desktop/images/03122025/03/29/image_03122025_03_29_34_9606.jpg', '/home/pi/Desktop/images/03122025/03/29/image_03122025_03_29_44_9880.jpg', '/home/pi/Desktop/images/03122025/03/30/image_03122025_03_30_14_9621.jpg', '/home/pi/Desktop/images/03122025/03/30/image_03122025_03_30_34_9763.jpg', '/home/pi/Desktop/images/03122025/03/33/image_03122025_03_33_14_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/29/image_03122025_03_29_15_10747.jpg
/home/pi/Desktop/images/03122025/03/29/image_03122025_03_29_34_9606.jpg
/home/pi/Desktop/images/03122025/03/29/image_03122025_03_29_44_9880.jpg
/home/pi/Desktop/images/03122025/03/30/image_03122025_03_30_14_9621.jpg
/home/pi/Desktop/images/03122025/03/30/image_03122025_03_30_34_9763.jpg
/home/pi/Desktop/images/03122025/03/33/image_03122025_03_33_14_9866.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":["1398131523","1398131519","1398131513","1398131516","1398131515","1398131512"],"photo_ids_order":["1398131512","1398131513","1398131515","1398131516","1398131519","1398131523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d88d5e8f75ddde38ff3336ff6e77f34.jpg","text":"TemporaryFile(/tmp/multipartBody6104171823760485684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966605340,"filename":"image_03122025_03_33_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/5/90257a3af6005d76ced39e0a6400c6e8.jpg","text":"TemporaryFile(/tmp/multipartBody7264460338430855328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966605340,"filename":"image_03122025_03_30_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/5/c1314575635c2c34417282509c7e71c0.jpg","text":"TemporaryFile(/tmp/multipartBody4804644457068706449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966605340,"filename":"image_03122025_03_29_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/5/8196ddac9f8aac221a25d384595dd1ec.jpg","text":"TemporaryFile(/tmp/multipartBody8839794282706827309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966605340,"filename":"image_03122025_03_30_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/5/90ab2f5f4e56cc7426bafeedcdfb0f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4829144744752562883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966605340,"filename":"image_03122025_03_29_44_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e3b8c4215701f6f44767ccccd5901d16.jpg","text":"TemporaryFile(/tmp/multipartBody4650345099658719798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966605340,"filename":"image_03122025_03_29_15_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131515","file1":"1398131513","file0":"1398131512","file4":"1398131519","file5":"1398131523","file3":"1398131516"},"map_files_photo_id_array":[{"photo_id":"1398131523","filename":"file5"},{"photo_id":"1398131515","filename":"file2"},{"photo_id":"1398131519","filename":"file4"},{"photo_id":"1398131513","filename":"file1"},{"photo_id":"1398131512","filename":"file0"},{"photo_id":"1398131516","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131523":["hashtag1","hashtag2"]},{"1398131519":["hashtag1","hashtag2"]},{"1398131513":["hashtag1","hashtag2"]},{"1398131516":["hashtag1","hashtag2"]},{"1398131515":["hashtag1","hashtag2"]},{"1398131512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131523, 1398131519, 1398131513, 1398131516, 1398131515, 1398131512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9560124874115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:30:02.960542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/33/image_03122025_03_33_24_9920.jpg', '/home/pi/Desktop/images/03122025/03/33/image_03122025_03_33_34_10105.jpg', '/home/pi/Desktop/images/03122025/03/33/image_03122025_03_33_55_10649.jpg', '/home/pi/Desktop/images/03122025/03/33/image_03122025_03_34_04_9772.jpg', '/home/pi/Desktop/images/03122025/03/34/image_03122025_03_34_44_9708.jpg', '/home/pi/Desktop/images/03122025/03/35/image_03122025_03_35_14_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/33/image_03122025_03_33_24_9920.jpg
/home/pi/Desktop/images/03122025/03/33/image_03122025_03_33_34_10105.jpg
/home/pi/Desktop/images/03122025/03/33/image_03122025_03_33_55_10649.jpg
/home/pi/Desktop/images/03122025/03/33/image_03122025_03_34_04_9772.jpg
/home/pi/Desktop/images/03122025/03/34/image_03122025_03_34_44_9708.jpg
/home/pi/Desktop/images/03122025/03/35/image_03122025_03_35_14_9783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131538","1398131543","1398131537","1398131540","1398131539","1398131541"],"photo_ids_order":["1398131537","1398131538","1398131539","1398131540","1398131541","1398131543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/270ba84073c4ef57f66d811841513ce9.jpg","text":"TemporaryFile(/tmp/multipartBody4201847334622136662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966664846,"filename":"image_03122025_03_33_34_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/5/d3daded44e45431753bfc13c4dc4c3fc.jpg","text":"TemporaryFile(/tmp/multipartBody259486178404318999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966664846,"filename":"image_03122025_03_35_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/5/5a0a5c1a3779a7754199868e9d554263.jpg","text":"TemporaryFile(/tmp/multipartBody1319218626405019118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966664846,"filename":"image_03122025_03_33_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/5/a7572b46312d6b305a4ca055ca1bce3a.jpg","text":"TemporaryFile(/tmp/multipartBody1319104771748283384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966664846,"filename":"image_03122025_03_34_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/5/ada4f2b2f37b333da64e235272face94.jpg","text":"TemporaryFile(/tmp/multipartBody7159036269610316850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966664846,"filename":"image_03122025_03_33_55_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/5/c978f32bf0f722d3a5d3d5e583662884.jpg","text":"TemporaryFile(/tmp/multipartBody7904121508640142812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966664846,"filename":"image_03122025_03_34_44_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131539","file1":"1398131538","file0":"1398131537","file4":"1398131541","file5":"1398131543","file3":"1398131540"},"map_files_photo_id_array":[{"photo_id":"1398131543","filename":"file5"},{"photo_id":"1398131539","filename":"file2"},{"photo_id":"1398131541","filename":"file4"},{"photo_id":"1398131538","filename":"file1"},{"photo_id":"1398131537","filename":"file0"},{"photo_id":"1398131540","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131538":["hashtag1","hashtag2"]},{"1398131543":["hashtag1","hashtag2"]},{"1398131537":["hashtag1","hashtag2"]},{"1398131540":["hashtag1","hashtag2"]},{"1398131539":["hashtag1","hashtag2"]},{"1398131541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131538, 1398131543, 1398131537, 1398131540, 1398131539, 1398131541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33544993400574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:30:42.457114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_58_3519.jpg', '/home/pi/Desktop/images/31102025/20/44/image_31102025_20_45_00_2632.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_09_2599.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_12_2555.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_16_3816.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_21_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_44_58_3519.jpg
/home/pi/Desktop/images/31102025/20/44/image_31102025_20_45_00_2632.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_09_2599.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_12_2555.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_16_3816.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_21_2579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131549","1398131552","1398131551","1398131554","1398131553","1398131547"],"photo_ids_order":["1398131547","1398131549","1398131551","1398131552","1398131553","1398131554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f26edafc7df2e81823fcb57d290c75c.jpg","text":"TemporaryFile(/tmp/multipartBody6129391456039753479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966704054,"filename":"image_31102025_20_45_00_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/5/d9b2ae46af3854f61eb4d2a19d5272e0.jpg","text":"TemporaryFile(/tmp/multipartBody7330934469610401597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966704054,"filename":"image_31102025_20_45_12_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/5/0f6222d58d63a7dc4a7c043291e6970b.jpg","text":"TemporaryFile(/tmp/multipartBody1303600975153035102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966704054,"filename":"image_31102025_20_45_09_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/5/774c93a1e69b3353ab238cdfd34c5c25.jpg","text":"TemporaryFile(/tmp/multipartBody8060742957189596106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966704054,"filename":"image_31102025_20_45_21_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/5/daa1a5b20b2346b8448c678225e25be6.jpg","text":"TemporaryFile(/tmp/multipartBody5250178807909301179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966704054,"filename":"image_31102025_20_45_16_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/5/4c19976e2b4ba63a309792f67bf2c650.jpg","text":"TemporaryFile(/tmp/multipartBody3414805033422033377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966704054,"filename":"image_31102025_20_44_58_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131551","file1":"1398131549","file0":"1398131547","file4":"1398131553","file5":"1398131554","file3":"1398131552"},"map_files_photo_id_array":[{"photo_id":"1398131554","filename":"file5"},{"photo_id":"1398131551","filename":"file2"},{"photo_id":"1398131553","filename":"file4"},{"photo_id":"1398131549","filename":"file1"},{"photo_id":"1398131547","filename":"file0"},{"photo_id":"1398131552","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131549":["hashtag1","hashtag2"]},{"1398131552":["hashtag1","hashtag2"]},{"1398131551":["hashtag1","hashtag2"]},{"1398131554":["hashtag1","hashtag2"]},{"1398131553":["hashtag1","hashtag2"]},{"1398131547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131549, 1398131552, 1398131551, 1398131554, 1398131553, 1398131547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.703625440597534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:31:22.573273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_25_3754.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_28_2850.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_30_2588.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_34_3657.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_36_2474.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_39_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_25_3754.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_28_2850.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_30_2588.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_34_3657.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_36_2474.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_39_2809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131564","1398131558","1398131566","1398131560","1398131562","1398131556"],"photo_ids_order":["1398131556","1398131558","1398131560","1398131562","1398131564","1398131566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b8036c6673a38187dd0b0f77294cf16b.jpg","text":"TemporaryFile(/tmp/multipartBody1639781801887253236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966744136,"filename":"image_31102025_20_45_36_2474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f8488feaa46ea99ada27999225e108c9.jpg","text":"TemporaryFile(/tmp/multipartBody3171026565828964866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966744136,"filename":"image_31102025_20_45_28_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/5/fee5a73a3bccdb1f4c6f15dcb713a178.jpg","text":"TemporaryFile(/tmp/multipartBody4511045793834321028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966744136,"filename":"image_31102025_20_45_39_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dfdea8aaf20b4e8361ae76b1580411ef.jpg","text":"TemporaryFile(/tmp/multipartBody3282233901144257102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966744136,"filename":"image_31102025_20_45_30_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/5/45df1c48ecdc7e202f45bbe2b686e8db.jpg","text":"TemporaryFile(/tmp/multipartBody6645296695908229826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966744136,"filename":"image_31102025_20_45_34_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c8268088b01642d3370bc3e3a237d21.jpg","text":"TemporaryFile(/tmp/multipartBody4008452402570061302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966744136,"filename":"image_31102025_20_45_25_3754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131560","file1":"1398131558","file0":"1398131556","file4":"1398131564","file5":"1398131566","file3":"1398131562"},"map_files_photo_id_array":[{"photo_id":"1398131566","filename":"file5"},{"photo_id":"1398131560","filename":"file2"},{"photo_id":"1398131564","filename":"file4"},{"photo_id":"1398131558","filename":"file1"},{"photo_id":"1398131556","filename":"file0"},{"photo_id":"1398131562","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131564":["hashtag1","hashtag2"]},{"1398131558":["hashtag1","hashtag2"]},{"1398131566":["hashtag1","hashtag2"]},{"1398131560":["hashtag1","hashtag2"]},{"1398131562":["hashtag1","hashtag2"]},{"1398131556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131564, 1398131558, 1398131566, 1398131560, 1398131562, 1398131556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53852152824402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:32:03.140856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/35/image_03122025_03_35_34_9724.jpg', '/home/pi/Desktop/images/03122025/03/35/image_03122025_03_35_44_10016.jpg', '/home/pi/Desktop/images/03122025/03/35/image_03122025_03_35_54_9675.jpg', '/home/pi/Desktop/images/03122025/03/36/image_03122025_03_36_24_9660.jpg', '/home/pi/Desktop/images/03122025/03/36/image_03122025_03_36_34_10684.jpg', '/home/pi/Desktop/images/03122025/03/36/image_03122025_03_36_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/35/image_03122025_03_35_34_9724.jpg
/home/pi/Desktop/images/03122025/03/35/image_03122025_03_35_44_10016.jpg
/home/pi/Desktop/images/03122025/03/35/image_03122025_03_35_54_9675.jpg
/home/pi/Desktop/images/03122025/03/36/image_03122025_03_36_24_9660.jpg
/home/pi/Desktop/images/03122025/03/36/image_03122025_03_36_34_10684.jpg
/home/pi/Desktop/images/03122025/03/36/image_03122025_03_36_54_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131570","1398131572","1398131575","1398131569","1398131571","1398131568"],"photo_ids_order":["1398131568","1398131569","1398131570","1398131571","1398131572","1398131575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b9f347736fdbf85dc2f3fd64954252a5.jpg","text":"TemporaryFile(/tmp/multipartBody5228998423514156190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966784970,"filename":"image_03122025_03_35_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4e0d0f30c5523bd04e89a0f021a54e47.jpg","text":"TemporaryFile(/tmp/multipartBody560042362854912417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966784970,"filename":"image_03122025_03_36_34_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/5/5f9d089441d372d51af412b69a987066.jpg","text":"TemporaryFile(/tmp/multipartBody4439473863479352662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966784970,"filename":"image_03122025_03_36_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a0aebb4d5e0bf19fcd361a51f805b125.jpg","text":"TemporaryFile(/tmp/multipartBody3965143754206230740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966784970,"filename":"image_03122025_03_35_44_10016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5a728c3ba0abc537e04b5b5de3b208f8.jpg","text":"TemporaryFile(/tmp/multipartBody7944913314499252223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966784970,"filename":"image_03122025_03_36_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/5/0e8e41f2ac10e9781ae4335e63cb7ec7.jpg","text":"TemporaryFile(/tmp/multipartBody3804402234990056328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966784970,"filename":"image_03122025_03_35_34_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131570","file1":"1398131569","file0":"1398131568","file4":"1398131572","file5":"1398131575","file3":"1398131571"},"map_files_photo_id_array":[{"photo_id":"1398131575","filename":"file5"},{"photo_id":"1398131570","filename":"file2"},{"photo_id":"1398131572","filename":"file4"},{"photo_id":"1398131569","filename":"file1"},{"photo_id":"1398131568","filename":"file0"},{"photo_id":"1398131571","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131570":["hashtag1","hashtag2"]},{"1398131572":["hashtag1","hashtag2"]},{"1398131575":["hashtag1","hashtag2"]},{"1398131569":["hashtag1","hashtag2"]},{"1398131571":["hashtag1","hashtag2"]},{"1398131568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131570, 1398131572, 1398131575, 1398131569, 1398131571, 1398131568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.250070095062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:32:42.794850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_46_2656.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_48_2835.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_51_2641.jpg', '/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_55_3574.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_15_2628.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_22_3839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_46_2656.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_48_2835.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_51_2641.jpg
/home/pi/Desktop/images/31102025/20/45/image_31102025_20_45_55_3574.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_15_2628.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_22_3839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131591","1398131594","1398131590","1398131593","1398131581","1398131592"],"photo_ids_order":["1398131581","1398131590","1398131591","1398131592","1398131593","1398131594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5fb165050b6f2feaa1d23efeb8542c22.jpg","text":"TemporaryFile(/tmp/multipartBody3316202743004306200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966824386,"filename":"image_31102025_20_45_51_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/5/59c7f71803fb6dad422bdccfb519a05a.jpg","text":"TemporaryFile(/tmp/multipartBody4701492333089253696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966824386,"filename":"image_31102025_20_46_22_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/07deed50cbe868bd837fcccf66996231.jpg","text":"TemporaryFile(/tmp/multipartBody1936450174737739084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966824386,"filename":"image_31102025_20_45_48_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/5/9b8576fad6961f8578b5cad510668c14.jpg","text":"TemporaryFile(/tmp/multipartBody1932606231253213340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966824386,"filename":"image_31102025_20_46_15_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4656a842958a6d3c06bb085c55726b35.jpg","text":"TemporaryFile(/tmp/multipartBody7434402879729062470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966824386,"filename":"image_31102025_20_45_46_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/5/03af179ffe3f7170556d4d46536861bf.jpg","text":"TemporaryFile(/tmp/multipartBody2637914877757208786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966824386,"filename":"image_31102025_20_45_55_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131591","file1":"1398131590","file0":"1398131581","file4":"1398131593","file5":"1398131594","file3":"1398131592"},"map_files_photo_id_array":[{"photo_id":"1398131594","filename":"file5"},{"photo_id":"1398131591","filename":"file2"},{"photo_id":"1398131593","filename":"file4"},{"photo_id":"1398131590","filename":"file1"},{"photo_id":"1398131581","filename":"file0"},{"photo_id":"1398131592","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131591":["hashtag1","hashtag2"]},{"1398131594":["hashtag1","hashtag2"]},{"1398131590":["hashtag1","hashtag2"]},{"1398131593":["hashtag1","hashtag2"]},{"1398131581":["hashtag1","hashtag2"]},{"1398131592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131591, 1398131594, 1398131590, 1398131593, 1398131581, 1398131592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00605893135071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:33:21.922899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/27/image_05122025_21_27_25_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/27/image_05122025_21_27_25_9730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131595"],"photo_id":"1398131595","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8981aae4a57c6fa570f7a1926a04455b.jpg","text":"TemporaryFile(/tmp/multipartBody595028559928758107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966862409,"filename":"image_05122025_21_27_25_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398131595"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398131595"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.366681337356567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:33:42.082046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_27_2625.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_31_3716.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_33_2759.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_36_2654.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_42_2651.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_45_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_27_2625.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_31_3716.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_33_2759.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_36_2654.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_42_2651.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_45_2560.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4256958961486816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:34:02.971205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/37/image_03122025_03_37_14_9644.jpg', '/home/pi/Desktop/images/03122025/03/37/image_03122025_03_37_34_9741.jpg', '/home/pi/Desktop/images/03122025/03/37/image_03122025_03_37_45_10601.jpg', '/home/pi/Desktop/images/03122025/03/39/image_03122025_03_39_54_9665.jpg', '/home/pi/Desktop/images/03122025/03/40/image_03122025_03_40_14_9644.jpg', '/home/pi/Desktop/images/03122025/03/40/image_03122025_03_40_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/37/image_03122025_03_37_14_9644.jpg
/home/pi/Desktop/images/03122025/03/37/image_03122025_03_37_34_9741.jpg
/home/pi/Desktop/images/03122025/03/37/image_03122025_03_37_45_10601.jpg
/home/pi/Desktop/images/03122025/03/39/image_03122025_03_39_54_9665.jpg
/home/pi/Desktop/images/03122025/03/40/image_03122025_03_40_14_9644.jpg
/home/pi/Desktop/images/03122025/03/40/image_03122025_03_40_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":["1398131610","1398131612","1398131615","1398131617","1398131611","1398131613"],"photo_ids_order":["1398131610","1398131611","1398131612","1398131613","1398131615","1398131617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d8b70ba7d87d5438a61e2371e2692e32.jpg","text":"TemporaryFile(/tmp/multipartBody8790035163876915230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966904663,"filename":"image_03122025_03_37_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/5/065fc41785f27ba1959d5bd9029062a6.jpg","text":"TemporaryFile(/tmp/multipartBody6599713973836308941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966904663,"filename":"image_03122025_03_37_45_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7fdde4e1fbf8e4cbacdad22d0847d48b.jpg","text":"TemporaryFile(/tmp/multipartBody7421229516794526610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966904663,"filename":"image_03122025_03_40_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/5/5e9a6470a6cc151ad0f58dcc5012f144.jpg","text":"TemporaryFile(/tmp/multipartBody1477821388222260262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966904663,"filename":"image_03122025_03_40_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/5/62f404b837811f7f5dd7efb6523cfb31.jpg","text":"TemporaryFile(/tmp/multipartBody3876113354295713409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966904663,"filename":"image_03122025_03_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/5/a65955cbe994fe19ed88378dfec18609.jpg","text":"TemporaryFile(/tmp/multipartBody4763466308889852786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966904663,"filename":"image_03122025_03_39_54_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131612","file1":"1398131611","file0":"1398131610","file4":"1398131615","file5":"1398131617","file3":"1398131613"},"map_files_photo_id_array":[{"photo_id":"1398131617","filename":"file5"},{"photo_id":"1398131612","filename":"file2"},{"photo_id":"1398131615","filename":"file4"},{"photo_id":"1398131611","filename":"file1"},{"photo_id":"1398131610","filename":"file0"},{"photo_id":"1398131613","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131610":["hashtag1","hashtag2"]},{"1398131612":["hashtag1","hashtag2"]},{"1398131615":["hashtag1","hashtag2"]},{"1398131617":["hashtag1","hashtag2"]},{"1398131611":["hashtag1","hashtag2"]},{"1398131613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131610, 1398131612, 1398131615, 1398131617, 1398131611, 1398131613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96697735786438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:34:42.259775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_27_2625.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_31_3716.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_33_2759.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_36_2654.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_42_2651.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_45_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_27_2625.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_31_3716.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_33_2759.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_36_2654.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_42_2651.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_45_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131622","1398131624","1398131621","1398131623","1398131626","1398131625"],"photo_ids_order":["1398131621","1398131622","1398131623","1398131624","1398131625","1398131626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f53a5d74bbf97c0d8c71bea2f22a19b7.jpg","text":"TemporaryFile(/tmp/multipartBody9173362050955868585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966943673,"filename":"image_31102025_20_46_31_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/5/b15d37ac9f6fdebbdb0907b7ad50c01c.jpg","text":"TemporaryFile(/tmp/multipartBody5733178490922492181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966943673,"filename":"image_31102025_20_46_36_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/5/bae9f3b01d1e6a6d14e90dc0554987f1.jpg","text":"TemporaryFile(/tmp/multipartBody1914649359381376333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966943673,"filename":"image_31102025_20_46_27_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/5/78b9206dbe3bdf453f51815bf2a95257.jpg","text":"TemporaryFile(/tmp/multipartBody3101319264165189744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966943673,"filename":"image_31102025_20_46_33_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/5/70cad306e6d45efd80d313067224129f.jpg","text":"TemporaryFile(/tmp/multipartBody3186452551655270913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966943673,"filename":"image_31102025_20_46_45_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/5/3fa60121f7e0e858de840c4e643c6f8d.jpg","text":"TemporaryFile(/tmp/multipartBody609583961846180186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966943673,"filename":"image_31102025_20_46_42_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131623","file1":"1398131622","file0":"1398131621","file4":"1398131625","file5":"1398131626","file3":"1398131624"},"map_files_photo_id_array":[{"photo_id":"1398131626","filename":"file5"},{"photo_id":"1398131623","filename":"file2"},{"photo_id":"1398131625","filename":"file4"},{"photo_id":"1398131622","filename":"file1"},{"photo_id":"1398131621","filename":"file0"},{"photo_id":"1398131624","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131622":["hashtag1","hashtag2"]},{"1398131624":["hashtag1","hashtag2"]},{"1398131621":["hashtag1","hashtag2"]},{"1398131623":["hashtag1","hashtag2"]},{"1398131626":["hashtag1","hashtag2"]},{"1398131625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131622, 1398131624, 1398131621, 1398131623, 1398131626, 1398131625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71253252029419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:35:22.448950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/32/image_05122025_21_32_15_9587.jpg', '/home/pi/Desktop/images/05122025/21/34/image_05122025_21_34_55_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/32/image_05122025_21_32_15_9587.jpg
/home/pi/Desktop/images/05122025/21/34/image_05122025_21_34_55_9740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131627","1398131629"],"photo_ids_order":["1398131627","1398131629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b4a9783b0ae49493364419e2af8353ee.jpg","text":"TemporaryFile(/tmp/multipartBody2242822924754825608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966983005,"filename":"image_05122025_21_32_15_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/5/e7562fcce2793c67182b1d592e4965da.jpg","text":"TemporaryFile(/tmp/multipartBody7454266211339470746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764966983005,"filename":"image_05122025_21_34_55_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398131629","file0":"1398131627"},"map_files_photo_id_array":[{"photo_id":"1398131629","filename":"file1"},{"photo_id":"1398131627","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398131627":["hashtag1","hashtag2"]},{"1398131629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398131627, 1398131629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.548197031021118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:35:42.437758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_51_2607.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_54_2616.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_57_3497.jpg', '/home/pi/Desktop/images/31102025/20/46/image_31102025_20_47_00_2678.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_04_3604.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_06_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_51_2607.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_54_2616.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_46_57_3497.jpg
/home/pi/Desktop/images/31102025/20/46/image_31102025_20_47_00_2678.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_04_3604.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_06_2579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131648","1398131651","1398131650","1398131647","1398131635","1398131649"],"photo_ids_order":["1398131635","1398131647","1398131648","1398131649","1398131650","1398131651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/382a725fb50a28d632c64e2361d1bb99.jpg","text":"TemporaryFile(/tmp/multipartBody8437448989439324341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967004042,"filename":"image_31102025_20_46_57_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6be76e6411fdb52029fbeda184ebb47b.jpg","text":"TemporaryFile(/tmp/multipartBody8688416114486912263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967004042,"filename":"image_31102025_20_47_06_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/5/22560fda7fd299b8bbb471f58df99867.jpg","text":"TemporaryFile(/tmp/multipartBody3688274257849395194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967004042,"filename":"image_31102025_20_47_04_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c5dd5dae890445e06a89ab5a744cdc3c.jpg","text":"TemporaryFile(/tmp/multipartBody5815348103431945592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967004042,"filename":"image_31102025_20_46_54_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/5/fdf90b83d0f15b059cf44bf93dff3e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6878290907937795370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967004042,"filename":"image_31102025_20_46_51_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/5/6c997f892225380e26d0aa8039eb785b.jpg","text":"TemporaryFile(/tmp/multipartBody5600248287669845017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967004042,"filename":"image_31102025_20_47_00_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131648","file1":"1398131647","file0":"1398131635","file4":"1398131650","file5":"1398131651","file3":"1398131649"},"map_files_photo_id_array":[{"photo_id":"1398131651","filename":"file5"},{"photo_id":"1398131648","filename":"file2"},{"photo_id":"1398131650","filename":"file4"},{"photo_id":"1398131647","filename":"file1"},{"photo_id":"1398131635","filename":"file0"},{"photo_id":"1398131649","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131648":["hashtag1","hashtag2"]},{"1398131651":["hashtag1","hashtag2"]},{"1398131650":["hashtag1","hashtag2"]},{"1398131647":["hashtag1","hashtag2"]},{"1398131635":["hashtag1","hashtag2"]},{"1398131649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131648, 1398131651, 1398131650, 1398131647, 1398131635, 1398131649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.506646156311035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:36:22.581657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_09_2677.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_12_3567.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_15_2742.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_18_2742.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_22_3609.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_24_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_09_2677.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_12_3567.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_15_2742.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_18_2742.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_22_3609.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_24_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":["1398131663","1398131659","1398131653","1398131656","1398131661","1398131655"],"photo_ids_order":["1398131653","1398131655","1398131656","1398131659","1398131661","1398131663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/758db1e75fda46f47df20b95d00d001f.jpg","text":"TemporaryFile(/tmp/multipartBody5614162882397244014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967044212,"filename":"image_31102025_20_47_24_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/5/3081999ac915e04ef44326c599be36e8.jpg","text":"TemporaryFile(/tmp/multipartBody4261007241489596842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967044212,"filename":"image_31102025_20_47_18_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/5/5c065fd08e860dd535c34c944f917240.jpg","text":"TemporaryFile(/tmp/multipartBody3230664694784778624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967044212,"filename":"image_31102025_20_47_09_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/5/193ae390c38e4ec17710cdd143e7ac4c.jpg","text":"TemporaryFile(/tmp/multipartBody8864254018851161675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967044212,"filename":"image_31102025_20_47_15_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/5/98096db554e958b6f1ebec924399fd8e.jpg","text":"TemporaryFile(/tmp/multipartBody7708960491527811913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967044212,"filename":"image_31102025_20_47_22_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/5/42429dd2d966b913f198668fbffef3ec.jpg","text":"TemporaryFile(/tmp/multipartBody7987175500307046137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967044212,"filename":"image_31102025_20_47_12_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131656","file1":"1398131655","file0":"1398131653","file4":"1398131661","file5":"1398131663","file3":"1398131659"},"map_files_photo_id_array":[{"photo_id":"1398131663","filename":"file5"},{"photo_id":"1398131656","filename":"file2"},{"photo_id":"1398131661","filename":"file4"},{"photo_id":"1398131655","filename":"file1"},{"photo_id":"1398131653","filename":"file0"},{"photo_id":"1398131659","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131663":["hashtag1","hashtag2"]},{"1398131659":["hashtag1","hashtag2"]},{"1398131653":["hashtag1","hashtag2"]},{"1398131656":["hashtag1","hashtag2"]},{"1398131661":["hashtag1","hashtag2"]},{"1398131655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131663, 1398131659, 1398131653, 1398131656, 1398131661, 1398131655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.174275159835815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:37:03.320605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/40/image_03122025_03_41_04_9790.jpg', '/home/pi/Desktop/images/03122025/03/41/image_03122025_03_41_27_12565.jpg', '/home/pi/Desktop/images/03122025/03/41/image_03122025_03_41_34_7216.jpg', '/home/pi/Desktop/images/03122025/03/41/image_03122025_03_41_54_9775.jpg', '/home/pi/Desktop/images/03122025/03/41/image_03122025_03_42_04_9911.jpg', '/home/pi/Desktop/images/03122025/03/42/image_03122025_03_42_24_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/40/image_03122025_03_41_04_9790.jpg
/home/pi/Desktop/images/03122025/03/41/image_03122025_03_41_27_12565.jpg
/home/pi/Desktop/images/03122025/03/41/image_03122025_03_41_34_7216.jpg
/home/pi/Desktop/images/03122025/03/41/image_03122025_03_41_54_9775.jpg
/home/pi/Desktop/images/03122025/03/41/image_03122025_03_42_04_9911.jpg
/home/pi/Desktop/images/03122025/03/42/image_03122025_03_42_24_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131666","1398131669","1398131671","1398131665","1398131664","1398131667"],"photo_ids_order":["1398131664","1398131665","1398131666","1398131667","1398131669","1398131671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/60127217b93934c55d6f1dab16a3573a.jpg","text":"TemporaryFile(/tmp/multipartBody1386914678653889263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967085291,"filename":"image_03122025_03_41_34_7216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e7874a2cd8a1e80925e672fb03ff193d.jpg","text":"TemporaryFile(/tmp/multipartBody7541771295265366366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967085291,"filename":"image_03122025_03_42_04_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2cfeea82133391ec1c2aa0307cdfdd76.jpg","text":"TemporaryFile(/tmp/multipartBody7133743004958991465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967085291,"filename":"image_03122025_03_42_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/5/f69b450e32667ef5c96c024795cbe69e.jpg","text":"TemporaryFile(/tmp/multipartBody4822197484966936231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967085291,"filename":"image_03122025_03_41_27_12565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3adfb27075115e0f07daf1827bdb133f.jpg","text":"TemporaryFile(/tmp/multipartBody8546577255994537070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967085291,"filename":"image_03122025_03_41_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/5/e7d741507c88b30ead75a91b4013b949.jpg","text":"TemporaryFile(/tmp/multipartBody5852730266046698561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967085291,"filename":"image_03122025_03_41_54_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131666","file1":"1398131665","file0":"1398131664","file4":"1398131669","file5":"1398131671","file3":"1398131667"},"map_files_photo_id_array":[{"photo_id":"1398131671","filename":"file5"},{"photo_id":"1398131666","filename":"file2"},{"photo_id":"1398131669","filename":"file4"},{"photo_id":"1398131665","filename":"file1"},{"photo_id":"1398131664","filename":"file0"},{"photo_id":"1398131667","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131666":["hashtag1","hashtag2"]},{"1398131669":["hashtag1","hashtag2"]},{"1398131671":["hashtag1","hashtag2"]},{"1398131665":["hashtag1","hashtag2"]},{"1398131664":["hashtag1","hashtag2"]},{"1398131667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131666, 1398131669, 1398131671, 1398131665, 1398131664, 1398131667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12205100059509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:37:42.775372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_27_2623.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_34_2900.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_36_2672.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_45_2767.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_48_2779.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_51_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_27_2623.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_34_2900.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_36_2672.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_45_2767.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_48_2779.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_51_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":["1398131678","1398131683","1398131680","1398131682","1398131676","1398131679"],"photo_ids_order":["1398131676","1398131678","1398131679","1398131680","1398131682","1398131683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eff2274c0581f642ae57e652194b764b.jpg","text":"TemporaryFile(/tmp/multipartBody355631312427206820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967124613,"filename":"image_31102025_20_47_34_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/5/88d374a74824105c1527b2d401964a60.jpg","text":"TemporaryFile(/tmp/multipartBody6232756666199343468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967124613,"filename":"image_31102025_20_47_51_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/5/8c98cbe84b61b23087c0f3c365d5c8e9.jpg","text":"TemporaryFile(/tmp/multipartBody9223007644954981598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967124613,"filename":"image_31102025_20_47_45_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/5/49f47ab8d79eb809425118ce0b4fdb23.jpg","text":"TemporaryFile(/tmp/multipartBody919639290930750628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967124613,"filename":"image_31102025_20_47_48_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/86cd64e608b9a009d849c73ab1ab45c6.jpg","text":"TemporaryFile(/tmp/multipartBody4604508876335358085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967124613,"filename":"image_31102025_20_47_27_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/5/05d6946197cbbb6f74c6f79d5d398a4c.jpg","text":"TemporaryFile(/tmp/multipartBody3938913577087227432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967124613,"filename":"image_31102025_20_47_36_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131679","file1":"1398131678","file0":"1398131676","file4":"1398131682","file5":"1398131683","file3":"1398131680"},"map_files_photo_id_array":[{"photo_id":"1398131683","filename":"file5"},{"photo_id":"1398131679","filename":"file2"},{"photo_id":"1398131682","filename":"file4"},{"photo_id":"1398131678","filename":"file1"},{"photo_id":"1398131676","filename":"file0"},{"photo_id":"1398131680","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131678":["hashtag1","hashtag2"]},{"1398131683":["hashtag1","hashtag2"]},{"1398131680":["hashtag1","hashtag2"]},{"1398131682":["hashtag1","hashtag2"]},{"1398131676":["hashtag1","hashtag2"]},{"1398131679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131678, 1398131683, 1398131680, 1398131682, 1398131676, 1398131679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.546371936798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:38:22.036639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/35/image_05122025_21_35_25_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/35/image_05122025_21_35_25_10701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131685"],"photo_id":"1398131685","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/740ea6a683136ac658adfbae061474b2.jpg","text":"TemporaryFile(/tmp/multipartBody2272412732472502181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967162536,"filename":"image_05122025_21_35_25_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398131685"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398131685"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.938462018966675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:38:41.953957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_54_3685.jpg', '/home/pi/Desktop/images/31102025/20/47/image_31102025_20_48_00_2560.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_09_2659.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_12_3795.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_16_3041.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_18_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_47_54_3685.jpg
/home/pi/Desktop/images/31102025/20/47/image_31102025_20_48_00_2560.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_09_2659.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_12_3795.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_16_3041.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_18_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":["1398131700","1398131699","1398131696","1398131698","1398131701","1398131712"],"photo_ids_order":["1398131696","1398131698","1398131699","1398131700","1398131701","1398131712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a90bd8133bf053e8f191e3aa29948a9.jpg","text":"TemporaryFile(/tmp/multipartBody9148778055731044318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967183558,"filename":"image_31102025_20_48_12_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/5/c0efa58845a68a0f1a4af577aa48e519.jpg","text":"TemporaryFile(/tmp/multipartBody2809455560015461255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967183558,"filename":"image_31102025_20_48_09_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/5/b86fa4d05aef1278744dd1392b406ab1.jpg","text":"TemporaryFile(/tmp/multipartBody4319590320599784321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967183558,"filename":"image_31102025_20_47_54_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/5/6806035874ba85f494109c003872592c.jpg","text":"TemporaryFile(/tmp/multipartBody7322865608059567715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967183558,"filename":"image_31102025_20_48_00_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/5/a8358a1caf55961950bc1e72663de6af.jpg","text":"TemporaryFile(/tmp/multipartBody7276745315075300433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967183558,"filename":"image_31102025_20_48_16_3041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f61cd81891f7abc91629a91702b782fb.jpg","text":"TemporaryFile(/tmp/multipartBody8875107571142531936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967183558,"filename":"image_31102025_20_48_18_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131699","file1":"1398131698","file0":"1398131696","file4":"1398131701","file5":"1398131712","file3":"1398131700"},"map_files_photo_id_array":[{"photo_id":"1398131712","filename":"file5"},{"photo_id":"1398131699","filename":"file2"},{"photo_id":"1398131701","filename":"file4"},{"photo_id":"1398131698","filename":"file1"},{"photo_id":"1398131696","filename":"file0"},{"photo_id":"1398131700","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131700":["hashtag1","hashtag2"]},{"1398131699":["hashtag1","hashtag2"]},{"1398131696":["hashtag1","hashtag2"]},{"1398131698":["hashtag1","hashtag2"]},{"1398131701":["hashtag1","hashtag2"]},{"1398131712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131700, 1398131699, 1398131696, 1398131698, 1398131701, 1398131712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.797744274139404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:39:22.150009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_21_2568.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_24_2942.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_27_3770.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_30_2500.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_36_3681.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_39_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_21_2568.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_24_2942.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_27_3770.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_30_2500.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_36_3681.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_39_2529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131720","1398131813","1398131776","1398131716","1398131739","1398131718"],"photo_ids_order":["1398131716","1398131718","1398131720","1398131739","1398131776","1398131813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/64b8760160a3c652cac39e550a4c6b49.jpg","text":"TemporaryFile(/tmp/multipartBody8030837060986378457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967223705,"filename":"image_31102025_20_48_27_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/5/ee5bb69f2d3708fa0ee16cfb6aa3039d.jpg","text":"TemporaryFile(/tmp/multipartBody3510527538242359404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967223705,"filename":"image_31102025_20_48_39_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/281438decaf2706a4a9535f7cbb6e6c2.jpg","text":"TemporaryFile(/tmp/multipartBody5138524665216195828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967223705,"filename":"image_31102025_20_48_36_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/5/9b590b9ceaa0ca98c1ab1354402cf711.jpg","text":"TemporaryFile(/tmp/multipartBody8857612933565913120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967223705,"filename":"image_31102025_20_48_21_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/5/146a75d9da77db2fb8a40562918744a9.jpg","text":"TemporaryFile(/tmp/multipartBody8915602745659401388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967223705,"filename":"image_31102025_20_48_30_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a47a6a6c3e5adcef7709996fb6a4cf8.jpg","text":"TemporaryFile(/tmp/multipartBody3291962511997158504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967223705,"filename":"image_31102025_20_48_24_2942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131720","file1":"1398131718","file0":"1398131716","file4":"1398131776","file5":"1398131813","file3":"1398131739"},"map_files_photo_id_array":[{"photo_id":"1398131813","filename":"file5"},{"photo_id":"1398131720","filename":"file2"},{"photo_id":"1398131776","filename":"file4"},{"photo_id":"1398131718","filename":"file1"},{"photo_id":"1398131716","filename":"file0"},{"photo_id":"1398131739","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131720":["hashtag1","hashtag2"]},{"1398131813":["hashtag1","hashtag2"]},{"1398131776":["hashtag1","hashtag2"]},{"1398131716":["hashtag1","hashtag2"]},{"1398131739":["hashtag1","hashtag2"]},{"1398131718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131720, 1398131813, 1398131776, 1398131716, 1398131739, 1398131718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73830246925354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:40:02.685349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/42/image_03122025_03_42_34_9770.jpg', '/home/pi/Desktop/images/03122025/03/42/image_03122025_03_42_44_9812.jpg', '/home/pi/Desktop/images/03122025/03/42/image_03122025_03_42_55_10678.jpg', '/home/pi/Desktop/images/03122025/03/43/image_03122025_03_43_25_10650.jpg', '/home/pi/Desktop/images/03122025/03/43/image_03122025_03_43_34_9641.jpg', '/home/pi/Desktop/images/03122025/03/43/image_03122025_03_43_44_10129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/42/image_03122025_03_42_34_9770.jpg
/home/pi/Desktop/images/03122025/03/42/image_03122025_03_42_44_9812.jpg
/home/pi/Desktop/images/03122025/03/42/image_03122025_03_42_55_10678.jpg
/home/pi/Desktop/images/03122025/03/43/image_03122025_03_43_25_10650.jpg
/home/pi/Desktop/images/03122025/03/43/image_03122025_03_43_34_9641.jpg
/home/pi/Desktop/images/03122025/03/43/image_03122025_03_43_44_10129.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131876","1398131861","1398131878","1398131860","1398131827","1398131877"],"photo_ids_order":["1398131827","1398131860","1398131861","1398131876","1398131877","1398131878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fce893874e3a91523d144613a0389679.jpg","text":"TemporaryFile(/tmp/multipartBody1636091359110781049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967264536,"filename":"image_03122025_03_43_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/51257b27e5e26f1a91e787343f397b80.jpg","text":"TemporaryFile(/tmp/multipartBody2794788931521983624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967264536,"filename":"image_03122025_03_42_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0348be2243ad6b831b406c05342fd4bd.jpg","text":"TemporaryFile(/tmp/multipartBody3665761636972383808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967264536,"filename":"image_03122025_03_43_44_10129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a03b26958825eb8c6e86434c0207379.jpg","text":"TemporaryFile(/tmp/multipartBody5013151363436643331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967264536,"filename":"image_03122025_03_42_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/5/2ff95fa18fead4943e538e83bbf3ca7b.jpg","text":"TemporaryFile(/tmp/multipartBody5203669890034007696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967264536,"filename":"image_03122025_03_42_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/5/aa8b7a82393b86be12a452bd4cb43f23.jpg","text":"TemporaryFile(/tmp/multipartBody8797667191376863565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967264536,"filename":"image_03122025_03_43_34_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131861","file1":"1398131860","file0":"1398131827","file4":"1398131877","file5":"1398131878","file3":"1398131876"},"map_files_photo_id_array":[{"photo_id":"1398131878","filename":"file5"},{"photo_id":"1398131861","filename":"file2"},{"photo_id":"1398131877","filename":"file4"},{"photo_id":"1398131860","filename":"file1"},{"photo_id":"1398131827","filename":"file0"},{"photo_id":"1398131876","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131876":["hashtag1","hashtag2"]},{"1398131861":["hashtag1","hashtag2"]},{"1398131878":["hashtag1","hashtag2"]},{"1398131860":["hashtag1","hashtag2"]},{"1398131827":["hashtag1","hashtag2"]},{"1398131877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131876, 1398131861, 1398131878, 1398131860, 1398131827, 1398131877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.956315755844116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:40:42.258436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_45_2487.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_48_2694.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_51_3608.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_54_3155.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_57_2695.jpg', '/home/pi/Desktop/images/31102025/20/48/image_31102025_20_49_00_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_45_2487.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_48_2694.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_51_3608.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_54_3155.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_48_57_2695.jpg
/home/pi/Desktop/images/31102025/20/48/image_31102025_20_49_00_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":["1398131942","1398131936","1398131938","1398131940","1398131934","1398131943"],"photo_ids_order":["1398131934","1398131936","1398131938","1398131940","1398131942","1398131943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/dc30a58070869d968657f71785759619.jpg","text":"TemporaryFile(/tmp/multipartBody4393212468113473634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967303851,"filename":"image_31102025_20_48_57_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/5/e8b85b7c9d2dc1e514f1663e5a47041b.jpg","text":"TemporaryFile(/tmp/multipartBody4109399931987090691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967303851,"filename":"image_31102025_20_48_48_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/5/49559418b740b532bebea3c5264f168e.jpg","text":"TemporaryFile(/tmp/multipartBody2010815753845135211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967303851,"filename":"image_31102025_20_48_51_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/5/fa4d4de5fec35127d98de6bce033ec8a.jpg","text":"TemporaryFile(/tmp/multipartBody7480971744300565664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967303851,"filename":"image_31102025_20_48_54_3155.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bc230994d4adae964d1a63dae04ac738.jpg","text":"TemporaryFile(/tmp/multipartBody5737332880058625832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967303851,"filename":"image_31102025_20_48_45_2487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aa71861b58b2da2ce14e6ffd102ebdeb.jpg","text":"TemporaryFile(/tmp/multipartBody4403917985888978499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967303851,"filename":"image_31102025_20_49_00_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131938","file1":"1398131936","file0":"1398131934","file4":"1398131942","file5":"1398131943","file3":"1398131940"},"map_files_photo_id_array":[{"photo_id":"1398131943","filename":"file5"},{"photo_id":"1398131938","filename":"file2"},{"photo_id":"1398131942","filename":"file4"},{"photo_id":"1398131936","filename":"file1"},{"photo_id":"1398131934","filename":"file0"},{"photo_id":"1398131940","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131942":["hashtag1","hashtag2"]},{"1398131936":["hashtag1","hashtag2"]},{"1398131938":["hashtag1","hashtag2"]},{"1398131940":["hashtag1","hashtag2"]},{"1398131934":["hashtag1","hashtag2"]},{"1398131943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131942, 1398131936, 1398131938, 1398131940, 1398131934, 1398131943)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.655242681503296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 21:41:32.594673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/44/image_03122025_03_44_54_9633.jpg', '/home/pi/Desktop/images/03122025/03/44/image_03122025_03_45_04_9979.jpg', '/home/pi/Desktop/images/03122025/03/45/image_03122025_03_45_24_9739.jpg', '/home/pi/Desktop/images/03122025/03/45/image_03122025_03_45_54_9801.jpg', '/home/pi/Desktop/images/03122025/03/46/image_03122025_03_46_14_9826.jpg', '/home/pi/Desktop/images/03122025/03/47/image_03122025_03_47_25_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/44/image_03122025_03_44_54_9633.jpg
/home/pi/Desktop/images/03122025/03/44/image_03122025_03_45_04_9979.jpg
/home/pi/Desktop/images/03122025/03/45/image_03122025_03_45_24_9739.jpg
/home/pi/Desktop/images/03122025/03/45/image_03122025_03_45_54_9801.jpg
/home/pi/Desktop/images/03122025/03/46/image_03122025_03_46_14_9826.jpg
/home/pi/Desktop/images/03122025/03/47/image_03122025_03_47_25_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":["1398131963","1398131962","1398131947","1398131961","1398131949","1398131958"],"photo_ids_order":["1398131947","1398131949","1398131958","1398131961","1398131962","1398131963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7d980de09f7f2afc2c79ebdd309d6dbd.jpg","text":"TemporaryFile(/tmp/multipartBody7495522872619626322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967354932,"filename":"image_03122025_03_47_25_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0245053d36674d6277edea6eec397599.jpg","text":"TemporaryFile(/tmp/multipartBody1629848223264186944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967354932,"filename":"image_03122025_03_46_14_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b089d5f7e795bb82885f68f6fe2a82aa.jpg","text":"TemporaryFile(/tmp/multipartBody3566644591913078175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967354932,"filename":"image_03122025_03_44_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/5/b6384c74dba3eff65b0a3a6def95e4c4.jpg","text":"TemporaryFile(/tmp/multipartBody4114808479406233022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967354932,"filename":"image_03122025_03_45_54_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/847ee1d3a7e336235ce25af192ec24d9.jpg","text":"TemporaryFile(/tmp/multipartBody3560243313752577914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967354932,"filename":"image_03122025_03_45_04_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/5/8b5862e4b437bc7ad9827df940683a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8349694071746935091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967354932,"filename":"image_03122025_03_45_24_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131958","file1":"1398131949","file0":"1398131947","file4":"1398131962","file5":"1398131963","file3":"1398131961"},"map_files_photo_id_array":[{"photo_id":"1398131963","filename":"file5"},{"photo_id":"1398131958","filename":"file2"},{"photo_id":"1398131962","filename":"file4"},{"photo_id":"1398131949","filename":"file1"},{"photo_id":"1398131947","filename":"file0"},{"photo_id":"1398131961","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131963":["hashtag1","hashtag2"]},{"1398131962":["hashtag1","hashtag2"]},{"1398131947":["hashtag1","hashtag2"]},{"1398131961":["hashtag1","hashtag2"]},{"1398131949":["hashtag1","hashtag2"]},{"1398131958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131963, 1398131962, 1398131947, 1398131961, 1398131949, 1398131958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3889434337616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 21:42:12.604839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/47/image_03122025_03_47_44_10162.jpg', '/home/pi/Desktop/images/03122025/03/47/image_03122025_03_47_55_10087.jpg', '/home/pi/Desktop/images/03122025/03/47/image_03122025_03_48_04_9752.jpg', '/home/pi/Desktop/images/03122025/03/48/image_03122025_03_48_34_9833.jpg', '/home/pi/Desktop/images/03122025/03/48/image_03122025_03_48_54_9726.jpg', '/home/pi/Desktop/images/03122025/03/50/image_03122025_03_50_14_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/47/image_03122025_03_47_44_10162.jpg
/home/pi/Desktop/images/03122025/03/47/image_03122025_03_47_55_10087.jpg
/home/pi/Desktop/images/03122025/03/47/image_03122025_03_48_04_9752.jpg
/home/pi/Desktop/images/03122025/03/48/image_03122025_03_48_34_9833.jpg
/home/pi/Desktop/images/03122025/03/48/image_03122025_03_48_54_9726.jpg
/home/pi/Desktop/images/03122025/03/50/image_03122025_03_50_14_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131966","1398131975","1398131969","1398131971","1398131973","1398131967"],"photo_ids_order":["1398131966","1398131967","1398131969","1398131971","1398131973","1398131975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/07d244bc7db4e7050122911ae519d1d3.jpg","text":"TemporaryFile(/tmp/multipartBody5204580587141375224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967394797,"filename":"image_03122025_03_47_44_10162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7857803cc1089d7b786dab4cfd56c4e1.jpg","text":"TemporaryFile(/tmp/multipartBody384585845145797506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967394797,"filename":"image_03122025_03_50_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/5/9d195f7f63569ec89a5eca83925a1436.jpg","text":"TemporaryFile(/tmp/multipartBody3986190334231251170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967394797,"filename":"image_03122025_03_48_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/5/f3580e09cdc882229f9b097fca44c772.jpg","text":"TemporaryFile(/tmp/multipartBody5505793181417299826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967394797,"filename":"image_03122025_03_48_34_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/5/106c091ce827aeacdd10887633bb6bd9.jpg","text":"TemporaryFile(/tmp/multipartBody5801350848577628576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967394797,"filename":"image_03122025_03_48_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/5/81dfb78b48540baccdd28bdff95b9268.jpg","text":"TemporaryFile(/tmp/multipartBody4279948180244068257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967394797,"filename":"image_03122025_03_47_55_10087.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131969","file1":"1398131967","file0":"1398131966","file4":"1398131973","file5":"1398131975","file3":"1398131971"},"map_files_photo_id_array":[{"photo_id":"1398131975","filename":"file5"},{"photo_id":"1398131969","filename":"file2"},{"photo_id":"1398131973","filename":"file4"},{"photo_id":"1398131967","filename":"file1"},{"photo_id":"1398131966","filename":"file0"},{"photo_id":"1398131971","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131966":["hashtag1","hashtag2"]},{"1398131975":["hashtag1","hashtag2"]},{"1398131969":["hashtag1","hashtag2"]},{"1398131971":["hashtag1","hashtag2"]},{"1398131973":["hashtag1","hashtag2"]},{"1398131967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131966, 1398131975, 1398131969, 1398131971, 1398131973, 1398131967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55427575111389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:43:02.452745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/50/image_03122025_03_50_44_10078.jpg', '/home/pi/Desktop/images/03122025/03/51/image_03122025_03_52_04_9886.jpg', '/home/pi/Desktop/images/03122025/03/52/image_03122025_03_52_24_9935.jpg', '/home/pi/Desktop/images/03122025/03/52/image_03122025_03_52_34_9628.jpg', '/home/pi/Desktop/images/03122025/03/52/image_03122025_03_52_45_10627.jpg', '/home/pi/Desktop/images/03122025/03/52/image_03122025_03_52_54_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/50/image_03122025_03_50_44_10078.jpg
/home/pi/Desktop/images/03122025/03/51/image_03122025_03_52_04_9886.jpg
/home/pi/Desktop/images/03122025/03/52/image_03122025_03_52_24_9935.jpg
/home/pi/Desktop/images/03122025/03/52/image_03122025_03_52_34_9628.jpg
/home/pi/Desktop/images/03122025/03/52/image_03122025_03_52_45_10627.jpg
/home/pi/Desktop/images/03122025/03/52/image_03122025_03_52_54_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131981","1398131984","1398131978","1398131980","1398131979","1398131982"],"photo_ids_order":["1398131978","1398131979","1398131980","1398131981","1398131982","1398131984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0412db4690fdeba23d9a2961aa594b45.jpg","text":"TemporaryFile(/tmp/multipartBody5890274833236284119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967444409,"filename":"image_03122025_03_52_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2537edaa047f6c4335c0bbc83a83d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody751031325008614164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967444409,"filename":"image_03122025_03_52_54_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6fa4880d697cfcdec12ae06fb46583ca.jpg","text":"TemporaryFile(/tmp/multipartBody285171851722792020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967444409,"filename":"image_03122025_03_50_44_10078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/08d56b5f5b75aaee43872ad5a727380a.jpg","text":"TemporaryFile(/tmp/multipartBody6347289819233937913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967444409,"filename":"image_03122025_03_52_24_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/5/8e5664a6b4ec9c4094aebc4f0b8c91b4.jpg","text":"TemporaryFile(/tmp/multipartBody9012852314862718857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967444409,"filename":"image_03122025_03_52_04_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/70b4b5cc334c011d5df77d4221432744.jpg","text":"TemporaryFile(/tmp/multipartBody8819698547911763720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967444409,"filename":"image_03122025_03_52_45_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131980","file1":"1398131979","file0":"1398131978","file4":"1398131982","file5":"1398131984","file3":"1398131981"},"map_files_photo_id_array":[{"photo_id":"1398131984","filename":"file5"},{"photo_id":"1398131980","filename":"file2"},{"photo_id":"1398131982","filename":"file4"},{"photo_id":"1398131979","filename":"file1"},{"photo_id":"1398131978","filename":"file0"},{"photo_id":"1398131981","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398131981":["hashtag1","hashtag2"]},{"1398131984":["hashtag1","hashtag2"]},{"1398131978":["hashtag1","hashtag2"]},{"1398131980":["hashtag1","hashtag2"]},{"1398131979":["hashtag1","hashtag2"]},{"1398131982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398131981, 1398131984, 1398131978, 1398131980, 1398131979, 1398131982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.383217334747314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:43:41.855766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_06_2581.jpg', '/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_12_3559.jpg', '/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_15_2651.jpg', '/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_18_3552.jpg', '/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_24_2662.jpg', '/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_30_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_06_2581.jpg
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_12_3559.jpg
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_15_2651.jpg
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_18_3552.jpg
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_24_2662.jpg
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_30_2762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131996","1398131993","1398131992","1398131995","1398131989","1398131994"],"photo_ids_order":["1398131989","1398131992","1398131993","1398131994","1398131995","1398131996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7127f0483a78593fd4c4e7b41823bc19.jpg","text":"TemporaryFile(/tmp/multipartBody6794349751036168630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967483428,"filename":"image_31102025_20_49_30_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/5/71f6bcaaddfc1118f03b220f2dce481e.jpg","text":"TemporaryFile(/tmp/multipartBody3958696984803355888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967483428,"filename":"image_31102025_20_49_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/5/9a6a67c7297277f5291bee4db0f6c20d.jpg","text":"TemporaryFile(/tmp/multipartBody2359532641609939714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967483428,"filename":"image_31102025_20_49_12_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b43116ab60b8a25bef9c2dec208b3564.jpg","text":"TemporaryFile(/tmp/multipartBody1247216717938625642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967483428,"filename":"image_31102025_20_49_24_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/5/6111a130e1cacdc1f1a8037fb8edb420.jpg","text":"TemporaryFile(/tmp/multipartBody7491737048252341425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967483428,"filename":"image_31102025_20_49_06_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/5/695ff4c6a6865d0d8b590494311213ac.jpg","text":"TemporaryFile(/tmp/multipartBody3187272757938568609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967483428,"filename":"image_31102025_20_49_18_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398131993","file1":"1398131992","file0":"1398131989","file4":"1398131995","file5":"1398131996","file3":"1398131994"},"map_files_photo_id_array":[{"photo_id":"1398131996","filename":"file5"},{"photo_id":"1398131993","filename":"file2"},{"photo_id":"1398131995","filename":"file4"},{"photo_id":"1398131992","filename":"file1"},{"photo_id":"1398131989","filename":"file0"},{"photo_id":"1398131994","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131996":["hashtag1","hashtag2"]},{"1398131993":["hashtag1","hashtag2"]},{"1398131992":["hashtag1","hashtag2"]},{"1398131995":["hashtag1","hashtag2"]},{"1398131989":["hashtag1","hashtag2"]},{"1398131994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131996, 1398131993, 1398131992, 1398131995, 1398131989, 1398131994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50059771537781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:44:22.086024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_33_2700.jpg', '/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_36_3568.jpg', '/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_39_2551.jpg', '/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_42_2679.jpg', '/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_45_3619.jpg', '/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_48_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_33_2700.jpg
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_36_3568.jpg
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_39_2551.jpg
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_42_2679.jpg
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_45_3619.jpg
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_48_2521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398131999","1398132014","1398132008","1398132001","1398132004","1398132006"],"photo_ids_order":["1398131999","1398132001","1398132004","1398132006","1398132008","1398132014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4733dd6c582996016da1add0f4ce9b57.jpg","text":"TemporaryFile(/tmp/multipartBody6046127039156150010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967523648,"filename":"image_31102025_20_49_33_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/5/766bc7682bf73df60853c7f22a037a91.jpg","text":"TemporaryFile(/tmp/multipartBody5654091911023577663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967523648,"filename":"image_31102025_20_49_48_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/5/63a65a0486afd140be996530a3e51405.jpg","text":"TemporaryFile(/tmp/multipartBody2003638518897758425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967523648,"filename":"image_31102025_20_49_45_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/5/4eb3dd4d2a7761cb74c415a6b59d4c52.jpg","text":"TemporaryFile(/tmp/multipartBody5341362887232944820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967523648,"filename":"image_31102025_20_49_36_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/5/89b2d696a36d973c62436e55ba3e3f96.jpg","text":"TemporaryFile(/tmp/multipartBody2507684634887372644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967523648,"filename":"image_31102025_20_49_39_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/5/ed345b3583f3f34ec5cc58d4c1d88b81.jpg","text":"TemporaryFile(/tmp/multipartBody6971291580279242777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967523648,"filename":"image_31102025_20_49_42_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132004","file1":"1398132001","file0":"1398131999","file4":"1398132008","file5":"1398132014","file3":"1398132006"},"map_files_photo_id_array":[{"photo_id":"1398132014","filename":"file5"},{"photo_id":"1398132004","filename":"file2"},{"photo_id":"1398132008","filename":"file4"},{"photo_id":"1398132001","filename":"file1"},{"photo_id":"1398131999","filename":"file0"},{"photo_id":"1398132006","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398131999":["hashtag1","hashtag2"]},{"1398132014":["hashtag1","hashtag2"]},{"1398132008":["hashtag1","hashtag2"]},{"1398132001":["hashtag1","hashtag2"]},{"1398132004":["hashtag1","hashtag2"]},{"1398132006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398131999, 1398132014, 1398132008, 1398132001, 1398132004, 1398132006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7666220664978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:45:02.898575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/54/image_03122025_03_54_24_10318.jpg', '/home/pi/Desktop/images/03122025/03/55/image_03122025_03_55_14_10036.jpg', '/home/pi/Desktop/images/03122025/03/55/image_03122025_03_55_34_9726.jpg', '/home/pi/Desktop/images/03122025/03/56/image_03122025_03_56_54_9661.jpg', '/home/pi/Desktop/images/03122025/03/57/image_03122025_03_57_44_9838.jpg', '/home/pi/Desktop/images/03122025/03/57/image_03122025_03_57_55_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/54/image_03122025_03_54_24_10318.jpg
/home/pi/Desktop/images/03122025/03/55/image_03122025_03_55_14_10036.jpg
/home/pi/Desktop/images/03122025/03/55/image_03122025_03_55_34_9726.jpg
/home/pi/Desktop/images/03122025/03/56/image_03122025_03_56_54_9661.jpg
/home/pi/Desktop/images/03122025/03/57/image_03122025_03_57_44_9838.jpg
/home/pi/Desktop/images/03122025/03/57/image_03122025_03_57_55_10717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132020","1398132017","1398132022","1398132016","1398132015","1398132018"],"photo_ids_order":["1398132015","1398132016","1398132017","1398132018","1398132020","1398132022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5dceeadfb3ef021cc1b5a9eb5203b8d5.jpg","text":"TemporaryFile(/tmp/multipartBody5321424286326553609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967564774,"filename":"image_03122025_03_57_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/5/b855bc144a72a6375aeccc61c4994bc9.jpg","text":"TemporaryFile(/tmp/multipartBody8111427152562155167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967564774,"filename":"image_03122025_03_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/5/d50de62fffe472268ce5bdb53b90d590.jpg","text":"TemporaryFile(/tmp/multipartBody5766900622238844664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967564774,"filename":"image_03122025_03_57_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/5/8c3b2bcafdb8fa10d6ae3351be6d03ef.jpg","text":"TemporaryFile(/tmp/multipartBody5465834761946526376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967564774,"filename":"image_03122025_03_55_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/5/e8605330706a0b43c375abd40075aa99.jpg","text":"TemporaryFile(/tmp/multipartBody6650912165267438987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967564774,"filename":"image_03122025_03_54_24_10318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f7466e1436880cf24af443d17cbcde61.jpg","text":"TemporaryFile(/tmp/multipartBody1020420319847588632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967564774,"filename":"image_03122025_03_56_54_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132017","file1":"1398132016","file0":"1398132015","file4":"1398132020","file5":"1398132022","file3":"1398132018"},"map_files_photo_id_array":[{"photo_id":"1398132022","filename":"file5"},{"photo_id":"1398132017","filename":"file2"},{"photo_id":"1398132020","filename":"file4"},{"photo_id":"1398132016","filename":"file1"},{"photo_id":"1398132015","filename":"file0"},{"photo_id":"1398132018","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398132020":["hashtag1","hashtag2"]},{"1398132017":["hashtag1","hashtag2"]},{"1398132022":["hashtag1","hashtag2"]},{"1398132016":["hashtag1","hashtag2"]},{"1398132015":["hashtag1","hashtag2"]},{"1398132018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398132020, 1398132017, 1398132022, 1398132016, 1398132015, 1398132018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38676691055298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:45:42.200933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_51_3566.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_06_3665.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_09_2867.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_12_2571.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_15_3555.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_18_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/49/image_31102025_20_49_51_3566.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_06_3665.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_09_2867.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_12_2571.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_15_3555.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_18_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132032","1398132026","1398132029","1398132031","1398132028","1398132030"],"photo_ids_order":["1398132026","1398132028","1398132029","1398132030","1398132031","1398132032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c06ed3cdc3538666ca90bdf83b04213c.jpg","text":"TemporaryFile(/tmp/multipartBody6607527264793829616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967603790,"filename":"image_31102025_20_50_18_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/5/4cfa9824709ff2bca666bdb7a44ed1ca.jpg","text":"TemporaryFile(/tmp/multipartBody3268919341614613225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967603790,"filename":"image_31102025_20_49_51_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a1c77fb0d2919b5647709721b4606612.jpg","text":"TemporaryFile(/tmp/multipartBody5384527416715332200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967603790,"filename":"image_31102025_20_50_09_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8c21ce69ffe8aa17fa2b389f1a1859a3.jpg","text":"TemporaryFile(/tmp/multipartBody4011400314917211789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967603790,"filename":"image_31102025_20_50_15_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/5/9a301af9930dca4ccc69d6523427380c.jpg","text":"TemporaryFile(/tmp/multipartBody8340469625913390182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967603790,"filename":"image_31102025_20_50_06_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/5/e0f1ffacfb96150cee82c9744003c9e4.jpg","text":"TemporaryFile(/tmp/multipartBody129613297707083362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967603790,"filename":"image_31102025_20_50_12_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132029","file1":"1398132028","file0":"1398132026","file4":"1398132031","file5":"1398132032","file3":"1398132030"},"map_files_photo_id_array":[{"photo_id":"1398132032","filename":"file5"},{"photo_id":"1398132029","filename":"file2"},{"photo_id":"1398132031","filename":"file4"},{"photo_id":"1398132028","filename":"file1"},{"photo_id":"1398132026","filename":"file0"},{"photo_id":"1398132030","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132032":["hashtag1","hashtag2"]},{"1398132026":["hashtag1","hashtag2"]},{"1398132029":["hashtag1","hashtag2"]},{"1398132031":["hashtag1","hashtag2"]},{"1398132028":["hashtag1","hashtag2"]},{"1398132030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132032, 1398132026, 1398132029, 1398132031, 1398132028, 1398132030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33829736709595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:46:22.492454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/36/image_05122025_21_37_05_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/36/image_05122025_21_37_05_9851.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132036"],"photo_id":"1398132036","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c89efa8997e695d3125d154a16a36a40.jpg","text":"TemporaryFile(/tmp/multipartBody2338094983080391416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967642987,"filename":"image_05122025_21_37_05_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398132036"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398132036"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.100359439849854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:46:42.348651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_24_3632.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_27_2595.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_30_2577.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_33_3713.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_36_2851.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_39_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_24_3632.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_27_2595.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_30_2577.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_33_3713.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_36_2851.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_39_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":["1398132044","1398132047","1398132043","1398132046","1398132042","1398132045"],"photo_ids_order":["1398132042","1398132043","1398132044","1398132045","1398132046","1398132047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5eda1255cc6f01f3f1c10a06e04ce0e1.jpg","text":"TemporaryFile(/tmp/multipartBody581883691778443874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967663920,"filename":"image_31102025_20_50_30_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/510f863c3de956bdb5f2468879e660ea.jpg","text":"TemporaryFile(/tmp/multipartBody7392672797911310466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967663920,"filename":"image_31102025_20_50_39_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/5/bbc50c7a88e6893f0638e18cc5da4e52.jpg","text":"TemporaryFile(/tmp/multipartBody705088158402615040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967663920,"filename":"image_31102025_20_50_27_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/5/00239fe6f0e24d2750181e7381d1dce7.jpg","text":"TemporaryFile(/tmp/multipartBody4698284824742430999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967663920,"filename":"image_31102025_20_50_36_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/5/1df2f923dfc087b99211f56fcbae317f.jpg","text":"TemporaryFile(/tmp/multipartBody3643622405475994502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967663920,"filename":"image_31102025_20_50_24_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/5/035dbd44f5533eb0f611a3c9fbd9834d.jpg","text":"TemporaryFile(/tmp/multipartBody4008418057461473321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967663920,"filename":"image_31102025_20_50_33_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132044","file1":"1398132043","file0":"1398132042","file4":"1398132046","file5":"1398132047","file3":"1398132045"},"map_files_photo_id_array":[{"photo_id":"1398132047","filename":"file5"},{"photo_id":"1398132044","filename":"file2"},{"photo_id":"1398132046","filename":"file4"},{"photo_id":"1398132043","filename":"file1"},{"photo_id":"1398132042","filename":"file0"},{"photo_id":"1398132045","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132044":["hashtag1","hashtag2"]},{"1398132047":["hashtag1","hashtag2"]},{"1398132043":["hashtag1","hashtag2"]},{"1398132046":["hashtag1","hashtag2"]},{"1398132042":["hashtag1","hashtag2"]},{"1398132045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132044, 1398132047, 1398132043, 1398132046, 1398132042, 1398132045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17015266418457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:47:22.522037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_42_3626.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_45_2769.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_48_2777.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_50_2620.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_53_2911.jpg', '/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_57_3832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_42_3626.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_45_2769.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_48_2777.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_50_2620.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_53_2911.jpg
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_50_57_3832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132065","1398132050","1398132056","1398132058","1398132052","1398132054"],"photo_ids_order":["1398132050","1398132052","1398132054","1398132056","1398132058","1398132065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f3a7a301d148a8e78670b2ecaec6946e.jpg","text":"TemporaryFile(/tmp/multipartBody8487100411305350905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967704130,"filename":"image_31102025_20_50_57_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d06c095954a401e749723010027f7cc.jpg","text":"TemporaryFile(/tmp/multipartBody6560928316918308723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967704130,"filename":"image_31102025_20_50_42_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/5/c969de99888bd894ed90d88ab8717674.jpg","text":"TemporaryFile(/tmp/multipartBody8304707689692887189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967704130,"filename":"image_31102025_20_50_50_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/5/f3f06db20c2fddf65c75a744a0b1da61.jpg","text":"TemporaryFile(/tmp/multipartBody8646412766256639888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967704130,"filename":"image_31102025_20_50_53_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/5/8cc6e288eae7d9097710b68780f18cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3825022145812824421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967704130,"filename":"image_31102025_20_50_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/5/7cd815fbc2fc55d722d699022847575b.jpg","text":"TemporaryFile(/tmp/multipartBody1959903017437536802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967704130,"filename":"image_31102025_20_50_48_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132054","file1":"1398132052","file0":"1398132050","file4":"1398132058","file5":"1398132065","file3":"1398132056"},"map_files_photo_id_array":[{"photo_id":"1398132065","filename":"file5"},{"photo_id":"1398132054","filename":"file2"},{"photo_id":"1398132058","filename":"file4"},{"photo_id":"1398132052","filename":"file1"},{"photo_id":"1398132050","filename":"file0"},{"photo_id":"1398132056","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132065":["hashtag1","hashtag2"]},{"1398132050":["hashtag1","hashtag2"]},{"1398132056":["hashtag1","hashtag2"]},{"1398132058":["hashtag1","hashtag2"]},{"1398132052":["hashtag1","hashtag2"]},{"1398132054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132065, 1398132050, 1398132056, 1398132058, 1398132052, 1398132054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09329175949097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:48:03.132366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/03/57/image_03122025_03_58_04_9787.jpg', '/home/pi/Desktop/images/03122025/03/59/image_03122025_03_59_34_9862.jpg', '/home/pi/Desktop/images/03122025/03/59/image_03122025_03_59_54_9813.jpg', '/home/pi/Desktop/images/03122025/03/59/image_03122025_04_00_04_9918.jpg', '/home/pi/Desktop/images/03122025/04/00/image_03122025_04_00_24_9790.jpg', '/home/pi/Desktop/images/03122025/04/00/image_03122025_04_00_35_10890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/03/57/image_03122025_03_58_04_9787.jpg
/home/pi/Desktop/images/03122025/03/59/image_03122025_03_59_34_9862.jpg
/home/pi/Desktop/images/03122025/03/59/image_03122025_03_59_54_9813.jpg
/home/pi/Desktop/images/03122025/03/59/image_03122025_04_00_04_9918.jpg
/home/pi/Desktop/images/03122025/04/00/image_03122025_04_00_24_9790.jpg
/home/pi/Desktop/images/03122025/04/00/image_03122025_04_00_35_10890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132071","1398132068","1398132067","1398132070","1398132072","1398132069"],"photo_ids_order":["1398132067","1398132068","1398132069","1398132070","1398132071","1398132072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bfd27798456d129a8492f04f0ced62c3.jpg","text":"TemporaryFile(/tmp/multipartBody5457017208164862991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967744960,"filename":"image_03122025_04_00_24_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b7828957dcc6dc96b7053d4b23074eff.jpg","text":"TemporaryFile(/tmp/multipartBody4889319361942892145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967744960,"filename":"image_03122025_03_59_34_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/5/c7def6df584e09393563547c39850285.jpg","text":"TemporaryFile(/tmp/multipartBody5417153498016613248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967744960,"filename":"image_03122025_03_58_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/5/cc7725c7b3b7401c8f07dc99697451d4.jpg","text":"TemporaryFile(/tmp/multipartBody3307843272090734914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967744960,"filename":"image_03122025_04_00_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/5/d6bc807b50a929a9891935ca41b4cae8.jpg","text":"TemporaryFile(/tmp/multipartBody2437013733398797674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967744960,"filename":"image_03122025_04_00_35_10890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aea192bb1379e9774c2d9c4240d8232a.jpg","text":"TemporaryFile(/tmp/multipartBody4920119322572885899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967744960,"filename":"image_03122025_03_59_54_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132069","file1":"1398132068","file0":"1398132067","file4":"1398132071","file5":"1398132072","file3":"1398132070"},"map_files_photo_id_array":[{"photo_id":"1398132072","filename":"file5"},{"photo_id":"1398132069","filename":"file2"},{"photo_id":"1398132071","filename":"file4"},{"photo_id":"1398132068","filename":"file1"},{"photo_id":"1398132067","filename":"file0"},{"photo_id":"1398132070","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398132071":["hashtag1","hashtag2"]},{"1398132068":["hashtag1","hashtag2"]},{"1398132067":["hashtag1","hashtag2"]},{"1398132070":["hashtag1","hashtag2"]},{"1398132072":["hashtag1","hashtag2"]},{"1398132069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398132071, 1398132068, 1398132067, 1398132070, 1398132072, 1398132069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66447067260742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:48:42.738437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/50/image_31102025_20_51_00_2774.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_03_2559.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_06_3717.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_09_2761.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_12_2608.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_14_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/50/image_31102025_20_51_00_2774.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_03_2559.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_06_3717.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_09_2761.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_12_2608.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_14_2723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132092","1398132086","1398132088","1398132090","1398132084","1398132081"],"photo_ids_order":["1398132081","1398132084","1398132086","1398132088","1398132090","1398132092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4ee3634167059bed40912fe9712c5d6e.jpg","text":"TemporaryFile(/tmp/multipartBody6723035381948354387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967784421,"filename":"image_31102025_20_51_14_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/5/e3d07f9b280c6f4a671e829a2d3534dc.jpg","text":"TemporaryFile(/tmp/multipartBody3519357631581084902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967784421,"filename":"image_31102025_20_51_06_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6138fc938d2af297eb52ce5b6d73b5e5.jpg","text":"TemporaryFile(/tmp/multipartBody226622058610003188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967784421,"filename":"image_31102025_20_51_09_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/5/261be024dd0202cd56843dc03236f8e9.jpg","text":"TemporaryFile(/tmp/multipartBody1547110930184490055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967784421,"filename":"image_31102025_20_51_12_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/03d98a48c396545486cd4d544000a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody5609934203274132002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967784421,"filename":"image_31102025_20_51_03_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/5/074d707e70dafa62720cd8147475df13.jpg","text":"TemporaryFile(/tmp/multipartBody1244153007410242804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967784421,"filename":"image_31102025_20_51_00_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132086","file1":"1398132084","file0":"1398132081","file4":"1398132090","file5":"1398132092","file3":"1398132088"},"map_files_photo_id_array":[{"photo_id":"1398132092","filename":"file5"},{"photo_id":"1398132086","filename":"file2"},{"photo_id":"1398132090","filename":"file4"},{"photo_id":"1398132084","filename":"file1"},{"photo_id":"1398132081","filename":"file0"},{"photo_id":"1398132088","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132092":["hashtag1","hashtag2"]},{"1398132086":["hashtag1","hashtag2"]},{"1398132088":["hashtag1","hashtag2"]},{"1398132090":["hashtag1","hashtag2"]},{"1398132084":["hashtag1","hashtag2"]},{"1398132081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132092, 1398132086, 1398132088, 1398132090, 1398132084, 1398132081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16012930870056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:49:21.873517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/46/image_05122025_21_46_55_10846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/46/image_05122025_21_46_55_10846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132093"],"photo_id":"1398132093","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/426b58a721f985a91449b343cea5a3d7.jpg","text":"TemporaryFile(/tmp/multipartBody2784939528813635226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967822359,"filename":"image_05122025_21_46_55_10846.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398132093"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398132093"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.10755968093872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:49:41.852956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_18_3688.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_21_2630.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_27_2686.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_30_2761.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_32_2713.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_39_2949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_18_3688.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_21_2630.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_27_2686.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_30_2761.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_32_2713.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_39_2949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132101","1398132104","1398132097","1398132100","1398132102","1398132098"],"photo_ids_order":["1398132097","1398132098","1398132100","1398132101","1398132102","1398132104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f20d989e2897c3a9d6755554eefe6b12.jpg","text":"TemporaryFile(/tmp/multipartBody7233840641145161954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967843403,"filename":"image_31102025_20_51_30_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/5/030f4c4bfd45ff153988516b7f218df1.jpg","text":"TemporaryFile(/tmp/multipartBody6707557671992328825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967843403,"filename":"image_31102025_20_51_39_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ac70ba4566aead0f2927ac320ee8bfdc.jpg","text":"TemporaryFile(/tmp/multipartBody5867612767976022169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967843403,"filename":"image_31102025_20_51_18_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/5/f9098161b06262fdbaa0a11cbf99bd59.jpg","text":"TemporaryFile(/tmp/multipartBody6688472338850574599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967843403,"filename":"image_31102025_20_51_27_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/5/dd60a1da285027d93138f0c80f049d6b.jpg","text":"TemporaryFile(/tmp/multipartBody631708488707835889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967843403,"filename":"image_31102025_20_51_32_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/5/e85966889975b85e85baf431c6826ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4306039267595967221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967843403,"filename":"image_31102025_20_51_21_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132100","file1":"1398132098","file0":"1398132097","file4":"1398132102","file5":"1398132104","file3":"1398132101"},"map_files_photo_id_array":[{"photo_id":"1398132104","filename":"file5"},{"photo_id":"1398132100","filename":"file2"},{"photo_id":"1398132102","filename":"file4"},{"photo_id":"1398132098","filename":"file1"},{"photo_id":"1398132097","filename":"file0"},{"photo_id":"1398132101","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132101":["hashtag1","hashtag2"]},{"1398132104":["hashtag1","hashtag2"]},{"1398132097":["hashtag1","hashtag2"]},{"1398132100":["hashtag1","hashtag2"]},{"1398132102":["hashtag1","hashtag2"]},{"1398132098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132101, 1398132104, 1398132097, 1398132100, 1398132102, 1398132098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68249201774597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:50:22.070139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_42_2593.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_45_3608.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_48_2582.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_54_3645.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_57_2745.jpg', '/home/pi/Desktop/images/31102025/20/51/image_31102025_20_52_00_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_42_2593.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_45_3608.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_48_2582.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_54_3645.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_51_57_2745.jpg
/home/pi/Desktop/images/31102025/20/51/image_31102025_20_52_00_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":["1398132191","1398132227","1398132307","1398132264","1398132153","1398132114"],"photo_ids_order":["1398132114","1398132153","1398132191","1398132227","1398132264","1398132307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5d3e48e53d45c80b237be8491aa8dfcf.jpg","text":"TemporaryFile(/tmp/multipartBody8284562710260386992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967883654,"filename":"image_31102025_20_51_48_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/5/d1f4bce8160c54e602ccfdbe2a308848.jpg","text":"TemporaryFile(/tmp/multipartBody6835824858450540402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967883654,"filename":"image_31102025_20_51_54_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/5/3b0aa1b419d583a59d72ab185cdbe0fb.jpg","text":"TemporaryFile(/tmp/multipartBody3933178918666678409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967883654,"filename":"image_31102025_20_52_00_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/5/c5399c79a02f0825650cf3c98f1ed949.jpg","text":"TemporaryFile(/tmp/multipartBody3519500332260867508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967883654,"filename":"image_31102025_20_51_57_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/5/d3a03f1cc8bd7411c6625e2585ffd2ae.jpg","text":"TemporaryFile(/tmp/multipartBody3646247356406608919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967883654,"filename":"image_31102025_20_51_45_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/5/4262dd2218bf32114a3102fdeffd9a9c.jpg","text":"TemporaryFile(/tmp/multipartBody2769804607153527970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967883654,"filename":"image_31102025_20_51_42_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132191","file1":"1398132153","file0":"1398132114","file4":"1398132264","file5":"1398132307","file3":"1398132227"},"map_files_photo_id_array":[{"photo_id":"1398132307","filename":"file5"},{"photo_id":"1398132191","filename":"file2"},{"photo_id":"1398132264","filename":"file4"},{"photo_id":"1398132153","filename":"file1"},{"photo_id":"1398132114","filename":"file0"},{"photo_id":"1398132227","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132191":["hashtag1","hashtag2"]},{"1398132227":["hashtag1","hashtag2"]},{"1398132307":["hashtag1","hashtag2"]},{"1398132264":["hashtag1","hashtag2"]},{"1398132153":["hashtag1","hashtag2"]},{"1398132114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132191, 1398132227, 1398132307, 1398132264, 1398132153, 1398132114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.309473276138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:51:02.969495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/00/image_03122025_04_00_44_9779.jpg', '/home/pi/Desktop/images/03122025/04/01/image_03122025_04_01_34_9763.jpg', '/home/pi/Desktop/images/03122025/04/01/image_03122025_04_01_44_9516.jpg', '/home/pi/Desktop/images/03122025/04/01/image_03122025_04_02_05_10172.jpg', '/home/pi/Desktop/images/03122025/04/02/image_03122025_04_02_14_9719.jpg', '/home/pi/Desktop/images/03122025/04/02/image_03122025_04_02_34_9974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/00/image_03122025_04_00_44_9779.jpg
/home/pi/Desktop/images/03122025/04/01/image_03122025_04_01_34_9763.jpg
/home/pi/Desktop/images/03122025/04/01/image_03122025_04_01_44_9516.jpg
/home/pi/Desktop/images/03122025/04/01/image_03122025_04_02_05_10172.jpg
/home/pi/Desktop/images/03122025/04/02/image_03122025_04_02_14_9719.jpg
/home/pi/Desktop/images/03122025/04/02/image_03122025_04_02_34_9974.jpg
 val : 1 : upload photos already in 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":["1398132434","1398132428","1398132427","1398132430","1398132432","1398132429"],"photo_ids_order":["1398132427","1398132428","1398132429","1398132430","1398132432","1398132434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bbb657095cdcc6d7a98b7bf817019567.jpg","text":"TemporaryFile(/tmp/multipartBody7378764031036502441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967924914,"filename":"image_03122025_04_02_34_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/5/9f36294f2958285f3804f3a39c5b3f90.jpg","text":"TemporaryFile(/tmp/multipartBody1133097715482748686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967924914,"filename":"image_03122025_04_01_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/5/d787ef00bcabf5e69bea9b6ad6469098.jpg","text":"TemporaryFile(/tmp/multipartBody856401063822785707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967924914,"filename":"image_03122025_04_00_44_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/16e01ba5f1d7f75e7ebd84212ffaed39.jpg","text":"TemporaryFile(/tmp/multipartBody1388408542418203647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967924914,"filename":"image_03122025_04_02_05_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/5/72d054d21948ee12686a7fa5303057e7.jpg","text":"TemporaryFile(/tmp/multipartBody4674499522145205311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967924914,"filename":"image_03122025_04_02_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/5/0ac06b16c63e34299f29c2d5013d2c93.jpg","text":"TemporaryFile(/tmp/multipartBody805359676461292715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967924914,"filename":"image_03122025_04_01_44_9516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132429","file1":"1398132428","file0":"1398132427","file4":"1398132432","file5":"1398132434","file3":"1398132430"},"map_files_photo_id_array":[{"photo_id":"1398132434","filename":"file5"},{"photo_id":"1398132429","filename":"file2"},{"photo_id":"1398132432","filename":"file4"},{"photo_id":"1398132428","filename":"file1"},{"photo_id":"1398132427","filename":"file0"},{"photo_id":"1398132430","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398132434":["hashtag1","hashtag2"]},{"1398132428":["hashtag1","hashtag2"]},{"1398132427":["hashtag1","hashtag2"]},{"1398132430":["hashtag1","hashtag2"]},{"1398132432":["hashtag1","hashtag2"]},{"1398132429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398132434, 1398132428, 1398132427, 1398132430, 1398132432, 1398132429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.774165630340576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:52:02.930799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/49/image_05122025_21_49_15_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/49/image_05122025_21_49_15_9749.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39531660079956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 21:52:12.417740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/02/image_03122025_04_02_45_10629.jpg', '/home/pi/Desktop/images/03122025/04/03/image_03122025_04_03_24_9591.jpg', '/home/pi/Desktop/images/03122025/04/03/image_03122025_04_03_35_10838.jpg', '/home/pi/Desktop/images/03122025/04/03/image_03122025_04_03_54_9674.jpg', '/home/pi/Desktop/images/03122025/04/04/image_03122025_04_04_14_9893.jpg', '/home/pi/Desktop/images/03122025/04/04/image_03122025_04_04_24_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/02/image_03122025_04_02_45_10629.jpg
/home/pi/Desktop/images/03122025/04/03/image_03122025_04_03_24_9591.jpg
/home/pi/Desktop/images/03122025/04/03/image_03122025_04_03_35_10838.jpg
/home/pi/Desktop/images/03122025/04/03/image_03122025_04_03_54_9674.jpg
/home/pi/Desktop/images/03122025/04/04/image_03122025_04_04_14_9893.jpg
/home/pi/Desktop/images/03122025/04/04/image_03122025_04_04_24_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132449","1398132443","1398132445","1398132442","1398132450","1398132447"],"photo_ids_order":["1398132442","1398132443","1398132445","1398132447","1398132449","1398132450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a055ac7147024148c0c270eb4295bc17.jpg","text":"TemporaryFile(/tmp/multipartBody511625135633286296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967994390,"filename":"image_03122025_04_04_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/5/e05812d41c149ca5f7b657dcb8a813f4.jpg","text":"TemporaryFile(/tmp/multipartBody1913820684568274384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967994390,"filename":"image_03122025_04_03_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/5/5dd5616eafbf254296ef1823621f5f58.jpg","text":"TemporaryFile(/tmp/multipartBody1149849749217645228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967994390,"filename":"image_03122025_04_03_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/5/534b9d53d04a5c015de3b260f5ea21c3.jpg","text":"TemporaryFile(/tmp/multipartBody8556243527424271517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967994390,"filename":"image_03122025_04_02_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/5/e788ab947a3816dad012714cb9a13704.jpg","text":"TemporaryFile(/tmp/multipartBody1329527691053668637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967994390,"filename":"image_03122025_04_04_24_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/5/a8f0564c76606355b426e69106fc85ec.jpg","text":"TemporaryFile(/tmp/multipartBody9047814629448370848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764967994390,"filename":"image_03122025_04_03_54_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132445","file1":"1398132443","file0":"1398132442","file4":"1398132449","file5":"1398132450","file3":"1398132447"},"map_files_photo_id_array":[{"photo_id":"1398132450","filename":"file5"},{"photo_id":"1398132445","filename":"file2"},{"photo_id":"1398132449","filename":"file4"},{"photo_id":"1398132443","filename":"file1"},{"photo_id":"1398132442","filename":"file0"},{"photo_id":"1398132447","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398132449":["hashtag1","hashtag2"]},{"1398132443":["hashtag1","hashtag2"]},{"1398132445":["hashtag1","hashtag2"]},{"1398132442":["hashtag1","hashtag2"]},{"1398132450":["hashtag1","hashtag2"]},{"1398132447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398132449, 1398132443, 1398132445, 1398132442, 1398132450, 1398132447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.932716846466064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:53:03.355277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/49/image_05122025_21_49_15_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/49/image_05122025_21_49_15_9749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132452"],"photo_id":"1398132452","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5965eafe1d81b13a5dc8ff9fb825477d.jpg","text":"TemporaryFile(/tmp/multipartBody7601394460096398068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968043883,"filename":"image_05122025_21_49_15_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398132452"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398132452"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.225908517837524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:53:22.769286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_03_3550.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_08_2508.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_12_3613.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_17_2756.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_21_3758.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_24_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_03_3550.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_08_2508.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_12_3613.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_17_2756.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_21_3758.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_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":["1398132458","1398132460","1398132454","1398132462","1398132456","1398132465"],"photo_ids_order":["1398132454","1398132456","1398132458","1398132460","1398132462","1398132465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4ac59ed7935422a208e31e5046ac8ce3.jpg","text":"TemporaryFile(/tmp/multipartBody618541187670990578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968064358,"filename":"image_31102025_20_52_12_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/5/8f39b9430a75797b6a11ed7c83d4c165.jpg","text":"TemporaryFile(/tmp/multipartBody2283008666121941428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968064358,"filename":"image_31102025_20_52_17_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/5/ec60ce0e7615f19cd943dc4698691675.jpg","text":"TemporaryFile(/tmp/multipartBody5852791164738683435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968064358,"filename":"image_31102025_20_52_03_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/5/3c104290f372bf772aa0cc41cc0c2252.jpg","text":"TemporaryFile(/tmp/multipartBody7765472655771310920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968064358,"filename":"image_31102025_20_52_21_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/5/bbe8484ec5bb750e4acc63b62286a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody4057181629997456605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968064358,"filename":"image_31102025_20_52_08_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/aa36311ee9017888b6e05ce399297bd7.jpg","text":"TemporaryFile(/tmp/multipartBody5245283955417417163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968064358,"filename":"image_31102025_20_52_24_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132458","file1":"1398132456","file0":"1398132454","file4":"1398132462","file5":"1398132465","file3":"1398132460"},"map_files_photo_id_array":[{"photo_id":"1398132465","filename":"file5"},{"photo_id":"1398132458","filename":"file2"},{"photo_id":"1398132462","filename":"file4"},{"photo_id":"1398132456","filename":"file1"},{"photo_id":"1398132454","filename":"file0"},{"photo_id":"1398132460","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132458":["hashtag1","hashtag2"]},{"1398132460":["hashtag1","hashtag2"]},{"1398132454":["hashtag1","hashtag2"]},{"1398132462":["hashtag1","hashtag2"]},{"1398132456":["hashtag1","hashtag2"]},{"1398132465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132458, 1398132460, 1398132454, 1398132462, 1398132456, 1398132465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22289276123047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:54:02.584383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/04/image_03122025_04_04_54_9915.jpg', '/home/pi/Desktop/images/03122025/04/04/image_03122025_04_05_04_10799.jpg', '/home/pi/Desktop/images/03122025/04/05/image_03122025_04_05_14_9905.jpg', '/home/pi/Desktop/images/03122025/04/05/image_03122025_04_05_24_9732.jpg', '/home/pi/Desktop/images/03122025/04/05/image_03122025_04_06_04_9761.jpg', '/home/pi/Desktop/images/03122025/04/06/image_03122025_04_06_24_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/04/image_03122025_04_04_54_9915.jpg
/home/pi/Desktop/images/03122025/04/04/image_03122025_04_05_04_10799.jpg
/home/pi/Desktop/images/03122025/04/05/image_03122025_04_05_14_9905.jpg
/home/pi/Desktop/images/03122025/04/05/image_03122025_04_05_24_9732.jpg
/home/pi/Desktop/images/03122025/04/05/image_03122025_04_06_04_9761.jpg
/home/pi/Desktop/images/03122025/04/06/image_03122025_04_06_24_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132466","1398132469","1398132468","1398132471","1398132473","1398132467"],"photo_ids_order":["1398132466","1398132467","1398132468","1398132469","1398132471","1398132473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c5292cf8591c9c8b3351a29ea19f4149.jpg","text":"TemporaryFile(/tmp/multipartBody7144616701842608075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968104427,"filename":"image_03122025_04_04_54_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/5/77ab832036542e9de5a4422ec9b3fb57.jpg","text":"TemporaryFile(/tmp/multipartBody3225357535642735636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968104427,"filename":"image_03122025_04_05_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/5/62c1ed5f534a1c129004253024ebce99.jpg","text":"TemporaryFile(/tmp/multipartBody1542316830132262669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968104427,"filename":"image_03122025_04_05_14_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/5/091bf19536c3fd74ba9edb54d1aa3980.jpg","text":"TemporaryFile(/tmp/multipartBody4480537570496687223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968104427,"filename":"image_03122025_04_06_04_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a4b229dad211251bb773f5c0d484bf4.jpg","text":"TemporaryFile(/tmp/multipartBody4071900454173648549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968104427,"filename":"image_03122025_04_06_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c1a0396cb8c5e7eb0db40edec6545b8.jpg","text":"TemporaryFile(/tmp/multipartBody6760276709093974307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968104427,"filename":"image_03122025_04_05_04_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132468","file1":"1398132467","file0":"1398132466","file4":"1398132471","file5":"1398132473","file3":"1398132469"},"map_files_photo_id_array":[{"photo_id":"1398132473","filename":"file5"},{"photo_id":"1398132468","filename":"file2"},{"photo_id":"1398132471","filename":"file4"},{"photo_id":"1398132467","filename":"file1"},{"photo_id":"1398132466","filename":"file0"},{"photo_id":"1398132469","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398132466":["hashtag1","hashtag2"]},{"1398132469":["hashtag1","hashtag2"]},{"1398132468":["hashtag1","hashtag2"]},{"1398132471":["hashtag1","hashtag2"]},{"1398132473":["hashtag1","hashtag2"]},{"1398132467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398132466, 1398132469, 1398132468, 1398132471, 1398132473, 1398132467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.747336864471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:54:41.995145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_26_2586.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_30_3785.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_33_2664.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_35_2665.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_39_3589.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_44_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_26_2586.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_30_3785.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_33_2664.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_35_2665.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_39_3589.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_44_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":["1398132482","1398132481","1398132484","1398132478","1398132480","1398132483"],"photo_ids_order":["1398132478","1398132480","1398132481","1398132482","1398132483","1398132484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/21acd0d6b08c64a4a5ac32c25a119db0.jpg","text":"TemporaryFile(/tmp/multipartBody4949064744240902625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968143549,"filename":"image_31102025_20_52_35_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/18f4d87685c38ab533b799f3be6b0690.jpg","text":"TemporaryFile(/tmp/multipartBody6827544095091148304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968143549,"filename":"image_31102025_20_52_33_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/5/023a8e86ac802be56ee8f99a9aa12c17.jpg","text":"TemporaryFile(/tmp/multipartBody1114296517746069393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968143549,"filename":"image_31102025_20_52_44_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8fc49bde3dd23a2feb8c0e350294042e.jpg","text":"TemporaryFile(/tmp/multipartBody6120938032161025650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968143549,"filename":"image_31102025_20_52_26_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/5/e703016ff7e7bf6492dc6dc4d8e0e227.jpg","text":"TemporaryFile(/tmp/multipartBody918128087240208091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968143549,"filename":"image_31102025_20_52_30_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/5/56f74cb14f7f8ba5cefc9b54a169914c.jpg","text":"TemporaryFile(/tmp/multipartBody5862388482995075470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968143549,"filename":"image_31102025_20_52_39_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132481","file1":"1398132480","file0":"1398132478","file4":"1398132483","file5":"1398132484","file3":"1398132482"},"map_files_photo_id_array":[{"photo_id":"1398132484","filename":"file5"},{"photo_id":"1398132481","filename":"file2"},{"photo_id":"1398132483","filename":"file4"},{"photo_id":"1398132480","filename":"file1"},{"photo_id":"1398132478","filename":"file0"},{"photo_id":"1398132482","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132482":["hashtag1","hashtag2"]},{"1398132481":["hashtag1","hashtag2"]},{"1398132484":["hashtag1","hashtag2"]},{"1398132478":["hashtag1","hashtag2"]},{"1398132480":["hashtag1","hashtag2"]},{"1398132483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132482, 1398132481, 1398132484, 1398132478, 1398132480, 1398132483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3257360458374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:55:22.130452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_48_3766.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_51_2651.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_53_2648.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_57_3680.jpg', '/home/pi/Desktop/images/31102025/20/52/image_31102025_20_53_00_2734.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_02_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_48_3766.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_51_2651.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_53_2648.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_52_57_3680.jpg
/home/pi/Desktop/images/31102025/20/52/image_31102025_20_53_00_2734.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_02_2535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132490","1398132492","1398132486","1398132497","1398132494","1398132488"],"photo_ids_order":["1398132486","1398132488","1398132490","1398132492","1398132494","1398132497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e60d6e4b34e43078df95f94768d0c19d.jpg","text":"TemporaryFile(/tmp/multipartBody8676474029979152702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968183684,"filename":"image_31102025_20_52_53_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c6924d22962f581bb9b7662fb8a6744a.jpg","text":"TemporaryFile(/tmp/multipartBody5659097121862233657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968183684,"filename":"image_31102025_20_52_57_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/5/0601094116edcb65e6c5d4c8fa219f1d.jpg","text":"TemporaryFile(/tmp/multipartBody6414018489572426583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968183684,"filename":"image_31102025_20_52_48_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/5/df4b55bb16c061a4a5fe97645f4acc14.jpg","text":"TemporaryFile(/tmp/multipartBody421324626773833900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968183684,"filename":"image_31102025_20_53_02_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/5/a1f691981bfcc5667dde8d88424e4f2f.jpg","text":"TemporaryFile(/tmp/multipartBody749764360548730136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968183684,"filename":"image_31102025_20_53_00_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/5/2a43d3e73f2a38b511caff0e3d809e79.jpg","text":"TemporaryFile(/tmp/multipartBody1081299236056801680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968183684,"filename":"image_31102025_20_52_51_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132490","file1":"1398132488","file0":"1398132486","file4":"1398132494","file5":"1398132497","file3":"1398132492"},"map_files_photo_id_array":[{"photo_id":"1398132497","filename":"file5"},{"photo_id":"1398132490","filename":"file2"},{"photo_id":"1398132494","filename":"file4"},{"photo_id":"1398132488","filename":"file1"},{"photo_id":"1398132486","filename":"file0"},{"photo_id":"1398132492","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132490":["hashtag1","hashtag2"]},{"1398132492":["hashtag1","hashtag2"]},{"1398132486":["hashtag1","hashtag2"]},{"1398132497":["hashtag1","hashtag2"]},{"1398132494":["hashtag1","hashtag2"]},{"1398132488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132490, 1398132492, 1398132486, 1398132497, 1398132494, 1398132488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73901963233948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:56:02.930692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/06/image_03122025_04_07_04_10610.jpg', '/home/pi/Desktop/images/03122025/04/07/image_03122025_04_07_14_9703.jpg', '/home/pi/Desktop/images/03122025/04/07/image_03122025_04_07_24_9628.jpg', '/home/pi/Desktop/images/03122025/04/07/image_03122025_04_07_35_10790.jpg', '/home/pi/Desktop/images/03122025/04/09/image_03122025_04_09_44_10047.jpg', '/home/pi/Desktop/images/03122025/04/09/image_03122025_04_10_04_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/06/image_03122025_04_07_04_10610.jpg
/home/pi/Desktop/images/03122025/04/07/image_03122025_04_07_14_9703.jpg
/home/pi/Desktop/images/03122025/04/07/image_03122025_04_07_24_9628.jpg
/home/pi/Desktop/images/03122025/04/07/image_03122025_04_07_35_10790.jpg
/home/pi/Desktop/images/03122025/04/09/image_03122025_04_09_44_10047.jpg
/home/pi/Desktop/images/03122025/04/09/image_03122025_04_10_04_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":["1398132503","1398132506","1398132500","1398132502","1398132504","1398132501"],"photo_ids_order":["1398132500","1398132501","1398132502","1398132503","1398132504","1398132506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/452fa34c556b01c909d56adf2661b4af.jpg","text":"TemporaryFile(/tmp/multipartBody5191941504367792676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968224766,"filename":"image_03122025_04_07_35_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/5/dc8c79700606d7d5e8ef51125ed7e0e2.jpg","text":"TemporaryFile(/tmp/multipartBody4920903247002760113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968224766,"filename":"image_03122025_04_10_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5f42dcdcbb33847c00e9d6fdade3e9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1560978344493959980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968224766,"filename":"image_03122025_04_07_04_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/5/a9d34268662ec448fc5fd57cb395f05d.jpg","text":"TemporaryFile(/tmp/multipartBody7553138738639235044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968224766,"filename":"image_03122025_04_07_24_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/5/e800119003004fddd1c55a059d92d976.jpg","text":"TemporaryFile(/tmp/multipartBody322192241397137092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968224766,"filename":"image_03122025_04_09_44_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/00822d027c749c5f79f4c9eb6e4e8b0d.jpg","text":"TemporaryFile(/tmp/multipartBody4493914521563274212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968224766,"filename":"image_03122025_04_07_14_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132502","file1":"1398132501","file0":"1398132500","file4":"1398132504","file5":"1398132506","file3":"1398132503"},"map_files_photo_id_array":[{"photo_id":"1398132506","filename":"file5"},{"photo_id":"1398132502","filename":"file2"},{"photo_id":"1398132504","filename":"file4"},{"photo_id":"1398132501","filename":"file1"},{"photo_id":"1398132500","filename":"file0"},{"photo_id":"1398132503","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398132503":["hashtag1","hashtag2"]},{"1398132506":["hashtag1","hashtag2"]},{"1398132500":["hashtag1","hashtag2"]},{"1398132502":["hashtag1","hashtag2"]},{"1398132504":["hashtag1","hashtag2"]},{"1398132501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398132503, 1398132506, 1398132500, 1398132502, 1398132504, 1398132501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64634370803833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 21:56:42.544592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_09_2661.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_11_2675.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_15_3688.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_18_2594.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_20_2701.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_24_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_09_2661.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_11_2675.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_15_3688.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_18_2594.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_20_2701.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_24_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":["1398132515","1398132512","1398132514","1398132517","1398132513","1398132516"],"photo_ids_order":["1398132512","1398132513","1398132514","1398132515","1398132516","1398132517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/eab84713e278eb97daf00649346e0035.jpg","text":"TemporaryFile(/tmp/multipartBody812894614992552178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968264100,"filename":"image_31102025_20_53_18_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/5/f147618c814ac88a073e53b7afc05b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8208231950039716177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968264100,"filename":"image_31102025_20_53_09_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/5/eaf4010a25f2622fc2783f0937a24447.jpg","text":"TemporaryFile(/tmp/multipartBody8205059439767086324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968264100,"filename":"image_31102025_20_53_15_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/5/b63e66feff49eee365f560a8a009cdb1.jpg","text":"TemporaryFile(/tmp/multipartBody4237117170781617601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968264100,"filename":"image_31102025_20_53_24_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/5/c0453eba0751b95bdb97e2f41d3735cb.jpg","text":"TemporaryFile(/tmp/multipartBody2250047119560410273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968264100,"filename":"image_31102025_20_53_11_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/5/531549f342ea957ce682f23b93f21ff2.jpg","text":"TemporaryFile(/tmp/multipartBody1616641845380463854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968264100,"filename":"image_31102025_20_53_20_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132514","file1":"1398132513","file0":"1398132512","file4":"1398132516","file5":"1398132517","file3":"1398132515"},"map_files_photo_id_array":[{"photo_id":"1398132517","filename":"file5"},{"photo_id":"1398132514","filename":"file2"},{"photo_id":"1398132516","filename":"file4"},{"photo_id":"1398132513","filename":"file1"},{"photo_id":"1398132512","filename":"file0"},{"photo_id":"1398132515","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132515":["hashtag1","hashtag2"]},{"1398132512":["hashtag1","hashtag2"]},{"1398132514":["hashtag1","hashtag2"]},{"1398132517":["hashtag1","hashtag2"]},{"1398132513":["hashtag1","hashtag2"]},{"1398132516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132515, 1398132512, 1398132514, 1398132517, 1398132513, 1398132516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81060791015625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 21:57:22.697818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_27_2754.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_29_2588.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_33_3566.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_35_2624.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_39_3656.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_42_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_27_2754.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_29_2588.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_33_3566.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_35_2624.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_39_3656.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_42_2606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132533","1398132521","1398132527","1398132529","1398132523","1398132525"],"photo_ids_order":["1398132521","1398132523","1398132525","1398132527","1398132529","1398132533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/136c14b80d99b6ef694512b32a11c4a7.jpg","text":"TemporaryFile(/tmp/multipartBody754150350119650971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968304279,"filename":"image_31102025_20_53_42_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/5/26749a8e984331ff6deb58d89bcdc21b.jpg","text":"TemporaryFile(/tmp/multipartBody2136744777762484416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968304279,"filename":"image_31102025_20_53_27_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/5/5f492c7aa3d463da112b9bef4690c5cd.jpg","text":"TemporaryFile(/tmp/multipartBody335016004678148894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968304279,"filename":"image_31102025_20_53_35_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e90ddaaaef817d4c4d1d73177e533a12.jpg","text":"TemporaryFile(/tmp/multipartBody1805051229658468592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968304279,"filename":"image_31102025_20_53_39_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/5/1f08cbb47a2e53a6fc439c570146cba7.jpg","text":"TemporaryFile(/tmp/multipartBody1348711701562874951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968304279,"filename":"image_31102025_20_53_29_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/5/f31fc757341f886fbb855cde504d7539.jpg","text":"TemporaryFile(/tmp/multipartBody7048962182132346518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968304279,"filename":"image_31102025_20_53_33_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132525","file1":"1398132523","file0":"1398132521","file4":"1398132529","file5":"1398132533","file3":"1398132527"},"map_files_photo_id_array":[{"photo_id":"1398132533","filename":"file5"},{"photo_id":"1398132525","filename":"file2"},{"photo_id":"1398132529","filename":"file4"},{"photo_id":"1398132523","filename":"file1"},{"photo_id":"1398132521","filename":"file0"},{"photo_id":"1398132527","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398132533":["hashtag1","hashtag2"]},{"1398132521":["hashtag1","hashtag2"]},{"1398132527":["hashtag1","hashtag2"]},{"1398132529":["hashtag1","hashtag2"]},{"1398132523":["hashtag1","hashtag2"]},{"1398132525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398132533, 1398132521, 1398132527, 1398132529, 1398132523, 1398132525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49239802360535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 21:59:02.865376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/10/image_03122025_04_11_04_9747.jpg', '/home/pi/Desktop/images/03122025/04/11/image_03122025_04_11_24_9867.jpg', '/home/pi/Desktop/images/03122025/04/12/image_03122025_04_12_34_9667.jpg', '/home/pi/Desktop/images/03122025/04/13/image_03122025_04_13_14_9757.jpg', '/home/pi/Desktop/images/03122025/04/13/image_03122025_04_13_44_9909.jpg', '/home/pi/Desktop/images/03122025/04/15/image_03122025_04_15_14_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/10/image_03122025_04_11_04_9747.jpg
/home/pi/Desktop/images/03122025/04/11/image_03122025_04_11_24_9867.jpg
/home/pi/Desktop/images/03122025/04/12/image_03122025_04_12_34_9667.jpg
/home/pi/Desktop/images/03122025/04/13/image_03122025_04_13_14_9757.jpg
/home/pi/Desktop/images/03122025/04/13/image_03122025_04_13_44_9909.jpg
/home/pi/Desktop/images/03122025/04/15/image_03122025_04_15_14_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398132734","1398132815","1398132617","1398132655","1398132771","1398132695"],"photo_ids_order":["1398132617","1398132655","1398132695","1398132734","1398132771","1398132815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1f0e63375e602ca0ddb0100a4bc1b6fb.jpg","text":"TemporaryFile(/tmp/multipartBody7869117975495455527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968404896,"filename":"image_03122025_04_13_14_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d8820323a466b6492edb0ce90405ec45.jpg","text":"TemporaryFile(/tmp/multipartBody1340188279536379667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968404896,"filename":"image_03122025_04_15_14_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/5/420e1ee1aa8c0c95770fbb012cdc941d.jpg","text":"TemporaryFile(/tmp/multipartBody7246311904708278816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968404896,"filename":"image_03122025_04_11_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/5/aee33b7372cc999c89152a5575881068.jpg","text":"TemporaryFile(/tmp/multipartBody3819653810443874414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968404896,"filename":"image_03122025_04_11_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/5/44caec16fac334d77267bc284f1c93ee.jpg","text":"TemporaryFile(/tmp/multipartBody5515387049536287333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968404896,"filename":"image_03122025_04_13_44_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/5/e87a57c3fd138d9c18c3e0674c3e971d.jpg","text":"TemporaryFile(/tmp/multipartBody5004274167170956545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968404896,"filename":"image_03122025_04_12_34_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398132695","file1":"1398132655","file0":"1398132617","file4":"1398132771","file5":"1398132815","file3":"1398132734"},"map_files_photo_id_array":[{"photo_id":"1398132815","filename":"file5"},{"photo_id":"1398132695","filename":"file2"},{"photo_id":"1398132771","filename":"file4"},{"photo_id":"1398132655","filename":"file1"},{"photo_id":"1398132617","filename":"file0"},{"photo_id":"1398132734","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398132734":["hashtag1","hashtag2"]},{"1398132815":["hashtag1","hashtag2"]},{"1398132617":["hashtag1","hashtag2"]},{"1398132655":["hashtag1","hashtag2"]},{"1398132771":["hashtag1","hashtag2"]},{"1398132695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398132734, 1398132815, 1398132617, 1398132655, 1398132771, 1398132695)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.739906549453735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:00:02.765850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/15/image_03122025_04_16_04_9774.jpg', '/home/pi/Desktop/images/03122025/04/16/image_03122025_04_17_04_9660.jpg', '/home/pi/Desktop/images/03122025/04/17/image_03122025_04_17_14_9911.jpg', '/home/pi/Desktop/images/03122025/04/17/image_03122025_04_17_24_9773.jpg', '/home/pi/Desktop/images/03122025/04/18/image_03122025_04_18_45_10599.jpg', '/home/pi/Desktop/images/03122025/04/18/image_03122025_04_18_54_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/15/image_03122025_04_16_04_9774.jpg
/home/pi/Desktop/images/03122025/04/16/image_03122025_04_17_04_9660.jpg
/home/pi/Desktop/images/03122025/04/17/image_03122025_04_17_14_9911.jpg
/home/pi/Desktop/images/03122025/04/17/image_03122025_04_17_24_9773.jpg
/home/pi/Desktop/images/03122025/04/18/image_03122025_04_18_45_10599.jpg
/home/pi/Desktop/images/03122025/04/18/image_03122025_04_18_54_9674.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":["1398133426","1398133336","1398133461","1398133527","1398133500","1398133388"],"photo_ids_order":["1398133336","1398133388","1398133426","1398133461","1398133500","1398133527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/36297d59007d53fa1aa8e101eb5cd21f.jpg","text":"TemporaryFile(/tmp/multipartBody2524829342620731968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968464586,"filename":"image_03122025_04_17_14_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/5/e4662f8361582a80927fbca91caa1eb4.jpg","text":"TemporaryFile(/tmp/multipartBody3774250455492144491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968464586,"filename":"image_03122025_04_16_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/5/6699039abdefccb5a9a06929a661d817.jpg","text":"TemporaryFile(/tmp/multipartBody8084639974379712067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968464586,"filename":"image_03122025_04_17_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/5/0af138c7cae21d194297f6694d10179e.jpg","text":"TemporaryFile(/tmp/multipartBody4198552541858242035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968464586,"filename":"image_03122025_04_18_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/5/242b0017d91bc45374435e7826aa4915.jpg","text":"TemporaryFile(/tmp/multipartBody1436042758997810106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968464586,"filename":"image_03122025_04_18_45_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/5/fcee9cf080480e8d65d848b18455959c.jpg","text":"TemporaryFile(/tmp/multipartBody2203329452279314038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968464586,"filename":"image_03122025_04_17_04_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398133426","file1":"1398133388","file0":"1398133336","file4":"1398133500","file5":"1398133527","file3":"1398133461"},"map_files_photo_id_array":[{"photo_id":"1398133527","filename":"file5"},{"photo_id":"1398133426","filename":"file2"},{"photo_id":"1398133500","filename":"file4"},{"photo_id":"1398133388","filename":"file1"},{"photo_id":"1398133336","filename":"file0"},{"photo_id":"1398133461","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398133426":["hashtag1","hashtag2"]},{"1398133336":["hashtag1","hashtag2"]},{"1398133461":["hashtag1","hashtag2"]},{"1398133527":["hashtag1","hashtag2"]},{"1398133500":["hashtag1","hashtag2"]},{"1398133388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398133426, 1398133336, 1398133461, 1398133527, 1398133500, 1398133388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53194522857666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:01:03.114284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/19/image_03122025_04_19_44_9716.jpg', '/home/pi/Desktop/images/03122025/04/20/image_03122025_04_21_04_9811.jpg', '/home/pi/Desktop/images/03122025/04/21/image_03122025_04_22_04_9661.jpg', '/home/pi/Desktop/images/03122025/04/22/image_03122025_04_23_04_10628.jpg', '/home/pi/Desktop/images/03122025/04/24/image_03122025_04_24_14_9777.jpg', '/home/pi/Desktop/images/03122025/04/26/image_03122025_04_26_25_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/19/image_03122025_04_19_44_9716.jpg
/home/pi/Desktop/images/03122025/04/20/image_03122025_04_21_04_9811.jpg
/home/pi/Desktop/images/03122025/04/21/image_03122025_04_22_04_9661.jpg
/home/pi/Desktop/images/03122025/04/22/image_03122025_04_23_04_10628.jpg
/home/pi/Desktop/images/03122025/04/24/image_03122025_04_24_14_9777.jpg
/home/pi/Desktop/images/03122025/04/26/image_03122025_04_26_25_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":["1398133864","1398133774","1398133828","1398133866","1398133848","1398133862"],"photo_ids_order":["1398133774","1398133828","1398133848","1398133862","1398133864","1398133866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/41a31f781655f397017201602155a0b5.jpg","text":"TemporaryFile(/tmp/multipartBody720572755649001543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968524948,"filename":"image_03122025_04_24_14_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/5/1396ef95ec79bcb32cc505db9315d9cb.jpg","text":"TemporaryFile(/tmp/multipartBody7885259346271379601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968524948,"filename":"image_03122025_04_19_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/5/f2f88a069bf30e652b001e83a6c86dfa.jpg","text":"TemporaryFile(/tmp/multipartBody9030953126737759845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968524948,"filename":"image_03122025_04_21_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/5/9c54f72a935f704a266ca78560041ac4.jpg","text":"TemporaryFile(/tmp/multipartBody373842978625478191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968524948,"filename":"image_03122025_04_26_25_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/89b34e614c7b812163b9c85a9a4cf2ec.jpg","text":"TemporaryFile(/tmp/multipartBody3014098903667128147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968524948,"filename":"image_03122025_04_22_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/5/14d46f55eace82cb712402790874bdd1.jpg","text":"TemporaryFile(/tmp/multipartBody5342781143951244990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968524948,"filename":"image_03122025_04_23_04_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398133848","file1":"1398133828","file0":"1398133774","file4":"1398133864","file5":"1398133866","file3":"1398133862"},"map_files_photo_id_array":[{"photo_id":"1398133866","filename":"file5"},{"photo_id":"1398133848","filename":"file2"},{"photo_id":"1398133864","filename":"file4"},{"photo_id":"1398133828","filename":"file1"},{"photo_id":"1398133774","filename":"file0"},{"photo_id":"1398133862","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398133864":["hashtag1","hashtag2"]},{"1398133774":["hashtag1","hashtag2"]},{"1398133828":["hashtag1","hashtag2"]},{"1398133866":["hashtag1","hashtag2"]},{"1398133848":["hashtag1","hashtag2"]},{"1398133862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398133864, 1398133774, 1398133828, 1398133866, 1398133848, 1398133862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06505799293518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:01:42.379159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_44_2729.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_47_2760.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_53_2577.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_57_3653.jpg', '/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_59_2517.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_02_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_44_2729.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_47_2760.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_53_2577.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_57_3653.jpg
/home/pi/Desktop/images/31102025/20/53/image_31102025_20_53_59_2517.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_02_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398133876","1398133873","1398133875","1398133871","1398133874","1398133877"],"photo_ids_order":["1398133871","1398133873","1398133874","1398133875","1398133876","1398133877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2f92a31b4e1ea719a6600c98a7a54e42.jpg","text":"TemporaryFile(/tmp/multipartBody5262451323709997105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968563929,"filename":"image_31102025_20_53_59_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/487e2001e5928999718f739122ca4ab6.jpg","text":"TemporaryFile(/tmp/multipartBody4418689642220126537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968563929,"filename":"image_31102025_20_53_47_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/5/4ca8bfcd7644cf791237964b3af08f04.jpg","text":"TemporaryFile(/tmp/multipartBody3013925012298149640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968563929,"filename":"image_31102025_20_53_57_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3f6cdd8681d6822330f428a1a1d7cfa8.jpg","text":"TemporaryFile(/tmp/multipartBody2840639885851087206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968563929,"filename":"image_31102025_20_53_44_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/524950e5c1c021dd3186f0c9ebd8d78b.jpg","text":"TemporaryFile(/tmp/multipartBody3098314658392189666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968563929,"filename":"image_31102025_20_53_53_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/5/4c0cf3101cb6f947fcc0d127ff71606a.jpg","text":"TemporaryFile(/tmp/multipartBody8684585885688979033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968563929,"filename":"image_31102025_20_54_02_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398133874","file1":"1398133873","file0":"1398133871","file4":"1398133876","file5":"1398133877","file3":"1398133875"},"map_files_photo_id_array":[{"photo_id":"1398133877","filename":"file5"},{"photo_id":"1398133874","filename":"file2"},{"photo_id":"1398133876","filename":"file4"},{"photo_id":"1398133873","filename":"file1"},{"photo_id":"1398133871","filename":"file0"},{"photo_id":"1398133875","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398133876":["hashtag1","hashtag2"]},{"1398133873":["hashtag1","hashtag2"]},{"1398133875":["hashtag1","hashtag2"]},{"1398133871":["hashtag1","hashtag2"]},{"1398133874":["hashtag1","hashtag2"]},{"1398133877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398133876, 1398133873, 1398133875, 1398133871, 1398133874, 1398133877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12609314918518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:02:22.559771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_06_3606.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_09_2799.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_11_2791.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_14_2792.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_18_3682.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_27_3519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_06_3606.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_09_2799.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_11_2791.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_14_2792.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_18_3682.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_27_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":["1398133882","1398133891","1398133888","1398133884","1398133886","1398133880"],"photo_ids_order":["1398133880","1398133882","1398133884","1398133886","1398133888","1398133891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a27ac0e8face2ddce745add9833c2ed.jpg","text":"TemporaryFile(/tmp/multipartBody2434892940182740639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968604131,"filename":"image_31102025_20_54_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/5/27a33dab0754ba226e9d66aa84c9d0eb.jpg","text":"TemporaryFile(/tmp/multipartBody100487078063942677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968604131,"filename":"image_31102025_20_54_27_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/5/cec0ff0630d0b12c1adc1fee287c3273.jpg","text":"TemporaryFile(/tmp/multipartBody3291508385132065623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968604131,"filename":"image_31102025_20_54_18_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/5/e9931e1506b1f9888c95bebfb1767d9a.jpg","text":"TemporaryFile(/tmp/multipartBody5324184228523056315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968604131,"filename":"image_31102025_20_54_11_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/5/678bd5230647436fdec4cf0058751450.jpg","text":"TemporaryFile(/tmp/multipartBody3494704687664381473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968604131,"filename":"image_31102025_20_54_14_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/5/aa28fd015a2563754e05c49412caa8c1.jpg","text":"TemporaryFile(/tmp/multipartBody4951542605435577537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968604131,"filename":"image_31102025_20_54_06_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398133884","file1":"1398133882","file0":"1398133880","file4":"1398133888","file5":"1398133891","file3":"1398133886"},"map_files_photo_id_array":[{"photo_id":"1398133891","filename":"file5"},{"photo_id":"1398133884","filename":"file2"},{"photo_id":"1398133888","filename":"file4"},{"photo_id":"1398133882","filename":"file1"},{"photo_id":"1398133880","filename":"file0"},{"photo_id":"1398133886","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398133882":["hashtag1","hashtag2"]},{"1398133891":["hashtag1","hashtag2"]},{"1398133888":["hashtag1","hashtag2"]},{"1398133884":["hashtag1","hashtag2"]},{"1398133886":["hashtag1","hashtag2"]},{"1398133880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398133882, 1398133891, 1398133888, 1398133884, 1398133886, 1398133880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80048680305481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:03:03.405652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/31/image_03122025_04_31_34_9816.jpg', '/home/pi/Desktop/images/03122025/04/32/image_03122025_04_32_34_9860.jpg', '/home/pi/Desktop/images/03122025/04/36/image_03122025_04_36_14_9852.jpg', '/home/pi/Desktop/images/03122025/04/36/image_03122025_04_36_34_9699.jpg', '/home/pi/Desktop/images/03122025/04/36/image_03122025_04_36_55_10694.jpg', '/home/pi/Desktop/images/03122025/04/38/image_03122025_04_38_44_9961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/31/image_03122025_04_31_34_9816.jpg
/home/pi/Desktop/images/03122025/04/32/image_03122025_04_32_34_9860.jpg
/home/pi/Desktop/images/03122025/04/36/image_03122025_04_36_14_9852.jpg
/home/pi/Desktop/images/03122025/04/36/image_03122025_04_36_34_9699.jpg
/home/pi/Desktop/images/03122025/04/36/image_03122025_04_36_55_10694.jpg
/home/pi/Desktop/images/03122025/04/38/image_03122025_04_38_44_9961.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":["1398133897","1398133901","1398133896","1398133899","1398133892","1398133895"],"photo_ids_order":["1398133892","1398133895","1398133896","1398133897","1398133899","1398133901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a7c3f247731deb09bad0b26d169f8de7.jpg","text":"TemporaryFile(/tmp/multipartBody467226980417072860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968645169,"filename":"image_03122025_04_36_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/5/8f87ea0c1fc6d2f1f74e9ec7e5609aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5176358655376246783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968645169,"filename":"image_03122025_04_38_44_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/5/8d38819c607f858a8938340229769b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4893809402907807773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968645169,"filename":"image_03122025_04_36_14_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba61a7b740cfc00a236b950b0cda1400.jpg","text":"TemporaryFile(/tmp/multipartBody5249576466496499233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968645169,"filename":"image_03122025_04_36_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b3578349e02800247d8d794bcc8b91ea.jpg","text":"TemporaryFile(/tmp/multipartBody678292722136322229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968645169,"filename":"image_03122025_04_31_34_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2a99422c9df06782297c7b873ec00118.jpg","text":"TemporaryFile(/tmp/multipartBody8012374202887170347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968645169,"filename":"image_03122025_04_32_34_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398133896","file1":"1398133895","file0":"1398133892","file4":"1398133899","file5":"1398133901","file3":"1398133897"},"map_files_photo_id_array":[{"photo_id":"1398133901","filename":"file5"},{"photo_id":"1398133896","filename":"file2"},{"photo_id":"1398133899","filename":"file4"},{"photo_id":"1398133895","filename":"file1"},{"photo_id":"1398133892","filename":"file0"},{"photo_id":"1398133897","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398133897":["hashtag1","hashtag2"]},{"1398133901":["hashtag1","hashtag2"]},{"1398133896":["hashtag1","hashtag2"]},{"1398133899":["hashtag1","hashtag2"]},{"1398133892":["hashtag1","hashtag2"]},{"1398133895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398133897, 1398133901, 1398133896, 1398133899, 1398133892, 1398133895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99701762199402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:04:02.669501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/46/image_03122025_04_47_04_9756.jpg', '/home/pi/Desktop/images/03122025/04/47/image_03122025_04_47_14_9521.jpg', '/home/pi/Desktop/images/03122025/04/47/image_03122025_04_47_24_10732.jpg', '/home/pi/Desktop/images/03122025/04/47/image_03122025_04_47_44_10362.jpg', '/home/pi/Desktop/images/03122025/04/48/image_03122025_04_49_04_9671.jpg', '/home/pi/Desktop/images/03122025/04/49/image_03122025_04_49_24_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/46/image_03122025_04_47_04_9756.jpg
/home/pi/Desktop/images/03122025/04/47/image_03122025_04_47_14_9521.jpg
/home/pi/Desktop/images/03122025/04/47/image_03122025_04_47_24_10732.jpg
/home/pi/Desktop/images/03122025/04/47/image_03122025_04_47_44_10362.jpg
/home/pi/Desktop/images/03122025/04/48/image_03122025_04_49_04_9671.jpg
/home/pi/Desktop/images/03122025/04/49/image_03122025_04_49_24_9954.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":["1398134212","1398134134","1398134091","1398134172","1398133998","1398134051"],"photo_ids_order":["1398133998","1398134051","1398134091","1398134134","1398134172","1398134212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/15afd4b514285a0bc008be964ee5fa9a.jpg","text":"TemporaryFile(/tmp/multipartBody6397838955627387953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968704555,"filename":"image_03122025_04_49_24_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/5/4dc030079bff2dd18a8bc5e6f71a795d.jpg","text":"TemporaryFile(/tmp/multipartBody558281036610321997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968704555,"filename":"image_03122025_04_47_44_10362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cbf3233e9505dd6eb73f7785c9d7aa56.jpg","text":"TemporaryFile(/tmp/multipartBody1858672258523213169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968704555,"filename":"image_03122025_04_47_24_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/5/14384ac331f7912c97e74c4d20af40b7.jpg","text":"TemporaryFile(/tmp/multipartBody6819162789428057421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968704555,"filename":"image_03122025_04_49_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/5/3de9f7593da9c2145e739bf690642503.jpg","text":"TemporaryFile(/tmp/multipartBody7789721624879023608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968704555,"filename":"image_03122025_04_47_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/5/7c9680781d12438be2807c5a3d61d152.jpg","text":"TemporaryFile(/tmp/multipartBody4506865776827829574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968704555,"filename":"image_03122025_04_47_14_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398134091","file1":"1398134051","file0":"1398133998","file4":"1398134172","file5":"1398134212","file3":"1398134134"},"map_files_photo_id_array":[{"photo_id":"1398134212","filename":"file5"},{"photo_id":"1398134091","filename":"file2"},{"photo_id":"1398134172","filename":"file4"},{"photo_id":"1398134051","filename":"file1"},{"photo_id":"1398133998","filename":"file0"},{"photo_id":"1398134134","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398134212":["hashtag1","hashtag2"]},{"1398134134":["hashtag1","hashtag2"]},{"1398134091":["hashtag1","hashtag2"]},{"1398134172":["hashtag1","hashtag2"]},{"1398133998":["hashtag1","hashtag2"]},{"1398134051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398134212, 1398134134, 1398134091, 1398134172, 1398133998, 1398134051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.38392686843872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:05:02.769707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/52/image_03122025_04_52_54_9854.jpg', '/home/pi/Desktop/images/03122025/04/53/image_03122025_04_53_24_9897.jpg', '/home/pi/Desktop/images/03122025/04/54/image_03122025_04_54_34_9726.jpg', '/home/pi/Desktop/images/03122025/04/54/image_03122025_04_54_44_9813.jpg', '/home/pi/Desktop/images/03122025/04/56/image_03122025_04_56_24_9861.jpg', '/home/pi/Desktop/images/03122025/04/56/image_03122025_04_56_34_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/52/image_03122025_04_52_54_9854.jpg
/home/pi/Desktop/images/03122025/04/53/image_03122025_04_53_24_9897.jpg
/home/pi/Desktop/images/03122025/04/54/image_03122025_04_54_34_9726.jpg
/home/pi/Desktop/images/03122025/04/54/image_03122025_04_54_44_9813.jpg
/home/pi/Desktop/images/03122025/04/56/image_03122025_04_56_24_9861.jpg
/home/pi/Desktop/images/03122025/04/56/image_03122025_04_56_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":["1398134638","1398134503","1398134611","1398134466","1398134541","1398134576"],"photo_ids_order":["1398134466","1398134503","1398134541","1398134576","1398134611","1398134638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d485bb8a1eec959751e1c6fa36c67c24.jpg","text":"TemporaryFile(/tmp/multipartBody6099172554435781772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968764562,"filename":"image_03122025_04_56_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/5/f5d6f5a51dcf2483ab56efd1d65fa283.jpg","text":"TemporaryFile(/tmp/multipartBody8957961428447160569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968764562,"filename":"image_03122025_04_53_24_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/5/92f52ede06fc34ee4525850a9fddb5f1.jpg","text":"TemporaryFile(/tmp/multipartBody6089414423007367773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968764562,"filename":"image_03122025_04_56_24_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/5/ab6b9f276373b6868999bad388515ea6.jpg","text":"TemporaryFile(/tmp/multipartBody2429545981700711881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968764562,"filename":"image_03122025_04_52_54_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/5/519873346963550fc490982595af60b1.jpg","text":"TemporaryFile(/tmp/multipartBody4896110260838546388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968764562,"filename":"image_03122025_04_54_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/5/5a321bba031c858092b8af1495616037.jpg","text":"TemporaryFile(/tmp/multipartBody7467224131936861666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968764562,"filename":"image_03122025_04_54_44_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398134541","file1":"1398134503","file0":"1398134466","file4":"1398134611","file5":"1398134638","file3":"1398134576"},"map_files_photo_id_array":[{"photo_id":"1398134638","filename":"file5"},{"photo_id":"1398134541","filename":"file2"},{"photo_id":"1398134611","filename":"file4"},{"photo_id":"1398134503","filename":"file1"},{"photo_id":"1398134466","filename":"file0"},{"photo_id":"1398134576","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398134638":["hashtag1","hashtag2"]},{"1398134503":["hashtag1","hashtag2"]},{"1398134611":["hashtag1","hashtag2"]},{"1398134466":["hashtag1","hashtag2"]},{"1398134541":["hashtag1","hashtag2"]},{"1398134576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398134638, 1398134503, 1398134611, 1398134466, 1398134541, 1398134576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50149583816528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:05:42.202954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_29_2619.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_33_3689.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_36_2682.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_38_2621.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_45_2557.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_47_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_29_2619.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_33_3689.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_36_2682.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_38_2621.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_45_2557.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_47_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":["1398134742","1398134667","1398134703","1398134645","1398134782","1398134644"],"photo_ids_order":["1398134644","1398134645","1398134667","1398134703","1398134742","1398134782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2792eb0da6c87aa1ebec815d8348bb2b.jpg","text":"TemporaryFile(/tmp/multipartBody3251378378264558834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968803758,"filename":"image_31102025_20_54_45_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/5/66f61434ce38a1534a00f6411a4a2273.jpg","text":"TemporaryFile(/tmp/multipartBody2771535872466405042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968803758,"filename":"image_31102025_20_54_36_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/807a9bb2868477e0be6a5a7c98b401f7.jpg","text":"TemporaryFile(/tmp/multipartBody7383187678986123821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968803758,"filename":"image_31102025_20_54_38_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/5/7dbf1a6411b2049c8fa2c8a6c77814e1.jpg","text":"TemporaryFile(/tmp/multipartBody1993269756097354789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968803758,"filename":"image_31102025_20_54_33_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/5/a7c01b18239a40ccf5a61254aa0a0376.jpg","text":"TemporaryFile(/tmp/multipartBody3764505954171966606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968803758,"filename":"image_31102025_20_54_47_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/5/3902b203b81e26ccb77379fd106b05d0.jpg","text":"TemporaryFile(/tmp/multipartBody4027926922277859952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968803758,"filename":"image_31102025_20_54_29_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398134667","file1":"1398134645","file0":"1398134644","file4":"1398134742","file5":"1398134782","file3":"1398134703"},"map_files_photo_id_array":[{"photo_id":"1398134782","filename":"file5"},{"photo_id":"1398134667","filename":"file2"},{"photo_id":"1398134742","filename":"file4"},{"photo_id":"1398134645","filename":"file1"},{"photo_id":"1398134644","filename":"file0"},{"photo_id":"1398134703","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398134742":["hashtag1","hashtag2"]},{"1398134667":["hashtag1","hashtag2"]},{"1398134703":["hashtag1","hashtag2"]},{"1398134645":["hashtag1","hashtag2"]},{"1398134782":["hashtag1","hashtag2"]},{"1398134644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398134742, 1398134667, 1398134703, 1398134645, 1398134782, 1398134644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23538255691528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:06:22.385234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_54_2699.jpg', '/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_56_2665.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_02_2621.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_05_2707.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_09_3616.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_14_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_54_2699.jpg
/home/pi/Desktop/images/31102025/20/54/image_31102025_20_54_56_2665.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_02_2621.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_05_2707.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_09_3616.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_14_2816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398135007","1398135108","1398135059","1398134948","1398135241","1398135163"],"photo_ids_order":["1398134948","1398135007","1398135059","1398135108","1398135163","1398135241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cc9fe12234f0199e7957d86fc0c242f9.jpg","text":"TemporaryFile(/tmp/multipartBody2434027103852017517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968843939,"filename":"image_31102025_20_54_56_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/685637c5f26b7d23b600f297c44885fa.jpg","text":"TemporaryFile(/tmp/multipartBody5669583881980562341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968843939,"filename":"image_31102025_20_55_05_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/5/886a42525679827c7496c8f566c7b252.jpg","text":"TemporaryFile(/tmp/multipartBody7364431774194986323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968843939,"filename":"image_31102025_20_55_02_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/5/27d685778c2e99d5ff31eaabb79a2083.jpg","text":"TemporaryFile(/tmp/multipartBody576670545165672985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968843939,"filename":"image_31102025_20_54_54_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/5/8d21fdba795d62a3b51895bf34f51703.jpg","text":"TemporaryFile(/tmp/multipartBody2621567241440101593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968843939,"filename":"image_31102025_20_55_14_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d34c17ed123e7781f792ef40b7bfcffe.jpg","text":"TemporaryFile(/tmp/multipartBody815273906976930858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968843939,"filename":"image_31102025_20_55_09_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398135059","file1":"1398135007","file0":"1398134948","file4":"1398135163","file5":"1398135241","file3":"1398135108"},"map_files_photo_id_array":[{"photo_id":"1398135241","filename":"file5"},{"photo_id":"1398135059","filename":"file2"},{"photo_id":"1398135163","filename":"file4"},{"photo_id":"1398135007","filename":"file1"},{"photo_id":"1398134948","filename":"file0"},{"photo_id":"1398135108","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398135007":["hashtag1","hashtag2"]},{"1398135108":["hashtag1","hashtag2"]},{"1398135059":["hashtag1","hashtag2"]},{"1398134948":["hashtag1","hashtag2"]},{"1398135241":["hashtag1","hashtag2"]},{"1398135163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398135007, 1398135108, 1398135059, 1398134948, 1398135241, 1398135163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.37299728393555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:07:12.535011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/57/image_03122025_04_57_14_9773.jpg', '/home/pi/Desktop/images/03122025/04/57/image_03122025_04_57_25_10622.jpg', '/home/pi/Desktop/images/03122025/04/58/image_03122025_04_58_14_9646.jpg', '/home/pi/Desktop/images/03122025/04/58/image_03122025_04_58_34_10692.jpg', '/home/pi/Desktop/images/03122025/04/58/image_03122025_04_58_44_9582.jpg', '/home/pi/Desktop/images/03122025/04/58/image_03122025_04_58_55_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/57/image_03122025_04_57_14_9773.jpg
/home/pi/Desktop/images/03122025/04/57/image_03122025_04_57_25_10622.jpg
/home/pi/Desktop/images/03122025/04/58/image_03122025_04_58_14_9646.jpg
/home/pi/Desktop/images/03122025/04/58/image_03122025_04_58_34_10692.jpg
/home/pi/Desktop/images/03122025/04/58/image_03122025_04_58_44_9582.jpg
/home/pi/Desktop/images/03122025/04/58/image_03122025_04_58_55_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398135684","1398135444","1398135593","1398135809","1398135530","1398135748"],"photo_ids_order":["1398135444","1398135530","1398135593","1398135684","1398135748","1398135809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b581d4722d93ad9643ef6e0e4c0aba5c.jpg","text":"TemporaryFile(/tmp/multipartBody4027217962851528538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968894959,"filename":"image_03122025_04_58_34_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/5/0bb50ea53b01352a1e15df792c6cef63.jpg","text":"TemporaryFile(/tmp/multipartBody5181575341738122134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968894959,"filename":"image_03122025_04_57_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/5/866c47fd93bf66a0649fdd26521d0970.jpg","text":"TemporaryFile(/tmp/multipartBody5801688318936049451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968894959,"filename":"image_03122025_04_58_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/5/af41368eb29d004e22347e6aaf8b03ac.jpg","text":"TemporaryFile(/tmp/multipartBody1036454168165674777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968894959,"filename":"image_03122025_04_58_55_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/5/da6b9bf86884a8d184a6363963f19f0f.jpg","text":"TemporaryFile(/tmp/multipartBody6165618784348731679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968894959,"filename":"image_03122025_04_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/5/347fb3450cc3fa29d6ef5a3c137051a0.jpg","text":"TemporaryFile(/tmp/multipartBody2997414712361939208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968894959,"filename":"image_03122025_04_58_44_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398135593","file1":"1398135530","file0":"1398135444","file4":"1398135748","file5":"1398135809","file3":"1398135684"},"map_files_photo_id_array":[{"photo_id":"1398135809","filename":"file5"},{"photo_id":"1398135593","filename":"file2"},{"photo_id":"1398135748","filename":"file4"},{"photo_id":"1398135530","filename":"file1"},{"photo_id":"1398135444","filename":"file0"},{"photo_id":"1398135684","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398135684":["hashtag1","hashtag2"]},{"1398135444":["hashtag1","hashtag2"]},{"1398135593":["hashtag1","hashtag2"]},{"1398135809":["hashtag1","hashtag2"]},{"1398135530":["hashtag1","hashtag2"]},{"1398135748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398135684, 1398135444, 1398135593, 1398135809, 1398135530, 1398135748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.573904275894165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:08:03.180863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/21/51/image_05122025_21_51_25_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/21/51/image_05122025_21_51_25_9829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398136156"],"photo_id":"1398136156","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b2ad8f041e24e0faff7dfbf074ee575.jpg","text":"TemporaryFile(/tmp/multipartBody2100986236706077354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968944011,"filename":"image_05122025_21_51_25_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398136156"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398136156"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.715233325958252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:08:22.736145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/07/image_05122025_22_07_44_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/07/image_05122025_22_07_44_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398136457"],"photo_id":"1398136457","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7ac9322475fe5e864a4715947c9547b7.jpg","text":"TemporaryFile(/tmp/multipartBody7119972289567745376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968963393,"filename":"image_05122025_22_07_44_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398136457"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398136457"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.390085697174072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:08:42.758107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_18_3699.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_23_2790.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_26_2517.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_30_3688.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_32_2601.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_35_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_18_3699.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_23_2790.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_26_2517.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_30_3688.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_32_2601.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_35_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":["1398136787","1398137068","1398136859","1398136999","1398137140","1398136933"],"photo_ids_order":["1398136787","1398136859","1398136933","1398136999","1398137068","1398137140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43afb9ecc7a1b167790f58464e608641.jpg","text":"TemporaryFile(/tmp/multipartBody7340645301967855570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968984390,"filename":"image_31102025_20_55_18_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/5/45745935311c9bf3f15f9f127d7e0bcf.jpg","text":"TemporaryFile(/tmp/multipartBody8357600140822907876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968984390,"filename":"image_31102025_20_55_32_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/5/77acfb81b90cfc4ef946fa7bdb703189.jpg","text":"TemporaryFile(/tmp/multipartBody3492918626723729849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968984390,"filename":"image_31102025_20_55_23_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/5/b6ea8ab192bdb5f03455c482684fd779.jpg","text":"TemporaryFile(/tmp/multipartBody262121652702248824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968984390,"filename":"image_31102025_20_55_30_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/5/7c71877eb61a3a92314d1d6cf954e532.jpg","text":"TemporaryFile(/tmp/multipartBody4865114235194014204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968984390,"filename":"image_31102025_20_55_35_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/5/9cd80aa4f62b948bb03d53468ecda733.jpg","text":"TemporaryFile(/tmp/multipartBody913251416666463069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764968984390,"filename":"image_31102025_20_55_26_2517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398136933","file1":"1398136859","file0":"1398136787","file4":"1398137068","file5":"1398137140","file3":"1398136999"},"map_files_photo_id_array":[{"photo_id":"1398137140","filename":"file5"},{"photo_id":"1398136933","filename":"file2"},{"photo_id":"1398137068","filename":"file4"},{"photo_id":"1398136859","filename":"file1"},{"photo_id":"1398136787","filename":"file0"},{"photo_id":"1398136999","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398136787":["hashtag1","hashtag2"]},{"1398137068":["hashtag1","hashtag2"]},{"1398136859":["hashtag1","hashtag2"]},{"1398136999":["hashtag1","hashtag2"]},{"1398137140":["hashtag1","hashtag2"]},{"1398136933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398136787, 1398137068, 1398136859, 1398136999, 1398137140, 1398136933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36169934272766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:09:21.946373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/08/image_05122025_22_08_24_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/08/image_05122025_22_08_24_9882.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398137367"],"photo_id":"1398137367","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2aefd370c6c1c4eb2385377f4a12a204.jpg","text":"TemporaryFile(/tmp/multipartBody582593866711473143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969022432,"filename":"image_05122025_22_08_24_9882.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398137367"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398137367"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.142134666442871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:09:41.985385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_41_2548.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_45_3534.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_56_2557.jpg', '/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_59_2745.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_03_3694.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_06_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_41_2548.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_45_3534.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_56_2557.jpg
/home/pi/Desktop/images/31102025/20/55/image_31102025_20_55_59_2745.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_03_3694.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_06_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":["1398137424","1398137426","1398137429","1398137428","1398137430","1398137427"],"photo_ids_order":["1398137424","1398137426","1398137427","1398137428","1398137429","1398137430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99b3e8aff7dd1e4e74762f3e9ad27831.jpg","text":"TemporaryFile(/tmp/multipartBody6748406135371342770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969043531,"filename":"image_31102025_20_55_41_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/80ac288694c36f8990c961f49f76574e.jpg","text":"TemporaryFile(/tmp/multipartBody2891589238592665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969043531,"filename":"image_31102025_20_55_45_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4503c1019bcc70896d62b28d02fb5fc5.jpg","text":"TemporaryFile(/tmp/multipartBody446943049322555903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969043531,"filename":"image_31102025_20_56_03_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/5/6d1d73258c1eddbd5844699bbf49944b.jpg","text":"TemporaryFile(/tmp/multipartBody2392370569411274830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969043531,"filename":"image_31102025_20_55_59_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/5/ed3173581ef64582f29501bbf3011412.jpg","text":"TemporaryFile(/tmp/multipartBody4647247586598840593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969043531,"filename":"image_31102025_20_56_06_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/5/a7f13076c7372e05ebdba0f88d33d224.jpg","text":"TemporaryFile(/tmp/multipartBody7741211038005532515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969043531,"filename":"image_31102025_20_55_56_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398137427","file1":"1398137426","file0":"1398137424","file4":"1398137429","file5":"1398137430","file3":"1398137428"},"map_files_photo_id_array":[{"photo_id":"1398137430","filename":"file5"},{"photo_id":"1398137427","filename":"file2"},{"photo_id":"1398137429","filename":"file4"},{"photo_id":"1398137426","filename":"file1"},{"photo_id":"1398137424","filename":"file0"},{"photo_id":"1398137428","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398137424":["hashtag1","hashtag2"]},{"1398137426":["hashtag1","hashtag2"]},{"1398137429":["hashtag1","hashtag2"]},{"1398137428":["hashtag1","hashtag2"]},{"1398137430":["hashtag1","hashtag2"]},{"1398137427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398137424, 1398137426, 1398137429, 1398137428, 1398137430, 1398137427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08740854263306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:10:22.153048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/09/image_05122025_22_09_34_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/09/image_05122025_22_09_34_9746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398137538"],"photo_id":"1398137538","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c9e7ddbf01db01728c866d1d5d90fead.jpg","text":"TemporaryFile(/tmp/multipartBody7873283964702760725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969082686,"filename":"image_05122025_22_09_34_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398137538"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398137538"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.614446640014648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:10:42.219389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_08_2560.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_11_2982.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_17_2647.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_20_2690.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_24_3652.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_26_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_08_2560.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_11_2982.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_17_2647.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_20_2690.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_24_3652.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_26_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398137747","1398137669","1398137645","1398137647","1398137964","1398137706"],"photo_ids_order":["1398137645","1398137647","1398137669","1398137706","1398137747","1398137964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0eb398602461fa6aa37fd00b31de2a67.jpg","text":"TemporaryFile(/tmp/multipartBody3445722323536137715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969103770,"filename":"image_31102025_20_56_24_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/5/50122844ed9dc5d7242bde09f628a8a0.jpg","text":"TemporaryFile(/tmp/multipartBody725448646098316256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969103770,"filename":"image_31102025_20_56_17_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/5/eb291a2e06b1587bb7624beebc53ac92.jpg","text":"TemporaryFile(/tmp/multipartBody4209971870337790746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969103770,"filename":"image_31102025_20_56_08_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/5/1c1f90804c52d66680d6a110414f4e97.jpg","text":"TemporaryFile(/tmp/multipartBody304385748431073096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969103770,"filename":"image_31102025_20_56_11_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/31e326b186846bb55646f8a5b2e7451c.jpg","text":"TemporaryFile(/tmp/multipartBody6684515284148856522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969103770,"filename":"image_31102025_20_56_26_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/5/8fcffd88c448d14763b7f6ccf7c092f4.jpg","text":"TemporaryFile(/tmp/multipartBody5951038780332971186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969103770,"filename":"image_31102025_20_56_20_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398137669","file1":"1398137647","file0":"1398137645","file4":"1398137747","file5":"1398137964","file3":"1398137706"},"map_files_photo_id_array":[{"photo_id":"1398137964","filename":"file5"},{"photo_id":"1398137669","filename":"file2"},{"photo_id":"1398137747","filename":"file4"},{"photo_id":"1398137647","filename":"file1"},{"photo_id":"1398137645","filename":"file0"},{"photo_id":"1398137706","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398137747":["hashtag1","hashtag2"]},{"1398137669":["hashtag1","hashtag2"]},{"1398137645":["hashtag1","hashtag2"]},{"1398137647":["hashtag1","hashtag2"]},{"1398137964":["hashtag1","hashtag2"]},{"1398137706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398137747, 1398137669, 1398137645, 1398137647, 1398137964, 1398137706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05238318443298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:11:32.394848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/04/59/image_03122025_04_59_24_9701.jpg', '/home/pi/Desktop/images/03122025/05/00/image_03122025_05_00_14_9816.jpg', '/home/pi/Desktop/images/03122025/05/00/image_03122025_05_01_04_9760.jpg', '/home/pi/Desktop/images/03122025/05/01/image_03122025_05_01_34_9770.jpg', '/home/pi/Desktop/images/03122025/05/02/image_03122025_05_02_34_9781.jpg', '/home/pi/Desktop/images/03122025/05/02/image_03122025_05_02_45_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/04/59/image_03122025_04_59_24_9701.jpg
/home/pi/Desktop/images/03122025/05/00/image_03122025_05_00_14_9816.jpg
/home/pi/Desktop/images/03122025/05/00/image_03122025_05_01_04_9760.jpg
/home/pi/Desktop/images/03122025/05/01/image_03122025_05_01_34_9770.jpg
/home/pi/Desktop/images/03122025/05/02/image_03122025_05_02_34_9781.jpg
/home/pi/Desktop/images/03122025/05/02/image_03122025_05_02_45_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398139450","1398139126","1398139371","1398139283","1398138936","1398139325"],"photo_ids_order":["1398138936","1398139126","1398139283","1398139325","1398139371","1398139450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b0fa3d38bd200b4191dc91f0c6076b16.jpg","text":"TemporaryFile(/tmp/multipartBody5189288371951738856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969155132,"filename":"image_03122025_05_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/5/969d4531e66af8cb7269a5b5559ef46e.jpg","text":"TemporaryFile(/tmp/multipartBody991550895660263708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969155132,"filename":"image_03122025_05_00_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/5/dc316b355cbf0866e4f3dc98153d15a3.jpg","text":"TemporaryFile(/tmp/multipartBody3245482629369250552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969155132,"filename":"image_03122025_05_02_34_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/31230cf36025ad590bdbd35f9b32e860.jpg","text":"TemporaryFile(/tmp/multipartBody8957682794943950421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969155132,"filename":"image_03122025_05_01_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/5/8ad9295f6894f10fee07ee351c521119.jpg","text":"TemporaryFile(/tmp/multipartBody1557570305275032894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969155132,"filename":"image_03122025_04_59_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/5/ddb73dab0f5addf04004a2fe42587faa.jpg","text":"TemporaryFile(/tmp/multipartBody8528566271984697363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969155132,"filename":"image_03122025_05_01_34_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398139283","file1":"1398139126","file0":"1398138936","file4":"1398139371","file5":"1398139450","file3":"1398139325"},"map_files_photo_id_array":[{"photo_id":"1398139450","filename":"file5"},{"photo_id":"1398139283","filename":"file2"},{"photo_id":"1398139371","filename":"file4"},{"photo_id":"1398139126","filename":"file1"},{"photo_id":"1398138936","filename":"file0"},{"photo_id":"1398139325","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398139450":["hashtag1","hashtag2"]},{"1398139126":["hashtag1","hashtag2"]},{"1398139371":["hashtag1","hashtag2"]},{"1398139283":["hashtag1","hashtag2"]},{"1398138936":["hashtag1","hashtag2"]},{"1398139325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398139450, 1398139126, 1398139371, 1398139283, 1398138936, 1398139325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.544286251068115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:12:22.545938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/10/image_05122025_22_10_24_10712.jpg', '/home/pi/Desktop/images/05122025/22/12/image_05122025_22_12_34_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/10/image_05122025_22_10_24_10712.jpg
/home/pi/Desktop/images/05122025/22/12/image_05122025_22_12_34_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398139840","1398139720"],"photo_ids_order":["1398139720","1398139840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/55dd18680a05d3807406ef9d08cfe373.jpg","text":"TemporaryFile(/tmp/multipartBody3758456093022984153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969203359,"filename":"image_05122025_22_12_34_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/333f89c4e37771f29f3e6483cf6c2b27.jpg","text":"TemporaryFile(/tmp/multipartBody5060205887027432224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969203359,"filename":"image_05122025_22_10_24_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398139840","file0":"1398139720"},"map_files_photo_id_array":[{"photo_id":"1398139840","filename":"file1"},{"photo_id":"1398139720","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398139840":["hashtag1","hashtag2"]},{"1398139720":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398139840, 1398139720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.74169683456421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:13:03.391515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/02/image_03122025_05_02_54_9896.jpg', '/home/pi/Desktop/images/03122025/05/04/image_03122025_05_04_54_9701.jpg', '/home/pi/Desktop/images/03122025/05/04/image_03122025_05_05_04_9891.jpg', '/home/pi/Desktop/images/03122025/05/05/image_03122025_05_05_24_10719.jpg', '/home/pi/Desktop/images/03122025/05/05/image_03122025_05_05_34_9672.jpg', '/home/pi/Desktop/images/03122025/05/07/image_03122025_05_07_25_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/02/image_03122025_05_02_54_9896.jpg
/home/pi/Desktop/images/03122025/05/04/image_03122025_05_04_54_9701.jpg
/home/pi/Desktop/images/03122025/05/04/image_03122025_05_05_04_9891.jpg
/home/pi/Desktop/images/03122025/05/05/image_03122025_05_05_24_10719.jpg
/home/pi/Desktop/images/03122025/05/05/image_03122025_05_05_34_9672.jpg
/home/pi/Desktop/images/03122025/05/07/image_03122025_05_07_25_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":["1398141043","1398140875","1398140708","1398140542","1398141126","1398140972"],"photo_ids_order":["1398140542","1398140708","1398140875","1398140972","1398141043","1398141126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/16633335a79d70866b79484b45757031.jpg","text":"TemporaryFile(/tmp/multipartBody1479802019335331134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969245342,"filename":"image_03122025_05_05_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/5/330436acd6e89ede1fb589ad85d3ca10.jpg","text":"TemporaryFile(/tmp/multipartBody6801329056551902247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969245342,"filename":"image_03122025_05_05_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/5/fed3ad49d230e7422da34b3fbef22e15.jpg","text":"TemporaryFile(/tmp/multipartBody2606094436839187806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969245342,"filename":"image_03122025_05_04_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/5/5918629ba943bed6dfa5df8ec70d2799.jpg","text":"TemporaryFile(/tmp/multipartBody6011692717687789030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969245342,"filename":"image_03122025_05_02_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/5/7e99d465eccaae0c8ad0a309619eb047.jpg","text":"TemporaryFile(/tmp/multipartBody4324911593318883285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969245342,"filename":"image_03122025_05_07_25_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a708a8775ec8d39a6e2c559ff6b9d0fc.jpg","text":"TemporaryFile(/tmp/multipartBody3787601135749450376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969245342,"filename":"image_03122025_05_05_24_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398140875","file1":"1398140708","file0":"1398140542","file4":"1398141043","file5":"1398141126","file3":"1398140972"},"map_files_photo_id_array":[{"photo_id":"1398141126","filename":"file5"},{"photo_id":"1398140875","filename":"file2"},{"photo_id":"1398141043","filename":"file4"},{"photo_id":"1398140708","filename":"file1"},{"photo_id":"1398140542","filename":"file0"},{"photo_id":"1398140972","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398141043":["hashtag1","hashtag2"]},{"1398140875":["hashtag1","hashtag2"]},{"1398140708":["hashtag1","hashtag2"]},{"1398140542":["hashtag1","hashtag2"]},{"1398141126":["hashtag1","hashtag2"]},{"1398140972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398141043, 1398140875, 1398140708, 1398140542, 1398141126, 1398140972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.910717487335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:13:42.893073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_29_2523.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_33_3690.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_35_2693.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_38_2810.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_44_2791.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_47_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_29_2523.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_33_3690.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_35_2693.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_38_2810.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_44_2791.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_47_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":["1398141409","1398141418","1398141417","1398141351","1398141416","1398141419"],"photo_ids_order":["1398141351","1398141409","1398141416","1398141417","1398141418","1398141419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ad8fd190a14dfac0eb59222c5e34b80f.jpg","text":"TemporaryFile(/tmp/multipartBody713671866221134787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969284444,"filename":"image_31102025_20_56_33_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/5/c8366cc6ed71afec6b3dfd56f60d254d.jpg","text":"TemporaryFile(/tmp/multipartBody6685211554589817071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969284444,"filename":"image_31102025_20_56_44_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/5/b20a151d62b356fe7956079c99bb73d7.jpg","text":"TemporaryFile(/tmp/multipartBody5179733813205687833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969284444,"filename":"image_31102025_20_56_38_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/5/68874009c3f49bbcd74b8dccb27b66c7.jpg","text":"TemporaryFile(/tmp/multipartBody4503270642131211085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969284444,"filename":"image_31102025_20_56_29_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/5/687f17a545561ddc7efb262eacb31e32.jpg","text":"TemporaryFile(/tmp/multipartBody2357079941963141800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969284444,"filename":"image_31102025_20_56_35_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/5/a64c70d9aa0e2e4a6d397ff9fbd3034e.jpg","text":"TemporaryFile(/tmp/multipartBody5372764843402565294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969284444,"filename":"image_31102025_20_56_47_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398141416","file1":"1398141409","file0":"1398141351","file4":"1398141418","file5":"1398141419","file3":"1398141417"},"map_files_photo_id_array":[{"photo_id":"1398141419","filename":"file5"},{"photo_id":"1398141416","filename":"file2"},{"photo_id":"1398141418","filename":"file4"},{"photo_id":"1398141409","filename":"file1"},{"photo_id":"1398141351","filename":"file0"},{"photo_id":"1398141417","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398141409":["hashtag1","hashtag2"]},{"1398141418":["hashtag1","hashtag2"]},{"1398141417":["hashtag1","hashtag2"]},{"1398141351":["hashtag1","hashtag2"]},{"1398141416":["hashtag1","hashtag2"]},{"1398141419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398141409, 1398141418, 1398141417, 1398141351, 1398141416, 1398141419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.572580099105835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:14:22.125563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/12/image_05122025_22_12_54_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/12/image_05122025_22_12_54_9914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398141447"],"photo_id":"1398141447","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a57d8a04bf91411541e901485ebf4535.jpg","text":"TemporaryFile(/tmp/multipartBody5085407204279815806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969322619,"filename":"image_05122025_22_12_54_9914.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398141447"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398141447"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.745236158370972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:14:42.003584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_50_2660.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_56_2667.jpg', '/home/pi/Desktop/images/31102025/20/56/image_31102025_20_57_00_3561.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_02_2686.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_05_2666.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_09_3520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_50_2660.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_56_56_2667.jpg
/home/pi/Desktop/images/31102025/20/56/image_31102025_20_57_00_3561.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_02_2686.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_05_2666.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_09_3520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398141568","1398141604","1398141570","1398141705","1398141782","1398141569"],"photo_ids_order":["1398141568","1398141569","1398141570","1398141604","1398141705","1398141782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2218f14092ed44e3bea11b084029e597.jpg","text":"TemporaryFile(/tmp/multipartBody7595911755121207632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969343598,"filename":"image_31102025_20_56_50_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/5/7084cc45ab42483cf70fa2a9f9fbbcb0.jpg","text":"TemporaryFile(/tmp/multipartBody7790350927993486754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969343598,"filename":"image_31102025_20_57_02_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/5/fe368c26514e1f3655f6594ba0cd6b3f.jpg","text":"TemporaryFile(/tmp/multipartBody4208887415394159522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969343598,"filename":"image_31102025_20_57_00_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/5/c5d8996bd405d3c1e56ec8950252d67a.jpg","text":"TemporaryFile(/tmp/multipartBody8511537285906419750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969343598,"filename":"image_31102025_20_57_05_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/5/9e6070755b5eac1a3ef6297096a9338b.jpg","text":"TemporaryFile(/tmp/multipartBody2660560262722830148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969343598,"filename":"image_31102025_20_57_09_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d56ac68199ec61a943fe2c17e0b4481e.jpg","text":"TemporaryFile(/tmp/multipartBody5878649559634958409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969343598,"filename":"image_31102025_20_56_56_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398141570","file1":"1398141569","file0":"1398141568","file4":"1398141705","file5":"1398141782","file3":"1398141604"},"map_files_photo_id_array":[{"photo_id":"1398141782","filename":"file5"},{"photo_id":"1398141570","filename":"file2"},{"photo_id":"1398141705","filename":"file4"},{"photo_id":"1398141569","filename":"file1"},{"photo_id":"1398141568","filename":"file0"},{"photo_id":"1398141604","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398141568":["hashtag1","hashtag2"]},{"1398141604":["hashtag1","hashtag2"]},{"1398141570":["hashtag1","hashtag2"]},{"1398141705":["hashtag1","hashtag2"]},{"1398141782":["hashtag1","hashtag2"]},{"1398141569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398141568, 1398141604, 1398141570, 1398141705, 1398141782, 1398141569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19944763183594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:15:32.101476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/07/image_03122025_05_07_44_9752.jpg', '/home/pi/Desktop/images/03122025/05/07/image_03122025_05_07_55_10549.jpg', '/home/pi/Desktop/images/03122025/05/09/image_03122025_05_09_54_9639.jpg', '/home/pi/Desktop/images/03122025/05/10/image_03122025_05_10_34_9737.jpg', '/home/pi/Desktop/images/03122025/05/10/image_03122025_05_10_54_10588.jpg', '/home/pi/Desktop/images/03122025/05/11/image_03122025_05_11_44_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/07/image_03122025_05_07_44_9752.jpg
/home/pi/Desktop/images/03122025/05/07/image_03122025_05_07_55_10549.jpg
/home/pi/Desktop/images/03122025/05/09/image_03122025_05_09_54_9639.jpg
/home/pi/Desktop/images/03122025/05/10/image_03122025_05_10_34_9737.jpg
/home/pi/Desktop/images/03122025/05/10/image_03122025_05_10_54_10588.jpg
/home/pi/Desktop/images/03122025/05/11/image_03122025_05_11_44_9871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398142581","1398142416","1398142227","1398143048","1398142885","1398142744"],"photo_ids_order":["1398142227","1398142416","1398142581","1398142744","1398142885","1398143048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/71f4cf30b5276c8006ee26c4862dea25.jpg","text":"TemporaryFile(/tmp/multipartBody2795892626755818308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969394293,"filename":"image_03122025_05_09_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/5/50e2c2bdcaef7a99ae4217b9fc6eb659.jpg","text":"TemporaryFile(/tmp/multipartBody3337035473063649754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969394293,"filename":"image_03122025_05_07_55_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/5/55190c1d7f1ba6be9369f12feb26fdc7.jpg","text":"TemporaryFile(/tmp/multipartBody3194362144737038465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969394293,"filename":"image_03122025_05_07_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/5/83f06e1a809cdc48f880aa9043d8e149.jpg","text":"TemporaryFile(/tmp/multipartBody1183739692789290554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969394293,"filename":"image_03122025_05_11_44_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/5/fa8121fa8672e58123b65cc414c9dfb5.jpg","text":"TemporaryFile(/tmp/multipartBody7783759858025155486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969394293,"filename":"image_03122025_05_10_54_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5721205da83da47bc007fc3cb32775ae.jpg","text":"TemporaryFile(/tmp/multipartBody4043285109357466372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969394293,"filename":"image_03122025_05_10_34_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398142581","file1":"1398142416","file0":"1398142227","file4":"1398142885","file5":"1398143048","file3":"1398142744"},"map_files_photo_id_array":[{"photo_id":"1398143048","filename":"file5"},{"photo_id":"1398142581","filename":"file2"},{"photo_id":"1398142885","filename":"file4"},{"photo_id":"1398142416","filename":"file1"},{"photo_id":"1398142227","filename":"file0"},{"photo_id":"1398142744","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398142581":["hashtag1","hashtag2"]},{"1398142416":["hashtag1","hashtag2"]},{"1398142227":["hashtag1","hashtag2"]},{"1398143048":["hashtag1","hashtag2"]},{"1398142885":["hashtag1","hashtag2"]},{"1398142744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398142581, 1398142416, 1398142227, 1398143048, 1398142885, 1398142744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.117382526397705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:16:22.378940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/13/image_05122025_22_13_24_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/13/image_05122025_22_13_24_9797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398143503"],"photo_id":"1398143503","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/deaecde2664b9f757a03c72bad2d0f3e.jpg","text":"TemporaryFile(/tmp/multipartBody6344185606276207075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969442883,"filename":"image_05122025_22_13_24_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398143503"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398143503"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.855871677398682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:16:42.419889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_14_2632.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_18_3648.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_20_2552.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_23_2672.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_27_3777.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_32_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_14_2632.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_18_3648.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_20_2552.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_23_2672.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_27_3777.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_32_2770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398143760","1398143733","1398143684","1398143735","1398143725","1398143734"],"photo_ids_order":["1398143684","1398143725","1398143733","1398143734","1398143735","1398143760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c1c679d8090a331d6e4482b206a421d3.jpg","text":"TemporaryFile(/tmp/multipartBody6823860029381020618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969463977,"filename":"image_31102025_20_57_32_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/5/f96252a6b4855671d1e1688b1e078c5c.jpg","text":"TemporaryFile(/tmp/multipartBody3334324828770654946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969463977,"filename":"image_31102025_20_57_20_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/5/bce73ebf2049fd8fdc597c3d35bc81b6.jpg","text":"TemporaryFile(/tmp/multipartBody4930826528680433643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969463977,"filename":"image_31102025_20_57_14_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/5/5e40ba82928820ab58866b8ad0865d2c.jpg","text":"TemporaryFile(/tmp/multipartBody4388646452837114829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969463977,"filename":"image_31102025_20_57_27_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/5/faa54374e69e362b452789a24eea4d8a.jpg","text":"TemporaryFile(/tmp/multipartBody7547322754509163937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969463977,"filename":"image_31102025_20_57_18_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/5/01b113eace183453809acceec830cb15.jpg","text":"TemporaryFile(/tmp/multipartBody373211702113945070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969463977,"filename":"image_31102025_20_57_23_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398143733","file1":"1398143725","file0":"1398143684","file4":"1398143735","file5":"1398143760","file3":"1398143734"},"map_files_photo_id_array":[{"photo_id":"1398143760","filename":"file5"},{"photo_id":"1398143733","filename":"file2"},{"photo_id":"1398143735","filename":"file4"},{"photo_id":"1398143725","filename":"file1"},{"photo_id":"1398143684","filename":"file0"},{"photo_id":"1398143734","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398143760":["hashtag1","hashtag2"]},{"1398143733":["hashtag1","hashtag2"]},{"1398143684":["hashtag1","hashtag2"]},{"1398143735":["hashtag1","hashtag2"]},{"1398143725":["hashtag1","hashtag2"]},{"1398143734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398143760, 1398143733, 1398143684, 1398143735, 1398143725, 1398143734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96380043029785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:17:22.586226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/16/image_05122025_22_16_44_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/16/image_05122025_22_16_44_9726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398144004"],"photo_id":"1398144004","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b96c649b6f354d70e067ae40be5ad1dc.jpg","text":"TemporaryFile(/tmp/multipartBody5169038234680295555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969503305,"filename":"image_05122025_22_16_44_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398144004"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398144004"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.376243352890015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:17:42.735793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_36_3708.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_38_2151.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_44_2765.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_50_3557.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_53_2597.jpg', '/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_56_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_36_3708.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_38_2151.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_44_2765.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_50_3557.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_53_2597.jpg
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_56_2741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398144426","1398144575","1398144513","1398144579","1398144453","1398144381"],"photo_ids_order":["1398144381","1398144426","1398144453","1398144513","1398144575","1398144579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46ee18400f6769bc1bde26c7966b10d1.jpg","text":"TemporaryFile(/tmp/multipartBody6481293310061168947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969524315,"filename":"image_31102025_20_57_38_2151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/769d790e1b5120879eab756d11ca5ee8.jpg","text":"TemporaryFile(/tmp/multipartBody8977927719485768069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969524315,"filename":"image_31102025_20_57_53_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/061dd2b672a23fe77d4f72231b77877b.jpg","text":"TemporaryFile(/tmp/multipartBody6659498529535002923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969524315,"filename":"image_31102025_20_57_50_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c77ecc18982ab0cdd1fc541057b0c3f2.jpg","text":"TemporaryFile(/tmp/multipartBody641005203502800116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969524315,"filename":"image_31102025_20_57_56_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/5/6ec65f8ea17eb5c8ea77efe3fbb38a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5150788484928291540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969524315,"filename":"image_31102025_20_57_44_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/5/c5bce4709889e4a0d61fc8cd96adace8.jpg","text":"TemporaryFile(/tmp/multipartBody7042957057180493002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969524315,"filename":"image_31102025_20_57_36_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398144453","file1":"1398144426","file0":"1398144381","file4":"1398144575","file5":"1398144579","file3":"1398144513"},"map_files_photo_id_array":[{"photo_id":"1398144579","filename":"file5"},{"photo_id":"1398144453","filename":"file2"},{"photo_id":"1398144575","filename":"file4"},{"photo_id":"1398144426","filename":"file1"},{"photo_id":"1398144381","filename":"file0"},{"photo_id":"1398144513","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398144426":["hashtag1","hashtag2"]},{"1398144575":["hashtag1","hashtag2"]},{"1398144513":["hashtag1","hashtag2"]},{"1398144579":["hashtag1","hashtag2"]},{"1398144453":["hashtag1","hashtag2"]},{"1398144381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398144426, 1398144575, 1398144513, 1398144579, 1398144453, 1398144381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.344507455825806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:18:21.882824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/17/image_05122025_22_17_24_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/17/image_05122025_22_17_24_9821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398144684"],"photo_id":"1398144684","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1231cd5bb2e48789bac3012d548eeb8b.jpg","text":"TemporaryFile(/tmp/multipartBody6739823878822823842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969562380,"filename":"image_05122025_22_17_24_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398144684"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398144684"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.961067914962769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:18:41.888343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_59_3554.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_02_2609.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_06_3679.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_08_2614.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_11_2674.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_14_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/57/image_31102025_20_57_59_3554.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_02_2609.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_06_3679.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_08_2614.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_11_2674.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_14_2881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398144773","1398144770","1398144772","1398144769","1398144771","1398144768"],"photo_ids_order":["1398144768","1398144769","1398144770","1398144771","1398144772","1398144773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c816a9fa9935d81ac72d076ddae9b3d.jpg","text":"TemporaryFile(/tmp/multipartBody2126434077856629854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969583474,"filename":"image_31102025_20_58_14_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/5/e373d6c94b719aecf7813535b027c217.jpg","text":"TemporaryFile(/tmp/multipartBody3076027089929040216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969583474,"filename":"image_31102025_20_58_06_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/5/90633e67599e4da8e48438e88fcc3015.jpg","text":"TemporaryFile(/tmp/multipartBody5436234466154583672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969583474,"filename":"image_31102025_20_58_11_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/5/4f3b67f4415b2f65bec6db2153d0a5c7.jpg","text":"TemporaryFile(/tmp/multipartBody7938671903243483868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969583474,"filename":"image_31102025_20_58_02_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/5/f075883194474271c4913dc6eb53a961.jpg","text":"TemporaryFile(/tmp/multipartBody8760029524871679516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969583474,"filename":"image_31102025_20_58_08_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/5/733febb231be2daed854b52225ed56a9.jpg","text":"TemporaryFile(/tmp/multipartBody7523769825095339682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969583474,"filename":"image_31102025_20_57_59_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398144770","file1":"1398144769","file0":"1398144768","file4":"1398144772","file5":"1398144773","file3":"1398144771"},"map_files_photo_id_array":[{"photo_id":"1398144773","filename":"file5"},{"photo_id":"1398144770","filename":"file2"},{"photo_id":"1398144772","filename":"file4"},{"photo_id":"1398144769","filename":"file1"},{"photo_id":"1398144768","filename":"file0"},{"photo_id":"1398144771","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398144773":["hashtag1","hashtag2"]},{"1398144770":["hashtag1","hashtag2"]},{"1398144772":["hashtag1","hashtag2"]},{"1398144769":["hashtag1","hashtag2"]},{"1398144771":["hashtag1","hashtag2"]},{"1398144768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398144773, 1398144770, 1398144772, 1398144769, 1398144771, 1398144768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00112342834473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:19:22.225075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_18_3885.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_20_2741.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_23_2608.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_29_3733.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_32_2984.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_35_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_18_3885.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_20_2741.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_23_2608.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_29_3733.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_32_2984.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_35_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":["1398145025","1398145540","1398145435","1398145237","1398145339","1398145137"],"photo_ids_order":["1398145025","1398145137","1398145237","1398145339","1398145435","1398145540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ae9f0dbee73b493a38ccb9c7b54b6cf4.jpg","text":"TemporaryFile(/tmp/multipartBody3459212181202378524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969623879,"filename":"image_31102025_20_58_18_3885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b706efb368e466d51858f679aa571b5.jpg","text":"TemporaryFile(/tmp/multipartBody8535682788867535526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969623879,"filename":"image_31102025_20_58_35_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/5/4997f4dec3fcc938b9565d97b71e210e.jpg","text":"TemporaryFile(/tmp/multipartBody3932560383273179557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969623879,"filename":"image_31102025_20_58_32_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/99656f20806e625cc728c7131591175b.jpg","text":"TemporaryFile(/tmp/multipartBody8717509326549393032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969623879,"filename":"image_31102025_20_58_23_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/5/ee25d04a4977672f8a0b9427726dffb8.jpg","text":"TemporaryFile(/tmp/multipartBody2402436432129266794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969623879,"filename":"image_31102025_20_58_29_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/5/342fa3bf7b94ef94a4ca12fa84548fc0.jpg","text":"TemporaryFile(/tmp/multipartBody2690727928235637007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969623879,"filename":"image_31102025_20_58_20_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398145237","file1":"1398145137","file0":"1398145025","file4":"1398145435","file5":"1398145540","file3":"1398145339"},"map_files_photo_id_array":[{"photo_id":"1398145540","filename":"file5"},{"photo_id":"1398145237","filename":"file2"},{"photo_id":"1398145435","filename":"file4"},{"photo_id":"1398145137","filename":"file1"},{"photo_id":"1398145025","filename":"file0"},{"photo_id":"1398145339","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398145025":["hashtag1","hashtag2"]},{"1398145540":["hashtag1","hashtag2"]},{"1398145435":["hashtag1","hashtag2"]},{"1398145237":["hashtag1","hashtag2"]},{"1398145339":["hashtag1","hashtag2"]},{"1398145137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398145025, 1398145540, 1398145435, 1398145237, 1398145339, 1398145137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67211151123047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:20:02.538293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/11/image_03122025_05_11_54_9759.jpg', '/home/pi/Desktop/images/03122025/05/11/image_03122025_05_12_04_10608.jpg', '/home/pi/Desktop/images/03122025/05/12/image_03122025_05_12_34_10665.jpg', '/home/pi/Desktop/images/03122025/05/12/image_03122025_05_13_04_9868.jpg', '/home/pi/Desktop/images/03122025/05/13/image_03122025_05_13_24_9591.jpg', '/home/pi/Desktop/images/03122025/05/13/image_03122025_05_13_44_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/11/image_03122025_05_11_54_9759.jpg
/home/pi/Desktop/images/03122025/05/11/image_03122025_05_12_04_10608.jpg
/home/pi/Desktop/images/03122025/05/12/image_03122025_05_12_34_10665.jpg
/home/pi/Desktop/images/03122025/05/12/image_03122025_05_13_04_9868.jpg
/home/pi/Desktop/images/03122025/05/13/image_03122025_05_13_24_9591.jpg
/home/pi/Desktop/images/03122025/05/13/image_03122025_05_13_44_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398145580","1398145573","1398145576","1398145575","1398145578","1398145571"],"photo_ids_order":["1398145571","1398145573","1398145575","1398145576","1398145578","1398145580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a60d853ebabd0755dd534ff14534a6fd.jpg","text":"TemporaryFile(/tmp/multipartBody3970766082782833077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969664362,"filename":"image_03122025_05_13_44_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/5/859ca799eaf0d55fe0b24c306bd894ef.jpg","text":"TemporaryFile(/tmp/multipartBody4783791744821979158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969664362,"filename":"image_03122025_05_12_04_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/5/1dc086f34010610f30aaf4a5b7cdf3d1.jpg","text":"TemporaryFile(/tmp/multipartBody6513822453067307824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969664362,"filename":"image_03122025_05_13_04_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/5/6d768382aff251efea70e53509f7db44.jpg","text":"TemporaryFile(/tmp/multipartBody8113696035324950143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969664362,"filename":"image_03122025_05_12_34_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/5/99be49252158c6c03d0e359479eae446.jpg","text":"TemporaryFile(/tmp/multipartBody7354327772812408130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969664362,"filename":"image_03122025_05_13_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/5/3c0458470124b1b5f5909bb3321698a7.jpg","text":"TemporaryFile(/tmp/multipartBody5478996265914248582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969664362,"filename":"image_03122025_05_11_54_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398145575","file1":"1398145573","file0":"1398145571","file4":"1398145578","file5":"1398145580","file3":"1398145576"},"map_files_photo_id_array":[{"photo_id":"1398145580","filename":"file5"},{"photo_id":"1398145575","filename":"file2"},{"photo_id":"1398145578","filename":"file4"},{"photo_id":"1398145573","filename":"file1"},{"photo_id":"1398145571","filename":"file0"},{"photo_id":"1398145576","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398145580":["hashtag1","hashtag2"]},{"1398145573":["hashtag1","hashtag2"]},{"1398145576":["hashtag1","hashtag2"]},{"1398145575":["hashtag1","hashtag2"]},{"1398145578":["hashtag1","hashtag2"]},{"1398145571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398145580, 1398145573, 1398145576, 1398145575, 1398145578, 1398145571)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.09956073760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:21:02.944809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/13/image_03122025_05_13_54_10727.jpg', '/home/pi/Desktop/images/03122025/05/13/image_03122025_05_14_04_9604.jpg', '/home/pi/Desktop/images/03122025/05/14/image_03122025_05_14_14_9793.jpg', '/home/pi/Desktop/images/03122025/05/14/image_03122025_05_14_55_10690.jpg', '/home/pi/Desktop/images/03122025/05/14/image_03122025_05_15_04_9704.jpg', '/home/pi/Desktop/images/03122025/05/15/image_03122025_05_15_34_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/13/image_03122025_05_13_54_10727.jpg
/home/pi/Desktop/images/03122025/05/13/image_03122025_05_14_04_9604.jpg
/home/pi/Desktop/images/03122025/05/14/image_03122025_05_14_14_9793.jpg
/home/pi/Desktop/images/03122025/05/14/image_03122025_05_14_55_10690.jpg
/home/pi/Desktop/images/03122025/05/14/image_03122025_05_15_04_9704.jpg
/home/pi/Desktop/images/03122025/05/15/image_03122025_05_15_34_9679.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":["1398145886","1398145952","1398145947","1398145821","1398145950","1398145938"],"photo_ids_order":["1398145821","1398145886","1398145938","1398145947","1398145950","1398145952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3e3f7fff44eb0cf7ca5605d047c94bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7716713250512570440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969724848,"filename":"image_03122025_05_14_04_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/5/34b037946f0f34f934c8566699fa0e49.jpg","text":"TemporaryFile(/tmp/multipartBody4756127897127695968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969724848,"filename":"image_03122025_05_15_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/42cd9cbc0f9840aa01edb5d913dc27bc.jpg","text":"TemporaryFile(/tmp/multipartBody9057073383393079494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969724848,"filename":"image_03122025_05_14_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/5/755c1378fdf1e031d8d2263d5a3c92bf.jpg","text":"TemporaryFile(/tmp/multipartBody8995910385224954934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969724848,"filename":"image_03122025_05_13_54_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e9f38294912c3ec0cd90a8b58e706bdf.jpg","text":"TemporaryFile(/tmp/multipartBody117556022188466405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969724848,"filename":"image_03122025_05_15_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/5/eaef6052bfba04519e5a24e79a6f2fe0.jpg","text":"TemporaryFile(/tmp/multipartBody4314857857045132721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969724848,"filename":"image_03122025_05_14_14_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398145938","file1":"1398145886","file0":"1398145821","file4":"1398145950","file5":"1398145952","file3":"1398145947"},"map_files_photo_id_array":[{"photo_id":"1398145952","filename":"file5"},{"photo_id":"1398145938","filename":"file2"},{"photo_id":"1398145950","filename":"file4"},{"photo_id":"1398145886","filename":"file1"},{"photo_id":"1398145821","filename":"file0"},{"photo_id":"1398145947","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398145886":["hashtag1","hashtag2"]},{"1398145952":["hashtag1","hashtag2"]},{"1398145947":["hashtag1","hashtag2"]},{"1398145821":["hashtag1","hashtag2"]},{"1398145950":["hashtag1","hashtag2"]},{"1398145938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398145886, 1398145952, 1398145947, 1398145821, 1398145950, 1398145938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.75099468231201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:22:12.429379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/15/image_03122025_05_15_55_10684.jpg', '/home/pi/Desktop/images/03122025/05/16/image_03122025_05_16_14_10105.jpg', '/home/pi/Desktop/images/03122025/05/16/image_03122025_05_16_34_9895.jpg', '/home/pi/Desktop/images/03122025/05/16/image_03122025_05_16_54_9832.jpg', '/home/pi/Desktop/images/03122025/05/16/image_03122025_05_17_04_9789.jpg', '/home/pi/Desktop/images/03122025/05/17/image_03122025_05_17_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/15/image_03122025_05_15_55_10684.jpg
/home/pi/Desktop/images/03122025/05/16/image_03122025_05_16_14_10105.jpg
/home/pi/Desktop/images/03122025/05/16/image_03122025_05_16_34_9895.jpg
/home/pi/Desktop/images/03122025/05/16/image_03122025_05_16_54_9832.jpg
/home/pi/Desktop/images/03122025/05/16/image_03122025_05_17_04_9789.jpg
/home/pi/Desktop/images/03122025/05/17/image_03122025_05_17_14_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398145961","1398145955","1398146038","1398145954","1398145957","1398145997"],"photo_ids_order":["1398145954","1398145955","1398145957","1398145961","1398145997","1398146038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c035359f44727ac890a7410e071d2103.jpg","text":"TemporaryFile(/tmp/multipartBody3905412816079899252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969794942,"filename":"image_03122025_05_16_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/5/74491a36870bd33111366b12ae9235ac.jpg","text":"TemporaryFile(/tmp/multipartBody1936571977893412416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969794942,"filename":"image_03122025_05_16_14_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/5/de116dce20dec95304d5cb2f8306b173.jpg","text":"TemporaryFile(/tmp/multipartBody4019445535908703756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969794942,"filename":"image_03122025_05_17_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c579b1823a01b20db886f8a56a3851c0.jpg","text":"TemporaryFile(/tmp/multipartBody5670169594422373308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969794942,"filename":"image_03122025_05_15_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/5/4eec8615bd0bb304c9a744896b851ee3.jpg","text":"TemporaryFile(/tmp/multipartBody8332735734903239668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969794942,"filename":"image_03122025_05_16_34_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/5/fbd8f8b3728e8af1a1489e3a370f2e21.jpg","text":"TemporaryFile(/tmp/multipartBody8079453122407036842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969794942,"filename":"image_03122025_05_17_04_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398145957","file1":"1398145955","file0":"1398145954","file4":"1398145997","file5":"1398146038","file3":"1398145961"},"map_files_photo_id_array":[{"photo_id":"1398146038","filename":"file5"},{"photo_id":"1398145957","filename":"file2"},{"photo_id":"1398145997","filename":"file4"},{"photo_id":"1398145955","filename":"file1"},{"photo_id":"1398145954","filename":"file0"},{"photo_id":"1398145961","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398145961":["hashtag1","hashtag2"]},{"1398145955":["hashtag1","hashtag2"]},{"1398146038":["hashtag1","hashtag2"]},{"1398145954":["hashtag1","hashtag2"]},{"1398145957":["hashtag1","hashtag2"]},{"1398145997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398145961, 1398145955, 1398146038, 1398145954, 1398145957, 1398145997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.900280475616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:23:03.514412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/18/image_05122025_22_18_44_9777.jpg', '/home/pi/Desktop/images/05122025/22/20/image_05122025_22_21_05_10868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/18/image_05122025_22_18_44_9777.jpg
/home/pi/Desktop/images/05122025/22/20/image_05122025_22_21_05_10868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398146268","1398146226"],"photo_ids_order":["1398146226","1398146268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e42de3c163530c8f12239fce7fcb89e1.jpg","text":"TemporaryFile(/tmp/multipartBody6203113208078674353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969844439,"filename":"image_05122025_22_21_05_10868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8a5e68baec074883a40c985b30a7cfa1.jpg","text":"TemporaryFile(/tmp/multipartBody2169701064662111946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969844439,"filename":"image_05122025_22_18_44_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398146268","file0":"1398146226"},"map_files_photo_id_array":[{"photo_id":"1398146268","filename":"file1"},{"photo_id":"1398146226","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398146268":["hashtag1","hashtag2"]},{"1398146226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398146268, 1398146226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.12602972984314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:23:32.667818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/17/image_03122025_05_17_34_9754.jpg', '/home/pi/Desktop/images/03122025/05/17/image_03122025_05_17_44_9819.jpg', '/home/pi/Desktop/images/03122025/05/17/image_03122025_05_17_54_9712.jpg', '/home/pi/Desktop/images/03122025/05/17/image_03122025_05_18_05_10700.jpg', '/home/pi/Desktop/images/03122025/05/18/image_03122025_05_19_04_9885.jpg', '/home/pi/Desktop/images/03122025/05/19/image_03122025_05_19_14_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/17/image_03122025_05_17_34_9754.jpg
/home/pi/Desktop/images/03122025/05/17/image_03122025_05_17_44_9819.jpg
/home/pi/Desktop/images/03122025/05/17/image_03122025_05_17_54_9712.jpg
/home/pi/Desktop/images/03122025/05/17/image_03122025_05_18_05_10700.jpg
/home/pi/Desktop/images/03122025/05/18/image_03122025_05_19_04_9885.jpg
/home/pi/Desktop/images/03122025/05/19/image_03122025_05_19_14_9667.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":["1398146720","1398146507","1398146545","1398146617","1398146583","1398146466"],"photo_ids_order":["1398146466","1398146507","1398146545","1398146583","1398146617","1398146720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/84c2130d38ed4b7c22ce3a02d4588c00.jpg","text":"TemporaryFile(/tmp/multipartBody2693876706643420022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969874927,"filename":"image_03122025_05_19_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/5/ed35dd637cc9afca3fc1939c8513241d.jpg","text":"TemporaryFile(/tmp/multipartBody4745276917787651608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969874927,"filename":"image_03122025_05_17_44_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/5/09a626d6bbd47a94b941e23118432781.jpg","text":"TemporaryFile(/tmp/multipartBody4874546117091219800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969874927,"filename":"image_03122025_05_17_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/5/42a098b8e7bac507cfa7d8b8596e0245.jpg","text":"TemporaryFile(/tmp/multipartBody1301172187822875698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969874927,"filename":"image_03122025_05_19_04_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/5/ace4afa30e12b244258dd39bc30153fa.jpg","text":"TemporaryFile(/tmp/multipartBody5842051677177158216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969874927,"filename":"image_03122025_05_18_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/5/43ff5af9246ade1960eb08e97d076eee.jpg","text":"TemporaryFile(/tmp/multipartBody343122660798801123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969874927,"filename":"image_03122025_05_17_34_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398146545","file1":"1398146507","file0":"1398146466","file4":"1398146617","file5":"1398146720","file3":"1398146583"},"map_files_photo_id_array":[{"photo_id":"1398146720","filename":"file5"},{"photo_id":"1398146545","filename":"file2"},{"photo_id":"1398146617","filename":"file4"},{"photo_id":"1398146507","filename":"file1"},{"photo_id":"1398146466","filename":"file0"},{"photo_id":"1398146583","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398146720":["hashtag1","hashtag2"]},{"1398146507":["hashtag1","hashtag2"]},{"1398146545":["hashtag1","hashtag2"]},{"1398146617":["hashtag1","hashtag2"]},{"1398146583":["hashtag1","hashtag2"]},{"1398146466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398146720, 1398146507, 1398146545, 1398146617, 1398146583, 1398146466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.42719340324402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:24:31.875111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/19/image_03122025_05_19_24_9633.jpg', '/home/pi/Desktop/images/03122025/05/19/image_03122025_05_19_34_10625.jpg', '/home/pi/Desktop/images/03122025/05/19/image_03122025_05_19_44_9828.jpg', '/home/pi/Desktop/images/03122025/05/20/image_03122025_05_20_54_10592.jpg', '/home/pi/Desktop/images/03122025/05/20/image_03122025_05_21_04_9654.jpg', '/home/pi/Desktop/images/03122025/05/21/image_03122025_05_21_34_10805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/19/image_03122025_05_19_24_9633.jpg
/home/pi/Desktop/images/03122025/05/19/image_03122025_05_19_34_10625.jpg
/home/pi/Desktop/images/03122025/05/19/image_03122025_05_19_44_9828.jpg
/home/pi/Desktop/images/03122025/05/20/image_03122025_05_20_54_10592.jpg
/home/pi/Desktop/images/03122025/05/20/image_03122025_05_21_04_9654.jpg
/home/pi/Desktop/images/03122025/05/21/image_03122025_05_21_34_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":["1398146770","1398146764","1398146766","1398146781","1398146769","1398146771"],"photo_ids_order":["1398146764","1398146766","1398146769","1398146770","1398146771","1398146781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/112e5f239eadf7d685ad852a44ce727b.jpg","text":"TemporaryFile(/tmp/multipartBody6687279083667825949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969935976,"filename":"image_03122025_05_20_54_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/5/a92a482affa9bcb5453334580cea469a.jpg","text":"TemporaryFile(/tmp/multipartBody1648671828111632872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969935976,"filename":"image_03122025_05_19_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/5/5c1ea322c04fa672dcde97f1524a1ce3.jpg","text":"TemporaryFile(/tmp/multipartBody6187223154890277901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969935976,"filename":"image_03122025_05_19_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e9c3ebf681c269e3c55328940513fe45.jpg","text":"TemporaryFile(/tmp/multipartBody3864487327603864159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969935976,"filename":"image_03122025_05_21_34_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/5/0c5ab54a2cd7fcae38be8d9b91e273d6.jpg","text":"TemporaryFile(/tmp/multipartBody578451323559880054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969935976,"filename":"image_03122025_05_19_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/5/80d122c10471063c58dfb1b5c8922b6c.jpg","text":"TemporaryFile(/tmp/multipartBody2642927485059749079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969935976,"filename":"image_03122025_05_21_04_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398146769","file1":"1398146766","file0":"1398146764","file4":"1398146771","file5":"1398146781","file3":"1398146770"},"map_files_photo_id_array":[{"photo_id":"1398146781","filename":"file5"},{"photo_id":"1398146769","filename":"file2"},{"photo_id":"1398146771","filename":"file4"},{"photo_id":"1398146766","filename":"file1"},{"photo_id":"1398146764","filename":"file0"},{"photo_id":"1398146770","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398146770":["hashtag1","hashtag2"]},{"1398146764":["hashtag1","hashtag2"]},{"1398146766":["hashtag1","hashtag2"]},{"1398146781":["hashtag1","hashtag2"]},{"1398146769":["hashtag1","hashtag2"]},{"1398146771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398146770, 1398146764, 1398146766, 1398146781, 1398146769, 1398146771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80386543273926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:25:22.082161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/21/image_05122025_22_21_35_10641.jpg', '/home/pi/Desktop/images/05122025/22/22/image_05122025_22_23_04_9646.jpg', '/home/pi/Desktop/images/05122025/22/23/image_05122025_22_23_54_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/21/image_05122025_22_21_35_10641.jpg
/home/pi/Desktop/images/05122025/22/22/image_05122025_22_23_04_9646.jpg
/home/pi/Desktop/images/05122025/22/23/image_05122025_22_23_54_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398146998","1398146968","1398146999"],"photo_ids_order":["1398146968","1398146998","1398146999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9188789ae879ba10c43308a34fdb146b.jpg","text":"TemporaryFile(/tmp/multipartBody4294172071113662531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969983555,"filename":"image_05122025_22_23_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/5/7393fca92b0c3ba62d2fd3af427d9666.jpg","text":"TemporaryFile(/tmp/multipartBody6693731182014934106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969983555,"filename":"image_05122025_22_21_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2d62ee35c66473f8e6d8fcb192dbadf5.jpg","text":"TemporaryFile(/tmp/multipartBody8824562750230486652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764969983555,"filename":"image_05122025_22_23_54_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398146999","file1":"1398146998","file0":"1398146968"},"map_files_photo_id_array":[{"photo_id":"1398146999","filename":"file2"},{"photo_id":"1398146998","filename":"file1"},{"photo_id":"1398146968","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398146998":["hashtag1","hashtag2"]},{"1398146968":["hashtag1","hashtag2"]},{"1398146999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398146998, 1398146968, 1398146999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.205914974212646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:26:02.821611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/21/image_03122025_05_22_04_9777.jpg', '/home/pi/Desktop/images/03122025/05/23/image_03122025_05_23_45_10634.jpg', '/home/pi/Desktop/images/03122025/05/24/image_03122025_05_24_34_10062.jpg', '/home/pi/Desktop/images/03122025/05/24/image_03122025_05_24_54_4547.jpg', '/home/pi/Desktop/images/03122025/05/25/image_03122025_05_25_14_9814.jpg', '/home/pi/Desktop/images/03122025/05/25/image_03122025_05_25_24_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/21/image_03122025_05_22_04_9777.jpg
/home/pi/Desktop/images/03122025/05/23/image_03122025_05_23_45_10634.jpg
/home/pi/Desktop/images/03122025/05/24/image_03122025_05_24_34_10062.jpg
/home/pi/Desktop/images/03122025/05/24/image_03122025_05_24_54_4547.jpg
/home/pi/Desktop/images/03122025/05/25/image_03122025_05_25_14_9814.jpg
/home/pi/Desktop/images/03122025/05/25/image_03122025_05_25_24_10439.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":["1398147370","1398147244","1398147331","1398147433","1398147291","1398147470"],"photo_ids_order":["1398147244","1398147291","1398147331","1398147370","1398147433","1398147470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/17414a86022cb94f91a452758f0ac462.jpg","text":"TemporaryFile(/tmp/multipartBody8271131267925951235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970024771,"filename":"image_03122025_05_24_54_4547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bcc28711d361c238406376ad616766c1.jpg","text":"TemporaryFile(/tmp/multipartBody2852049278303132621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970024771,"filename":"image_03122025_05_22_04_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/995da685f14d05339e0e3e3fcb7ccb0e.jpg","text":"TemporaryFile(/tmp/multipartBody4098745361912185667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970024771,"filename":"image_03122025_05_24_34_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/13829a465598c1328f93c617f1a6acd7.jpg","text":"TemporaryFile(/tmp/multipartBody7221479873204630546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970024771,"filename":"image_03122025_05_25_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/5/85ab7b130d7d14c812adc2e308031c14.jpg","text":"TemporaryFile(/tmp/multipartBody2865426790433365235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970024771,"filename":"image_03122025_05_23_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/5/605745b3baeb84a3e498437f94675a4f.jpg","text":"TemporaryFile(/tmp/multipartBody9168894223598486694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970024771,"filename":"image_03122025_05_25_24_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398147331","file1":"1398147291","file0":"1398147244","file4":"1398147433","file5":"1398147470","file3":"1398147370"},"map_files_photo_id_array":[{"photo_id":"1398147470","filename":"file5"},{"photo_id":"1398147331","filename":"file2"},{"photo_id":"1398147433","filename":"file4"},{"photo_id":"1398147291","filename":"file1"},{"photo_id":"1398147244","filename":"file0"},{"photo_id":"1398147370","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398147370":["hashtag1","hashtag2"]},{"1398147244":["hashtag1","hashtag2"]},{"1398147331":["hashtag1","hashtag2"]},{"1398147433":["hashtag1","hashtag2"]},{"1398147291":["hashtag1","hashtag2"]},{"1398147470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398147370, 1398147244, 1398147331, 1398147433, 1398147291, 1398147470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70038056373596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:27:03.244595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/25/image_03122025_05_25_34_9996.jpg', '/home/pi/Desktop/images/03122025/05/26/image_03122025_05_26_14_9661.jpg', '/home/pi/Desktop/images/03122025/05/29/image_03122025_05_29_44_10251.jpg', '/home/pi/Desktop/images/03122025/05/29/image_03122025_05_30_04_9687.jpg', '/home/pi/Desktop/images/03122025/05/30/image_03122025_05_30_24_10618.jpg', '/home/pi/Desktop/images/03122025/05/30/image_03122025_05_30_54_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/25/image_03122025_05_25_34_9996.jpg
/home/pi/Desktop/images/03122025/05/26/image_03122025_05_26_14_9661.jpg
/home/pi/Desktop/images/03122025/05/29/image_03122025_05_29_44_10251.jpg
/home/pi/Desktop/images/03122025/05/29/image_03122025_05_30_04_9687.jpg
/home/pi/Desktop/images/03122025/05/30/image_03122025_05_30_24_10618.jpg
/home/pi/Desktop/images/03122025/05/30/image_03122025_05_30_54_9765.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":["1398147931","1398147891","1398147771","1398147854","1398147731","1398147815"],"photo_ids_order":["1398147731","1398147771","1398147815","1398147854","1398147891","1398147931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a1cbcdf98bccf2a3b2b87c2506c520f0.jpg","text":"TemporaryFile(/tmp/multipartBody8574785462898878470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970085041,"filename":"image_03122025_05_30_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/5/521d11b9ef60dfcc61723313ebd3fbdf.jpg","text":"TemporaryFile(/tmp/multipartBody1294485587236859752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970085041,"filename":"image_03122025_05_30_24_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/5/ad63767c43241686361966bf23300bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4322365238144440259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970085041,"filename":"image_03122025_05_26_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/5/552bc97f046fa45e83c32840be59f627.jpg","text":"TemporaryFile(/tmp/multipartBody1962700000974869384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970085041,"filename":"image_03122025_05_30_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/5/74c29ea0ee1f026c9d749cc3a815452a.jpg","text":"TemporaryFile(/tmp/multipartBody1444376025571374552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970085041,"filename":"image_03122025_05_25_34_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/5/b04cf6ad5523b5e5d4b2e021a93835f2.jpg","text":"TemporaryFile(/tmp/multipartBody4529849555875710179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970085041,"filename":"image_03122025_05_29_44_10251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398147815","file1":"1398147771","file0":"1398147731","file4":"1398147891","file5":"1398147931","file3":"1398147854"},"map_files_photo_id_array":[{"photo_id":"1398147931","filename":"file5"},{"photo_id":"1398147815","filename":"file2"},{"photo_id":"1398147891","filename":"file4"},{"photo_id":"1398147771","filename":"file1"},{"photo_id":"1398147731","filename":"file0"},{"photo_id":"1398147854","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398147931":["hashtag1","hashtag2"]},{"1398147891":["hashtag1","hashtag2"]},{"1398147771":["hashtag1","hashtag2"]},{"1398147854":["hashtag1","hashtag2"]},{"1398147731":["hashtag1","hashtag2"]},{"1398147815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398147931, 1398147891, 1398147771, 1398147854, 1398147731, 1398147815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.521724700927734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:28:03.217478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/24/image_05122025_22_24_45_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/24/image_05122025_22_24_45_10680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398148074"],"photo_id":"1398148074","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a0c40a5b798fd55fe5ea85b94fc688c5.jpg","text":"TemporaryFile(/tmp/multipartBody3054655904783853516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970143785,"filename":"image_05122025_22_24_45_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398148074"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398148074"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.67952013015747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:28:22.704020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/27/image_05122025_22_27_54_9708.jpg', '/home/pi/Desktop/images/05122025/22/27/image_05122025_22_28_04_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/27/image_05122025_22_27_54_9708.jpg
/home/pi/Desktop/images/05122025/22/27/image_05122025_22_28_04_9607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398148076","1398148078"],"photo_ids_order":["1398148076","1398148078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/48bc9899c4608971f05d203549c0151a.jpg","text":"TemporaryFile(/tmp/multipartBody2947147047095470106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970163231,"filename":"image_05122025_22_27_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c9248f3a755e5fdc90c2adb417be35d.jpg","text":"TemporaryFile(/tmp/multipartBody5444907471966113170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970163231,"filename":"image_05122025_22_28_04_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398148078","file0":"1398148076"},"map_files_photo_id_array":[{"photo_id":"1398148078","filename":"file1"},{"photo_id":"1398148076","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398148076":["hashtag1","hashtag2"]},{"1398148078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398148076, 1398148078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.489463329315186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:28:42.714078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_38_2574.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_44_2697.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_47_3566.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_50_2657.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_53_2713.jpg', '/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_56_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_38_2574.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_44_2697.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_47_3566.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_50_2657.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_53_2713.jpg
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_56_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398148092","1398148086","1398148089","1398148091","1398148088","1398148090"],"photo_ids_order":["1398148086","1398148088","1398148089","1398148090","1398148091","1398148092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6c992de73c2ccb2a0f597252f4a03d78.jpg","text":"TemporaryFile(/tmp/multipartBody3378545077291041528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970184278,"filename":"image_31102025_20_58_56_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/5/140ea7e00174bc3e339f2726f33b6796.jpg","text":"TemporaryFile(/tmp/multipartBody7338253435659182000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970184278,"filename":"image_31102025_20_58_38_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/5/22c0fde0507641a24191ee0b360c0d0f.jpg","text":"TemporaryFile(/tmp/multipartBody2972921115657917837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970184278,"filename":"image_31102025_20_58_47_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c3df87ee4b6f418ad62e2f43b2a0fa9f.jpg","text":"TemporaryFile(/tmp/multipartBody1112738433628412410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970184278,"filename":"image_31102025_20_58_53_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/5/a17d283ef53e3c9551bb6cc055f82040.jpg","text":"TemporaryFile(/tmp/multipartBody7489532917919017034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970184278,"filename":"image_31102025_20_58_44_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/879ec7ed1d17d0cdf4835055fab2157a.jpg","text":"TemporaryFile(/tmp/multipartBody5137244220129071849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970184278,"filename":"image_31102025_20_58_50_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398148089","file1":"1398148088","file0":"1398148086","file4":"1398148091","file5":"1398148092","file3":"1398148090"},"map_files_photo_id_array":[{"photo_id":"1398148092","filename":"file5"},{"photo_id":"1398148089","filename":"file2"},{"photo_id":"1398148091","filename":"file4"},{"photo_id":"1398148088","filename":"file1"},{"photo_id":"1398148086","filename":"file0"},{"photo_id":"1398148090","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398148092":["hashtag1","hashtag2"]},{"1398148086":["hashtag1","hashtag2"]},{"1398148089":["hashtag1","hashtag2"]},{"1398148091":["hashtag1","hashtag2"]},{"1398148088":["hashtag1","hashtag2"]},{"1398148090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398148092, 1398148086, 1398148089, 1398148091, 1398148088, 1398148090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00421738624573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:29:21.929195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/28/image_05122025_22_28_34_9773.jpg', '/home/pi/Desktop/images/05122025/22/29/image_05122025_22_29_24_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/28/image_05122025_22_28_34_9773.jpg
/home/pi/Desktop/images/05122025/22/29/image_05122025_22_29_24_9864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398148163","1398148124"],"photo_ids_order":["1398148124","1398148163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1456731960ab4f99290476cee27ee8fe.jpg","text":"TemporaryFile(/tmp/multipartBody8439989739562511832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970222485,"filename":"image_05122025_22_29_24_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/5/2d8fa42b5bfa2801beef8d45f7fd3244.jpg","text":"TemporaryFile(/tmp/multipartBody5312064252422895702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970222485,"filename":"image_05122025_22_28_34_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398148163","file0":"1398148124"},"map_files_photo_id_array":[{"photo_id":"1398148163","filename":"file1"},{"photo_id":"1398148124","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398148163":["hashtag1","hashtag2"]},{"1398148124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398148163, 1398148124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.559226989746094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:29:42.019148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_59_2498.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_02_2684.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_05_3575.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_08_2614.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_11_2682.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_14_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/58/image_31102025_20_58_59_2498.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_02_2684.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_05_3575.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_08_2614.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_11_2682.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_14_3648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398148557","1398148293","1398148335","1398148453","1398148369","1398148726"],"photo_ids_order":["1398148293","1398148335","1398148369","1398148453","1398148557","1398148726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8a106b808ff7e0131941fb182cca7a50.jpg","text":"TemporaryFile(/tmp/multipartBody8776648089132081909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970243586,"filename":"image_31102025_20_59_11_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/5/312ff63abde8b4e115c1024fa895c740.jpg","text":"TemporaryFile(/tmp/multipartBody8294207234214159444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970243586,"filename":"image_31102025_20_58_59_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af0c85496cb82f7371807d507db8d4b5.jpg","text":"TemporaryFile(/tmp/multipartBody4505292449918357762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970243586,"filename":"image_31102025_20_59_02_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/5/fe7af822be83db5ae11526f9e829d039.jpg","text":"TemporaryFile(/tmp/multipartBody911318184517635531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970243586,"filename":"image_31102025_20_59_08_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/5/6a0168d3ea79dd8f270ac4a1e662cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody2395382503403824015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970243586,"filename":"image_31102025_20_59_05_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/5/d922ed4cc007588e9bc80327aa848c94.jpg","text":"TemporaryFile(/tmp/multipartBody6808282681110250145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970243586,"filename":"image_31102025_20_59_14_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398148369","file1":"1398148335","file0":"1398148293","file4":"1398148557","file5":"1398148726","file3":"1398148453"},"map_files_photo_id_array":[{"photo_id":"1398148726","filename":"file5"},{"photo_id":"1398148369","filename":"file2"},{"photo_id":"1398148557","filename":"file4"},{"photo_id":"1398148335","filename":"file1"},{"photo_id":"1398148293","filename":"file0"},{"photo_id":"1398148453","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398148557":["hashtag1","hashtag2"]},{"1398148293":["hashtag1","hashtag2"]},{"1398148335":["hashtag1","hashtag2"]},{"1398148453":["hashtag1","hashtag2"]},{"1398148369":["hashtag1","hashtag2"]},{"1398148726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398148557, 1398148293, 1398148335, 1398148453, 1398148369, 1398148726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09976673126221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:30:22.228821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_17_2714.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_20_2666.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_23_3774.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_29_2634.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_32_3882.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_35_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_17_2714.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_20_2666.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_23_3774.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_29_2634.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_32_3882.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_35_2850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398149244","1398149523","1398149680","1398149860","1398149368","1398150076"],"photo_ids_order":["1398149244","1398149368","1398149523","1398149680","1398149860","1398150076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cef8d10729f2eb24a32c5ef835ed3020.jpg","text":"TemporaryFile(/tmp/multipartBody7408282150001907694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970283808,"filename":"image_31102025_20_59_17_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43d9657e0571b415b65feabd0cbf66eb.jpg","text":"TemporaryFile(/tmp/multipartBody2430720446017651815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970283808,"filename":"image_31102025_20_59_23_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/88c6588dc685c7bac5b0d91852ba851b.jpg","text":"TemporaryFile(/tmp/multipartBody6025565351771942270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970283808,"filename":"image_31102025_20_59_29_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/5/dd29921a9b0d5128b0658c3620d8ced8.jpg","text":"TemporaryFile(/tmp/multipartBody386367303576231128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970283808,"filename":"image_31102025_20_59_32_3882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/538d123d398a91f1537aea000735fbdc.jpg","text":"TemporaryFile(/tmp/multipartBody2196775329483509633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970283808,"filename":"image_31102025_20_59_20_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/5/5357f2b2f2bb5bf59e2a9d52185bf078.jpg","text":"TemporaryFile(/tmp/multipartBody3668091428816971991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970283808,"filename":"image_31102025_20_59_35_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398149523","file1":"1398149368","file0":"1398149244","file4":"1398149860","file5":"1398150076","file3":"1398149680"},"map_files_photo_id_array":[{"photo_id":"1398150076","filename":"file5"},{"photo_id":"1398149523","filename":"file2"},{"photo_id":"1398149860","filename":"file4"},{"photo_id":"1398149368","filename":"file1"},{"photo_id":"1398149244","filename":"file0"},{"photo_id":"1398149680","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398149244":["hashtag1","hashtag2"]},{"1398149523":["hashtag1","hashtag2"]},{"1398149680":["hashtag1","hashtag2"]},{"1398149860":["hashtag1","hashtag2"]},{"1398149368":["hashtag1","hashtag2"]},{"1398150076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398149244, 1398149523, 1398149680, 1398149860, 1398149368, 1398150076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85741424560547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:31:03.025185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/30/image_03122025_05_31_04_9758.jpg', '/home/pi/Desktop/images/03122025/05/31/image_03122025_05_31_14_10623.jpg', '/home/pi/Desktop/images/03122025/05/31/image_03122025_05_31_24_9598.jpg', '/home/pi/Desktop/images/03122025/05/31/image_03122025_05_31_35_10717.jpg', '/home/pi/Desktop/images/03122025/05/31/image_03122025_05_31_44_9722.jpg', '/home/pi/Desktop/images/03122025/05/32/image_03122025_05_32_15_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/30/image_03122025_05_31_04_9758.jpg
/home/pi/Desktop/images/03122025/05/31/image_03122025_05_31_14_10623.jpg
/home/pi/Desktop/images/03122025/05/31/image_03122025_05_31_24_9598.jpg
/home/pi/Desktop/images/03122025/05/31/image_03122025_05_31_35_10717.jpg
/home/pi/Desktop/images/03122025/05/31/image_03122025_05_31_44_9722.jpg
/home/pi/Desktop/images/03122025/05/32/image_03122025_05_32_15_10751.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":["1398150285","1398150372","1398150375","1398150348","1398150377","1398150388"],"photo_ids_order":["1398150285","1398150348","1398150372","1398150375","1398150377","1398150388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7b7965811a3b0be5ca4c6e259a1440bb.jpg","text":"TemporaryFile(/tmp/multipartBody2259484162789995922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970324788,"filename":"image_03122025_05_31_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/5/630b3cb5448fc390307fcd429f4066a8.jpg","text":"TemporaryFile(/tmp/multipartBody4407533313744888978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970324788,"filename":"image_03122025_05_31_24_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/5/17ba156702bd25fb978b64a8c047f5c2.jpg","text":"TemporaryFile(/tmp/multipartBody1704997130739147784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970324788,"filename":"image_03122025_05_31_35_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ab1589a263cf87011b53e072c25899c.jpg","text":"TemporaryFile(/tmp/multipartBody6992617302835677469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970324788,"filename":"image_03122025_05_31_14_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/5/085cf43331586da4b11156d7c5f5f150.jpg","text":"TemporaryFile(/tmp/multipartBody4708660131944209359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970324788,"filename":"image_03122025_05_31_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/5/151f18fc55bae4994b7f6419f8983a3e.jpg","text":"TemporaryFile(/tmp/multipartBody1444419998528224973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970324788,"filename":"image_03122025_05_32_15_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398150372","file1":"1398150348","file0":"1398150285","file4":"1398150377","file5":"1398150388","file3":"1398150375"},"map_files_photo_id_array":[{"photo_id":"1398150388","filename":"file5"},{"photo_id":"1398150372","filename":"file2"},{"photo_id":"1398150377","filename":"file4"},{"photo_id":"1398150348","filename":"file1"},{"photo_id":"1398150285","filename":"file0"},{"photo_id":"1398150375","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398150285":["hashtag1","hashtag2"]},{"1398150372":["hashtag1","hashtag2"]},{"1398150375":["hashtag1","hashtag2"]},{"1398150348":["hashtag1","hashtag2"]},{"1398150377":["hashtag1","hashtag2"]},{"1398150388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398150285, 1398150372, 1398150375, 1398150348, 1398150377, 1398150388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.71721601486206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:32:02.987123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/32/image_03122025_05_32_44_9776.jpg', '/home/pi/Desktop/images/03122025/05/33/image_03122025_05_33_14_9865.jpg', '/home/pi/Desktop/images/03122025/05/33/image_03122025_05_33_44_9717.jpg', '/home/pi/Desktop/images/03122025/05/34/image_03122025_05_34_24_9672.jpg', '/home/pi/Desktop/images/03122025/05/34/image_03122025_05_34_44_9631.jpg', '/home/pi/Desktop/images/03122025/05/35/image_03122025_05_35_04_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/32/image_03122025_05_32_44_9776.jpg
/home/pi/Desktop/images/03122025/05/33/image_03122025_05_33_14_9865.jpg
/home/pi/Desktop/images/03122025/05/33/image_03122025_05_33_44_9717.jpg
/home/pi/Desktop/images/03122025/05/34/image_03122025_05_34_24_9672.jpg
/home/pi/Desktop/images/03122025/05/34/image_03122025_05_34_44_9631.jpg
/home/pi/Desktop/images/03122025/05/35/image_03122025_05_35_04_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398150594","1398150540","1398150557","1398150620","1398150541","1398150622"],"photo_ids_order":["1398150540","1398150541","1398150557","1398150594","1398150620","1398150622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46fe1c7701d8aa62db925f46e0e766ce.jpg","text":"TemporaryFile(/tmp/multipartBody1384907876090815380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970384994,"filename":"image_03122025_05_34_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/55d869602710de0ab268d56054a0d4d1.jpg","text":"TemporaryFile(/tmp/multipartBody4254199072708998835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970384994,"filename":"image_03122025_05_32_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/5/a82aa927c047d2897de9ec9cc52f83d5.jpg","text":"TemporaryFile(/tmp/multipartBody2093466438903056643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970384994,"filename":"image_03122025_05_33_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/5/c593dfe0dd6961641caccc3481e3c156.jpg","text":"TemporaryFile(/tmp/multipartBody6987406255409619464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970384994,"filename":"image_03122025_05_34_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/5/8887220a5f6edd91e5e6e92cef73dbf5.jpg","text":"TemporaryFile(/tmp/multipartBody2167705226988870191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970384994,"filename":"image_03122025_05_33_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/5/8fba18ede83b5cf5773baafff87e0ac6.jpg","text":"TemporaryFile(/tmp/multipartBody1610975196130845970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970384994,"filename":"image_03122025_05_35_04_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398150557","file1":"1398150541","file0":"1398150540","file4":"1398150620","file5":"1398150622","file3":"1398150594"},"map_files_photo_id_array":[{"photo_id":"1398150622","filename":"file5"},{"photo_id":"1398150557","filename":"file2"},{"photo_id":"1398150620","filename":"file4"},{"photo_id":"1398150541","filename":"file1"},{"photo_id":"1398150540","filename":"file0"},{"photo_id":"1398150594","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398150594":["hashtag1","hashtag2"]},{"1398150540":["hashtag1","hashtag2"]},{"1398150557":["hashtag1","hashtag2"]},{"1398150620":["hashtag1","hashtag2"]},{"1398150541":["hashtag1","hashtag2"]},{"1398150622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398150594, 1398150540, 1398150557, 1398150620, 1398150541, 1398150622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.147080183029175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:32:42.736959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_38_2518.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_40_2638.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_44_3661.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_47_2662.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_50_3572.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_53_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_38_2518.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_40_2638.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_44_3661.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_47_2662.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_50_3572.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_53_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398150901","1398150993","1398151158","1398151148","1398150804","1398151090"],"photo_ids_order":["1398150804","1398150901","1398150993","1398151090","1398151148","1398151158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/61fb735423f36b3fffcc045352527a80.jpg","text":"TemporaryFile(/tmp/multipartBody2028965820702238079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970424529,"filename":"image_31102025_20_59_40_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94f5cde794ff55e9cbd83429c2506633.jpg","text":"TemporaryFile(/tmp/multipartBody19643836914930070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970424529,"filename":"image_31102025_20_59_44_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/5/67ac311e49bf876a7e511c2d65b102f4.jpg","text":"TemporaryFile(/tmp/multipartBody8413039972766195685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970424529,"filename":"image_31102025_20_59_53_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/5/1448e0e98adf2dcac6127b47dad73138.jpg","text":"TemporaryFile(/tmp/multipartBody2233362685024012711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970424529,"filename":"image_31102025_20_59_50_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/5/79dffc17236103b21c62395a02ea27b8.jpg","text":"TemporaryFile(/tmp/multipartBody7067114111372338983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970424529,"filename":"image_31102025_20_59_38_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/14ecc4bab0ba9adb5fa385bbae2076c6.jpg","text":"TemporaryFile(/tmp/multipartBody3353022582757646454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970424529,"filename":"image_31102025_20_59_47_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398150993","file1":"1398150901","file0":"1398150804","file4":"1398151148","file5":"1398151158","file3":"1398151090"},"map_files_photo_id_array":[{"photo_id":"1398151158","filename":"file5"},{"photo_id":"1398150993","filename":"file2"},{"photo_id":"1398151148","filename":"file4"},{"photo_id":"1398150901","filename":"file1"},{"photo_id":"1398150804","filename":"file0"},{"photo_id":"1398151090","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398150901":["hashtag1","hashtag2"]},{"1398150993":["hashtag1","hashtag2"]},{"1398151158":["hashtag1","hashtag2"]},{"1398151148":["hashtag1","hashtag2"]},{"1398150804":["hashtag1","hashtag2"]},{"1398151090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398150901, 1398150993, 1398151158, 1398151148, 1398150804, 1398151090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.129611015319824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:33:21.933988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_56_2632.jpg', '/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_59_3617.jpg', '/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_07_3011.jpg', '/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_11_3597.jpg', '/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_17_3725.jpg', '/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_26_3761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_56_2632.jpg
/home/pi/Desktop/images/31102025/20/59/image_31102025_20_59_59_3617.jpg
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_07_3011.jpg
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_11_3597.jpg
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_17_3725.jpg
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_26_3761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398151245","1398151247","1398151301","1398151304","1398151243","1398151185"],"photo_ids_order":["1398151185","1398151243","1398151245","1398151247","1398151301","1398151304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c1a1a8e3a84b914eeb6ff972ec4b86de.jpg","text":"TemporaryFile(/tmp/multipartBody1375234977216800241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970463465,"filename":"image_31102025_21_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/5/bd9ed4d72c81af3ca62b7775c068540f.jpg","text":"TemporaryFile(/tmp/multipartBody154163003367047820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970463465,"filename":"image_31102025_21_01_11_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/5/efd45bfb0484f0d947bbae68ab126f43.jpg","text":"TemporaryFile(/tmp/multipartBody215607516186311623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970463465,"filename":"image_31102025_21_01_17_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/5/049f0805095431e31e45f4e59f1af633.jpg","text":"TemporaryFile(/tmp/multipartBody1785100877477930195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970463465,"filename":"image_31102025_21_01_26_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/5/9239f2f15d7a72b40961efc5ffb6a1c0.jpg","text":"TemporaryFile(/tmp/multipartBody9020735823821703472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970463465,"filename":"image_31102025_20_59_59_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/5/3482e741e14bddc44224b2507885e0d3.jpg","text":"TemporaryFile(/tmp/multipartBody1730972762185224643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970463465,"filename":"image_31102025_20_59_56_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398151245","file1":"1398151243","file0":"1398151185","file4":"1398151301","file5":"1398151304","file3":"1398151247"},"map_files_photo_id_array":[{"photo_id":"1398151304","filename":"file5"},{"photo_id":"1398151245","filename":"file2"},{"photo_id":"1398151301","filename":"file4"},{"photo_id":"1398151243","filename":"file1"},{"photo_id":"1398151185","filename":"file0"},{"photo_id":"1398151247","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398151245":["hashtag1","hashtag2"]},{"1398151247":["hashtag1","hashtag2"]},{"1398151301":["hashtag1","hashtag2"]},{"1398151304":["hashtag1","hashtag2"]},{"1398151243":["hashtag1","hashtag2"]},{"1398151185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398151245, 1398151247, 1398151301, 1398151304, 1398151243, 1398151185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.014264822006226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:34:02.710800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/35/image_03122025_05_35_34_9852.jpg', '/home/pi/Desktop/images/03122025/05/35/image_03122025_05_35_44_9759.jpg', '/home/pi/Desktop/images/03122025/05/35/image_03122025_05_35_54_10628.jpg', '/home/pi/Desktop/images/03122025/05/36/image_03122025_05_36_35_10655.jpg', '/home/pi/Desktop/images/03122025/05/36/image_03122025_05_36_44_9376.jpg', '/home/pi/Desktop/images/03122025/05/36/image_03122025_05_36_54_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/35/image_03122025_05_35_34_9852.jpg
/home/pi/Desktop/images/03122025/05/35/image_03122025_05_35_44_9759.jpg
/home/pi/Desktop/images/03122025/05/35/image_03122025_05_35_54_10628.jpg
/home/pi/Desktop/images/03122025/05/36/image_03122025_05_36_35_10655.jpg
/home/pi/Desktop/images/03122025/05/36/image_03122025_05_36_44_9376.jpg
/home/pi/Desktop/images/03122025/05/36/image_03122025_05_36_54_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":["1398151787","1398151460","1398151675","1398151573","1398151420","1398151383"],"photo_ids_order":["1398151383","1398151420","1398151460","1398151573","1398151675","1398151787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/664b586a34f6c8e608032c6f4836cbb8.jpg","text":"TemporaryFile(/tmp/multipartBody8234309482245465269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970504578,"filename":"image_03122025_05_36_54_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a2f460a1e7cab3d4c61c233b1a93d725.jpg","text":"TemporaryFile(/tmp/multipartBody658821292191537680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970504578,"filename":"image_03122025_05_35_54_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/5/cc66f37f811db8a4d0de43cb2f340e84.jpg","text":"TemporaryFile(/tmp/multipartBody6296072588868804177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970504578,"filename":"image_03122025_05_36_44_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/5/0b41d9e42c53e12e886e5c9910608332.jpg","text":"TemporaryFile(/tmp/multipartBody653687297196838712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970504578,"filename":"image_03122025_05_36_35_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/5/dd2b1a1b8f714fed62cde0b3b552c5a5.jpg","text":"TemporaryFile(/tmp/multipartBody7584383709785058308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970504578,"filename":"image_03122025_05_35_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/5/a909e3f678ff7cee6a7de982ce5ef3d1.jpg","text":"TemporaryFile(/tmp/multipartBody8427161555072675985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970504578,"filename":"image_03122025_05_35_34_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398151460","file1":"1398151420","file0":"1398151383","file4":"1398151675","file5":"1398151787","file3":"1398151573"},"map_files_photo_id_array":[{"photo_id":"1398151787","filename":"file5"},{"photo_id":"1398151460","filename":"file2"},{"photo_id":"1398151675","filename":"file4"},{"photo_id":"1398151420","filename":"file1"},{"photo_id":"1398151383","filename":"file0"},{"photo_id":"1398151573","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398151787":["hashtag1","hashtag2"]},{"1398151460":["hashtag1","hashtag2"]},{"1398151675":["hashtag1","hashtag2"]},{"1398151573":["hashtag1","hashtag2"]},{"1398151420":["hashtag1","hashtag2"]},{"1398151383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398151787, 1398151460, 1398151675, 1398151573, 1398151420, 1398151383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33865022659302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:34:42.177026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_29_2794.jpg', '/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_31_2640.jpg', '/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_35_3609.jpg', '/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_38_2788.jpg', '/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_40_2651.jpg', '/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_47_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_29_2794.jpg
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_31_2640.jpg
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_35_3609.jpg
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_38_2788.jpg
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_40_2651.jpg
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_47_3564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398152916","1398152420","1398152258","1398152147","1398153148","1398152694"],"photo_ids_order":["1398152147","1398152258","1398152420","1398152694","1398152916","1398153148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d6ca2975c7328af363588c28c9c941c7.jpg","text":"TemporaryFile(/tmp/multipartBody1942772572306713619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970543767,"filename":"image_31102025_21_01_40_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/5/09cf7cda7ab9b23fc818064f1726e88c.jpg","text":"TemporaryFile(/tmp/multipartBody8720219176751677396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970543767,"filename":"image_31102025_21_01_35_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/5/05eb5fd4b2c83ddd609498f034bca4b6.jpg","text":"TemporaryFile(/tmp/multipartBody7053751013764940817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970543767,"filename":"image_31102025_21_01_31_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/5/714eece81aeac2bfef1de2e2adaa0d7c.jpg","text":"TemporaryFile(/tmp/multipartBody4694105048743828861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970543767,"filename":"image_31102025_21_01_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/5/10282b0e321bc4dba1ec924270379daf.jpg","text":"TemporaryFile(/tmp/multipartBody8619011886133085261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970543767,"filename":"image_31102025_21_01_47_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/5/b0356263a6821c7e1ac613c8769eefc0.jpg","text":"TemporaryFile(/tmp/multipartBody2688143179539591332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970543767,"filename":"image_31102025_21_01_38_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398152420","file1":"1398152258","file0":"1398152147","file4":"1398152916","file5":"1398153148","file3":"1398152694"},"map_files_photo_id_array":[{"photo_id":"1398153148","filename":"file5"},{"photo_id":"1398152420","filename":"file2"},{"photo_id":"1398152916","filename":"file4"},{"photo_id":"1398152258","filename":"file1"},{"photo_id":"1398152147","filename":"file0"},{"photo_id":"1398152694","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398152916":["hashtag1","hashtag2"]},{"1398152420":["hashtag1","hashtag2"]},{"1398152258":["hashtag1","hashtag2"]},{"1398152147":["hashtag1","hashtag2"]},{"1398153148":["hashtag1","hashtag2"]},{"1398152694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398152916, 1398152420, 1398152258, 1398152147, 1398153148, 1398152694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.510221004486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:35:32.310846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/36/image_03122025_05_37_05_10818.jpg', '/home/pi/Desktop/images/03122025/05/37/image_03122025_05_37_45_10837.jpg', '/home/pi/Desktop/images/03122025/05/37/image_03122025_05_37_54_9636.jpg', '/home/pi/Desktop/images/03122025/05/38/image_03122025_05_38_15_10674.jpg', '/home/pi/Desktop/images/03122025/05/38/image_03122025_05_38_34_9724.jpg', '/home/pi/Desktop/images/03122025/05/41/image_03122025_05_41_25_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/36/image_03122025_05_37_05_10818.jpg
/home/pi/Desktop/images/03122025/05/37/image_03122025_05_37_45_10837.jpg
/home/pi/Desktop/images/03122025/05/37/image_03122025_05_37_54_9636.jpg
/home/pi/Desktop/images/03122025/05/38/image_03122025_05_38_15_10674.jpg
/home/pi/Desktop/images/03122025/05/38/image_03122025_05_38_34_9724.jpg
/home/pi/Desktop/images/03122025/05/41/image_03122025_05_41_25_10760.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.186819553375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:35:42.367604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_49_2623.jpg', '/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_56_2599.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_01_2603.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_05_3743.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_10_2822.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_17_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_49_2623.jpg
/home/pi/Desktop/images/31102025/21/01/image_31102025_21_01_56_2599.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_01_2603.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_05_3743.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_10_2822.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_17_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":["1398154594","1398154867","1398154707","1398154790","1398154487","1398154376"],"photo_ids_order":["1398154376","1398154487","1398154594","1398154707","1398154790","1398154867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4edb1aa51f8905b8ff41c23a1d240ebf.jpg","text":"TemporaryFile(/tmp/multipartBody9014110694105476852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970603957,"filename":"image_31102025_21_02_01_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/5/3706262bc2c2c3d146e6ec128ce3c306.jpg","text":"TemporaryFile(/tmp/multipartBody4380918270321749484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970603957,"filename":"image_31102025_21_02_17_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/5/6fab6bb61aa04bd3b8c63971b7db2bfa.jpg","text":"TemporaryFile(/tmp/multipartBody3723119905855178490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970603957,"filename":"image_31102025_21_02_05_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0b8f1e5cb1fc558a665cc989645bddfe.jpg","text":"TemporaryFile(/tmp/multipartBody8911570793018157305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970603957,"filename":"image_31102025_21_02_10_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/07e2dd28f718ba75fdaea79f5a82c39a.jpg","text":"TemporaryFile(/tmp/multipartBody3154880376072102999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970603957,"filename":"image_31102025_21_01_56_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/5/b95dedbddf1f3b30281b21c7fe8456dc.jpg","text":"TemporaryFile(/tmp/multipartBody1749568556683829848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970603957,"filename":"image_31102025_21_01_49_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398154594","file1":"1398154487","file0":"1398154376","file4":"1398154790","file5":"1398154867","file3":"1398154707"},"map_files_photo_id_array":[{"photo_id":"1398154867","filename":"file5"},{"photo_id":"1398154594","filename":"file2"},{"photo_id":"1398154790","filename":"file4"},{"photo_id":"1398154487","filename":"file1"},{"photo_id":"1398154376","filename":"file0"},{"photo_id":"1398154707","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398154594":["hashtag1","hashtag2"]},{"1398154867":["hashtag1","hashtag2"]},{"1398154707":["hashtag1","hashtag2"]},{"1398154790":["hashtag1","hashtag2"]},{"1398154487":["hashtag1","hashtag2"]},{"1398154376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398154594, 1398154867, 1398154707, 1398154790, 1398154487, 1398154376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95030093193054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:36:22.532157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/29/image_05122025_22_29_34_9923.jpg', '/home/pi/Desktop/images/05122025/22/35/image_05122025_22_35_14_10060.jpg', '/home/pi/Desktop/images/05122025/22/35/image_05122025_22_35_25_10691.jpg', '/home/pi/Desktop/images/05122025/22/35/image_05122025_22_35_34_9591.jpg', '/home/pi/Desktop/images/05122025/22/35/image_05122025_22_35_44_9753.jpg', '/home/pi/Desktop/images/05122025/22/35/image_05122025_22_35_55_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/29/image_05122025_22_29_34_9923.jpg
/home/pi/Desktop/images/05122025/22/35/image_05122025_22_35_14_10060.jpg
/home/pi/Desktop/images/05122025/22/35/image_05122025_22_35_25_10691.jpg
/home/pi/Desktop/images/05122025/22/35/image_05122025_22_35_34_9591.jpg
/home/pi/Desktop/images/05122025/22/35/image_05122025_22_35_44_9753.jpg
/home/pi/Desktop/images/05122025/22/35/image_05122025_22_35_55_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398156198","1398155862","1398156293","1398155589","1398155277","1398156073"],"photo_ids_order":["1398155277","1398155589","1398155862","1398156073","1398156198","1398156293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/81ceae5ff70c99f8ada7c13993a5b6f5.jpg","text":"TemporaryFile(/tmp/multipartBody850289785735636873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970643344,"filename":"image_05122025_22_35_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/5/cc22e63bb23158d4e4c2938113757186.jpg","text":"TemporaryFile(/tmp/multipartBody8256922441403586083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970643344,"filename":"image_05122025_22_35_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/5/5052a52805e9bd186fe7897038719060.jpg","text":"TemporaryFile(/tmp/multipartBody6886294460415268870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970643344,"filename":"image_05122025_22_35_55_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b62ef4273f5c9da794618a0b0111f565.jpg","text":"TemporaryFile(/tmp/multipartBody1069595517839064454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970643344,"filename":"image_05122025_22_35_14_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0db702c91877b6eea2b204c0659ca89e.jpg","text":"TemporaryFile(/tmp/multipartBody8348355616331579314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970643344,"filename":"image_05122025_22_29_34_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/5/2d241e05f331a14b4acb0079c6a111f6.jpg","text":"TemporaryFile(/tmp/multipartBody2308528520539229195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970643344,"filename":"image_05122025_22_35_34_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398155862","file1":"1398155589","file0":"1398155277","file4":"1398156198","file5":"1398156293","file3":"1398156073"},"map_files_photo_id_array":[{"photo_id":"1398156293","filename":"file5"},{"photo_id":"1398155862","filename":"file2"},{"photo_id":"1398156198","filename":"file4"},{"photo_id":"1398155589","filename":"file1"},{"photo_id":"1398155277","filename":"file0"},{"photo_id":"1398156073","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398156198":["hashtag1","hashtag2"]},{"1398155862":["hashtag1","hashtag2"]},{"1398156293":["hashtag1","hashtag2"]},{"1398155589":["hashtag1","hashtag2"]},{"1398155277":["hashtag1","hashtag2"]},{"1398156073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398156198, 1398155862, 1398156293, 1398155589, 1398155277, 1398156073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.45589303970337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:37:12.710052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/36/image_03122025_05_37_05_10818.jpg', '/home/pi/Desktop/images/03122025/05/37/image_03122025_05_37_45_10837.jpg', '/home/pi/Desktop/images/03122025/05/37/image_03122025_05_37_54_9636.jpg', '/home/pi/Desktop/images/03122025/05/38/image_03122025_05_38_15_10674.jpg', '/home/pi/Desktop/images/03122025/05/38/image_03122025_05_38_34_9724.jpg', '/home/pi/Desktop/images/03122025/05/41/image_03122025_05_41_25_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/36/image_03122025_05_37_05_10818.jpg
/home/pi/Desktop/images/03122025/05/37/image_03122025_05_37_45_10837.jpg
/home/pi/Desktop/images/03122025/05/37/image_03122025_05_37_54_9636.jpg
/home/pi/Desktop/images/03122025/05/38/image_03122025_05_38_15_10674.jpg
/home/pi/Desktop/images/03122025/05/38/image_03122025_05_38_34_9724.jpg
/home/pi/Desktop/images/03122025/05/41/image_03122025_05_41_25_10760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398156978","1398157062","1398156696","1398156906","1398156803","1398156611"],"photo_ids_order":["1398156611","1398156696","1398156803","1398156906","1398156978","1398157062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/de3a4a946a1543e7eaea3ae3a6817403.jpg","text":"TemporaryFile(/tmp/multipartBody148609014898853038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970694775,"filename":"image_03122025_05_38_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/5/f30cd7d1bfa5b6fdd13835915c24d0b8.jpg","text":"TemporaryFile(/tmp/multipartBody7075869383580873580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970694775,"filename":"image_03122025_05_41_25_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95b00f2cf6234ff38831cd4b5f2c71d9.jpg","text":"TemporaryFile(/tmp/multipartBody6573101883813348036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970694775,"filename":"image_03122025_05_37_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/5/791dcb46dd2abe4468909e9106cd9bcf.jpg","text":"TemporaryFile(/tmp/multipartBody1275237091643245342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970694775,"filename":"image_03122025_05_38_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/df90122baa540760d4f81e1fca6a6dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6506359523657158236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970694775,"filename":"image_03122025_05_37_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/5/81dd8df53f14f82083b1c799a18570b1.jpg","text":"TemporaryFile(/tmp/multipartBody7035763671589977774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970694775,"filename":"image_03122025_05_37_05_10818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398156803","file1":"1398156696","file0":"1398156611","file4":"1398156978","file5":"1398157062","file3":"1398156906"},"map_files_photo_id_array":[{"photo_id":"1398157062","filename":"file5"},{"photo_id":"1398156803","filename":"file2"},{"photo_id":"1398156978","filename":"file4"},{"photo_id":"1398156696","filename":"file1"},{"photo_id":"1398156611","filename":"file0"},{"photo_id":"1398156906","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398156978":["hashtag1","hashtag2"]},{"1398157062":["hashtag1","hashtag2"]},{"1398156696":["hashtag1","hashtag2"]},{"1398156906":["hashtag1","hashtag2"]},{"1398156803":["hashtag1","hashtag2"]},{"1398156611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398156978, 1398157062, 1398156696, 1398156906, 1398156803, 1398156611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.89955401420593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:38:02.301827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/35/image_05122025_22_36_04_9783.jpg', '/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_25_10641.jpg', '/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_44_9611.jpg', '/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_54_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/35/image_05122025_22_36_04_9783.jpg
/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_25_10641.jpg
/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_44_9611.jpg
/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_54_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.5654101371765137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:38:11.931310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/41/image_03122025_05_41_34_9684.jpg', '/home/pi/Desktop/images/03122025/05/41/image_03122025_05_41_54_9588.jpg', '/home/pi/Desktop/images/03122025/05/41/image_03122025_05_42_04_10692.jpg', '/home/pi/Desktop/images/03122025/05/42/image_03122025_05_42_44_10793.jpg', '/home/pi/Desktop/images/03122025/05/42/image_03122025_05_43_04_9685.jpg', '/home/pi/Desktop/images/03122025/05/43/image_03122025_05_43_34_9550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/41/image_03122025_05_41_34_9684.jpg
/home/pi/Desktop/images/03122025/05/41/image_03122025_05_41_54_9588.jpg
/home/pi/Desktop/images/03122025/05/41/image_03122025_05_42_04_10692.jpg
/home/pi/Desktop/images/03122025/05/42/image_03122025_05_42_44_10793.jpg
/home/pi/Desktop/images/03122025/05/42/image_03122025_05_43_04_9685.jpg
/home/pi/Desktop/images/03122025/05/43/image_03122025_05_43_34_9550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398157452","1398157769","1398157634","1398157588","1398157696","1398157510"],"photo_ids_order":["1398157452","1398157510","1398157588","1398157634","1398157696","1398157769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4f158024185f12509760d5467710e9f5.jpg","text":"TemporaryFile(/tmp/multipartBody1499482454587047463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970753841,"filename":"image_03122025_05_41_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/5/ff85118d9015af85a17941e8bf018277.jpg","text":"TemporaryFile(/tmp/multipartBody1622346643575572449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970753841,"filename":"image_03122025_05_43_34_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/5/4a3ed2b75b1a7b8d3562f4cba8b9cffd.jpg","text":"TemporaryFile(/tmp/multipartBody3727349371355103361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970753841,"filename":"image_03122025_05_42_44_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/5/94a5fa349564ebf91a4709a14fafadd9.jpg","text":"TemporaryFile(/tmp/multipartBody348507434647935835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970753841,"filename":"image_03122025_05_42_04_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/5/07584093eb13fe680ba8ce36d61af9be.jpg","text":"TemporaryFile(/tmp/multipartBody477306738607986308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970753841,"filename":"image_03122025_05_43_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/5/f01ba1260fdf7d50d8dfdf202e23f167.jpg","text":"TemporaryFile(/tmp/multipartBody1561887662974598902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970753841,"filename":"image_03122025_05_41_54_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398157588","file1":"1398157510","file0":"1398157452","file4":"1398157696","file5":"1398157769","file3":"1398157634"},"map_files_photo_id_array":[{"photo_id":"1398157769","filename":"file5"},{"photo_id":"1398157588","filename":"file2"},{"photo_id":"1398157696","filename":"file4"},{"photo_id":"1398157510","filename":"file1"},{"photo_id":"1398157452","filename":"file0"},{"photo_id":"1398157634","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398157452":["hashtag1","hashtag2"]},{"1398157769":["hashtag1","hashtag2"]},{"1398157634":["hashtag1","hashtag2"]},{"1398157588":["hashtag1","hashtag2"]},{"1398157696":["hashtag1","hashtag2"]},{"1398157510":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398157452, 1398157769, 1398157634, 1398157588, 1398157696, 1398157510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88604474067688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:39:02.809277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/35/image_05122025_22_36_04_9783.jpg', '/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_25_10641.jpg', '/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_44_9611.jpg', '/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_54_9840.jpg', '/home/pi/Desktop/images/05122025/22/36/image_05122025_22_37_04_9957.jpg', '/home/pi/Desktop/images/05122025/22/38/image_05122025_22_38_14_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/35/image_05122025_22_36_04_9783.jpg
/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_25_10641.jpg
/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_44_9611.jpg
/home/pi/Desktop/images/05122025/22/36/image_05122025_22_36_54_9840.jpg
/home/pi/Desktop/images/05122025/22/36/image_05122025_22_37_04_9957.jpg
/home/pi/Desktop/images/05122025/22/38/image_05122025_22_38_14_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398158381","1398158075","1398158117","1398158167","1398158308","1398158238"],"photo_ids_order":["1398158075","1398158117","1398158167","1398158238","1398158308","1398158381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3510a81b31eb12e2a49082856888f4c0.jpg","text":"TemporaryFile(/tmp/multipartBody8511892766896485414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970803703,"filename":"image_05122025_22_38_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/5/549ccae5a030ed6fa83aaa1af6d4d060.jpg","text":"TemporaryFile(/tmp/multipartBody4414439832329860213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970803703,"filename":"image_05122025_22_36_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/5/3d3f2b7befa2aa842362287188e3429f.jpg","text":"TemporaryFile(/tmp/multipartBody7954065815114470166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970803703,"filename":"image_05122025_22_36_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/5/da96bce061d02ff75f2bb434ca59a7db.jpg","text":"TemporaryFile(/tmp/multipartBody7409146300213981586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970803703,"filename":"image_05122025_22_36_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/5/0c0561c2fe6a050368459b0e4517e0c4.jpg","text":"TemporaryFile(/tmp/multipartBody5537082656576531741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970803703,"filename":"image_05122025_22_37_04_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ebbff9826a9c2a9d2ecd18d3e766ef29.jpg","text":"TemporaryFile(/tmp/multipartBody224622740200747516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970803703,"filename":"image_05122025_22_36_54_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398158167","file1":"1398158117","file0":"1398158075","file4":"1398158308","file5":"1398158381","file3":"1398158238"},"map_files_photo_id_array":[{"photo_id":"1398158381","filename":"file5"},{"photo_id":"1398158167","filename":"file2"},{"photo_id":"1398158308","filename":"file4"},{"photo_id":"1398158117","filename":"file1"},{"photo_id":"1398158075","filename":"file0"},{"photo_id":"1398158238","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398158381":["hashtag1","hashtag2"]},{"1398158075":["hashtag1","hashtag2"]},{"1398158117":["hashtag1","hashtag2"]},{"1398158167":["hashtag1","hashtag2"]},{"1398158308":["hashtag1","hashtag2"]},{"1398158238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398158381, 1398158075, 1398158117, 1398158167, 1398158308, 1398158238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09545087814331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:39:42.033598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_19_2511.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_23_3651.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_25_2539.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_31_2629.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_34_2722.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_37_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_19_2511.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_23_3651.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_25_2539.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_31_2629.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_34_2722.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_37_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":["1398158576","1398158762","1398158624","1398158726","1398158539","1398158685"],"photo_ids_order":["1398158539","1398158576","1398158624","1398158685","1398158726","1398158762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/190e00640029512b9bc4131c0e034de5.jpg","text":"TemporaryFile(/tmp/multipartBody1402114685454385255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970843605,"filename":"image_31102025_21_02_23_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/5/84bb73cd9bd3baa14dbd8ad06fe73b50.jpg","text":"TemporaryFile(/tmp/multipartBody8013913170421500692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970843605,"filename":"image_31102025_21_02_37_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/5/f89f3485aee81ac903cae788468d61e2.jpg","text":"TemporaryFile(/tmp/multipartBody7349215118629348190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970843605,"filename":"image_31102025_21_02_25_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/5/7ed20e077098456e32bec9ad98b1b876.jpg","text":"TemporaryFile(/tmp/multipartBody8322439287952026769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970843605,"filename":"image_31102025_21_02_34_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d5ab489e700ff7d13e0edbec91783ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8470670643745440730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970843605,"filename":"image_31102025_21_02_19_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee44b728e83c0cfaf878b6558194c107.jpg","text":"TemporaryFile(/tmp/multipartBody6843544840247429716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970843605,"filename":"image_31102025_21_02_31_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398158624","file1":"1398158576","file0":"1398158539","file4":"1398158726","file5":"1398158762","file3":"1398158685"},"map_files_photo_id_array":[{"photo_id":"1398158762","filename":"file5"},{"photo_id":"1398158624","filename":"file2"},{"photo_id":"1398158726","filename":"file4"},{"photo_id":"1398158576","filename":"file1"},{"photo_id":"1398158539","filename":"file0"},{"photo_id":"1398158685","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398158576":["hashtag1","hashtag2"]},{"1398158762":["hashtag1","hashtag2"]},{"1398158624":["hashtag1","hashtag2"]},{"1398158726":["hashtag1","hashtag2"]},{"1398158539":["hashtag1","hashtag2"]},{"1398158685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398158576, 1398158762, 1398158624, 1398158726, 1398158539, 1398158685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.642333030700684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:40:22.243826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/38/image_05122025_22_38_35_9830.jpg', '/home/pi/Desktop/images/05122025/22/38/image_05122025_22_38_44_9769.jpg', '/home/pi/Desktop/images/05122025/22/38/image_05122025_22_39_05_10675.jpg', '/home/pi/Desktop/images/05122025/22/39/image_05122025_22_39_24_9953.jpg', '/home/pi/Desktop/images/05122025/22/39/image_05122025_22_39_35_10602.jpg', '/home/pi/Desktop/images/05122025/22/39/image_05122025_22_39_44_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/38/image_05122025_22_38_35_9830.jpg
/home/pi/Desktop/images/05122025/22/38/image_05122025_22_38_44_9769.jpg
/home/pi/Desktop/images/05122025/22/38/image_05122025_22_39_05_10675.jpg
/home/pi/Desktop/images/05122025/22/39/image_05122025_22_39_24_9953.jpg
/home/pi/Desktop/images/05122025/22/39/image_05122025_22_39_35_10602.jpg
/home/pi/Desktop/images/05122025/22/39/image_05122025_22_39_44_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398159311","1398159088","1398158924","1398158995","1398159151","1398159051"],"photo_ids_order":["1398158924","1398158995","1398159051","1398159088","1398159151","1398159311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e021c18b3aac56993a50a12b6f11e923.jpg","text":"TemporaryFile(/tmp/multipartBody1349529016704667405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970882962,"filename":"image_05122025_22_39_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/5/d52d4c752125d13dc404dcf130c03124.jpg","text":"TemporaryFile(/tmp/multipartBody8909912782963605687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970882962,"filename":"image_05122025_22_39_24_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/421136049b50f71e3731bd032d62b7fd.jpg","text":"TemporaryFile(/tmp/multipartBody378399923222843142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970882962,"filename":"image_05122025_22_38_35_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5a6fb0e7fb9ee62a0d0931b94e299bf4.jpg","text":"TemporaryFile(/tmp/multipartBody2618980388027102964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970882962,"filename":"image_05122025_22_38_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/5/a917fd8107c9a1671a896bc491d44239.jpg","text":"TemporaryFile(/tmp/multipartBody2074918211972035220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970882962,"filename":"image_05122025_22_39_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/5/f76a10ae695714b0d2d02cb9843ab918.jpg","text":"TemporaryFile(/tmp/multipartBody6360571996576925143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970882962,"filename":"image_05122025_22_39_05_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398159051","file1":"1398158995","file0":"1398158924","file4":"1398159151","file5":"1398159311","file3":"1398159088"},"map_files_photo_id_array":[{"photo_id":"1398159311","filename":"file5"},{"photo_id":"1398159051","filename":"file2"},{"photo_id":"1398159151","filename":"file4"},{"photo_id":"1398158995","filename":"file1"},{"photo_id":"1398158924","filename":"file0"},{"photo_id":"1398159088","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398159311":["hashtag1","hashtag2"]},{"1398159088":["hashtag1","hashtag2"]},{"1398158924":["hashtag1","hashtag2"]},{"1398158995":["hashtag1","hashtag2"]},{"1398159151":["hashtag1","hashtag2"]},{"1398159051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398159311, 1398159088, 1398158924, 1398158995, 1398159151, 1398159051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20317029953003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:41:03.032993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/39/image_05122025_22_39_54_9561.jpg', '/home/pi/Desktop/images/05122025/22/40/image_05122025_22_40_14_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/39/image_05122025_22_39_54_9561.jpg
/home/pi/Desktop/images/05122025/22/40/image_05122025_22_40_14_10057.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398159836","1398159985"],"photo_ids_order":["1398159836","1398159985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/679835f30bd3a15207dd8a0e7c5229ea.jpg","text":"TemporaryFile(/tmp/multipartBody4733127926732806272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970923632,"filename":"image_05122025_22_39_54_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c1917f527bfb63dc7c140e1f966eab4.jpg","text":"TemporaryFile(/tmp/multipartBody2163635662714048743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970923632,"filename":"image_05122025_22_40_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398159985","file0":"1398159836"},"map_files_photo_id_array":[{"photo_id":"1398159985","filename":"file1"},{"photo_id":"1398159836","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398159836":["hashtag1","hashtag2"]},{"1398159985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398159836, 1398159985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.743455410003662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:41:32.398387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/43/image_03122025_05_43_54_9658.jpg', '/home/pi/Desktop/images/03122025/05/44/image_03122025_05_44_34_9699.jpg', '/home/pi/Desktop/images/03122025/05/44/image_03122025_05_44_44_9786.jpg', '/home/pi/Desktop/images/03122025/05/45/image_03122025_05_45_34_10710.jpg', '/home/pi/Desktop/images/03122025/05/45/image_03122025_05_45_44_9775.jpg', '/home/pi/Desktop/images/03122025/05/45/image_03122025_05_45_54_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/43/image_03122025_05_43_54_9658.jpg
/home/pi/Desktop/images/03122025/05/44/image_03122025_05_44_34_9699.jpg
/home/pi/Desktop/images/03122025/05/44/image_03122025_05_44_44_9786.jpg
/home/pi/Desktop/images/03122025/05/45/image_03122025_05_45_34_10710.jpg
/home/pi/Desktop/images/03122025/05/45/image_03122025_05_45_44_9775.jpg
/home/pi/Desktop/images/03122025/05/45/image_03122025_05_45_54_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":["1398160610","1398160492","1398160648","1398160528","1398160572","1398160752"],"photo_ids_order":["1398160492","1398160528","1398160572","1398160610","1398160648","1398160752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/636481e9fa2ce8ecb6db930ae7f63ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2573535322645024758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970954707,"filename":"image_03122025_05_45_34_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/5/52bdd91bf43f27b626768737f320531d.jpg","text":"TemporaryFile(/tmp/multipartBody6618050008198402277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970954707,"filename":"image_03122025_05_43_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3d13ec1e1a6c47c1c779fa7b25a01ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7037723679927820316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970954707,"filename":"image_03122025_05_45_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/5/429c4cc811f4d4450cdcd9fcead3312f.jpg","text":"TemporaryFile(/tmp/multipartBody7682745658205672433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970954707,"filename":"image_03122025_05_44_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/5/61477d8a29fffb0aae19016f38beb023.jpg","text":"TemporaryFile(/tmp/multipartBody8470840162426324439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970954707,"filename":"image_03122025_05_44_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/5/2d255b8b0ff1efc158aaf46705949ff0.jpg","text":"TemporaryFile(/tmp/multipartBody7436230664304469077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970954707,"filename":"image_03122025_05_45_54_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398160572","file1":"1398160528","file0":"1398160492","file4":"1398160648","file5":"1398160752","file3":"1398160610"},"map_files_photo_id_array":[{"photo_id":"1398160752","filename":"file5"},{"photo_id":"1398160572","filename":"file2"},{"photo_id":"1398160648","filename":"file4"},{"photo_id":"1398160528","filename":"file1"},{"photo_id":"1398160492","filename":"file0"},{"photo_id":"1398160610","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398160610":["hashtag1","hashtag2"]},{"1398160492":["hashtag1","hashtag2"]},{"1398160648":["hashtag1","hashtag2"]},{"1398160528":["hashtag1","hashtag2"]},{"1398160572":["hashtag1","hashtag2"]},{"1398160752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398160610, 1398160492, 1398160648, 1398160528, 1398160572, 1398160752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59347581863403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:42:12.635669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/45/image_03122025_05_46_05_10731.jpg', '/home/pi/Desktop/images/03122025/05/46/image_03122025_05_46_24_9780.jpg', '/home/pi/Desktop/images/03122025/05/46/image_03122025_05_46_34_9772.jpg', '/home/pi/Desktop/images/03122025/05/47/image_03122025_05_47_24_9703.jpg', '/home/pi/Desktop/images/03122025/05/47/image_03122025_05_47_35_10915.jpg', '/home/pi/Desktop/images/03122025/05/47/image_03122025_05_47_44_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/45/image_03122025_05_46_05_10731.jpg
/home/pi/Desktop/images/03122025/05/46/image_03122025_05_46_24_9780.jpg
/home/pi/Desktop/images/03122025/05/46/image_03122025_05_46_34_9772.jpg
/home/pi/Desktop/images/03122025/05/47/image_03122025_05_47_24_9703.jpg
/home/pi/Desktop/images/03122025/05/47/image_03122025_05_47_35_10915.jpg
/home/pi/Desktop/images/03122025/05/47/image_03122025_05_47_44_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":["1398161539","1398161454","1398161178","1398161223","1398161304","1398161378"],"photo_ids_order":["1398161178","1398161223","1398161304","1398161378","1398161454","1398161539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f94c6247fca901bdf94eec3e42811c2d.jpg","text":"TemporaryFile(/tmp/multipartBody5598060842010522981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970994805,"filename":"image_03122025_05_47_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/5/46184cabc234dc5a47865d3a6c4bc09e.jpg","text":"TemporaryFile(/tmp/multipartBody8505408664578979859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970994805,"filename":"image_03122025_05_47_35_10915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6234cde38e2f2a0b206f159f58ecf40e.jpg","text":"TemporaryFile(/tmp/multipartBody8721141578120323750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970994805,"filename":"image_03122025_05_46_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/5/485f314aab72f6e75c86a2875556dfd4.jpg","text":"TemporaryFile(/tmp/multipartBody3070661123414414155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970994805,"filename":"image_03122025_05_46_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/5/c7b2da997f25fd451cf9b4d11f812176.jpg","text":"TemporaryFile(/tmp/multipartBody5445757788754788543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970994805,"filename":"image_03122025_05_46_34_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c2836e1870730de0d573c53cbdf9c8a.jpg","text":"TemporaryFile(/tmp/multipartBody8920574418494628046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764970994805,"filename":"image_03122025_05_47_24_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398161304","file1":"1398161223","file0":"1398161178","file4":"1398161454","file5":"1398161539","file3":"1398161378"},"map_files_photo_id_array":[{"photo_id":"1398161539","filename":"file5"},{"photo_id":"1398161304","filename":"file2"},{"photo_id":"1398161454","filename":"file4"},{"photo_id":"1398161223","filename":"file1"},{"photo_id":"1398161178","filename":"file0"},{"photo_id":"1398161378","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398161539":["hashtag1","hashtag2"]},{"1398161454":["hashtag1","hashtag2"]},{"1398161178":["hashtag1","hashtag2"]},{"1398161223":["hashtag1","hashtag2"]},{"1398161304":["hashtag1","hashtag2"]},{"1398161378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398161539, 1398161454, 1398161178, 1398161223, 1398161304, 1398161378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.476723432540894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:43:02.464697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/40/image_05122025_22_40_25_10858.jpg', '/home/pi/Desktop/images/05122025/22/41/image_05122025_22_41_15_9691.jpg', '/home/pi/Desktop/images/05122025/22/41/image_05122025_22_41_34_9695.jpg', '/home/pi/Desktop/images/05122025/22/41/image_05122025_22_42_04_9620.jpg', '/home/pi/Desktop/images/05122025/22/42/image_05122025_22_42_14_9709.jpg', '/home/pi/Desktop/images/05122025/22/42/image_05122025_22_42_25_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/40/image_05122025_22_40_25_10858.jpg
/home/pi/Desktop/images/05122025/22/41/image_05122025_22_41_15_9691.jpg
/home/pi/Desktop/images/05122025/22/41/image_05122025_22_41_34_9695.jpg
/home/pi/Desktop/images/05122025/22/41/image_05122025_22_42_04_9620.jpg
/home/pi/Desktop/images/05122025/22/42/image_05122025_22_42_14_9709.jpg
/home/pi/Desktop/images/05122025/22/42/image_05122025_22_42_25_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398162367","1398162745","1398162538","1398162651","1398162596","1398162443"],"photo_ids_order":["1398162367","1398162443","1398162538","1398162596","1398162651","1398162745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c67f3c2165e2ae2a31b82b6200b0d185.jpg","text":"TemporaryFile(/tmp/multipartBody9110560656639400745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971043264,"filename":"image_05122025_22_40_25_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/5/3dd7a9f8be279f448fba9ca96d4fec4c.jpg","text":"TemporaryFile(/tmp/multipartBody2830689660286712936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971043264,"filename":"image_05122025_22_42_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ff4f628c7d7f2cf79a51d82c66cc122.jpg","text":"TemporaryFile(/tmp/multipartBody6424139325487224493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971043264,"filename":"image_05122025_22_41_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/5/e7235730a0d734cf7f47e7dc8914e42f.jpg","text":"TemporaryFile(/tmp/multipartBody7030219760840352026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971043264,"filename":"image_05122025_22_42_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/5/7f476e3f9ff3bf819d9f532ff70eb28b.jpg","text":"TemporaryFile(/tmp/multipartBody6061414027072354797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971043264,"filename":"image_05122025_22_42_04_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/5/d6c29e319e5ea66fbe2b9d0e933ca752.jpg","text":"TemporaryFile(/tmp/multipartBody3365047656469570273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971043264,"filename":"image_05122025_22_41_15_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398162538","file1":"1398162443","file0":"1398162367","file4":"1398162651","file5":"1398162745","file3":"1398162596"},"map_files_photo_id_array":[{"photo_id":"1398162745","filename":"file5"},{"photo_id":"1398162538","filename":"file2"},{"photo_id":"1398162651","filename":"file4"},{"photo_id":"1398162443","filename":"file1"},{"photo_id":"1398162367","filename":"file0"},{"photo_id":"1398162596","filename":"file3"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398162367":["hashtag1","hashtag2"]},{"1398162745":["hashtag1","hashtag2"]},{"1398162538":["hashtag1","hashtag2"]},{"1398162651":["hashtag1","hashtag2"]},{"1398162596":["hashtag1","hashtag2"]},{"1398162443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398162367, 1398162745, 1398162538, 1398162651, 1398162596, 1398162443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.376110553741455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:43:41.960410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_43_2547.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_47_3609.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_49_2578.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_52_2802.jpg', '/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_56_3528.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_02_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_43_2547.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_47_3609.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_49_2578.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_52_2802.jpg
/home/pi/Desktop/images/31102025/21/02/image_31102025_21_02_56_3528.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_02_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":["1398162955","1398162904","1398163070","1398163106","1398163028","1398162991"],"photo_ids_order":["1398162904","1398162955","1398162991","1398163028","1398163070","1398163106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3cce3f926d4b287da5f94de90903dc47.jpg","text":"TemporaryFile(/tmp/multipartBody6872217087965829706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971083549,"filename":"image_31102025_21_02_47_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/5/196f451fd1c2a1ae17d0e51eda7f30d5.jpg","text":"TemporaryFile(/tmp/multipartBody5685623972298652164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971083549,"filename":"image_31102025_21_02_43_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/5/35d08a103741879b2be21469764db2e1.jpg","text":"TemporaryFile(/tmp/multipartBody6662311601828499850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971083549,"filename":"image_31102025_21_02_56_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d903b2d860fbaaaa730eeb86b3c740eb.jpg","text":"TemporaryFile(/tmp/multipartBody7355830856497152709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971083549,"filename":"image_31102025_21_03_02_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/5/5628e10595852ae227d1a29b01f421eb.jpg","text":"TemporaryFile(/tmp/multipartBody298749120715443043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971083549,"filename":"image_31102025_21_02_52_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/5/65ba49262be2102418e887eb06cc2b6e.jpg","text":"TemporaryFile(/tmp/multipartBody4249999412399399819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971083549,"filename":"image_31102025_21_02_49_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398162991","file1":"1398162955","file0":"1398162904","file4":"1398163070","file5":"1398163106","file3":"1398163028"},"map_files_photo_id_array":[{"photo_id":"1398163106","filename":"file5"},{"photo_id":"1398162991","filename":"file2"},{"photo_id":"1398163070","filename":"file4"},{"photo_id":"1398162955","filename":"file1"},{"photo_id":"1398162904","filename":"file0"},{"photo_id":"1398163028","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398162955":["hashtag1","hashtag2"]},{"1398162904":["hashtag1","hashtag2"]},{"1398163070":["hashtag1","hashtag2"]},{"1398163106":["hashtag1","hashtag2"]},{"1398163028":["hashtag1","hashtag2"]},{"1398162991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398162955, 1398162904, 1398163070, 1398163106, 1398163028, 1398162991)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.777806520462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:44:32.232101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/47/image_03122025_05_48_04_9763.jpg', '/home/pi/Desktop/images/03122025/05/48/image_03122025_05_48_14_10744.jpg', '/home/pi/Desktop/images/03122025/05/48/image_03122025_05_48_34_9821.jpg', '/home/pi/Desktop/images/03122025/05/48/image_03122025_05_48_45_10672.jpg', '/home/pi/Desktop/images/03122025/05/48/image_03122025_05_48_54_9750.jpg', '/home/pi/Desktop/images/03122025/05/49/image_03122025_05_49_14_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/47/image_03122025_05_48_04_9763.jpg
/home/pi/Desktop/images/03122025/05/48/image_03122025_05_48_14_10744.jpg
/home/pi/Desktop/images/03122025/05/48/image_03122025_05_48_34_9821.jpg
/home/pi/Desktop/images/03122025/05/48/image_03122025_05_48_45_10672.jpg
/home/pi/Desktop/images/03122025/05/48/image_03122025_05_48_54_9750.jpg
/home/pi/Desktop/images/03122025/05/49/image_03122025_05_49_14_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":["1398163429","1398163391","1398163466","1398163502","1398163313","1398163351"],"photo_ids_order":["1398163313","1398163351","1398163391","1398163429","1398163466","1398163502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3eb6561ad8b37b4067bf928f95842e56.jpg","text":"TemporaryFile(/tmp/multipartBody4248531586501861097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971134524,"filename":"image_03122025_05_48_45_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c02bb9d33da5e715df6175a0a85d45a4.jpg","text":"TemporaryFile(/tmp/multipartBody2112600485179732479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971134524,"filename":"image_03122025_05_48_34_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/29f7d490f2f291bc7f02f8bd54938b8b.jpg","text":"TemporaryFile(/tmp/multipartBody4772559708057488877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971134524,"filename":"image_03122025_05_48_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4e95b0c33faccb3246a0878808a709f2.jpg","text":"TemporaryFile(/tmp/multipartBody3002919780479459717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971134524,"filename":"image_03122025_05_49_14_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e8a4a7701e673d0cdcbf10411123a316.jpg","text":"TemporaryFile(/tmp/multipartBody8174996449156672192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971134524,"filename":"image_03122025_05_48_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/5/0ca5114eb5500e1125c96541f3d6fdc8.jpg","text":"TemporaryFile(/tmp/multipartBody6553716463307927268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971134524,"filename":"image_03122025_05_48_14_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398163391","file1":"1398163351","file0":"1398163313","file4":"1398163466","file5":"1398163502","file3":"1398163429"},"map_files_photo_id_array":[{"photo_id":"1398163502","filename":"file5"},{"photo_id":"1398163391","filename":"file2"},{"photo_id":"1398163466","filename":"file4"},{"photo_id":"1398163351","filename":"file1"},{"photo_id":"1398163313","filename":"file0"},{"photo_id":"1398163429","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398163429":["hashtag1","hashtag2"]},{"1398163391":["hashtag1","hashtag2"]},{"1398163466":["hashtag1","hashtag2"]},{"1398163502":["hashtag1","hashtag2"]},{"1398163313":["hashtag1","hashtag2"]},{"1398163351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398163429, 1398163391, 1398163466, 1398163502, 1398163313, 1398163351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51290035247803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:45:12.318925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/50/image_03122025_05_50_14_9631.jpg', '/home/pi/Desktop/images/03122025/05/50/image_03122025_05_50_24_9835.jpg', '/home/pi/Desktop/images/03122025/05/50/image_03122025_05_50_34_10686.jpg', '/home/pi/Desktop/images/03122025/05/53/image_03122025_05_53_24_9673.jpg', '/home/pi/Desktop/images/03122025/05/53/image_03122025_05_53_44_9714.jpg', '/home/pi/Desktop/images/03122025/05/53/image_03122025_05_53_54_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/50/image_03122025_05_50_14_9631.jpg
/home/pi/Desktop/images/03122025/05/50/image_03122025_05_50_24_9835.jpg
/home/pi/Desktop/images/03122025/05/50/image_03122025_05_50_34_10686.jpg
/home/pi/Desktop/images/03122025/05/53/image_03122025_05_53_24_9673.jpg
/home/pi/Desktop/images/03122025/05/53/image_03122025_05_53_44_9714.jpg
/home/pi/Desktop/images/03122025/05/53/image_03122025_05_53_54_9568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398163813","1398163851","1398163926","1398163734","1398163775","1398163888"],"photo_ids_order":["1398163734","1398163775","1398163813","1398163851","1398163888","1398163926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/26d234cd82928fe1e6514b3d36af399c.jpg","text":"TemporaryFile(/tmp/multipartBody2718456826229006014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971175239,"filename":"image_03122025_05_50_34_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/5/6b645c4844e2e54686610edc2f1e116f.jpg","text":"TemporaryFile(/tmp/multipartBody4246893897776009981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971175239,"filename":"image_03122025_05_53_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/25020dff9583ee6fe59576514672fcd4.jpg","text":"TemporaryFile(/tmp/multipartBody8865739565991364164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971175239,"filename":"image_03122025_05_53_54_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/5/54a483cd570ae6fa3ce8f5dcf1b93b87.jpg","text":"TemporaryFile(/tmp/multipartBody6085919001313930987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971175239,"filename":"image_03122025_05_50_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/5/d09277c342b564bea84979813c9ef985.jpg","text":"TemporaryFile(/tmp/multipartBody1942126915676040071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971175239,"filename":"image_03122025_05_50_24_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/5/5aa5f8e83859af113c75d4101dc7fe1f.jpg","text":"TemporaryFile(/tmp/multipartBody5090650344421078208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971175239,"filename":"image_03122025_05_53_44_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398163813","file1":"1398163775","file0":"1398163734","file4":"1398163888","file5":"1398163926","file3":"1398163851"},"map_files_photo_id_array":[{"photo_id":"1398163926","filename":"file5"},{"photo_id":"1398163813","filename":"file2"},{"photo_id":"1398163888","filename":"file4"},{"photo_id":"1398163775","filename":"file1"},{"photo_id":"1398163734","filename":"file0"},{"photo_id":"1398163851","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398163813":["hashtag1","hashtag2"]},{"1398163851":["hashtag1","hashtag2"]},{"1398163926":["hashtag1","hashtag2"]},{"1398163734":["hashtag1","hashtag2"]},{"1398163775":["hashtag1","hashtag2"]},{"1398163888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398163813, 1398163851, 1398163926, 1398163734, 1398163775, 1398163888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08779525756836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:46:03.137203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/42/image_05122025_22_42_34_9628.jpg', '/home/pi/Desktop/images/05122025/22/42/image_05122025_22_42_45_10652.jpg', '/home/pi/Desktop/images/05122025/22/44/image_05122025_22_44_24_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/42/image_05122025_22_42_34_9628.jpg
/home/pi/Desktop/images/05122025/22/42/image_05122025_22_42_45_10652.jpg
/home/pi/Desktop/images/05122025/22/44/image_05122025_22_44_24_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398164100","1398164141","1398164091"],"photo_ids_order":["1398164091","1398164100","1398164141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/207c5a9b81f9e1aa73c3e2be526867c1.jpg","text":"TemporaryFile(/tmp/multipartBody2779480328793559005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971223714,"filename":"image_05122025_22_42_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/5/da7b09606edf25b0e64d0455ddf15af9.jpg","text":"TemporaryFile(/tmp/multipartBody6837878767723557490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971223714,"filename":"image_05122025_22_44_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/5/5f7ceb54b228198df2ff7c460f10bf6a.jpg","text":"TemporaryFile(/tmp/multipartBody1519900275719257879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971223714,"filename":"image_05122025_22_42_34_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398164141","file1":"1398164100","file0":"1398164091"},"map_files_photo_id_array":[{"photo_id":"1398164141","filename":"file2"},{"photo_id":"1398164100","filename":"file1"},{"photo_id":"1398164091","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398164100":["hashtag1","hashtag2"]},{"1398164141":["hashtag1","hashtag2"]},{"1398164091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398164100, 1398164141, 1398164091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.430696964263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:46:32.615157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/54/image_03122025_05_54_34_9873.jpg', '/home/pi/Desktop/images/03122025/05/54/image_03122025_05_54_44_9675.jpg', '/home/pi/Desktop/images/03122025/05/54/image_03122025_05_55_04_9678.jpg', '/home/pi/Desktop/images/03122025/05/55/image_03122025_05_55_44_9903.jpg', '/home/pi/Desktop/images/03122025/05/56/image_03122025_05_56_34_9985.jpg', '/home/pi/Desktop/images/03122025/05/57/image_03122025_05_57_55_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/54/image_03122025_05_54_34_9873.jpg
/home/pi/Desktop/images/03122025/05/54/image_03122025_05_54_44_9675.jpg
/home/pi/Desktop/images/03122025/05/54/image_03122025_05_55_04_9678.jpg
/home/pi/Desktop/images/03122025/05/55/image_03122025_05_55_44_9903.jpg
/home/pi/Desktop/images/03122025/05/56/image_03122025_05_56_34_9985.jpg
/home/pi/Desktop/images/03122025/05/57/image_03122025_05_57_55_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398164538","1398164360","1398164513","1398164501","1398164446","1398164512"],"photo_ids_order":["1398164360","1398164446","1398164501","1398164512","1398164513","1398164538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2a444c1ac556ece0dc6d625295b6b38.jpg","text":"TemporaryFile(/tmp/multipartBody6600600931659911464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971254963,"filename":"image_03122025_05_57_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/5/c1ae04958fe89412b2abc92669bccc82.jpg","text":"TemporaryFile(/tmp/multipartBody8537747870004510596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971254963,"filename":"image_03122025_05_54_34_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/5/deaad796968612d39995a032f77ae04e.jpg","text":"TemporaryFile(/tmp/multipartBody1138530959090700675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971254963,"filename":"image_03122025_05_56_34_9985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/28334fe0bf92226eec1c7fb251e77835.jpg","text":"TemporaryFile(/tmp/multipartBody7148606540339654229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971254963,"filename":"image_03122025_05_55_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/5/1c39c60d8fc559d91ed2cb0ce95d27ee.jpg","text":"TemporaryFile(/tmp/multipartBody846435632778213086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971254963,"filename":"image_03122025_05_54_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/5/240d38e7c5c9e5d90a74efd265e3d7c3.jpg","text":"TemporaryFile(/tmp/multipartBody1517870938296333980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971254963,"filename":"image_03122025_05_55_44_9903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398164501","file1":"1398164446","file0":"1398164360","file4":"1398164513","file5":"1398164538","file3":"1398164512"},"map_files_photo_id_array":[{"photo_id":"1398164538","filename":"file5"},{"photo_id":"1398164501","filename":"file2"},{"photo_id":"1398164513","filename":"file4"},{"photo_id":"1398164446","filename":"file1"},{"photo_id":"1398164360","filename":"file0"},{"photo_id":"1398164512","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398164538":["hashtag1","hashtag2"]},{"1398164360":["hashtag1","hashtag2"]},{"1398164513":["hashtag1","hashtag2"]},{"1398164501":["hashtag1","hashtag2"]},{"1398164446":["hashtag1","hashtag2"]},{"1398164512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398164538, 1398164360, 1398164513, 1398164501, 1398164446, 1398164512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.61050081253052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:47:22.871012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/45/image_05122025_22_45_24_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/45/image_05122025_22_45_24_10704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398164621"],"photo_id":"1398164621","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8221b284c2a7df9fe3bccbedc34aeeb7.jpg","text":"TemporaryFile(/tmp/multipartBody7337840751937775639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971303376,"filename":"image_05122025_22_45_24_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398164621"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398164621"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.405208110809326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:47:42.828650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_04_2564.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_07_2671.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_13_2529.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_16_2670.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_19_3511.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_22_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_04_2564.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_07_2671.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_13_2529.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_16_2670.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_19_3511.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_22_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398165050","1398165167","1398164962","1398164887","1398165282","1398164803"],"photo_ids_order":["1398164803","1398164887","1398164962","1398165050","1398165167","1398165282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/082e3551866887d1b8a54095db9b0cba.jpg","text":"TemporaryFile(/tmp/multipartBody1914967475067135580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971324423,"filename":"image_31102025_21_03_16_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/5/101d98738b1921c206cab1442fbfb255.jpg","text":"TemporaryFile(/tmp/multipartBody1940736569936782662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971324423,"filename":"image_31102025_21_03_19_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4259f04857a721d3a2da0bff7f9f4cfe.jpg","text":"TemporaryFile(/tmp/multipartBody345940225803261449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971324423,"filename":"image_31102025_21_03_13_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c45074335d14f6543a9ffe0e3a769dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4662961328825601148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971324423,"filename":"image_31102025_21_03_07_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/5/36993108d15b749eba68a36c2bfb8189.jpg","text":"TemporaryFile(/tmp/multipartBody5625845048455714206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971324423,"filename":"image_31102025_21_03_22_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/5/633050553ea6ff7f5dfd9ce6742c394a.jpg","text":"TemporaryFile(/tmp/multipartBody5946508257520599036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971324423,"filename":"image_31102025_21_03_04_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398164962","file1":"1398164887","file0":"1398164803","file4":"1398165167","file5":"1398165282","file3":"1398165050"},"map_files_photo_id_array":[{"photo_id":"1398165282","filename":"file5"},{"photo_id":"1398164962","filename":"file2"},{"photo_id":"1398165167","filename":"file4"},{"photo_id":"1398164887","filename":"file1"},{"photo_id":"1398164803","filename":"file0"},{"photo_id":"1398165050","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398165050":["hashtag1","hashtag2"]},{"1398165167":["hashtag1","hashtag2"]},{"1398164962":["hashtag1","hashtag2"]},{"1398164887":["hashtag1","hashtag2"]},{"1398165282":["hashtag1","hashtag2"]},{"1398164803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398165050, 1398165167, 1398164962, 1398164887, 1398165282, 1398164803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.864758253097534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:48:32.001336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/58/image_03122025_05_58_14_9593.jpg', '/home/pi/Desktop/images/03122025/05/58/image_03122025_05_58_24_10600.jpg', '/home/pi/Desktop/images/03122025/05/58/image_03122025_05_58_44_9955.jpg', '/home/pi/Desktop/images/03122025/05/58/image_03122025_05_58_55_10627.jpg', '/home/pi/Desktop/images/03122025/05/58/image_03122025_05_59_04_9800.jpg', '/home/pi/Desktop/images/03122025/05/59/image_03122025_05_59_14_9951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/58/image_03122025_05_58_14_9593.jpg
/home/pi/Desktop/images/03122025/05/58/image_03122025_05_58_24_10600.jpg
/home/pi/Desktop/images/03122025/05/58/image_03122025_05_58_44_9955.jpg
/home/pi/Desktop/images/03122025/05/58/image_03122025_05_58_55_10627.jpg
/home/pi/Desktop/images/03122025/05/58/image_03122025_05_59_04_9800.jpg
/home/pi/Desktop/images/03122025/05/59/image_03122025_05_59_14_9951.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398165851","1398165767","1398166162","1398166080","1398166000","1398165925"],"photo_ids_order":["1398165767","1398165851","1398165925","1398166000","1398166080","1398166162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a38594d310ef4aac4f88399d27667c63.jpg","text":"TemporaryFile(/tmp/multipartBody253373851147568283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971374721,"filename":"image_03122025_05_58_24_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/5/7fe59a71d9cab32e5500c95bf282bc50.jpg","text":"TemporaryFile(/tmp/multipartBody3030167316956831644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971374721,"filename":"image_03122025_05_58_14_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/5/e55a37c8cbfaf93e604568ab3a63cfa2.jpg","text":"TemporaryFile(/tmp/multipartBody5717180463555322508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971374721,"filename":"image_03122025_05_59_14_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/5/9abbb5e54ac75aefb6a7e950e2f1fb45.jpg","text":"TemporaryFile(/tmp/multipartBody3023430434633737600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971374721,"filename":"image_03122025_05_59_04_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/5/fbc724d184dae9106b257bdbba3a69dd.jpg","text":"TemporaryFile(/tmp/multipartBody7316900857009817820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971374721,"filename":"image_03122025_05_58_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/5/5afa30a12d2dc87812a2c43860b73125.jpg","text":"TemporaryFile(/tmp/multipartBody3354134686013604278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971374721,"filename":"image_03122025_05_58_44_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398165925","file1":"1398165851","file0":"1398165767","file4":"1398166080","file5":"1398166162","file3":"1398166000"},"map_files_photo_id_array":[{"photo_id":"1398166162","filename":"file5"},{"photo_id":"1398165925","filename":"file2"},{"photo_id":"1398166080","filename":"file4"},{"photo_id":"1398165851","filename":"file1"},{"photo_id":"1398165767","filename":"file0"},{"photo_id":"1398166000","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398165851":["hashtag1","hashtag2"]},{"1398165767":["hashtag1","hashtag2"]},{"1398166162":["hashtag1","hashtag2"]},{"1398166080":["hashtag1","hashtag2"]},{"1398166000":["hashtag1","hashtag2"]},{"1398165925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398165851, 1398165767, 1398166162, 1398166080, 1398166000, 1398165925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42049217224121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:49:22.142383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/46/image_05122025_22_46_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/46/image_05122025_22_46_14_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398166522"],"photo_id":"1398166522","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/69542176557b13b4c0027cd59ea35376.jpg","text":"TemporaryFile(/tmp/multipartBody4208597020050409701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971422677,"filename":"image_05122025_22_46_14_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398166522"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398166522"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.122631788253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:49:42.187436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_26_3563.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_28_2647.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_31_2580.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_35_3584.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_44_3582.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_50_3953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_26_3563.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_28_2647.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_31_2580.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_35_3584.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_44_3582.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_50_3953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398166707","1398166706","1398166709","1398166708","1398166710","1398166704"],"photo_ids_order":["1398166704","1398166706","1398166707","1398166708","1398166709","1398166710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/35e312d9b037357a77375f155594b107.jpg","text":"TemporaryFile(/tmp/multipartBody5620833259000210608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971444755,"filename":"image_31102025_21_03_31_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c02b8e18c49c890c4b03c407fabd336c.jpg","text":"TemporaryFile(/tmp/multipartBody6964205010279639760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971444755,"filename":"image_31102025_21_03_28_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/5/e9c8775b009ef0da853aac7571a98fd7.jpg","text":"TemporaryFile(/tmp/multipartBody405591839103087892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971444755,"filename":"image_31102025_21_03_44_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/5/8ca6eefaa44bddaedded346082dda5bc.jpg","text":"TemporaryFile(/tmp/multipartBody5320587510407777257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971444755,"filename":"image_31102025_21_03_35_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/5/5e7b3f35605b10f1f81d93cca1bca4f2.jpg","text":"TemporaryFile(/tmp/multipartBody3298346380772521088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971444755,"filename":"image_31102025_21_03_50_3953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9e721899426ec4f8b7d1d13940ab48f9.jpg","text":"TemporaryFile(/tmp/multipartBody3958666699272183094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971444755,"filename":"image_31102025_21_03_26_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398166707","file1":"1398166706","file0":"1398166704","file4":"1398166709","file5":"1398166710","file3":"1398166708"},"map_files_photo_id_array":[{"photo_id":"1398166710","filename":"file5"},{"photo_id":"1398166707","filename":"file2"},{"photo_id":"1398166709","filename":"file4"},{"photo_id":"1398166706","filename":"file1"},{"photo_id":"1398166704","filename":"file0"},{"photo_id":"1398166708","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398166707":["hashtag1","hashtag2"]},{"1398166706":["hashtag1","hashtag2"]},{"1398166709":["hashtag1","hashtag2"]},{"1398166708":["hashtag1","hashtag2"]},{"1398166710":["hashtag1","hashtag2"]},{"1398166704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398166707, 1398166706, 1398166709, 1398166708, 1398166710, 1398166704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44184446334839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 22:50:32.326722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/05/59/image_03122025_05_59_24_9707.jpg', '/home/pi/Desktop/images/03122025/05/59/image_03122025_05_59_44_10666.jpg', '/home/pi/Desktop/images/03122025/05/59/image_03122025_05_59_54_9716.jpg', '/home/pi/Desktop/images/03122025/06/00/image_03122025_06_00_15_10809.jpg', '/home/pi/Desktop/images/03122025/06/00/image_03122025_06_00_34_9666.jpg', '/home/pi/Desktop/images/03122025/06/00/image_03122025_06_00_44_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/05/59/image_03122025_05_59_24_9707.jpg
/home/pi/Desktop/images/03122025/05/59/image_03122025_05_59_44_10666.jpg
/home/pi/Desktop/images/03122025/05/59/image_03122025_05_59_54_9716.jpg
/home/pi/Desktop/images/03122025/06/00/image_03122025_06_00_15_10809.jpg
/home/pi/Desktop/images/03122025/06/00/image_03122025_06_00_34_9666.jpg
/home/pi/Desktop/images/03122025/06/00/image_03122025_06_00_44_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398166958","1398166954","1398166930","1398166956","1398166890","1398166851"],"photo_ids_order":["1398166851","1398166890","1398166930","1398166954","1398166956","1398166958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/341285954839e7126414359626f7b451.jpg","text":"TemporaryFile(/tmp/multipartBody4333344355500527660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971495121,"filename":"image_03122025_06_00_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/5/c746e2e866e8a6781491918077fb05f8.jpg","text":"TemporaryFile(/tmp/multipartBody3547635116899720121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971495121,"filename":"image_03122025_06_00_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/5/e6647ce5803276e90ad86428345e13ff.jpg","text":"TemporaryFile(/tmp/multipartBody5651858719177296029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971495121,"filename":"image_03122025_05_59_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/5/9bf3cc186cc857530702725c6a071a52.jpg","text":"TemporaryFile(/tmp/multipartBody4439917978202452398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971495121,"filename":"image_03122025_06_00_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/5/0f981401d8300621cf0ca0a728cf480a.jpg","text":"TemporaryFile(/tmp/multipartBody7132288298214681870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971495121,"filename":"image_03122025_05_59_44_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/5/12172e26807b6d19ba708c0509ec11dc.jpg","text":"TemporaryFile(/tmp/multipartBody1289098995898989049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971495121,"filename":"image_03122025_05_59_24_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398166930","file1":"1398166890","file0":"1398166851","file4":"1398166956","file5":"1398166958","file3":"1398166954"},"map_files_photo_id_array":[{"photo_id":"1398166958","filename":"file5"},{"photo_id":"1398166930","filename":"file2"},{"photo_id":"1398166956","filename":"file4"},{"photo_id":"1398166890","filename":"file1"},{"photo_id":"1398166851","filename":"file0"},{"photo_id":"1398166954","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398166958":["hashtag1","hashtag2"]},{"1398166954":["hashtag1","hashtag2"]},{"1398166930":["hashtag1","hashtag2"]},{"1398166956":["hashtag1","hashtag2"]},{"1398166890":["hashtag1","hashtag2"]},{"1398166851":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398166958, 1398166954, 1398166930, 1398166956, 1398166890, 1398166851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95789813995361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:51:22.612766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_52_1865.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_56_3528.jpg', '/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_58_2676.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_04_3655.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_11_3605.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_16_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_52_1865.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_56_3528.jpg
/home/pi/Desktop/images/31102025/21/03/image_31102025_21_03_58_2676.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_04_3655.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_11_3605.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_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":["1398167309","1398167191","1398167347","1398167134","1398167236","1398167271"],"photo_ids_order":["1398167134","1398167191","1398167236","1398167271","1398167309","1398167347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3ab0793870281382bc924646410075a3.jpg","text":"TemporaryFile(/tmp/multipartBody6436922672150694232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971544177,"filename":"image_31102025_21_04_11_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/5/6402f9957952ddd0221a08b21d7fb2b1.jpg","text":"TemporaryFile(/tmp/multipartBody8296524779000022100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971544177,"filename":"image_31102025_21_03_56_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1372cc10ea34ec2e6d9c3211971f3b65.jpg","text":"TemporaryFile(/tmp/multipartBody7405637326036107058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971544177,"filename":"image_31102025_21_04_16_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/5/74d186abee3e36d49c485ba1105ba6bf.jpg","text":"TemporaryFile(/tmp/multipartBody7917163011310108410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971544177,"filename":"image_31102025_21_03_52_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/5/50c7cc42f4da54a28af0ad1eb7ebf66f.jpg","text":"TemporaryFile(/tmp/multipartBody3457735412705557847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971544177,"filename":"image_31102025_21_03_58_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/5/e7526e7e3dc293a206bea3cc5c447ce6.jpg","text":"TemporaryFile(/tmp/multipartBody7697732324285797469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971544177,"filename":"image_31102025_21_04_04_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398167236","file1":"1398167191","file0":"1398167134","file4":"1398167309","file5":"1398167347","file3":"1398167271"},"map_files_photo_id_array":[{"photo_id":"1398167347","filename":"file5"},{"photo_id":"1398167236","filename":"file2"},{"photo_id":"1398167309","filename":"file4"},{"photo_id":"1398167191","filename":"file1"},{"photo_id":"1398167134","filename":"file0"},{"photo_id":"1398167271","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398167309":["hashtag1","hashtag2"]},{"1398167191":["hashtag1","hashtag2"]},{"1398167347":["hashtag1","hashtag2"]},{"1398167134":["hashtag1","hashtag2"]},{"1398167236":["hashtag1","hashtag2"]},{"1398167271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398167309, 1398167191, 1398167347, 1398167134, 1398167236, 1398167271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7580451965332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:52:03.220909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/00/image_03122025_06_01_04_9749.jpg', '/home/pi/Desktop/images/03122025/06/01/image_03122025_06_01_14_9940.jpg', '/home/pi/Desktop/images/03122025/06/01/image_03122025_06_01_24_9759.jpg', '/home/pi/Desktop/images/03122025/06/02/image_03122025_06_02_14_9752.jpg', '/home/pi/Desktop/images/03122025/06/02/image_03122025_06_02_34_10565.jpg', '/home/pi/Desktop/images/03122025/06/02/image_03122025_06_02_44_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/00/image_03122025_06_01_04_9749.jpg
/home/pi/Desktop/images/03122025/06/01/image_03122025_06_01_14_9940.jpg
/home/pi/Desktop/images/03122025/06/01/image_03122025_06_01_24_9759.jpg
/home/pi/Desktop/images/03122025/06/02/image_03122025_06_02_14_9752.jpg
/home/pi/Desktop/images/03122025/06/02/image_03122025_06_02_34_10565.jpg
/home/pi/Desktop/images/03122025/06/02/image_03122025_06_02_44_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398167569","1398167530","1398167571","1398167493","1398167567","1398167558"],"photo_ids_order":["1398167493","1398167530","1398167558","1398167567","1398167569","1398167571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/85ff2d5ac797e95260dcf143e641303b.jpg","text":"TemporaryFile(/tmp/multipartBody2273206192457105500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971584989,"filename":"image_03122025_06_02_34_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/28acaf228fef263a77f2c97065606266.jpg","text":"TemporaryFile(/tmp/multipartBody7211572819459221921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971584989,"filename":"image_03122025_06_01_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/5/5d0a810ed6172e205a15bbf4ad101db5.jpg","text":"TemporaryFile(/tmp/multipartBody4048383093931295079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971584989,"filename":"image_03122025_06_02_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/5/e5f2d6c241a53ff0d2aac943cff706e4.jpg","text":"TemporaryFile(/tmp/multipartBody1206141009509598740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971584989,"filename":"image_03122025_06_01_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/5/2af155a060a3f1b84a95ec4cf0a12c27.jpg","text":"TemporaryFile(/tmp/multipartBody527763532048999895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971584989,"filename":"image_03122025_06_02_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/5/f223e3f3d731c25fd7737f7c17b684d8.jpg","text":"TemporaryFile(/tmp/multipartBody6461073474144862576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971584989,"filename":"image_03122025_06_01_24_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398167558","file1":"1398167530","file0":"1398167493","file4":"1398167569","file5":"1398167571","file3":"1398167567"},"map_files_photo_id_array":[{"photo_id":"1398167571","filename":"file5"},{"photo_id":"1398167558","filename":"file2"},{"photo_id":"1398167569","filename":"file4"},{"photo_id":"1398167530","filename":"file1"},{"photo_id":"1398167493","filename":"file0"},{"photo_id":"1398167567","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398167569":["hashtag1","hashtag2"]},{"1398167530":["hashtag1","hashtag2"]},{"1398167571":["hashtag1","hashtag2"]},{"1398167493":["hashtag1","hashtag2"]},{"1398167567":["hashtag1","hashtag2"]},{"1398167558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398167569, 1398167530, 1398167571, 1398167493, 1398167567, 1398167558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72439169883728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:52:42.851125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_25_2605.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_29_3631.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_37_3599.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_40_2669.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_43_2658.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_47_3920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_25_2605.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_29_3631.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_37_3599.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_40_2669.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_43_2658.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_47_3920.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4936039447784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:53:02.652153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/49/image_05122025_22_49_14_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/49/image_05122025_22_49_14_9746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398167708"],"photo_id":"1398167708","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d19cd323c12941df4d74bfb935ec554a.jpg","text":"TemporaryFile(/tmp/multipartBody3902054612862999275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971643165,"filename":"image_05122025_22_49_14_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398167708"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398167708"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.532258987426758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:53:21.930921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_25_2605.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_29_3631.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_37_3599.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_40_2669.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_43_2658.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_47_3920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_25_2605.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_29_3631.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_37_3599.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_40_2669.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_43_2658.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_47_3920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398167738","1398167740","1398167734","1398167743","1398167737","1398167733"],"photo_ids_order":["1398167733","1398167734","1398167737","1398167738","1398167740","1398167743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a0055536d6d785447d4d478fe868d194.jpg","text":"TemporaryFile(/tmp/multipartBody7933173673927093500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971663408,"filename":"image_31102025_21_04_40_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/5/ebc6fddfcb5bd7ecbb272c74cda41b24.jpg","text":"TemporaryFile(/tmp/multipartBody3824969203106196773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971663408,"filename":"image_31102025_21_04_43_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/5/d3c5c10cfb6284d688e71ac9b4d2e4fd.jpg","text":"TemporaryFile(/tmp/multipartBody4100613583090206608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971663408,"filename":"image_31102025_21_04_29_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/5/854d60c49705c1ab089bfceb503af58b.jpg","text":"TemporaryFile(/tmp/multipartBody5448562795754550208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971663408,"filename":"image_31102025_21_04_47_3920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e4edfe4118669153c375572b6870151a.jpg","text":"TemporaryFile(/tmp/multipartBody667760412188582023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971663408,"filename":"image_31102025_21_04_37_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/5/2c3081ec9d9d0107c1e61771ac0f0c5e.jpg","text":"TemporaryFile(/tmp/multipartBody794582177243750608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971663408,"filename":"image_31102025_21_04_25_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398167737","file1":"1398167734","file0":"1398167733","file4":"1398167740","file5":"1398167743","file3":"1398167738"},"map_files_photo_id_array":[{"photo_id":"1398167743","filename":"file5"},{"photo_id":"1398167737","filename":"file2"},{"photo_id":"1398167740","filename":"file4"},{"photo_id":"1398167734","filename":"file1"},{"photo_id":"1398167733","filename":"file0"},{"photo_id":"1398167738","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398167738":["hashtag1","hashtag2"]},{"1398167740":["hashtag1","hashtag2"]},{"1398167734":["hashtag1","hashtag2"]},{"1398167743":["hashtag1","hashtag2"]},{"1398167737":["hashtag1","hashtag2"]},{"1398167733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398167738, 1398167740, 1398167734, 1398167743, 1398167737, 1398167733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69802260398865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:54:02.872100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/03/image_03122025_06_03_34_9784.jpg', '/home/pi/Desktop/images/03122025/06/03/image_03122025_06_03_44_9873.jpg', '/home/pi/Desktop/images/03122025/06/03/image_03122025_06_03_55_10696.jpg', '/home/pi/Desktop/images/03122025/06/04/image_03122025_06_04_24_9819.jpg', '/home/pi/Desktop/images/03122025/06/04/image_03122025_06_05_04_9971.jpg', '/home/pi/Desktop/images/03122025/06/07/image_03122025_06_08_04_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/03/image_03122025_06_03_34_9784.jpg
/home/pi/Desktop/images/03122025/06/03/image_03122025_06_03_44_9873.jpg
/home/pi/Desktop/images/03122025/06/03/image_03122025_06_03_55_10696.jpg
/home/pi/Desktop/images/03122025/06/04/image_03122025_06_04_24_9819.jpg
/home/pi/Desktop/images/03122025/06/04/image_03122025_06_05_04_9971.jpg
/home/pi/Desktop/images/03122025/06/07/image_03122025_06_08_04_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398167746","1398167922","1398167748","1398167820","1398167747","1398168017"],"photo_ids_order":["1398167746","1398167747","1398167748","1398167820","1398167922","1398168017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/169d6ee9e2fd2c543272087e2c05d2b2.jpg","text":"TemporaryFile(/tmp/multipartBody1880915194683586945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971704698,"filename":"image_03122025_06_03_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/5/f3aad8eb3ea9b995765ca58570aea9f5.jpg","text":"TemporaryFile(/tmp/multipartBody2557725028716577415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971704698,"filename":"image_03122025_06_05_04_9971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fd3f2cea5025c8a696542a0c0a114a6b.jpg","text":"TemporaryFile(/tmp/multipartBody5754399299139865612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971704698,"filename":"image_03122025_06_03_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/5/866feefa6061c9d3b7572cb8c41002df.jpg","text":"TemporaryFile(/tmp/multipartBody2404801482007565929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971704698,"filename":"image_03122025_06_04_24_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6bb277dceaf90491c737e6cad51899f3.jpg","text":"TemporaryFile(/tmp/multipartBody7768636857072645206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971704698,"filename":"image_03122025_06_03_44_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/5/aa8fcf03fa616953bb015fd38868daca.jpg","text":"TemporaryFile(/tmp/multipartBody8748835710277453458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971704698,"filename":"image_03122025_06_08_04_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398167748","file1":"1398167747","file0":"1398167746","file4":"1398167922","file5":"1398168017","file3":"1398167820"},"map_files_photo_id_array":[{"photo_id":"1398168017","filename":"file5"},{"photo_id":"1398167748","filename":"file2"},{"photo_id":"1398167922","filename":"file4"},{"photo_id":"1398167747","filename":"file1"},{"photo_id":"1398167746","filename":"file0"},{"photo_id":"1398167820","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398167746":["hashtag1","hashtag2"]},{"1398167922":["hashtag1","hashtag2"]},{"1398167748":["hashtag1","hashtag2"]},{"1398167820":["hashtag1","hashtag2"]},{"1398167747":["hashtag1","hashtag2"]},{"1398168017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398167746, 1398167922, 1398167748, 1398167820, 1398167747, 1398168017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49744653701782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:54:42.316013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_49_2608.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_52_2614.jpg', '/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_58_2786.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_01_2892.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_04_2609.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_10_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_49_2608.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_52_2614.jpg
/home/pi/Desktop/images/31102025/21/04/image_31102025_21_04_58_2786.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_01_2892.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_04_2609.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_10_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398168463","1398168370","1398168813","1398168764","1398168653","1398168560"],"photo_ids_order":["1398168370","1398168463","1398168560","1398168653","1398168764","1398168813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b714995b6c7a765be827f6a8367ca202.jpg","text":"TemporaryFile(/tmp/multipartBody9040817734655538660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971743982,"filename":"image_31102025_21_04_52_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/5/d7a182a05d453196c2f91f837ebb63fc.jpg","text":"TemporaryFile(/tmp/multipartBody531917886232061337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971743982,"filename":"image_31102025_21_04_49_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/5/a4734d87a36bb8a048f7472e43a6dd38.jpg","text":"TemporaryFile(/tmp/multipartBody8881898074559173924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971743982,"filename":"image_31102025_21_05_10_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/5/c757ba4c2318fe304bed0ad67fd25227.jpg","text":"TemporaryFile(/tmp/multipartBody8487296853379896270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971743982,"filename":"image_31102025_21_05_04_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/5/1f2cefee69290f0dee6ab0a1b33e4b10.jpg","text":"TemporaryFile(/tmp/multipartBody3309172505868734048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971743982,"filename":"image_31102025_21_05_01_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba511e2995d5fb5b7fc8dba8f693ce98.jpg","text":"TemporaryFile(/tmp/multipartBody315222311781575886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971743982,"filename":"image_31102025_21_04_58_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398168560","file1":"1398168463","file0":"1398168370","file4":"1398168764","file5":"1398168813","file3":"1398168653"},"map_files_photo_id_array":[{"photo_id":"1398168813","filename":"file5"},{"photo_id":"1398168560","filename":"file2"},{"photo_id":"1398168764","filename":"file4"},{"photo_id":"1398168463","filename":"file1"},{"photo_id":"1398168370","filename":"file0"},{"photo_id":"1398168653","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398168463":["hashtag1","hashtag2"]},{"1398168370":["hashtag1","hashtag2"]},{"1398168813":["hashtag1","hashtag2"]},{"1398168764":["hashtag1","hashtag2"]},{"1398168653":["hashtag1","hashtag2"]},{"1398168560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398168463, 1398168370, 1398168813, 1398168764, 1398168653, 1398168560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.665310859680176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:55:22.490161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/52/image_05122025_22_52_24_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/52/image_05122025_22_52_24_9808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398168814"],"photo_id":"1398168814","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46b44fbd0adcf905d9b0055c4dc4d9fd.jpg","text":"TemporaryFile(/tmp/multipartBody3776217593847479675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971782982,"filename":"image_05122025_22_52_24_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398168814"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398168814"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.620079517364502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:55:42.501540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_19_2517.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_23_3605.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_28_2596.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_31_3667.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_34_2634.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_37_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_19_2517.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_23_3605.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_28_2596.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_31_3667.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_34_2634.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_37_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398168826","1398168828","1398168825","1398168824","1398168827","1398168821"],"photo_ids_order":["1398168821","1398168824","1398168825","1398168826","1398168827","1398168828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f22b85d1865a8470bc1719888f855eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2601031859935650720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971804001,"filename":"image_31102025_21_05_31_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/5/865b0a422374d5842d32be9cd123bc45.jpg","text":"TemporaryFile(/tmp/multipartBody5229585123677514761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971804001,"filename":"image_31102025_21_05_37_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/5/38648ed87602fe4b0526b3134223930a.jpg","text":"TemporaryFile(/tmp/multipartBody3231073362088459625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971804001,"filename":"image_31102025_21_05_28_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/5/3c2140639334fc6d47041b2cf69caf6d.jpg","text":"TemporaryFile(/tmp/multipartBody1676886453263014900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971804001,"filename":"image_31102025_21_05_23_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/5/4fcb15af673e7ab3847dd35df4e8779e.jpg","text":"TemporaryFile(/tmp/multipartBody4151028154972050268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971804001,"filename":"image_31102025_21_05_34_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/5/9063c2c9902ea06023b23b1431c39388.jpg","text":"TemporaryFile(/tmp/multipartBody5556123489260987138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971804001,"filename":"image_31102025_21_05_19_2517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398168825","file1":"1398168824","file0":"1398168821","file4":"1398168827","file5":"1398168828","file3":"1398168826"},"map_files_photo_id_array":[{"photo_id":"1398168828","filename":"file5"},{"photo_id":"1398168825","filename":"file2"},{"photo_id":"1398168827","filename":"file4"},{"photo_id":"1398168824","filename":"file1"},{"photo_id":"1398168821","filename":"file0"},{"photo_id":"1398168826","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398168826":["hashtag1","hashtag2"]},{"1398168828":["hashtag1","hashtag2"]},{"1398168825":["hashtag1","hashtag2"]},{"1398168824":["hashtag1","hashtag2"]},{"1398168827":["hashtag1","hashtag2"]},{"1398168821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398168826, 1398168828, 1398168825, 1398168824, 1398168827, 1398168821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08754801750183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:56:22.746556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_46_2634.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_49_3623.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_52_2847.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_55_2876.jpg', '/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_58_2772.jpg', '/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_01_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_46_2634.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_49_3623.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_52_2847.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_55_2876.jpg
/home/pi/Desktop/images/31102025/21/05/image_31102025_21_05_58_2772.jpg
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_01_2829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398168835","1398168837","1398168831","1398168906","1398168839","1398168833"],"photo_ids_order":["1398168831","1398168833","1398168835","1398168837","1398168839","1398168906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e8183ec7c1ec381b79aae05995e60c7f.jpg","text":"TemporaryFile(/tmp/multipartBody8887035448333572285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971844287,"filename":"image_31102025_21_05_52_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/5/a1c880fc517229cab4be24523139bd21.jpg","text":"TemporaryFile(/tmp/multipartBody6253673685908626979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971844287,"filename":"image_31102025_21_05_55_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/70c2fa70694f440b558118e274c24754.jpg","text":"TemporaryFile(/tmp/multipartBody6079185498817387846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971844287,"filename":"image_31102025_21_05_46_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/5/21abad274c9932a97aff6b7d123ad9ce.jpg","text":"TemporaryFile(/tmp/multipartBody560271636627178055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971844287,"filename":"image_31102025_21_06_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/5/dd68adc815f6ddf127c146a6a9626fe2.jpg","text":"TemporaryFile(/tmp/multipartBody4054643104080630279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971844287,"filename":"image_31102025_21_05_58_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/5/0802368874dc9fd21c37a9dd71c2a275.jpg","text":"TemporaryFile(/tmp/multipartBody4404095454163359252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971844287,"filename":"image_31102025_21_05_49_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398168835","file1":"1398168833","file0":"1398168831","file4":"1398168839","file5":"1398168906","file3":"1398168837"},"map_files_photo_id_array":[{"photo_id":"1398168906","filename":"file5"},{"photo_id":"1398168835","filename":"file2"},{"photo_id":"1398168839","filename":"file4"},{"photo_id":"1398168833","filename":"file1"},{"photo_id":"1398168831","filename":"file0"},{"photo_id":"1398168837","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398168835":["hashtag1","hashtag2"]},{"1398168837":["hashtag1","hashtag2"]},{"1398168831":["hashtag1","hashtag2"]},{"1398168906":["hashtag1","hashtag2"]},{"1398168839":["hashtag1","hashtag2"]},{"1398168833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398168835, 1398168837, 1398168831, 1398168906, 1398168839, 1398168833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7366681098938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:57:02.604085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/08/image_03122025_06_09_05_10606.jpg', '/home/pi/Desktop/images/03122025/06/09/image_03122025_06_09_14_9748.jpg', '/home/pi/Desktop/images/03122025/06/12/image_03122025_06_12_14_9644.jpg', '/home/pi/Desktop/images/03122025/06/12/image_03122025_06_12_44_9622.jpg', '/home/pi/Desktop/images/03122025/06/13/image_03122025_06_13_34_10551.jpg', '/home/pi/Desktop/images/03122025/06/14/image_03122025_06_14_44_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/08/image_03122025_06_09_05_10606.jpg
/home/pi/Desktop/images/03122025/06/09/image_03122025_06_09_14_9748.jpg
/home/pi/Desktop/images/03122025/06/12/image_03122025_06_12_14_9644.jpg
/home/pi/Desktop/images/03122025/06/12/image_03122025_06_12_44_9622.jpg
/home/pi/Desktop/images/03122025/06/13/image_03122025_06_13_34_10551.jpg
/home/pi/Desktop/images/03122025/06/14/image_03122025_06_14_44_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398169327","1398169323","1398169277","1398169325","1398169357","1398169324"],"photo_ids_order":["1398169277","1398169323","1398169324","1398169325","1398169327","1398169357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6c66834809c053066912dfed3585973e.jpg","text":"TemporaryFile(/tmp/multipartBody660314982907780413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971884423,"filename":"image_03122025_06_13_34_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/5/cccba8c68869a3f9c3f6e4ecf3358269.jpg","text":"TemporaryFile(/tmp/multipartBody6718420403938766012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971884423,"filename":"image_03122025_06_09_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/5/b23fabe6ea401a8a264b5ae62cb06e9d.jpg","text":"TemporaryFile(/tmp/multipartBody5605297421438721676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971884423,"filename":"image_03122025_06_09_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/5/a2db412ed89b2633e767a1cb238092bd.jpg","text":"TemporaryFile(/tmp/multipartBody9096190251430103566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971884423,"filename":"image_03122025_06_12_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b323edb8f68976e07833f8b428a5eabe.jpg","text":"TemporaryFile(/tmp/multipartBody1023936944580791047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971884423,"filename":"image_03122025_06_14_44_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/5/81b0f00294e67515523c559cdbc485fb.jpg","text":"TemporaryFile(/tmp/multipartBody7590054070328648893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971884423,"filename":"image_03122025_06_12_14_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398169324","file1":"1398169323","file0":"1398169277","file4":"1398169327","file5":"1398169357","file3":"1398169325"},"map_files_photo_id_array":[{"photo_id":"1398169357","filename":"file5"},{"photo_id":"1398169324","filename":"file2"},{"photo_id":"1398169327","filename":"file4"},{"photo_id":"1398169323","filename":"file1"},{"photo_id":"1398169277","filename":"file0"},{"photo_id":"1398169325","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398169327":["hashtag1","hashtag2"]},{"1398169323":["hashtag1","hashtag2"]},{"1398169277":["hashtag1","hashtag2"]},{"1398169325":["hashtag1","hashtag2"]},{"1398169357":["hashtag1","hashtag2"]},{"1398169324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398169327, 1398169323, 1398169277, 1398169325, 1398169357, 1398169324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.920496463775635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:57:41.959991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_04_3611.jpg', '/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_13_2652.jpg', '/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_31_2639.jpg', '/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_34_3606.jpg', '/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_37_2540.jpg', '/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_43_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_04_3611.jpg
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_13_2652.jpg
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_31_2639.jpg
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_34_3606.jpg
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_37_2540.jpg
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_43_2639.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398169453","1398169485","1398169461","1398169484","1398169487","1398169486"],"photo_ids_order":["1398169453","1398169461","1398169484","1398169485","1398169486","1398169487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a1e70cd5ce83c85657649632cb51272.jpg","text":"TemporaryFile(/tmp/multipartBody4999110370796757218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971923463,"filename":"image_31102025_21_06_04_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/5/49caa36df95ec6d6d4a7686a61a7b8d8.jpg","text":"TemporaryFile(/tmp/multipartBody3942641213770699668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971923463,"filename":"image_31102025_21_06_34_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/5/16cb2b61e2236eb40adc2c21cfd622db.jpg","text":"TemporaryFile(/tmp/multipartBody4373868883516613905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971923463,"filename":"image_31102025_21_06_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/5/18be0a6cdef242b9e6ef325427eda387.jpg","text":"TemporaryFile(/tmp/multipartBody7038409905725562309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971923463,"filename":"image_31102025_21_06_31_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/5/efad00888e439ce3ea6c35f33a35dfd0.jpg","text":"TemporaryFile(/tmp/multipartBody2288490482011620663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971923463,"filename":"image_31102025_21_06_43_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/5/123b3a8ba68c23f44ce1931ee43a252e.jpg","text":"TemporaryFile(/tmp/multipartBody6116223696217822187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764971923463,"filename":"image_31102025_21_06_37_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398169484","file1":"1398169461","file0":"1398169453","file4":"1398169486","file5":"1398169487","file3":"1398169485"},"map_files_photo_id_array":[{"photo_id":"1398169487","filename":"file5"},{"photo_id":"1398169484","filename":"file2"},{"photo_id":"1398169486","filename":"file4"},{"photo_id":"1398169461","filename":"file1"},{"photo_id":"1398169453","filename":"file0"},{"photo_id":"1398169485","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398169453":["hashtag1","hashtag2"]},{"1398169485":["hashtag1","hashtag2"]},{"1398169461":["hashtag1","hashtag2"]},{"1398169484":["hashtag1","hashtag2"]},{"1398169487":["hashtag1","hashtag2"]},{"1398169486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398169453, 1398169485, 1398169461, 1398169484, 1398169487, 1398169486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.712692737579346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 22:59:03.421967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/55/image_05122025_22_55_54_9751.jpg', '/home/pi/Desktop/images/05122025/22/56/image_05122025_22_57_05_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/55/image_05122025_22_55_54_9751.jpg
/home/pi/Desktop/images/05122025/22/56/image_05122025_22_57_05_10652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398170167","1398170093"],"photo_ids_order":["1398170093","1398170167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/46e630a6574526cde6c10d39412014ec.jpg","text":"TemporaryFile(/tmp/multipartBody4302318760613236428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972004033,"filename":"image_05122025_22_57_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/5/9d400502fe23d88883e91a2fb1c756b6.jpg","text":"TemporaryFile(/tmp/multipartBody7064387251953912319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972004033,"filename":"image_05122025_22_55_54_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398170167","file0":"1398170093"},"map_files_photo_id_array":[{"photo_id":"1398170167","filename":"file1"},{"photo_id":"1398170093","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398170167":["hashtag1","hashtag2"]},{"1398170093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398170167, 1398170093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.06561779975891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 22:59:22.318557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/57/image_05122025_22_57_24_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/57/image_05122025_22_57_24_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398170437"],"photo_id":"1398170437","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fff25434728b6dd190ff5ee0724cb293.jpg","text":"TemporaryFile(/tmp/multipartBody4378190117743447142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972022804,"filename":"image_05122025_22_57_24_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398170437"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398170437"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.166548728942871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 22:59:42.333875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_46_2510.jpg', '/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_49_3599.jpg', '/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_52_2588.jpg', '/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_55_3657.jpg', '/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_58_2791.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_01_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_46_2510.jpg
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_49_3599.jpg
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_52_2588.jpg
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_55_3657.jpg
/home/pi/Desktop/images/31102025/21/06/image_31102025_21_06_58_2791.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_01_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":["1398170836","1398170796","1398170910","1398170945","1398170873","1398170975"],"photo_ids_order":["1398170796","1398170836","1398170873","1398170910","1398170945","1398170975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9f11f772ac472ed86060c24c8bf9af6f.jpg","text":"TemporaryFile(/tmp/multipartBody5254317363179183049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972043872,"filename":"image_31102025_21_06_49_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/5/1cb606eb96c32fa273e03bd9564ce2e1.jpg","text":"TemporaryFile(/tmp/multipartBody6643777879337353637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972043872,"filename":"image_31102025_21_06_46_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/5/1f428c5eb7578ed942e33b1ff65aa637.jpg","text":"TemporaryFile(/tmp/multipartBody1095538130283342271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972043872,"filename":"image_31102025_21_06_55_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/5/d08eba7d579429705c4030a53c63df13.jpg","text":"TemporaryFile(/tmp/multipartBody7281317976601895779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972043872,"filename":"image_31102025_21_06_58_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/5/b19da20d20510319c6a77d710099b7d2.jpg","text":"TemporaryFile(/tmp/multipartBody968805709480228110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972043872,"filename":"image_31102025_21_06_52_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/5/48c7993067a4b187d47472de55bf6bc7.jpg","text":"TemporaryFile(/tmp/multipartBody1182708174904205605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972043872,"filename":"image_31102025_21_07_01_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398170873","file1":"1398170836","file0":"1398170796","file4":"1398170945","file5":"1398170975","file3":"1398170910"},"map_files_photo_id_array":[{"photo_id":"1398170975","filename":"file5"},{"photo_id":"1398170873","filename":"file2"},{"photo_id":"1398170945","filename":"file4"},{"photo_id":"1398170836","filename":"file1"},{"photo_id":"1398170796","filename":"file0"},{"photo_id":"1398170910","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398170836":["hashtag1","hashtag2"]},{"1398170796":["hashtag1","hashtag2"]},{"1398170910":["hashtag1","hashtag2"]},{"1398170945":["hashtag1","hashtag2"]},{"1398170873":["hashtag1","hashtag2"]},{"1398170975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398170836, 1398170796, 1398170910, 1398170945, 1398170873, 1398170975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94293713569641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:00:22.503678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/22/59/image_05122025_22_59_14_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/22/59/image_05122025_22_59_14_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171065"],"photo_id":"1398171065","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/921943e75c6c9cc6a2e0c5c428c96ca5.jpg","text":"TemporaryFile(/tmp/multipartBody5234294822874725927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972082981,"filename":"image_05122025_22_59_14_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398171065"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398171065"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.608143091201782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:00:42.515937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_04_2609.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_07_3567.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_13_2688.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_16_3566.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_22_3661.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_25_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_04_2609.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_07_3567.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_13_2688.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_16_3566.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_22_3661.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_25_2619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171322","1398171294","1398171185","1398171146","1398171256","1398171220"],"photo_ids_order":["1398171146","1398171185","1398171220","1398171256","1398171294","1398171322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/32c3c4841d1e53d93f957ea043a64928.jpg","text":"TemporaryFile(/tmp/multipartBody1876966040795767561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972104066,"filename":"image_31102025_21_07_25_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2c6cc43dfe8bc30c13e47d2423c07fe.jpg","text":"TemporaryFile(/tmp/multipartBody6444408013967805796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972104066,"filename":"image_31102025_21_07_22_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/5/72baaae7885325ff6fc53d92c17e79f4.jpg","text":"TemporaryFile(/tmp/multipartBody716766480573967527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972104066,"filename":"image_31102025_21_07_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/5/59ce4e2c0f6104f518094a263c5c6288.jpg","text":"TemporaryFile(/tmp/multipartBody2512054379077389760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972104066,"filename":"image_31102025_21_07_04_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/5/6e2025e0098e127da1937be98a62e3c1.jpg","text":"TemporaryFile(/tmp/multipartBody4423498989709859008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972104066,"filename":"image_31102025_21_07_16_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3c738cd02b833f193fecba280f3e66dd.jpg","text":"TemporaryFile(/tmp/multipartBody8317513310168973827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972104066,"filename":"image_31102025_21_07_13_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171220","file1":"1398171185","file0":"1398171146","file4":"1398171294","file5":"1398171322","file3":"1398171256"},"map_files_photo_id_array":[{"photo_id":"1398171322","filename":"file5"},{"photo_id":"1398171220","filename":"file2"},{"photo_id":"1398171294","filename":"file4"},{"photo_id":"1398171185","filename":"file1"},{"photo_id":"1398171146","filename":"file0"},{"photo_id":"1398171256","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171322":["hashtag1","hashtag2"]},{"1398171294":["hashtag1","hashtag2"]},{"1398171185":["hashtag1","hashtag2"]},{"1398171146":["hashtag1","hashtag2"]},{"1398171256":["hashtag1","hashtag2"]},{"1398171220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171322, 1398171294, 1398171185, 1398171146, 1398171256, 1398171220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87694764137268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:01:22.690645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_28_2634.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_31_3594.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_37_3563.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_43_2612.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_46_3734.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_52_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_28_2634.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_31_3594.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_37_3563.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_43_2612.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_46_3734.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_52_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171381","1398171372","1398171374","1398171379","1398171370","1398171376"],"photo_ids_order":["1398171370","1398171372","1398171374","1398171376","1398171379","1398171381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/36f4835bf68528dab25e81590ecd14fb.jpg","text":"TemporaryFile(/tmp/multipartBody4336757915991371466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972144216,"filename":"image_31102025_21_07_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/5/049c79a74db9c45a1b2a6abd33197462.jpg","text":"TemporaryFile(/tmp/multipartBody4274369876009411202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972144216,"filename":"image_31102025_21_07_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/5/4f3e1152f2da9991ce958ab7d6362549.jpg","text":"TemporaryFile(/tmp/multipartBody7372856687830220181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972144216,"filename":"image_31102025_21_07_37_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/5/aa90b9fbd43e194baa21cc25e8951072.jpg","text":"TemporaryFile(/tmp/multipartBody4686011417481980314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972144216,"filename":"image_31102025_21_07_46_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1836a5177fc25ec610cd582b1d13e3bf.jpg","text":"TemporaryFile(/tmp/multipartBody1381659433715645291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972144216,"filename":"image_31102025_21_07_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/5/e6fba5960b7c4f3b0f2fdb83dd7d9c54.jpg","text":"TemporaryFile(/tmp/multipartBody2212715554919446278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972144216,"filename":"image_31102025_21_07_43_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171374","file1":"1398171372","file0":"1398171370","file4":"1398171379","file5":"1398171381","file3":"1398171376"},"map_files_photo_id_array":[{"photo_id":"1398171381","filename":"file5"},{"photo_id":"1398171374","filename":"file2"},{"photo_id":"1398171379","filename":"file4"},{"photo_id":"1398171372","filename":"file1"},{"photo_id":"1398171370","filename":"file0"},{"photo_id":"1398171376","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171381":["hashtag1","hashtag2"]},{"1398171372":["hashtag1","hashtag2"]},{"1398171374":["hashtag1","hashtag2"]},{"1398171379":["hashtag1","hashtag2"]},{"1398171370":["hashtag1","hashtag2"]},{"1398171376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171381, 1398171372, 1398171374, 1398171379, 1398171370, 1398171376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45512819290161 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-05 23:02:11.861777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/14/image_03122025_06_14_54_9693.jpg', '/home/pi/Desktop/images/03122025/06/14/image_03122025_06_15_04_9734.jpg', '/home/pi/Desktop/images/03122025/06/15/image_03122025_06_15_34_9638.jpg', '/home/pi/Desktop/images/03122025/06/15/image_03122025_06_15_44_9657.jpg', '/home/pi/Desktop/images/03122025/06/15/image_03122025_06_16_04_9786.jpg', '/home/pi/Desktop/images/03122025/06/16/image_03122025_06_16_24_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/14/image_03122025_06_14_54_9693.jpg
/home/pi/Desktop/images/03122025/06/14/image_03122025_06_15_04_9734.jpg
/home/pi/Desktop/images/03122025/06/15/image_03122025_06_15_34_9638.jpg
/home/pi/Desktop/images/03122025/06/15/image_03122025_06_15_44_9657.jpg
/home/pi/Desktop/images/03122025/06/15/image_03122025_06_16_04_9786.jpg
/home/pi/Desktop/images/03122025/06/16/image_03122025_06_16_24_9650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.797356367111206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:02:21.867384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_55_3609.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_58_2592.jpg', '/home/pi/Desktop/images/31102025/21/07/image_31102025_21_08_00_2656.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_04_3589.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_07_2638.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_09_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_55_3609.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_07_58_2592.jpg
/home/pi/Desktop/images/31102025/21/07/image_31102025_21_08_00_2656.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_04_3589.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_07_2638.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_09_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171396","1398171398","1398171391","1398171385","1398171394","1398171388"],"photo_ids_order":["1398171385","1398171388","1398171391","1398171394","1398171396","1398171398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2f4ff641e7aa837ce5a8b2cff50e8af7.jpg","text":"TemporaryFile(/tmp/multipartBody8726774960464995899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972203443,"filename":"image_31102025_21_08_07_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/5/e2bf808959e14393e329f463ecebde1e.jpg","text":"TemporaryFile(/tmp/multipartBody9044358205126816396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972203443,"filename":"image_31102025_21_08_09_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/5/ee8c44477a10b625cdd8141b42b6dea3.jpg","text":"TemporaryFile(/tmp/multipartBody5620925239298855531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972203443,"filename":"image_31102025_21_08_00_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/5/47d6974712b8bd43507c4c10b3c78b94.jpg","text":"TemporaryFile(/tmp/multipartBody3088487333631485914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972203443,"filename":"image_31102025_21_07_55_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/5/d4b2807aeb41cce57135d1c9b6786fd1.jpg","text":"TemporaryFile(/tmp/multipartBody5648482110896291047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972203443,"filename":"image_31102025_21_08_04_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/5/07ac274e3173affc3a363dbfbc2d7d6d.jpg","text":"TemporaryFile(/tmp/multipartBody225866164676129228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972203443,"filename":"image_31102025_21_07_58_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171391","file1":"1398171388","file0":"1398171385","file4":"1398171396","file5":"1398171398","file3":"1398171394"},"map_files_photo_id_array":[{"photo_id":"1398171398","filename":"file5"},{"photo_id":"1398171391","filename":"file2"},{"photo_id":"1398171396","filename":"file4"},{"photo_id":"1398171388","filename":"file1"},{"photo_id":"1398171385","filename":"file0"},{"photo_id":"1398171394","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171396":["hashtag1","hashtag2"]},{"1398171398":["hashtag1","hashtag2"]},{"1398171391":["hashtag1","hashtag2"]},{"1398171385":["hashtag1","hashtag2"]},{"1398171394":["hashtag1","hashtag2"]},{"1398171388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171396, 1398171398, 1398171391, 1398171385, 1398171394, 1398171388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07540678977966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 23:03:12.107435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/14/image_03122025_06_14_54_9693.jpg', '/home/pi/Desktop/images/03122025/06/14/image_03122025_06_15_04_9734.jpg', '/home/pi/Desktop/images/03122025/06/15/image_03122025_06_15_34_9638.jpg', '/home/pi/Desktop/images/03122025/06/15/image_03122025_06_15_44_9657.jpg', '/home/pi/Desktop/images/03122025/06/15/image_03122025_06_16_04_9786.jpg', '/home/pi/Desktop/images/03122025/06/16/image_03122025_06_16_24_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/14/image_03122025_06_14_54_9693.jpg
/home/pi/Desktop/images/03122025/06/14/image_03122025_06_15_04_9734.jpg
/home/pi/Desktop/images/03122025/06/15/image_03122025_06_15_34_9638.jpg
/home/pi/Desktop/images/03122025/06/15/image_03122025_06_15_44_9657.jpg
/home/pi/Desktop/images/03122025/06/15/image_03122025_06_16_04_9786.jpg
/home/pi/Desktop/images/03122025/06/16/image_03122025_06_16_24_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":["1398171409","1398171400","1398171406","1398171402","1398171404","1398171401"],"photo_ids_order":["1398171400","1398171401","1398171402","1398171404","1398171406","1398171409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/92a24de7c6663e035586c6ce0df191a5.jpg","text":"TemporaryFile(/tmp/multipartBody8521035904788773202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972253857,"filename":"image_03122025_06_16_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/5/499032687ab5f35afdeee13187e0f6a4.jpg","text":"TemporaryFile(/tmp/multipartBody8991840206422550963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972253857,"filename":"image_03122025_06_14_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/5/58090ee526d8f6ee27ba248fa61a7a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1702299762180769839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972253857,"filename":"image_03122025_06_16_04_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ec7122f524a6b6b5e676f5b40dd4e076.jpg","text":"TemporaryFile(/tmp/multipartBody1598191571818865075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972253857,"filename":"image_03122025_06_15_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/5/2f1e993c673d8329aa7113297d356623.jpg","text":"TemporaryFile(/tmp/multipartBody2156608274610415899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972253857,"filename":"image_03122025_06_15_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/5/55d93b2e18b11b3ee596d9085635431c.jpg","text":"TemporaryFile(/tmp/multipartBody5176406547246670583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972253857,"filename":"image_03122025_06_15_04_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171402","file1":"1398171401","file0":"1398171400","file4":"1398171406","file5":"1398171409","file3":"1398171404"},"map_files_photo_id_array":[{"photo_id":"1398171409","filename":"file5"},{"photo_id":"1398171402","filename":"file2"},{"photo_id":"1398171406","filename":"file4"},{"photo_id":"1398171401","filename":"file1"},{"photo_id":"1398171400","filename":"file0"},{"photo_id":"1398171404","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171409":["hashtag1","hashtag2"]},{"1398171400":["hashtag1","hashtag2"]},{"1398171406":["hashtag1","hashtag2"]},{"1398171402":["hashtag1","hashtag2"]},{"1398171404":["hashtag1","hashtag2"]},{"1398171401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171409, 1398171400, 1398171406, 1398171402, 1398171404, 1398171401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50353789329529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:04:02.964000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/16/image_03122025_06_16_35_10819.jpg', '/home/pi/Desktop/images/03122025/06/17/image_03122025_06_17_24_9701.jpg', '/home/pi/Desktop/images/03122025/06/17/image_03122025_06_17_44_9849.jpg', '/home/pi/Desktop/images/03122025/06/17/image_03122025_06_17_54_10626.jpg', '/home/pi/Desktop/images/03122025/06/18/image_03122025_06_18_54_9615.jpg', '/home/pi/Desktop/images/03122025/06/20/image_03122025_06_20_14_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/16/image_03122025_06_16_35_10819.jpg
/home/pi/Desktop/images/03122025/06/17/image_03122025_06_17_24_9701.jpg
/home/pi/Desktop/images/03122025/06/17/image_03122025_06_17_44_9849.jpg
/home/pi/Desktop/images/03122025/06/17/image_03122025_06_17_54_10626.jpg
/home/pi/Desktop/images/03122025/06/18/image_03122025_06_18_54_9615.jpg
/home/pi/Desktop/images/03122025/06/20/image_03122025_06_20_14_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":["1398171415","1398171418","1398171420","1398171417","1398171416","1398171413"],"photo_ids_order":["1398171413","1398171415","1398171416","1398171417","1398171418","1398171420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/82a1b86243b2bb25914b32d2d96fc0ee.jpg","text":"TemporaryFile(/tmp/multipartBody499880210438245167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972304741,"filename":"image_03122025_06_17_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/5/21f75b27f4ba9f5130f316b39275e455.jpg","text":"TemporaryFile(/tmp/multipartBody7797796454414108441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972304741,"filename":"image_03122025_06_18_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/5/636f255b982e5562c223ca30572568fc.jpg","text":"TemporaryFile(/tmp/multipartBody18195546647407996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972304741,"filename":"image_03122025_06_20_14_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/5/459e3f948a011af28586d043f964d8d0.jpg","text":"TemporaryFile(/tmp/multipartBody2943372703229646569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972304741,"filename":"image_03122025_06_17_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/5/8697ef50a6790e63f11b1a4e091ab66e.jpg","text":"TemporaryFile(/tmp/multipartBody257258032670788828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972304741,"filename":"image_03122025_06_17_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/5/cd87934324321a9bfa93818395cbdbbb.jpg","text":"TemporaryFile(/tmp/multipartBody2208299295799126475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972304741,"filename":"image_03122025_06_16_35_10819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171416","file1":"1398171415","file0":"1398171413","file4":"1398171418","file5":"1398171420","file3":"1398171417"},"map_files_photo_id_array":[{"photo_id":"1398171420","filename":"file5"},{"photo_id":"1398171416","filename":"file2"},{"photo_id":"1398171418","filename":"file4"},{"photo_id":"1398171415","filename":"file1"},{"photo_id":"1398171413","filename":"file0"},{"photo_id":"1398171417","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171415":["hashtag1","hashtag2"]},{"1398171418":["hashtag1","hashtag2"]},{"1398171420":["hashtag1","hashtag2"]},{"1398171417":["hashtag1","hashtag2"]},{"1398171416":["hashtag1","hashtag2"]},{"1398171413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171415, 1398171418, 1398171420, 1398171417, 1398171416, 1398171413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56388711929321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:04:42.333868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_13_3795.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_16_2682.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_19_2699.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_22_3566.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_31_3596.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_34_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_13_3795.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_16_2682.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_19_2699.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_22_3566.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_31_3596.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_34_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":["1398171430","1398171429","1398171431","1398171425","1398171433","1398171427"],"photo_ids_order":["1398171425","1398171427","1398171429","1398171430","1398171431","1398171433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6e9daffce7b093c290ea78f4002f760a.jpg","text":"TemporaryFile(/tmp/multipartBody4358281028188374644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972343920,"filename":"image_31102025_21_08_22_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee523b7d0c657abd194435a98ae53090.jpg","text":"TemporaryFile(/tmp/multipartBody8799218956214143705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972343920,"filename":"image_31102025_21_08_19_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/5/60ab961b27900e3d29d3c075f5cf9811.jpg","text":"TemporaryFile(/tmp/multipartBody7434364579213929030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972343920,"filename":"image_31102025_21_08_31_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/5/89aee7ac988f209f53d17f351742f04b.jpg","text":"TemporaryFile(/tmp/multipartBody6571991217418227762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972343920,"filename":"image_31102025_21_08_13_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/5/7e531df511f5eee0fbcf54b3734aff71.jpg","text":"TemporaryFile(/tmp/multipartBody4068721738471531944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972343920,"filename":"image_31102025_21_08_34_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/5/c1f9fd86be1da93d1fd55830323d34cd.jpg","text":"TemporaryFile(/tmp/multipartBody8386276572701451343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972343920,"filename":"image_31102025_21_08_16_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171429","file1":"1398171427","file0":"1398171425","file4":"1398171431","file5":"1398171433","file3":"1398171430"},"map_files_photo_id_array":[{"photo_id":"1398171433","filename":"file5"},{"photo_id":"1398171429","filename":"file2"},{"photo_id":"1398171431","filename":"file4"},{"photo_id":"1398171427","filename":"file1"},{"photo_id":"1398171425","filename":"file0"},{"photo_id":"1398171430","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171430":["hashtag1","hashtag2"]},{"1398171429":["hashtag1","hashtag2"]},{"1398171431":["hashtag1","hashtag2"]},{"1398171425":["hashtag1","hashtag2"]},{"1398171433":["hashtag1","hashtag2"]},{"1398171427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171430, 1398171429, 1398171431, 1398171425, 1398171433, 1398171427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52150225639343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:05:22.470936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_37_3576.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_40_2726.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_43_2741.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_49_3716.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_52_2879.jpg', '/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_55_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_37_3576.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_40_2726.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_43_2741.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_49_3716.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_52_2879.jpg
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_08_55_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":["1398171439","1398171447","1398171441","1398171443","1398171437","1398171445"],"photo_ids_order":["1398171437","1398171439","1398171441","1398171443","1398171445","1398171447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1528d68702580137ef1d1b0f1191537c.jpg","text":"TemporaryFile(/tmp/multipartBody6265113108458694160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972384060,"filename":"image_31102025_21_08_40_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1cbd186d4a000f5269de2eb9f083c150.jpg","text":"TemporaryFile(/tmp/multipartBody8856786578742508618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972384060,"filename":"image_31102025_21_08_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/5/b07e9e6b81a676207b9934d1cca4714f.jpg","text":"TemporaryFile(/tmp/multipartBody4955228895837030301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972384060,"filename":"image_31102025_21_08_43_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/5/1c2ebbd118c710509cbbdc7cd88c7e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6587858716941442379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972384060,"filename":"image_31102025_21_08_49_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/5/f9b3674d663ec90de7a84a7f380b1410.jpg","text":"TemporaryFile(/tmp/multipartBody7517109067511016423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972384060,"filename":"image_31102025_21_08_37_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/5/5194d8731251073f1108977112664620.jpg","text":"TemporaryFile(/tmp/multipartBody230798080237675808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972384060,"filename":"image_31102025_21_08_52_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171441","file1":"1398171439","file0":"1398171437","file4":"1398171445","file5":"1398171447","file3":"1398171443"},"map_files_photo_id_array":[{"photo_id":"1398171447","filename":"file5"},{"photo_id":"1398171441","filename":"file2"},{"photo_id":"1398171445","filename":"file4"},{"photo_id":"1398171439","filename":"file1"},{"photo_id":"1398171437","filename":"file0"},{"photo_id":"1398171443","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171439":["hashtag1","hashtag2"]},{"1398171447":["hashtag1","hashtag2"]},{"1398171441":["hashtag1","hashtag2"]},{"1398171443":["hashtag1","hashtag2"]},{"1398171437":["hashtag1","hashtag2"]},{"1398171445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171439, 1398171447, 1398171441, 1398171443, 1398171437, 1398171445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7829053401947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:06:03.128063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/21/image_03122025_06_21_24_9708.jpg', '/home/pi/Desktop/images/03122025/06/21/image_03122025_06_21_34_9853.jpg', '/home/pi/Desktop/images/03122025/06/21/image_03122025_06_21_54_10617.jpg', '/home/pi/Desktop/images/03122025/06/22/image_03122025_06_22_14_9754.jpg', '/home/pi/Desktop/images/03122025/06/22/image_03122025_06_22_34_9612.jpg', '/home/pi/Desktop/images/03122025/06/23/image_03122025_06_23_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/21/image_03122025_06_21_24_9708.jpg
/home/pi/Desktop/images/03122025/06/21/image_03122025_06_21_34_9853.jpg
/home/pi/Desktop/images/03122025/06/21/image_03122025_06_21_54_10617.jpg
/home/pi/Desktop/images/03122025/06/22/image_03122025_06_22_14_9754.jpg
/home/pi/Desktop/images/03122025/06/22/image_03122025_06_22_34_9612.jpg
/home/pi/Desktop/images/03122025/06/23/image_03122025_06_23_34_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171457","1398171450","1398171453","1398171452","1398171455","1398171448"],"photo_ids_order":["1398171448","1398171450","1398171452","1398171453","1398171455","1398171457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/09c5194bb540fe83bec181273a2f8948.jpg","text":"TemporaryFile(/tmp/multipartBody5562257262040002292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972424878,"filename":"image_03122025_06_23_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/5/521e2d472ce48e07bd34d88bcbb209ce.jpg","text":"TemporaryFile(/tmp/multipartBody288648976290690213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972424878,"filename":"image_03122025_06_21_34_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/5/a9866dd5d32a79fa6793f559e15c101c.jpg","text":"TemporaryFile(/tmp/multipartBody9165963189064440960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972424878,"filename":"image_03122025_06_22_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/5/2d64d414449a0b743db1ef97163f72e9.jpg","text":"TemporaryFile(/tmp/multipartBody7076329878571554747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972424878,"filename":"image_03122025_06_21_54_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/5/673a44a5b64bd740d033a3942961ecd6.jpg","text":"TemporaryFile(/tmp/multipartBody2067029432644038341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972424878,"filename":"image_03122025_06_22_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/5/fd6d60e86854895067139fbe03a4339f.jpg","text":"TemporaryFile(/tmp/multipartBody9193337121174033825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972424878,"filename":"image_03122025_06_21_24_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171452","file1":"1398171450","file0":"1398171448","file4":"1398171455","file5":"1398171457","file3":"1398171453"},"map_files_photo_id_array":[{"photo_id":"1398171457","filename":"file5"},{"photo_id":"1398171452","filename":"file2"},{"photo_id":"1398171455","filename":"file4"},{"photo_id":"1398171450","filename":"file1"},{"photo_id":"1398171448","filename":"file0"},{"photo_id":"1398171453","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171457":["hashtag1","hashtag2"]},{"1398171450":["hashtag1","hashtag2"]},{"1398171453":["hashtag1","hashtag2"]},{"1398171452":["hashtag1","hashtag2"]},{"1398171455":["hashtag1","hashtag2"]},{"1398171448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171457, 1398171450, 1398171453, 1398171452, 1398171455, 1398171448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62125515937805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:06:42.688996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/08/image_31102025_21_09_00_2833.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_04_3746.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_10_3554.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_13_2637.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_15_2643.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_19_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/08/image_31102025_21_09_00_2833.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_04_3746.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_10_3554.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_13_2637.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_15_2643.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_19_3655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171468","1398171462","1398171465","1398171467","1398171464","1398171466"],"photo_ids_order":["1398171462","1398171464","1398171465","1398171466","1398171467","1398171468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2927158245762f15f0d9c7960ccd1a97.jpg","text":"TemporaryFile(/tmp/multipartBody534559251202833997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972464222,"filename":"image_31102025_21_09_19_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/5/a8caeedb51b92c92a8239a466474d269.jpg","text":"TemporaryFile(/tmp/multipartBody1531436915634658515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972464222,"filename":"image_31102025_21_09_00_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bc055631b962a61e1155425cdbfe0daf.jpg","text":"TemporaryFile(/tmp/multipartBody3950515824855490419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972464222,"filename":"image_31102025_21_09_10_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/5/823849fada920f9d96b5d5a30dda6464.jpg","text":"TemporaryFile(/tmp/multipartBody7855240454292354543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972464222,"filename":"image_31102025_21_09_15_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/5/f2f9b779686e779a45c0a15db70e95e6.jpg","text":"TemporaryFile(/tmp/multipartBody8891623428016204423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972464222,"filename":"image_31102025_21_09_04_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/5/93145ec4f914ecdbabfc311abd230e7d.jpg","text":"TemporaryFile(/tmp/multipartBody2567097942594706222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972464222,"filename":"image_31102025_21_09_13_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171465","file1":"1398171464","file0":"1398171462","file4":"1398171467","file5":"1398171468","file3":"1398171466"},"map_files_photo_id_array":[{"photo_id":"1398171468","filename":"file5"},{"photo_id":"1398171465","filename":"file2"},{"photo_id":"1398171467","filename":"file4"},{"photo_id":"1398171464","filename":"file1"},{"photo_id":"1398171462","filename":"file0"},{"photo_id":"1398171466","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171468":["hashtag1","hashtag2"]},{"1398171462":["hashtag1","hashtag2"]},{"1398171465":["hashtag1","hashtag2"]},{"1398171467":["hashtag1","hashtag2"]},{"1398171464":["hashtag1","hashtag2"]},{"1398171466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171468, 1398171462, 1398171465, 1398171467, 1398171464, 1398171466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.102484464645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:07:21.909235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/23/00/image_05122025_23_00_15_10757.jpg', '/home/pi/Desktop/images/05122025/23/06/image_05122025_23_06_24_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/23/00/image_05122025_23_00_15_10757.jpg
/home/pi/Desktop/images/05122025/23/06/image_05122025_23_06_24_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171471","1398171469"],"photo_ids_order":["1398171469","1398171471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b1e6b950f6179cb00c0b29cae26dbdc.jpg","text":"TemporaryFile(/tmp/multipartBody6689877703306146412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972502460,"filename":"image_05122025_23_06_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/5/e571939a79ec7383fef285d0763d77a2.jpg","text":"TemporaryFile(/tmp/multipartBody8636015125038976550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972502460,"filename":"image_05122025_23_00_15_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398171471","file0":"1398171469"},"map_files_photo_id_array":[{"photo_id":"1398171471","filename":"file1"},{"photo_id":"1398171469","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398171471":["hashtag1","hashtag2"]},{"1398171469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398171471, 1398171469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.45150589942932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:07:41.881520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_22_2713.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_25_2722.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_28_3635.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_34_2838.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_40_2611.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_42_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_22_2713.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_25_2722.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_28_3635.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_34_2838.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_40_2611.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_42_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171480","1398171483","1398171477","1398171479","1398171482","1398171481"],"photo_ids_order":["1398171477","1398171479","1398171480","1398171481","1398171482","1398171483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9757bd49e72ee0bd4e20c718decc8dbc.jpg","text":"TemporaryFile(/tmp/multipartBody9142302004282132085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972523380,"filename":"image_31102025_21_09_28_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e2e31d162014fd4c0de9d76f73a0f6a3.jpg","text":"TemporaryFile(/tmp/multipartBody4100098753784526976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972523380,"filename":"image_31102025_21_09_42_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/5/0329920bef28a4a8bf16210656301cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2723257053168715111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972523380,"filename":"image_31102025_21_09_22_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/5/ad43ff8ccea433d478835b0cf8c64a36.jpg","text":"TemporaryFile(/tmp/multipartBody3945470214688925894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972523380,"filename":"image_31102025_21_09_25_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6fafe0a15499fb416b7e0fce12dcd940.jpg","text":"TemporaryFile(/tmp/multipartBody7268527482129266589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972523380,"filename":"image_31102025_21_09_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/5/ece32bf300eef1d4825747655533c268.jpg","text":"TemporaryFile(/tmp/multipartBody5710289216455998250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972523380,"filename":"image_31102025_21_09_34_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171480","file1":"1398171479","file0":"1398171477","file4":"1398171482","file5":"1398171483","file3":"1398171481"},"map_files_photo_id_array":[{"photo_id":"1398171483","filename":"file5"},{"photo_id":"1398171480","filename":"file2"},{"photo_id":"1398171482","filename":"file4"},{"photo_id":"1398171479","filename":"file1"},{"photo_id":"1398171477","filename":"file0"},{"photo_id":"1398171481","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171480":["hashtag1","hashtag2"]},{"1398171483":["hashtag1","hashtag2"]},{"1398171477":["hashtag1","hashtag2"]},{"1398171479":["hashtag1","hashtag2"]},{"1398171482":["hashtag1","hashtag2"]},{"1398171481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171480, 1398171483, 1398171477, 1398171479, 1398171482, 1398171481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.345046281814575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:08:22.138043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_49_2687.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_52_2864.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_54_2765.jpg', '/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_58_3645.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_01_2701.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_06_3059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_49_2687.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_52_2864.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_54_2765.jpg
/home/pi/Desktop/images/31102025/21/09/image_31102025_21_09_58_3645.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_01_2701.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_06_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":["1398171492","1398171495","1398171485","1398171488","1398171490","1398171487"],"photo_ids_order":["1398171485","1398171487","1398171488","1398171490","1398171492","1398171495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3db016c2b92b3d8002749197a33b60f9.jpg","text":"TemporaryFile(/tmp/multipartBody5549623124938045140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972563707,"filename":"image_31102025_21_10_01_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/5/67f2805bffb09f55e482a3ac76abc6f8.jpg","text":"TemporaryFile(/tmp/multipartBody1931440920457311262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972563707,"filename":"image_31102025_21_10_06_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/5/bc587d9ef6492ebf750880764cf0f58f.jpg","text":"TemporaryFile(/tmp/multipartBody8341220553690559820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972563707,"filename":"image_31102025_21_09_49_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/5/945ee375b9b0fa3d539c5232badf208b.jpg","text":"TemporaryFile(/tmp/multipartBody6210714102902773741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972563707,"filename":"image_31102025_21_09_54_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/5/5f52be9db93fa10654f5cfc80222cacc.jpg","text":"TemporaryFile(/tmp/multipartBody530739382557077928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972563707,"filename":"image_31102025_21_09_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/5/127b429042f8913df8a916e9ed8374ea.jpg","text":"TemporaryFile(/tmp/multipartBody7812086677311199577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972563707,"filename":"image_31102025_21_09_52_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171488","file1":"1398171487","file0":"1398171485","file4":"1398171492","file5":"1398171495","file3":"1398171490"},"map_files_photo_id_array":[{"photo_id":"1398171495","filename":"file5"},{"photo_id":"1398171488","filename":"file2"},{"photo_id":"1398171492","filename":"file4"},{"photo_id":"1398171487","filename":"file1"},{"photo_id":"1398171485","filename":"file0"},{"photo_id":"1398171490","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171492":["hashtag1","hashtag2"]},{"1398171495":["hashtag1","hashtag2"]},{"1398171485":["hashtag1","hashtag2"]},{"1398171488":["hashtag1","hashtag2"]},{"1398171490":["hashtag1","hashtag2"]},{"1398171487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171492, 1398171495, 1398171485, 1398171488, 1398171490, 1398171487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61180543899536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:09:03.432103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/23/image_03122025_06_23_55_10770.jpg', '/home/pi/Desktop/images/03122025/06/24/image_03122025_06_24_25_10635.jpg', '/home/pi/Desktop/images/03122025/06/24/image_03122025_06_24_44_9590.jpg', '/home/pi/Desktop/images/03122025/06/24/image_03122025_06_25_04_9814.jpg', '/home/pi/Desktop/images/03122025/06/25/image_03122025_06_25_34_9738.jpg', '/home/pi/Desktop/images/03122025/06/25/image_03122025_06_25_44_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/23/image_03122025_06_23_55_10770.jpg
/home/pi/Desktop/images/03122025/06/24/image_03122025_06_24_25_10635.jpg
/home/pi/Desktop/images/03122025/06/24/image_03122025_06_24_44_9590.jpg
/home/pi/Desktop/images/03122025/06/24/image_03122025_06_25_04_9814.jpg
/home/pi/Desktop/images/03122025/06/25/image_03122025_06_25_34_9738.jpg
/home/pi/Desktop/images/03122025/06/25/image_03122025_06_25_44_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171502","1398171505","1398171497","1398171501","1398171503","1398171499"],"photo_ids_order":["1398171497","1398171499","1398171501","1398171502","1398171503","1398171505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f34a67690a83845b349e45417c4f9e78.jpg","text":"TemporaryFile(/tmp/multipartBody5409301618975378152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972605206,"filename":"image_03122025_06_25_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/5/b1b9451ae74a147983f6e80a4032eae4.jpg","text":"TemporaryFile(/tmp/multipartBody4490348196827445435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972605206,"filename":"image_03122025_06_25_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/5/b7967db8578d7fc04f32b51941004bdc.jpg","text":"TemporaryFile(/tmp/multipartBody5341258051518138256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972605206,"filename":"image_03122025_06_23_55_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/160f168462d9abaa39f62cf3ca8aa878.jpg","text":"TemporaryFile(/tmp/multipartBody5148091754398209158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972605206,"filename":"image_03122025_06_24_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/5/4484db51679f352b4530464cf6d6d324.jpg","text":"TemporaryFile(/tmp/multipartBody8408823875254379707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972605206,"filename":"image_03122025_06_25_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a19e50472709e5d3310ca83f9358666.jpg","text":"TemporaryFile(/tmp/multipartBody8589286399130961335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972605206,"filename":"image_03122025_06_24_25_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171501","file1":"1398171499","file0":"1398171497","file4":"1398171503","file5":"1398171505","file3":"1398171502"},"map_files_photo_id_array":[{"photo_id":"1398171505","filename":"file5"},{"photo_id":"1398171501","filename":"file2"},{"photo_id":"1398171503","filename":"file4"},{"photo_id":"1398171499","filename":"file1"},{"photo_id":"1398171497","filename":"file0"},{"photo_id":"1398171502","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171502":["hashtag1","hashtag2"]},{"1398171505":["hashtag1","hashtag2"]},{"1398171497":["hashtag1","hashtag2"]},{"1398171501":["hashtag1","hashtag2"]},{"1398171503":["hashtag1","hashtag2"]},{"1398171499":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171502, 1398171505, 1398171497, 1398171501, 1398171503, 1398171499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89385747909546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:09:42.341863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_09_2808.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_13_3605.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_16_2788.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_18_2718.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_22_3677.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_25_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_09_2808.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_13_3605.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_16_2788.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_18_2718.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_22_3677.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_25_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":["1398171514","1398171511","1398171510","1398171513","1398171515","1398171512"],"photo_ids_order":["1398171510","1398171511","1398171512","1398171513","1398171514","1398171515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f42338f4cbab748175d8319891bc503c.jpg","text":"TemporaryFile(/tmp/multipartBody3733802690598541538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972643892,"filename":"image_31102025_21_10_22_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/5/d3176ad9b03619623ee2feb0a4b62210.jpg","text":"TemporaryFile(/tmp/multipartBody2672028473763740813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972643892,"filename":"image_31102025_21_10_13_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/5/74918f72a21ed778a15045a4f903733b.jpg","text":"TemporaryFile(/tmp/multipartBody2613318037226803377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972643892,"filename":"image_31102025_21_10_09_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/5/ff13c566c1325ce051bcdde6dff98b56.jpg","text":"TemporaryFile(/tmp/multipartBody7490298616830678576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972643892,"filename":"image_31102025_21_10_18_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/412eed5492c4ab862278f199d9043c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8583311203127792359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972643892,"filename":"image_31102025_21_10_25_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/5/88fd93a11df788b692b6dee933ef7939.jpg","text":"TemporaryFile(/tmp/multipartBody1838713399408595572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972643892,"filename":"image_31102025_21_10_16_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171512","file1":"1398171511","file0":"1398171510","file4":"1398171514","file5":"1398171515","file3":"1398171513"},"map_files_photo_id_array":[{"photo_id":"1398171515","filename":"file5"},{"photo_id":"1398171512","filename":"file2"},{"photo_id":"1398171514","filename":"file4"},{"photo_id":"1398171511","filename":"file1"},{"photo_id":"1398171510","filename":"file0"},{"photo_id":"1398171513","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171514":["hashtag1","hashtag2"]},{"1398171511":["hashtag1","hashtag2"]},{"1398171510":["hashtag1","hashtag2"]},{"1398171513":["hashtag1","hashtag2"]},{"1398171515":["hashtag1","hashtag2"]},{"1398171512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171514, 1398171511, 1398171510, 1398171513, 1398171515, 1398171512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60008502006531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:10:22.459055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_34_3588.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_36_2578.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_40_3555.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_54_2846.jpg', '/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_58_3535.jpg', '/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_03_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_34_3588.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_36_2578.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_40_3555.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_54_2846.jpg
/home/pi/Desktop/images/31102025/21/10/image_31102025_21_10_58_3535.jpg
/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_03_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":["1398171523","1398171531","1398171525","1398171516","1398171518","1398171527"],"photo_ids_order":["1398171516","1398171518","1398171523","1398171525","1398171527","1398171531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1c27ddbe12e3a9661ad70998d433ae06.jpg","text":"TemporaryFile(/tmp/multipartBody7139764432565725332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972683996,"filename":"image_31102025_21_10_40_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/5/1694a347b6cdcbf17b55452f388f0563.jpg","text":"TemporaryFile(/tmp/multipartBody7583434738659459664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972683996,"filename":"image_31102025_21_11_03_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/5/03a2b18de5de41f18a7f8f5dd60937c2.jpg","text":"TemporaryFile(/tmp/multipartBody3271142874308077555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972683996,"filename":"image_31102025_21_10_54_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fe47a87b0427fa05664f18a61d79082b.jpg","text":"TemporaryFile(/tmp/multipartBody6506323191266936084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972683996,"filename":"image_31102025_21_10_34_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/5/fbbeeca05ca42560e95fcf5c92da1d52.jpg","text":"TemporaryFile(/tmp/multipartBody8659653714321724749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972683996,"filename":"image_31102025_21_10_36_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d69d4e3f80d9441335d169cfd4c86ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8586976346302826663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972683996,"filename":"image_31102025_21_10_58_3535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171523","file1":"1398171518","file0":"1398171516","file4":"1398171527","file5":"1398171531","file3":"1398171525"},"map_files_photo_id_array":[{"photo_id":"1398171531","filename":"file5"},{"photo_id":"1398171523","filename":"file2"},{"photo_id":"1398171527","filename":"file4"},{"photo_id":"1398171518","filename":"file1"},{"photo_id":"1398171516","filename":"file0"},{"photo_id":"1398171525","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171523":["hashtag1","hashtag2"]},{"1398171531":["hashtag1","hashtag2"]},{"1398171525":["hashtag1","hashtag2"]},{"1398171516":["hashtag1","hashtag2"]},{"1398171518":["hashtag1","hashtag2"]},{"1398171527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171523, 1398171531, 1398171525, 1398171516, 1398171518, 1398171527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73392963409424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:11:03.365537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/25/image_03122025_06_25_55_10599.jpg', '/home/pi/Desktop/images/03122025/06/25/image_03122025_06_26_04_9698.jpg', '/home/pi/Desktop/images/03122025/06/26/image_03122025_06_26_14_9758.jpg', '/home/pi/Desktop/images/03122025/06/26/image_03122025_06_26_24_9860.jpg', '/home/pi/Desktop/images/03122025/06/26/image_03122025_06_26_35_10623.jpg', '/home/pi/Desktop/images/03122025/06/26/image_03122025_06_26_54_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/25/image_03122025_06_25_55_10599.jpg
/home/pi/Desktop/images/03122025/06/25/image_03122025_06_26_04_9698.jpg
/home/pi/Desktop/images/03122025/06/26/image_03122025_06_26_14_9758.jpg
/home/pi/Desktop/images/03122025/06/26/image_03122025_06_26_24_9860.jpg
/home/pi/Desktop/images/03122025/06/26/image_03122025_06_26_35_10623.jpg
/home/pi/Desktop/images/03122025/06/26/image_03122025_06_26_54_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":["1398171541","1398171540","1398171543","1398171537","1398171545","1398171539"],"photo_ids_order":["1398171537","1398171539","1398171540","1398171541","1398171543","1398171545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b1dd03eb17d33dd61155e0a930c0996b.jpg","text":"TemporaryFile(/tmp/multipartBody1778068179240498486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972725236,"filename":"image_03122025_06_26_24_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/5/b1b6a87b64e2054d09b7b408561e9dde.jpg","text":"TemporaryFile(/tmp/multipartBody3340904043821607801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972725236,"filename":"image_03122025_06_26_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/5/81b5857682feae2b63510b9b69d073e3.jpg","text":"TemporaryFile(/tmp/multipartBody2112239664200809951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972725236,"filename":"image_03122025_06_26_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/5/4b6cb63f7b89b9ad08fd3c0b54af80d0.jpg","text":"TemporaryFile(/tmp/multipartBody675681765667178804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972725236,"filename":"image_03122025_06_25_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/5/19f53b91557b08947b99ecbd1217649a.jpg","text":"TemporaryFile(/tmp/multipartBody8387751794835525121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972725236,"filename":"image_03122025_06_26_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/5/cb397aa2ef47ed4622e39211baefaa87.jpg","text":"TemporaryFile(/tmp/multipartBody9075705628144811128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972725236,"filename":"image_03122025_06_26_04_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171540","file1":"1398171539","file0":"1398171537","file4":"1398171543","file5":"1398171545","file3":"1398171541"},"map_files_photo_id_array":[{"photo_id":"1398171545","filename":"file5"},{"photo_id":"1398171540","filename":"file2"},{"photo_id":"1398171543","filename":"file4"},{"photo_id":"1398171539","filename":"file1"},{"photo_id":"1398171537","filename":"file0"},{"photo_id":"1398171541","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171541":["hashtag1","hashtag2"]},{"1398171540":["hashtag1","hashtag2"]},{"1398171543":["hashtag1","hashtag2"]},{"1398171537":["hashtag1","hashtag2"]},{"1398171545":["hashtag1","hashtag2"]},{"1398171539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171541, 1398171540, 1398171543, 1398171537, 1398171545, 1398171539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98260998725891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:11:42.636657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_09_2718.jpg', '/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_16_3688.jpg', '/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_21_2646.jpg', '/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_30_2733.jpg', '/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_34_3626.jpg', '/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_36_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_09_2718.jpg
/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_16_3688.jpg
/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_21_2646.jpg
/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_30_2733.jpg
/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_34_3626.jpg
/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_36_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171556","1398171555","1398171552","1398171554","1398171550","1398171553"],"photo_ids_order":["1398171550","1398171552","1398171553","1398171554","1398171555","1398171556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/77090cfa29453db75b1b01ad0fdc8071.jpg","text":"TemporaryFile(/tmp/multipartBody467797782399783673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972764170,"filename":"image_31102025_21_11_36_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/5/6b5dfb37841378a89d9b09d0265a6ae3.jpg","text":"TemporaryFile(/tmp/multipartBody8744317059240801531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972764170,"filename":"image_31102025_21_11_34_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/5/1e16c0c0022319de8a1e854eb9ddce40.jpg","text":"TemporaryFile(/tmp/multipartBody19862911006444887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972764170,"filename":"image_31102025_21_11_16_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/5/d125c4396bac9b7d3435a4dfc6b31ee0.jpg","text":"TemporaryFile(/tmp/multipartBody5379226164103061867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972764170,"filename":"image_31102025_21_11_30_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/5/0edf28e48ff4f5d0acac7f8293b81e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4998608792487030460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972764170,"filename":"image_31102025_21_11_09_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cad9759de4c8a22d989e0bf14140db32.jpg","text":"TemporaryFile(/tmp/multipartBody1486233587121092368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972764170,"filename":"image_31102025_21_11_21_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171553","file1":"1398171552","file0":"1398171550","file4":"1398171555","file5":"1398171556","file3":"1398171554"},"map_files_photo_id_array":[{"photo_id":"1398171556","filename":"file5"},{"photo_id":"1398171553","filename":"file2"},{"photo_id":"1398171555","filename":"file4"},{"photo_id":"1398171552","filename":"file1"},{"photo_id":"1398171550","filename":"file0"},{"photo_id":"1398171554","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171556":["hashtag1","hashtag2"]},{"1398171555":["hashtag1","hashtag2"]},{"1398171552":["hashtag1","hashtag2"]},{"1398171554":["hashtag1","hashtag2"]},{"1398171550":["hashtag1","hashtag2"]},{"1398171553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171556, 1398171555, 1398171552, 1398171554, 1398171550, 1398171553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39389944076538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:12:22.810240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_39_2673.jpg', '/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_45_2584.jpg', '/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_58_3784.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_01_2695.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_03_2779.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_06_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_39_2673.jpg
/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_45_2584.jpg
/home/pi/Desktop/images/31102025/21/11/image_31102025_21_11_58_3784.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_01_2695.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_03_2779.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_06_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171570","1398171564","1398171558","1398171572","1398171575","1398171560"],"photo_ids_order":["1398171558","1398171560","1398171564","1398171570","1398171572","1398171575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/259f7700e86827c08ce8d3a1130d0bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4995936948284344126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972804351,"filename":"image_31102025_21_12_01_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/5/f892678c4a2dc4ad29e2d05f15331323.jpg","text":"TemporaryFile(/tmp/multipartBody3196761708959422032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972804351,"filename":"image_31102025_21_11_58_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/105fe11d48e24e51eacdeffe6ced560d.jpg","text":"TemporaryFile(/tmp/multipartBody7594874954639934489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972804351,"filename":"image_31102025_21_11_39_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/5/bff9249f46f668cdfd97e8f040daeb8f.jpg","text":"TemporaryFile(/tmp/multipartBody7849288197661895635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972804351,"filename":"image_31102025_21_12_03_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cce672f38b0169b34734c3c624b9d4ff.jpg","text":"TemporaryFile(/tmp/multipartBody8866462278386156387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972804351,"filename":"image_31102025_21_12_06_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/5/8241d668d58fc53a7d0715e4e9cbdc35.jpg","text":"TemporaryFile(/tmp/multipartBody7000706984316350665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972804351,"filename":"image_31102025_21_11_45_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171564","file1":"1398171560","file0":"1398171558","file4":"1398171572","file5":"1398171575","file3":"1398171570"},"map_files_photo_id_array":[{"photo_id":"1398171575","filename":"file5"},{"photo_id":"1398171564","filename":"file2"},{"photo_id":"1398171572","filename":"file4"},{"photo_id":"1398171560","filename":"file1"},{"photo_id":"1398171558","filename":"file0"},{"photo_id":"1398171570","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171570":["hashtag1","hashtag2"]},{"1398171564":["hashtag1","hashtag2"]},{"1398171558":["hashtag1","hashtag2"]},{"1398171572":["hashtag1","hashtag2"]},{"1398171575":["hashtag1","hashtag2"]},{"1398171560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171570, 1398171564, 1398171558, 1398171572, 1398171575, 1398171560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28405475616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:13:02.912846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/26/image_03122025_06_27_05_10746.jpg', '/home/pi/Desktop/images/03122025/06/27/image_03122025_06_27_14_9678.jpg', '/home/pi/Desktop/images/03122025/06/27/image_03122025_06_27_24_9743.jpg', '/home/pi/Desktop/images/03122025/06/27/image_03122025_06_27_34_9727.jpg', '/home/pi/Desktop/images/03122025/06/27/image_03122025_06_27_44_10599.jpg', '/home/pi/Desktop/images/03122025/06/27/image_03122025_06_27_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/26/image_03122025_06_27_05_10746.jpg
/home/pi/Desktop/images/03122025/06/27/image_03122025_06_27_14_9678.jpg
/home/pi/Desktop/images/03122025/06/27/image_03122025_06_27_24_9743.jpg
/home/pi/Desktop/images/03122025/06/27/image_03122025_06_27_34_9727.jpg
/home/pi/Desktop/images/03122025/06/27/image_03122025_06_27_44_10599.jpg
/home/pi/Desktop/images/03122025/06/27/image_03122025_06_27_54_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171576","1398171579","1398171578","1398171581","1398171583","1398171577"],"photo_ids_order":["1398171576","1398171577","1398171578","1398171579","1398171581","1398171583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ec4122ed50a2e9e62ef057eafa89152a.jpg","text":"TemporaryFile(/tmp/multipartBody2398937928664553198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972844684,"filename":"image_03122025_06_27_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/5/af8e401a26d977ccbd843edefcec14a1.jpg","text":"TemporaryFile(/tmp/multipartBody2947869418783466200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972844684,"filename":"image_03122025_06_27_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/5/614fedebe196945a8ffe0d5486389bac.jpg","text":"TemporaryFile(/tmp/multipartBody4862464725992911503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972844684,"filename":"image_03122025_06_27_24_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7db8ab2c511f353db648f34d10ba1665.jpg","text":"TemporaryFile(/tmp/multipartBody5142089029260508222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972844684,"filename":"image_03122025_06_27_44_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/5/c758de2492657447e579a08a60083f88.jpg","text":"TemporaryFile(/tmp/multipartBody8045092781915697168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972844684,"filename":"image_03122025_06_27_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2009204cf0de1f0f23104b674f362783.jpg","text":"TemporaryFile(/tmp/multipartBody7786838559956109255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972844684,"filename":"image_03122025_06_27_14_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171578","file1":"1398171577","file0":"1398171576","file4":"1398171581","file5":"1398171583","file3":"1398171579"},"map_files_photo_id_array":[{"photo_id":"1398171583","filename":"file5"},{"photo_id":"1398171578","filename":"file2"},{"photo_id":"1398171581","filename":"file4"},{"photo_id":"1398171577","filename":"file1"},{"photo_id":"1398171576","filename":"file0"},{"photo_id":"1398171579","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171576":["hashtag1","hashtag2"]},{"1398171579":["hashtag1","hashtag2"]},{"1398171578":["hashtag1","hashtag2"]},{"1398171581":["hashtag1","hashtag2"]},{"1398171583":["hashtag1","hashtag2"]},{"1398171577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171576, 1398171579, 1398171578, 1398171581, 1398171583, 1398171577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48466634750366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:13:42.123033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_10_3622.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_15_2568.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_19_3705.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_21_2578.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_24_2733.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_28_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_10_3622.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_15_2568.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_19_3705.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_21_2578.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_24_2733.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_28_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":["1398171591","1398171588","1398171590","1398171593","1398171589","1398171592"],"photo_ids_order":["1398171588","1398171589","1398171590","1398171591","1398171592","1398171593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c24f2aaba78469f2afc84d501f09075b.jpg","text":"TemporaryFile(/tmp/multipartBody6263299756212767107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972883712,"filename":"image_31102025_21_12_21_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/94aac794565f4c4ec42862c53a995291.jpg","text":"TemporaryFile(/tmp/multipartBody2381263227114690854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972883712,"filename":"image_31102025_21_12_10_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/68209a8c2bf5a76886bf77aa9f1671cb.jpg","text":"TemporaryFile(/tmp/multipartBody1400768251721899219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972883712,"filename":"image_31102025_21_12_19_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/5/c3d77ca4c1274d271c9c0a112c7ab7d2.jpg","text":"TemporaryFile(/tmp/multipartBody292697804417427584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972883712,"filename":"image_31102025_21_12_28_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/5/a27c0f3d5463cb6ebe377bd582579996.jpg","text":"TemporaryFile(/tmp/multipartBody6924187791640441902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972883712,"filename":"image_31102025_21_12_15_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d023f1d4267e55942b61563b08992d16.jpg","text":"TemporaryFile(/tmp/multipartBody7975129643366999961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972883712,"filename":"image_31102025_21_12_24_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171590","file1":"1398171589","file0":"1398171588","file4":"1398171592","file5":"1398171593","file3":"1398171591"},"map_files_photo_id_array":[{"photo_id":"1398171593","filename":"file5"},{"photo_id":"1398171590","filename":"file2"},{"photo_id":"1398171592","filename":"file4"},{"photo_id":"1398171589","filename":"file1"},{"photo_id":"1398171588","filename":"file0"},{"photo_id":"1398171591","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171591":["hashtag1","hashtag2"]},{"1398171588":["hashtag1","hashtag2"]},{"1398171590":["hashtag1","hashtag2"]},{"1398171593":["hashtag1","hashtag2"]},{"1398171589":["hashtag1","hashtag2"]},{"1398171592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171591, 1398171588, 1398171590, 1398171593, 1398171589, 1398171592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15852403640747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:14:22.346704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_30_2490.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_36_2556.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_39_2590.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_45_2708.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_48_2681.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_52_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_30_2490.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_36_2556.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_39_2590.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_45_2708.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_48_2681.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_52_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":["1398171597","1398171603","1398171600","1398171602","1398171605","1398171608"],"photo_ids_order":["1398171597","1398171600","1398171602","1398171603","1398171605","1398171608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bdbe323a2263555000735738ab91c561.jpg","text":"TemporaryFile(/tmp/multipartBody916986245276261815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972923906,"filename":"image_31102025_21_12_30_2490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3cc66883f8fffa663175d4a40211887d.jpg","text":"TemporaryFile(/tmp/multipartBody6378110481272380634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972923906,"filename":"image_31102025_21_12_45_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/5/59b47c86ca53785761210d6fd4236675.jpg","text":"TemporaryFile(/tmp/multipartBody9135830729270039451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972923906,"filename":"image_31102025_21_12_36_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/5/a2b792b91d0a884c1cc6817405dd6f23.jpg","text":"TemporaryFile(/tmp/multipartBody8984576461678220646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972923906,"filename":"image_31102025_21_12_39_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/5/3092a4ee1df49b9aa88fdf3ae724d685.jpg","text":"TemporaryFile(/tmp/multipartBody5942882262665885416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972923906,"filename":"image_31102025_21_12_48_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/5/36fe4a12928492651f7753e1e4ce02a3.jpg","text":"TemporaryFile(/tmp/multipartBody937497855516859889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972923906,"filename":"image_31102025_21_12_52_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171602","file1":"1398171600","file0":"1398171597","file4":"1398171605","file5":"1398171608","file3":"1398171603"},"map_files_photo_id_array":[{"photo_id":"1398171608","filename":"file5"},{"photo_id":"1398171602","filename":"file2"},{"photo_id":"1398171605","filename":"file4"},{"photo_id":"1398171600","filename":"file1"},{"photo_id":"1398171597","filename":"file0"},{"photo_id":"1398171603","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171597":["hashtag1","hashtag2"]},{"1398171603":["hashtag1","hashtag2"]},{"1398171600":["hashtag1","hashtag2"]},{"1398171602":["hashtag1","hashtag2"]},{"1398171605":["hashtag1","hashtag2"]},{"1398171608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171597, 1398171603, 1398171600, 1398171602, 1398171605, 1398171608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31251883506775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:15:03.250882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/27/image_03122025_06_28_04_9726.jpg', '/home/pi/Desktop/images/03122025/06/28/image_03122025_06_28_15_10770.jpg', '/home/pi/Desktop/images/03122025/06/28/image_03122025_06_28_24_9798.jpg', '/home/pi/Desktop/images/03122025/06/28/image_03122025_06_29_04_10653.jpg', '/home/pi/Desktop/images/03122025/06/29/image_03122025_06_29_24_9618.jpg', '/home/pi/Desktop/images/03122025/06/29/image_03122025_06_29_44_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/27/image_03122025_06_28_04_9726.jpg
/home/pi/Desktop/images/03122025/06/28/image_03122025_06_28_15_10770.jpg
/home/pi/Desktop/images/03122025/06/28/image_03122025_06_28_24_9798.jpg
/home/pi/Desktop/images/03122025/06/28/image_03122025_06_29_04_10653.jpg
/home/pi/Desktop/images/03122025/06/29/image_03122025_06_29_24_9618.jpg
/home/pi/Desktop/images/03122025/06/29/image_03122025_06_29_44_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171613","1398171616","1398171612","1398171614","1398171617","1398171611"],"photo_ids_order":["1398171611","1398171612","1398171613","1398171614","1398171616","1398171617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/39a1e35fb528e6f7deaa8de9c55b9141.jpg","text":"TemporaryFile(/tmp/multipartBody3318978713948339328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972965075,"filename":"image_03122025_06_28_24_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5b1ac53a9dfccc658bf6abb0e08dc8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7504683809915437244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972965075,"filename":"image_03122025_06_29_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/5/12636f786fa3e743bb675903d2f82fc9.jpg","text":"TemporaryFile(/tmp/multipartBody5059913101177221001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972965075,"filename":"image_03122025_06_28_15_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/5/bf3e2ad57b81df4204e97ed092c5e012.jpg","text":"TemporaryFile(/tmp/multipartBody1332098051964440686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972965075,"filename":"image_03122025_06_29_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/5/433636ec09247b6bfa86a39cc0451dd1.jpg","text":"TemporaryFile(/tmp/multipartBody3251305597610110029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972965075,"filename":"image_03122025_06_29_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/5/7f5bb843ca8e9b9a13ffbb3083002970.jpg","text":"TemporaryFile(/tmp/multipartBody4879600491557305818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764972965075,"filename":"image_03122025_06_28_04_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171613","file1":"1398171612","file0":"1398171611","file4":"1398171616","file5":"1398171617","file3":"1398171614"},"map_files_photo_id_array":[{"photo_id":"1398171617","filename":"file5"},{"photo_id":"1398171613","filename":"file2"},{"photo_id":"1398171616","filename":"file4"},{"photo_id":"1398171612","filename":"file1"},{"photo_id":"1398171611","filename":"file0"},{"photo_id":"1398171614","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171613":["hashtag1","hashtag2"]},{"1398171616":["hashtag1","hashtag2"]},{"1398171612":["hashtag1","hashtag2"]},{"1398171614":["hashtag1","hashtag2"]},{"1398171617":["hashtag1","hashtag2"]},{"1398171611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171613, 1398171616, 1398171612, 1398171614, 1398171617, 1398171611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98022699356079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:15:42.458234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_54_2633.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_57_2684.jpg', '/home/pi/Desktop/images/31102025/21/12/image_31102025_21_13_01_3664.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_07_3610.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_18_2653.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_22_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_54_2633.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_12_57_2684.jpg
/home/pi/Desktop/images/31102025/21/12/image_31102025_21_13_01_3664.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_07_3610.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_18_2653.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_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":["1398171628","1398171624","1398171627","1398171623","1398171626","1398171625"],"photo_ids_order":["1398171623","1398171624","1398171625","1398171626","1398171627","1398171628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d3ef15a3dc5a2f5f2df15cd87b82d848.jpg","text":"TemporaryFile(/tmp/multipartBody8697500813934054224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973004092,"filename":"image_31102025_21_13_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/5/c20b3c2ed2be0ef75fa2fc409fb2d5e6.jpg","text":"TemporaryFile(/tmp/multipartBody7913457892551522624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973004092,"filename":"image_31102025_21_12_57_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/5/acde3892259ab83f131740ec32660c03.jpg","text":"TemporaryFile(/tmp/multipartBody7741483159675428523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973004092,"filename":"image_31102025_21_13_18_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/5/77fefeafcb406f9b27402ad0181e692d.jpg","text":"TemporaryFile(/tmp/multipartBody2044598789212954775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973004092,"filename":"image_31102025_21_12_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/5/bcfa04883271a79a800396a4e6be923a.jpg","text":"TemporaryFile(/tmp/multipartBody5898111094194157357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973004092,"filename":"image_31102025_21_13_07_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/5/235e9319c55995af325a8edc55c8386a.jpg","text":"TemporaryFile(/tmp/multipartBody4987334483338601744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973004092,"filename":"image_31102025_21_13_01_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171625","file1":"1398171624","file0":"1398171623","file4":"1398171627","file5":"1398171628","file3":"1398171626"},"map_files_photo_id_array":[{"photo_id":"1398171628","filename":"file5"},{"photo_id":"1398171625","filename":"file2"},{"photo_id":"1398171627","filename":"file4"},{"photo_id":"1398171624","filename":"file1"},{"photo_id":"1398171623","filename":"file0"},{"photo_id":"1398171626","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171628":["hashtag1","hashtag2"]},{"1398171624":["hashtag1","hashtag2"]},{"1398171627":["hashtag1","hashtag2"]},{"1398171623":["hashtag1","hashtag2"]},{"1398171626":["hashtag1","hashtag2"]},{"1398171625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171628, 1398171624, 1398171627, 1398171623, 1398171626, 1398171625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.175105810165405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:16:22.651683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/23/07/image_05122025_23_07_34_9667.jpg', '/home/pi/Desktop/images/05122025/23/15/image_05122025_23_15_55_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/23/07/image_05122025_23_07_34_9667.jpg
/home/pi/Desktop/images/05122025/23/15/image_05122025_23_15_55_10738.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4297947883605957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 23:16:32.631408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/29/image_03122025_06_30_05_10654.jpg', '/home/pi/Desktop/images/03122025/06/30/image_03122025_06_30_14_9639.jpg', '/home/pi/Desktop/images/03122025/06/30/image_03122025_06_30_24_9666.jpg', '/home/pi/Desktop/images/03122025/06/30/image_03122025_06_30_44_9830.jpg', '/home/pi/Desktop/images/03122025/06/30/image_03122025_06_30_54_9776.jpg', '/home/pi/Desktop/images/03122025/06/31/image_03122025_06_31_15_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/29/image_03122025_06_30_05_10654.jpg
/home/pi/Desktop/images/03122025/06/30/image_03122025_06_30_14_9639.jpg
/home/pi/Desktop/images/03122025/06/30/image_03122025_06_30_24_9666.jpg
/home/pi/Desktop/images/03122025/06/30/image_03122025_06_30_44_9830.jpg
/home/pi/Desktop/images/03122025/06/30/image_03122025_06_30_54_9776.jpg
/home/pi/Desktop/images/03122025/06/31/image_03122025_06_31_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":["1398171642","1398171633","1398171641","1398171635","1398171638","1398171643"],"photo_ids_order":["1398171633","1398171635","1398171638","1398171641","1398171642","1398171643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c21d8dea7830a5086f7101e61010119f.jpg","text":"TemporaryFile(/tmp/multipartBody8542999719184804363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973054889,"filename":"image_03122025_06_30_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/5/e1a9a8a67d7b11eb6a73eaf87e2bfa15.jpg","text":"TemporaryFile(/tmp/multipartBody106657334246611564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973054889,"filename":"image_03122025_06_30_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/5/b4fe109ae1ec8e3def78ac20a81056e5.jpg","text":"TemporaryFile(/tmp/multipartBody2004705484268245030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973054889,"filename":"image_03122025_06_30_44_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2c44f5c905180c92cd4b2ecafd3f66ee.jpg","text":"TemporaryFile(/tmp/multipartBody8299063335403648207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973054889,"filename":"image_03122025_06_30_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/5/9b51dd0e118ee0e11791066ad0762ad7.jpg","text":"TemporaryFile(/tmp/multipartBody4548966021427766532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973054889,"filename":"image_03122025_06_30_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f1172dc8c45f365484d3cc96af75a81e.jpg","text":"TemporaryFile(/tmp/multipartBody6502931638799169890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973054889,"filename":"image_03122025_06_31_15_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171638","file1":"1398171635","file0":"1398171633","file4":"1398171642","file5":"1398171643","file3":"1398171641"},"map_files_photo_id_array":[{"photo_id":"1398171643","filename":"file5"},{"photo_id":"1398171638","filename":"file2"},{"photo_id":"1398171642","filename":"file4"},{"photo_id":"1398171635","filename":"file1"},{"photo_id":"1398171633","filename":"file0"},{"photo_id":"1398171641","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171642":["hashtag1","hashtag2"]},{"1398171633":["hashtag1","hashtag2"]},{"1398171641":["hashtag1","hashtag2"]},{"1398171635":["hashtag1","hashtag2"]},{"1398171638":["hashtag1","hashtag2"]},{"1398171643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171642, 1398171633, 1398171641, 1398171635, 1398171638, 1398171643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63390064239502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 23:17:11.946832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/31/image_03122025_06_31_45_10555.jpg', '/home/pi/Desktop/images/03122025/06/32/image_03122025_06_32_15_10570.jpg', '/home/pi/Desktop/images/03122025/06/32/image_03122025_06_32_55_10728.jpg', '/home/pi/Desktop/images/03122025/06/33/image_03122025_06_33_14_9745.jpg', '/home/pi/Desktop/images/03122025/06/33/image_03122025_06_33_24_9743.jpg', '/home/pi/Desktop/images/03122025/06/33/image_03122025_06_33_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/31/image_03122025_06_31_45_10555.jpg
/home/pi/Desktop/images/03122025/06/32/image_03122025_06_32_15_10570.jpg
/home/pi/Desktop/images/03122025/06/32/image_03122025_06_32_55_10728.jpg
/home/pi/Desktop/images/03122025/06/33/image_03122025_06_33_14_9745.jpg
/home/pi/Desktop/images/03122025/06/33/image_03122025_06_33_24_9743.jpg
/home/pi/Desktop/images/03122025/06/33/image_03122025_06_33_54_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171648","1398171645","1398171650","1398171644","1398171652","1398171646"],"photo_ids_order":["1398171644","1398171645","1398171646","1398171648","1398171650","1398171652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4b3d89066030a377c66a4c9d68da89f1.jpg","text":"TemporaryFile(/tmp/multipartBody5005577492730539252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973094109,"filename":"image_03122025_06_33_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f832db9bb89de4f03e129a1f5cee097a.jpg","text":"TemporaryFile(/tmp/multipartBody5877652145732825584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973094109,"filename":"image_03122025_06_32_15_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/5/1c6f97aa07408bfa27e022d60e9af1b2.jpg","text":"TemporaryFile(/tmp/multipartBody7240699643109837945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973094109,"filename":"image_03122025_06_33_24_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af5e1c819dc257a0fad6c55fe4d4bd05.jpg","text":"TemporaryFile(/tmp/multipartBody8436587671552169033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973094109,"filename":"image_03122025_06_31_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/5/42754dbb1b3cd83d23cf13570bc2f259.jpg","text":"TemporaryFile(/tmp/multipartBody4072944684560371025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973094109,"filename":"image_03122025_06_33_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/5/19419d9d6b8e7aa0583fc0835362253f.jpg","text":"TemporaryFile(/tmp/multipartBody965293949466812471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973094109,"filename":"image_03122025_06_32_55_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171646","file1":"1398171645","file0":"1398171644","file4":"1398171650","file5":"1398171652","file3":"1398171648"},"map_files_photo_id_array":[{"photo_id":"1398171652","filename":"file5"},{"photo_id":"1398171646","filename":"file2"},{"photo_id":"1398171650","filename":"file4"},{"photo_id":"1398171645","filename":"file1"},{"photo_id":"1398171644","filename":"file0"},{"photo_id":"1398171648","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171648":["hashtag1","hashtag2"]},{"1398171645":["hashtag1","hashtag2"]},{"1398171650":["hashtag1","hashtag2"]},{"1398171644":["hashtag1","hashtag2"]},{"1398171652":["hashtag1","hashtag2"]},{"1398171646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171648, 1398171645, 1398171650, 1398171644, 1398171652, 1398171646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72657370567322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:18:02.430623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/23/07/image_05122025_23_07_34_9667.jpg', '/home/pi/Desktop/images/05122025/23/15/image_05122025_23_15_55_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/23/07/image_05122025_23_07_34_9667.jpg
/home/pi/Desktop/images/05122025/23/15/image_05122025_23_15_55_10738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171656","1398171658"],"photo_ids_order":["1398171656","1398171658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2ca5fae3c80cf1cfc2c10cdd421329b0.jpg","text":"TemporaryFile(/tmp/multipartBody1317473184723745817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973142982,"filename":"image_05122025_23_07_34_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/5/972f81a5efe5b6aa14502977a58ea2db.jpg","text":"TemporaryFile(/tmp/multipartBody6114054352891223846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973142982,"filename":"image_05122025_23_15_55_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1398171658","file0":"1398171656"},"map_files_photo_id_array":[{"photo_id":"1398171658","filename":"file1"},{"photo_id":"1398171656","filename":"file0"}],"portfolio_id":29203341,"hashtag_by_photo_ids":[{"1398171656":["hashtag1","hashtag2"]},{"1398171658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29203341 used, photo_id : ArrayBuffer(1398171656, 1398171658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.38934588432312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:18:21.991543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_24_2610.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_27_2651.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_30_3612.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_33_2788.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_37_3529.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_39_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_24_2610.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_27_2651.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_30_3612.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_33_2788.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_37_3529.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_39_2549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171666","1398171660","1398171661","1398171670","1398171664","1398171667"],"photo_ids_order":["1398171660","1398171661","1398171664","1398171666","1398171667","1398171670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e481ceb7d02614c6766901b29d9fe077.jpg","text":"TemporaryFile(/tmp/multipartBody5455366274231301301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973163577,"filename":"image_31102025_21_13_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/5/18745a90e39d67c10792fd9dff2f614e.jpg","text":"TemporaryFile(/tmp/multipartBody7272163926300431213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973163577,"filename":"image_31102025_21_13_24_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/5/3cd67eb728e8de2e61704fadc80df910.jpg","text":"TemporaryFile(/tmp/multipartBody3432754806554763039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973163577,"filename":"image_31102025_21_13_27_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/5/987c78678319e3034e26c55a66a0d841.jpg","text":"TemporaryFile(/tmp/multipartBody3003323306277747847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973163577,"filename":"image_31102025_21_13_39_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/5/059af65a2ab73fe66b51bb110b0a2efd.jpg","text":"TemporaryFile(/tmp/multipartBody1133160212188847587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973163577,"filename":"image_31102025_21_13_30_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/5/1c0ff2fe4063fc071f98c431aa169287.jpg","text":"TemporaryFile(/tmp/multipartBody1582139947230059744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973163577,"filename":"image_31102025_21_13_37_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171664","file1":"1398171661","file0":"1398171660","file4":"1398171667","file5":"1398171670","file3":"1398171666"},"map_files_photo_id_array":[{"photo_id":"1398171670","filename":"file5"},{"photo_id":"1398171664","filename":"file2"},{"photo_id":"1398171667","filename":"file4"},{"photo_id":"1398171661","filename":"file1"},{"photo_id":"1398171660","filename":"file0"},{"photo_id":"1398171666","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171666":["hashtag1","hashtag2"]},{"1398171660":["hashtag1","hashtag2"]},{"1398171661":["hashtag1","hashtag2"]},{"1398171670":["hashtag1","hashtag2"]},{"1398171664":["hashtag1","hashtag2"]},{"1398171667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171666, 1398171660, 1398171661, 1398171670, 1398171664, 1398171667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58149695396423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:19:03.165665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/35/image_03122025_06_36_04_9913.jpg', '/home/pi/Desktop/images/03122025/06/36/image_03122025_06_36_14_9703.jpg', '/home/pi/Desktop/images/03122025/06/36/image_03122025_06_36_25_10598.jpg', '/home/pi/Desktop/images/03122025/06/36/image_03122025_06_36_34_9596.jpg', '/home/pi/Desktop/images/03122025/06/37/image_03122025_06_37_14_9598.jpg', '/home/pi/Desktop/images/03122025/06/37/image_03122025_06_37_34_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/35/image_03122025_06_36_04_9913.jpg
/home/pi/Desktop/images/03122025/06/36/image_03122025_06_36_14_9703.jpg
/home/pi/Desktop/images/03122025/06/36/image_03122025_06_36_25_10598.jpg
/home/pi/Desktop/images/03122025/06/36/image_03122025_06_36_34_9596.jpg
/home/pi/Desktop/images/03122025/06/37/image_03122025_06_37_14_9598.jpg
/home/pi/Desktop/images/03122025/06/37/image_03122025_06_37_34_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171675","1398171678","1398171680","1398171674","1398171673","1398171676"],"photo_ids_order":["1398171673","1398171674","1398171675","1398171676","1398171678","1398171680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7cca5b3aac9f4498e2f47396407adc70.jpg","text":"TemporaryFile(/tmp/multipartBody6437146142716437250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973204936,"filename":"image_03122025_06_36_25_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/5/0a9fe62afdbc760e5e72f0b49e25bd33.jpg","text":"TemporaryFile(/tmp/multipartBody2014316646115613725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973204936,"filename":"image_03122025_06_37_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/5/d91458d6b30d9bcb7f624db87f317cd7.jpg","text":"TemporaryFile(/tmp/multipartBody7250460791120396057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973204936,"filename":"image_03122025_06_37_34_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/5/fa4940b77a7e348f44e502f529aa17fa.jpg","text":"TemporaryFile(/tmp/multipartBody5431402630172516174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973204936,"filename":"image_03122025_06_36_14_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/5/2202e063b25bfba508634d5585bbf3d7.jpg","text":"TemporaryFile(/tmp/multipartBody996892090541694657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973204936,"filename":"image_03122025_06_36_04_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/5/1f171577647a097029cd3ba7b1327c05.jpg","text":"TemporaryFile(/tmp/multipartBody8417319662189312045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973204936,"filename":"image_03122025_06_36_34_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171675","file1":"1398171674","file0":"1398171673","file4":"1398171678","file5":"1398171680","file3":"1398171676"},"map_files_photo_id_array":[{"photo_id":"1398171680","filename":"file5"},{"photo_id":"1398171675","filename":"file2"},{"photo_id":"1398171678","filename":"file4"},{"photo_id":"1398171674","filename":"file1"},{"photo_id":"1398171673","filename":"file0"},{"photo_id":"1398171676","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171675":["hashtag1","hashtag2"]},{"1398171678":["hashtag1","hashtag2"]},{"1398171680":["hashtag1","hashtag2"]},{"1398171674":["hashtag1","hashtag2"]},{"1398171673":["hashtag1","hashtag2"]},{"1398171676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171675, 1398171678, 1398171680, 1398171674, 1398171673, 1398171676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90756702423096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:19:42.198132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_42_2545.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_45_3607.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_48_2643.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_54_3616.jpg', '/home/pi/Desktop/images/31102025/21/13/image_31102025_21_14_01_3616.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_03_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_42_2545.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_45_3607.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_48_2643.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_13_54_3616.jpg
/home/pi/Desktop/images/31102025/21/13/image_31102025_21_14_01_3616.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_03_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":["1398171690","1398171687","1398171689","1398171686","1398171688","1398171685"],"photo_ids_order":["1398171685","1398171686","1398171687","1398171688","1398171689","1398171690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23b9ca4d821a759de89187c4fdcc3cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2292527265583427336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973243739,"filename":"image_31102025_21_14_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/5/fdb15b2abc16bca17fb375162b33a448.jpg","text":"TemporaryFile(/tmp/multipartBody7927634705321044593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973243739,"filename":"image_31102025_21_13_48_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/5/12f03d4b0b522d491e3c162e9005dbbf.jpg","text":"TemporaryFile(/tmp/multipartBody5556291100008892700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973243739,"filename":"image_31102025_21_14_01_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/5/4669a5f443b4cb992f1087a0daee8d80.jpg","text":"TemporaryFile(/tmp/multipartBody7821214134886318360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973243739,"filename":"image_31102025_21_13_45_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/5/13099189261f408e2b97a81f4557475d.jpg","text":"TemporaryFile(/tmp/multipartBody8169739920684825765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973243739,"filename":"image_31102025_21_13_54_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/5/4de1dda9333f02d676e05bde7b4c7c8a.jpg","text":"TemporaryFile(/tmp/multipartBody6759374255021856012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973243739,"filename":"image_31102025_21_13_42_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171687","file1":"1398171686","file0":"1398171685","file4":"1398171689","file5":"1398171690","file3":"1398171688"},"map_files_photo_id_array":[{"photo_id":"1398171690","filename":"file5"},{"photo_id":"1398171687","filename":"file2"},{"photo_id":"1398171689","filename":"file4"},{"photo_id":"1398171686","filename":"file1"},{"photo_id":"1398171685","filename":"file0"},{"photo_id":"1398171688","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171690":["hashtag1","hashtag2"]},{"1398171687":["hashtag1","hashtag2"]},{"1398171689":["hashtag1","hashtag2"]},{"1398171686":["hashtag1","hashtag2"]},{"1398171688":["hashtag1","hashtag2"]},{"1398171685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171690, 1398171687, 1398171689, 1398171686, 1398171688, 1398171685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71447682380676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:20:22.338194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_18_2821.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_21_3696.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_24_2649.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_27_2652.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_31_3890.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_33_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_18_2821.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_21_3696.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_24_2649.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_27_2652.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_31_3890.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_33_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":["1398171700","1398171703","1398171696","1398171698","1398171701","1398171694"],"photo_ids_order":["1398171694","1398171696","1398171698","1398171700","1398171701","1398171703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e19783e0e975e854cf55261ec659edda.jpg","text":"TemporaryFile(/tmp/multipartBody5362219205014546470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973283916,"filename":"image_31102025_21_14_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/5/b9ff89fe756114bcb59f3861d5bb021d.jpg","text":"TemporaryFile(/tmp/multipartBody1347802640629275365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973283916,"filename":"image_31102025_21_14_33_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/5/5c2d2a48748e2f1c9353fe2e8766ca37.jpg","text":"TemporaryFile(/tmp/multipartBody8536873024203523071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973283916,"filename":"image_31102025_21_14_21_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/5/81fcfc5cb95a0cd64b226ef32b84f9fc.jpg","text":"TemporaryFile(/tmp/multipartBody3501306205246782178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973283916,"filename":"image_31102025_21_14_24_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/5/702376b281900faec7abb44130e9d375.jpg","text":"TemporaryFile(/tmp/multipartBody3228619967075016430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973283916,"filename":"image_31102025_21_14_31_3890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b3ddb4b02ed6966444fc64768655f578.jpg","text":"TemporaryFile(/tmp/multipartBody4947486486005894722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973283916,"filename":"image_31102025_21_14_18_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171698","file1":"1398171696","file0":"1398171694","file4":"1398171701","file5":"1398171703","file3":"1398171700"},"map_files_photo_id_array":[{"photo_id":"1398171703","filename":"file5"},{"photo_id":"1398171698","filename":"file2"},{"photo_id":"1398171701","filename":"file4"},{"photo_id":"1398171696","filename":"file1"},{"photo_id":"1398171694","filename":"file0"},{"photo_id":"1398171700","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171700":["hashtag1","hashtag2"]},{"1398171703":["hashtag1","hashtag2"]},{"1398171696":["hashtag1","hashtag2"]},{"1398171698":["hashtag1","hashtag2"]},{"1398171701":["hashtag1","hashtag2"]},{"1398171694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171700, 1398171703, 1398171696, 1398171698, 1398171701, 1398171694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96268892288208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:21:03.289420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/37/image_03122025_06_37_54_9839.jpg', '/home/pi/Desktop/images/03122025/06/38/image_03122025_06_38_44_9680.jpg', '/home/pi/Desktop/images/03122025/06/38/image_03122025_06_38_54_9860.jpg', '/home/pi/Desktop/images/03122025/06/38/image_03122025_06_39_05_10600.jpg', '/home/pi/Desktop/images/03122025/06/39/image_03122025_06_40_04_9666.jpg', '/home/pi/Desktop/images/03122025/06/41/image_03122025_06_41_14_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/37/image_03122025_06_37_54_9839.jpg
/home/pi/Desktop/images/03122025/06/38/image_03122025_06_38_44_9680.jpg
/home/pi/Desktop/images/03122025/06/38/image_03122025_06_38_54_9860.jpg
/home/pi/Desktop/images/03122025/06/38/image_03122025_06_39_05_10600.jpg
/home/pi/Desktop/images/03122025/06/39/image_03122025_06_40_04_9666.jpg
/home/pi/Desktop/images/03122025/06/41/image_03122025_06_41_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":["1398171709","1398171711","1398171705","1398171708","1398171713","1398171707"],"photo_ids_order":["1398171705","1398171707","1398171708","1398171709","1398171711","1398171713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/97e2f30a899bc0c0485a09a943d7d68e.jpg","text":"TemporaryFile(/tmp/multipartBody2501078433161465803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973325180,"filename":"image_03122025_06_39_05_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/5/863777bf32ede515325b9f9faf450a19.jpg","text":"TemporaryFile(/tmp/multipartBody6347070014667093754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973325180,"filename":"image_03122025_06_40_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/5/56a6dc1e54e47c64347648ffd8b6d17c.jpg","text":"TemporaryFile(/tmp/multipartBody3647217346580282946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973325180,"filename":"image_03122025_06_37_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/5/6094a2cd2dcd574d4f07a745f51106e4.jpg","text":"TemporaryFile(/tmp/multipartBody4679979686789294862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973325180,"filename":"image_03122025_06_38_54_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9656a5545864e011e862feca9939c880.jpg","text":"TemporaryFile(/tmp/multipartBody4067055844781376043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973325180,"filename":"image_03122025_06_41_14_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d1da7fecae199c99fbcdbc97926e65ba.jpg","text":"TemporaryFile(/tmp/multipartBody5518816176059194371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973325180,"filename":"image_03122025_06_38_44_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171708","file1":"1398171707","file0":"1398171705","file4":"1398171711","file5":"1398171713","file3":"1398171709"},"map_files_photo_id_array":[{"photo_id":"1398171713","filename":"file5"},{"photo_id":"1398171708","filename":"file2"},{"photo_id":"1398171711","filename":"file4"},{"photo_id":"1398171707","filename":"file1"},{"photo_id":"1398171705","filename":"file0"},{"photo_id":"1398171709","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171709":["hashtag1","hashtag2"]},{"1398171711":["hashtag1","hashtag2"]},{"1398171705":["hashtag1","hashtag2"]},{"1398171708":["hashtag1","hashtag2"]},{"1398171713":["hashtag1","hashtag2"]},{"1398171707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171709, 1398171711, 1398171705, 1398171708, 1398171713, 1398171707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.682602882385254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:21:42.547314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_36_2716.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_40_3550.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_42_2589.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_49_3702.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_51_2547.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_54_2909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_36_2716.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_40_3550.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_42_2589.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_49_3702.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_51_2547.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_54_2909.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171721","1398171720","1398171723","1398171722","1398171724","1398171718"],"photo_ids_order":["1398171718","1398171720","1398171721","1398171722","1398171723","1398171724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/8d694dfc732c2162ebb40fe1e87251a0.jpg","text":"TemporaryFile(/tmp/multipartBody8901578810983163330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973364100,"filename":"image_31102025_21_14_42_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/5/cd7f67988d66772a7782da44f8c80137.jpg","text":"TemporaryFile(/tmp/multipartBody229431615576912108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973364100,"filename":"image_31102025_21_14_40_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/5/5b9b0327f0253d36e8ee9f8747525590.jpg","text":"TemporaryFile(/tmp/multipartBody2069582014166035013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973364100,"filename":"image_31102025_21_14_51_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/5/065179776f44c2fbd16fa4767f96f7c2.jpg","text":"TemporaryFile(/tmp/multipartBody825670035972257341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973364100,"filename":"image_31102025_21_14_49_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/5/ff60198cdc04993d0a7a357bdf5adf33.jpg","text":"TemporaryFile(/tmp/multipartBody1772972492187731120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973364100,"filename":"image_31102025_21_14_54_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/5/feed5540057ce38028e0283e93ec6e46.jpg","text":"TemporaryFile(/tmp/multipartBody7359002536595625778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973364100,"filename":"image_31102025_21_14_36_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171721","file1":"1398171720","file0":"1398171718","file4":"1398171723","file5":"1398171724","file3":"1398171722"},"map_files_photo_id_array":[{"photo_id":"1398171724","filename":"file5"},{"photo_id":"1398171721","filename":"file2"},{"photo_id":"1398171723","filename":"file4"},{"photo_id":"1398171720","filename":"file1"},{"photo_id":"1398171718","filename":"file0"},{"photo_id":"1398171722","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171721":["hashtag1","hashtag2"]},{"1398171720":["hashtag1","hashtag2"]},{"1398171723":["hashtag1","hashtag2"]},{"1398171722":["hashtag1","hashtag2"]},{"1398171724":["hashtag1","hashtag2"]},{"1398171718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171721, 1398171720, 1398171723, 1398171722, 1398171724, 1398171718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71397256851196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:22:22.719373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_58_3522.jpg', '/home/pi/Desktop/images/31102025/21/14/image_31102025_21_15_00_2615.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_07_3833.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_09_2646.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_12_2555.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_16_3767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_14_58_3522.jpg
/home/pi/Desktop/images/31102025/21/14/image_31102025_21_15_00_2615.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_07_3833.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_09_2646.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_12_2555.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_16_3767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171732","1398171726","1398171734","1398171728","1398171736","1398171730"],"photo_ids_order":["1398171726","1398171728","1398171730","1398171732","1398171734","1398171736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/707decc03b0855cbc0b669cd77dc23cc.jpg","text":"TemporaryFile(/tmp/multipartBody107299781173726492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973404285,"filename":"image_31102025_21_15_09_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/5/a28548e398378648e8b05a3bfc513313.jpg","text":"TemporaryFile(/tmp/multipartBody8562522881610025437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973404285,"filename":"image_31102025_21_14_58_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/5/06d224e8ce559b79e8658ef707e5a86d.jpg","text":"TemporaryFile(/tmp/multipartBody6739877054959206111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973404285,"filename":"image_31102025_21_15_12_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/5/106a8e41c091515be170500ff97c148b.jpg","text":"TemporaryFile(/tmp/multipartBody1042245017703659136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973404285,"filename":"image_31102025_21_15_00_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/5/9a8ee383fba8482cfbcdb3491b52fd0a.jpg","text":"TemporaryFile(/tmp/multipartBody9128506889336675056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973404285,"filename":"image_31102025_21_15_16_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/5/abb7135cea6a945f17b4a69dcbe63616.jpg","text":"TemporaryFile(/tmp/multipartBody6492079813484821541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973404285,"filename":"image_31102025_21_15_07_3833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171730","file1":"1398171728","file0":"1398171726","file4":"1398171734","file5":"1398171736","file3":"1398171732"},"map_files_photo_id_array":[{"photo_id":"1398171736","filename":"file5"},{"photo_id":"1398171730","filename":"file2"},{"photo_id":"1398171734","filename":"file4"},{"photo_id":"1398171728","filename":"file1"},{"photo_id":"1398171726","filename":"file0"},{"photo_id":"1398171732","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171732":["hashtag1","hashtag2"]},{"1398171726":["hashtag1","hashtag2"]},{"1398171734":["hashtag1","hashtag2"]},{"1398171728":["hashtag1","hashtag2"]},{"1398171736":["hashtag1","hashtag2"]},{"1398171730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171732, 1398171726, 1398171734, 1398171728, 1398171736, 1398171730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31100821495056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:23:02.560567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/41/image_03122025_06_41_54_9908.jpg', '/home/pi/Desktop/images/03122025/06/41/image_03122025_06_42_04_10755.jpg', '/home/pi/Desktop/images/03122025/06/42/image_03122025_06_42_24_9652.jpg', '/home/pi/Desktop/images/03122025/06/42/image_03122025_06_42_34_9936.jpg', '/home/pi/Desktop/images/03122025/06/42/image_03122025_06_43_04_9681.jpg', '/home/pi/Desktop/images/03122025/06/43/image_03122025_06_43_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/41/image_03122025_06_41_54_9908.jpg
/home/pi/Desktop/images/03122025/06/41/image_03122025_06_42_04_10755.jpg
/home/pi/Desktop/images/03122025/06/42/image_03122025_06_42_24_9652.jpg
/home/pi/Desktop/images/03122025/06/42/image_03122025_06_42_34_9936.jpg
/home/pi/Desktop/images/03122025/06/42/image_03122025_06_43_04_9681.jpg
/home/pi/Desktop/images/03122025/06/43/image_03122025_06_43_55_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171741","1398171744","1398171740","1398171737","1398171742","1398171739"],"photo_ids_order":["1398171737","1398171739","1398171740","1398171741","1398171742","1398171744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f10e521feffb55df02253fdd2cbd13ed.jpg","text":"TemporaryFile(/tmp/multipartBody5139113528157612823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973444387,"filename":"image_03122025_06_42_34_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0f62d6e1fa227ff1f3312bbae5ba9220.jpg","text":"TemporaryFile(/tmp/multipartBody5515793355346226370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973444387,"filename":"image_03122025_06_43_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/5/a7ee661a2dc9d656efaefd17b6d21aac.jpg","text":"TemporaryFile(/tmp/multipartBody4753832686103795115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973444387,"filename":"image_03122025_06_42_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c7803e02b722fab633402b87eaf0d9f2.jpg","text":"TemporaryFile(/tmp/multipartBody6321378215864638811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973444387,"filename":"image_03122025_06_41_54_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/5/4143384e56d5b25a9aaf52b9f86cc4cf.jpg","text":"TemporaryFile(/tmp/multipartBody6646048053594194929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973444387,"filename":"image_03122025_06_43_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/5a74f6009fe2986e14a42190421e231f.jpg","text":"TemporaryFile(/tmp/multipartBody3861306162793577858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973444387,"filename":"image_03122025_06_42_04_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171740","file1":"1398171739","file0":"1398171737","file4":"1398171742","file5":"1398171744","file3":"1398171741"},"map_files_photo_id_array":[{"photo_id":"1398171744","filename":"file5"},{"photo_id":"1398171740","filename":"file2"},{"photo_id":"1398171742","filename":"file4"},{"photo_id":"1398171739","filename":"file1"},{"photo_id":"1398171737","filename":"file0"},{"photo_id":"1398171741","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171741":["hashtag1","hashtag2"]},{"1398171744":["hashtag1","hashtag2"]},{"1398171740":["hashtag1","hashtag2"]},{"1398171737":["hashtag1","hashtag2"]},{"1398171742":["hashtag1","hashtag2"]},{"1398171739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171741, 1398171744, 1398171740, 1398171737, 1398171742, 1398171739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06433606147766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:23:41.883324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_27_2655.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_30_2876.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_33_2843.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_36_3346.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_42_2838.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_45_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_27_2655.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_30_2876.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_33_2843.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_36_3346.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_42_2838.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_45_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":["1398171753","1398171756","1398171750","1398171752","1398171755","1398171754"],"photo_ids_order":["1398171750","1398171752","1398171753","1398171754","1398171755","1398171756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/83339ac61f814e150feb6383ceb16603.jpg","text":"TemporaryFile(/tmp/multipartBody5752107097315472736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973483407,"filename":"image_31102025_21_15_33_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/5/318e274d0378c7cc08d601c74fb27803.jpg","text":"TemporaryFile(/tmp/multipartBody3202745300794440373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973483407,"filename":"image_31102025_21_15_45_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/5/ca9cc230a656c55256d1cdf6ac8b314c.jpg","text":"TemporaryFile(/tmp/multipartBody4558102094624701570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973483407,"filename":"image_31102025_21_15_27_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/5/e1d5bf393355b074b959f166230bb5bf.jpg","text":"TemporaryFile(/tmp/multipartBody8183862350497406453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973483407,"filename":"image_31102025_21_15_30_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e00792ad4e8cc6748adbd2d29d43c60c.jpg","text":"TemporaryFile(/tmp/multipartBody4907009054011729681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973483407,"filename":"image_31102025_21_15_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/5/bc3cdd0315a8a980e034b78283854b3b.jpg","text":"TemporaryFile(/tmp/multipartBody288615740610028358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973483407,"filename":"image_31102025_21_15_36_3346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171753","file1":"1398171752","file0":"1398171750","file4":"1398171755","file5":"1398171756","file3":"1398171754"},"map_files_photo_id_array":[{"photo_id":"1398171756","filename":"file5"},{"photo_id":"1398171753","filename":"file2"},{"photo_id":"1398171755","filename":"file4"},{"photo_id":"1398171752","filename":"file1"},{"photo_id":"1398171750","filename":"file0"},{"photo_id":"1398171754","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171753":["hashtag1","hashtag2"]},{"1398171756":["hashtag1","hashtag2"]},{"1398171750":["hashtag1","hashtag2"]},{"1398171752":["hashtag1","hashtag2"]},{"1398171755":["hashtag1","hashtag2"]},{"1398171754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171753, 1398171756, 1398171750, 1398171752, 1398171755, 1398171754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53915476799011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:24:22.047341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_48_2558.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_54_3764.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_57_2644.jpg', '/home/pi/Desktop/images/31102025/21/15/image_31102025_21_16_00_2633.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_03_3681.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_06_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_48_2558.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_54_3764.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_15_57_2644.jpg
/home/pi/Desktop/images/31102025/21/15/image_31102025_21_16_00_2633.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_03_3681.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_06_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171765","1398171759","1398171761","1398171769","1398171763","1398171757"],"photo_ids_order":["1398171757","1398171759","1398171761","1398171763","1398171765","1398171769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7f624f80c06da8b66d94a0bde43d4fdb.jpg","text":"TemporaryFile(/tmp/multipartBody5615917774929786427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973523605,"filename":"image_31102025_21_16_03_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/5/dadaa140a7c5afd09c59d203219f56c8.jpg","text":"TemporaryFile(/tmp/multipartBody2773716757437997096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973523605,"filename":"image_31102025_21_15_54_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/5/9dc6d83d3df54713999ef92e6a775796.jpg","text":"TemporaryFile(/tmp/multipartBody8798111612329706355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973523605,"filename":"image_31102025_21_15_57_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/5/f8bdb71889db14ed7d4cf8d80668c556.jpg","text":"TemporaryFile(/tmp/multipartBody51312965243283632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973523605,"filename":"image_31102025_21_16_06_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/5/fc2c1c163c46fe9bce243a53b743f318.jpg","text":"TemporaryFile(/tmp/multipartBody9022896779498544573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973523605,"filename":"image_31102025_21_16_00_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/5/e998dd16ce241021d0f33a10740155dc.jpg","text":"TemporaryFile(/tmp/multipartBody3339564810981024171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973523605,"filename":"image_31102025_21_15_48_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171761","file1":"1398171759","file0":"1398171757","file4":"1398171765","file5":"1398171769","file3":"1398171763"},"map_files_photo_id_array":[{"photo_id":"1398171769","filename":"file5"},{"photo_id":"1398171761","filename":"file2"},{"photo_id":"1398171765","filename":"file4"},{"photo_id":"1398171759","filename":"file1"},{"photo_id":"1398171757","filename":"file0"},{"photo_id":"1398171763","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171765":["hashtag1","hashtag2"]},{"1398171759":["hashtag1","hashtag2"]},{"1398171761":["hashtag1","hashtag2"]},{"1398171769":["hashtag1","hashtag2"]},{"1398171763":["hashtag1","hashtag2"]},{"1398171757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171765, 1398171759, 1398171761, 1398171769, 1398171763, 1398171757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00373697280884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:25:02.877803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/44/image_03122025_06_44_34_9642.jpg', '/home/pi/Desktop/images/03122025/06/44/image_03122025_06_44_54_9709.jpg', '/home/pi/Desktop/images/03122025/06/46/image_03122025_06_46_14_9709.jpg', '/home/pi/Desktop/images/03122025/06/46/image_03122025_06_46_24_10035.jpg', '/home/pi/Desktop/images/03122025/06/46/image_03122025_06_46_44_9853.jpg', '/home/pi/Desktop/images/03122025/06/46/image_03122025_06_46_55_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/44/image_03122025_06_44_34_9642.jpg
/home/pi/Desktop/images/03122025/06/44/image_03122025_06_44_54_9709.jpg
/home/pi/Desktop/images/03122025/06/46/image_03122025_06_46_14_9709.jpg
/home/pi/Desktop/images/03122025/06/46/image_03122025_06_46_24_10035.jpg
/home/pi/Desktop/images/03122025/06/46/image_03122025_06_46_44_9853.jpg
/home/pi/Desktop/images/03122025/06/46/image_03122025_06_46_55_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171780","1398171782","1398171779","1398171775","1398171784","1398171778"],"photo_ids_order":["1398171775","1398171778","1398171779","1398171780","1398171782","1398171784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0a46d31da88614fb2a2422c44c9fce6b.jpg","text":"TemporaryFile(/tmp/multipartBody7656309316238221240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973564713,"filename":"image_03122025_06_46_24_10035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d0219665ce90839177c8e023b0672462.jpg","text":"TemporaryFile(/tmp/multipartBody6732415118552792704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973564713,"filename":"image_03122025_06_46_44_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/18f5707e450d04b2206ae35661318b03.jpg","text":"TemporaryFile(/tmp/multipartBody8068961437607084308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973564713,"filename":"image_03122025_06_46_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/5/5d52cb44e70f3de8486e3993ff3d6133.jpg","text":"TemporaryFile(/tmp/multipartBody8107878294227494814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973564713,"filename":"image_03122025_06_44_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0c00fa13b9c16f1536b7c409dabb7f00.jpg","text":"TemporaryFile(/tmp/multipartBody4625611723804701670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973564713,"filename":"image_03122025_06_46_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/5/e289137f762ae87d92fe532092ed3a23.jpg","text":"TemporaryFile(/tmp/multipartBody6287162182006128773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973564713,"filename":"image_03122025_06_44_54_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171779","file1":"1398171778","file0":"1398171775","file4":"1398171782","file5":"1398171784","file3":"1398171780"},"map_files_photo_id_array":[{"photo_id":"1398171784","filename":"file5"},{"photo_id":"1398171779","filename":"file2"},{"photo_id":"1398171782","filename":"file4"},{"photo_id":"1398171778","filename":"file1"},{"photo_id":"1398171775","filename":"file0"},{"photo_id":"1398171780","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171780":["hashtag1","hashtag2"]},{"1398171782":["hashtag1","hashtag2"]},{"1398171779":["hashtag1","hashtag2"]},{"1398171775":["hashtag1","hashtag2"]},{"1398171784":["hashtag1","hashtag2"]},{"1398171778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171780, 1398171782, 1398171779, 1398171775, 1398171784, 1398171778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35709476470947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:25:42.335614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_09_2688.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_21_2507.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_24_2873.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_30_2596.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_33_3517.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_36_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_09_2688.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_21_2507.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_24_2873.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_30_2596.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_33_3517.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_36_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":["1398171792","1398171795","1398171788","1398171791","1398171790","1398171793"],"photo_ids_order":["1398171788","1398171790","1398171791","1398171792","1398171793","1398171795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b2e138b16d5009706862da2385b21a88.jpg","text":"TemporaryFile(/tmp/multipartBody8170494894647568723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973603903,"filename":"image_31102025_21_16_30_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/5/188314dac6dbeb0d51d088575d1c9614.jpg","text":"TemporaryFile(/tmp/multipartBody1405179237567422159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973603903,"filename":"image_31102025_21_16_36_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/5/8e6448b1513837087947d09011a18aae.jpg","text":"TemporaryFile(/tmp/multipartBody5984777742631048318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973603903,"filename":"image_31102025_21_16_09_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/5/314ff400df8e8370f65ec46c20fcdbb7.jpg","text":"TemporaryFile(/tmp/multipartBody7075208851807658858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973603903,"filename":"image_31102025_21_16_24_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b3d9c400fcb74403d1f2d3424338d416.jpg","text":"TemporaryFile(/tmp/multipartBody8507921686971883472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973603903,"filename":"image_31102025_21_16_21_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e51058b8aa8b17c8815ad861b18477c.jpg","text":"TemporaryFile(/tmp/multipartBody5132693781961134945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973603903,"filename":"image_31102025_21_16_33_3517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171791","file1":"1398171790","file0":"1398171788","file4":"1398171793","file5":"1398171795","file3":"1398171792"},"map_files_photo_id_array":[{"photo_id":"1398171795","filename":"file5"},{"photo_id":"1398171791","filename":"file2"},{"photo_id":"1398171793","filename":"file4"},{"photo_id":"1398171790","filename":"file1"},{"photo_id":"1398171788","filename":"file0"},{"photo_id":"1398171792","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171792":["hashtag1","hashtag2"]},{"1398171795":["hashtag1","hashtag2"]},{"1398171788":["hashtag1","hashtag2"]},{"1398171791":["hashtag1","hashtag2"]},{"1398171790":["hashtag1","hashtag2"]},{"1398171793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171792, 1398171795, 1398171788, 1398171791, 1398171790, 1398171793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.755955934524536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:26:22.484161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_39_2699.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_42_3615.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_45_2714.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_48_2655.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_51_2792.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_54_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_39_2699.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_42_3615.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_45_2714.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_48_2655.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_51_2792.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_54_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":["1398171805","1398171801","1398171807","1398171797","1398171799","1398171803"],"photo_ids_order":["1398171797","1398171799","1398171801","1398171803","1398171805","1398171807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b9d816aa37b5824e6c03ebbddba63ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2260543628324990549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973644033,"filename":"image_31102025_21_16_51_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/5/933456fa649357b4dfd9a1f7cb99981d.jpg","text":"TemporaryFile(/tmp/multipartBody6977544492196994323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973644033,"filename":"image_31102025_21_16_45_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/5/36692bd443f60ad85ed308c3eb88f9b2.jpg","text":"TemporaryFile(/tmp/multipartBody8089138428390405393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973644033,"filename":"image_31102025_21_16_54_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/5/704238413909fded95eea9a15e7cbc91.jpg","text":"TemporaryFile(/tmp/multipartBody3767443270158636785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973644033,"filename":"image_31102025_21_16_39_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/5/62367cceb226060bf68f5ff14c63fc23.jpg","text":"TemporaryFile(/tmp/multipartBody6064825841862641966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973644033,"filename":"image_31102025_21_16_42_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/5/39c94c143955552664b7029a84cc3ea2.jpg","text":"TemporaryFile(/tmp/multipartBody4329015149337845887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973644033,"filename":"image_31102025_21_16_48_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171801","file1":"1398171799","file0":"1398171797","file4":"1398171805","file5":"1398171807","file3":"1398171803"},"map_files_photo_id_array":[{"photo_id":"1398171807","filename":"file5"},{"photo_id":"1398171801","filename":"file2"},{"photo_id":"1398171805","filename":"file4"},{"photo_id":"1398171799","filename":"file1"},{"photo_id":"1398171797","filename":"file0"},{"photo_id":"1398171803","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171805":["hashtag1","hashtag2"]},{"1398171801":["hashtag1","hashtag2"]},{"1398171807":["hashtag1","hashtag2"]},{"1398171797":["hashtag1","hashtag2"]},{"1398171799":["hashtag1","hashtag2"]},{"1398171803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171805, 1398171801, 1398171807, 1398171797, 1398171799, 1398171803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67405343055725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:27:03.186972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/47/image_03122025_06_47_14_9653.jpg', '/home/pi/Desktop/images/03122025/06/47/image_03122025_06_47_24_10599.jpg', '/home/pi/Desktop/images/03122025/06/47/image_03122025_06_47_54_10617.jpg', '/home/pi/Desktop/images/03122025/06/48/image_03122025_06_48_14_9882.jpg', '/home/pi/Desktop/images/03122025/06/48/image_03122025_06_48_34_9714.jpg', '/home/pi/Desktop/images/03122025/06/48/image_03122025_06_48_44_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/47/image_03122025_06_47_14_9653.jpg
/home/pi/Desktop/images/03122025/06/47/image_03122025_06_47_24_10599.jpg
/home/pi/Desktop/images/03122025/06/47/image_03122025_06_47_54_10617.jpg
/home/pi/Desktop/images/03122025/06/48/image_03122025_06_48_14_9882.jpg
/home/pi/Desktop/images/03122025/06/48/image_03122025_06_48_34_9714.jpg
/home/pi/Desktop/images/03122025/06/48/image_03122025_06_48_44_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":["1398171811","1398171810","1398171813","1398171812","1398171815","1398171817"],"photo_ids_order":["1398171810","1398171811","1398171812","1398171813","1398171815","1398171817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/802361e9a98e4f25950c54f74bb26e41.jpg","text":"TemporaryFile(/tmp/multipartBody1179466061969615226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973685053,"filename":"image_03122025_06_47_24_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2240c05fde584254182a9007739308fe.jpg","text":"TemporaryFile(/tmp/multipartBody1535015736913255955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973685053,"filename":"image_03122025_06_47_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/5/f2e5976b8f2cb18a8cfda0fd7614d00d.jpg","text":"TemporaryFile(/tmp/multipartBody801442487231968923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973685053,"filename":"image_03122025_06_48_14_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/5/cd1ac5ccfeefd34c311e27c6bb523505.jpg","text":"TemporaryFile(/tmp/multipartBody6393389024300112211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973685053,"filename":"image_03122025_06_47_54_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/5/e10b57b5b92239fac001c69226b55c09.jpg","text":"TemporaryFile(/tmp/multipartBody248288252430020836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973685053,"filename":"image_03122025_06_48_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/5/9bc0c7e842ed525e527b711fc99783f7.jpg","text":"TemporaryFile(/tmp/multipartBody1362806787924748630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973685053,"filename":"image_03122025_06_48_44_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171812","file1":"1398171811","file0":"1398171810","file4":"1398171815","file5":"1398171817","file3":"1398171813"},"map_files_photo_id_array":[{"photo_id":"1398171817","filename":"file5"},{"photo_id":"1398171812","filename":"file2"},{"photo_id":"1398171815","filename":"file4"},{"photo_id":"1398171811","filename":"file1"},{"photo_id":"1398171810","filename":"file0"},{"photo_id":"1398171813","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171811":["hashtag1","hashtag2"]},{"1398171810":["hashtag1","hashtag2"]},{"1398171813":["hashtag1","hashtag2"]},{"1398171812":["hashtag1","hashtag2"]},{"1398171815":["hashtag1","hashtag2"]},{"1398171817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171811, 1398171810, 1398171813, 1398171812, 1398171815, 1398171817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14720821380615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:27:42.817273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_57_2655.jpg', '/home/pi/Desktop/images/31102025/21/16/image_31102025_21_17_00_2567.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_03_3599.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_06_2624.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_09_3663.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_12_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_16_57_2655.jpg
/home/pi/Desktop/images/31102025/21/16/image_31102025_21_17_00_2567.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_03_3599.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_06_2624.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_09_3663.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_12_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":["1398171826","1398171822","1398171825","1398171824","1398171821","1398171823"],"photo_ids_order":["1398171821","1398171822","1398171823","1398171824","1398171825","1398171826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4fa67d8457836f5a9ee4a306079f7cd6.jpg","text":"TemporaryFile(/tmp/multipartBody9183498005723328065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973724332,"filename":"image_31102025_21_17_12_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/5/11e012c539a0db74bed32fd674b9a33f.jpg","text":"TemporaryFile(/tmp/multipartBody6951178792832346517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973724332,"filename":"image_31102025_21_17_00_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/5/3fce27f1c591dab9d3e975cf9085c164.jpg","text":"TemporaryFile(/tmp/multipartBody7284932516552425317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973724332,"filename":"image_31102025_21_17_09_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/5/20faabd5bfcd2ade4217a5a2034247b8.jpg","text":"TemporaryFile(/tmp/multipartBody4137764414972373400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973724332,"filename":"image_31102025_21_17_06_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/5/c62ddcbde7063ce30e10ade46225d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody3543480252492073536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973724332,"filename":"image_31102025_21_16_57_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/5/0bc4244aba125045ccf4fa046a9174b5.jpg","text":"TemporaryFile(/tmp/multipartBody7637865509115796013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973724332,"filename":"image_31102025_21_17_03_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171823","file1":"1398171822","file0":"1398171821","file4":"1398171825","file5":"1398171826","file3":"1398171824"},"map_files_photo_id_array":[{"photo_id":"1398171826","filename":"file5"},{"photo_id":"1398171823","filename":"file2"},{"photo_id":"1398171825","filename":"file4"},{"photo_id":"1398171822","filename":"file1"},{"photo_id":"1398171821","filename":"file0"},{"photo_id":"1398171824","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171826":["hashtag1","hashtag2"]},{"1398171822":["hashtag1","hashtag2"]},{"1398171825":["hashtag1","hashtag2"]},{"1398171824":["hashtag1","hashtag2"]},{"1398171821":["hashtag1","hashtag2"]},{"1398171823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171826, 1398171822, 1398171825, 1398171824, 1398171821, 1398171823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37206506729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:28:22.038588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_15_2583.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_18_3658.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_24_2634.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_33_2793.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_35_2686.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_39_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_15_2583.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_18_3658.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_24_2634.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_33_2793.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_35_2686.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_39_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":["1398171829","1398171834","1398171831","1398171839","1398171833","1398171836"],"photo_ids_order":["1398171829","1398171831","1398171833","1398171834","1398171836","1398171839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/72bbf8beff0477a54ff13f05f8681604.jpg","text":"TemporaryFile(/tmp/multipartBody8820499410756986589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973763609,"filename":"image_31102025_21_17_15_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/5/c8e3fffc5cde105ec66585f0eeda61f1.jpg","text":"TemporaryFile(/tmp/multipartBody8920187229082319004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973763609,"filename":"image_31102025_21_17_33_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4c341f77edc296a406aa72178855d125.jpg","text":"TemporaryFile(/tmp/multipartBody8111070209482787283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973763609,"filename":"image_31102025_21_17_18_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/5/7c6674b3a148762c63415a15029a3748.jpg","text":"TemporaryFile(/tmp/multipartBody5148454247070535213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973763609,"filename":"image_31102025_21_17_39_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fb16d5725cd2347c598ad053c5682af6.jpg","text":"TemporaryFile(/tmp/multipartBody1723195239155959945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973763609,"filename":"image_31102025_21_17_24_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/5/609704c7559f37e98e307119473accf8.jpg","text":"TemporaryFile(/tmp/multipartBody9080831379159909487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973763609,"filename":"image_31102025_21_17_35_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171833","file1":"1398171831","file0":"1398171829","file4":"1398171836","file5":"1398171839","file3":"1398171834"},"map_files_photo_id_array":[{"photo_id":"1398171839","filename":"file5"},{"photo_id":"1398171833","filename":"file2"},{"photo_id":"1398171836","filename":"file4"},{"photo_id":"1398171831","filename":"file1"},{"photo_id":"1398171829","filename":"file0"},{"photo_id":"1398171834","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171829":["hashtag1","hashtag2"]},{"1398171834":["hashtag1","hashtag2"]},{"1398171831":["hashtag1","hashtag2"]},{"1398171839":["hashtag1","hashtag2"]},{"1398171833":["hashtag1","hashtag2"]},{"1398171836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171829, 1398171834, 1398171831, 1398171839, 1398171833, 1398171836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45507788658142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:29:03.050674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/49/image_03122025_06_49_14_9736.jpg', '/home/pi/Desktop/images/03122025/06/49/image_03122025_06_49_25_10806.jpg', '/home/pi/Desktop/images/03122025/06/49/image_03122025_06_49_34_9598.jpg', '/home/pi/Desktop/images/03122025/06/49/image_03122025_06_49_44_10027.jpg', '/home/pi/Desktop/images/03122025/06/49/image_03122025_06_50_05_10804.jpg', '/home/pi/Desktop/images/03122025/06/50/image_03122025_06_50_24_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/49/image_03122025_06_49_14_9736.jpg
/home/pi/Desktop/images/03122025/06/49/image_03122025_06_49_25_10806.jpg
/home/pi/Desktop/images/03122025/06/49/image_03122025_06_49_34_9598.jpg
/home/pi/Desktop/images/03122025/06/49/image_03122025_06_49_44_10027.jpg
/home/pi/Desktop/images/03122025/06/49/image_03122025_06_50_05_10804.jpg
/home/pi/Desktop/images/03122025/06/50/image_03122025_06_50_24_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171847","1398171846","1398171849","1398171842","1398171851","1398171844"],"photo_ids_order":["1398171842","1398171844","1398171846","1398171847","1398171849","1398171851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9acdf03c4b112a021c13f0a79869e447.jpg","text":"TemporaryFile(/tmp/multipartBody2069519532880834663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973804984,"filename":"image_03122025_06_49_44_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/5/53023ffd64a3c8a0420a3c85aec2e9b7.jpg","text":"TemporaryFile(/tmp/multipartBody1817490976232228992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973804984,"filename":"image_03122025_06_49_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e973f2f7e064b1f92df9574257ebf108.jpg","text":"TemporaryFile(/tmp/multipartBody6125881679690578548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973804984,"filename":"image_03122025_06_50_05_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/5/831fefbe976eeeef5ace467a4c19b647.jpg","text":"TemporaryFile(/tmp/multipartBody8164558838757253070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973804984,"filename":"image_03122025_06_49_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/5/9b47ad90f1dd16fdb3e81dadda3ae12f.jpg","text":"TemporaryFile(/tmp/multipartBody1227531495662806049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973804984,"filename":"image_03122025_06_50_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/5/ebb26e8c2c3a560d7d365c3c2e0d0399.jpg","text":"TemporaryFile(/tmp/multipartBody922698386078980752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973804984,"filename":"image_03122025_06_49_25_10806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171846","file1":"1398171844","file0":"1398171842","file4":"1398171849","file5":"1398171851","file3":"1398171847"},"map_files_photo_id_array":[{"photo_id":"1398171851","filename":"file5"},{"photo_id":"1398171846","filename":"file2"},{"photo_id":"1398171849","filename":"file4"},{"photo_id":"1398171844","filename":"file1"},{"photo_id":"1398171842","filename":"file0"},{"photo_id":"1398171847","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171847":["hashtag1","hashtag2"]},{"1398171846":["hashtag1","hashtag2"]},{"1398171849":["hashtag1","hashtag2"]},{"1398171842":["hashtag1","hashtag2"]},{"1398171851":["hashtag1","hashtag2"]},{"1398171844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171847, 1398171846, 1398171849, 1398171842, 1398171851, 1398171844)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.52556777000427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:30:02.735531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/50/image_03122025_06_50_34_9627.jpg', '/home/pi/Desktop/images/03122025/06/50/image_03122025_06_50_44_10603.jpg', '/home/pi/Desktop/images/03122025/06/50/image_03122025_06_50_54_9666.jpg', '/home/pi/Desktop/images/03122025/06/50/image_03122025_06_51_04_9708.jpg', '/home/pi/Desktop/images/03122025/06/51/image_03122025_06_51_14_10664.jpg', '/home/pi/Desktop/images/03122025/06/51/image_03122025_06_51_24_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/50/image_03122025_06_50_34_9627.jpg
/home/pi/Desktop/images/03122025/06/50/image_03122025_06_50_44_10603.jpg
/home/pi/Desktop/images/03122025/06/50/image_03122025_06_50_54_9666.jpg
/home/pi/Desktop/images/03122025/06/50/image_03122025_06_51_04_9708.jpg
/home/pi/Desktop/images/03122025/06/51/image_03122025_06_51_14_10664.jpg
/home/pi/Desktop/images/03122025/06/51/image_03122025_06_51_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":["1398171861","1398171858","1398171863","1398171857","1398171856","1398171859"],"photo_ids_order":["1398171856","1398171857","1398171858","1398171859","1398171861","1398171863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9b51d627a34621345f93d5835bb61e3e.jpg","text":"TemporaryFile(/tmp/multipartBody8865341118687241857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973864476,"filename":"image_03122025_06_51_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/5/8b14168614547f124e87b501a74860ed.jpg","text":"TemporaryFile(/tmp/multipartBody6402567015622174523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973864476,"filename":"image_03122025_06_50_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/5/370450ad2e7ba657b65382abccef05f6.jpg","text":"TemporaryFile(/tmp/multipartBody5104172918550907277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973864476,"filename":"image_03122025_06_51_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a4f2967150da77ed9cc4959cf2dcb066.jpg","text":"TemporaryFile(/tmp/multipartBody563841447952150311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973864476,"filename":"image_03122025_06_50_44_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/01824a0391238dbea7950a01e2a370c8.jpg","text":"TemporaryFile(/tmp/multipartBody6693525263066921972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973864476,"filename":"image_03122025_06_50_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/5/911b67d9f4986e181ac6378728217216.jpg","text":"TemporaryFile(/tmp/multipartBody8427713987435702883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973864476,"filename":"image_03122025_06_51_04_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171858","file1":"1398171857","file0":"1398171856","file4":"1398171861","file5":"1398171863","file3":"1398171859"},"map_files_photo_id_array":[{"photo_id":"1398171863","filename":"file5"},{"photo_id":"1398171858","filename":"file2"},{"photo_id":"1398171861","filename":"file4"},{"photo_id":"1398171857","filename":"file1"},{"photo_id":"1398171856","filename":"file0"},{"photo_id":"1398171859","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171861":["hashtag1","hashtag2"]},{"1398171858":["hashtag1","hashtag2"]},{"1398171863":["hashtag1","hashtag2"]},{"1398171857":["hashtag1","hashtag2"]},{"1398171856":["hashtag1","hashtag2"]},{"1398171859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171861, 1398171858, 1398171863, 1398171857, 1398171856, 1398171859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5711567401886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:30:42.420156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_42_2912.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_54_3554.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_57_2897.jpg', '/home/pi/Desktop/images/31102025/21/17/image_31102025_21_18_00_2573.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_03_2761.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_06_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_42_2912.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_54_3554.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_17_57_2897.jpg
/home/pi/Desktop/images/31102025/21/17/image_31102025_21_18_00_2573.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_03_2761.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_06_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":["1398171870","1398171873","1398171875","1398171872","1398171871","1398171868"],"photo_ids_order":["1398171868","1398171870","1398171871","1398171872","1398171873","1398171875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9c91ca6bf63837896c28b77bc36e7a40.jpg","text":"TemporaryFile(/tmp/multipartBody1903320897940869850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973903992,"filename":"image_31102025_21_17_54_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/5/e14ed75e344042c77231c95c5b85d42b.jpg","text":"TemporaryFile(/tmp/multipartBody7205567702862567716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973903992,"filename":"image_31102025_21_18_03_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/5/0e698dd110f52e06ecd4eb1e68e6dad5.jpg","text":"TemporaryFile(/tmp/multipartBody1170347697347556463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973903992,"filename":"image_31102025_21_18_06_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/5/42d784cdacba72f43f5bd730367be564.jpg","text":"TemporaryFile(/tmp/multipartBody1197060586664139056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973903992,"filename":"image_31102025_21_18_00_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/5/2ad571bf0d49fe05a62ad97a56025759.jpg","text":"TemporaryFile(/tmp/multipartBody5841365975267593005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973903992,"filename":"image_31102025_21_17_57_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1d33f1ff358ac91a70852769db5644fe.jpg","text":"TemporaryFile(/tmp/multipartBody3724044355762262227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973903992,"filename":"image_31102025_21_17_42_2912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171871","file1":"1398171870","file0":"1398171868","file4":"1398171873","file5":"1398171875","file3":"1398171872"},"map_files_photo_id_array":[{"photo_id":"1398171875","filename":"file5"},{"photo_id":"1398171871","filename":"file2"},{"photo_id":"1398171873","filename":"file4"},{"photo_id":"1398171870","filename":"file1"},{"photo_id":"1398171868","filename":"file0"},{"photo_id":"1398171872","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171870":["hashtag1","hashtag2"]},{"1398171873":["hashtag1","hashtag2"]},{"1398171875":["hashtag1","hashtag2"]},{"1398171872":["hashtag1","hashtag2"]},{"1398171871":["hashtag1","hashtag2"]},{"1398171868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171870, 1398171873, 1398171875, 1398171872, 1398171871, 1398171868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45664143562317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:31:22.646089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_12_2512.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_14_2754.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_18_3709.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_21_2567.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_27_2631.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_30_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_12_2512.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_14_2754.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_18_3709.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_21_2567.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_27_2631.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_30_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171882","1398171887","1398171884","1398171878","1398171886","1398171880"],"photo_ids_order":["1398171878","1398171880","1398171882","1398171884","1398171886","1398171887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/1b3cec13d204dfb34020e7ceb052c115.jpg","text":"TemporaryFile(/tmp/multipartBody8234931647979447481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973944852,"filename":"image_31102025_21_18_18_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3bfd9bf6299531c3f7db10e7ac98ac74.jpg","text":"TemporaryFile(/tmp/multipartBody1623095002460595867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973944852,"filename":"image_31102025_21_18_30_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0ff114c0a57b80513ef15a6056f36783.jpg","text":"TemporaryFile(/tmp/multipartBody875208555870603635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973944852,"filename":"image_31102025_21_18_21_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/5/9e5b1e490cf10f9abfe5666f8f73377d.jpg","text":"TemporaryFile(/tmp/multipartBody7441092889227118637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973944852,"filename":"image_31102025_21_18_12_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/5/75d4e3e5b9364de962ca2697881477ab.jpg","text":"TemporaryFile(/tmp/multipartBody7144488729610645956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973944852,"filename":"image_31102025_21_18_27_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/5/738e202a747f1108ae599cd829212d2c.jpg","text":"TemporaryFile(/tmp/multipartBody3797465384138503117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973944852,"filename":"image_31102025_21_18_14_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171882","file1":"1398171880","file0":"1398171878","file4":"1398171886","file5":"1398171887","file3":"1398171884"},"map_files_photo_id_array":[{"photo_id":"1398171887","filename":"file5"},{"photo_id":"1398171882","filename":"file2"},{"photo_id":"1398171886","filename":"file4"},{"photo_id":"1398171880","filename":"file1"},{"photo_id":"1398171878","filename":"file0"},{"photo_id":"1398171884","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171882":["hashtag1","hashtag2"]},{"1398171887":["hashtag1","hashtag2"]},{"1398171884":["hashtag1","hashtag2"]},{"1398171878":["hashtag1","hashtag2"]},{"1398171886":["hashtag1","hashtag2"]},{"1398171880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171882, 1398171887, 1398171884, 1398171878, 1398171886, 1398171880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09827971458435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:32:03.200727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/51/image_03122025_06_51_34_9774.jpg', '/home/pi/Desktop/images/03122025/06/51/image_03122025_06_51_45_10733.jpg', '/home/pi/Desktop/images/03122025/06/51/image_03122025_06_52_04_9695.jpg', '/home/pi/Desktop/images/03122025/06/52/image_03122025_06_52_15_10713.jpg', '/home/pi/Desktop/images/03122025/06/52/image_03122025_06_52_24_9786.jpg', '/home/pi/Desktop/images/03122025/06/52/image_03122025_06_52_34_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/51/image_03122025_06_51_34_9774.jpg
/home/pi/Desktop/images/03122025/06/51/image_03122025_06_51_45_10733.jpg
/home/pi/Desktop/images/03122025/06/51/image_03122025_06_52_04_9695.jpg
/home/pi/Desktop/images/03122025/06/52/image_03122025_06_52_15_10713.jpg
/home/pi/Desktop/images/03122025/06/52/image_03122025_06_52_24_9786.jpg
/home/pi/Desktop/images/03122025/06/52/image_03122025_06_52_34_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171891","1398171894","1398171888","1398171890","1398171892","1398171889"],"photo_ids_order":["1398171888","1398171889","1398171890","1398171891","1398171892","1398171894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/765f70b701745640d567b51917ef8902.jpg","text":"TemporaryFile(/tmp/multipartBody5976096730066520266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973984955,"filename":"image_03122025_06_52_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/5/8384c63784127459c9812c0744ffd261.jpg","text":"TemporaryFile(/tmp/multipartBody7385280203440979894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973984955,"filename":"image_03122025_06_52_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/5/d5b6c1506ae446731aa05e96299d3e9f.jpg","text":"TemporaryFile(/tmp/multipartBody2606999776657730156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973984955,"filename":"image_03122025_06_51_34_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/5/f61fb5d04c0c0f089f3c2ba942c17c7d.jpg","text":"TemporaryFile(/tmp/multipartBody736982116438912764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973984955,"filename":"image_03122025_06_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/5/faade32b569f6a8a29b8f7b0bf33f322.jpg","text":"TemporaryFile(/tmp/multipartBody180697735198785104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973984955,"filename":"image_03122025_06_52_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/5/d43dfb345b7c1f5fdeaf2f4c492995bd.jpg","text":"TemporaryFile(/tmp/multipartBody9189061752579346749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764973984955,"filename":"image_03122025_06_51_45_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171890","file1":"1398171889","file0":"1398171888","file4":"1398171892","file5":"1398171894","file3":"1398171891"},"map_files_photo_id_array":[{"photo_id":"1398171894","filename":"file5"},{"photo_id":"1398171890","filename":"file2"},{"photo_id":"1398171892","filename":"file4"},{"photo_id":"1398171889","filename":"file1"},{"photo_id":"1398171888","filename":"file0"},{"photo_id":"1398171891","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171891":["hashtag1","hashtag2"]},{"1398171894":["hashtag1","hashtag2"]},{"1398171888":["hashtag1","hashtag2"]},{"1398171890":["hashtag1","hashtag2"]},{"1398171892":["hashtag1","hashtag2"]},{"1398171889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171891, 1398171894, 1398171888, 1398171890, 1398171892, 1398171889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.943750858306885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:32:42.764035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_33_3623.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_36_2641.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_39_2657.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_42_3669.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_45_2635.jpg', '/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_57_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_33_3623.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_36_2641.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_39_2657.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_42_3669.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_45_2635.jpg
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_57_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171904","1398171907","1398171900","1398171903","1398171906","1398171905"],"photo_ids_order":["1398171900","1398171903","1398171904","1398171905","1398171906","1398171907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/928a000546bd00ea9d8b0452f6ed7460.jpg","text":"TemporaryFile(/tmp/multipartBody1753874763977274111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974024341,"filename":"image_31102025_21_18_39_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/5/7d53992741a225f854e9a22f072d1889.jpg","text":"TemporaryFile(/tmp/multipartBody2108371242453098349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974024341,"filename":"image_31102025_21_18_57_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/5/9d911adf8fec70f6704d4bca50af6f5c.jpg","text":"TemporaryFile(/tmp/multipartBody5182355570235158748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974024341,"filename":"image_31102025_21_18_33_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/5/29de0b5677ef7594aca4f1863cd0effd.jpg","text":"TemporaryFile(/tmp/multipartBody540044200404142893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974024341,"filename":"image_31102025_21_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/5/916d3ae11c3e2f410b3bb4e33c446852.jpg","text":"TemporaryFile(/tmp/multipartBody1087569463851990663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974024341,"filename":"image_31102025_21_18_45_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/5/740401f1db3c7b83311c72f00d52c44b.jpg","text":"TemporaryFile(/tmp/multipartBody6913881832875279009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974024341,"filename":"image_31102025_21_18_42_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171904","file1":"1398171903","file0":"1398171900","file4":"1398171906","file5":"1398171907","file3":"1398171905"},"map_files_photo_id_array":[{"photo_id":"1398171907","filename":"file5"},{"photo_id":"1398171904","filename":"file2"},{"photo_id":"1398171906","filename":"file4"},{"photo_id":"1398171903","filename":"file1"},{"photo_id":"1398171900","filename":"file0"},{"photo_id":"1398171905","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171904":["hashtag1","hashtag2"]},{"1398171907":["hashtag1","hashtag2"]},{"1398171900":["hashtag1","hashtag2"]},{"1398171903":["hashtag1","hashtag2"]},{"1398171906":["hashtag1","hashtag2"]},{"1398171905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171904, 1398171907, 1398171900, 1398171903, 1398171906, 1398171905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32170081138611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:33:21.979204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/23/15/image_05122025_23_16_05_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/23/15/image_05122025_23_16_05_9728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171910"],"photo_id":"1398171910","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a37b88bceb25eadd098951c9c4114484.jpg","text":"TemporaryFile(/tmp/multipartBody1528452507308394327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974062508,"filename":"image_05122025_23_16_05_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398171910"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398171910"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.039438009262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:33:41.918345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_59_2655.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_03_3803.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_06_2738.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_09_2653.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_12_3635.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_15_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/18/image_31102025_21_18_59_2655.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_03_3803.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_06_2738.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_09_2653.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_12_3635.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_15_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":["1398171919","1398171921","1398171918","1398171920","1398171917","1398171916"],"photo_ids_order":["1398171916","1398171917","1398171918","1398171919","1398171920","1398171921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/77e9a09415090e6114ca6723da2c4f80.jpg","text":"TemporaryFile(/tmp/multipartBody7181783511020929854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974083478,"filename":"image_31102025_21_19_09_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/5/dc2d2d660d3cd14d9f4e1416e0250211.jpg","text":"TemporaryFile(/tmp/multipartBody2395564179101454423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974083478,"filename":"image_31102025_21_19_15_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b376c8ffdc25a404c6643c88d0295b9a.jpg","text":"TemporaryFile(/tmp/multipartBody8360485481486195606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974083478,"filename":"image_31102025_21_19_06_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/5/46eea6096bb756bdd4221c3bad8ccc63.jpg","text":"TemporaryFile(/tmp/multipartBody2367409982764367240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974083478,"filename":"image_31102025_21_19_12_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/5/ba51a6ad98003242262fb00dd53793de.jpg","text":"TemporaryFile(/tmp/multipartBody1425194699517837010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974083478,"filename":"image_31102025_21_19_03_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/5/bf3dd1a3814720a56e32b30f5fceccba.jpg","text":"TemporaryFile(/tmp/multipartBody5190231979704581928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974083478,"filename":"image_31102025_21_18_59_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171918","file1":"1398171917","file0":"1398171916","file4":"1398171920","file5":"1398171921","file3":"1398171919"},"map_files_photo_id_array":[{"photo_id":"1398171921","filename":"file5"},{"photo_id":"1398171918","filename":"file2"},{"photo_id":"1398171920","filename":"file4"},{"photo_id":"1398171917","filename":"file1"},{"photo_id":"1398171916","filename":"file0"},{"photo_id":"1398171919","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171919":["hashtag1","hashtag2"]},{"1398171921":["hashtag1","hashtag2"]},{"1398171918":["hashtag1","hashtag2"]},{"1398171920":["hashtag1","hashtag2"]},{"1398171917":["hashtag1","hashtag2"]},{"1398171916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171919, 1398171921, 1398171918, 1398171920, 1398171917, 1398171916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37767815589905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:34:22.093610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/23/33/image_05122025_23_33_35_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/23/33/image_05122025_23_33_35_10731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171922"],"photo_id":"1398171922","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/33f24e9448fa52b3a9a078a6cc54e0ed.jpg","text":"TemporaryFile(/tmp/multipartBody366322224723695151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974122586,"filename":"image_05122025_23_33_35_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398171922"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398171922"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.69288945198059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:34:42.101362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_17_2526.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_21_3634.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_24_2645.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_26_2679.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_30_3698.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_35_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_17_2526.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_21_3634.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_24_2645.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_26_2679.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_30_3698.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_35_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":["1398171928","1398171936","1398171930","1398171932","1398171934","1398171937"],"photo_ids_order":["1398171928","1398171930","1398171932","1398171934","1398171936","1398171937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fac3fb8558785f53f66038943c7a2471.jpg","text":"TemporaryFile(/tmp/multipartBody8691149179974672652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974143696,"filename":"image_31102025_21_19_17_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a4b166a006b7a42566455fb22e9261eb.jpg","text":"TemporaryFile(/tmp/multipartBody2132212427054977681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974143696,"filename":"image_31102025_21_19_30_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/5/2abd3f68c9470938d6aced8924453cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7244527174220296545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974143696,"filename":"image_31102025_21_19_21_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/5/0e36dbef0073d206305b7b52b8a8c12d.jpg","text":"TemporaryFile(/tmp/multipartBody109339539126177232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974143696,"filename":"image_31102025_21_19_24_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/5/53c063a28e735d4aa1d2629bb7ffba95.jpg","text":"TemporaryFile(/tmp/multipartBody3296982047529511954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974143696,"filename":"image_31102025_21_19_26_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/5/2c801603fd3fdf35d32c520b2c08dd76.jpg","text":"TemporaryFile(/tmp/multipartBody3973713334958292128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974143696,"filename":"image_31102025_21_19_35_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171932","file1":"1398171930","file0":"1398171928","file4":"1398171936","file5":"1398171937","file3":"1398171934"},"map_files_photo_id_array":[{"photo_id":"1398171937","filename":"file5"},{"photo_id":"1398171932","filename":"file2"},{"photo_id":"1398171936","filename":"file4"},{"photo_id":"1398171930","filename":"file1"},{"photo_id":"1398171928","filename":"file0"},{"photo_id":"1398171934","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171928":["hashtag1","hashtag2"]},{"1398171936":["hashtag1","hashtag2"]},{"1398171930":["hashtag1","hashtag2"]},{"1398171932":["hashtag1","hashtag2"]},{"1398171934":["hashtag1","hashtag2"]},{"1398171937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171928, 1398171936, 1398171930, 1398171932, 1398171934, 1398171937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.908623933792114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:35:22.264837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/23/33/image_05122025_23_34_04_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/23/33/image_05122025_23_34_04_9756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171938"],"photo_id":"1398171938","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c80637e875c36a771b3e060787bb8886.jpg","text":"TemporaryFile(/tmp/multipartBody4471358778426449242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974182757,"filename":"image_05122025_23_34_04_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398171938"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398171938"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.782671689987183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:35:42.363017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_39_3692.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_44_2785.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_48_3579.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_54_3570.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_57_2637.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_03_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_39_3692.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_44_2785.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_48_3579.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_54_3570.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_57_2637.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_03_3623.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4708387851715088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:36:03.009164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/52/image_03122025_06_52_44_9581.jpg', '/home/pi/Desktop/images/03122025/06/52/image_03122025_06_52_54_10607.jpg', '/home/pi/Desktop/images/03122025/06/52/image_03122025_06_53_04_9602.jpg', '/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_15_10646.jpg', '/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_24_9827.jpg', '/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_34_9544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/52/image_03122025_06_52_44_9581.jpg
/home/pi/Desktop/images/03122025/06/52/image_03122025_06_52_54_10607.jpg
/home/pi/Desktop/images/03122025/06/52/image_03122025_06_53_04_9602.jpg
/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_15_10646.jpg
/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_24_9827.jpg
/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_34_9544.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":["1398171951","1398171954","1398171956","1398171953","1398171952","1398171949"],"photo_ids_order":["1398171949","1398171951","1398171952","1398171953","1398171954","1398171956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/23f693b7b08b45975bfb5c9ca48bca5e.jpg","text":"TemporaryFile(/tmp/multipartBody5984162407799919834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974224765,"filename":"image_03122025_06_52_54_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/5/4a9b2848c7e99c00ab690170d1f00c67.jpg","text":"TemporaryFile(/tmp/multipartBody5153817503269272813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974224765,"filename":"image_03122025_06_53_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/5/515a48529d10bf70b9e77bbf7bde54bb.jpg","text":"TemporaryFile(/tmp/multipartBody5980349862676872800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974224765,"filename":"image_03122025_06_53_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/5/35e81ad0db14769738ba5ea37bd20219.jpg","text":"TemporaryFile(/tmp/multipartBody4072257490111663170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974224765,"filename":"image_03122025_06_53_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/5/7af6f2162bef4e8da4495963ffe11e68.jpg","text":"TemporaryFile(/tmp/multipartBody4545043835744975046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974224765,"filename":"image_03122025_06_53_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/5/8a04d1df267af48292ff5c4cfc525223.jpg","text":"TemporaryFile(/tmp/multipartBody903816642553962750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974224765,"filename":"image_03122025_06_52_44_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171952","file1":"1398171951","file0":"1398171949","file4":"1398171954","file5":"1398171956","file3":"1398171953"},"map_files_photo_id_array":[{"photo_id":"1398171956","filename":"file5"},{"photo_id":"1398171952","filename":"file2"},{"photo_id":"1398171954","filename":"file4"},{"photo_id":"1398171951","filename":"file1"},{"photo_id":"1398171949","filename":"file0"},{"photo_id":"1398171953","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171951":["hashtag1","hashtag2"]},{"1398171954":["hashtag1","hashtag2"]},{"1398171956":["hashtag1","hashtag2"]},{"1398171953":["hashtag1","hashtag2"]},{"1398171952":["hashtag1","hashtag2"]},{"1398171949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171951, 1398171954, 1398171956, 1398171953, 1398171952, 1398171949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49523973464966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:37:03.438947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/23/35/image_05122025_23_35_45_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/23/35/image_05122025_23_35_45_10663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171964"],"photo_id":"1398171964","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bb91293ce4de38f7730b03aea87699c3.jpg","text":"TemporaryFile(/tmp/multipartBody4660400075064178771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974283952,"filename":"image_05122025_23_35_45_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398171964"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398171964"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.010189294815063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:37:22.773486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_39_3692.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_44_2785.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_48_3579.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_54_3570.jpg', '/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_57_2637.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_03_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_39_3692.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_44_2785.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_48_3579.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_54_3570.jpg
/home/pi/Desktop/images/31102025/21/19/image_31102025_21_19_57_2637.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_03_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171972","1398171974","1398171968","1398171977","1398171970","1398171976"],"photo_ids_order":["1398171968","1398171970","1398171972","1398171974","1398171976","1398171977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91f3347714b387e0e9393485cefece14.jpg","text":"TemporaryFile(/tmp/multipartBody2015875240347542644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974304209,"filename":"image_31102025_21_19_48_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7066ef2fa403d0312783b4850a819311.jpg","text":"TemporaryFile(/tmp/multipartBody7451184397982258760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974304209,"filename":"image_31102025_21_19_54_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/5/f6e29b0314f0afba9463e04652bbd0a3.jpg","text":"TemporaryFile(/tmp/multipartBody1335060718058134813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974304209,"filename":"image_31102025_21_19_39_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/5/84d6b4be5aa7848d4a8d5ab10ceb3876.jpg","text":"TemporaryFile(/tmp/multipartBody1968231659189042391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974304209,"filename":"image_31102025_21_20_03_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/5/26bd1e2afebd9d723d8c37a3b59ac118.jpg","text":"TemporaryFile(/tmp/multipartBody133336922381387691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974304209,"filename":"image_31102025_21_19_44_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/5/5e6f3928a34b7e5343472157477b94d1.jpg","text":"TemporaryFile(/tmp/multipartBody3829149842526423747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974304209,"filename":"image_31102025_21_19_57_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171972","file1":"1398171970","file0":"1398171968","file4":"1398171976","file5":"1398171977","file3":"1398171974"},"map_files_photo_id_array":[{"photo_id":"1398171977","filename":"file5"},{"photo_id":"1398171972","filename":"file2"},{"photo_id":"1398171976","filename":"file4"},{"photo_id":"1398171970","filename":"file1"},{"photo_id":"1398171968","filename":"file0"},{"photo_id":"1398171974","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398171972":["hashtag1","hashtag2"]},{"1398171974":["hashtag1","hashtag2"]},{"1398171968":["hashtag1","hashtag2"]},{"1398171977":["hashtag1","hashtag2"]},{"1398171970":["hashtag1","hashtag2"]},{"1398171976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398171972, 1398171974, 1398171968, 1398171977, 1398171970, 1398171976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68788170814514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:38:02.331029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_45_10679.jpg', '/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_54_9833.jpg', '/home/pi/Desktop/images/03122025/06/53/image_03122025_06_54_04_9646.jpg', '/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_14_9754.jpg', '/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_24_10564.jpg', '/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_34_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_45_10679.jpg
/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_54_9833.jpg
/home/pi/Desktop/images/03122025/06/53/image_03122025_06_54_04_9646.jpg
/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_14_9754.jpg
/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_24_10564.jpg
/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_34_9661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6197662353515625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 23:38:11.953038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_45_10679.jpg', '/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_54_9833.jpg', '/home/pi/Desktop/images/03122025/06/53/image_03122025_06_54_04_9646.jpg', '/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_14_9754.jpg', '/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_24_10564.jpg', '/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_34_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_45_10679.jpg
/home/pi/Desktop/images/03122025/06/53/image_03122025_06_53_54_9833.jpg
/home/pi/Desktop/images/03122025/06/53/image_03122025_06_54_04_9646.jpg
/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_14_9754.jpg
/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_24_10564.jpg
/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_34_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398171990","1398171992","1398171998","1398171983","1398171985","1398171988"],"photo_ids_order":["1398171983","1398171985","1398171988","1398171990","1398171992","1398171998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/af304655add59657c73f36b9953ebb26.jpg","text":"TemporaryFile(/tmp/multipartBody4560482193854002828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974353923,"filename":"image_03122025_06_54_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/5/ef6c19cca33198376bd53f6d07eb57b3.jpg","text":"TemporaryFile(/tmp/multipartBody4125510486808860799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974353923,"filename":"image_03122025_06_54_24_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/5/cba21118b0e521b98b406d63393a1960.jpg","text":"TemporaryFile(/tmp/multipartBody4486646598726974515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974353923,"filename":"image_03122025_06_54_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/5/ff55cbaebdd7efeefaf04a557696d5de.jpg","text":"TemporaryFile(/tmp/multipartBody2563793712535030550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974353923,"filename":"image_03122025_06_53_45_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/5/1956245b8a23eff340197147a3d6fa09.jpg","text":"TemporaryFile(/tmp/multipartBody525077822656805556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974353923,"filename":"image_03122025_06_53_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/5/2a8c259f0d660ef58714c77e05f2c6a2.jpg","text":"TemporaryFile(/tmp/multipartBody5079572999927559507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974353923,"filename":"image_03122025_06_54_04_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398171988","file1":"1398171985","file0":"1398171983","file4":"1398171992","file5":"1398171998","file3":"1398171990"},"map_files_photo_id_array":[{"photo_id":"1398171998","filename":"file5"},{"photo_id":"1398171988","filename":"file2"},{"photo_id":"1398171992","filename":"file4"},{"photo_id":"1398171985","filename":"file1"},{"photo_id":"1398171983","filename":"file0"},{"photo_id":"1398171990","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398171990":["hashtag1","hashtag2"]},{"1398171992":["hashtag1","hashtag2"]},{"1398171998":["hashtag1","hashtag2"]},{"1398171983":["hashtag1","hashtag2"]},{"1398171985":["hashtag1","hashtag2"]},{"1398171988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398171990, 1398171992, 1398171998, 1398171983, 1398171985, 1398171988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87244391441345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:39:03.111470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/23/36/image_05122025_23_36_34_9869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/23/36/image_05122025_23_36_34_9869.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172003"],"photo_id":"1398172003","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/398dc4ada2bdbfbda822f05688f5b89f.jpg","text":"TemporaryFile(/tmp/multipartBody8799418737576635207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974403692,"filename":"image_05122025_23_36_34_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398172003"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398172003"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.126858234405518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:39:22.190528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_06_2661.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_08_2535.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_12_3770.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_15_2667.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_17_2756.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_21_3498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_06_2661.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_08_2535.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_12_3770.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_15_2667.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_17_2756.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_21_3498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172009","1398172011","1398172005","1398172013","1398172007","1398172015"],"photo_ids_order":["1398172005","1398172007","1398172009","1398172011","1398172013","1398172015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/15383d21858201ee03e5caed7b3c0d9c.jpg","text":"TemporaryFile(/tmp/multipartBody6080644599758604308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974423798,"filename":"image_31102025_21_20_12_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/5/48c09cc46445534ca33e13709d778ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6859747768545894227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974423798,"filename":"image_31102025_21_20_15_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f2a149e211594d719e726a9bb41217ad.jpg","text":"TemporaryFile(/tmp/multipartBody7282001346234426883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974423798,"filename":"image_31102025_21_20_06_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/5/127505f3aa447938826784b8ca06c364.jpg","text":"TemporaryFile(/tmp/multipartBody3578954220647724427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974423798,"filename":"image_31102025_21_20_17_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/5/71cefde04c4751245b59bce371cc0b92.jpg","text":"TemporaryFile(/tmp/multipartBody1366630972496647178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974423798,"filename":"image_31102025_21_20_08_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/5/7d6a60b65bf7cd37f991a10b002a3526.jpg","text":"TemporaryFile(/tmp/multipartBody1515511178603573254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974423798,"filename":"image_31102025_21_20_21_3498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172009","file1":"1398172007","file0":"1398172005","file4":"1398172013","file5":"1398172015","file3":"1398172011"},"map_files_photo_id_array":[{"photo_id":"1398172015","filename":"file5"},{"photo_id":"1398172009","filename":"file2"},{"photo_id":"1398172013","filename":"file4"},{"photo_id":"1398172007","filename":"file1"},{"photo_id":"1398172005","filename":"file0"},{"photo_id":"1398172011","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172009":["hashtag1","hashtag2"]},{"1398172011":["hashtag1","hashtag2"]},{"1398172005":["hashtag1","hashtag2"]},{"1398172013":["hashtag1","hashtag2"]},{"1398172007":["hashtag1","hashtag2"]},{"1398172015":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172009, 1398172011, 1398172005, 1398172013, 1398172007, 1398172015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.248799562454224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:40:02.736778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_44_9568.jpg', '/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_54_10616.jpg', '/home/pi/Desktop/images/03122025/06/54/image_03122025_06_55_04_9624.jpg', '/home/pi/Desktop/images/03122025/06/55/image_03122025_06_55_15_10663.jpg', '/home/pi/Desktop/images/03122025/06/55/image_03122025_06_55_44_10115.jpg', '/home/pi/Desktop/images/03122025/06/55/image_03122025_06_55_54_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_44_9568.jpg
/home/pi/Desktop/images/03122025/06/54/image_03122025_06_54_54_10616.jpg
/home/pi/Desktop/images/03122025/06/54/image_03122025_06_55_04_9624.jpg
/home/pi/Desktop/images/03122025/06/55/image_03122025_06_55_15_10663.jpg
/home/pi/Desktop/images/03122025/06/55/image_03122025_06_55_44_10115.jpg
/home/pi/Desktop/images/03122025/06/55/image_03122025_06_55_54_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172020","1398172023","1398172017","1398172019","1398172016","1398172018"],"photo_ids_order":["1398172016","1398172017","1398172018","1398172019","1398172020","1398172023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d811ba49c54165fc790bcc37ffea9bc5.jpg","text":"TemporaryFile(/tmp/multipartBody2793098402856592762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974464476,"filename":"image_03122025_06_55_44_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/5/f9c228144d34603e4b4e0ed8c26f1c0b.jpg","text":"TemporaryFile(/tmp/multipartBody8861791641517209025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974464476,"filename":"image_03122025_06_55_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/5/e438810fa36cdefbe11c0af820a8b1f1.jpg","text":"TemporaryFile(/tmp/multipartBody2008249623387618761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974464476,"filename":"image_03122025_06_54_54_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/5/96e8765d826b4f6767e60e8fa79f6a17.jpg","text":"TemporaryFile(/tmp/multipartBody5363508721996894120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974464476,"filename":"image_03122025_06_55_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f753869a14257829cd005a75883d0a41.jpg","text":"TemporaryFile(/tmp/multipartBody8471574895295020823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974464476,"filename":"image_03122025_06_54_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/5/1971576c90c61d206880072b0631b0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6112474140722609071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974464476,"filename":"image_03122025_06_55_04_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172018","file1":"1398172017","file0":"1398172016","file4":"1398172020","file5":"1398172023","file3":"1398172019"},"map_files_photo_id_array":[{"photo_id":"1398172023","filename":"file5"},{"photo_id":"1398172018","filename":"file2"},{"photo_id":"1398172020","filename":"file4"},{"photo_id":"1398172017","filename":"file1"},{"photo_id":"1398172016","filename":"file0"},{"photo_id":"1398172019","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172020":["hashtag1","hashtag2"]},{"1398172023":["hashtag1","hashtag2"]},{"1398172017":["hashtag1","hashtag2"]},{"1398172019":["hashtag1","hashtag2"]},{"1398172016":["hashtag1","hashtag2"]},{"1398172018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172020, 1398172023, 1398172017, 1398172019, 1398172016, 1398172018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.274630308151245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:40:42.362436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_24_2782.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_26_2644.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_29_2732.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_33_3645.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_35_2594.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_39_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_24_2782.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_26_2644.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_29_2732.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_33_3645.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_35_2594.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_39_3590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172032","1398172031","1398172034","1398172028","1398172033","1398172030"],"photo_ids_order":["1398172028","1398172030","1398172031","1398172032","1398172033","1398172034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/93e83850d0d890b4c2b79e5e28d44933.jpg","text":"TemporaryFile(/tmp/multipartBody4570114201110378197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974503920,"filename":"image_31102025_21_20_33_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/5/78de52e1fb3358b9e3600a2fe67b53af.jpg","text":"TemporaryFile(/tmp/multipartBody8804224834112937975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974503920,"filename":"image_31102025_21_20_29_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/5/6477f23a85d43f3e9fc4192e2bd53820.jpg","text":"TemporaryFile(/tmp/multipartBody2622993535171571769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974503920,"filename":"image_31102025_21_20_39_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/5/72e5c48ebc4a7e405e1d7a9f8dab6081.jpg","text":"TemporaryFile(/tmp/multipartBody3819895058461865804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974503920,"filename":"image_31102025_21_20_24_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/5/e03471ab6b439556f30b3ca360d894e3.jpg","text":"TemporaryFile(/tmp/multipartBody7521066501488720740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974503920,"filename":"image_31102025_21_20_35_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/5/63fdf0258fed8c89478d6eb8f9441e5e.jpg","text":"TemporaryFile(/tmp/multipartBody602049019732448787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974503920,"filename":"image_31102025_21_20_26_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172031","file1":"1398172030","file0":"1398172028","file4":"1398172033","file5":"1398172034","file3":"1398172032"},"map_files_photo_id_array":[{"photo_id":"1398172034","filename":"file5"},{"photo_id":"1398172031","filename":"file2"},{"photo_id":"1398172033","filename":"file4"},{"photo_id":"1398172030","filename":"file1"},{"photo_id":"1398172028","filename":"file0"},{"photo_id":"1398172032","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172032":["hashtag1","hashtag2"]},{"1398172031":["hashtag1","hashtag2"]},{"1398172034":["hashtag1","hashtag2"]},{"1398172028":["hashtag1","hashtag2"]},{"1398172033":["hashtag1","hashtag2"]},{"1398172030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172032, 1398172031, 1398172034, 1398172028, 1398172033, 1398172030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86515522003174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:41:22.580588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_42_2632.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_44_2731.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_51_2580.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_53_2858.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_56_2631.jpg', '/home/pi/Desktop/images/31102025/21/20/image_31102025_21_21_00_3523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_42_2632.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_44_2731.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_51_2580.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_53_2858.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_20_56_2631.jpg
/home/pi/Desktop/images/31102025/21/20/image_31102025_21_21_00_3523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172038","1398172040","1398172043","1398172046","1398172042","1398172036"],"photo_ids_order":["1398172036","1398172038","1398172040","1398172042","1398172043","1398172046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/91ea7879562e25507e8e038d13596c61.jpg","text":"TemporaryFile(/tmp/multipartBody8968549173996937980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974544148,"filename":"image_31102025_21_20_44_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/5/832715c8445c6ee6193a3c0375c1cd1b.jpg","text":"TemporaryFile(/tmp/multipartBody1872483649142625087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974544148,"filename":"image_31102025_21_20_51_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/5/3aee974b26b603fced44a9bf6e0a347a.jpg","text":"TemporaryFile(/tmp/multipartBody455560807443041945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974544148,"filename":"image_31102025_21_20_56_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/5/cf5412e7512c5bd359e3cd26ed0a7987.jpg","text":"TemporaryFile(/tmp/multipartBody7187497222747630305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974544148,"filename":"image_31102025_21_21_00_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/5/88f22878dd6e1579a3db0c016c0fd479.jpg","text":"TemporaryFile(/tmp/multipartBody2689037916889823243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974544148,"filename":"image_31102025_21_20_53_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/5/7a043d4b93c48b06360ba61b1aa3e625.jpg","text":"TemporaryFile(/tmp/multipartBody7184411310301600458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974544148,"filename":"image_31102025_21_20_42_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172040","file1":"1398172038","file0":"1398172036","file4":"1398172043","file5":"1398172046","file3":"1398172042"},"map_files_photo_id_array":[{"photo_id":"1398172046","filename":"file5"},{"photo_id":"1398172040","filename":"file2"},{"photo_id":"1398172043","filename":"file4"},{"photo_id":"1398172038","filename":"file1"},{"photo_id":"1398172036","filename":"file0"},{"photo_id":"1398172042","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172038":["hashtag1","hashtag2"]},{"1398172040":["hashtag1","hashtag2"]},{"1398172043":["hashtag1","hashtag2"]},{"1398172046":["hashtag1","hashtag2"]},{"1398172042":["hashtag1","hashtag2"]},{"1398172036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172038, 1398172040, 1398172043, 1398172046, 1398172042, 1398172036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.790729999542236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:42:03.212297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/55/image_03122025_06_56_04_9654.jpg', '/home/pi/Desktop/images/03122025/06/56/image_03122025_06_56_14_9748.jpg', '/home/pi/Desktop/images/03122025/06/56/image_03122025_06_56_25_10667.jpg', '/home/pi/Desktop/images/03122025/06/56/image_03122025_06_56_34_9541.jpg', '/home/pi/Desktop/images/03122025/06/56/image_03122025_06_56_44_9633.jpg', '/home/pi/Desktop/images/03122025/06/56/image_03122025_06_56_54_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/55/image_03122025_06_56_04_9654.jpg
/home/pi/Desktop/images/03122025/06/56/image_03122025_06_56_14_9748.jpg
/home/pi/Desktop/images/03122025/06/56/image_03122025_06_56_25_10667.jpg
/home/pi/Desktop/images/03122025/06/56/image_03122025_06_56_34_9541.jpg
/home/pi/Desktop/images/03122025/06/56/image_03122025_06_56_44_9633.jpg
/home/pi/Desktop/images/03122025/06/56/image_03122025_06_56_54_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":["1398172050","1398172049","1398172052","1398172051","1398172054","1398172048"],"photo_ids_order":["1398172048","1398172049","1398172050","1398172051","1398172052","1398172054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/b9978897e12ab4b633188b226b813304.jpg","text":"TemporaryFile(/tmp/multipartBody4088616636016088696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974584937,"filename":"image_03122025_06_56_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/5/446840e758893d6965e15a24fab2e282.jpg","text":"TemporaryFile(/tmp/multipartBody8337763027729967328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974584937,"filename":"image_03122025_06_56_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/5/5efbda14b801610f6b8437dd46e6141d.jpg","text":"TemporaryFile(/tmp/multipartBody4660026599800330493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974584937,"filename":"image_03122025_06_56_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/5/507cd259cbf76ba4e503b351967c9d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5706393504408207882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974584937,"filename":"image_03122025_06_56_34_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c0833d80b5ea4c0b412b4dd7316b59d4.jpg","text":"TemporaryFile(/tmp/multipartBody6870997601073188965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974584937,"filename":"image_03122025_06_56_54_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/abf0790843ff0e85af4dee0d883cab82.jpg","text":"TemporaryFile(/tmp/multipartBody235314173983186887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974584937,"filename":"image_03122025_06_56_04_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172050","file1":"1398172049","file0":"1398172048","file4":"1398172052","file5":"1398172054","file3":"1398172051"},"map_files_photo_id_array":[{"photo_id":"1398172054","filename":"file5"},{"photo_id":"1398172050","filename":"file2"},{"photo_id":"1398172052","filename":"file4"},{"photo_id":"1398172049","filename":"file1"},{"photo_id":"1398172048","filename":"file0"},{"photo_id":"1398172051","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172050":["hashtag1","hashtag2"]},{"1398172049":["hashtag1","hashtag2"]},{"1398172052":["hashtag1","hashtag2"]},{"1398172051":["hashtag1","hashtag2"]},{"1398172054":["hashtag1","hashtag2"]},{"1398172048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172050, 1398172049, 1398172052, 1398172051, 1398172054, 1398172048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.210928201675415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:42:42.817403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_02_2594.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_09_2697.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_11_2547.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_15_3629.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_17_2628.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_20_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_02_2594.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_09_2697.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_11_2547.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_15_3629.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_17_2628.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_20_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":["1398172065","1398172067","1398172064","1398172066","1398172060","1398172063"],"photo_ids_order":["1398172060","1398172063","1398172064","1398172065","1398172066","1398172067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6c312dd0c75fd0456620f9f15253325c.jpg","text":"TemporaryFile(/tmp/multipartBody3108445533327454687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974624380,"filename":"image_31102025_21_21_15_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/5/53e122c0f49c5207b7d71af1a5af7a7a.jpg","text":"TemporaryFile(/tmp/multipartBody1679928681631893123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974624380,"filename":"image_31102025_21_21_20_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/5/7a0f7acc48d8dd433960a9932dbe7247.jpg","text":"TemporaryFile(/tmp/multipartBody1008952691536814193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974624380,"filename":"image_31102025_21_21_11_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/5/cad9033d85d9adb96209fc559061b634.jpg","text":"TemporaryFile(/tmp/multipartBody209976157176845875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974624380,"filename":"image_31102025_21_21_17_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ee8abab16943665ea76181f87f8d5a08.jpg","text":"TemporaryFile(/tmp/multipartBody8403168319499210872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974624380,"filename":"image_31102025_21_21_02_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/5/e021fb444af362dfb7fee9be323244d0.jpg","text":"TemporaryFile(/tmp/multipartBody8325071896819906885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974624380,"filename":"image_31102025_21_21_09_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172064","file1":"1398172063","file0":"1398172060","file4":"1398172066","file5":"1398172067","file3":"1398172065"},"map_files_photo_id_array":[{"photo_id":"1398172067","filename":"file5"},{"photo_id":"1398172064","filename":"file2"},{"photo_id":"1398172066","filename":"file4"},{"photo_id":"1398172063","filename":"file1"},{"photo_id":"1398172060","filename":"file0"},{"photo_id":"1398172065","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172065":["hashtag1","hashtag2"]},{"1398172067":["hashtag1","hashtag2"]},{"1398172064":["hashtag1","hashtag2"]},{"1398172066":["hashtag1","hashtag2"]},{"1398172060":["hashtag1","hashtag2"]},{"1398172063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172065, 1398172067, 1398172064, 1398172066, 1398172060, 1398172063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40856122970581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:43:22.009773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_24_3640.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_26_2754.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_29_2705.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_35_2501.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_39_3559.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_42_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_24_3640.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_26_2754.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_29_2705.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_35_2501.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_39_3559.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_42_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":["1398172071","1398172073","1398172078","1398172075","1398172069","1398172080"],"photo_ids_order":["1398172069","1398172071","1398172073","1398172075","1398172078","1398172080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9770b03e5cfec11171f4bbc153b0735c.jpg","text":"TemporaryFile(/tmp/multipartBody7243430685238709758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974663581,"filename":"image_31102025_21_21_26_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/5/b2b8e93ed0421f4e4c60d2aedf8c055d.jpg","text":"TemporaryFile(/tmp/multipartBody7108035099555375924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974663581,"filename":"image_31102025_21_21_29_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/5/c72803333e6660467094ba4d65290d11.jpg","text":"TemporaryFile(/tmp/multipartBody2678673887049802425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974663581,"filename":"image_31102025_21_21_39_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/29228dd704d31a2d0feb96c49c64418d.jpg","text":"TemporaryFile(/tmp/multipartBody4006697728316198051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974663581,"filename":"image_31102025_21_21_35_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a340b65083e61e3b68d3f2012b6e0f17.jpg","text":"TemporaryFile(/tmp/multipartBody4851352386865052084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974663581,"filename":"image_31102025_21_21_24_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/5/698dc236c49fb6fc380b08d84a0af01c.jpg","text":"TemporaryFile(/tmp/multipartBody1378213404151839622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974663581,"filename":"image_31102025_21_21_42_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172073","file1":"1398172071","file0":"1398172069","file4":"1398172078","file5":"1398172080","file3":"1398172075"},"map_files_photo_id_array":[{"photo_id":"1398172080","filename":"file5"},{"photo_id":"1398172073","filename":"file2"},{"photo_id":"1398172078","filename":"file4"},{"photo_id":"1398172071","filename":"file1"},{"photo_id":"1398172069","filename":"file0"},{"photo_id":"1398172075","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172071":["hashtag1","hashtag2"]},{"1398172073":["hashtag1","hashtag2"]},{"1398172078":["hashtag1","hashtag2"]},{"1398172075":["hashtag1","hashtag2"]},{"1398172069":["hashtag1","hashtag2"]},{"1398172080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172071, 1398172073, 1398172078, 1398172075, 1398172069, 1398172080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.129318714141846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:44:02.733811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/56/image_03122025_06_57_04_9680.jpg', '/home/pi/Desktop/images/03122025/06/57/image_03122025_06_57_14_9614.jpg', '/home/pi/Desktop/images/03122025/06/57/image_03122025_06_57_24_10708.jpg', '/home/pi/Desktop/images/03122025/06/57/image_03122025_06_57_34_9826.jpg', '/home/pi/Desktop/images/03122025/06/57/image_03122025_06_57_44_9885.jpg', '/home/pi/Desktop/images/03122025/06/57/image_03122025_06_58_05_10844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/56/image_03122025_06_57_04_9680.jpg
/home/pi/Desktop/images/03122025/06/57/image_03122025_06_57_14_9614.jpg
/home/pi/Desktop/images/03122025/06/57/image_03122025_06_57_24_10708.jpg
/home/pi/Desktop/images/03122025/06/57/image_03122025_06_57_34_9826.jpg
/home/pi/Desktop/images/03122025/06/57/image_03122025_06_57_44_9885.jpg
/home/pi/Desktop/images/03122025/06/57/image_03122025_06_58_05_10844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172083","1398172086","1398172085","1398172082","1398172090","1398172087"],"photo_ids_order":["1398172082","1398172083","1398172085","1398172086","1398172087","1398172090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/622f1ca62aec6e0ba8432f68294f445c.jpg","text":"TemporaryFile(/tmp/multipartBody2832665281901079922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974704503,"filename":"image_03122025_06_57_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/5/2a0bdc3fd29cc8dd51dfa8f3cc34604a.jpg","text":"TemporaryFile(/tmp/multipartBody6054470493799596363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974704503,"filename":"image_03122025_06_57_34_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ed3e9f06263da8ac5b40c8067fa39fc0.jpg","text":"TemporaryFile(/tmp/multipartBody8885119000287113992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974704503,"filename":"image_03122025_06_57_24_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/729b42eb80e67b48536691a205f66a88.jpg","text":"TemporaryFile(/tmp/multipartBody137242579946105310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974704503,"filename":"image_03122025_06_57_04_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/5/ff18c5d9b99f152ff599286460dd982e.jpg","text":"TemporaryFile(/tmp/multipartBody355286430287299877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974704503,"filename":"image_03122025_06_58_05_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/5/33c0f9e4de24fe26cb1e8470b3375f3b.jpg","text":"TemporaryFile(/tmp/multipartBody5046668715642831876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974704503,"filename":"image_03122025_06_57_44_9885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172085","file1":"1398172083","file0":"1398172082","file4":"1398172087","file5":"1398172090","file3":"1398172086"},"map_files_photo_id_array":[{"photo_id":"1398172090","filename":"file5"},{"photo_id":"1398172085","filename":"file2"},{"photo_id":"1398172087","filename":"file4"},{"photo_id":"1398172083","filename":"file1"},{"photo_id":"1398172082","filename":"file0"},{"photo_id":"1398172086","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172083":["hashtag1","hashtag2"]},{"1398172086":["hashtag1","hashtag2"]},{"1398172085":["hashtag1","hashtag2"]},{"1398172082":["hashtag1","hashtag2"]},{"1398172090":["hashtag1","hashtag2"]},{"1398172087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172083, 1398172086, 1398172085, 1398172082, 1398172090, 1398172087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00679016113281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:44:42.102692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_44_2679.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_48_3574.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_50_2603.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_53_2722.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_57_3856.jpg', '/home/pi/Desktop/images/31102025/21/21/image_31102025_21_22_00_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_44_2679.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_48_3574.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_50_2603.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_53_2722.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_21_57_3856.jpg
/home/pi/Desktop/images/31102025/21/21/image_31102025_21_22_00_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":["1398172098","1398172097","1398172096","1398172099","1398172093","1398172095"],"photo_ids_order":["1398172093","1398172095","1398172096","1398172097","1398172098","1398172099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/cd255bc1a3bd5adcc3b69efebc1892e8.jpg","text":"TemporaryFile(/tmp/multipartBody5334062106212906052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974743662,"filename":"image_31102025_21_21_57_3856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2e099b988555beb48cb2ef0fac20b545.jpg","text":"TemporaryFile(/tmp/multipartBody5368434005131560910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974743662,"filename":"image_31102025_21_21_53_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/5/7812159903a5fe84e27b745b883e68cb.jpg","text":"TemporaryFile(/tmp/multipartBody3058698080566485129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974743662,"filename":"image_31102025_21_21_50_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/5/9885019a691b845148b38acbcd071337.jpg","text":"TemporaryFile(/tmp/multipartBody4699678404406200183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974743662,"filename":"image_31102025_21_22_00_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/5/0d05716e1a5de194be681dd3057d2b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8221730194119857585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974743662,"filename":"image_31102025_21_21_44_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/5/03a6c2ee9debca9387be6cea0fc98f14.jpg","text":"TemporaryFile(/tmp/multipartBody4742193890908288669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974743662,"filename":"image_31102025_21_21_48_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172096","file1":"1398172095","file0":"1398172093","file4":"1398172098","file5":"1398172099","file3":"1398172097"},"map_files_photo_id_array":[{"photo_id":"1398172099","filename":"file5"},{"photo_id":"1398172096","filename":"file2"},{"photo_id":"1398172098","filename":"file4"},{"photo_id":"1398172095","filename":"file1"},{"photo_id":"1398172093","filename":"file0"},{"photo_id":"1398172097","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172098":["hashtag1","hashtag2"]},{"1398172097":["hashtag1","hashtag2"]},{"1398172096":["hashtag1","hashtag2"]},{"1398172099":["hashtag1","hashtag2"]},{"1398172093":["hashtag1","hashtag2"]},{"1398172095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172098, 1398172097, 1398172096, 1398172099, 1398172093, 1398172095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65865707397461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:45:22.265267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
  port_id : 29203341
  datou_current_id : 4187732
in upload_from_sqlite, uploading in 29203341
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05122025/23/37/image_05122025_23_38_04_9902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4187732&datou=0
/home/pi/Desktop/images/05122025/23/37/image_05122025_23_38_04_9902.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172100"],"photo_id":"1398172100","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/4d5f54e9dba1c7051623a19bd1d48f64.jpg","text":"TemporaryFile(/tmp/multipartBody3783846011793072426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974782758,"filename":"image_05122025_23_38_04_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1398172100"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1398172100"}],"hashtags":[],"portfolio_id":"29203341","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.275383949279785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:45:42.378725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_06_3645.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_08_2500.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_12_3693.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_17_2680.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_21_3722.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_23_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_06_3645.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_08_2500.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_12_3693.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_17_2680.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_21_3722.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_23_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":["1398172108","1398172113","1398172107","1398172110","1398172109","1398172111"],"photo_ids_order":["1398172107","1398172108","1398172109","1398172110","1398172111","1398172113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/2335f57b33eba7b9ab313afc27aae6ca.jpg","text":"TemporaryFile(/tmp/multipartBody1976782102331544689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974803955,"filename":"image_31102025_21_22_08_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/941d48584dca67b5edc3dfdf5b098b36.jpg","text":"TemporaryFile(/tmp/multipartBody4858105279470144101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974803955,"filename":"image_31102025_21_22_23_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/5/610b89ca7fc01d6e6633cdda01653a8d.jpg","text":"TemporaryFile(/tmp/multipartBody87389105523273949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974803955,"filename":"image_31102025_21_22_06_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/5/0b46e5766757c7c54f3228c1fa4f0bc0.jpg","text":"TemporaryFile(/tmp/multipartBody953558964656667517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974803955,"filename":"image_31102025_21_22_17_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/5/17a610a6c0be3478f410cbab87887fb5.jpg","text":"TemporaryFile(/tmp/multipartBody29893023648585389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974803955,"filename":"image_31102025_21_22_12_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/5/23165414b4b406abf18c2b2a2dbdd84d.jpg","text":"TemporaryFile(/tmp/multipartBody7400901213523260863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974803955,"filename":"image_31102025_21_22_21_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172109","file1":"1398172108","file0":"1398172107","file4":"1398172111","file5":"1398172113","file3":"1398172110"},"map_files_photo_id_array":[{"photo_id":"1398172113","filename":"file5"},{"photo_id":"1398172109","filename":"file2"},{"photo_id":"1398172111","filename":"file4"},{"photo_id":"1398172108","filename":"file1"},{"photo_id":"1398172107","filename":"file0"},{"photo_id":"1398172110","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172108":["hashtag1","hashtag2"]},{"1398172113":["hashtag1","hashtag2"]},{"1398172107":["hashtag1","hashtag2"]},{"1398172110":["hashtag1","hashtag2"]},{"1398172109":["hashtag1","hashtag2"]},{"1398172111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172108, 1398172113, 1398172107, 1398172110, 1398172109, 1398172111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63218140602112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:46:22.577722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_26_2695.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_30_3695.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_33_2767.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_35_2539.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_39_3643.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_41_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_26_2695.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_30_3695.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_33_2767.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_35_2539.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_39_3643.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_41_2600.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.51450777053833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 23:46:32.668154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/58/image_03122025_06_58_14_9761.jpg', '/home/pi/Desktop/images/03122025/06/58/image_03122025_06_58_24_9675.jpg', '/home/pi/Desktop/images/03122025/06/58/image_03122025_06_58_44_10639.jpg', '/home/pi/Desktop/images/03122025/06/58/image_03122025_06_59_04_9766.jpg', '/home/pi/Desktop/images/03122025/06/59/image_03122025_06_59_14_10602.jpg', '/home/pi/Desktop/images/03122025/06/59/image_03122025_06_59_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/58/image_03122025_06_58_14_9761.jpg
/home/pi/Desktop/images/03122025/06/58/image_03122025_06_58_24_9675.jpg
/home/pi/Desktop/images/03122025/06/58/image_03122025_06_58_44_10639.jpg
/home/pi/Desktop/images/03122025/06/58/image_03122025_06_59_04_9766.jpg
/home/pi/Desktop/images/03122025/06/59/image_03122025_06_59_14_10602.jpg
/home/pi/Desktop/images/03122025/06/59/image_03122025_06_59_34_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":["1398172128","1398172127","1398172129","1398172120","1398172123","1398172126"],"photo_ids_order":["1398172120","1398172123","1398172126","1398172127","1398172128","1398172129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d58d42d1365755b1ad54a07cef20e17a.jpg","text":"TemporaryFile(/tmp/multipartBody8119142339380481856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974854894,"filename":"image_03122025_06_59_14_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/5/4e0b08dbc9469a64a9ceb4c39f4c4342.jpg","text":"TemporaryFile(/tmp/multipartBody5511042406775388806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974854894,"filename":"image_03122025_06_59_04_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/5/977c40ebf17900ce03cfc63cc863dd5a.jpg","text":"TemporaryFile(/tmp/multipartBody3632489989350093920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974854894,"filename":"image_03122025_06_59_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/39b5a15bee0da92a86bc45b8f80adcf0.jpg","text":"TemporaryFile(/tmp/multipartBody8929886023478961821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974854894,"filename":"image_03122025_06_58_14_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/5/e5e509cf8d69108df6fbf2f4256cdba0.jpg","text":"TemporaryFile(/tmp/multipartBody2828313992734806779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974854894,"filename":"image_03122025_06_58_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/5/7e8d73a19a5574b93a323837de53bda2.jpg","text":"TemporaryFile(/tmp/multipartBody2045168483291196857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974854894,"filename":"image_03122025_06_58_44_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172126","file1":"1398172123","file0":"1398172120","file4":"1398172128","file5":"1398172129","file3":"1398172127"},"map_files_photo_id_array":[{"photo_id":"1398172129","filename":"file5"},{"photo_id":"1398172126","filename":"file2"},{"photo_id":"1398172128","filename":"file4"},{"photo_id":"1398172123","filename":"file1"},{"photo_id":"1398172120","filename":"file0"},{"photo_id":"1398172127","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172128":["hashtag1","hashtag2"]},{"1398172127":["hashtag1","hashtag2"]},{"1398172129":["hashtag1","hashtag2"]},{"1398172120":["hashtag1","hashtag2"]},{"1398172123":["hashtag1","hashtag2"]},{"1398172126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172128, 1398172127, 1398172129, 1398172120, 1398172123, 1398172126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34068036079407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 23:47:11.792644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/06/59/image_03122025_07_00_05_10601.jpg', '/home/pi/Desktop/images/03122025/07/00/image_03122025_07_00_24_9794.jpg', '/home/pi/Desktop/images/03122025/07/00/image_03122025_07_00_34_9751.jpg', '/home/pi/Desktop/images/03122025/07/00/image_03122025_07_00_45_10650.jpg', '/home/pi/Desktop/images/03122025/07/01/image_03122025_07_01_14_9848.jpg', '/home/pi/Desktop/images/03122025/07/01/image_03122025_07_01_54_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/06/59/image_03122025_07_00_05_10601.jpg
/home/pi/Desktop/images/03122025/07/00/image_03122025_07_00_24_9794.jpg
/home/pi/Desktop/images/03122025/07/00/image_03122025_07_00_34_9751.jpg
/home/pi/Desktop/images/03122025/07/00/image_03122025_07_00_45_10650.jpg
/home/pi/Desktop/images/03122025/07/01/image_03122025_07_01_14_9848.jpg
/home/pi/Desktop/images/03122025/07/01/image_03122025_07_01_54_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":["1398172131","1398172140","1398172134","1398172136","1398172132","1398172138"],"photo_ids_order":["1398172131","1398172132","1398172134","1398172136","1398172138","1398172140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/07a02c4e03f80be422c8834d5a431e91.jpg","text":"TemporaryFile(/tmp/multipartBody7921858707591427985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974893890,"filename":"image_03122025_07_00_05_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/5/e3ea0402a5eb278f8618f0331fbe6d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5255174742700162501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974893890,"filename":"image_03122025_07_01_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/5/c08876f6ea92d5bf614e0873e46095ff.jpg","text":"TemporaryFile(/tmp/multipartBody6020278072972389247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974893890,"filename":"image_03122025_07_00_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/5/1afe52e078b6641d4473d6eba4188c18.jpg","text":"TemporaryFile(/tmp/multipartBody4505876269737722301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974893890,"filename":"image_03122025_07_00_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7c7f9a247feab6da8d897aadb6055a2f.jpg","text":"TemporaryFile(/tmp/multipartBody8098642742495810495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974893890,"filename":"image_03122025_07_00_24_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/5/bd545f7c4b86d47b04b9d711b491fd20.jpg","text":"TemporaryFile(/tmp/multipartBody4319458702051700869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974893890,"filename":"image_03122025_07_01_14_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172134","file1":"1398172132","file0":"1398172131","file4":"1398172138","file5":"1398172140","file3":"1398172136"},"map_files_photo_id_array":[{"photo_id":"1398172140","filename":"file5"},{"photo_id":"1398172134","filename":"file2"},{"photo_id":"1398172138","filename":"file4"},{"photo_id":"1398172132","filename":"file1"},{"photo_id":"1398172131","filename":"file0"},{"photo_id":"1398172136","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172131":["hashtag1","hashtag2"]},{"1398172140":["hashtag1","hashtag2"]},{"1398172134":["hashtag1","hashtag2"]},{"1398172136":["hashtag1","hashtag2"]},{"1398172132":["hashtag1","hashtag2"]},{"1398172138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172131, 1398172140, 1398172134, 1398172136, 1398172132, 1398172138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.269145011901855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:48:02.460012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/07/02/image_03122025_07_02_44_9619.jpg', '/home/pi/Desktop/images/03122025/07/03/image_03122025_07_03_44_9735.jpg', '/home/pi/Desktop/images/03122025/07/04/image_03122025_07_04_24_9689.jpg', '/home/pi/Desktop/images/03122025/07/04/image_03122025_07_04_35_10637.jpg', '/home/pi/Desktop/images/03122025/07/04/image_03122025_07_04_54_9701.jpg', '/home/pi/Desktop/images/03122025/07/04/image_03122025_07_05_04_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/07/02/image_03122025_07_02_44_9619.jpg
/home/pi/Desktop/images/03122025/07/03/image_03122025_07_03_44_9735.jpg
/home/pi/Desktop/images/03122025/07/04/image_03122025_07_04_24_9689.jpg
/home/pi/Desktop/images/03122025/07/04/image_03122025_07_04_35_10637.jpg
/home/pi/Desktop/images/03122025/07/04/image_03122025_07_04_54_9701.jpg
/home/pi/Desktop/images/03122025/07/04/image_03122025_07_05_04_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":["1398172146","1398172148","1398172145","1398172150","1398172147","1398172144"],"photo_ids_order":["1398172144","1398172145","1398172146","1398172147","1398172148","1398172150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/e675fe296e7394f3694be31442296f95.jpg","text":"TemporaryFile(/tmp/multipartBody5363773943132928557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974944233,"filename":"image_03122025_07_04_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/5/1365cbb29d15759e15cf74bdcd4b96ae.jpg","text":"TemporaryFile(/tmp/multipartBody6173335984136276868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974944233,"filename":"image_03122025_07_04_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/5/1039486b1bd0800574ee7c6ff4da9a26.jpg","text":"TemporaryFile(/tmp/multipartBody1057263995129249781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974944233,"filename":"image_03122025_07_03_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/5/52c6f2efa40730614b79bd306069bee2.jpg","text":"TemporaryFile(/tmp/multipartBody8259774960785983148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974944233,"filename":"image_03122025_07_05_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/5/299ac66353a18d73fa38ac839e91771b.jpg","text":"TemporaryFile(/tmp/multipartBody8697119224030687872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974944233,"filename":"image_03122025_07_04_35_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/5/3df95c0e203eae93de3cb7839ee83134.jpg","text":"TemporaryFile(/tmp/multipartBody216136696549548488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974944233,"filename":"image_03122025_07_02_44_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172146","file1":"1398172145","file0":"1398172144","file4":"1398172148","file5":"1398172150","file3":"1398172147"},"map_files_photo_id_array":[{"photo_id":"1398172150","filename":"file5"},{"photo_id":"1398172146","filename":"file2"},{"photo_id":"1398172148","filename":"file4"},{"photo_id":"1398172145","filename":"file1"},{"photo_id":"1398172144","filename":"file0"},{"photo_id":"1398172147","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172146":["hashtag1","hashtag2"]},{"1398172148":["hashtag1","hashtag2"]},{"1398172145":["hashtag1","hashtag2"]},{"1398172150":["hashtag1","hashtag2"]},{"1398172147":["hashtag1","hashtag2"]},{"1398172144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172146, 1398172148, 1398172145, 1398172150, 1398172147, 1398172144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56407046318054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:48:42.030332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_26_2695.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_30_3695.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_33_2767.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_35_2539.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_39_3643.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_41_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_26_2695.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_30_3695.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_33_2767.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_35_2539.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_39_3643.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_41_2600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172161","1398172155","1398172158","1398172160","1398172157","1398172159"],"photo_ids_order":["1398172155","1398172157","1398172158","1398172159","1398172160","1398172161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/9dbe91e516a95a9b97ad74dc84b92959.jpg","text":"TemporaryFile(/tmp/multipartBody477553975550445836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974983486,"filename":"image_31102025_21_22_41_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/5/940221089a6a2e924c2ceb38d921dd0d.jpg","text":"TemporaryFile(/tmp/multipartBody971442894755414765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974983486,"filename":"image_31102025_21_22_26_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/5/940e33d5f558cb462b0d9915f1fada90.jpg","text":"TemporaryFile(/tmp/multipartBody7353103902984841634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974983486,"filename":"image_31102025_21_22_33_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/5/3b1079e4ff55fba06369b38ce85a8b0f.jpg","text":"TemporaryFile(/tmp/multipartBody9159179230595865943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974983486,"filename":"image_31102025_21_22_39_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/5/94712156691961304f7c2d8460d97387.jpg","text":"TemporaryFile(/tmp/multipartBody8129153272848420019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974983486,"filename":"image_31102025_21_22_30_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/5/11e97c657d72f1b460533afab8e0efe8.jpg","text":"TemporaryFile(/tmp/multipartBody7353943188122352677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764974983486,"filename":"image_31102025_21_22_35_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172158","file1":"1398172157","file0":"1398172155","file4":"1398172160","file5":"1398172161","file3":"1398172159"},"map_files_photo_id_array":[{"photo_id":"1398172161","filename":"file5"},{"photo_id":"1398172158","filename":"file2"},{"photo_id":"1398172160","filename":"file4"},{"photo_id":"1398172157","filename":"file1"},{"photo_id":"1398172155","filename":"file0"},{"photo_id":"1398172159","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172161":["hashtag1","hashtag2"]},{"1398172155":["hashtag1","hashtag2"]},{"1398172158":["hashtag1","hashtag2"]},{"1398172160":["hashtag1","hashtag2"]},{"1398172157":["hashtag1","hashtag2"]},{"1398172159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172161, 1398172155, 1398172158, 1398172160, 1398172157, 1398172159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11761736869812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:49:22.246795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_44_2562.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_50_2896.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_57_3689.jpg', '/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_59_2643.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_02_2805.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_06_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_44_2562.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_50_2896.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_57_3689.jpg
/home/pi/Desktop/images/31102025/21/22/image_31102025_21_22_59_2643.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_02_2805.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_06_3656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172170","1398172164","1398172172","1398172166","1398172175","1398172168"],"photo_ids_order":["1398172164","1398172166","1398172168","1398172170","1398172172","1398172175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/57d9ddfc6823aee75ebd3ae20e17d30a.jpg","text":"TemporaryFile(/tmp/multipartBody5177821876745112718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975023838,"filename":"image_31102025_21_22_59_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/5/f7c6d9ba16d445589f4b16a936ac1f84.jpg","text":"TemporaryFile(/tmp/multipartBody7976801100968459512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975023838,"filename":"image_31102025_21_22_44_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/5/bdef68ecc6155cbd86c0416ef6439e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4522683046767198521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975023838,"filename":"image_31102025_21_23_02_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/5/071f02f6973f31e468b7f66338115587.jpg","text":"TemporaryFile(/tmp/multipartBody474506493737717854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975023838,"filename":"image_31102025_21_22_50_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/5/581cd662716ca04fe397dc03a49f48fa.jpg","text":"TemporaryFile(/tmp/multipartBody5618745370047152578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975023838,"filename":"image_31102025_21_23_06_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/5/866ae356e9c732b9369b17a3f5c70251.jpg","text":"TemporaryFile(/tmp/multipartBody2473040548831804126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975023838,"filename":"image_31102025_21_22_57_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172168","file1":"1398172166","file0":"1398172164","file4":"1398172172","file5":"1398172175","file3":"1398172170"},"map_files_photo_id_array":[{"photo_id":"1398172175","filename":"file5"},{"photo_id":"1398172168","filename":"file2"},{"photo_id":"1398172172","filename":"file4"},{"photo_id":"1398172166","filename":"file1"},{"photo_id":"1398172164","filename":"file0"},{"photo_id":"1398172170","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172170":["hashtag1","hashtag2"]},{"1398172164":["hashtag1","hashtag2"]},{"1398172172":["hashtag1","hashtag2"]},{"1398172166":["hashtag1","hashtag2"]},{"1398172175":["hashtag1","hashtag2"]},{"1398172168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172170, 1398172164, 1398172172, 1398172166, 1398172175, 1398172168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81407618522644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:50:02.744556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_14_10646.jpg', '/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_34_9719.jpg', '/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_45_10677.jpg', '/home/pi/Desktop/images/03122025/07/06/image_03122025_07_07_05_10710.jpg', '/home/pi/Desktop/images/03122025/07/07/image_03122025_07_07_24_9561.jpg', '/home/pi/Desktop/images/03122025/07/07/image_03122025_07_07_44_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_14_10646.jpg
/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_34_9719.jpg
/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_45_10677.jpg
/home/pi/Desktop/images/03122025/07/06/image_03122025_07_07_05_10710.jpg
/home/pi/Desktop/images/03122025/07/07/image_03122025_07_07_24_9561.jpg
/home/pi/Desktop/images/03122025/07/07/image_03122025_07_07_44_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: 1.6407146453857422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-05 23:50:12.353537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_14_10646.jpg', '/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_34_9719.jpg', '/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_45_10677.jpg', '/home/pi/Desktop/images/03122025/07/06/image_03122025_07_07_05_10710.jpg', '/home/pi/Desktop/images/03122025/07/07/image_03122025_07_07_24_9561.jpg', '/home/pi/Desktop/images/03122025/07/07/image_03122025_07_07_44_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_14_10646.jpg
/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_34_9719.jpg
/home/pi/Desktop/images/03122025/07/05/image_03122025_07_05_45_10677.jpg
/home/pi/Desktop/images/03122025/07/06/image_03122025_07_07_05_10710.jpg
/home/pi/Desktop/images/03122025/07/07/image_03122025_07_07_24_9561.jpg
/home/pi/Desktop/images/03122025/07/07/image_03122025_07_07_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":["1398172190","1398172181","1398172183","1398172192","1398172186","1398172188"],"photo_ids_order":["1398172181","1398172183","1398172186","1398172188","1398172190","1398172192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/c4bc0b27fff148d11fc452e6d8176f78.jpg","text":"TemporaryFile(/tmp/multipartBody7106906839309076838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975074293,"filename":"image_03122025_07_07_24_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/5/85f1cdd3cef05d641d3851b6917b5cd3.jpg","text":"TemporaryFile(/tmp/multipartBody6257676820852122352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975074293,"filename":"image_03122025_07_05_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/5/e262d698a180d4546ddb9ec52335ef99.jpg","text":"TemporaryFile(/tmp/multipartBody5235235472380576443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975074293,"filename":"image_03122025_07_05_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/6e5a7521c73340a3cb815d3bef199b85.jpg","text":"TemporaryFile(/tmp/multipartBody3453538357641214677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975074293,"filename":"image_03122025_07_07_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/5/0ba0d1138d4fb6176441c8a45b6188f3.jpg","text":"TemporaryFile(/tmp/multipartBody8228838974426948983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975074293,"filename":"image_03122025_07_05_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/5/45ab6350cf12a13311a881c6e88c4627.jpg","text":"TemporaryFile(/tmp/multipartBody9119134159618875718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975074293,"filename":"image_03122025_07_07_05_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172186","file1":"1398172183","file0":"1398172181","file4":"1398172190","file5":"1398172192","file3":"1398172188"},"map_files_photo_id_array":[{"photo_id":"1398172192","filename":"file5"},{"photo_id":"1398172186","filename":"file2"},{"photo_id":"1398172190","filename":"file4"},{"photo_id":"1398172183","filename":"file1"},{"photo_id":"1398172181","filename":"file0"},{"photo_id":"1398172188","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172190":["hashtag1","hashtag2"]},{"1398172181":["hashtag1","hashtag2"]},{"1398172183":["hashtag1","hashtag2"]},{"1398172192":["hashtag1","hashtag2"]},{"1398172186":["hashtag1","hashtag2"]},{"1398172188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172190, 1398172181, 1398172183, 1398172192, 1398172186, 1398172188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07637119293213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:51:03.155172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/07/07/image_03122025_07_07_54_9572.jpg', '/home/pi/Desktop/images/03122025/07/07/image_03122025_07_08_05_10680.jpg', '/home/pi/Desktop/images/03122025/07/08/image_03122025_07_08_14_9564.jpg', '/home/pi/Desktop/images/03122025/07/08/image_03122025_07_08_24_9671.jpg', '/home/pi/Desktop/images/03122025/07/08/image_03122025_07_08_44_9699.jpg', '/home/pi/Desktop/images/03122025/07/08/image_03122025_07_09_04_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/07/07/image_03122025_07_07_54_9572.jpg
/home/pi/Desktop/images/03122025/07/07/image_03122025_07_08_05_10680.jpg
/home/pi/Desktop/images/03122025/07/08/image_03122025_07_08_14_9564.jpg
/home/pi/Desktop/images/03122025/07/08/image_03122025_07_08_24_9671.jpg
/home/pi/Desktop/images/03122025/07/08/image_03122025_07_08_44_9699.jpg
/home/pi/Desktop/images/03122025/07/08/image_03122025_07_09_04_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398172197","1398172199","1398172203","1398172196","1398172198","1398172201"],"photo_ids_order":["1398172196","1398172197","1398172198","1398172199","1398172201","1398172203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/fbce1c49e423e87ec73f0c9ba2c979ad.jpg","text":"TemporaryFile(/tmp/multipartBody5955145932068352829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975125008,"filename":"image_03122025_07_08_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/5/4c094277fcb7174a750ea358b08c1632.jpg","text":"TemporaryFile(/tmp/multipartBody3511723973277404975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975125008,"filename":"image_03122025_07_08_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/0525d06b3cd76578e0225f59d87261c7.jpg","text":"TemporaryFile(/tmp/multipartBody5321802383938012189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975125008,"filename":"image_03122025_07_09_04_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/5/e79739d9c0b5ac76ca05ac88748d50f5.jpg","text":"TemporaryFile(/tmp/multipartBody2519016760084151809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975125008,"filename":"image_03122025_07_07_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/5/24424b7ea31b57343c683c98c8ab4dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1727610329213444395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975125008,"filename":"image_03122025_07_08_14_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/697c9bd7bc9a6b0b8d8e6c7371bb59e5.jpg","text":"TemporaryFile(/tmp/multipartBody8846924749403852082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975125008,"filename":"image_03122025_07_08_44_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172198","file1":"1398172197","file0":"1398172196","file4":"1398172201","file5":"1398172203","file3":"1398172199"},"map_files_photo_id_array":[{"photo_id":"1398172203","filename":"file5"},{"photo_id":"1398172198","filename":"file2"},{"photo_id":"1398172201","filename":"file4"},{"photo_id":"1398172197","filename":"file1"},{"photo_id":"1398172196","filename":"file0"},{"photo_id":"1398172199","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172197":["hashtag1","hashtag2"]},{"1398172199":["hashtag1","hashtag2"]},{"1398172203":["hashtag1","hashtag2"]},{"1398172196":["hashtag1","hashtag2"]},{"1398172198":["hashtag1","hashtag2"]},{"1398172201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172197, 1398172199, 1398172203, 1398172196, 1398172198, 1398172201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.965654134750366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:52:03.166482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/07/10/image_03122025_07_10_14_9627.jpg', '/home/pi/Desktop/images/03122025/07/10/image_03122025_07_10_25_10649.jpg', '/home/pi/Desktop/images/03122025/07/10/image_03122025_07_10_44_9917.jpg', '/home/pi/Desktop/images/03122025/07/10/image_03122025_07_10_54_9815.jpg', '/home/pi/Desktop/images/03122025/07/10/image_03122025_07_11_04_9910.jpg', '/home/pi/Desktop/images/03122025/07/11/image_03122025_07_11_14_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/07/10/image_03122025_07_10_14_9627.jpg
/home/pi/Desktop/images/03122025/07/10/image_03122025_07_10_25_10649.jpg
/home/pi/Desktop/images/03122025/07/10/image_03122025_07_10_44_9917.jpg
/home/pi/Desktop/images/03122025/07/10/image_03122025_07_10_54_9815.jpg
/home/pi/Desktop/images/03122025/07/10/image_03122025_07_11_04_9910.jpg
/home/pi/Desktop/images/03122025/07/11/image_03122025_07_11_14_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":["1398172212","1398172215","1398172209","1398172211","1398172208","1398172210"],"photo_ids_order":["1398172208","1398172209","1398172210","1398172211","1398172212","1398172215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ba58133afaea6d7ae39a88e4619940c8.jpg","text":"TemporaryFile(/tmp/multipartBody806758965804159492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975184879,"filename":"image_03122025_07_11_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/5/8f063c913724656f72e757b6efee6c8f.jpg","text":"TemporaryFile(/tmp/multipartBody1572510409543501366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975184879,"filename":"image_03122025_07_11_14_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/5/9847116b724fef51fbbe7fd0f30c8ee1.jpg","text":"TemporaryFile(/tmp/multipartBody1297765520274244359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975184879,"filename":"image_03122025_07_10_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/5/71144e94ed2cac55463d3af9f10e2806.jpg","text":"TemporaryFile(/tmp/multipartBody6004015047321409336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975184879,"filename":"image_03122025_07_10_54_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/45540a6c6f2be502534ea65f425b23a4.jpg","text":"TemporaryFile(/tmp/multipartBody229925922855457732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975184879,"filename":"image_03122025_07_10_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/5/96b856982a73c208bddcb72ba9e6f1f7.jpg","text":"TemporaryFile(/tmp/multipartBody7765389680325805355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975184879,"filename":"image_03122025_07_10_44_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172210","file1":"1398172209","file0":"1398172208","file4":"1398172212","file5":"1398172215","file3":"1398172211"},"map_files_photo_id_array":[{"photo_id":"1398172215","filename":"file5"},{"photo_id":"1398172210","filename":"file2"},{"photo_id":"1398172212","filename":"file4"},{"photo_id":"1398172209","filename":"file1"},{"photo_id":"1398172208","filename":"file0"},{"photo_id":"1398172211","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172212":["hashtag1","hashtag2"]},{"1398172215":["hashtag1","hashtag2"]},{"1398172209":["hashtag1","hashtag2"]},{"1398172211":["hashtag1","hashtag2"]},{"1398172208":["hashtag1","hashtag2"]},{"1398172210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172212, 1398172215, 1398172209, 1398172211, 1398172208, 1398172210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61247539520264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:52:42.734043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_09_2720.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_11_2658.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_15_3600.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_17_2624.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_24_3524.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_26_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_09_2720.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_11_2658.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_15_3600.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_17_2624.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_24_3524.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_26_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172224","1398172227","1398172220","1398172223","1398172226","1398172225"],"photo_ids_order":["1398172220","1398172223","1398172224","1398172225","1398172226","1398172227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/a90f4d7a5d06c3ab8570a5f843750eaf.jpg","text":"TemporaryFile(/tmp/multipartBody1075256433411585322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975224281,"filename":"image_31102025_21_23_15_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/24a84b3ee5d082e151622d222b80f3c4.jpg","text":"TemporaryFile(/tmp/multipartBody4654028507453652377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975224281,"filename":"image_31102025_21_23_26_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/5/a765c34119a764d7490e9a9fbe1ccffc.jpg","text":"TemporaryFile(/tmp/multipartBody5457763140260092010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975224281,"filename":"image_31102025_21_23_09_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/5/e0e2e64e5594975aa20654b792e1a299.jpg","text":"TemporaryFile(/tmp/multipartBody491201476604407733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975224281,"filename":"image_31102025_21_23_11_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/5/01b63fe62872abcefd316ba1fe39191c.jpg","text":"TemporaryFile(/tmp/multipartBody4199779923625278199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975224281,"filename":"image_31102025_21_23_24_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/bc9bef2bc082bcc2de8812e356129ad1.jpg","text":"TemporaryFile(/tmp/multipartBody7889632160360430537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975224281,"filename":"image_31102025_21_23_17_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172224","file1":"1398172223","file0":"1398172220","file4":"1398172226","file5":"1398172227","file3":"1398172225"},"map_files_photo_id_array":[{"photo_id":"1398172227","filename":"file5"},{"photo_id":"1398172224","filename":"file2"},{"photo_id":"1398172226","filename":"file4"},{"photo_id":"1398172223","filename":"file1"},{"photo_id":"1398172220","filename":"file0"},{"photo_id":"1398172225","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172224":["hashtag1","hashtag2"]},{"1398172227":["hashtag1","hashtag2"]},{"1398172220":["hashtag1","hashtag2"]},{"1398172223":["hashtag1","hashtag2"]},{"1398172226":["hashtag1","hashtag2"]},{"1398172225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172224, 1398172227, 1398172220, 1398172223, 1398172226, 1398172225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4561550617218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:53:22.006099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_29_2744.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_33_3607.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_35_2881.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_39_3053.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_41_2640.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_44_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_29_2744.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_33_3607.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_35_2881.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_39_3053.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_41_2640.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_44_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172236","1398172239","1398172235","1398172229","1398172232","1398172231"],"photo_ids_order":["1398172229","1398172231","1398172232","1398172235","1398172236","1398172239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ed8e8064707672cfc9d5941f59129942.jpg","text":"TemporaryFile(/tmp/multipartBody1727341666668200987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975263627,"filename":"image_31102025_21_23_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/5/ad027ed8ac1670725e86939d3da09991.jpg","text":"TemporaryFile(/tmp/multipartBody9130299915348887480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975263627,"filename":"image_31102025_21_23_44_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/5/4a7b0a1deb0ad08fcfae32ff465b8ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7407207297549918405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975263627,"filename":"image_31102025_21_23_39_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/5/6f42502fcc307200e2e867495f4e396a.jpg","text":"TemporaryFile(/tmp/multipartBody1542567942095306854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975263627,"filename":"image_31102025_21_23_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/5/b62a5af51dcaca8cddf167252a2cae61.jpg","text":"TemporaryFile(/tmp/multipartBody374116924508725706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975263627,"filename":"image_31102025_21_23_35_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/5/4c71cec220ed01c83aa0d030e20fa914.jpg","text":"TemporaryFile(/tmp/multipartBody8045029091851730230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975263627,"filename":"image_31102025_21_23_33_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172232","file1":"1398172231","file0":"1398172229","file4":"1398172236","file5":"1398172239","file3":"1398172235"},"map_files_photo_id_array":[{"photo_id":"1398172239","filename":"file5"},{"photo_id":"1398172232","filename":"file2"},{"photo_id":"1398172236","filename":"file4"},{"photo_id":"1398172231","filename":"file1"},{"photo_id":"1398172229","filename":"file0"},{"photo_id":"1398172235","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172236":["hashtag1","hashtag2"]},{"1398172239":["hashtag1","hashtag2"]},{"1398172235":["hashtag1","hashtag2"]},{"1398172229":["hashtag1","hashtag2"]},{"1398172232":["hashtag1","hashtag2"]},{"1398172231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172236, 1398172239, 1398172235, 1398172229, 1398172232, 1398172231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13304901123047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:54:02.689578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/07/11/image_03122025_07_11_24_9597.jpg', '/home/pi/Desktop/images/03122025/07/11/image_03122025_07_11_34_9741.jpg', '/home/pi/Desktop/images/03122025/07/11/image_03122025_07_11_45_10800.jpg', '/home/pi/Desktop/images/03122025/07/11/image_03122025_07_12_04_9606.jpg', '/home/pi/Desktop/images/03122025/07/12/image_03122025_07_12_44_9832.jpg', '/home/pi/Desktop/images/03122025/07/12/image_03122025_07_12_54_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/07/11/image_03122025_07_11_24_9597.jpg
/home/pi/Desktop/images/03122025/07/11/image_03122025_07_11_34_9741.jpg
/home/pi/Desktop/images/03122025/07/11/image_03122025_07_11_45_10800.jpg
/home/pi/Desktop/images/03122025/07/11/image_03122025_07_12_04_9606.jpg
/home/pi/Desktop/images/03122025/07/12/image_03122025_07_12_44_9832.jpg
/home/pi/Desktop/images/03122025/07/12/image_03122025_07_12_54_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172242","1398172248","1398172241","1398172250","1398172244","1398172252"],"photo_ids_order":["1398172241","1398172242","1398172244","1398172248","1398172250","1398172252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/30debccd6eaea3aa2fcaf84cae642756.jpg","text":"TemporaryFile(/tmp/multipartBody7676167463590230790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975304443,"filename":"image_03122025_07_11_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/5/8a9c73b406ee4209a94ae36e4664a1eb.jpg","text":"TemporaryFile(/tmp/multipartBody4084824851755449061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975304443,"filename":"image_03122025_07_12_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/95acde0b543f05312923ef5c6405850f.jpg","text":"TemporaryFile(/tmp/multipartBody6179902023701576969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975304443,"filename":"image_03122025_07_11_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/5/222f59537e29168879118cf974691d53.jpg","text":"TemporaryFile(/tmp/multipartBody1350279738820538403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975304443,"filename":"image_03122025_07_12_44_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/7d8fa69b5cde653e97fa2fe3b4cb2c66.jpg","text":"TemporaryFile(/tmp/multipartBody2784208031232412054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975304443,"filename":"image_03122025_07_11_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/5/68b7bd974dc0cab11a9a095ec4f42189.jpg","text":"TemporaryFile(/tmp/multipartBody26812449597440720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975304443,"filename":"image_03122025_07_12_54_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172244","file1":"1398172242","file0":"1398172241","file4":"1398172250","file5":"1398172252","file3":"1398172248"},"map_files_photo_id_array":[{"photo_id":"1398172252","filename":"file5"},{"photo_id":"1398172244","filename":"file2"},{"photo_id":"1398172250","filename":"file4"},{"photo_id":"1398172242","filename":"file1"},{"photo_id":"1398172241","filename":"file0"},{"photo_id":"1398172248","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172242":["hashtag1","hashtag2"]},{"1398172248":["hashtag1","hashtag2"]},{"1398172241":["hashtag1","hashtag2"]},{"1398172250":["hashtag1","hashtag2"]},{"1398172244":["hashtag1","hashtag2"]},{"1398172252":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172242, 1398172248, 1398172241, 1398172250, 1398172244, 1398172252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42039775848389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:54:42.093521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_54_3609.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_56_2615.jpg', '/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_59_2569.jpg', '/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_03_3642.jpg', '/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_05_2652.jpg', '/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_08_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_54_3609.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_56_2615.jpg
/home/pi/Desktop/images/31102025/21/23/image_31102025_21_23_59_2569.jpg
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_03_3642.jpg
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_05_2652.jpg
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_08_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":["1398172260","1398172265","1398172262","1398172264","1398172258","1398172261"],"photo_ids_order":["1398172258","1398172260","1398172261","1398172262","1398172264","1398172265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d0d84e35990b0a66360f7402b6425dac.jpg","text":"TemporaryFile(/tmp/multipartBody8886694704917354174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975343772,"filename":"image_31102025_21_23_56_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/5/500d96739608f99e3cb43fbf6b12d0f6.jpg","text":"TemporaryFile(/tmp/multipartBody8841040688308320235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975343772,"filename":"image_31102025_21_24_08_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/193b2dae3ff0eb587bfca95fc5b2dd96.jpg","text":"TemporaryFile(/tmp/multipartBody5560182175274923966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975343772,"filename":"image_31102025_21_24_03_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/5/5f5f8020fd13a036c0102904e08cf02c.jpg","text":"TemporaryFile(/tmp/multipartBody6750029996596294184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975343772,"filename":"image_31102025_21_24_05_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/5/aeab865aff3991fd05644a69ac31c8b0.jpg","text":"TemporaryFile(/tmp/multipartBody285651592722270263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975343772,"filename":"image_31102025_21_23_54_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/5/2a03e38b88157aeb03765844dad64241.jpg","text":"TemporaryFile(/tmp/multipartBody3885870966556151050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975343772,"filename":"image_31102025_21_23_59_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172261","file1":"1398172260","file0":"1398172258","file4":"1398172264","file5":"1398172265","file3":"1398172262"},"map_files_photo_id_array":[{"photo_id":"1398172265","filename":"file5"},{"photo_id":"1398172261","filename":"file2"},{"photo_id":"1398172264","filename":"file4"},{"photo_id":"1398172260","filename":"file1"},{"photo_id":"1398172258","filename":"file0"},{"photo_id":"1398172262","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172260":["hashtag1","hashtag2"]},{"1398172265":["hashtag1","hashtag2"]},{"1398172262":["hashtag1","hashtag2"]},{"1398172264":["hashtag1","hashtag2"]},{"1398172258":["hashtag1","hashtag2"]},{"1398172261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172260, 1398172265, 1398172262, 1398172264, 1398172258, 1398172261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43420696258545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:55:22.314803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_17_2626.jpg', '/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_21_3662.jpg', '/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_30_3622.jpg', '/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_32_2587.jpg', '/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_35_2608.jpg', '/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_38_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_17_2626.jpg
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_21_3662.jpg
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_30_3622.jpg
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_32_2587.jpg
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_35_2608.jpg
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_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":["1398172275","1398172271","1398172268","1398172277","1398172270","1398172273"],"photo_ids_order":["1398172268","1398172270","1398172271","1398172273","1398172275","1398172277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/ecab9bb49fa09ef9f775ed63b7f2da64.jpg","text":"TemporaryFile(/tmp/multipartBody5742068657513145208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975383864,"filename":"image_31102025_21_24_35_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/5/a39bbd114979f84745d0a2d7cb27199f.jpg","text":"TemporaryFile(/tmp/multipartBody7531919901785106199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975383864,"filename":"image_31102025_21_24_30_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/5/fe881dfa0c4c7937a9becf72d3023ade.jpg","text":"TemporaryFile(/tmp/multipartBody7778372385609044190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975383864,"filename":"image_31102025_21_24_17_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/5/fc84e2670029dc106c4e95ee232b1dc5.jpg","text":"TemporaryFile(/tmp/multipartBody2264142310622408659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975383864,"filename":"image_31102025_21_24_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/5/0f5492daa69ab3a526deede028e7c2ed.jpg","text":"TemporaryFile(/tmp/multipartBody2795236813345518708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975383864,"filename":"image_31102025_21_24_21_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/11c783912947c12156d839e8db4b9f92.jpg","text":"TemporaryFile(/tmp/multipartBody3359624311455139447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975383864,"filename":"image_31102025_21_24_32_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172271","file1":"1398172270","file0":"1398172268","file4":"1398172275","file5":"1398172277","file3":"1398172273"},"map_files_photo_id_array":[{"photo_id":"1398172277","filename":"file5"},{"photo_id":"1398172271","filename":"file2"},{"photo_id":"1398172275","filename":"file4"},{"photo_id":"1398172270","filename":"file1"},{"photo_id":"1398172268","filename":"file0"},{"photo_id":"1398172273","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172275":["hashtag1","hashtag2"]},{"1398172271":["hashtag1","hashtag2"]},{"1398172268":["hashtag1","hashtag2"]},{"1398172277":["hashtag1","hashtag2"]},{"1398172270":["hashtag1","hashtag2"]},{"1398172273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172275, 1398172271, 1398172268, 1398172277, 1398172270, 1398172273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61768436431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-05 23:56:02.931689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
  port_id : 29235382
  datou_current_id : 4192153
in upload_from_sqlite, uploading in 29235382
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03122025/07/12/image_03122025_07_13_04_9710.jpg', '/home/pi/Desktop/images/03122025/07/13/image_03122025_07_13_15_10727.jpg', '/home/pi/Desktop/images/03122025/07/13/image_03122025_07_13_24_9634.jpg', '/home/pi/Desktop/images/03122025/07/13/image_03122025_07_13_44_9891.jpg', '/home/pi/Desktop/images/03122025/07/15/image_03122025_07_15_14_9668.jpg', '/home/pi/Desktop/images/03122025/07/15/image_03122025_07_15_24_10775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4192153&datou=0
/home/pi/Desktop/images/03122025/07/12/image_03122025_07_13_04_9710.jpg
/home/pi/Desktop/images/03122025/07/13/image_03122025_07_13_15_10727.jpg
/home/pi/Desktop/images/03122025/07/13/image_03122025_07_13_24_9634.jpg
/home/pi/Desktop/images/03122025/07/13/image_03122025_07_13_44_9891.jpg
/home/pi/Desktop/images/03122025/07/15/image_03122025_07_15_14_9668.jpg
/home/pi/Desktop/images/03122025/07/15/image_03122025_07_15_24_10775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172281","1398172278","1398172283","1398172286","1398172280","1398172282"],"photo_ids_order":["1398172278","1398172280","1398172281","1398172282","1398172283","1398172286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/71f2bf0adebb950b1b90eb1d8b76cdef.jpg","text":"TemporaryFile(/tmp/multipartBody7377478478356266779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975424656,"filename":"image_03122025_07_13_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/5/f29ece23f70b712aae8a87e92ccc4fa5.jpg","text":"TemporaryFile(/tmp/multipartBody8519129907260066588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975424656,"filename":"image_03122025_07_13_04_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/5/78e14e4571b5903dd9fd6d0412e16a67.jpg","text":"TemporaryFile(/tmp/multipartBody7060305642032776315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975424656,"filename":"image_03122025_07_15_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/43ab7b2fe97c9121a06355a06cbd11dd.jpg","text":"TemporaryFile(/tmp/multipartBody6936618552443348039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975424656,"filename":"image_03122025_07_15_24_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/5/140d17b6a017044d17d0b398a7e0ec00.jpg","text":"TemporaryFile(/tmp/multipartBody842768007715807796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975424656,"filename":"image_03122025_07_13_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/5/3a3745068b4f200c33d6c1568e55ba0d.jpg","text":"TemporaryFile(/tmp/multipartBody5328145550414144223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975424656,"filename":"image_03122025_07_13_44_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172281","file1":"1398172280","file0":"1398172278","file4":"1398172283","file5":"1398172286","file3":"1398172282"},"map_files_photo_id_array":[{"photo_id":"1398172286","filename":"file5"},{"photo_id":"1398172281","filename":"file2"},{"photo_id":"1398172283","filename":"file4"},{"photo_id":"1398172280","filename":"file1"},{"photo_id":"1398172278","filename":"file0"},{"photo_id":"1398172282","filename":"file3"}],"portfolio_id":29235382,"hashtag_by_photo_ids":[{"1398172281":["hashtag1","hashtag2"]},{"1398172278":["hashtag1","hashtag2"]},{"1398172283":["hashtag1","hashtag2"]},{"1398172286":["hashtag1","hashtag2"]},{"1398172280":["hashtag1","hashtag2"]},{"1398172282":["hashtag1","hashtag2"]}],"comms":"Portfolio 29235382 used, photo_id : ArrayBuffer(1398172281, 1398172278, 1398172283, 1398172286, 1398172280, 1398172282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91171312332153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-05 23:56:42.588334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_56_3570.jpg', '/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_59_2932.jpg', '/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_14_2799.jpg', '/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_26_2668.jpg', '/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_30_3723.jpg', '/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_33_2972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_56_3570.jpg
/home/pi/Desktop/images/31102025/21/24/image_31102025_21_24_59_2932.jpg
/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_14_2799.jpg
/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_26_2668.jpg
/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_30_3723.jpg
/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_33_2972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398172296","1398172298","1398172301","1398172297","1398172299","1398172293"],"photo_ids_order":["1398172293","1398172296","1398172297","1398172298","1398172299","1398172301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/d37c66e52114d55500702ccad8c2782a.jpg","text":"TemporaryFile(/tmp/multipartBody8907793043094798994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975464152,"filename":"image_31102025_21_24_59_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/5/26daa40bf9b9b6cc7981d6b141e07ca2.jpg","text":"TemporaryFile(/tmp/multipartBody6856956735165580642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975464152,"filename":"image_31102025_21_25_26_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/5/06f930d015cf0feb7e9a3ee66b19bd21.jpg","text":"TemporaryFile(/tmp/multipartBody8186371877271228749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975464152,"filename":"image_31102025_21_25_33_2972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/f20e6f444ec8d7e334f8e960773cc124.jpg","text":"TemporaryFile(/tmp/multipartBody412142718381559492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975464152,"filename":"image_31102025_21_25_14_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/5/34a131445209025289953c54a6a80292.jpg","text":"TemporaryFile(/tmp/multipartBody7983095781871614548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975464152,"filename":"image_31102025_21_25_30_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/5/64f9300112ca09d62c70c08bc73474ec.jpg","text":"TemporaryFile(/tmp/multipartBody2095923299264504415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975464152,"filename":"image_31102025_21_24_56_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172297","file1":"1398172296","file0":"1398172293","file4":"1398172299","file5":"1398172301","file3":"1398172298"},"map_files_photo_id_array":[{"photo_id":"1398172301","filename":"file5"},{"photo_id":"1398172297","filename":"file2"},{"photo_id":"1398172299","filename":"file4"},{"photo_id":"1398172296","filename":"file1"},{"photo_id":"1398172293","filename":"file0"},{"photo_id":"1398172298","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172296":["hashtag1","hashtag2"]},{"1398172298":["hashtag1","hashtag2"]},{"1398172301":["hashtag1","hashtag2"]},{"1398172297":["hashtag1","hashtag2"]},{"1398172299":["hashtag1","hashtag2"]},{"1398172293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172296, 1398172298, 1398172301, 1398172297, 1398172299, 1398172293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50329780578613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-05 23:57:22.771619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_38_2514.jpg', '/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_41_3579.jpg', '/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_47_2670.jpg', '/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_51_3746.jpg', '/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_53_2869.jpg', '/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_56_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_38_2514.jpg
/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_41_3579.jpg
/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_47_2670.jpg
/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_51_3746.jpg
/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_53_2869.jpg
/home/pi/Desktop/images/31102025/21/25/image_31102025_21_25_56_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":["1398172308","1398172325","1398172310","1398172304","1398172312","1398172306"],"photo_ids_order":["1398172304","1398172306","1398172308","1398172310","1398172312","1398172325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/27ea60ac839bdc63d8ef370ad0da6795.jpg","text":"TemporaryFile(/tmp/multipartBody1255778932077181075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975504322,"filename":"image_31102025_21_25_47_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/5/48c2901cba16166416404765099efe25.jpg","text":"TemporaryFile(/tmp/multipartBody5243155090160461424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975504322,"filename":"image_31102025_21_25_56_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/5/2ddb9fbfd2f7d55510fa15e816ce74ac.jpg","text":"TemporaryFile(/tmp/multipartBody5813852624456173079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975504322,"filename":"image_31102025_21_25_51_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/5/c71a136ef7bbb474b753b412df8da15a.jpg","text":"TemporaryFile(/tmp/multipartBody7211687518818816495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975504322,"filename":"image_31102025_21_25_38_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/5/3a6ddb9ed44f4d667d95bdb9e52e5a0f.jpg","text":"TemporaryFile(/tmp/multipartBody3760816449227035375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975504322,"filename":"image_31102025_21_25_53_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/5/83ca725295818a821ea4c7a70aed7878.jpg","text":"TemporaryFile(/tmp/multipartBody6846011687556857145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764975504322,"filename":"image_31102025_21_25_41_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398172308","file1":"1398172306","file0":"1398172304","file4":"1398172312","file5":"1398172325","file3":"1398172310"},"map_files_photo_id_array":[{"photo_id":"1398172325","filename":"file5"},{"photo_id":"1398172308","filename":"file2"},{"photo_id":"1398172312","filename":"file4"},{"photo_id":"1398172306","filename":"file1"},{"photo_id":"1398172304","filename":"file0"},{"photo_id":"1398172310","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1398172308":["hashtag1","hashtag2"]},{"1398172325":["hashtag1","hashtag2"]},{"1398172310":["hashtag1","hashtag2"]},{"1398172304":["hashtag1","hashtag2"]},{"1398172312":["hashtag1","hashtag2"]},{"1398172306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1398172308, 1398172325, 1398172310, 1398172304, 1398172312, 1398172306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.793880462646484 secondes ---
